Expand description
The sail verify --output json document, schema version 2.
The schema is documented in docs/output-schema.md; the JSON Schema is
JSON_SCHEMA (crates/sail-api/schema/verify-output-v2.json). The
types ignore unknown fields when read back, as consumers must; the JSON
Schema is strict, and tests check that it requires every field the types
write and allows no other.
Compatibility: within schema version 2, fields are only ever added
(consumers must ignore fields they do not know); a field is never
removed, renamed or given a different meaning. Any such change bumps
SCHEMA_VERSION.
Structs§
- Assignment
- One constant in a model.
- Attribution
Info - How completely solver queries were attributed to functions.
- Cache
Info - Cache use.
- Check
Report - One
check-sat. - Counterexample
- A counterexample model.
- Crate
Report - One crate.
- Diagnostic
- One diagnostic from Verus’s stderr.
- Diagnostic
Span - A source location in a diagnostic.
- Engine
Provenance - How an explicitly selected source engine established a report or function (charter rule 7, ADR 0027). Absent for stock verification.
- Error
Info - A setup failure.
- Fragility
- Function fragility from complete replay configurations and primary obligations.
- Function
Report - One function.
- Obligation
Report - One obligation: one solver query op.
- Portfolio
Attempt - One independent Verus attempt in a sequential portfolio.
- Portfolio
Report - Evidence for the explicitly selected complete-run portfolio.
- Provenance
Report - How a function’s answers were established (charter rule 7).
- Report
- The whole document.
- Solver
Configuration - A solver configuration establishing a complete portfolio attempt.
- Solver
Info - The solver’s identity.
- Source
Span - A span as Verus writes it in its logs:
file:line:col: line:col (#n). - Spinoff
Info - A spun-off op.
- Summary
- Counts over every function.
- Timing
- Time and effort, as Verus reports them.
- Verus
Results - Verus’s
verification-resultsfor a crate.
Enums§
- Answer
Name - A
check-satanswer. - Attribution
Status - Attribution coverage.
- Engine
Establishment - Which verifier produced the evidence of an engine-requested report.
- Establishment
Name - How a result was established (charter rule 7): the establishment axis.
- Evidence
Tier Name - How strong a settled verdict’s evidence is: the evidence-tier axis,
ordered from weakest to strongest (
docs/scope/verification-runtime.md). - ItfValue
- A model value in the ITF value encoding (Apalache’s Informal Trace
Format): a boolean, an integer as
{"#bigint": "[-][0-9]+"}, or{"#unserializable": "<verbatim value>"}for any value without an ITF form (uninterpreted sorts, Verus’s boxed values, reals and so on). - Outcome
Name - An obligation’s outcome.
- Source
Name - How one answer was established.
- Source
Summary Name - Summary of answer sources.
- Verdict
Name - The reported verdict.
Constants§
- JSON_
SCHEMA - The JSON Schema (draft 2020-12) for schema version 2.
- SCHEMA_
VERSION - The schema version this module writes.