The height-gated flags activate in a fixed order
ProvedBitcoinActivation.flags_orderFor every height, in the flags of an ordinary block: CHECKLOCKTIMEVERIFY implies DERSIG, CHECKSEQUENCEVERIFY implies CHECKLOCKTIMEVERIFY, and NULLDUMMY implies CHECKSEQUENCEVERIFY — the order of the activation heights.
import Definitions.Def_BitcoinActivation
theorem BitcoinActivation.flags_order (height : Nat) :
let f := BitcoinActivation.blockScriptFlags height .none
(f.cltv = true → f.dersig = true) ∧ (f.csv = true → f.cltv = true) ∧
(f.nulldummy = true → f.csv = 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_order
Binders. Universally quantified over one natural number ("height"), with no hypotheses: every , including , is covered.
Local abbreviation in the statement. The conclusion first introduces a local name: let
a seven-field Boolean record (fields in order ). Here is a constructor of the three-element type , not an "absent" option value. The abbreviation is part of the statement itself (a let-binding inside the proposition), not a separate hypothesis; it is merely a name for the record above.
Conclusion. The conjunction of three one-directional implications about fields of :
Each implication is between propositions of the form "this Boolean field equals ". Nothing is asserted about the fields , , , and nothing in the reverse directions (e.g. it is not claimed that implies ).
Unfolding . starts from , keeps the first three fields, and sets the last four by Boolean OR with activation tests, so
where is the Boolean truth value of the decidable inequality (the four thresholds are the tabulated heights of , , , respectively). Concretely the statement therefore says, for every natural :
- if then (as Booleans equal to );
- if then ;
- if then .
Only the exception label is involved; the statement says nothing about or , and nothing about or .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.