The areas / V34. The tactics of Mathlib
Mathlib.Tactic.NormNum.Eq
7 declarations. Mathlib docs · Source
theorem Mathlib.Meta.NormNum.isNat_eq_false E1 #
∀ {α : Type u_1} [inst : AddMonoidWithOne α] [CharZero α] {a b : α} {a' b' : ℕ},
Mathlib.Meta.NormNum.IsNat a a' → Mathlib.Meta.NormNum.IsNat b b' → a'.beq b' = false → ¬a = b
theorem Mathlib.Meta.NormNum.isInt_eq_false E1 #
∀ {α : Type u_1} [inst : Ring α] [CharZero α] {a b : α} {a' b' : ℤ},
Mathlib.Meta.NormNum.IsInt a a' → Mathlib.Meta.NormNum.IsInt b b' → decide (a' = b') = false → ¬a = b
theorem Mathlib.Meta.NormNum.NNRat.invOf_denom_swap E1 #
∀ {α : Type u_1} [inst : Semiring α] (n₁ n₂ : ℕ) (a₁ a₂ : α) [inst_1 : Invertible a₁] [inst_2 : Invertible a₂],
↑n₁ * ⅟a₁ = ↑n₂ * ⅟a₂ ↔ ↑n₁ * a₂ = ↑n₂ * a₁
theorem Mathlib.Meta.NormNum.isNNRat_eq_false E1 #
∀ {α : Type u_1} [inst : Semiring α] [CharZero α] {a b : α} {na nb da db : ℕ},
Mathlib.Meta.NormNum.IsNNRat a na da →
Mathlib.Meta.NormNum.IsNNRat b nb db → decide (na.mul db = nb.mul da) = false → ¬a = b
theorem Mathlib.Meta.NormNum.Rat.invOf_denom_swap E1 #
∀ {α : Type u_1} [inst : Ring α] (n₁ n₂ : ℤ) (a₁ a₂ : α) [inst_1 : Invertible a₁] [inst_2 : Invertible a₂],
↑n₁ * ⅟a₁ = ↑n₂ * ⅟a₂ ↔ ↑n₁ * a₂ = ↑n₂ * a₁
theorem Mathlib.Meta.NormNum.isRat_eq_false E1 #
∀ {α : Type u_1} [inst : Ring α] [CharZero α] {a b : α} {na nb : ℤ} {da db : ℕ},
Mathlib.Meta.NormNum.IsRat a na da →
Mathlib.Meta.NormNum.IsRat b nb db → decide (na.mul (Int.ofNat db) = nb.mul (Int.ofNat da)) = false → ¬a = b
def Mathlib.Meta.NormNum.evalEq E1 #
Mathlib.Meta.NormNum.NormNumExt
The norm_num extension which identifies expressions of the form a = b,
such that norm_num successfully recognises both a and b.