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 / V18. Measure and integration

Mathlib.MeasureTheory.Function.SimpleFunc

270 declarations and 24 deprecated aliases. Mathlib docs · Source

Simple functions

A function f from a measurable space to any type is called simple, if every preimage f ⁻¹' {x} is measurable, and the range is finite. In this file, we define simple functions and establish their basic properties; and we construct a sequence of simple functions approximating an arbitrary Borel measurable function f : α → ℝ≥0∞.

The theorem Measurable.ennreal_induction shows that in order to prove something for an arbitrary measurable function into ℝ≥0∞, it is sufficient to show that the property holds for (multiples of) characteristic functions and is closed under addition and supremum of increasing sequences of functions.

theorem MeasureTheory.SimpleFunc.mk.inj E1 #

∀ {α : Type u} {inst : MeasurableSpace α} {β : Type v} {toFun : α → β}
  {measurableSet_fiber' : ∀ (x : β), MeasurableSet (toFun ⁻¹' {x})} {finite_range' : (Set.range toFun).Finite}
  {toFun_1 : α → β} {measurableSet_fiber'_1 : ∀ (x : β), MeasurableSet (toFun_1 ⁻¹' {x})}
  {finite_range'_1 : (Set.range toFun_1).Finite},
  { toFun := toFun, measurableSet_fiber' := measurableSet_fiber', finite_range' := finite_range' } =
      { toFun := toFun_1, measurableSet_fiber' := measurableSet_fiber'_1, finite_range' := finite_range'_1 } →
    toFun = toFun_1

theorem MeasureTheory.SimpleFunc.eapproxDiff.match_1.congr_eq_1 E1 #

∀ (motive : ℕ → Sort u_1) (x : ℕ) (h_1 : Unit → motive 0) (h_2 : (n : ℕ) → motive n.succ),
  x = 0 →
    (match x with
      | 0 => h_1 ()
      | n.succ => h_2 n) ≍
      h_1 ()

theorem MeasureTheory.SimpleFunc.eapproxDiff.match_1.congr_eq_2 E1 #

∀ (motive : ℕ → Sort u_1) (x : ℕ) (h_1 : Unit → motive 0) (h_2 : (n : ℕ) → motive n.succ) (n : ℕ),
  x = n.succ →
    (match x with
      | 0 => h_1 ()
      | n.succ => h_2 n) ≍
      h_2 n

theorem MeasureTheory.SimpleFunc.piecewise.congr_simp E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] (s s_1 : Set α) (e_s : s = s_1) (hs : MeasurableSet s)
  (f f_1 : MeasureTheory.SimpleFunc α β),
  f = f_1 →
    ∀ (g g_1 : MeasureTheory.SimpleFunc α β),
      g = g_1 → MeasureTheory.SimpleFunc.piecewise s hs f g = MeasureTheory.SimpleFunc.piecewise s_1 ⋯ f_1 g_1

theorem MeasureTheory.SimpleFunc.comp.congr_simp E1 #

∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} [inst : MeasurableSpace α] [inst_1 : MeasurableSpace β]
  (f f_1 : MeasureTheory.SimpleFunc β γ),
  f = f_1 → ∀ (g g_1 : α → β) (e_g : g = g_1) (hgm : Measurable g), f.comp g hgm = f_1.comp g_1 ⋯

theorem MeasureTheory.SimpleFunc.mk.injEq E0 #

∀ {α : Type u} [inst : MeasurableSpace α] {β : Type v} (toFun : α → β)
  (measurableSet_fiber' : ∀ (x : β), MeasurableSet (toFun ⁻¹' {x})) (finite_range' : (Set.range toFun).Finite)
  (toFun_1 : α → β) (measurableSet_fiber'_1 : ∀ (x : β), MeasurableSet (toFun_1 ⁻¹' {x}))
  (finite_range'_1 : (Set.range toFun_1).Finite),
  ({ toFun := toFun, measurableSet_fiber' := measurableSet_fiber', finite_range' := finite_range' } =
      { toFun := toFun_1, measurableSet_fiber' := measurableSet_fiber'_1, finite_range' := finite_range'_1 }) =
    (toFun = toFun_1)

def MeasureTheory.SimpleFunc.ctorIdx E1 #

{α : Type u} → {inst : MeasurableSpace α} → {β : Type v} → MeasureTheory.SimpleFunc α β → ℕ

structure MeasureTheory.SimpleFunc E1 #

(α : Type u) → [MeasurableSpace α] → Type v → Type (max u v)

A function f from a measurable space to any type is called simple, if every preimage f ⁻¹' {x} is measurable, and the range is finite. This structure bundles a function with these properties.

ctor MeasureTheory.SimpleFunc.mk E0 #

{α : Type u} →
  [inst : MeasurableSpace α] →
    {β : Type v} →
      (toFun : α → β) →
        (∀ (x : β), MeasurableSet (toFun ⁻¹' {x})) → (Set.range toFun).Finite → MeasureTheory.SimpleFunc α β

abbrev MeasureTheory.SimpleFunc.toFun E1 #

{α : Type u} → [inst : MeasurableSpace α] → {β : Type v} → MeasureTheory.SimpleFunc α β → α → β

The underlying function

theorem MeasureTheory.SimpleFunc.measurableSet_fiber' E1 #

∀ {α : Type u} [inst : MeasurableSpace α] {β : Type v} (self : MeasureTheory.SimpleFunc α β) (x : β),
  MeasurableSet (self.toFun ⁻¹' {x})

theorem MeasureTheory.SimpleFunc.finite_range' E1 #

∀ {α : Type u} [inst : MeasurableSpace α] {β : Type v} (self : MeasureTheory.SimpleFunc α β),
  (Set.range self.toFun).Finite

instance MeasureTheory.SimpleFunc.instFunLike E0 #

{α : Type u_1} → {β : Type u_2} → [inst : MeasurableSpace α] → FunLike (MeasureTheory.SimpleFunc α β) α β

theorem MeasureTheory.SimpleFunc.coe_injective E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] ⦃f g : MeasureTheory.SimpleFunc α β⦄, ⇑f = ⇑g → f = g

theorem MeasureTheory.SimpleFunc.ext_iff E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] {f g : MeasureTheory.SimpleFunc α β},
  f = g ↔ ∀ (a : α), f a = g a

theorem MeasureTheory.SimpleFunc.ext E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] {f g : MeasureTheory.SimpleFunc α β},
  (∀ (a : α), f a = g a) → f = g

theorem MeasureTheory.SimpleFunc.finite_range E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] (f : MeasureTheory.SimpleFunc α β), (Set.range ⇑f).Finite

theorem MeasureTheory.SimpleFunc.measurableSet_fiber E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] (f : MeasureTheory.SimpleFunc α β) (x : β),
  MeasurableSet (⇑f ⁻¹' {x})

theorem MeasureTheory.SimpleFunc.coe_mk E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] (f : α → β) (h : ∀ (x : β), MeasurableSet (f ⁻¹' {x}))
  (h' : (Set.range f).Finite), ⇑{ toFun := f, measurableSet_fiber' := h, finite_range' := h' } = f

theorem MeasureTheory.SimpleFunc.apply_mk E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] (f : α → β) (h : ∀ (x : β), MeasurableSet (f ⁻¹' {x}))
  (h' : (Set.range f).Finite) (x : α), { toFun := f, measurableSet_fiber' := h, finite_range' := h' } x = f x

def MeasureTheory.SimpleFunc.ofFinite E1 #

{α : Type u_1} →
  {β : Type u_2} →
    [inst : MeasurableSpace α] → [Finite α] → [MeasurableSingletonClass α] → (α → β) → MeasureTheory.SimpleFunc α β

Simple function defined on a finite type.

def MeasureTheory.SimpleFunc.ofMonotone E1 #

{α : Type u_1} →
  {β : Type u_2} →
    [inst : MeasurableSpace α] →
      [inst_1 : LinearOrder α] →
        [inst_2 : TopologicalSpace α] →
          [OrderClosedTopology α] →
            [OpensMeasurableSpace α] →
              [inst_5 : PartialOrder β] → (f : α → β) → Monotone f → (Set.range f).Finite → MeasureTheory.SimpleFunc α β

A monotone function with finite range, viewed as a simple function.

theorem MeasureTheory.SimpleFunc.coe_ofMonotone E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] [inst_1 : LinearOrder α] [inst_2 : TopologicalSpace α]
  [inst_3 : OrderClosedTopology α] [inst_4 : OpensMeasurableSpace α] [inst_5 : PartialOrder β] (f : α → β)
  (hf : Monotone f) (hfin : (Set.range f).Finite), ⇑(MeasureTheory.SimpleFunc.ofMonotone f hf hfin) = f

def MeasureTheory.SimpleFunc.ofAntitone E1 #

{α : Type u_1} →
  {β : Type u_2} →
    [inst : MeasurableSpace α] →
      [inst_1 : LinearOrder α] →
        [inst_2 : TopologicalSpace α] →
          [OrderClosedTopology α] →
            [OpensMeasurableSpace α] →
              [inst_5 : PartialOrder β] → (f : α → β) → Antitone f → (Set.range f).Finite → MeasureTheory.SimpleFunc α β

An antitone function with finite range, viewed as a simple function.

theorem MeasureTheory.SimpleFunc.coe_ofAntitone E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] [inst_1 : LinearOrder α] [inst_2 : TopologicalSpace α]
  [inst_3 : OrderClosedTopology α] [inst_4 : OpensMeasurableSpace α] [inst_5 : PartialOrder β] (f : α → β)
  (hf : Antitone f) (hfin : (Set.range f).Finite), ⇑(MeasureTheory.SimpleFunc.ofAntitone f hf hfin) = f

def MeasureTheory.SimpleFunc.ofIsEmpty E1 #

{α : Type u_1} → {β : Type u_2} → [inst : MeasurableSpace α] → [IsEmpty α] → MeasureTheory.SimpleFunc α β

Simple function defined on the empty type.

def MeasureTheory.SimpleFunc.range E1 #

{α : Type u_1} → {β : Type u_2} → [inst : MeasurableSpace α] → MeasureTheory.SimpleFunc α β → Finset β

Range of a simple function α →ₛ β as a Finset β.

theorem MeasureTheory.SimpleFunc.mem_range E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] {f : MeasureTheory.SimpleFunc α β} {b : β},
  b ∈ f.range ↔ b ∈ Set.range ⇑f

theorem MeasureTheory.SimpleFunc.mem_range_self E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] (f : MeasureTheory.SimpleFunc α β) (x : α), f x ∈ f.range

theorem MeasureTheory.SimpleFunc.coe_range E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] (f : MeasureTheory.SimpleFunc α β), ↑f.range = Set.range ⇑f

theorem MeasureTheory.SimpleFunc.mem_range_of_measure_ne_zero E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] {f : MeasureTheory.SimpleFunc α β} {x : β}
  {μ : MeasureTheory.Measure α}, μ (⇑f ⁻¹' {x}) ≠ 0 → x ∈ f.range

theorem MeasureTheory.SimpleFunc.forall_mem_range E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] {f : MeasureTheory.SimpleFunc α β} {p : β → Prop},
  (∀ y ∈ f.range, p y) ↔ ∀ (x : α), p (f x)

theorem MeasureTheory.SimpleFunc.exists_range_iff E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] {f : MeasureTheory.SimpleFunc α β} {p : β → Prop},
  (∃ y ∈ f.range, p y) ↔ ∃ x, p (f x)

