NLA-lib Explorer

NLAlib.Ops.Examples.Routines.eval_countPoly_sum2Program

Library · theorem

The polynomial of the program at the sizes d is the operation count.

NLAlib.Ops.Examples.Routines.eval_countPoly_sum2Program (d : Fin 1 → ℕ) :
  Ops.CountPoly.eval (List.ofFn d) Ops.Examples.Routines.sum2Program.countPoly =
    Ops.Examples.Routines.sum2Work d

Full source on GitHub

Import NLAlib.Ops.Examples.RoutineCertification.