Documentation

Mathlib.Data.Real.Hyperreal

Construction of the hyperreal numbers as an ultraproduct of real sequences. #

Hyperreal numbers on the ultrafilter extending the cofinite filter

Equations
Instances For

    Hyperreal numbers on the ultrafilter extending the cofinite filter

    Equations
    Instances For

      Natural embedding ℝ → ℝ*.

      Equations
      Instances For
        @[simp]
        theorem Hyperreal.coe_eq_coe {x : ℝ} {y : ℝ} :
        ↑x = ↑y ↔ x = y
        theorem Hyperreal.coe_ne_coe {x : ℝ} {y : ℝ} :
        ↑x ≠ ↑y ↔ x ≠ y
        @[simp]
        theorem Hyperreal.coe_eq_zero {x : ℝ} :
        ↑x = 0 ↔ x = 0
        @[simp]
        theorem Hyperreal.coe_eq_one {x : ℝ} :
        ↑x = 1 ↔ x = 1
        theorem Hyperreal.coe_ne_zero {x : ℝ} :
        ↑x ≠ 0 ↔ x ≠ 0
        theorem Hyperreal.coe_ne_one {x : ℝ} :
        ↑x ≠ 1 ↔ x ≠ 1
        @[simp]
        theorem Hyperreal.coe_one :
        ↑1 = 1
        @[simp]
        theorem Hyperreal.coe_zero :
        ↑0 = 0
        @[simp]
        theorem Hyperreal.coe_inv (x : ℝ) :
        ↑x⁻¹ = (↑x)⁻¹
        @[simp]
        theorem Hyperreal.coe_neg (x : ℝ) :
        ↑(-x) = -↑x
        @[simp]
        theorem Hyperreal.coe_add (x : ℝ) (y : ℝ) :
        ↑(x + y) = ↑x + ↑y
        @[simp]
        theorem Hyperreal.coe_mul (x : ℝ) (y : ℝ) :
        ↑(x * y) = ↑x * ↑y
        @[simp]
        theorem Hyperreal.coe_div (x : ℝ) (y : ℝ) :
        ↑(x / y) = ↑x / ↑y
        @[simp]
        theorem Hyperreal.coe_sub (x : ℝ) (y : ℝ) :
        ↑(x - y) = ↑x - ↑y
        @[simp]
        theorem Hyperreal.coe_le_coe {x : ℝ} {y : ℝ} :
        ↑x ≤ ↑y ↔ x ≤ y
        @[simp]
        theorem Hyperreal.coe_lt_coe {x : ℝ} {y : ℝ} :
        ↑x < ↑y ↔ x < y
        @[simp]
        theorem Hyperreal.coe_nonneg {x : ℝ} :
        0 ≤ ↑x ↔ 0 ≤ x
        @[simp]
        theorem Hyperreal.coe_pos {x : ℝ} :
        0 < ↑x ↔ 0 < x
        @[simp]
        theorem Hyperreal.coe_abs (x : ℝ) :
        ↑|x| = |↑x|
        @[simp]
        theorem Hyperreal.coe_max (x : ℝ) (y : ℝ) :
        ↑(max x y) = max ↑x ↑y
        @[simp]
        theorem Hyperreal.coe_min (x : ℝ) (y : ℝ) :
        ↑(min x y) = min ↑x ↑y
        def Hyperreal.ofSeq (f : ℕ → ℝ) :

        Construct a hyperreal number from a sequence of real numbers.

        Equations
        Instances For
          theorem Hyperreal.ofSeq_lt_ofSeq {f : ℕ → ℝ} {g : ℕ → ℝ} :
          Hyperreal.ofSeq f < Hyperreal.ofSeq g ↔ ∀ᶠ (n : ℕ) in ↑(Filter.hyperfilter ℕ), f n < g n
          noncomputable def Hyperreal.epsilon :

          A sample infinitesimal hyperreal

          Equations
          Instances For
            noncomputable def Hyperreal.omega :

            A sample infinite hyperreal

            Equations
            Instances For

              A sample infinitesimal hyperreal

              Equations
              Instances For

                A sample infinite hyperreal

                Equations
                Instances For
                  theorem Hyperreal.lt_of_tendsto_zero_of_pos {f : ℕ → ℝ} (hf : Filter.Tendsto f Filter.atTop (nhds 0)) {r : ℝ} :
                  0 < r → Hyperreal.ofSeq f < ↑r
                  theorem Hyperreal.neg_lt_of_tendsto_zero_of_pos {f : ℕ → ℝ} (hf : Filter.Tendsto f Filter.atTop (nhds 0)) {r : ℝ} :
                  0 < r → -↑r < Hyperreal.ofSeq f
                  theorem Hyperreal.gt_of_tendsto_zero_of_neg {f : ℕ → ℝ} (hf : Filter.Tendsto f Filter.atTop (nhds 0)) {r : ℝ} :
                  r < 0 → ↑r < Hyperreal.ofSeq f
                  def Hyperreal.IsSt (x : ℝ*) (r : ℝ) :

                  Standard part predicate

                  Equations
                  Instances For
                    noncomputable def Hyperreal.st :
                    ℝ* → ℝ

                    Standard part function: like a "round" to ℝ instead of ℤ

                    Equations
                    Instances For

                      A hyperreal number is infinitesimal if its standard part is 0

                      Equations
                      Instances For

                        A hyperreal number is positive infinite if it is larger than all real numbers

                        Equations
                        Instances For

                          A hyperreal number is negative infinite if it is smaller than all real numbers

                          Equations
                          Instances For

                            A hyperreal number is infinite if it is infinite positive or infinite negative

                            Equations
                            Instances For

                              Some facts about st #

                              theorem Hyperreal.isSt_of_tendsto {f : ℕ → ℝ} {r : ℝ} (hf : Filter.Tendsto f Filter.atTop (nhds r)) :
                              theorem Hyperreal.IsSt.lt {x : ℝ*} {y : ℝ*} {r : ℝ} {s : ℝ} (hxr : Hyperreal.IsSt x r) (hys : Hyperreal.IsSt y s) (hrs : r < s) :
                              x < y
                              theorem Hyperreal.IsSt.unique {x : ℝ*} {r : ℝ} {s : ℝ} (hr : Hyperreal.IsSt x r) (hs : Hyperreal.IsSt x s) :
                              r = s
                              theorem Hyperreal.IsSt.st_eq {x : ℝ*} {r : ℝ} (hxr : Hyperreal.IsSt x r) :
                              theorem Hyperreal.isSt_sSup {x : ℝ*} (hni : ¬Hyperreal.Infinite x) :
                              Hyperreal.IsSt x (sSup {y : ℝ | ↑y < x})
                              theorem Hyperreal.st_eq_sSup {x : ℝ*} :
                              Hyperreal.st x = sSup {y : ℝ | ↑y < x}
                              theorem Hyperreal.eq_of_isSt_real {r : ℝ} {s : ℝ} :
                              Hyperreal.IsSt (↑r) s → r = s
                              theorem Hyperreal.isSt_real_iff_eq {r : ℝ} {s : ℝ} :
                              Hyperreal.IsSt (↑r) s ↔ r = s
                              theorem Hyperreal.isSt_trans_real {r : ℝ} {s : ℝ} {t : ℝ} :
                              Hyperreal.IsSt (↑r) s → Hyperreal.IsSt (↑s) t → Hyperreal.IsSt (↑r) t
                              theorem Hyperreal.isSt_inj_real {r₁ : ℝ} {r₂ : ℝ} {s : ℝ} (h1 : Hyperreal.IsSt (↑r₁) s) (h2 : Hyperreal.IsSt (↑r₂) s) :
                              r₁ = r₂
                              theorem Hyperreal.isSt_iff_abs_sub_lt_delta {x : ℝ*} {r : ℝ} :
                              Hyperreal.IsSt x r ↔ ∀ (δ : ℝ), 0 < δ → |x - ↑r| < ↑δ
                              theorem Hyperreal.IsSt.map {x : ℝ*} {r : ℝ} (hxr : Hyperreal.IsSt x r) {f : ℝ → ℝ} (hf : ContinuousAt f r) :
                              theorem Hyperreal.IsSt.map₂ {x : ℝ*} {y : ℝ*} {r : ℝ} {s : ℝ} (hxr : Hyperreal.IsSt x r) (hys : Hyperreal.IsSt y s) {f : ℝ → ℝ → ℝ} (hf : ContinuousAt (Function.uncurry f) (r, s)) :
                              theorem Hyperreal.IsSt.add {x : ℝ*} {y : ℝ*} {r : ℝ} {s : ℝ} (hxr : Hyperreal.IsSt x r) (hys : Hyperreal.IsSt y s) :
                              Hyperreal.IsSt (x + y) (r + s)
                              theorem Hyperreal.IsSt.neg {x : ℝ*} {r : ℝ} (hxr : Hyperreal.IsSt x r) :
                              theorem Hyperreal.IsSt.sub {x : ℝ*} {y : ℝ*} {r : ℝ} {s : ℝ} (hxr : Hyperreal.IsSt x r) (hys : Hyperreal.IsSt y s) :
                              Hyperreal.IsSt (x - y) (r - s)
                              theorem Hyperreal.IsSt.le {x : ℝ*} {y : ℝ*} {r : ℝ} {s : ℝ} (hrx : Hyperreal.IsSt x r) (hsy : Hyperreal.IsSt y s) (hxy : x ≤ y) :
                              r ≤ s

                              Basic lemmas about infinite #

                              theorem Hyperreal.not_infinite_iff_exist_lt_gt {x : ℝ*} :
                              ¬Hyperreal.Infinite x ↔ ∃ (r : ℝ) (s : ℝ), ↑r < x ∧ x < ↑s
                              theorem Hyperreal.Infinite.ne_real {x : ℝ*} :
                              Hyperreal.Infinite x → ∀ (r : ℝ), x ≠ ↑r

                              Facts about st that require some infinite machinery #

                              theorem Hyperreal.IsSt.mul {x : ℝ*} {y : ℝ*} {r : ℝ} {s : ℝ} (hxr : Hyperreal.IsSt x r) (hys : Hyperreal.IsSt y s) :
                              Hyperreal.IsSt (x * y) (r * s)

                              Basic lemmas about infinitesimal #

                              theorem Hyperreal.infinitesimal_def {x : ℝ*} :
                              Hyperreal.Infinitesimal x ↔ ∀ (r : ℝ), 0 < r → -↑r < x ∧ x < ↑r
                              theorem Hyperreal.lt_of_pos_of_infinitesimal {x : ℝ*} :
                              Hyperreal.Infinitesimal x → ∀ (r : ℝ), 0 < r → x < ↑r
                              theorem Hyperreal.gt_of_neg_of_infinitesimal {x : ℝ*} (hi : Hyperreal.Infinitesimal x) (r : ℝ) (hr : r < 0) :
                              ↑r < x

                              Hyperreal.st stuff that requires infinitesimal machinery #

                              Infinite stuff that requires infinitesimal machinery #