theorem MeasureTheory.SimpleFunc.preimage_eq_empty_iff E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] (f : MeasureTheory.SimpleFunc α β) (b : β),
  ⇑f ⁻¹' {b} = ∅ ↔ b ∉ f.range

theorem MeasureTheory.SimpleFunc.exists_forall_le E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] [Nonempty β] [inst_2 : Preorder β] [IsDirectedOrder β]
  (f : MeasureTheory.SimpleFunc α β), ∃ C, ∀ (x : α), f x ≤ C

def MeasureTheory.SimpleFunc.const E1 #

(α : Type u_5) → {β : Type u_6} → [inst : MeasurableSpace α] → β → MeasureTheory.SimpleFunc α β

Constant function as a SimpleFunc.

instance MeasureTheory.SimpleFunc.instInhabited E0 #

{α : Type u_1} → {β : Type u_2} → [inst : MeasurableSpace α] → [Inhabited β] → Inhabited (MeasureTheory.SimpleFunc α β)

theorem MeasureTheory.SimpleFunc.const_apply E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] (a : α) (b : β), (MeasureTheory.SimpleFunc.const α b) a = b

theorem MeasureTheory.SimpleFunc.coe_const E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] (b : β),
  ⇑(MeasureTheory.SimpleFunc.const α b) = Function.const α b

theorem MeasureTheory.SimpleFunc.range_const E0 #

∀ {β : Type u_2} (α : Type u_5) [inst : MeasurableSpace α] [Nonempty α] (b : β),
  (MeasureTheory.SimpleFunc.const α b).range = {b}

theorem MeasureTheory.SimpleFunc.range_const_subset E1 #

∀ {β : Type u_2} (α : Type u_5) [inst : MeasurableSpace α] (b : β), (MeasureTheory.SimpleFunc.const α b).range ⊆ {b}

theorem MeasureTheory.SimpleFunc.simpleFunc_bot E1 #

∀ {β : Type u_2} {α : Type u_5} (f : MeasureTheory.SimpleFunc α β) [Nonempty β], ∃ c, ∀ (x : α), f x = c

theorem MeasureTheory.SimpleFunc.simpleFunc_bot' E1 #

∀ {β : Type u_2} {α : Type u_5} [Nonempty β] (f : MeasureTheory.SimpleFunc α β),
  ∃ c, f = MeasureTheory.SimpleFunc.const α c

theorem MeasureTheory.SimpleFunc.measurableSet_cut E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] (r : α → β → Prop) (f : MeasureTheory.SimpleFunc α β),
  (∀ (b : β), MeasurableSet {a | r a b}) → MeasurableSet {a | r a (f a)}

theorem MeasureTheory.SimpleFunc.measurableSet_preimage E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] (f : MeasureTheory.SimpleFunc α β) (s : Set β),
  MeasurableSet (⇑f ⁻¹' s)

theorem MeasureTheory.SimpleFunc.measurable E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] [inst_1 : MeasurableSpace β]
  (f : MeasureTheory.SimpleFunc α β), Measurable ⇑f

A simple function is measurable

theorem MeasureTheory.SimpleFunc.aemeasurable E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] [inst_1 : MeasurableSpace β] {μ : MeasureTheory.Measure α}
  (f : MeasureTheory.SimpleFunc α β), AEMeasurable (⇑f) μ

theorem MeasureTheory.SimpleFunc.sum_measure_preimage_singleton E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] (f : MeasureTheory.SimpleFunc α β)
  {μ : MeasureTheory.Measure α} (s : Finset β), ∑ y ∈ s, μ (⇑f ⁻¹' {y}) = μ (⇑f ⁻¹' ↑s)

theorem MeasureTheory.SimpleFunc.sum_range_measure_preimage_singleton E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] (f : MeasureTheory.SimpleFunc α β)
  (μ : MeasureTheory.Measure α), ∑ y ∈ f.range, μ (⇑f ⁻¹' {y}) = μ Set.univ

def MeasureTheory.SimpleFunc.piecewise E1 #

{α : Type u_1} →
  {β : Type u_2} →
    [inst : MeasurableSpace α] →
      (s : Set α) →
        MeasurableSet s → MeasureTheory.SimpleFunc α β → MeasureTheory.SimpleFunc α β → MeasureTheory.SimpleFunc α β

If-then-else as a SimpleFunc.

theorem MeasureTheory.SimpleFunc.coe_piecewise E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] {s : Set α} (hs : MeasurableSet s)
  (f g : MeasureTheory.SimpleFunc α β), ⇑(MeasureTheory.SimpleFunc.piecewise s hs f g) = s.piecewise ⇑f ⇑g

theorem MeasureTheory.SimpleFunc.piecewise_apply E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] {s : Set α} (hs : MeasurableSet s)
  (f g : MeasureTheory.SimpleFunc α β) (a : α),
  (MeasureTheory.SimpleFunc.piecewise s hs f g) a = if a ∈ s then f a else g a

theorem MeasureTheory.SimpleFunc.piecewise_compl E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] {s : Set α} (hs : MeasurableSet sᶜ)
  (f g : MeasureTheory.SimpleFunc α β),
  MeasureTheory.SimpleFunc.piecewise sᶜ hs f g = MeasureTheory.SimpleFunc.piecewise s ⋯ g f

theorem MeasureTheory.SimpleFunc.piecewise_univ E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] (f g : MeasureTheory.SimpleFunc α β),
  MeasureTheory.SimpleFunc.piecewise Set.univ ⋯ f g = f

theorem MeasureTheory.SimpleFunc.piecewise_empty E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] (f g : MeasureTheory.SimpleFunc α β),
  MeasureTheory.SimpleFunc.piecewise ∅ ⋯ f g = g

theorem MeasureTheory.SimpleFunc.piecewise_same E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] (f : MeasureTheory.SimpleFunc α β) {s : Set α}
  (hs : MeasurableSet s), MeasureTheory.SimpleFunc.piecewise s hs f f = f

def MeasureTheory.SimpleFunc.dite E1 #

{α : Type u_1} →
  {β : Type u_2} →
    [inst : MeasurableSpace α] →
      (s : Set α) →
        MeasurableSet s →
          MeasureTheory.SimpleFunc (↑s) β → MeasureTheory.SimpleFunc (↑sᶜ) β → MeasureTheory.SimpleFunc α β

Dependent If-then-else as a SimpleFunc.

theorem MeasureTheory.SimpleFunc.dite_toFun E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] (s : Set α) (hs : MeasurableSet s)
  (f : MeasureTheory.SimpleFunc (↑s) β) (g : MeasureTheory.SimpleFunc (↑sᶜ) β) (x : α),
  (MeasureTheory.SimpleFunc.dite s hs f g) x = if hx : x ∈ s then f ⟨x, hx⟩ else g ⟨x, hx⟩

theorem MeasureTheory.SimpleFunc.support_indicator E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] [inst_1 : Zero β] {s : Set α} (hs : MeasurableSet s)
  (f : MeasureTheory.SimpleFunc α β),
  Function.support ⇑(MeasureTheory.SimpleFunc.piecewise s hs f (MeasureTheory.SimpleFunc.const α 0)) =
    s ∩ Function.support ⇑f

theorem MeasureTheory.SimpleFunc.range_indicator E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] {s : Set α} (hs : MeasurableSet s),
  s.Nonempty →
    s ≠ Set.univ →
      ∀ (x y : β),
        (MeasureTheory.SimpleFunc.piecewise s hs (MeasureTheory.SimpleFunc.const α x)
              (MeasureTheory.SimpleFunc.const α y)).range =
          {x, y}

theorem MeasureTheory.SimpleFunc.measurable_bind E1 #

∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} [inst : MeasurableSpace α] [inst_1 : MeasurableSpace γ]
  (f : MeasureTheory.SimpleFunc α β) (g : β → α → γ), (∀ (b : β), Measurable (g b)) → Measurable fun a ↦ g (f a) a

def MeasureTheory.SimpleFunc.bind E1 #

{α : Type u_1} →
  {β : Type u_2} →
    {γ : Type u_3} →
      [inst : MeasurableSpace α] →
        MeasureTheory.SimpleFunc α β → (β → MeasureTheory.SimpleFunc α γ) → MeasureTheory.SimpleFunc α γ

If f : α →ₛ β is a simple function and g : β → α →ₛ γ is a family of simple functions, then f.bind g binds the first argument of g to f. In other words, f.bind g a = g (f a) a.

theorem MeasureTheory.SimpleFunc.bind_apply E0 #

∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} [inst : MeasurableSpace α] (f : MeasureTheory.SimpleFunc α β)
  (g : β → MeasureTheory.SimpleFunc α γ) (a : α), (f.bind g) a = (g (f a)) a

def MeasureTheory.SimpleFunc.map E1 #

{α : Type u_1} →
  {β : Type u_2} →
    {γ : Type u_3} → [inst : MeasurableSpace α] → (β → γ) → MeasureTheory.SimpleFunc α β → MeasureTheory.SimpleFunc α γ

Given a function g : β → γ and a simple function f : α →ₛ β, f.map g return the simple function g ∘ f : α →ₛ γ

theorem MeasureTheory.SimpleFunc.map_apply E0 #

∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} [inst : MeasurableSpace α] (g : β → γ) (f : MeasureTheory.SimpleFunc α β)
  (a : α), (MeasureTheory.SimpleFunc.map g f) a = g (f a)

theorem MeasureTheory.SimpleFunc.map_map E0 #

∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {δ : Type u_4} [inst : MeasurableSpace α] (g : β → γ) (h : γ → δ)
  (f : MeasureTheory.SimpleFunc α β),
  MeasureTheory.SimpleFunc.map h (MeasureTheory.SimpleFunc.map g f) = MeasureTheory.SimpleFunc.map (h ∘ g) f

theorem MeasureTheory.SimpleFunc.coe_map E0 #

∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} [inst : MeasurableSpace α] (g : β → γ)
  (f : MeasureTheory.SimpleFunc α β), ⇑(MeasureTheory.SimpleFunc.map g f) = g ∘ ⇑f

theorem MeasureTheory.SimpleFunc.range_map E0 #

∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} [inst : MeasurableSpace α] [inst_1 : DecidableEq γ] (g : β → γ)
  (f : MeasureTheory.SimpleFunc α β), (MeasureTheory.SimpleFunc.map g f).range = Finset.image g f.range

theorem MeasureTheory.SimpleFunc.map_const E0 #

∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} [inst : MeasurableSpace α] (g : β → γ) (b : β),
  MeasureTheory.SimpleFunc.map g (MeasureTheory.SimpleFunc.const α b) = MeasureTheory.SimpleFunc.const α (g b)

theorem MeasureTheory.SimpleFunc.map_preimage E0 #

∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} [inst : MeasurableSpace α] (f : MeasureTheory.SimpleFunc α β) (g : β → γ)
  (s : Set γ), ⇑(MeasureTheory.SimpleFunc.map g f) ⁻¹' s = ⇑f ⁻¹' ↑({b ∈ f.range | g b ∈ s})

theorem MeasureTheory.SimpleFunc.map_preimage_singleton E0 #

∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} [inst : MeasurableSpace α] (f : MeasureTheory.SimpleFunc α β) (g : β → γ)
  (c : γ), ⇑(MeasureTheory.SimpleFunc.map g f) ⁻¹' {c} = ⇑f ⁻¹' ↑({b ∈ f.range | g b = c})

