Documentation

LeanPool.OrderMaintenance.Impl.Reserve

M6: reservation at Level M (insertAround, splitChunkStart) #

insertAround x y z puts the new chunks y, z around x in every table holding x. Level F computes all the labels first, then inserts. The program computes the two labels of a table right before inserting into it: the tables are distinct, so a table is still untouched when its turn comes, and the labels agree.

The tables holding x #

The labels of y and z in table T (Level F's ly, lz).

Equations
Instances For

    Insert replacement-chunk entries around the source in one containing table.

    Equations
    Instances For

      Level F after the insertions into the first j tables holding x.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        theorem OrderMaintenance.Impl.cStep_getX (S0 : Model.Core) (x y z : ℕ) (ns : Array Model.Node) (T u : ℕ) (h : u ≠ T) :
        (cStep S0 x y z ns T).getX u = ns.getX u
        theorem OrderMaintenance.Impl.cStep_size (S0 : Model.Core) (x y z : ℕ) (ns : Array Model.Node) (T : ℕ) :
        (cStep S0 x y z ns T).size = ns.size
        theorem OrderMaintenance.Impl.cJ_getX_notin {S0 : Model.Core} {x y z j u : ℕ} (hu : u ∉ List.take j (S0.cin.getX x)) :
        (cJ S0 x y z j).nodes.getX u = S0.nodes.getX u
        theorem OrderMaintenance.Impl.cJ_size (S0 : Model.Core) (x y z j : ℕ) :
        (cJ S0 x y z j).nodes.size = S0.nodes.size
        theorem OrderMaintenance.Impl.cJ_zero (S0 : Model.Core) (x y z : ℕ) :
        cJ S0 x y z 0 = S0

        Insert replacement chunks around the source in one chunk membership table.

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For

          Update every table containing a chunk with its two replacement entries.

          Equations
          • One or more equations did not get rendered due to their size.
          Instances For
            theorem OrderMaintenance.Impl.cinsStep_ok {κ : Caps} {S0 : Model.Core} {L : Loc} {x y z j B : ℕ} (hnd : (S0.cin.getX x).Nodup) (hyx : y ≠ x) (hroom : ∀ T ∈ S0.cin.getX x, Proof.Top.RoomOK S0 x T) (hj : j < (S0.cin.getX x).length) (hLx : L "x" = x) (hLy : L "y" = y) (hLz : L "z" = z) (hxi : x < κ.lrec LK.cin) (hcapT : ∀ T ∈ S0.cin.getX x, T < κ.lrec LK.table ∧ T < κ.lrec LK.side ∧ T < κ.tbl Tbl.N ∧ (S0.nodes.getX T).table.length + 2 ≤ κ.lcap LK.table ∧ (S0.nodes.getX T).side.length + 2 ≤ κ.lcap LK.side) (hB : ∀ T ∈ S0.cin.getX x, (S0.nodes.getX T).table.length ≤ B ∧ (S0.nodes.getX T).side.length ≤ B) :
            ∃ (L' : Loc) (c : ℕ), evalF κ cinsBody (cJ S0 x y z j) (Machine.State.upd L "j" j) = Res.ok (cJ S0 x y z (j + 1)) L' c ∧ c ≤ 1000 + 400 * B ∧ ∀ (r : String), r ≠ "j" → r ≠ "T" → r ≠ "a" → r ≠ "b" → L' r = L r
            theorem OrderMaintenance.Impl.cinsS_ok {κ : Caps} {S0 : Model.Core} {L : Loc} {x y z B : ℕ} (hnd : (S0.cin.getX x).Nodup) (hyx : y ≠ x) (hroom : ∀ T ∈ S0.cin.getX x, Proof.Top.RoomOK S0 x T) (hLx : L "x" = x) (hLy : L "y" = y) (hLz : L "z" = z) (hxi : x < κ.lrec LK.cin) (hcapT : ∀ T ∈ S0.cin.getX x, T < κ.lrec LK.table ∧ T < κ.lrec LK.side ∧ T < κ.tbl Tbl.N ∧ (S0.nodes.getX T).table.length + 2 ≤ κ.lcap LK.table ∧ (S0.nodes.getX T).side.length + 2 ≤ κ.lcap LK.side) (hB : ∀ T ∈ S0.cin.getX x, (S0.nodes.getX T).table.length ≤ B ∧ (S0.nodes.getX T).side.length ≤ B) :
            ∃ (L' : Loc) (c : ℕ), evalF κ cinsS S0 L = Res.ok (cJ S0 x y z (S0.cin.getX x).length) L' c ∧ c ≤ 5 + (S0.cin.getX x).length * (1001 + 400 * B) ∧ ∀ (r : String), r ≠ "m" → r ≠ "j" → r ≠ "T" → r ≠ "a" → r ≠ "b" → L' r = L r

            joinChunk #

            joinChunk (cin x) lp w (locals w x lp). The list of w is cleared first, so that the copy starts from a row that exists.

            Equations
            • One or more equations did not get rendered due to their size.
            Instances For
              theorem OrderMaintenance.Impl.joinCS_ok {κ : Caps} {s : Model.Core} {L : Loc} {w x lp : ℕ} (hw : L "w" = w) (hx : L "x" = x) (hlp : L "lp" = lp) (hwx : w ≠ x) (hwC : w < κ.tbl Tbl.C) (hz : rowZero κ s w) (hnp : notPrep s w) (hH : s.P.H + 1 ≤ κ.pw) (hwi : w < κ.lrec LK.cin) (hxi : x < κ.lrec LK.cin) (hcap : (s.cin.getX x).length ≤ κ.lcap LK.cin) (hwa : w < κ.arr AF.lpar) :
              ∃ (L' : Loc) (c : ℕ), evalF κ joinCS s L = Res.ok (Proof.Top.joinS s (s.cin.getX x) lp w) L' c ∧ c ≤ 20 + 40 * (s.cin.getX x).length ∧ ∀ (r : String), r ≠ "a" → r ≠ "n" → r ≠ "j" → L' r = L r

              The guarded tag write #

              guardedSetTag c t: t must lie strictly between the tags of c's neighbours.

              Equations
              • One or more equations did not get rendered due to their size.
              Instances For
                theorem OrderMaintenance.Impl.gstP_agree {κ : Caps} {s : Model.Core} {L : Loc} {c t : ℕ} (hc : L "c" = c) (ht : L "t" = t) (hcs : c < s.C.size) (hcT : c < κ.tbl Tbl.C) (hpT : (s.C.getX c).prev < κ.tbl Tbl.C) (hnT : (s.C.getX c).next < κ.tbl Tbl.C) (h : Proof.TagOK s c t) :
                ∃ (L' : Loc) (n : ℕ), evalF κ gstP.body s L = Res.ok { P := s.P, E := s.E, Gs := s.Gs, C := s.C.modify c fun (C : Model.Chunk) => { next := C.next, prev := C.prev, first := C.first, last := C.last, size := C.size, st := C.st, src := C.src, l := C.l, r := C.r, tag := t, alive := C.alive }, freeG := s.freeG, count := s.count, head := s.head, tail := s.tail, firstGroup := s.firstGroup, firstChunk := s.firstChunk, ready := s.ready, prep := s.prep, resJob := s.resJob, fallbacks := s.fallbacks, pqHead := s.pqHead, pqNext := s.pqNext, pqPrev := s.pqPrev, pqWhere := s.pqWhere, nbNext := s.nbNext, nbPrev := s.nbPrev, pqHi := s.pqHi, pqLo := s.pqLo, nodes := s.nodes, path := s.path, cin := s.cin, lpar := s.lpar } L' n ∧ n ≤ 40

                The parent's children: x becomes y, x, z #

                theorem OrderMaintenance.Impl.replace1_eq3 (x a b : ℕ) (l : List ℕ) :
                x ∈ l → l.replace1 x [a, x, b] = (l.insertIdx (List.findIdx (fun (x_1 : ℕ) => x_1 == x) l) a).insertIdx (List.findIdx (fun (x_1 : ℕ) => x_1 == x) l + 2) b

                Insert replacement chunks on either side of their source in the live child list.

                Equations
                • One or more equations did not get rendered due to their size.
                Instances For
                  theorem OrderMaintenance.Impl.map_insertIdx_pair0 (l : List ℕ) (i a : ℕ) :
                  (List.map (fun (e : ℕ) => (e, 0)) l).insertIdx i (a, 0) = List.map (fun (e : ℕ) => (e, 0)) (l.insertIdx i a)
                  theorem OrderMaintenance.Impl.childS_ok {κ : Caps} {s : Model.Core} {L : Loc} {lp x y z : ℕ} (hlp : L "lp" = lp) (hx : L "x" = x) (hy : L "y" = y) (hz : L "z" = z) (hmem : x ∈ (s.nodes.getX lp).children) (hlpn : lp < s.nodes.size) (hlr : lp < κ.lrec LK.children) (hcap : (s.nodes.getX lp).children.length + 2 ≤ κ.lcap LK.children) :
                  ∃ (L' : Loc) (c : ℕ), evalF κ childS s L = Res.ok { P := s.P, E := s.E, Gs := s.Gs, C := s.C, freeG := s.freeG, count := s.count, head := s.head, tail := s.tail, firstGroup := s.firstGroup, firstChunk := s.firstChunk, ready := s.ready, prep := s.prep, resJob := s.resJob, fallbacks := s.fallbacks, pqHead := s.pqHead, pqNext := s.pqNext, pqPrev := s.pqPrev, pqWhere := s.pqWhere, nbNext := s.nbNext, nbPrev := s.nbPrev, pqHi := s.pqHi, pqLo := s.pqLo, nodes := s.nodes.modify lp fun (n : Model.Node) => { height := n.height, livePar := n.livePar, children := n.children.replace1 x [y, x, z], weight := n.weight, table := n.table, inTables := n.inTables, first := n.first, last := n.last, draining := n.draining, t1 := n.t1, t2 := n.t2, side := n.side, overflowOf := n.overflowOf, alive := n.alive }, path := s.path, cin := s.cin, lpar := s.lpar } L' c ∧ c ≤ 250 + 220 * (s.nodes.getX lp).children.length ∧ ∀ (r : String), r ≠ "r" → L' r = L r

                  The reads of insertAround #

                  The labels and tags insertAround x y z reads (locals x): the tags ty, tz and the live parent lp.

                  Equations
                  • One or more equations did not get rendered due to their size.
                  Instances For
                    theorem OrderMaintenance.Impl.idx?_mem {l : List ℕ} {a i : ℕ} (h : l.idx? a = some i) :
                    a ∈ l
                    theorem OrderMaintenance.Impl.iaPrepS_ok {κ : Caps} {s : Model.Core} {L : Loc} {x f1x i1 : ℕ} (hLx : L "x" = x) (hroom : ∀ T ∈ s.cin.getX x, Proof.Top.RoomOK s x T) (hf1 : (s.nodes.getX ((s.path.getX x).getX 1)).lab? x = some f1x) (hi1 : (s.cin.getX x).idx? ((s.path.getX x).getX 1) = some i1) (htx : f1x ≤ (s.C.getX x).tag) (hnp : notPrep s x) (hxC : x < κ.tbl Tbl.C) (hpw : 1 < κ.pw) (hxa : x < κ.arr AF.lpar) (hp1 : (s.path.getX x).getX 1 < κ.lrec LK.table) :
                    ∃ (L' : Loc) (c : ℕ), evalF κ iaPrepS s L = Res.ok s L' c ∧ L' "ty" = Proof.Top.tagY s x f1x i1 ∧ L' "tz" = Proof.Top.tagZ s x f1x i1 ∧ L' "lp" = s.lpar.getX x ∧ c ≤ 400 + 60 * (s.nodes.getX ((s.path.getX x).getX 1)).table.length ∧ ∀ (r : String), r ≠ "p1" → r ≠ "f" → r ≠ "f1" → r ≠ "a" → r ≠ "b" → r ≠ "tx" → r ≠ "lp" → r ≠ "ty" → r ≠ "tz" → L' r = L r

                    insertAround #

                    insertAround x y z (locals x y z).

                    Equations
                    • One or more equations did not get rendered due to their size.
                    Instances For
                      theorem OrderMaintenance.Impl.fold_cStep_children (S0 : Model.Core) (x y z : ℕ) (g : ℕ → List ℕ) (l : List ℕ) (a : Array Model.Node) :
                      (∀ (u : ℕ), (a.getX u).children = g u) → ∀ (u : ℕ), ((List.foldl (cStep S0 x y z) a l).getX u).children = g u
                      theorem OrderMaintenance.Impl.cJ_children (S0 : Model.Core) (x y z j u : ℕ) :
                      ((cJ S0 x y z j).nodes.getX u).children = (S0.nodes.getX u).children
                      theorem OrderMaintenance.Impl.rowZero_joinS {κ : Caps} {X : Model.Core} {tabs : List ℕ} {lp w c : ℕ} (hcw : c ≠ w) (h : rowZero κ X c) :
                      rowZero κ (Proof.Top.joinS X tabs lp w) c
                      theorem OrderMaintenance.Impl.insertAroundS_ok {κ : Caps} {s : Model.Core} {L : Loc} {x y z f1x i1 B : ℕ} (hLx : L "x" = x) (hLy : L "y" = y) (hLz : L "z" = z) (hroom : ∀ T ∈ s.cin.getX x, Proof.Top.RoomOK s x T) (hnd : (s.cin.getX x).Nodup) (hyx : y ≠ x) (hf1 : (s.nodes.getX ((s.path.getX x).getX 1)).lab? x = some f1x) (hi1 : (s.cin.getX x).idx? ((s.path.getX x).getX 1) = some i1) (htx : f1x ≤ (s.C.getX x).tag) (hlp : x ∈ (s.nodes.getX (s.lpar.getX x)).children) (hgy : Proof.TagOK s y (Proof.Top.tagY s x f1x i1)) (hgz : Proof.TagOK { P := s.P, E := s.E, Gs := s.Gs, C := s.C.modify y fun (C : Model.Chunk) => { next := C.next, prev := C.prev, first := C.first, last := C.last, size := C.size, st := C.st, src := C.src, l := C.l, r := C.r, tag := Proof.Top.tagY s x f1x i1, alive := C.alive }, freeG := s.freeG, count := s.count, head := s.head, tail := s.tail, firstGroup := s.firstGroup, firstChunk := s.firstChunk, ready := s.ready, prep := s.prep, resJob := s.resJob, fallbacks := s.fallbacks, pqHead := s.pqHead, pqNext := s.pqNext, pqPrev := s.pqPrev, pqWhere := s.pqWhere, nbNext := s.nbNext, nbPrev := s.nbPrev, pqHi := s.pqHi, pqLo := s.pqLo, nodes := s.nodes, path := s.path, cin := s.cin, lpar := s.lpar } z (Proof.Top.tagZ s x f1x i1)) (hzx : z ≠ x) (hyz : y ≠ z) (hnpx : notPrep s x) (hnpy : notPrep s y) (hnpz : notPrep s z) (hxC : x < κ.tbl Tbl.C) (hpw : 1 < κ.pw) (hH : s.P.H + 1 ≤ κ.pw) (hxa : x < κ.arr AF.lpar) (hya : y < κ.arr AF.lpar) (hza : z < κ.arr AF.lpar) (hys : y < s.C.size) (hzs : z < s.C.size) (hyC : y < κ.tbl Tbl.C) (hzC : z < κ.tbl Tbl.C) (hyP : (s.C.getX y).prev < κ.tbl Tbl.C) (hyN : (s.C.getX y).next < κ.tbl Tbl.C) (hzP : (s.C.getX z).prev < κ.tbl Tbl.C) (hzN : (s.C.getX z).next < κ.tbl Tbl.C) (hry : rowZero κ s y) (hrz : rowZero κ s z) (hxi : x < κ.lrec LK.cin) (hyi : y < κ.lrec LK.cin) (hzi : z < κ.lrec LK.cin) (hcin : (s.cin.getX x).length ≤ κ.lcap LK.cin) (hcapT : ∀ T ∈ s.cin.getX x, T < κ.lrec LK.table ∧ T < κ.lrec LK.side ∧ T < κ.tbl Tbl.N ∧ (s.nodes.getX T).table.length + 2 ≤ κ.lcap LK.table ∧ (s.nodes.getX T).side.length + 2 ≤ κ.lcap LK.side) (hB : ∀ T ∈ s.cin.getX x, (s.nodes.getX T).table.length ≤ B ∧ (s.nodes.getX T).side.length ≤ B) (hlr : s.lpar.getX x < κ.lrec LK.children) (hccap : (s.nodes.getX (s.lpar.getX x)).children.length + 2 ≤ κ.lcap LK.children) :
                      ∃ (L' : Loc) (c : ℕ), evalF κ insertAroundS s L = Res.ok (Proof.Top.insFinS (Proof.Top.tagsS s y z (Proof.Top.tagY s x f1x i1) (Proof.Top.tagZ s x f1x i1)) x y z fun (T : ℕ) => (Proof.Top.roomL s.P.beta (s.nodes.getX T).table x true, Proof.Top.roomL s.P.beta (s.nodes.getX T).table x false)) L' c ∧ c ≤ 1200 + 60 * B + (s.cin.getX x).length * (1100 + 400 * B) + 220 * (s.nodes.getX (s.lpar.getX x)).children.length ∧ L' "x" = x ∧ L' "y" = y ∧ L' "z" = z

                      linkChunkPair and markSplit #

                      theorem OrderMaintenance.Impl.evalF_wrC2 {κ : Caps} {s : Model.Core} {L : Loc} {k1 k2 : CF} {i e1 e2 : Exp} {j w1 w2 : ℕ} (hi : ∀ (S : Model.Core), Exp.ev κ S L i = some j) (he1 : ∀ (S : Model.Core), Exp.ev κ S L e1 = some w1) (he2 : ∀ (S : Model.Core), Exp.ev κ S L e2 = some w2) (hj : j < s.C.size) (hk1 : CF.ok w1 k1 = true) (hk2 : CF.ok w2 k2 = true) :
                      evalF κ (Stm.wcF k1 i e1;; Stm.wcF k2 i e2) s L = Res.ok { P := s.P, E := s.E, Gs := s.Gs, C := s.C.modify j fun (C : Model.Chunk) => CF.set (CF.set C w1 k1) w2 k2, freeG := s.freeG, count := s.count, head := s.head, tail := s.tail, firstGroup := s.firstGroup, firstChunk := s.firstChunk, ready := s.ready, prep := s.prep, resJob := s.resJob, fallbacks := s.fallbacks, pqHead := s.pqHead, pqNext := s.pqNext, pqPrev := s.pqPrev, pqWhere := s.pqWhere, nbNext := s.nbNext, nbPrev := s.nbPrev, pqHi := s.pqHi, pqLo := s.pqLo, nodes := s.nodes, path := s.path, cin := s.cin, lpar := s.lpar } L (1 + i.cost + e1.cost + (1 + i.cost + e2.cost))

                      Two writes to the same chunk.

                      theorem OrderMaintenance.Impl.ev_var_const {κ : Caps} {L : Loc} {r : Machine.Reg} {v : ℕ} (h : L r = v) (S : Model.Core) :
                      Exp.ev κ S L (Exp.var r) = some v
                      theorem OrderMaintenance.Impl.ev_lit_const {κ : Caps} {L : Loc} (v : ℕ) (S : Model.Core) :
                      Exp.ev κ S L (Exp.lit v) = some v

                      Link the left replacement chunk immediately before its source.

                      Equations
                      • One or more equations did not get rendered due to their size.
                      Instances For

                        Redirect the preceding chunk, or the chunk-list head, to the left replacement.

                        Equations
                        • One or more equations did not get rendered due to their size.
                        Instances For

                          Link the right replacement chunk immediately after its source.

                          Equations
                          • One or more equations did not get rendered due to their size.
                          Instances For

                            Redirect the succeeding chunk to the right replacement when it exists.

                            Equations
                            • One or more equations did not get rendered due to their size.
                            Instances For

                              Record both replacement chunks as the source's list neighbours.

                              Equations
                              • One or more equations did not get rendered due to their size.
                              Instances For

                                linkChunkPair x y z: y, z go before and after x in the chunk list (locals x y z).

                                Equations
                                • One or more equations did not get rendered due to their size.
                                Instances For
                                  theorem OrderMaintenance.Impl.linkChunkPairS_ok {κ : Caps} {s : Model.Core} {L : Loc} {x y z : ℕ} (hx : L "x" = x) (hy : L "y" = y) (hz : L "z" = z) (hxs : x < s.C.size) (hys : y < s.C.size) (hzs : z < s.C.size) (hC : s.C.size ≤ κ.tbl Tbl.C) (hp : (s.C.getX x).prev ≠ Model.NIL → (s.C.getX x).prev < s.C.size) (hn : (s.C.getX x).next ≠ Model.NIL → (s.C.getX x).next < s.C.size) :
                                  ∃ (L' : Loc) (c : ℕ), evalF κ linkChunkPairS s L = Res.ok (Model.linkChunkPair s x y z) L' c ∧ c ≤ 60 ∧ ∀ (r : String), r ≠ "xp" → r ≠ "xn" → L' r = L r

                                  Mark the source chunk as splitting and store both replacement indices.

                                  Equations
                                  • One or more equations did not get rendered due to their size.
                                  Instances For

                                    Mark the left replacement as an overflow sibling of the source chunk.

                                    Equations
                                    • One or more equations did not get rendered due to their size.
                                    Instances For

                                      Mark the right replacement as an overflow sibling of the source chunk.

                                      Equations
                                      • One or more equations did not get rendered due to their size.
                                      Instances For

                                        markSplit x y z job for the job insertAround returns (locals x y z).

                                        Equations
                                        • One or more equations did not get rendered due to their size.
                                        Instances For
                                          theorem OrderMaintenance.Impl.markSplitS_ok {κ : Caps} {t : Model.Core} {L : Loc} {x y z : ℕ} (hx : L "x" = x) (hy : L "y" = y) (hz : L "z" = z) (hxs : x < t.C.size) (hys : y < t.C.size) (hzs : z < t.C.size) :
                                          evalF κ markSplitS t L = Res.ok (Proof.markState t x y z { x := x, y := y, z := z, pc := Model.JobPc.copy 1 }) L 57

                                          splitChunkStart #

                                          structure OrderMaintenance.Impl.IAOK (κ : Caps) (s : Model.Core) (x y z f1x i1 B : ℕ) :

                                          What insertAroundS_ok needs: the hypotheses of Level F's insertAround_run, and the capacities.

                                          Instances For

                                            The state insertAround x y z reaches from s (Level F's insertAround_run).

                                            Equations
                                            • One or more equations did not get rendered due to their size.
                                            Instances For

                                              The cost bound of insertAroundS.

                                              Equations
                                              Instances For
                                                theorem OrderMaintenance.Impl.IAOK.run {κ : Caps} {s : Model.Core} {x y z f1x i1 B : ℕ} (h : IAOK κ s x y z f1x i1 B) :
                                                EStateM.run (Model.insertAround x y z) s = EStateM.Result.ok { x := x, y := y, z := z, pc := Model.JobPc.copy 1 } (iaState s x y z f1x i1)
                                                theorem OrderMaintenance.Impl.IAOK.agree {κ : Caps} {s : Model.Core} {L : Loc} {x y z f1x i1 B : ℕ} (h : IAOK κ s x y z f1x i1 B) (hLx : L "x" = x) (hLy : L "y" = y) (hLz : L "z" = z) :
                                                ∃ (L' : Loc) (c : ℕ), evalF κ insertAroundS s L = Res.ok (iaState s x y z f1x i1) L' c ∧ c ≤ iaCost s x B ∧ L' "x" = x ∧ L' "y" = y ∧ L' "z" = z

                                                splitChunkStart x (local x; y, z receive the new chunks).

                                                Equations
                                                • One or more equations did not get rendered due to their size.
                                                Instances For
                                                  theorem OrderMaintenance.Impl.splitChunkStartS_ok {κ : Caps} {s : Model.Core} {L : Loc} {x f1x i1 B : ℕ} (hx : L "x" = x) (hx0 : x ≠ Model.NIL) (hxs : x < s.C.size) (hC : s.C.size + 2 ≤ κ.tbl Tbl.C) (hp : (s.C.getX x).prev ≠ Model.NIL → (s.C.getX x).prev < s.C.size) (hn : (s.C.getX x).next ≠ Model.NIL → (s.C.getX x).next < s.C.size) (hia : IAOK κ (Model.linkChunkPair (Proof.push2 s) x s.C.size (s.C.size + 1)) x s.C.size (s.C.size + 1) f1x i1 B) :
                                                  ∃ (L' : Loc) (c : ℕ), evalF κ splitChunkStartS s L = Res.ok (Proof.markState (iaState (Model.linkChunkPair (Proof.push2 s) x s.C.size (s.C.size + 1)) x s.C.size (s.C.size + 1) f1x i1) x s.C.size (s.C.size + 1) { x := x, y := s.C.size, z := s.C.size + 1, pc := Model.JobPc.copy 1 }) L' c ∧ c ≤ 150 + iaCost (Model.linkChunkPair (Proof.push2 s) x s.C.size (s.C.size + 1)) x B ∧ L' "x" = x