The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V02. Numbers

Mathlib.Data.Int.Cast.Field

2 declarations. Mathlib docs · Source

theorem Int.cast_neg_natCast E2 #

∀ {R : Type u_2} [inst : DivisionRing R] (n : ℕ), ↑(-↑n) = -↑n

Auxiliary lemma for norm_cast to move the cast -↑n upwards to ↑-↑n.

(The restriction to DivisionRing is necessary, otherwise this would also apply in the case where R = ℤ and cause nontermination.)

theorem Int.cast_div E0 #

∀ {α : Type u_1} [inst : DivisionRing α] {m n : ℤ}, n ∣ m → ↑n ≠ 0 → ↑(m / n) = ↑m / ↑n