def MeasureTheory.SimpleFunc.comp E1 #

{α : Type u_1} →
  {β : Type u_2} →
    {γ : Type u_3} →
      [inst : MeasurableSpace α] →
        [inst_1 : MeasurableSpace β] →
          MeasureTheory.SimpleFunc β γ → (g : α → β) → Measurable g → MeasureTheory.SimpleFunc α γ

Composition of a SimpleFun and a measurable function is a SimpleFunc.

theorem MeasureTheory.SimpleFunc.coe_comp E0 #

∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} [inst : MeasurableSpace α] [inst_1 : MeasurableSpace β]
  (f : MeasureTheory.SimpleFunc β γ) {g : α → β} (hgm : Measurable g), ⇑(f.comp g hgm) = ⇑f ∘ g

theorem MeasureTheory.SimpleFunc.range_comp_subset_range E1 #

∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} [inst : MeasurableSpace α] [inst_1 : MeasurableSpace β]
  (f : MeasureTheory.SimpleFunc β γ) {g : α → β} (hgm : Measurable g), (f.comp g hgm).range ⊆ f.range

def MeasureTheory.SimpleFunc.extend E1 #

{α : Type u_1} →
  {β : Type u_2} →
    {γ : Type u_3} →
      [inst : MeasurableSpace α] →
        [inst_1 : MeasurableSpace β] →
          MeasureTheory.SimpleFunc α γ →
            (g : α → β) → MeasurableEmbedding g → MeasureTheory.SimpleFunc β γ → MeasureTheory.SimpleFunc β γ

Extend a SimpleFunc along a measurable embedding: f₁.extend g hg f₂ is the function F : β →ₛ γ such that F ∘ g = f₁ and F y = f₂ y whenever y ∉ range g.

theorem MeasureTheory.SimpleFunc.extend_apply E0 #

∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} [inst : MeasurableSpace α] [inst_1 : MeasurableSpace β]
  (f₁ : MeasureTheory.SimpleFunc α γ) {g : α → β} (hg : MeasurableEmbedding g) (f₂ : MeasureTheory.SimpleFunc β γ)
  (x : α), (f₁.extend g hg f₂) (g x) = f₁ x

theorem MeasureTheory.SimpleFunc.extend_apply' E0 #

∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} [inst : MeasurableSpace α] [inst_1 : MeasurableSpace β]
  (f₁ : MeasureTheory.SimpleFunc α γ) {g : α → β} (hg : MeasurableEmbedding g) (f₂ : MeasureTheory.SimpleFunc β γ)
  {y : β}, (¬∃ x, g x = y) → (f₁.extend g hg f₂) y = f₂ y

theorem MeasureTheory.SimpleFunc.extend_comp_eq' E0 #

∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} [inst : MeasurableSpace α] [inst_1 : MeasurableSpace β]
  (f₁ : MeasureTheory.SimpleFunc α γ) {g : α → β} (hg : MeasurableEmbedding g) (f₂ : MeasureTheory.SimpleFunc β γ),
  ⇑(f₁.extend g hg f₂) ∘ g = ⇑f₁

theorem MeasureTheory.SimpleFunc.extend_comp_eq E0 #

∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} [inst : MeasurableSpace α] [inst_1 : MeasurableSpace β]
  (f₁ : MeasureTheory.SimpleFunc α γ) {g : α → β} (hg : MeasurableEmbedding g) (f₂ : MeasureTheory.SimpleFunc β γ),
  (f₁.extend g hg f₂).comp g ⋯ = f₁

def MeasureTheory.SimpleFunc.seq E1 #

{α : Type u_1} →
  {β : Type u_2} →
    {γ : Type u_3} →
      [inst : MeasurableSpace α] →
        MeasureTheory.SimpleFunc α (β → γ) → MeasureTheory.SimpleFunc α β → MeasureTheory.SimpleFunc α γ

If f is a simple function taking values in β → γ and g is another simple function with the same domain and codomain β, then f.seq g = f a (g a).

theorem MeasureTheory.SimpleFunc.seq_apply E0 #

∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} [inst : MeasurableSpace α] (f : MeasureTheory.SimpleFunc α (β → γ))
  (g : MeasureTheory.SimpleFunc α β) (a : α), (f.seq g) a = f a (g a)

def MeasureTheory.SimpleFunc.pair E1 #

{α : Type u_1} →
  {β : Type u_2} →
    {γ : Type u_3} →
      [inst : MeasurableSpace α] →
        MeasureTheory.SimpleFunc α β → MeasureTheory.SimpleFunc α γ → MeasureTheory.SimpleFunc α (β × γ)

Combine two simple functions f : α →ₛ β and g : α →ₛ β into fun a => (f a, g a).

theorem MeasureTheory.SimpleFunc.pair_apply E0 #

∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} [inst : MeasurableSpace α] (f : MeasureTheory.SimpleFunc α β)
  (g : MeasureTheory.SimpleFunc α γ) (a : α), (f.pair g) a = (f a, g a)

theorem MeasureTheory.SimpleFunc.pair_preimage E1 #

∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} [inst : MeasurableSpace α] (f : MeasureTheory.SimpleFunc α β)
  (g : MeasureTheory.SimpleFunc α γ) (s : Set β) (t : Set γ), ⇑(f.pair g) ⁻¹' s ×ˢ t = ⇑f ⁻¹' s ∩ ⇑g ⁻¹' t

theorem MeasureTheory.SimpleFunc.pair_preimage_singleton E1 #

∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} [inst : MeasurableSpace α] (f : MeasureTheory.SimpleFunc α β)
  (g : MeasureTheory.SimpleFunc α γ) (b : β) (c : γ), ⇑(f.pair g) ⁻¹' {(b, c)} = ⇑f ⁻¹' {b} ∩ ⇑g ⁻¹' {c}

theorem MeasureTheory.SimpleFunc.map_fst_pair E0 #

∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} [inst : MeasurableSpace α] (f : MeasureTheory.SimpleFunc α β)
  (g : MeasureTheory.SimpleFunc α γ), MeasureTheory.SimpleFunc.map Prod.fst (f.pair g) = f

theorem MeasureTheory.SimpleFunc.map_snd_pair E0 #

∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} [inst : MeasurableSpace α] (f : MeasureTheory.SimpleFunc α β)
  (g : MeasureTheory.SimpleFunc α γ), MeasureTheory.SimpleFunc.map Prod.snd (f.pair g) = g

theorem MeasureTheory.SimpleFunc.bind_const E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] (f : MeasureTheory.SimpleFunc α β),
  f.bind (MeasureTheory.SimpleFunc.const α) = f

instance MeasureTheory.SimpleFunc.instOne E0 #

{α : Type u_1} → {β : Type u_2} → [inst : MeasurableSpace α] → [One β] → One (MeasureTheory.SimpleFunc α β)

instance MeasureTheory.SimpleFunc.instZero E0 #

{α : Type u_1} → {β : Type u_2} → [inst : MeasurableSpace α] → [Zero β] → Zero (MeasureTheory.SimpleFunc α β)

instance MeasureTheory.SimpleFunc.instIsZeroApply E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] [inst_1 : Zero β], IsZeroApply (MeasureTheory.SimpleFunc α β)

instance MeasureTheory.SimpleFunc.instIsOneApply E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] [inst_1 : One β], IsOneApply (MeasureTheory.SimpleFunc α β)

instance MeasureTheory.SimpleFunc.instAdd E0 #

{α : Type u_1} → {β : Type u_2} → [inst : MeasurableSpace α] → [Add β] → Add (MeasureTheory.SimpleFunc α β)

instance MeasureTheory.SimpleFunc.instMul E0 #

{α : Type u_1} → {β : Type u_2} → [inst : MeasurableSpace α] → [Mul β] → Mul (MeasureTheory.SimpleFunc α β)

instance MeasureTheory.SimpleFunc.instIsMulApply E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] [inst_1 : Mul β], IsMulApply (MeasureTheory.SimpleFunc α β)

instance MeasureTheory.SimpleFunc.instIsAddApply E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] [inst_1 : Add β], IsAddApply (MeasureTheory.SimpleFunc α β)

instance MeasureTheory.SimpleFunc.instDiv E0 #

{α : Type u_1} → {β : Type u_2} → [inst : MeasurableSpace α] → [Div β] → Div (MeasureTheory.SimpleFunc α β)

instance MeasureTheory.SimpleFunc.instSub E0 #

{α : Type u_1} → {β : Type u_2} → [inst : MeasurableSpace α] → [Sub β] → Sub (MeasureTheory.SimpleFunc α β)

instance MeasureTheory.SimpleFunc.instIsSubApply E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] [inst_1 : Sub β], IsSubApply (MeasureTheory.SimpleFunc α β)

instance MeasureTheory.SimpleFunc.instIsDivApply E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] [inst_1 : Div β], IsDivApply (MeasureTheory.SimpleFunc α β)

instance MeasureTheory.SimpleFunc.instNeg E0 #

{α : Type u_1} → {β : Type u_2} → [inst : MeasurableSpace α] → [Neg β] → Neg (MeasureTheory.SimpleFunc α β)

instance MeasureTheory.SimpleFunc.instInv E0 #

{α : Type u_1} → {β : Type u_2} → [inst : MeasurableSpace α] → [Inv β] → Inv (MeasureTheory.SimpleFunc α β)

instance MeasureTheory.SimpleFunc.instIsInvApply E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] [inst_1 : Inv β], IsInvApply (MeasureTheory.SimpleFunc α β)

instance MeasureTheory.SimpleFunc.instIsNegApply E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] [inst_1 : Neg β], IsNegApply (MeasureTheory.SimpleFunc α β)

instance MeasureTheory.SimpleFunc.instSup E0 #

{α : Type u_1} → {β : Type u_2} → [inst : MeasurableSpace α] → [Max β] → Max (MeasureTheory.SimpleFunc α β)

instance MeasureTheory.SimpleFunc.instInf E0 #

{α : Type u_1} → {β : Type u_2} → [inst : MeasurableSpace α] → [Min β] → Min (MeasureTheory.SimpleFunc α β)

instance MeasureTheory.SimpleFunc.instLE E0 #

{α : Type u_1} → {β : Type u_2} → [inst : MeasurableSpace α] → [LE β] → LE (MeasureTheory.SimpleFunc α β)

theorem MeasureTheory.SimpleFunc.const_one E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] [inst_1 : One β], MeasureTheory.SimpleFunc.const α 1 = 1

theorem MeasureTheory.SimpleFunc.const_zero E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] [inst_1 : Zero β], MeasureTheory.SimpleFunc.const α 0 = 0

theorem MeasureTheory.SimpleFunc.coe_sup E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] [inst_1 : Max β] (f g : MeasureTheory.SimpleFunc α β),
  ⇑(f ⊔ g) = ⇑f ⊔ ⇑g

theorem MeasureTheory.SimpleFunc.coe_inf E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] [inst_1 : Min β] (f g : MeasureTheory.SimpleFunc α β),
  ⇑(f ⊓ g) = ⇑f ⊓ ⇑g

theorem MeasureTheory.SimpleFunc.sup_apply E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] [inst_1 : Max β] (f g : MeasureTheory.SimpleFunc α β)
  (a : α), (f ⊔ g) a = f a ⊔ g a

