NLA-lib Explorer

NLAlib.Ops.CountPoly.eval_map_mul

Library · theorem

NLAlib.Ops.CountPoly.eval_map_mul (x : List ℕ) (s : ℕ × List ℕ) (q : Ops.CountPoly) :
  Ops.CountPoly.eval x (List.map (fun t ↦ (s.1 * t.1, s.2 ++ t.2)) q) =
    s.1 * Ops.CountPoly.monoEval x s.2 * Ops.CountPoly.eval x q

Full source on GitHub

Import NLAlib.Ops.OperationCount.