Documentation

LeanPool.OrderMaintenance.Proof.Word.PeakInitTop

Theorem W, option (A), stage A2: the construction of a core, along its stages #

initStep_pk_stage: a stage of the chain (Stage P h, Top/PrepStage.lean) carries the tag invariant initStep_pk needs (chainTag_lt). initCore_pkok: the eager construction, along the stages (the context of initCoreS_eager), and the lazy one.

Nothing here is used by Theorems A and B.

theorem OrderMaintenance.Impl.initStep_pk_stage {K KH W : ℕ} {κ : Caps} (hC : CapsW K κ) (hK : 8 ≤ K) (hW : 2 * K + 4 ≤ W) {P : Model.Params} {h : ℕ} {s : Model.Core} {L : Loc} (S : Proof.Top.Stage P h s) (h1 : 1 ≤ h) (hG : Gd K KH κ (ΓK K) s L) :
PK K KH κ (ΓK K) W initStepP.body s L
theorem OrderMaintenance.Impl.initLoop_pkok_stage {K KH W : ℕ} {κ : Caps} (hC : CapsW K κ) (hK : 8 ≤ K) (hW : 2 * K + 4 ≤ W) {P : Model.Params} (hH : 1 ≤ P.H) (hK2 : InitCaps κ P) {L : Loc} (hG : Gd K KH κ (ΓK K) (prepStart P true) L) :
PKok K KH κ (ΓK K) W initLoopS (prepStart P true) L

The eager construction loop, along the stages (the context of initCoreS_eager).

theorem OrderMaintenance.Impl.initCore_pkok {K KH W : ℕ} {κ : Caps} (hC : CapsW K κ) (hK : 8 ≤ K) (hW : 2 * K + 4 ≤ W) {P : Model.Params} (hH : 1 ≤ P.H) (hK2 : InitCaps κ P) (hE : 2 ≤ κ.tbl Tbl.E) (hG2 : 2 ≤ κ.tbl Tbl.G) {L : Loc} (hG : Gd K KH κ (ΓK K) (freshC P) L) :
PKok K KH κ (ΓK K) W initCoreS (freshC P) L

The construction of a core (initCore, lazy or eager) from the fresh core.

theorem OrderMaintenance.Impl.prepP_pkok {K KH W : ℕ} {κ : Caps} (hC : CapsW K κ) (hK : 8 ≤ K) (hW : 2 * K + 4 ≤ W) {s : Model.Core} {L : Loc} (hM : PrepM s) (hG : Gd K KH κ (ΓK K) s L) :
PKok K KH κ (ΓK K) W prepP.body s L

A preparation step of a core being built (PrepM, the context of prepAgreeM).