Skip to main content

Module output

Module output 

Source
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.
AttributionInfo
How completely solver queries were attributed to functions.
CacheInfo
Cache use.
CheckReport
One check-sat.
Counterexample
A counterexample model.
CrateReport
One crate.
Diagnostic
One diagnostic from Verus’s stderr.
DiagnosticSpan
A source location in a diagnostic.
EngineProvenance
How an explicitly selected source engine established a report or function (charter rule 7, ADR 0027). Absent for stock verification.
ErrorInfo
A setup failure.
Fragility
Function fragility from complete replay configurations and primary obligations.
FunctionReport
One function.
ObligationReport
One obligation: one solver query op.
PortfolioAttempt
One independent Verus attempt in a sequential portfolio.
PortfolioReport
Evidence for the explicitly selected complete-run portfolio.
ProvenanceReport
How a function’s answers were established (charter rule 7).
Report
The whole document.
SolverConfiguration
A solver configuration establishing a complete portfolio attempt.
SolverInfo
The solver’s identity.
SourceSpan
A span as Verus writes it in its logs: file:line:col: line:col (#n).
SpinoffInfo
A spun-off op.
Summary
Counts over every function.
Timing
Time and effort, as Verus reports them.
VerusResults
Verus’s verification-results for a crate.

Enums§

AnswerName
A check-sat answer.
AttributionStatus
Attribution coverage.
EngineEstablishment
Which verifier produced the evidence of an engine-requested report.
EstablishmentName
How a result was established (charter rule 7): the establishment axis.
EvidenceTierName
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).
OutcomeName
An obligation’s outcome.
SourceName
How one answer was established.
SourceSummaryName
Summary of answer sources.
VerdictName
The reported verdict.

Constants§

JSON_SCHEMA
The JSON Schema (draft 2020-12) for schema version 2.
SCHEMA_VERSION
The schema version this module writes.