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
docs(proof): PROOF-NEEDS §5 — ground-truthed L1 status + closure plan + foundation audit (2026-06-16)
Add a dated status+plan section recording the authoritative, coqc/grep-verified
state of the four L1 admits (region_shrink dissolves via tropical carrier
refactor; region_liveness false→repaired; step_pop = the 9-case eliminator fork;
preservation_l1 capstone), the committed choreographic-tropical closure route,
the Idris2 ABI proof-needs axis (E1–E6, E5 highest-leverage), the independent
GO verdict from the foundation-repo trust audit (epistemic/echo/tropical), and
two threatened CI gates (coq-build-gate not required; status-gate broken+unwired).
Does not supersede §1–§4 (which track main). Companion plan docs live in PR #299.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
| 2 |`region_liveness_at_split_l1_gen`|`Semantics_L1.v:1904`|`:1956`, `:1976`|**provably FALSE** as written (witness `ERegion rv (EI32 5)` at `R=[rv]`) |**Repaired** — restate as graded `live R rv ∧ no-exit-of-rv ⇒ live R' rv`; prove from `count_occ_le_l1_m` monotonicity + ~13-site call audit. `L1-REGION-REFOUNDATION-PLAN.md §5`|
361
+
| 3 |`step_pop_disjoint_from_type_l1`|`Semantics_L1.v:3106`|**~9–11** across every eliminator/erasing context (`S_App_Step2`, `S_Pair_Step2`, `S_Inl/Inr_Step`, `S_Case_Step`, `S_Let_Step`, `S_Region_Step`) — all blocked on the §4.8 lambda-rigidity gap |**the eliminator fork**|**Open research** — choreographic typing across time segments, used foundationally. `L1-ELIMINATOR-FORK.md`|
362
+
| 4 |`preservation_l1` (capstone) |`Semantics_L1.v:3367`|`:3379`|**gated** on 1–3 | follows once 1–3 land |
363
+
364
+
`preservation_l3` (`Semantics_L1.v`, **Qed**) is real and depends on **only**
365
+
admit #1 (`region_shrink`); it flips **unconditional** the moment #1 closes.
366
+
`L4.v` is **scaffold-unbuilt** (`ProgramMode` + round-trip mapping;
367
+
definitions only, no theorems — not debt, just not yet built). No hidden 5th
368
+
admit, no `Axiom`/`Parameter`/`Hypothesis` smuggled assumption, no fake-`Qed`
369
+
was found anywhere in `formal/*.v`.
370
+
371
+
### 5.3 Idris2 ABI proof needs (a separate axis from the Coq L1 admits)
372
+
373
+
`src/abi/Ephapax/ABI/Invariants.idr` states six compiler-correctness
374
+
invariants as **erased (0-quantity) postulates**, each an explicit *owed*
375
+
forward to a discharging proof:
376
+
377
+
| ID | Invariant | Status |
378
+
|---|---|---|
379
+
| E1 | Type preservation (operational) |**owed** — forwards to Coq `preservation` (legacy is false; real obligation is `preservation_l1`) |
380
+
| E2 | Linear consumption across control flow | E2a position-form **DISCHARGED** (`splitLinearCoverage`, Qed, `Formal/Qualifier.idr`); E2b control-flow form **owed**|
381
+
| E3 | No region escape | static/type-level **DISCHARGED** (`noEscapeTheorem`, Qed, `Formal/RegionLinear.idr`); operational form **owed**|
382
+
| E4 | No runtime GC |**owed + flagged** — `noGCExtract` is a **tautological/vacuous wrapper** (returns inputs unchanged), not a proof |
0 commit comments