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 / V34. The tactics of Mathlib

Mathlib.Tactic.Inclusion.Extension.IntervalDyadicReal.Sqrt

10 declarations. Mathlib docs · Source

theorem Inclusion.IntervalDyadicReal.sqrt.match_1.congr_eq_2 E1 #

∀ (motive : WithBot Dyadic → Sort u_1) (x : WithBot Dyadic) (h_1 : Unit → motive none)
  (h_2 : (lb : Dyadic) → motive (some lb)) (lb : Dyadic),
  x = some lb →
    (match x with
      | none => h_1 ()
      | some lb => h_2 lb) ≍
      h_2 lb

theorem Inclusion.IntervalDyadicReal.sqrt.match_1.congr_eq_1 E1 #

∀ (motive : WithBot Dyadic → Sort u_1) (x : WithBot Dyadic) (h_1 : Unit → motive none)
  (h_2 : (lb : Dyadic) → motive (some lb)),
  x = none →
    (match x with
      | none => h_1 ()
      | some lb => h_2 lb) ≍
      h_1 ()

theorem Inclusion.IntervalDyadicReal.sqrt.match_3.congr_eq_1 E1 #

∀ (motive : WithTop Dyadic → Sort u_1) (x : WithTop Dyadic) (h_1 : Unit → motive none)
  (h_2 : (ub : Dyadic) → motive (some ub)),
  x = none →
    (match x with
      | none => h_1 ()
      | some ub => h_2 ub) ≍
      h_1 ()

theorem Inclusion.IntervalDyadicReal.sqrt.match_3.congr_eq_2 E1 #

∀ (motive : WithTop Dyadic → Sort u_1) (x : WithTop Dyadic) (h_1 : Unit → motive none)
  (h_2 : (ub : Dyadic) → motive (some ub)) (ub : Dyadic),
  x = some ub →
    (match x with
      | none => h_1 ()
      | some ub => h_2 ub) ≍
      h_2 ub

def Inclusion.IntervalDyadicReal.lowerSqrt E1 #

Dyadic → ℕ → Dyadic

Computes a lower bound for √x with precision prec, given a lower bound lb for x.

def Inclusion.IntervalDyadicReal.upperSqrt E1 #

Dyadic → ℕ → Dyadic

Computes an upper bound for √x with precision prec, given an upper bound ub for x.

def Inclusion.IntervalDyadicReal.sqrt E1 #

Inclusion.Interval Dyadic → ℕ → Inclusion.Interval Dyadic

Square root of an Interval Dyadic.

theorem Inclusion.IntervalDyadicReal.lowerSqrt_le E1 #

∀ {lb : Dyadic} {prec : ℕ} {x : ℝ},
  Inclusion.IntervalDyadicReal.Dyadic.toReal lb ≤ x →
    Inclusion.IntervalDyadicReal.Dyadic.toReal (Inclusion.IntervalDyadicReal.lowerSqrt lb prec) ≤ √x

theorem Inclusion.IntervalDyadicReal.le_upperSqrt E1 #

∀ {ub : Dyadic} {prec : ℕ} {x : ℝ},
  x ≤ Inclusion.IntervalDyadicReal.Dyadic.toReal ub →
    √x ≤ Inclusion.IntervalDyadicReal.Dyadic.toReal (Inclusion.IntervalDyadicReal.upperSqrt ub prec)

theorem Inclusion.IntervalDyadicReal.sqrt_mem E1 #

∀ {x : ℝ} {I : Inclusion.Interval Dyadic} (prec : ℕ), x ∈ I → √x ∈ Inclusion.IntervalDyadicReal.sqrt I prec