From SegWit on an ordinary block enforces every flag
ProvedBitcoinActivation.flags_after_segwitFor every height , the flags of an ordinary block are all seven: P2SH, WITNESS, TAPROOT, DERSIG, CHECKLOCKTIMEVERIFY, CHECKSEQUENCEVERIFY, NULLDUMMY.
import Definitions.Def_BitcoinActivation
theorem BitcoinActivation.flags_after_segwit (height : Nat) (h : 481824 ≤ height) :
BitcoinActivation.blockScriptFlags height .none = ⟨true, true, true, true, true, true, true⟩ := by sorryRead-back
What the Lean code literally says, in plain math · claude-fable-5-1 (independent sub-agent, blind: Lean code + auditor instructions only)
Read-back: BitcoinActivation.flags_after_segwit
Binders and hypothesis. Universally quantified over one natural number ("height"), with the single hypothesis
(non-strict, so itself is included). Nothing is asserted for .
Conclusion. An equality in the seven-field Boolean record type (fields in order ):
i.e. the record with all seven fields equal to . Here is a constructor of the three-element type (not an "absent" option value). Record equality means all seven fields agree.
Unfolding the left-hand side. starts from , keeps the first three fields, and sets
where is the Boolean truth value of the decidable inequality and is Boolean OR. So the left-hand side is
What the statement asserts, concretely. For every , each of the four Boolean tests , , , equals , so the record is all-true. The threshold is the tabulated height of the label , the largest of the four heights consulted by . Only the exception label is covered; nothing is said about or at these heights.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.