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.Dyadic.Basic

13 declarations. Mathlib docs · Source

theorem Dyadic.toRat_one E0 #

↑1 = 1

theorem Dyadic.toRat_ofNat E0 #

∀ {n : ℕ} [n.AtLeastTwo], ↑(OfNat.ofNat n) = OfNat.ofNat n

theorem Dyadic.natCast_zero E0 #

↑0 = 0

theorem Dyadic.natCast_one E0 #

↑1 = 1

theorem Dyadic.natCast_add E1 #

∀ (a b : ℕ), ↑(a + b) = ↑a + ↑b

theorem Dyadic.intCast_zero E0 #

↑0 = 0

theorem Dyadic.intCast_one E0 #

↑1 = 1

theorem Dyadic.intCast_add E1 #

∀ (a b : ℤ), ↑(a + b) = ↑a + ↑b

theorem Dyadic.intCast_natCast E0 #

∀ (n : ℕ), ↑↑n = ↑n

theorem Dyadic.intCast_neg E1 #

∀ (a : ℤ), ↑(-a) = -↑a

instance Dyadic.instLinearOrder E0 #

LinearOrder Dyadic

instance Dyadic.instCommRing_1 E0 #

CommRing Dyadic

instance Dyadic.instIsStrictOrderedRing E0 #

IsStrictOrderedRing Dyadic