mirror of
https://github.com/saymrwulf/anza-ed25519-verified.git
synced 2026-09-03 20:13:46 +00:00
25 lines
1.4 KiB
Text
25 lines
1.4 KiB
Text
|
|
/- ──────────────────────────────────────────────────────────────────────────
|
||
|
|
Proofs/InventoryBasic.lean — environment-derived declaration inventory (Proofs.Basic only).
|
||
|
|
|
||
|
|
Audit INFRASTRUCTURE, not corpus: excluded from check.sh's compile manifest
|
||
|
|
and from its own inventory (its constants live in modules the corpus list
|
||
|
|
below does not name). It proves nothing and is imported by nothing.
|
||
|
|
|
||
|
|
Proofs.Basic is compiled by check.sh but imported by no other module,
|
||
|
|
and deliberately reuses `CurveFieldProofs.zero_spec`, which
|
||
|
|
Proofs.ConstSpecs also declares. Importing both at once is an
|
||
|
|
elaboration error, so Basic is inventoried separately and check.sh
|
||
|
|
concatenates the two outputs before gating.
|
||
|
|
────────────────────────────────────────────────────────────────────────── -/
|
||
|
|
import Proofs.InventoryCore
|
||
|
|
import Proofs.Basic
|
||
|
|
open Lean Ed25519Inventory
|
||
|
|
|
||
|
|
/-- Exactly the modules this driver covers. check.sh verifies, in BOTH
|
||
|
|
directions, that the union of the two drivers' lists is its PROOFS
|
||
|
|
manifest minus the audit infrastructure. -/
|
||
|
|
def corpus : Array Name :=
|
||
|
|
#[`Proofs.Basic]
|
||
|
|
|
||
|
|
#eval show MetaM Unit from emitInventory corpus
|