Documentation

CombinatorialGames.Surreal.Birthday.Dyadic

Birthday of dyadic rationals #

We prove that a surreal number has a finite birthday iff it's a dyadic number, and give an explicit formula for the birthday of a dyadic number.

theorem Nat.div_lt_div_iff_exists {a b c : ℕ} :
a / c < b / c ↔ ∃ (d : ℕ), a < d ∧ d ≤ b ∧ c ∣ d
@[simp]
theorem Game.birthday_ratCast (x : ℚ) :
(↑x).birthday = (↑x).birthday

The birthday of a dyadic number can be computed explicitly.

Equations
Instances For
    @[simp]
    theorem Dyadic.birthday_intCast (n : ℤ) :
    (↑n).birthday = n.natAbs
    @[simp]
    theorem Dyadic.birthday_natCast (n : ℕ) :
    (↑n).birthday = n
    @[simp]
    theorem IGame.birthday_dyadic (x : Dyadic) :
    (↑x).birthday = ↑x.birthday