Commit c1c753e
proof(L2 Phase 2 / Phase D slice 2): T_Lam_L1_*_Eff rules + cascade (#204)
## Summary
- Adds `T_Lam_L1_Linear_Eff` + `T_Lam_L1_Affine_Eff` to `TypingL1.v`
typing effect-typed lambda values formed via `TFunEff T1 T2 R_in R_out`
(slice 1, PR #200).
- Side condition `forall r, In r R -> In r R_in` bridges outer/inner
envs, making `subst_typing_gen_l1_m` and
`region_shrink_preserves_typing_l1_gen_m` close.
- 3 inductive lemma cascades extended (~35 lines).
## Design (per formal/PHASE-D-REDESIGN.md + 2026-05-28 refinement)
R_in ⊇ R reading: body has access to at least formation regions,
possibly more. Balances:
- Substitution: Hregv : In rv R → In rv R_in via side condition.
- Env-shrinkage: TFunEff contains R_in (not outer R), preserved under
outer R shrinkage.
## Not in this PR
- T_App_L1_Eff + TFunEff_count_monotone → slice 3
- preservation_l1 lambda-rigidity closure → slice 4
- Phase B + Phase C re-attempts → slice 5
## Test plan
- [x] coqc 8.18.0 10/10 .v rebuild clean
- [x] Admit budget preserved (7 + 1 legacy = baseline)
- [x] Zero new Axiom; GPG-signed
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent a159c36 commit c1c753e
2 files changed
Lines changed: 81 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
473 | 473 | | |
474 | 474 | | |
475 | 475 | | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
476 | 485 | | |
477 | 486 | | |
478 | 487 | | |
| |||
1002 | 1011 | | |
1003 | 1012 | | |
1004 | 1013 | | |
| 1014 | + | |
| 1015 | + | |
| 1016 | + | |
| 1017 | + | |
| 1018 | + | |
| 1019 | + | |
| 1020 | + | |
1005 | 1021 | | |
1006 | 1022 | | |
1007 | 1023 | | |
| |||
1459 | 1475 | | |
1460 | 1476 | | |
1461 | 1477 | | |
| 1478 | + | |
| 1479 | + | |
| 1480 | + | |
| 1481 | + | |
| 1482 | + | |
| 1483 | + | |
| 1484 | + | |
| 1485 | + | |
| 1486 | + | |
| 1487 | + | |
| 1488 | + | |
| 1489 | + | |
| 1490 | + | |
| 1491 | + | |
| 1492 | + | |
| 1493 | + | |
| 1494 | + | |
| 1495 | + | |
| 1496 | + | |
1462 | 1497 | | |
1463 | 1498 | | |
1464 | 1499 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
185 | 231 | | |
186 | 232 | | |
187 | 233 | | |
| |||
0 commit comments