Documentation

LeanPool.OrderMaintenance.Proof.Word.PeakSplit

Theorem W, option (A), stage A2: the peak of a split start (splitChunkStartS) #

The locals at width K, except the new tags ty, tz (tx − f1 plus a room label) at K + 1 (ΓS).

Nothing here is used by Theorems A and B.

theorem OrderMaintenance.Impl.iaPrep_pk {K KH W : ℕ} {κ : Caps} {s : Model.Core} {L : Loc} (hC : CapsW K κ) (hK : 8 ≤ K) (hW : 2 * K + 4 ≤ W) (hG : Gd K KH κ (ΓS K) s L) :
PK K KH κ (ΓS K) W iaPrepS s L

The labels and tags of the two new chunks (iaPrepS).

theorem OrderMaintenance.Impl.childS_pk {K KH W : ℕ} {κ : Caps} {s : Model.Core} {L : Loc} (hC : CapsW K κ) (hK : 8 ≤ K) (hW : 2 * K + 4 ≤ W) (hG : Gd K KH κ (ΓS K) s L) :
PK K KH κ (ΓS K) W childS s L

The children of the parent: the second new child at position r + 2 (childS).

theorem OrderMaintenance.Impl.cins_pk {K KH W : ℕ} {κ : Caps} {s : Model.Core} {L : Loc} (hC : CapsW K κ) (hK : 8 ≤ K) (hW : 2 * K + 4 ≤ W) (hG : Gd K KH κ (ΓS K) s L) :
PK K KH κ (ΓS K) W cinsS s L

The table entries of the parent chunk's tables (cinsS).

theorem OrderMaintenance.Impl.insertAround_pkok {K KH W : ℕ} {κ : Caps} {s : Model.Core} {L : Loc} (hC : CapsW K κ) (hK : 8 ≤ K) (hW : 2 * K + 4 ≤ W) (hG : Gd K KH κ (ΓS K) s L) (hyz : L "y" ≠ L "z") (hF : Fin (FB K KH κ (Fld.c CF.tag)) insertAroundS s L) :
PKok K KH κ (ΓS K) W insertAroundS s L

The insertion of the two new chunks into the tree (insertAroundS, new chunks y ≠ z): the tags written by guardedSetTag are bounded by the split's end state.

theorem OrderMaintenance.Impl.split_pkok {K KH W : ℕ} {κ : Caps} {s : Model.Core} {L : Loc} (hC : CapsW K κ) (hK : 8 ≤ K) (hW : 2 * K + 4 ≤ W) (hG : Gd K KH κ (ΓS K) s L) (hF : Fin (FB K KH κ (Fld.c CF.tag)) splitChunkStartS s L) :
PKok K KH κ (ΓS K) W splitChunkStartS s L

A split start (splitChunkStartS), its new tags bounded by the end state.