Expand description
Compiler-independent artifact certification for Aver WebAssembly.
This crate owns the byte-derived certificate engine, the public certificate format, and the exact Lean soundness wall. It deliberately has no dependency on the Aver compiler, language runtime, or memory runtime.
Modules§
- bridge_
statement - The plan-equals-source bridge statement, rendered from declared structure.
- format
- Stable, compiler-independent certificate format declarations.
- kernels
- The paranoid kernel set: every proof checker the pinned Lean release ships,
run over one
leanexportof the checked module closure. - lean_
gate - Lexical gates the certificate producer and the checker share.
- output
- The one way the checker writes to the terminal.
- sorry_
free_ export - The export the kernels that do not accept
sorryAxread under--paranoid(seecrate::kernels::Kernel::admits_sorry): the witness closure without the declarations that depend onsorryAx. - wall
- Checker-owned Lean soundness wall.
Enums§
- Check
Verdict - Developer preflight result. A green value means the checker-owned witness
elaborated successfully while trusting the local Lake
.oleangraph. It is deliberately distinct fromVerdict: onlyverifyperforms the final fresh-environment replay required for certification. - Explanation
- Kernels
- Which kernels give the final verdict of
verify_with. - Verdict
Constants§
- ARTIFACT_
DECODE_ LINE - Emitted on a green verdict. All trust-bearing byte facts and claim metadata are checked by the embedded Lean wall; Rust performs no parallel verdict reconstruction.
Functions§
- check
- Fast developer/CI preflight which trusts locally built or explicitly
cached
.oleanimports. Rust validation,lake build, and fresh elaboration of the checker-owned witness still run; only the finalleanchecker --freshwhole-closure replay is omitted. - explain
- verify
- verify_
with verifywith a choice of the kernels that replay the witness closure.