theorem MeasureTheory.SimpleFunc.inf_apply E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] [inst_1 : Min β] (f g : MeasureTheory.SimpleFunc α β)
  (a : α), (f ⊓ g) a = f a ⊓ g a

theorem MeasureTheory.SimpleFunc.range_zero E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] [Nonempty α] [inst_2 : Zero β],
  MeasureTheory.SimpleFunc.range 0 = {0}

theorem MeasureTheory.SimpleFunc.range_one E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] [Nonempty α] [inst_2 : One β],
  MeasureTheory.SimpleFunc.range 1 = {1}

theorem MeasureTheory.SimpleFunc.range_eq_empty_of_isEmpty E0 #

∀ {α : Type u_1} [inst : MeasurableSpace α] {β : Type u_5} [hα : IsEmpty α] (f : MeasureTheory.SimpleFunc α β),
  f.range = ∅

theorem MeasureTheory.SimpleFunc.mul_eq_map₂ E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] [inst_1 : Mul β] (f g : MeasureTheory.SimpleFunc α β),
  f * g = MeasureTheory.SimpleFunc.map (fun p ↦ p.1 * p.2) (f.pair g)

theorem MeasureTheory.SimpleFunc.add_eq_map₂ E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] [inst_1 : Add β] (f g : MeasureTheory.SimpleFunc α β),
  f + g = MeasureTheory.SimpleFunc.map (fun p ↦ p.1 + p.2) (f.pair g)

theorem MeasureTheory.SimpleFunc.sup_eq_map₂ E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] [inst_1 : Max β] (f g : MeasureTheory.SimpleFunc α β),
  f ⊔ g = MeasureTheory.SimpleFunc.map (fun p ↦ p.1 ⊔ p.2) (f.pair g)

theorem MeasureTheory.SimpleFunc.const_add_eq_map E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] [inst_1 : Add β] (f : MeasureTheory.SimpleFunc α β) (b : β),
  MeasureTheory.SimpleFunc.const α b + f = MeasureTheory.SimpleFunc.map (fun a ↦ b + a) f

theorem MeasureTheory.SimpleFunc.const_mul_eq_map E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] [inst_1 : Mul β] (f : MeasureTheory.SimpleFunc α β) (b : β),
  MeasureTheory.SimpleFunc.const α b * f = MeasureTheory.SimpleFunc.map (fun a ↦ b * a) f

theorem MeasureTheory.SimpleFunc.map_mul E0 #

∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} [inst : MeasurableSpace α] [inst_1 : Mul β] [inst_2 : Mul γ] {g : β → γ},
  (∀ (x y : β), g (x * y) = g x * g y) →
    ∀ (f₁ f₂ : MeasureTheory.SimpleFunc α β),
      MeasureTheory.SimpleFunc.map g (f₁ * f₂) = MeasureTheory.SimpleFunc.map g f₁ * MeasureTheory.SimpleFunc.map g f₂

theorem MeasureTheory.SimpleFunc.map_add E0 #

∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} [inst : MeasurableSpace α] [inst_1 : Add β] [inst_2 : Add γ] {g : β → γ},
  (∀ (x y : β), g (x + y) = g x + g y) →
    ∀ (f₁ f₂ : MeasureTheory.SimpleFunc α β),
      MeasureTheory.SimpleFunc.map g (f₁ + f₂) = MeasureTheory.SimpleFunc.map g f₁ + MeasureTheory.SimpleFunc.map g f₂

instance MeasureTheory.SimpleFunc.instSMul E0 #

{α : Type u_1} →
  {β : Type u_2} → [inst : MeasurableSpace α] → {K : Type u_5} → [SMul K β] → SMul K (MeasureTheory.SimpleFunc α β)

instance MeasureTheory.SimpleFunc.instVAdd E0 #

{α : Type u_1} →
  {β : Type u_2} → [inst : MeasurableSpace α] → {K : Type u_5} → [VAdd K β] → VAdd K (MeasureTheory.SimpleFunc α β)

instance MeasureTheory.SimpleFunc.instIsSMulApply E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] {K : Type u_5} [inst_1 : SMul K β],
  IsSMulApply K (MeasureTheory.SimpleFunc α β)

instance MeasureTheory.SimpleFunc.instIsVAddApply E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] {K : Type u_5} [inst_1 : VAdd K β],
  IsVAddApply K (MeasureTheory.SimpleFunc α β)

instance MeasureTheory.SimpleFunc.hasNatSMul E0 #

{α : Type u_1} → {β : Type u_2} → [inst : MeasurableSpace α] → [AddMonoid β] → SMul ℕ (MeasureTheory.SimpleFunc α β)

instance MeasureTheory.SimpleFunc.instIsSMulApplyNat E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] [inst_1 : AddMonoid β],
  IsSMulApply ℕ (MeasureTheory.SimpleFunc α β)

instance MeasureTheory.SimpleFunc.hasNatPow E0 #

{α : Type u_1} → {β : Type u_2} → [inst : MeasurableSpace α] → [Monoid β] → Pow (MeasureTheory.SimpleFunc α β) ℕ

instance MeasureTheory.SimpleFunc.instIsPowApplyNat E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] [inst_1 : Monoid β],
  IsPowApply ℕ (MeasureTheory.SimpleFunc α β)

instance MeasureTheory.SimpleFunc.hasIntPow E0 #

{α : Type u_1} → {β : Type u_2} → [inst : MeasurableSpace α] → [DivInvMonoid β] → Pow (MeasureTheory.SimpleFunc α β) ℤ

instance MeasureTheory.SimpleFunc.instIsPowApplyInt E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] [inst_1 : DivInvMonoid β],
  IsPowApply ℤ (MeasureTheory.SimpleFunc α β)

instance MeasureTheory.SimpleFunc.instAddMonoid E0 #

{α : Type u_1} → {β : Type u_2} → [inst : MeasurableSpace α] → [AddMonoid β] → AddMonoid (MeasureTheory.SimpleFunc α β)

instance MeasureTheory.SimpleFunc.instAddCommMonoid E0 #

{α : Type u_1} →
  {β : Type u_2} → [inst : MeasurableSpace α] → [AddCommMonoid β] → AddCommMonoid (MeasureTheory.SimpleFunc α β)

instance MeasureTheory.SimpleFunc.instAddGroup E0 #

{α : Type u_1} → {β : Type u_2} → [inst : MeasurableSpace α] → [AddGroup β] → AddGroup (MeasureTheory.SimpleFunc α β)

instance MeasureTheory.SimpleFunc.instAddCommGroup E0 #

{α : Type u_1} →
  {β : Type u_2} → [inst : MeasurableSpace α] → [AddCommGroup β] → AddCommGroup (MeasureTheory.SimpleFunc α β)

instance MeasureTheory.SimpleFunc.instMonoid E0 #

{α : Type u_1} → {β : Type u_2} → [inst : MeasurableSpace α] → [Monoid β] → Monoid (MeasureTheory.SimpleFunc α β)

instance MeasureTheory.SimpleFunc.instCommMonoid E0 #

{α : Type u_1} →
  {β : Type u_2} → [inst : MeasurableSpace α] → [CommMonoid β] → CommMonoid (MeasureTheory.SimpleFunc α β)

instance MeasureTheory.SimpleFunc.instGroup E0 #

{α : Type u_1} → {β : Type u_2} → [inst : MeasurableSpace α] → [Group β] → Group (MeasureTheory.SimpleFunc α β)

instance MeasureTheory.SimpleFunc.instCommGroup E0 #

{α : Type u_1} → {β : Type u_2} → [inst : MeasurableSpace α] → [CommGroup β] → CommGroup (MeasureTheory.SimpleFunc α β)

instance MeasureTheory.SimpleFunc.instMulAction E0 #

{α : Type u_1} →
  {β : Type u_2} →
    [inst : MeasurableSpace α] →
      {K : Type u_5} → [inst_1 : Monoid K] → [MulAction K β] → MulAction K (MeasureTheory.SimpleFunc α β)

instance MeasureTheory.SimpleFunc.instModule E0 #

{α : Type u_1} →
  {β : Type u_2} →
    [inst : MeasurableSpace α] →
      {K : Type u_5} →
        [inst_1 : Semiring K] → [inst_2 : AddCommMonoid β] → [Module K β] → Module K (MeasureTheory.SimpleFunc α β)

theorem MeasureTheory.SimpleFunc.smul_eq_map E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] {K : Type u_5} [inst_1 : SMul K β] (k : K)
  (f : MeasureTheory.SimpleFunc α β), k • f = MeasureTheory.SimpleFunc.map (fun x ↦ k • x) f

theorem MeasureTheory.SimpleFunc.smul_const E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] {K : Type u_5} [inst_1 : SMul K β] (k : K) (b : β),
  k • MeasureTheory.SimpleFunc.const α b = MeasureTheory.SimpleFunc.const α (k • b)

instance MeasureTheory.SimpleFunc.instNonUnitalNonAssocSemiring E0 #

{α : Type u_1} →
  {β : Type u_2} →
    [inst : MeasurableSpace α] →
      [NonUnitalNonAssocSemiring β] → NonUnitalNonAssocSemiring (MeasureTheory.SimpleFunc α β)

instance MeasureTheory.SimpleFunc.instNonUnitalSemiring E0 #

{α : Type u_1} →
  {β : Type u_2} → [inst : MeasurableSpace α] → [NonUnitalSemiring β] → NonUnitalSemiring (MeasureTheory.SimpleFunc α β)

instance MeasureTheory.SimpleFunc.instNatCast E0 #

{α : Type u_1} → {β : Type u_2} → [inst : MeasurableSpace α] → [NatCast β] → NatCast (MeasureTheory.SimpleFunc α β)

instance MeasureTheory.SimpleFunc.instIsNatCastApply E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] [inst_1 : NatCast β],
  IsNatCastApply (MeasureTheory.SimpleFunc α β)

instance MeasureTheory.SimpleFunc.instNonAssocSemiring E0 #

{α : Type u_1} →
  {β : Type u_2} → [inst : MeasurableSpace α] → [NonAssocSemiring β] → NonAssocSemiring (MeasureTheory.SimpleFunc α β)

instance MeasureTheory.SimpleFunc.instIntCast E0 #

{α : Type u_1} → {β : Type u_2} → [inst : MeasurableSpace α] → [IntCast β] → IntCast (MeasureTheory.SimpleFunc α β)

instance MeasureTheory.SimpleFunc.instIsIntCastApply E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] [inst_1 : IntCast β],
  IsIntCastApply (MeasureTheory.SimpleFunc α β)

instance MeasureTheory.SimpleFunc.instNonAssocRing E0 #

{α : Type u_1} →
  {β : Type u_2} → [inst : MeasurableSpace α] → [NonAssocRing β] → NonAssocRing (MeasureTheory.SimpleFunc α β)

instance MeasureTheory.SimpleFunc.instNonUnitalCommSemiring E0 #

{α : Type u_1} →
  {β : Type u_2} →
    [inst : MeasurableSpace α] → [NonUnitalCommSemiring β] → NonUnitalCommSemiring (MeasureTheory.SimpleFunc α β)

instance MeasureTheory.SimpleFunc.instCommSemiring E0 #

{α : Type u_1} →
  {β : Type u_2} → [inst : MeasurableSpace α] → [CommSemiring β] → CommSemiring (MeasureTheory.SimpleFunc α β)

instance MeasureTheory.SimpleFunc.instNonUnitalCommRing E0 #

