- ringId : Nat
- checkCoeffDvd : Bool
If
checkCoeffDvd
istrue
, then when using a polynomialk*m - p
to simplify.. + k'*m*m_2 + ...
, the substitution is performed IFk
dividesk'
, OR- Ring implements
NoNatZeroDivisors
.
We need this check when simplifying disequalities. In this case, if we perform the simplification anyway, we may end up with a proof that
k * q = 0
, but we cannot deduceq = 0
since the ring does not implementNoNatZeroDivisors
See comment atPolyDerivation
.
Instances For
Equations
We don't want to keep carrying the RingId
around.
Equations
Instances For
Equations
Instances For
Equations
Instances For
Returns some c
if the current ring has a nonzero characteristic c
.
Equations
Instances For
Returns some (charInst, c)
if the current ring has a nonzero characteristic c
.
Equations
Instances For
Equations
Instances For
Returns true
if the current ring satisfies the property
∀ (k : Nat) (a : α), k ≠ 0 → OfNat.ofNat (α := α) k * a = 0 → a = 0
Equations
Instances For
Returns true
if the current ring has a IsCharP
instance.
Equations
Instances For
Converts the given ring expression into a multivariate polynomial. If the ring has a nonzero characteristic, it is used during normalization.