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
- Assumed, not proved: each
pragma Assume(Varc's and Vibe'sassume), each subprogram imported from C whose contract andGlobalare taken as given, each enclave whose frames are trusted, and each function taken as logical equality (Logical_Equal). These are the B8002 warnings of a proof run. - Justified by review, not proved: each reviewed justification (B8009), with the statement it covers, its pattern and its reason.
- Proved outside Verada: each check whose certificate names a proof made elsewhere (
external SYSTEM REFERENCEin.verada/certs, such as a Lean proof of a hard lemma), which Verada trusts without re-checking; a proof run reports each as B8002. - Proof budgets raised: each subprogram whose budget
verada.tomloverrides. - The predefined library: its contracts are trusted by clients; its bodies are proved by Verada's release gate, with the exceptions named.
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.