{α : Type u_1} →
  {β : Type u_2} → [inst : MeasurableSpace α] → [NonUnitalCommRing β] → NonUnitalCommRing (MeasureTheory.SimpleFunc α β)

instance MeasureTheory.SimpleFunc.instCommRing E0 #

{α : Type u_1} → {β : Type u_2} → [inst : MeasurableSpace α] → [CommRing β] → CommRing (MeasureTheory.SimpleFunc α β)

instance MeasureTheory.SimpleFunc.instSemiring E0 #

{α : Type u_1} → {β : Type u_2} → [inst : MeasurableSpace α] → [Semiring β] → Semiring (MeasureTheory.SimpleFunc α β)

instance MeasureTheory.SimpleFunc.instNonUnitalRing E0 #

{α : Type u_1} →
  {β : Type u_2} → [inst : MeasurableSpace α] → [NonUnitalRing β] → NonUnitalRing (MeasureTheory.SimpleFunc α β)

instance MeasureTheory.SimpleFunc.instRing E0 #

{α : Type u_1} → {β : Type u_2} → [inst : MeasurableSpace α] → [Ring β] → Ring (MeasureTheory.SimpleFunc α β)

instance MeasureTheory.SimpleFunc.instIsScalarTower E0 #

∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} [inst : MeasurableSpace α] {K : Type u_5} [inst_1 : SMul K γ]
  [inst_2 : SMul γ β] [inst_3 : SMul K β] [IsScalarTower K γ β], IsScalarTower K γ (MeasureTheory.SimpleFunc α β)

instance MeasureTheory.SimpleFunc.instSMulCommClass E0 #

∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} [inst : MeasurableSpace α] {K : Type u_5} [inst_1 : SMul γ β]
  [inst_2 : SMul K β] [SMulCommClass K γ β], SMulCommClass K γ (MeasureTheory.SimpleFunc α β)

instance MeasureTheory.SimpleFunc.instAlgebra E0 #

{α : Type u_1} →
  {β : Type u_2} →
    [inst : MeasurableSpace α] →
      {K : Type u_5} →
        [inst_1 : CommSemiring K] → [inst_2 : Semiring β] → [Algebra K β] → Algebra K (MeasureTheory.SimpleFunc α β)

theorem MeasureTheory.SimpleFunc.const_algebraMap E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] {K : Type u_5} [inst_1 : CommSemiring K]
  [inst_2 : Semiring β] [inst_3 : Algebra K β] (k : K),
  MeasureTheory.SimpleFunc.const α ((algebraMap K β) k) = (algebraMap K (MeasureTheory.SimpleFunc α β)) k

theorem MeasureTheory.SimpleFunc.coe_algebraMap E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] {K : Type u_5} [inst_1 : CommSemiring K]
  [inst_2 : Semiring β] [inst_3 : Algebra K β] (k : K) (x : α),
  ((algebraMap K (MeasureTheory.SimpleFunc α β)) k) x = (algebraMap K (α → β)) k x

instance MeasureTheory.SimpleFunc.instStar E0 #

{α : Type u_1} → {β : Type u_2} → [inst : MeasurableSpace α] → [Star β] → Star (MeasureTheory.SimpleFunc α β)

theorem MeasureTheory.SimpleFunc.coe_star E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] [inst_1 : Star β] {f : MeasureTheory.SimpleFunc α β},
  ⇑(star f) = star ⇑f

instance MeasureTheory.SimpleFunc.instInvolutiveStar E0 #

{α : Type u_1} →
  {β : Type u_2} → [inst : MeasurableSpace α] → [InvolutiveStar β] → InvolutiveStar (MeasureTheory.SimpleFunc α β)

instance MeasureTheory.SimpleFunc.instStarAddMonoid E0 #

{α : Type u_1} →
  {β : Type u_2} →
    [inst : MeasurableSpace α] →
      [inst_1 : AddMonoid β] → [StarAddMonoid β] → StarAddMonoid (MeasureTheory.SimpleFunc α β)

instance MeasureTheory.SimpleFunc.instStarMul E0 #

{α : Type u_1} →
  {β : Type u_2} → [inst : MeasurableSpace α] → [inst_1 : Mul β] → [StarMul β] → StarMul (MeasureTheory.SimpleFunc α β)

instance MeasureTheory.SimpleFunc.instStarRing E0 #

{α : Type u_1} →
  {β : Type u_2} →
    [inst : MeasurableSpace α] →
      [inst_1 : NonUnitalNonAssocSemiring β] → [StarRing β] → StarRing (MeasureTheory.SimpleFunc α β)

instance MeasureTheory.SimpleFunc.instPreorder E0 #

{α : Type u_1} → {β : Type u_2} → [inst : MeasurableSpace α] → [Preorder β] → Preorder (MeasureTheory.SimpleFunc α β)

theorem MeasureTheory.SimpleFunc.coe_le_coe E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] [inst_1 : Preorder β] {f g : MeasureTheory.SimpleFunc α β},
  ⇑f ≤ ⇑g ↔ f ≤ g

theorem MeasureTheory.SimpleFunc.coe_lt_coe E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] [inst_1 : Preorder β] {f g : MeasureTheory.SimpleFunc α β},
  ⇑f < ⇑g ↔ f < g

theorem MeasureTheory.SimpleFunc.mk_le_mk E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] [inst_1 : Preorder β] {f g : α → β}
  {hf : ∀ (x : β), MeasurableSet (f ⁻¹' {x})} {hg : ∀ (x : β), MeasurableSet (g ⁻¹' {x})} {hf' : (Set.range f).Finite}
  {hg' : (Set.range g).Finite},
  { toFun := f, measurableSet_fiber' := hf, finite_range' := hf' } ≤
      { toFun := g, measurableSet_fiber' := hg, finite_range' := hg' } ↔
    f ≤ g

theorem MeasureTheory.SimpleFunc.mk_lt_mk E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] [inst_1 : Preorder β] {f g : α → β}
  {hf : ∀ (x : β), MeasurableSet (f ⁻¹' {x})} {hg : ∀ (x : β), MeasurableSet (g ⁻¹' {x})} {hf' : (Set.range f).Finite}
  {hg' : (Set.range g).Finite},
  { toFun := f, measurableSet_fiber' := hf, finite_range' := hf' } <
      { toFun := g, measurableSet_fiber' := hg, finite_range' := hg' } ↔
    f < g

theorem MeasureTheory.SimpleFunc.piecewise_mono E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] [inst_1 : Preorder β] {s : Set α}
  {f₁ f₂ g₁ g₂ : MeasureTheory.SimpleFunc α β} {hs : MeasurableSet s},
  (∀ a ∈ s, f₁ a ≤ f₂ a) →
    (∀ a ∉ s, g₁ a ≤ g₂ a) →
      MeasureTheory.SimpleFunc.piecewise s hs f₁ g₁ ≤ MeasureTheory.SimpleFunc.piecewise s hs f₂ g₂

instance MeasureTheory.SimpleFunc.instPartialOrder E0 #

{α : Type u_1} →
  {β : Type u_2} → [inst : MeasurableSpace α] → [PartialOrder β] → PartialOrder (MeasureTheory.SimpleFunc α β)

instance MeasureTheory.SimpleFunc.instOrderBot E0 #

{α : Type u_1} →
  {β : Type u_2} → [inst : MeasurableSpace α] → [inst_1 : LE β] → [OrderBot β] → OrderBot (MeasureTheory.SimpleFunc α β)

instance MeasureTheory.SimpleFunc.instOrderTop E0 #

{α : Type u_1} →
  {β : Type u_2} → [inst : MeasurableSpace α] → [inst_1 : LE β] → [OrderTop β] → OrderTop (MeasureTheory.SimpleFunc α β)

instance MeasureTheory.SimpleFunc.instIsOrderedAddMonoid E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] [inst_1 : AddCommMonoid β] [inst_2 : Preorder β]
  [IsOrderedAddMonoid β], IsOrderedAddMonoid (MeasureTheory.SimpleFunc α β)

instance MeasureTheory.SimpleFunc.instIsOrderedMonoid E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] [inst_1 : CommMonoid β] [inst_2 : Preorder β]
  [IsOrderedMonoid β], IsOrderedMonoid (MeasureTheory.SimpleFunc α β)

instance MeasureTheory.SimpleFunc.instSemilatticeInf E0 #

{α : Type u_1} →
  {β : Type u_2} → [inst : MeasurableSpace α] → [SemilatticeInf β] → SemilatticeInf (MeasureTheory.SimpleFunc α β)

instance MeasureTheory.SimpleFunc.instSemilatticeSup E0 #

{α : Type u_1} →
  {β : Type u_2} → [inst : MeasurableSpace α] → [SemilatticeSup β] → SemilatticeSup (MeasureTheory.SimpleFunc α β)

instance MeasureTheory.SimpleFunc.instLattice E0 #

{α : Type u_1} → {β : Type u_2} → [inst : MeasurableSpace α] → [Lattice β] → Lattice (MeasureTheory.SimpleFunc α β)

instance MeasureTheory.SimpleFunc.instBoundedOrder E0 #

{α : Type u_1} →
  {β : Type u_2} →
    [inst : MeasurableSpace α] → [inst_1 : LE β] → [BoundedOrder β] → BoundedOrder (MeasureTheory.SimpleFunc α β)

theorem MeasureTheory.SimpleFunc.finset_sup_apply E0 #

∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} [inst : MeasurableSpace α] [inst_1 : SemilatticeSup β]
  [inst_2 : OrderBot β] {f : γ → MeasureTheory.SimpleFunc α β} (s : Finset γ) (a : α),
  (s.sup f) a = s.sup fun c ↦ (f c) a

def MeasureTheory.SimpleFunc.restrict E1 #

{α : Type u_1} →
  {β : Type u_2} →
    [inst : MeasurableSpace α] → [Zero β] → MeasureTheory.SimpleFunc α β → Set α → MeasureTheory.SimpleFunc α β

Restrict a simple function f : α →ₛ β to a set s. If s is measurable, then f.restrict s a = if a ∈ s then f a else 0, otherwise f.restrict s = const α 0.

theorem MeasureTheory.SimpleFunc.restrict_of_not_measurable E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] [inst_1 : Zero β] {f : MeasureTheory.SimpleFunc α β}
  {s : Set α}, ¬MeasurableSet s → f.restrict s = 0

theorem MeasureTheory.SimpleFunc.coe_restrict E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] [inst_1 : Zero β] (f : MeasureTheory.SimpleFunc α β)
  {s : Set α}, MeasurableSet s → ⇑(f.restrict s) = s.indicator ⇑f

theorem MeasureTheory.SimpleFunc.restrict_univ E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] [inst_1 : Zero β] (f : MeasureTheory.SimpleFunc α β),
  f.restrict Set.univ = f

theorem MeasureTheory.SimpleFunc.restrict_empty E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] [inst_1 : Zero β] (f : MeasureTheory.SimpleFunc α β),
  f.restrict ∅ = 0

theorem MeasureTheory.SimpleFunc.map_restrict_of_zero E0 #

∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} [inst : MeasurableSpace α] [inst_1 : Zero β] [inst_2 : Zero γ]
  {g : β → γ},
  g 0 = 0 →
    ∀ (f : MeasureTheory.SimpleFunc α β) (s : Set α),
      MeasureTheory.SimpleFunc.map g (f.restrict s) = (MeasureTheory.SimpleFunc.map g f).restrict s

