DEVELOPMENT EDITION · 769442725406
Toolchain Manual
On this page

veradic trust

List what a proof of the program trusts rather than proves, without proving it: the inventory a reviewer reads beside a proof report.

Synopsis

veradic [--diagnostics human|json] trust [--project FILE] [FILES...]

It loads, checks and lowers the program as check does, then reports instead of proving.

What it lists

Example

$ veradic trust test/ui/trust-report/main.vadb
assumed, not proved:
  test/ui/trust-report/main.vadb:17: this `pragma Assume` is assumed, not proved
justified by review, not proved:
  test/ui/trust-report/main.vadb:10: index (K is an index of T where Read is called)
proved outside Verada: none
proof budgets raised: none
the predefined library:
  its contracts are trusted by its clients; ...

With --diagnostics json the same lists are one JSON object (assumptions, justifications, external, budgetOverrides, library); the report is not a list of diagnostics, so --diagnostics sarif gives the same object. --no-assume on a proof run turns every item of the first two lists into an error, as a release build should.