Commit 969b73e
ci(proofs): gate the Lean 4 verification corpus (verification/proofs/lean4) (#275)
## What
Adds CI coverage for the **Lean 4 trust-pipeline property proofs** under
`verification/proofs/lean4/` — they previously fell through every
proof-CI filter.
- New `verif-lean` job in `dogfood-proofs-ci.yml`, a structural clone of
the existing
`lean` job (elan shim + pinned-toolchain pre-install with retry/backoff,
then `just`),
reading the pin from `verification/proofs/lean4/lean-toolchain` and
running a new
`just proofs-verif-lean` recipe.
- New Justfile recipe `proofs-verif-lean` = `cd
verification/proofs/lean4 && lake build`,
also added to the `proofs` roll-up so `just proofs` checks it locally
too.
- Path triggers extended to `verification/proofs/lean4/**` (both `push`
and `pull_request`).
## Why
`dogfood-proofs-ci` gated only `proofs/{coq,lean,agda}` + `src/idris`;
the
`idris2-abi-ci` and `agda-meta-checker` workflows are path-filtered to
`src/abi/**`
and `meta-checker/**`. So the five property proofs here
(`ConfidenceLattice`, `ParetoMaximality`, `ParetoStrongMaximality`,
`IntegrityVerification`, `PortfolioCompleteness`) had **no** gate —
regressions would
have landed silently.
## Verification (run locally, not eyeballed)
On **Lean 4.13.0** (installed via the project's pinned tarball, the same
version the
corpus pins):
- Fresh `lake build` with `.lake/build` cleared first → all 5 modules
compile,
`Build completed successfully`, exit 0 (~24 s).
- `just proofs-verif-lean` → exit 0.
- `grep -nE 'sorry|admit|^\s*axiom |native_decide'` across the corpus →
**none** —
these are genuine, hole-free proofs.
No mathlib dependency (`lake-manifest` `packages: []`), so the job
builds well under the
20-minute timeout.
## Notes
- No source/proof files changed — CI wiring only.
- Next in the same sweep (separate PRs): gate
`verification/proofs/idris2` (Idris2,
`idris2 --check` per file), and a weekly cron for the heavier
Isabelle/Mizar corpora.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
---
_Generated by [Claude
Code](https://claude.ai/code/session_01UAqDQaMwpUqWHUSZekGZWv)_
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent ed5602b commit 969b73e
2 files changed
Lines changed: 61 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| 28 | + | |
27 | 29 | | |
28 | 30 | | |
29 | 31 | | |
| |||
115 | 117 | | |
116 | 118 | | |
117 | 119 | | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
118 | 170 | | |
119 | 171 | | |
120 | 172 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
250 | 250 | | |
251 | 251 | | |
252 | 252 | | |
253 | | - | |
| 253 | + | |
254 | 254 | | |
255 | 255 | | |
256 | 256 | | |
| |||
284 | 284 | | |
285 | 285 | | |
286 | 286 | | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
287 | 295 | | |
288 | 296 | | |
289 | 297 | | |
| |||
0 commit comments