norm_num extension for IsCoprime #
This module defines a norm_num extension for IsCoprime over ℤ.
(While IsCoprime is defined over ℕ, since it uses Bezout's identity with ℕ coefficients
it does not correspond to the usual notion of coprime.)
theorem
Tactic.NormNum.isInt_isCoprime
{x y nx ny : ℤ}
:
Mathlib.Meta.NormNum.IsInt x nx → Mathlib.Meta.NormNum.IsInt y ny → IsCoprime nx ny → IsCoprime x y
theorem
Tactic.NormNum.isInt_not_isCoprime
{x y nx ny : ℤ}
:
Mathlib.Meta.NormNum.IsInt x nx → Mathlib.Meta.NormNum.IsInt y ny → ¬IsCoprime nx ny → ¬IsCoprime x y
Evaluates IsCoprime for the given integer number literals.
Panics if ex or ey aren't integer number literals.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Evaluates the IsCoprime predicate over ℤ.
Equations
- One or more equations did not get rendered due to their size.