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
{{ message }}
Repository navigation
Solo-core: choose product/elimination form before F1.4 preservation (Fst/Snd unsound as-is) #93
Surfaced while proving progress (F1.3, landed in #92). It gates F1.4 preservation.
Problem
The Solo-core kernel currently mixes two incompatible product disciplines:
Intro is multiplicative — THPair/T_Pairsplits the context (ctxAdd g1 g2 = g), i.e. the tensor ⊗ rule.
Elimination is projective — Fst/Snd (THFst/THSnd).
preservation of Fst (Pair v₁ v₂) → v₁ needs Has g v₁ a, but inversion only gives Has g₁ v₁ a with g = g₁ + g₂. Projecting discards v₂ and its resources g₂; in the exact (linear) accounting that's a context mismatch, and the rigid T-Var rule blocks a generic affine-weakening rescue. So preservation is unsound for Fst/Snd on open terms as the rules stand. (Progress is unaffected — projections just step.)
Options
Additive products & — make T_Pairshare the context (both components typed in the same g); Fst/Snd become sound. Loses multiplicative tensor.
Multiplicative tensor ⊗ — keep the splitting T_Pair; remove Fst/Snd, add let (x, y) = e in body (uses both). Linear-logic-correct; clean preservation. The (Flour, Water) dough example reads as a tensor, which favours this.
Both& and ⊗ — full linear story (projections for &, let-pair for ⊗). More constructors/cases.
Recommendation
Option 2 (tensor + let-pair) is the minimal clean fix since T_Pair is already multiplicative; revisit & later if additive products are wanted.
Acceptance
Decision recorded in META.a2ml / a decision note.
Kernel updated on both Coq and Idris tracks.
preservation (F1.4) proved for the chosen form via the QTT substitution lemma.
Tracked in STATE.a2ml [blockers-and-issues] product-elim.
DESIGN DECISION REQUIRED. Issue identifies soundness problem: Solo-core kernel mixes incompatible product disciplines (multiplicative intro with projective elimination). Preservation (F1.4) is unsound for Fst/Snd on open terms. Options: (1) Additive products & with shared context, (2) Multiplicative tensor with let-pair elimination, (3) Both. Recommendation per issue: Option 2 (tensor + let-pair) is minimal clean fix. Related to issues #107, #109. Decision must be recorded in META.a2ml before kernel can be updated on both Coq and Idris tracks.
Activity
docs(checkpoint): refresh STATE/META/README; record ADRs; fix stale m…
docs(wiki): holistic realignment to true identity (multi-dialect QTT/…
proof(solo-core): CBV semantics + progress (F1.1, F1.3); Echo in the …
proof(solo-core): QTT context-algebra lemmas (F1.4 substitution-lemma…
Idris2 F1.4: separated context + both products + progress (toward #108 …
docs: truth pass across human, machine, and wiki documentation + DEBT…
hyperpolymath commentedon Aug 12, 2026
DESIGN DECISION REQUIRED. Issue identifies soundness problem: Solo-core kernel mixes incompatible product disciplines (multiplicative intro with projective elimination). Preservation (F1.4) is unsound for Fst/Snd on open terms. Options: (1) Additive products & with shared context, (2) Multiplicative tensor with let-pair elimination, (3) Both. Recommendation per issue: Option 2 (tensor + let-pair) is minimal clean fix. Related to issues #107, #109. Decision must be recorded in META.a2ml before kernel can be updated on both Coq and Idris tracks.