English
There is a way to evaluate polynomials at an element x of a target S using the R-action, via a smul_pow rule.
Русский
Существует способ вычислять значение многочлена в элементе x целевого пространства S через действием R и правило smul_pow.
LaTeX
$$$\text{Polynomial.smeval} : (R \text{-polynomial}) \to (S \to S)$$$
Lean4
/-- Evaluate a polynomial `p` in the scalar semiring `R` at an element `x` in the target `S` using
scalar multiple `R`-action. -/
def smeval :=
val_proj @wrapped✝.{}