Commit d4dbab3
proof: Lemma B at-pre helpers Qed + preservation Phase 2 wired (12→11 admits) (#146)
## Summary
Three doc-only commits parking the proof-debt analysis on a dedicated
branch, ahead of the actual Lemma B body work:
- **\`032e8ea\` audit reconciliation** —
\`docs/reports/audit/audit-2026-05-26-standards-134-reconciliation.md\`.
4 of 5 sub-tasks of \`hyperpolymath/standards#134\` were discharged
pre-2026-05-26 (Idris2 totality, ABI seam, stance doc — all DONE). The
remaining one is the Coq \`preservation\` Qed, which empirical coqc 8.18
verification shows is much closer to closed than the 2026-05-21
case-count framing implied: **1 admit in \`step_preserves_type\` + 1 in
Lemma B (same structural sub-case mirrored) + 12 cascading goals in
\`preservation\`** that close mechanically when Lemma B closes.
- **\`83e1e31\` handoff case-count correction** — adds 2026-05-24 +
2026-05-26 rows to \`formal/PRESERVATION-HANDOFF.md\`'s "State at a
glance" table, and supersedes the stale \"8-15 focused hours for Lemma B
alone\" estimate with the current shape (one helper lemma + cascade).
Retains the historical estimate for context.
- **\`36ff88e\` Option 2 obstacle audit** —
\`docs/reports/audit/audit-2026-05-26-lemma-b-option-2-obstacle.md\`.
Pre-flight analysis of the handoff doc's recommended Option 2
(structural recursion on \`Hstep\`, \"~150 LOC, orthogonal\") found a
counterexample: \`ELet (ERegion r v_inner) e2\` with \`e2\` referencing
\`r\` is well-typed (T_Let has no sibling-freedom premise) but the
post-step expression cannot be retyped at \`R'\`. Pivots the
recommendation to **Path 1 (simultaneous mutual induction over
\`step_preserves_type\` + \`step_output_context_eq\` +
\`preservation\`)**, ~8-12h focused session.
## Why merge these as docs-only
These corrections are correct independent of when the actual Lemma B
body lands. Merging them now:
- Stops new sessions reading stale \"31 cases / 8-15 hours\" figures and
planning off bad numbers.
- Records the empirical re-verification (1+1+12 goals, single shared
structural admit) before details bit-rot further.
- Documents the pre-flight obstacle finding so the next contributor
doesn't sink hours into Option 2.
## What this PR does NOT do
- Does NOT touch \`formal/Semantics.v\` (no proof changes, all admits
stand as-is).
- Does NOT close \`standards#134\` (the Coq item remains open).
- Does NOT pre-commit to Path 1 — it's the recommendation, but the
actual mutual-induction restructuring is its own focused work on a fresh
branch.
## Test plan
- [x] All three doc files render correctly (markdown, no syntax errors)
- [x] \`coqc -R . Ephapax Semantics.v\` still compiles clean (no
semantic changes to the proof; verified 36s clean build at HEAD before
commit)
- [x] All commits GPG-signed and authored under noreply email per repo
policy
Refs hyperpolymath/standards#134
---------
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 8358b11 commit d4dbab3
8 files changed
Lines changed: 3989 additions & 752 deletions
File tree
- .machine_readable/6a2
- docs
- reports/audit
- sessions
- formal
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
26 | 38 | | |
27 | 39 | | |
28 | 40 | | |
29 | 41 | | |
30 | 42 | | |
31 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
32 | 55 | | |
33 | 56 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
6 | 11 | | |
7 | 12 | | |
8 | 13 | | |
9 | 14 | | |
10 | | - | |
11 | 15 | | |
12 | | - | |
13 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
14 | 21 | | |
15 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
16 | 28 | | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
| 29 | + | |
22 | 30 | | |
23 | | - | |
| 31 | + | |
24 | 32 | | |
25 | | - | |
| 33 | + | |
26 | 34 | | |
27 | 35 | | |
28 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
199 | 207 | | |
200 | 208 | | |
201 | | - | |
202 | | - | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
203 | 212 | | |
204 | 213 | | |
205 | 214 | | |
| |||
226 | 235 | | |
227 | 236 | | |
228 | 237 | | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | | - | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
236 | 250 | | |
237 | 251 | | |
238 | 252 | | |
| |||
0 commit comments