Repository navigation
The Lean 4 package cited by the paper Typed Crossings: What Casts, Refinement Proofs and Chain-of-Thought Checks Carry Across a Boundary (Version 1.0, 10.5281/zenodo.24219769). The listings in the paper are taken from this tag.
New in 0.4.0
- Trace-only judgements, general statement (
trace_only_test_iffinLemLean/Trace.lean): a judgement on traces alone agrees with faithfulness exactly when faithfulness is constant among the mechanisms that write the same trace. No assumption onfaithful. - The obstruction (
no_trace_only_test_of_split): where two mechanisms write one trace and it is faithful to one and not to the other, no such judgement exists. A shared trace alone is not an obstruction. - Typed crossings (new file
LemLean/Crossing.lean): a crossing with a declared kind and a relation; preservation, reflection and invariance of predicates; invariance of a relation; an operation carried under a side condition; reuse of a claim by a preservation proof. - Two worked crossings with the same structure and different declared kinds: the cast
Nat → Int(extension; addition carried unconditionally, subtraction only wherea₂ ≤ a₁, order invariant) and the readingBitVec 64 → Nat(representation; addition carried only while nothing overflows), each with a counterexample without its side condition.
Unchanged
Basic.lean,Duration.lean,Locality.lean,Deontic.leanand the negative tests intest/Rejections.lean.
Build
- Lean 4.35.0 (pinned in
lean-toolchain), no Mathlib dependency, nosorry;#print axiomsreports at mostpropext. lake build, thenlake env lean test/Rejections.lean.
Related: paper source at Barnes70/typed-crossings; Layered Event Modelling at Barnes70/layered-event-modelling.
🤖 Generated with Claude Code