feat(echo): Option B value shape + product type + echoAdd (structured loss, generalized)#43
Merged
Merged
Conversation
…sidue as projections; capstones over Step* https://claude.ai/code/session_01PgHpCFzwYB7Qy9L6kmR8CE
.claude/worktrees/ holds throwaway git worktrees used by background agents; never commit them. https://claude.ai/code/session_01PgHpCFzwYB7Qy9L6kmR8CE
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Echo-types proof work on
proofs/Tangle.lean— the structured-loss generalization, complete. Four commits, each independently green under pinnedv4.14.0, nosorry/axiom/admit.4296c0a) —echoVal residue resultis the canonical formed echo;echoCloseis a redex reducing into one;lower/residueare the two generic projections; capstones overStepStar.b274995) —Ty.prod+pair/fst/snd, full Progress/Preservation/Determinism/infer.echoAdd(b274995) —addis lossy;echoAdd n₁ n₂ ↝ echoVal (pair n₁ n₂) (n₁+n₂). CapstoneechoAdd_distinguishes:1+3and2+2both lower to4, residues distinct.echoEq(3a5e9a3) —eqis lossy; residue = operand pair, result = bool. CapstoneechoEq_distinguishes:1≟2and3≟4both lower tofalse, residues distinct.So structured loss now spans all three of Tangle's lossy operations (
close,add,eq), each with a recoverable residue and a non-injectivity theorem — the echo-types thesis realized across the language's lossy surface.Verification
lean Tangle.lean→ 0 errors; banned-token grep clean.#print axioms: metatheory uses onlypropext/Quot.sound; all six echo capstones depend on zero axioms.Note
The red
analyze (javascript-typescript)check is an unrelated CodeQL default-setup misconfiguration (analyzes JS/TS on a repo that bans them) — a repo-settings item, not fixable from this branch. The Lean oracle is green on every commit.Next track (separate): TG-1 (
let, full de Bruijn).🤖 Generated with Claude Code