theorem MeasureTheory.SimpleFunc.map_coe_ennreal_restrict E0 #

∀ {α : Type u_1} [inst : MeasurableSpace α] (f : MeasureTheory.SimpleFunc α NNReal) (s : Set α),
  MeasureTheory.SimpleFunc.map ENNReal.ofNNReal (f.restrict s) =
    (MeasureTheory.SimpleFunc.map ENNReal.ofNNReal f).restrict s

theorem MeasureTheory.SimpleFunc.map_coe_nnreal_restrict E0 #

∀ {α : Type u_1} [inst : MeasurableSpace α] (f : MeasureTheory.SimpleFunc α NNReal) (s : Set α),
  MeasureTheory.SimpleFunc.map NNReal.toReal (f.restrict s) = (MeasureTheory.SimpleFunc.map NNReal.toReal f).restrict s

theorem MeasureTheory.SimpleFunc.restrict_apply E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] [inst_1 : Zero β] (f : MeasureTheory.SimpleFunc α β)
  {s : Set α}, MeasurableSet s → ∀ (a : α), (f.restrict s) a = s.indicator (⇑f) a

theorem MeasureTheory.SimpleFunc.restrict_preimage E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] [inst_1 : Zero β] (f : MeasureTheory.SimpleFunc α β)
  {s : Set α}, MeasurableSet s → ∀ {t : Set β}, 0 ∉ t → ⇑(f.restrict s) ⁻¹' t = s ∩ ⇑f ⁻¹' t

theorem MeasureTheory.SimpleFunc.restrict_preimage_singleton E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] [inst_1 : Zero β] (f : MeasureTheory.SimpleFunc α β)
  {s : Set α}, MeasurableSet s → ∀ {r : β}, r ≠ 0 → ⇑(f.restrict s) ⁻¹' {r} = s ∩ ⇑f ⁻¹' {r}

theorem MeasureTheory.SimpleFunc.mem_restrict_range E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] [inst_1 : Zero β] {r : β} {s : Set α}
  {f : MeasureTheory.SimpleFunc α β}, MeasurableSet s → (r ∈ (f.restrict s).range ↔ r = 0 ∧ s ≠ Set.univ ∨ r ∈ ⇑f '' s)

theorem MeasureTheory.SimpleFunc.mem_image_of_mem_range_restrict E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] [inst_1 : Zero β] {r : β} {s : Set α}
  {f : MeasureTheory.SimpleFunc α β}, r ∈ (f.restrict s).range → r ≠ 0 → r ∈ ⇑f '' s

theorem MeasureTheory.SimpleFunc.restrict_mono E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] [inst_1 : Zero β] [inst_2 : Preorder β] (s : Set α)
  {f g : MeasureTheory.SimpleFunc α β}, f ≤ g → f.restrict s ≤ g.restrict s

def MeasureTheory.SimpleFunc.approx E1 #

{α : Type u_1} →
  {β : Type u_2} →
    [inst : MeasurableSpace α] →
      [inst_1 : SemilatticeSup β] → [OrderBot β] → [Zero β] → (ℕ → β) → (α → β) → ℕ → MeasureTheory.SimpleFunc α β

Fix a sequence i : ℕ → β. Given a function α → β, its n-th approximation by simple functions is defined so that in case β = ℝ≥0∞ it sends each a to the supremum of the set {i k | k ≤ n ∧ i k ≤ f a}, see approx_apply and iSup_approx_apply for details.

theorem MeasureTheory.SimpleFunc.approx_apply E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] [inst_1 : SemilatticeSup β] [inst_2 : OrderBot β]
  [inst_3 : Zero β] [inst_4 : TopologicalSpace β] [OrderClosedTopology β] [inst_6 : MeasurableSpace β]
  [OpensMeasurableSpace β] {i : ℕ → β} {f : α → β} {n : ℕ} (a : α),
  Measurable f → (MeasureTheory.SimpleFunc.approx i f n) a = (Finset.range n).sup fun k ↦ if i k ≤ f a then i k else 0

theorem MeasureTheory.SimpleFunc.monotone_approx E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] [inst_1 : SemilatticeSup β] [inst_2 : OrderBot β]
  [inst_3 : Zero β] (i : ℕ → β) (f : α → β), Monotone (MeasureTheory.SimpleFunc.approx i f)

theorem MeasureTheory.SimpleFunc.approx_comp E1 #

∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} [inst : MeasurableSpace α] [inst_1 : SemilatticeSup β]
  [inst_2 : OrderBot β] [inst_3 : Zero β] [inst_4 : TopologicalSpace β] [OrderClosedTopology β]
  [inst_6 : MeasurableSpace β] [OpensMeasurableSpace β] [inst_8 : MeasurableSpace γ] {i : ℕ → β} {f : γ → β} {g : α → γ}
  {n : ℕ} (a : α),
  Measurable f →
    Measurable g → (MeasureTheory.SimpleFunc.approx i (f ∘ g) n) a = (MeasureTheory.SimpleFunc.approx i f n) (g a)

theorem MeasureTheory.SimpleFunc.iSup_approx_apply E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] [inst_1 : TopologicalSpace β] [inst_2 : CompleteLattice β]
  [OrderClosedTopology β] [inst_4 : Zero β] [inst_5 : MeasurableSpace β] [OpensMeasurableSpace β] (i : ℕ → β)
  (f : α → β) (a : α),
  Measurable f → 0 = ⊥ → ⨆ n, (MeasureTheory.SimpleFunc.approx i f n) a = ⨆ k, ⨆ (_ : i k ≤ f a), i k

def MeasureTheory.SimpleFunc.ennrealRatEmbed E1 #

ℕ → ENNReal

A sequence of ℝ≥0∞s such that its range is the set of non-negative rational numbers.

theorem MeasureTheory.SimpleFunc.ennrealRatEmbed_encode E1 #

∀ (q : ℚ), MeasureTheory.SimpleFunc.ennrealRatEmbed (Encodable.encode q) = ↑(↑q).toNNReal

def MeasureTheory.SimpleFunc.eapprox E1 #

{α : Type u_1} → [inst : MeasurableSpace α] → (α → ENNReal) → ℕ → MeasureTheory.SimpleFunc α ENNReal

Approximate a function α → ℝ≥0∞ by a sequence of simple functions.

theorem MeasureTheory.SimpleFunc.eapprox_lt_top E1 #

∀ {α : Type u_1} [inst : MeasurableSpace α] (f : α → ENNReal) (n : ℕ) (a : α),
  (MeasureTheory.SimpleFunc.eapprox f n) a < ⊤

theorem MeasureTheory.SimpleFunc.monotone_eapprox E1 #

∀ {α : Type u_1} [inst : MeasurableSpace α] (f : α → ENNReal), Monotone (MeasureTheory.SimpleFunc.eapprox f)

theorem MeasureTheory.SimpleFunc.iSup_eapprox_apply E0 #

∀ {α : Type u_1} [inst : MeasurableSpace α] {f : α → ENNReal},
  Measurable f → ∀ (a : α), ⨆ n, (MeasureTheory.SimpleFunc.eapprox f n) a = f a

theorem MeasureTheory.SimpleFunc.iSup_coe_eapprox E1 #

∀ {α : Type u_1} [inst : MeasurableSpace α] {f : α → ENNReal},
  Measurable f → ⨆ n, ⇑(MeasureTheory.SimpleFunc.eapprox f n) = f

theorem MeasureTheory.SimpleFunc.eapprox_comp E1 #

∀ {α : Type u_1} {γ : Type u_3} [inst : MeasurableSpace α] [inst_1 : MeasurableSpace γ] {f : γ → ENNReal} {g : α → γ}
  {n : ℕ},
  Measurable f →
    Measurable g → ⇑(MeasureTheory.SimpleFunc.eapprox (f ∘ g) n) = ⇑(MeasureTheory.SimpleFunc.eapprox f n) ∘ g

theorem MeasureTheory.SimpleFunc.tendsto_eapprox E1 #

∀ {α : Type u_1} [inst : MeasurableSpace α] {f : α → ENNReal},
  Measurable f → ∀ (a : α), Filter.Tendsto (fun n ↦ (MeasureTheory.SimpleFunc.eapprox f n) a) Filter.atTop (nhds (f a))

def MeasureTheory.SimpleFunc.eapproxDiff E1 #

{α : Type u_1} → [inst : MeasurableSpace α] → (α → ENNReal) → ℕ → MeasureTheory.SimpleFunc α NNReal

Approximate a function α → ℝ≥0∞ by a series of simple functions taking their values in ℝ≥0.

theorem MeasureTheory.SimpleFunc.sum_eapproxDiff E1 #

∀ {α : Type u_1} [inst : MeasurableSpace α] (f : α → ENNReal) (n : ℕ) (a : α),
  ∑ k ∈ Finset.range (n + 1), ↑((MeasureTheory.SimpleFunc.eapproxDiff f k) a) = (MeasureTheory.SimpleFunc.eapprox f n) a

theorem MeasureTheory.SimpleFunc.tsum_eapproxDiff E1 #

∀ {α : Type u_1} [inst : MeasurableSpace α] (f : α → ENNReal),
  Measurable f → ∀ (a : α), ∑' (n : ℕ), ↑((MeasureTheory.SimpleFunc.eapproxDiff f n) a) = f a

def MeasureTheory.SimpleFunc.lintegral E1 #

{α : Type u_1} → {_m : MeasurableSpace α} → MeasureTheory.SimpleFunc α ENNReal → MeasureTheory.Measure α → ENNReal

Integral of a simple function whose codomain is ℝ≥0∞.

theorem MeasureTheory.SimpleFunc.lintegral_eq_of_subset E1 #

∀ {α : Type u_1} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} (f : MeasureTheory.SimpleFunc α ENNReal)
  {s : Finset ENNReal},
  (∀ (x : α), f x ≠ 0 → μ (⇑f ⁻¹' {f x}) ≠ 0 → f x ∈ s) → f.lintegral μ = ∑ x ∈ s, x * μ (⇑f ⁻¹' {x})

theorem MeasureTheory.SimpleFunc.lintegral_eq_of_subset' E1 #

∀ {α : Type u_1} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} (f : MeasureTheory.SimpleFunc α ENNReal)
  {s : Finset ENNReal}, f.range \ {0} ⊆ s → f.lintegral μ = ∑ x ∈ s, x * μ (⇑f ⁻¹' {x})

theorem MeasureTheory.SimpleFunc.map_lintegral E0 #

∀ {α : Type u_1} {β : Type u_2} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} (g : β → ENNReal)
  (f : MeasureTheory.SimpleFunc α β),
  (MeasureTheory.SimpleFunc.map g f).lintegral μ = ∑ x ∈ f.range, g x * μ (⇑f ⁻¹' {x})

Calculate the integral of (g ∘ f), where g : β → ℝ≥0∞ and f : α →ₛ β.

theorem MeasureTheory.SimpleFunc.add_lintegral E1 #

∀ {α : Type u_1} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} (f g : MeasureTheory.SimpleFunc α ENNReal),
  (f + g).lintegral μ = f.lintegral μ + g.lintegral μ

theorem MeasureTheory.SimpleFunc.const_mul_lintegral E1 #

∀ {α : Type u_1} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} (f : MeasureTheory.SimpleFunc α ENNReal)
  (x : ENNReal), (MeasureTheory.SimpleFunc.const α x * f).lintegral μ = x * f.lintegral μ

