The polynomial functions at Poly.lean are used for constructing proofs-by-reflection,
but they do not provide mechanisms for aborting expensive computations.
@[inline]
Converts the given ring expression into a multivariate polynomial. If the ring has a nonzero characteristic, it is used during normalization.
Instances For
@[inline]
Equations
Instances For
@[inline]
Equations
- p.mulMonM k m = Lean.Meta.Grind.Arith.CommRing.mulMon✝ k m p
Instances For
Instances For
Returns some (val, x) if m contains a variable x whose the denotation is val⁻¹.
Equations
- One or more equations did not get rendered due to their size.
- Lean.Grind.CommRing.Mon.unit.findInvNumeralVar? = pure none
Instances For
Returns some (val, x) if p contains a variable x whose the denotation is val⁻¹.
Equations
- (Lean.Grind.CommRing.Poly.num k).findInvNumeralVar? = pure none
- (Lean.Grind.CommRing.Poly.add k m p₁_1).findInvNumeralVar? = do let __discr ← m.findInvNumeralVar? match __discr with | some r => pure (some r) | x => p₁_1.findInvNumeralVar?