aver-cert 0.1.0

Independent artifact certificate engine and verifier for Aver WebAssembly
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
-- AverCert statement schema shim (audited, fixed).
--
-- The single final certificate theorem is
--   `AverCert.Final.cert : AverCert.Schema.Holds manifest`.
-- The dependency-closed schema lives in `SchemaCore.lean`; this shim adds the
-- one conjunct that binds it to the artifact-specific `Module.lean` data.
import Module
import SchemaCore

namespace AverCert.Schema

/-- The single audited certificate proposition: the manifest's pinned hash is
    the module hash, and every certified export satisfies the partial or total
    model-simulation denotation selected by its policy. -/
def Holds (m : Manifest) : Prop :=
  m.subject.artifactHash = CertModule.wasmSha256 ∧ HoldsCore m

end AverCert.Schema