def MeasureTheory.SimpleFunc.lintegralₗ E1 #

{α : Type u_1} →
  {m : MeasurableSpace α} → MeasureTheory.SimpleFunc α ENNReal →ₗ[ENNReal] MeasureTheory.Measure α →ₗ[ENNReal] ENNReal

Integral of a simple function α →ₛ ℝ≥0∞ as a bilinear map.

theorem MeasureTheory.SimpleFunc.zero_lintegral E0 #

∀ {α : Type u_1} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α}, MeasureTheory.SimpleFunc.lintegral 0 μ = 0

theorem MeasureTheory.SimpleFunc.lintegral_add E1 #

∀ {α : Type u_1} {m : MeasurableSpace α} {μ ν : MeasureTheory.Measure α} (f : MeasureTheory.SimpleFunc α ENNReal),
  f.lintegral (μ + ν) = f.lintegral μ + f.lintegral ν

theorem MeasureTheory.SimpleFunc.lintegral_smul E1 #

∀ {α : Type u_1} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} {R : Type u_5} [inst : SMul R ENNReal]
  [inst_1 : IsScalarTower R ENNReal ENNReal] (f : MeasureTheory.SimpleFunc α ENNReal) (c : R),
  f.lintegral (c • μ) = c • f.lintegral μ

theorem MeasureTheory.SimpleFunc.lintegral_zero E0 #

∀ {α : Type u_1} [inst : MeasurableSpace α] (f : MeasureTheory.SimpleFunc α ENNReal), f.lintegral 0 = 0

theorem MeasureTheory.SimpleFunc.lintegral_finsetSum E1 #

∀ {α : Type u_1} {m : MeasurableSpace α} {ι : Type u_5} (f : MeasureTheory.SimpleFunc α ENNReal)
  (μ : ι → MeasureTheory.Measure α) (s : Finset ι), f.lintegral (∑ i ∈ s, μ i) = ∑ i ∈ s, f.lintegral (μ i)

theorem MeasureTheory.SimpleFunc.lintegral_sum E1 #

∀ {α : Type u_1} {m : MeasurableSpace α} {ι : Type u_5} (f : MeasureTheory.SimpleFunc α ENNReal)
  (μ : ι → MeasureTheory.Measure α), f.lintegral (MeasureTheory.Measure.sum μ) = ∑' (i : ι), f.lintegral (μ i)

theorem MeasureTheory.SimpleFunc.restrict_lintegral E1 #

∀ {α : Type u_1} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} (f : MeasureTheory.SimpleFunc α ENNReal)
  {s : Set α}, MeasurableSet s → (f.restrict s).lintegral μ = ∑ r ∈ f.range, r * μ (⇑f ⁻¹' {r} ∩ s)

theorem MeasureTheory.SimpleFunc.lintegral_restrict E1 #

∀ {α : Type u_1} {m : MeasurableSpace α} (f : MeasureTheory.SimpleFunc α ENNReal) (s : Set α)
  (μ : MeasureTheory.Measure α), f.lintegral (μ.restrict s) = ∑ y ∈ f.range, y * μ (⇑f ⁻¹' {y} ∩ s)

theorem MeasureTheory.SimpleFunc.restrict_lintegral_eq_lintegral_restrict E1 #

∀ {α : Type u_1} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} (f : MeasureTheory.SimpleFunc α ENNReal)
  {s : Set α}, MeasurableSet s → (f.restrict s).lintegral μ = f.lintegral (μ.restrict s)

theorem MeasureTheory.SimpleFunc.lintegral_restrict_iUnion_of_directed E1 #

∀ {α : Type u_1} {m : MeasurableSpace α} {ι : Type u_5} [Countable ι] (f : MeasureTheory.SimpleFunc α ENNReal)
  {s : ι → Set α},
  Directed (fun x1 x2 ↦ x1 ⊆ x2) s →
    ∀ (μ : MeasureTheory.Measure α), f.lintegral (μ.restrict (⋃ i, s i)) = ⨆ i, f.lintegral (μ.restrict (s i))

theorem MeasureTheory.SimpleFunc.const_lintegral E1 #

∀ {α : Type u_1} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} (c : ENNReal),
  (MeasureTheory.SimpleFunc.const α c).lintegral μ = c * μ Set.univ

theorem MeasureTheory.SimpleFunc.const_lintegral_restrict E1 #

∀ {α : Type u_1} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} (c : ENNReal) (s : Set α),
  (MeasureTheory.SimpleFunc.const α c).lintegral (μ.restrict s) = c * μ s

theorem MeasureTheory.SimpleFunc.restrict_const_lintegral E1 #

∀ {α : Type u_1} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} (c : ENNReal) {s : Set α},
  MeasurableSet s → ((MeasureTheory.SimpleFunc.const α c).restrict s).lintegral μ = c * μ s

theorem MeasureTheory.SimpleFunc.lintegral_mono_fun E1 #

∀ {α : Type u_1} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} {f g : MeasureTheory.SimpleFunc α ENNReal},
  f ≤ g → f.lintegral μ ≤ g.lintegral μ

theorem MeasureTheory.SimpleFunc.le_sup_lintegral E1 #

∀ {α : Type u_1} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} (f g : MeasureTheory.SimpleFunc α ENNReal),
  max (f.lintegral μ) (g.lintegral μ) ≤ (f ⊔ g).lintegral μ

theorem MeasureTheory.SimpleFunc.lintegral_mono_measure E1 #

∀ {α : Type u_1} {m : MeasurableSpace α} {μ ν : MeasureTheory.Measure α} {f : MeasureTheory.SimpleFunc α ENNReal},
  μ ≤ ν → f.lintegral μ ≤ f.lintegral ν

theorem MeasureTheory.SimpleFunc.lintegral_mono E1 #

∀ {α : Type u_1} {m : MeasurableSpace α} {μ ν : MeasureTheory.Measure α} {f g : MeasureTheory.SimpleFunc α ENNReal},
  f ≤ g → μ ≤ ν → f.lintegral μ ≤ g.lintegral ν

SimpleFunc.lintegral is monotone both in function and in measure.

theorem MeasureTheory.SimpleFunc.lintegral_eq_of_measure_preimage E1 #

∀ {α : Type u_1} {β : Type u_2} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} [inst : MeasurableSpace β]
  {f : MeasureTheory.SimpleFunc α ENNReal} {g : MeasureTheory.SimpleFunc β ENNReal} {ν : MeasureTheory.Measure β},
  (∀ (y : ENNReal), μ (⇑f ⁻¹' {y}) = ν (⇑g ⁻¹' {y})) → f.lintegral μ = g.lintegral ν

SimpleFunc.lintegral depends only on the measures of f ⁻¹' {y}.

theorem MeasureTheory.SimpleFunc.lintegral_congr E1 #

∀ {α : Type u_1} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} {f g : MeasureTheory.SimpleFunc α ENNReal},
  ⇑f =ᵐ[μ] ⇑g → f.lintegral μ = g.lintegral μ

If two simple functions are equal a.e., then their lintegrals are equal.

theorem MeasureTheory.SimpleFunc.lintegral_map' E1 #

∀ {α : Type u_1} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} {β : Type u_5} [inst : MeasurableSpace β]
  {μ' : MeasureTheory.Measure β} (f : MeasureTheory.SimpleFunc α ENNReal) (g : MeasureTheory.SimpleFunc β ENNReal)
  (m' : α → β),
  (∀ (a : α), f a = g (m' a)) → (∀ (s : Set β), MeasurableSet s → μ' s = μ (m' ⁻¹' s)) → f.lintegral μ = g.lintegral μ'

theorem MeasureTheory.SimpleFunc.lintegral_map E1 #

∀ {α : Type u_1} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} {β : Type u_5} [inst : MeasurableSpace β]
  (g : MeasureTheory.SimpleFunc β ENNReal) {f : α → β} (hf : Measurable f),
  g.lintegral (MeasureTheory.Measure.map f μ) = (g.comp f hf).lintegral μ

theorem MeasureTheory.SimpleFunc.support_eq E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : MeasurableSpace α] [inst_1 : Zero β] (f : MeasureTheory.SimpleFunc α β),
  Function.support ⇑f = ⋃ y ∈ {y ∈ f.range | y ≠ 0}, ⇑f ⁻¹' {y}

theorem MeasureTheory.SimpleFunc.measurableSet_support E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : Zero β] [inst_1 : MeasurableSpace α] (f : MeasureTheory.SimpleFunc α β),
  MeasurableSet (Function.support ⇑f)

theorem MeasureTheory.SimpleFunc.measure_support_lt_top E1 #

