Equations
- One or more equations did not get rendered due to their size.
Instances For
Returns some c
, where c
is an equation from the basis whose leading monomial divides m
.
Remark: if the current ring does not satisfy the property
∀ (k : Nat) (a : α), k ≠ 0 → OfNat.ofNat (α := α) k * a = 0 → a = 0
then the leading coefficient of the equation must also divide k
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
- Lean.Grind.CommRing.Mon.findSimp?.go k m checkCoeff noZeroDiv Lean.Grind.CommRing.Mon.unit = pure none
Instances For
Returns some c
, where c
is an equation from the basis whose leading monomial divides some
monomial in p
.
Equations
- (Lean.Grind.CommRing.Poly.num k).findSimp? = pure none
- (Lean.Grind.CommRing.Poly.add k m p_2).findSimp? = do let __do_lift ← Lean.Grind.CommRing.Mon.findSimp? k m match __do_lift with | some c => pure (some c) | none => p_2.findSimp?
Instances For
Simplifies d.p
using c
, and returns an extended polynomial derivation.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Simplified d.p
using the current basis, and returns the extended polynomial derivation.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Simplifies c₁
using c₂
.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Simplify the given equation constraint using the current basis.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Returns true
if c.p
is the constant polynomial.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Simplifies and checks whether the resulting constraint is trivial (i.e., 0 = 0
),
or inconsistent (i.e., k = 0
where k % c != 0
for a comm-ring with characteristic c
),
and returns none
. Otherwise, returns the simplified constraint.
Equations
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
- Lean.Meta.Grind.Arith.CommRing.EqCnstr.superposeWith.go c Lean.Grind.CommRing.Mon.unit = pure ()
Instances For
Tries to convert the leading monomial into a monic one.
It exploits the fact that given a polynomial with leading coefficient k
,
if the ring has a nonzero characteristic p
and gcd k p = 1
, then
k
has an inverse.
It also handles the easy case where k
is -1
.
Remark: if the ring implements the class NoNatZeroDivisors
, then
the coefficients are divided by the gcd of all coefficients.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- c.addToBasis = do let __discr ← c.simplifyAndCheck match __discr with | some c => c.addToBasisAfterSimp | x => pure ()
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Returns true
if c.d.p
is the constant polynomial.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.