Documentation

Analysis.Section_4_4

theorem Rat.between_int (x : ) :
∃! n : , n x x < n + 1

Proposition 4.4.1 (Interspersing of integers by rationals) / Exercise 4.4.1

theorem Nat.exists_gt (x : ) :
∃ (n : ), n > x
theorem Rat.exists_between_rat {x y : } (h : x < y) :
∃ (z : ), x < z z < y

Proposition 4.4.3 (Interspersing of rationals)

theorem Nat.no_infinite_descent :
¬∃ (a : ), ∀ (n : ), a (n + 1) < a n

Exercise 4.4.2 (a)

def Int.infinite_descent :
Decidable (∃ (a : ), ∀ (n : ), a (n + 1) < a n)

Exercise 4.4.2 (b)

Equations
Instances For
    def Rat.pos_infinite_descent :
    Decidable (∃ (a : { x : // 0 < x }), ∀ (n : ), a (n + 1) < a n)

    Exercise 4.4.2 (b)

    Equations
    Instances For
      theorem Rat.not_exist_sqrt_two :
      ¬∃ (x : ), x ^ 2 = 2

      Proposition 4.4.4 / Exercise 4.4.3

      theorem Rat.exist_approx_sqrt_two {ε : } ( : ε > 0) :
      x0, x ^ 2 < 2 2 < (x + ε) ^ 2

      Proposition 4.4.5