∀ {α : Type u_1} {β : Type u_2} {m : MeasurableSpace α} [inst : Zero β] {μ : MeasureTheory.Measure α}
  (f : MeasureTheory.SimpleFunc α β), (∀ (y : β), y ≠ 0 → μ (⇑f ⁻¹' {y}) < ⊤) → μ (Function.support ⇑f) < ⊤

def MeasureTheory.SimpleFunc.FinMeasSupp E1 #

{α : Type u_1} →
  {β : Type u_2} → [Zero β] → {_m : MeasurableSpace α} → MeasureTheory.SimpleFunc α β → MeasureTheory.Measure α → Prop

A SimpleFunc has finite measure support if it is equal to 0 outside of a set of finite measure.

theorem MeasureTheory.SimpleFunc.finMeasSupp_iff_support E1 #

∀ {α : Type u_1} {β : Type u_2} {m : MeasurableSpace α} [inst : Zero β] {μ : MeasureTheory.Measure α}
  {f : MeasureTheory.SimpleFunc α β}, f.FinMeasSupp μ ↔ μ (Function.support ⇑f) < ⊤

theorem MeasureTheory.SimpleFunc.finMeasSupp_iff E0 #

∀ {α : Type u_1} {β : Type u_2} {m : MeasurableSpace α} [inst : Zero β] {μ : MeasureTheory.Measure α}
  {f : MeasureTheory.SimpleFunc α β}, f.FinMeasSupp μ ↔ ∀ (y : β), y ≠ 0 → μ (⇑f ⁻¹' {y}) < ⊤

theorem MeasureTheory.SimpleFunc.FinMeasSupp.meas_preimage_singleton_ne_zero E1 #

∀ {α : Type u_1} {β : Type u_2} {m : MeasurableSpace α} [inst : Zero β] {μ : MeasureTheory.Measure α}
  {f : MeasureTheory.SimpleFunc α β}, f.FinMeasSupp μ → ∀ {y : β}, y ≠ 0 → μ (⇑f ⁻¹' {y}) < ⊤

theorem MeasureTheory.SimpleFunc.FinMeasSupp.map E1 #

∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {m : MeasurableSpace α} [inst : Zero β] [inst_1 : Zero γ]
  {μ : MeasureTheory.Measure α} {f : MeasureTheory.SimpleFunc α β} {g : β → γ},
  f.FinMeasSupp μ → g 0 = 0 → (MeasureTheory.SimpleFunc.map g f).FinMeasSupp μ

theorem MeasureTheory.SimpleFunc.FinMeasSupp.of_map E1 #

∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {m : MeasurableSpace α} [inst : Zero β] [inst_1 : Zero γ]
  {μ : MeasureTheory.Measure α} {f : MeasureTheory.SimpleFunc α β} {g : β → γ},
  (MeasureTheory.SimpleFunc.map g f).FinMeasSupp μ → (∀ (b : β), g b = 0 → b = 0) → f.FinMeasSupp μ

theorem MeasureTheory.SimpleFunc.FinMeasSupp.map_iff E0 #

∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {m : MeasurableSpace α} [inst : Zero β] [inst_1 : Zero γ]
  {μ : MeasureTheory.Measure α} {f : MeasureTheory.SimpleFunc α β} {g : β → γ},
  (∀ {b : β}, g b = 0 ↔ b = 0) → ((MeasureTheory.SimpleFunc.map g f).FinMeasSupp μ ↔ f.FinMeasSupp μ)

theorem MeasureTheory.SimpleFunc.FinMeasSupp.pair E1 #

∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {m : MeasurableSpace α} [inst : Zero β] [inst_1 : Zero γ]
  {μ : MeasureTheory.Measure α} {f : MeasureTheory.SimpleFunc α β} {g : MeasureTheory.SimpleFunc α γ},
  f.FinMeasSupp μ → g.FinMeasSupp μ → (f.pair g).FinMeasSupp μ

theorem MeasureTheory.SimpleFunc.FinMeasSupp.map₂ E1 #

∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {δ : Type u_4} {m : MeasurableSpace α} [inst : Zero β] [inst_1 : Zero γ]
  {μ : MeasureTheory.Measure α} {f : MeasureTheory.SimpleFunc α β} [inst_2 : Zero δ],
  f.FinMeasSupp μ →
    ∀ {g : MeasureTheory.SimpleFunc α γ},
      g.FinMeasSupp μ →
        ∀ {op : β → γ → δ}, op 0 0 = 0 → (MeasureTheory.SimpleFunc.map (Function.uncurry op) (f.pair g)).FinMeasSupp μ

theorem MeasureTheory.SimpleFunc.FinMeasSupp.add E1 #

∀ {α : Type u_1} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} {β : Type u_5} [inst : AddZeroClass β]
  {f g : MeasureTheory.SimpleFunc α β}, f.FinMeasSupp μ → g.FinMeasSupp μ → (f + g).FinMeasSupp μ

theorem MeasureTheory.SimpleFunc.FinMeasSupp.mul E1 #

∀ {α : Type u_1} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} {β : Type u_5} [inst : MulZeroClass β]
  {f g : MeasureTheory.SimpleFunc α β}, f.FinMeasSupp μ → g.FinMeasSupp μ → (f * g).FinMeasSupp μ

theorem MeasureTheory.SimpleFunc.FinMeasSupp.lintegral_lt_top E1 #

∀ {α : Type u_1} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} {f : MeasureTheory.SimpleFunc α ENNReal},
  f.FinMeasSupp μ → (∀ᵐ (a : α) ∂μ, f a ≠ ⊤) → f.lintegral μ < ⊤

theorem MeasureTheory.SimpleFunc.FinMeasSupp.of_lintegral_ne_top E1 #

∀ {α : Type u_1} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} {f : MeasureTheory.SimpleFunc α ENNReal},
  f.lintegral μ ≠ ⊤ → f.FinMeasSupp μ

theorem MeasureTheory.SimpleFunc.FinMeasSupp.iff_lintegral_lt_top E1 #

∀ {α : Type u_1} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} {f : MeasureTheory.SimpleFunc α ENNReal},
  (∀ᵐ (a : α) ∂μ, f a ≠ ⊤) → (f.FinMeasSupp μ ↔ f.lintegral μ < ⊤)

theorem MeasureTheory.SimpleFunc.measure_support_lt_top_of_lintegral_ne_top E1 #

∀ {α : Type u_1} {m : MeasurableSpace α} {μ : MeasureTheory.Measure α} {f : MeasureTheory.SimpleFunc α ENNReal},
  f.lintegral μ ≠ ⊤ → μ (Function.support ⇑f) < ⊤

theorem MeasureTheory.SimpleFunc.induction E1 #

∀ {α : Type u_5} {γ : Type u_6} [inst : MeasurableSpace α] [inst_1 : AddZeroClass γ]
  {motive : MeasureTheory.SimpleFunc α γ → Prop},
  (∀ (c : γ) {s : Set α} (hs : MeasurableSet s),
      motive
        (MeasureTheory.SimpleFunc.piecewise s hs (MeasureTheory.SimpleFunc.const α c)
          (MeasureTheory.SimpleFunc.const α 0))) →
    (∀ ⦃f g : MeasureTheory.SimpleFunc α γ⦄,
        Disjoint (Function.support ⇑f) (Function.support ⇑g) → motive f → motive g → motive (f + g)) →
      ∀ (f : MeasureTheory.SimpleFunc α γ), motive f

To prove something for an arbitrary simple function, it suffices to show that the property holds for (multiples of) characteristic functions and is closed under addition (of functions with disjoint support).

It is possible to make the hypotheses in h_add a bit stronger, and such conditions can be added once we need them (for example it is only necessary to consider the case where g is a multiple of a characteristic function, and that this multiple doesn't appear in the image of f).

To use in an induction proof, the syntax is induction f using SimpleFunc.induction with.

theorem MeasureTheory.SimpleFunc.induction' E1 #

∀ {α : Type u_5} {γ : Type u_6} [inst : MeasurableSpace α] [Nonempty γ] {P : MeasureTheory.SimpleFunc α γ → Prop},
  (∀ (c : γ), P (MeasureTheory.SimpleFunc.const α c)) →
    (∀ ⦃f g : MeasureTheory.SimpleFunc α γ⦄ {s : Set α} (hs : MeasurableSet s),
        P f → P g → P (MeasureTheory.SimpleFunc.piecewise s hs f g)) →
      ∀ (f : MeasureTheory.SimpleFunc α γ), P f

To prove something for an arbitrary simple function, it suffices to show that the property holds for constant functions and that it is closed under piecewise combinations of functions.

To use in an induction proof, the syntax is induction f with.

theorem Measurable.add_simpleFunc E1 #

∀ {α : Type u_1} {E : Type u_5} {x : MeasurableSpace α} [inst : MeasurableSpace E] [inst_1 : AddCancelMonoid E]
  [MeasurableAdd E] {g : α → E}, Measurable g → ∀ (f : MeasureTheory.SimpleFunc α E), Measurable (g + ⇑f)

In a topological vector space, the addition of a measurable function and a simple function is measurable.

theorem Measurable.simpleFunc_add E1 #

∀ {α : Type u_1} {E : Type u_5} {x : MeasurableSpace α} [inst : MeasurableSpace E] [inst_1 : AddCancelMonoid E]
  [MeasurableAdd E] {g : α → E}, Measurable g → ∀ (f : MeasureTheory.SimpleFunc α E), Measurable (⇑f + g)

In a topological vector space, the addition of a simple function and a measurable function is measurable.

theorem Measurable.ennreal_induction E1 #

∀ {α : Type u_1} {mα : MeasurableSpace α} {motive : (α → ENNReal) → Prop},
  (∀ (c : ENNReal) ⦃s : Set α⦄, MeasurableSet s → motive (s.indicator fun x ↦ c)) →
    (∀ ⦃f g : α → ENNReal⦄,
        Disjoint (Function.support f) (Function.support g) →
          Measurable f → Measurable g → motive f → motive g → motive (f + g)) →
      (∀ ⦃f : ℕ → α → ENNReal⦄,
          (∀ (n : ℕ), Measurable (f n)) → Monotone f → (∀ (n : ℕ), motive (f n)) → motive fun x ↦ ⨆ n, f n x) →
        ∀ ⦃f : α → ENNReal⦄, Measurable f → motive f

To prove something for an arbitrary measurable function into ℝ≥0∞, it suffices to show that the property holds for (multiples of) characteristic functions and is closed under addition and supremum of increasing sequences of functions.

It is possible to make the hypotheses in the induction steps a bit stronger, and such conditions can be added once we need them (for example in h_add it is only necessary to consider the sum of a simple function with a multiple of a characteristic function and that the intersection of their images is a subset of {0}).

theorem Measurable.ennreal_sigmaFinite_induction E1 #

∀ {α : Type u_1} {mα : MeasurableSpace α} {μ : MeasureTheory.Measure α} [MeasureTheory.SigmaFinite μ]
  {motive : (α → ENNReal) → Prop},
  (∀ (c : ENNReal) ⦃s : Set α⦄, MeasurableSet s → μ s < ⊤ → motive (s.indicator fun x ↦ c)) →
    (∀ ⦃f g : α → ENNReal⦄,
        Disjoint (Function.support f) (Function.support g) →
          Measurable f → Measurable g → motive f → motive g → motive (f + g)) →
      (∀ ⦃f : ℕ → α → ENNReal⦄,
          (∀ (n : ℕ), Measurable (f n)) → Monotone f → (∀ (n : ℕ), motive (f n)) → motive fun x ↦ ⨆ n, f n x) →
        ∀ ⦃f : α → ENNReal⦄, Measurable f → motive f

To prove something for an arbitrary measurable function into ℝ≥0∞, it suffices to show that the property holds for (multiples of) characteristic functions with finite mass according to some sigma-finite measure and is closed under addition and supremum of increasing sequences of functions.

It is possible to make the hypotheses in the induction steps a bit stronger, and such conditions can be added once we need them (for example in h_add it is only necessary to consider the sum of a simple function with a multiple of a characteristic function and that the intersection of their images is a subset of {0}).

Deprecated aliases

NameNew nameSince
MeasureTheory.SimpleFunc.add_applyadd_apply2026-10-20
MeasureTheory.SimpleFunc.coe_addFunLike.coe_add2026-10-20
MeasureTheory.SimpleFunc.coe_divFunLike.coe_div2026-10-20
MeasureTheory.SimpleFunc.coe_intCastFunLike.coe_intCast2026-10-20
MeasureTheory.SimpleFunc.coe_invFunLike.coe_inv2026-10-20
MeasureTheory.SimpleFunc.coe_mulFunLike.coe_mul2026-10-20
MeasureTheory.SimpleFunc.coe_natCastFunLike.coe_natCast2026-10-20
MeasureTheory.SimpleFunc.coe_negFunLike.coe_neg2026-10-20
MeasureTheory.SimpleFunc.coe_oneFunLike.coe_one2026-10-20
MeasureTheory.SimpleFunc.coe_powFunLike.coe_pow2026-10-20
MeasureTheory.SimpleFunc.coe_smulFunLike.coe_smul2026-10-20
MeasureTheory.SimpleFunc.coe_subFunLike.coe_sub2026-10-20
MeasureTheory.SimpleFunc.coe_vaddFunLike.coe_vadd2026-10-20
MeasureTheory.SimpleFunc.coe_zeroFunLike.coe_zero2026-10-20
MeasureTheory.SimpleFunc.coe_zpowFunLike.coe_pow2026-10-20
MeasureTheory.SimpleFunc.div_applydiv_apply2026-10-20
MeasureTheory.SimpleFunc.inv_applyinv_apply2026-10-20
MeasureTheory.SimpleFunc.mul_applymul_apply2026-10-20
MeasureTheory.SimpleFunc.neg_applyneg_apply2026-10-20
MeasureTheory.SimpleFunc.pow_applypow_apply2026-10-20
MeasureTheory.SimpleFunc.smul_applysmul_apply2026-10-20
MeasureTheory.SimpleFunc.sub_applysub_apply2026-10-20
MeasureTheory.SimpleFunc.vadd_applyvadd_apply2026-10-20
MeasureTheory.SimpleFunc.zpow_applypow_apply2026-10-20