Expand description
Proof Certificate System — compact, verifiable records of kernel-checked proofs. Proof Certificate System for OxiLean Kernel.
A proof certificate is a compact, checkable record that a term has been verified by the kernel. Certificates enable exporting and importing proofs without re-checking from scratch: the consumer verifies structural hashes and, optionally, replays reduction steps.
§Overview
- Create — call
create_certificateimmediately after the kernel accepts a declaration to produce aProofCertificate. - Store — add certificates to a
CertificateStorefor persistence. - Verify — call
verify_certificate(orCertificateStore::verify_all) to check that stored hashes still match the live environment. - Serialize / deserialize — use
serialize_cert/deserialize_certto persist certificates as text (e.g. in.oxicertfiles).
Re-exports§
pub use functions::create_certificate;pub use functions::deserialize_cert;pub use functions::hash_declaration;pub use functions::hash_expr;pub use functions::serialize_cert;pub use functions::verify_certificate;pub use types::CertCheckResult;pub use types::CertificateStore;pub use types::ProofCertId;pub use types::ProofCertificate;pub use types::ProofStep;