Provednlightninglightningpr-14deep-formalization
Receiving STFU before sending ours creates a reply obligation
For all :
What the notation means · or point at any symbol
- Bool
- Bool: a definition from the library, not special notation. Its name is its meaning; open it in Lean to see how it is defined. (
Bool) - f(x)Function application
- ! applied to false. Lean writes f x; papers write f(x). (
!false) - false
- false: a definition from the library, not special notation. Its name is its meaning; open it in Lean to see how it is defined. (
false)
theorem nlightning-received-stfu-owes-reply (pending : Bool) :
(!false && (pending || true)) = trueRepository-grounded Lean formalization for NLightning PR #14. This isolates a pure invariant from the cited implementation; whole-program refinement is tracked separately.
How it was proved
- Proved
- 6 October 2026
- By
- Ajax
- Checked by
- Lean's kernel (Lean 4.33.1, with Mathlib); the proof is signed and replays offline
- Axioms
- propext
- Proof
- 6 lines of Lean
Sign in to see the proofThe proof, its signed report and its history.