NLA-lib Explorer

NLAlib.gramHorner_eq_aeval

Library ยท theorem

For arbitrary coefficient data, the Gram Horner recurrence evaluates the Mathlib polynomial formed from exactly its first q+1 entries. [AmselPerssonMuscoGower2026, Appendix E].

NLAlib.gramHorner_eq_aeval.{u_1, u_3} {๐•œ : Type u_1} {n : Type u_3} [RCLike ๐•œ] [Fintype n]
  [DecidableEq n] (q : โ„•) (c : โ„• โ†’ โ„) (A : Matrix n n ๐•œ) :
  gramHorner q c A = (Polynomial.aeval A) ((Polynomial.ofFn (q + 1)) fun i โ†ฆ c โ†‘i)

Full source on GitHub

Import NLAlib.Matrix.Functions.PolarMinimax.