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.Basic.Real.Pointwise

16 declarations. Mathlib docs · Source

Pointwise operations on sets of reals

This file relates sInf (a • s)/sSup (a • s) with a • sInf s/a • sSup s for s : Set ℝ.

From these, it relates ⨅ i, a • f i / ⨆ i, a • f i with a • (⨅ i, f i) / a • (⨆ i, f i), and provides lemmas about distributing * over ⨅ and ⨆.

TODO

This is true more generally for conditionally complete linear order whose default value is 0. We don't have those yet.

Special cases for real multiplication

theorem Real.sInf_smul_of_nonneg E1 #

∀ {α : Type u_2} [inst : Field α] [inst_1 : LinearOrder α] [IsStrictOrderedRing α] [inst_3 : MulActionWithZero α ℝ]
  [IsOrderedModule α ℝ] {a : α}, 0 ≤ a → ∀ (s : Set ℝ), sInf (a • s) = a • sInf s

theorem Real.smul_iInf_of_nonneg E1 #

∀ {ι : Sort u_1} {α : Type u_2} [inst : Field α] [inst_1 : LinearOrder α] [IsStrictOrderedRing α]
  [inst_3 : MulActionWithZero α ℝ] [IsOrderedModule α ℝ] {a : α}, 0 ≤ a → ∀ (f : ι → ℝ), a • ⨅ i, f i = ⨅ i, a • f i

theorem Real.sSup_smul_of_nonneg E1 #

∀ {α : Type u_2} [inst : Field α] [inst_1 : LinearOrder α] [IsStrictOrderedRing α] [inst_3 : MulActionWithZero α ℝ]
  [IsOrderedModule α ℝ] {a : α}, 0 ≤ a → ∀ (s : Set ℝ), sSup (a • s) = a • sSup s

theorem Real.smul_iSup_of_nonneg E1 #

∀ {ι : Sort u_1} {α : Type u_2} [inst : Field α] [inst_1 : LinearOrder α] [IsStrictOrderedRing α]
  [inst_3 : MulActionWithZero α ℝ] [IsOrderedModule α ℝ] {a : α}, 0 ≤ a → ∀ (f : ι → ℝ), a • ⨆ i, f i = ⨆ i, a • f i

theorem Real.sInf_smul_of_nonpos E1 #

∀ {α : Type u_2} [inst : Field α] [inst_1 : LinearOrder α] [IsStrictOrderedRing α] [inst_3 : Module α ℝ]
  [IsOrderedModule α ℝ] {a : α}, a ≤ 0 → ∀ (s : Set ℝ), sInf (a • s) = a • sSup s

theorem Real.smul_iSup_of_nonpos E1 #

∀ {ι : Sort u_1} {α : Type u_2} [inst : Field α] [inst_1 : LinearOrder α] [IsStrictOrderedRing α] [inst_3 : Module α ℝ]
  [IsOrderedModule α ℝ] {a : α}, a ≤ 0 → ∀ (f : ι → ℝ), a • ⨆ i, f i = ⨅ i, a • f i

theorem Real.sSup_smul_of_nonpos E1 #

∀ {α : Type u_2} [inst : Field α] [inst_1 : LinearOrder α] [IsStrictOrderedRing α] [inst_3 : Module α ℝ]
  [IsOrderedModule α ℝ] {a : α}, a ≤ 0 → ∀ (s : Set ℝ), sSup (a • s) = a • sInf s

theorem Real.smul_iInf_of_nonpos E1 #

∀ {ι : Sort u_1} {α : Type u_2} [inst : Field α] [inst_1 : LinearOrder α] [IsStrictOrderedRing α] [inst_3 : Module α ℝ]
  [IsOrderedModule α ℝ] {a : α}, a ≤ 0 → ∀ (f : ι → ℝ), a • ⨅ i, f i = ⨆ i, a • f i

theorem Real.mul_iInf_of_nonneg E1 #

∀ {ι : Sort u_1} {r : ℝ}, 0 ≤ r → ∀ (f : ι → ℝ), r * ⨅ i, f i = ⨅ i, r * f i

theorem Real.mul_iSup_of_nonneg E1 #

∀ {ι : Sort u_1} {r : ℝ}, 0 ≤ r → ∀ (f : ι → ℝ), r * ⨆ i, f i = ⨆ i, r * f i

theorem Real.mul_iInf_of_nonpos E1 #

∀ {ι : Sort u_1} {r : ℝ}, r ≤ 0 → ∀ (f : ι → ℝ), r * ⨅ i, f i = ⨆ i, r * f i

theorem Real.mul_iSup_of_nonpos E1 #

∀ {ι : Sort u_1} {r : ℝ}, r ≤ 0 → ∀ (f : ι → ℝ), r * ⨆ i, f i = ⨅ i, r * f i

theorem Real.iInf_mul_of_nonneg E1 #

∀ {ι : Sort u_1} {r : ℝ}, 0 ≤ r → ∀ (f : ι → ℝ), (⨅ i, f i) * r = ⨅ i, f i * r

theorem Real.iSup_mul_of_nonneg E1 #

∀ {ι : Sort u_1} {r : ℝ}, 0 ≤ r → ∀ (f : ι → ℝ), (⨆ i, f i) * r = ⨆ i, f i * r

theorem Real.iInf_mul_of_nonpos E1 #

∀ {ι : Sort u_1} {r : ℝ}, r ≤ 0 → ∀ (f : ι → ℝ), (⨅ i, f i) * r = ⨆ i, f i * r

theorem Real.iSup_mul_of_nonpos E1 #

∀ {ι : Sort u_1} {r : ℝ}, r ≤ 0 → ∀ (f : ι → ℝ), (⨆ i, f i) * r = ⨅ i, f i * r