Commit 2512860
docs: Phase 3b 4-stage staged resolution plan (owner-approved, supersedes 3-options framing)
Owner-approved 2026-05-30 PM. Captures all three "Interesting" values
from the option-1/2/3 analysis without committing to any single
option's downsides.
| Stage | Issue | Scope |
|---|---|---|
| Stage 1 — IMMEDIATE | #239 | Leaf-only Phase 3b via tfuneff_lambda_free + Counterexample_L2_nested.v + 2-condition preservation_l2. |
| Stage 2 — parallel L4 track | #240 | ELam T_param R_in R_out body annotation extension. |
| Stage 3 — post-Stage-2 | #241 | Relaxed Phase 3b via declared_lambda_r_ins + CPS proof style. Nested-condition collapses. |
| Stage 4 — Phase 5 | #242 | Compound non-linear + region-substitution machinery + UNCONDITIONAL preservation_l2. |
Stage 1 green-lit, ships next session. Stages 2-4 tracked but not
actioned. Stage 3 blocked on Stage 2; Stage 4 blocked on Stage 3;
Stage 2 independent of Stage 1.
Why staging beats single-option commitments:
- (1) alone forces AST migration before unblocking preservation_l2.
- (2) alone introduces inductive-over-derivations with no other use.
- (3) alone ends with conditional preservation_l2 forever.
The staged plan harvests:
- (3)'s tactical landing + honest 2-condition statement at Stage 1.
- (1)'s L4 alignment when L4 is ready at Stage 2.
- (2)'s higher-order proof style at exactly the point CPS is
necessary (Stage 3) — not over-engineered before.
- (4)'s region-substitution machinery as the natural sum.
Stage 1's 2-condition statement is delivered correctness, not a
placeholder. Each condition has a mechanised counterexample
(Counterexample_L2.v for fresh-region gap, new
Counterexample_L2_nested.v for nested-lambda gap).
This PR contains documentation only:
- formal/SUBST-LEMMA-GENERALIZATION-DESIGN.md gains a Phase 3b
resolution addendum (the 4-stage plan superseding 3-options).
- .machine_readable/6a2/STATE.a2ml flips phase back to
`implementation`; next_action points at Stage 1 (#239).
No formal/*.v changes in this PR.
Owner-directive compliance (across all 4 stages):
- No Semantics.v / Typing.v / Counterexample.v (legacy) touch
- No Axiom / Admitted markers
- No closure of residual Semantics_L1.v admits — strictly NEW
infrastructure under the four-layer redesign
- Per-layer derivation: preservation_l2 closes via L2 infra;
legacy preservation remains Admitted (PROVABLY FALSE) per
2026-05-27 directive
Refs: #235 (parent finding), #239 (Stage 1), #240 (Stage 2),
#241 (Stage 3), #242 (Stage 4).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 1fcaaf9 commit 2512860
2 files changed
Lines changed: 31 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
10 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
173 | 201 | | |
174 | 202 | | |
175 | 203 | | |
| |||
0 commit comments