NLAlib.Ops.stmtWeightedCost_le_coefficient_mul_pow
Library · theorem
A complete weighted-work estimate with a structural coefficient, a slot-sensitive work degree and a separate finite primitive dimension envelope. Applied to instrumented syntax, this counts every original operation, query and structural instruction.
NLAlib.Ops.stmtWeightedCost_le_coefficient_mul_pow {Op Tst : Type} (op : Op → List ℕ → ℕ)
(query : Tst → List ℕ → ℕ) (s : Ops.Stmt Op Tst) {b : ℕ} (hb : 2 ≤ b) {idx degrees : List ℕ}
(hi : List.Forall₂ (fun v d ↦ v ≤ b ^ d) idx degrees) {w : ℕ}
(hw : Ops.WorkEnvelope op query s.callArity (b ^ s.callDegreeAt degrees) w) :
Ops.stmtWeightedCost op query s idx ≤ s.workCoefficient * b ^ s.workDegreeAt degrees * wImport NLAlib.Ops.PolynomialWork.