TernaryFrames
Formalization of ternary frames and incoherence-space semantics in Lean 4.
Start Here
Reading Order
TernaryFrames/Basic.lean: ternary frames and semantic connectives.TernaryFrames/IncoherenceSpace.lean: positions, incoherence, entailment, and fusion.TernaryFrames/Containment.lean: containment conditions and closed-set structure.TernaryFrames/DayConvolution.lean: tensor on closed sets and quantale structure.TernaryFrames/ISSTernaryFrame.lean: incoherence spaces as ternary frames.TernaryFrames/NMMS.lean: NMMS and NMMS^ctr proof systems.TernaryFrames/Soundness.lean: soundness and completeness results.
How To Read A File
For each file, look for:
- The module docstring at the top (
/-! ... -/) for motivation and section map. - Definition docstrings (
/-- ... -/) for key objects. - “Main theorem” statements near the end of each section.