You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds verification/proofs/lean4/lakefile.lean and lean-toolchain
(leanprover/lean4:v4.13.0, no mathlib) so E10/E11/E13 proof files
can be built with `lake build`. Library name: EchidnaTrustProofs.
Roots: ConfidenceLattice, IntegrityVerification, ParetoMaximality,
ParetoStrongMaximality, PortfolioCompleteness.
Three mechanical fixes identified by static analysis:
1. ParetoStrongMaximality.lean: wrong import path
EchidnaPareto.ParetoMaximality → ParetoMaximality
(Lake maps module names to flat file paths; no subdirectory exists).
2. IntegrityVerification.lean: integrityToBool body was a Prop where
Bool is required; fixed to decide (s = IntegrityStatus.verified).
3. ConfidenceLattice.lean: 10 level-distinctness theorems used omega
on inductive-type constructor inequality; changed to decide.
lake unavailable in 2026-05-11 build env — no actual build was run.
Remaining tactic/API fixups tracked in #53.
PROOF-NEEDS.md updated to reflect lakefile-scaffolded status for
E10/E11/E13 and point to #53 for open items.
https://claude.ai/code/session_01QoazAuafVkKFZnBkkQgGAH
| E10 | Pareto frontier maximality | L4 |**Lakefile scaffolded 2026-05-11.**`verification/proofs/lean4/lakefile.lean` + `lean-toolchain` (v4.13.0) in place. PO-1..PO-11 (`ParetoMaximality.lean`) expected to compile cleanly — no imports, pure omega/decide arithmetic proofs. PO-12 (`ParetoStrongMaximality.lean`): import path fix applied (`EchidnaPareto.ParetoMaximality`→ `ParetoMaximality`); 8 List.Nodup API calls + `Nat.strong_induction_on`tactic syntax flagged as uncertain without a live toolchain — tracked in #53. `lake build`not yet run (`lake` unavailable in 2026-05-11 env). Tracking ticket: ECHIDNA-PARETO-DESCENT (math); #53 (tactic fixups).|
38
+
| E11 | SHAKE3-512/BLAKE3 integrity | L4 |**Lakefile scaffolded 2026-05-11.**12 PI theorems (PI-1..PI-12) expected to compile cleanly after mechanical fix: `integrityToBool` body corrected from bare `Prop` expression to `decide (s = IntegrityStatus.verified)`. Collision-resistance typeclasses (PI-7, PI-9) remain assumptions per zero-axiom policy. `match hf : file, hh : entry.hash` simultaneous named tactic match in `verify_sound` flagged in #53 as uncertain. `lake build` not yet run. NB: hash naming — implementation is SHAKE-256 squeezing 512 bits.|
39
+
| E13 | Portfolio cross-checking completeness | L4 |**Lakefile scaffolded 2026-05-11.**14 PR theorems (PR-1..PR-14) expected to mostly compile. Flagged in #53: `List.filter_eq_nil_iff` name (PR-14 prerequisite), `Option.some_injective` → `Option.some.inj` (PR-10), PR-14 `simp` through inner `let firstVerdict` may need `show` pre-computation. `lake build` not yet run.|
40
40
41
41
## Recommended prover
42
42
-**Idris2** for ABI-level properties and prover dispatch correctness
43
43
-**Lean4** for algebraic properties of the confidence lattice
44
44
-**Agda** for metatheoretic properties of proof composition
45
45
46
46
## Priority
47
-
-**MEDIUM** (was HIGH) — Core trust pipeline proofs (E2-E6) are now complete. E10-E13 design + statements landed 2026-04-27; remaining work is `lake build` integration (no Lean toolchain pinned in `verification/proofs/lean4/`; the existing `proofs/lean/lakefile.lean` is for the playground, not these proofs). E10-E13 are P2 and do not block the critical path.
47
+
-**MEDIUM** (was HIGH) — Core trust pipeline proofs (E2-E6) are now complete. E10-E13 design + statements landed 2026-04-27; `verification/proofs/lean4/lakefile.lean` scaffolded 2026-05-11 (Lean 4.13.0, no mathlib). Remaining work: run `lake build` in an environment with Lean 4.13.0 and apply the API fixups tracked in #53. E10-E13 are P2 and do not block the critical path.
0 commit comments