NLA-lib Explorer

NLAlib.Ops.Examples.Certification.original_repeatCount

Library · theorem

Projecting the full instruction budget recovers the literal and addition counts exactly.

NLAlib.Ops.Examples.Certification.original_repeatCount (n : ℕ) :
  Ops.Count.original (Ops.Examples.Certification.repeatCount n) =
    Ops.Count.one (Ops.ScalarOp.lit 0) [] + n • Ops.Count.one Ops.ScalarOp.add []

Full source on GitHub

Import NLAlib.Ops.Examples.Certification.