NLAlib.Ops.Count.lift_le_size_add
Library · theorem
A weight at most one plus g gives at most the number of instructions plus the weight g.
NLAlib.Ops.Count.lift_le_size_add {Op Tst : Type} {f g : Op ⊕ Tst → List ℕ → ℕ}
(h : ∀ (k : Op ⊕ Tst) (d : List ℕ), f k d ≤ 1 + g k d) (c : Ops.Count Op Tst) :
(Ops.Count.lift f) c ≤ Ops.Count.size c + (Ops.Count.lift g) cImport NLAlib.Ops.SelectedWork.