NLA-lib Explorer

NLAlib.Ops.IExp.eval_le_pow_degreeAt

Library · theorem

If each initial index is bounded by its corresponding power of a base at least two, a successfully evaluated expression is bounded by the power of its computed slot-sensitive degree.

NLAlib.Ops.IExp.eval_le_pow_degreeAt {base : ℕ} (hb : 2 ≤ base) {idx degrees : List ℕ}
  (hi : List.Forall₂ (fun v d ↦ v ≤ base ^ d) idx degrees) (e : Ops.IExp) {v : ℕ}
  (hv : Ops.IExp.eval idx e = some v) : v ≤ base ^ Ops.IExp.degreeAt degrees e

Full source on GitHub

Import NLAlib.Ops.IndexDegrees.