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
"DESIGN (open, user): echo value shape — uniform `echoVal (residue,result)` (faithful to Echo=Σ, reworks merged capstones to multi-step Step*) vs per-operation lower/residue rules. Blocks the echo generalisation to add/eq.",
43
-
]
41
+
issues = []
44
42
45
43
[critical-next-actions]
46
44
actions = [
47
-
"Resolve the echo value-shape design fork (A vs B), then add the product type",
48
-
"TG-1: let-binding type safety via de Bruijn substitution",
49
-
"Generalise echo to add/eq; thread residue into TangleIR with the quandledb session",
50
-
"Extend the OCaml typechecker (typecheck.ml/ast.ml) with echo types",
45
+
"TG-1: let-binding type safety via de Bruijn substitution (Lean 4; ~150 LoC per PROOF-NARRATIVE §TG-1)",
46
+
"TG-3: formal refinement proof — OCaml typecheck.ml vs Lean HasType",
47
+
"TangleIR: thread echo residue into TangleIR schema; coordinate with quandledb session",
`Pipeline`, `Close`, `Add`, `Eq`, plus the **echo-types fragment**
43
-
(`EchoClose`, `Lower`, `Residue` with type former `Echo[ρ,τ]`). 16 typing
44
-
rules, 31 step rules. All four theorems cover the echo fragment (TG-10).
43
+
(`EchoClose`, `Lower`, `Residue`, `EchoAdd`, `EchoEq`) and the **product type**
44
+
(`Pair`, `Fst`, `Snd` with type former `ρ × σ`). 26 typing rules, 57 step rules.
45
+
All four theorems cover the echo fragment (TG-10).
45
46
46
47
## What remains
47
48
@@ -52,13 +53,13 @@ Cross-referenced to [PROOF-NARRATIVE.md §3](PROOF-NARRATIVE.md#3-remaining-obli
52
53
| TG-1 | Extend Progress/Preservation/Determinism/TypeSafety to `let`-binding | TP | Lean 4 | P1 | 3d | NOT STARTED (acknowledged in Tangle.lean header) |
53
54
| TG-2 | Type checking is decidable: define `infer : Expr → Option Ty` proven equivalent to `HasType`| ALG | Lean 4 | P1 | 1d | NOT STARTED |
54
55
| TG-3 | OCaml `typecheck.ml` refines the Lean `HasType` spec | TP | Lean 4 + translation validation | P1 | 5d | NOT STARTED |
| TG-7 |`Step.eqBraids` decides braid-group equivalence (not list equality) | ALG / DOM | OCaml + Lean 4 | P2 | 2w | NOT STARTED (current impl is soundness-floor, not completeness) |
59
60
| TG-8 | Each dialect (braid-calculus, quantum-circuit, skein-algebra, string-diagram, virtual-knot) is a conservative extension of core | TP | Lean 4 per-dialect | P3 | 1w each | NOT STARTED |
60
61
| TG-9 | LSP diagnostics are a subset of `HasType` failures (no LSP-only diagnostics) | INV | Audit + refactor | P2 | 1d | NOT STARTED |
61
-
| TG-10 | Echo-types integrated into the type system: `Echo[ρ,τ]` former + `echoClose`/`lower`/`residue`, with Progress/Preservation/Determinism/TypeSafety extended to cover them and the non-injectivity / residue-recovery capstones proven | TP / DOM | Lean 4 | P1 | — |**LANDED** (`proofs/Tangle.lean` §ECHO-TYPES) |
62
+
| TG-10 | Echo-types integrated into the type system: `Echo[ρ,τ]` former + `echoClose`/`lower`/`residue`/`echoAdd`/`echoEq` + product type (`pair`/`fst`/`snd`), with Progress/Preservation/Determinism/TypeSafety extended to cover them and the non-injectivity / residue-recovery capstones proven | TP / DOM | Lean 4 | P1 | — |**LANDED** (`proofs/Tangle.lean` §ECHO-TYPES) |
62
63
63
64
For full per-obligation statements, _why valuable_, and the
64
65
assumptions each rests on, see PROOF-NARRATIVE.md.
0 commit comments