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.Analysis.BoxIntegral.Partition.Additive

41 declarations. Mathlib docs · Source

Box additive functions

We say that a function f : Box ι → M from boxes in ℝⁿ to a commutative additive monoid M is box additive on subboxes of I₀ : WithTop (Box ι) if for any box J, ↑J ≤ I₀, and a partition π of J, f J = ∑ J' ∈ π.boxes, f J'. We use I₀ : WithTop (Box ι) instead of I₀ : Box ι to use the same definition for functions box additive on subboxes of a box and for functions box additive on all boxes.

Examples of box-additive functions include the measure of a box and the integral of a fixed integrable function over a box.

In this file we define box-additive functions and prove that a function such that f J = f (J ∩ {x | x i < y}) + f (J ∩ {x | y ≤ x i}) is box-additive.

Tags

rectangular box, additive function

Coercion, extensionality, and the defining property

Additive monoid structure

Constructions and combinators

Additive group structure

Scalar multiplication on a normed space

Difference along an axis: upper − lower over faces

theorem BoxIntegral.BoxAdditiveMap.mk.inj E1 #

∀ {ι : Type u_3} {M : Type u_4} {inst : AddCommMonoid M} {I : WithTop (BoxIntegral.Box ι)}
  {toFun : BoxIntegral.Box ι → M}
  {sum_partition_boxes' :
    ∀ (J : BoxIntegral.Box ι),
      ↑J ≤ I → ∀ (π : BoxIntegral.Prepartition J), π.IsPartition → ∑ Ji ∈ π.boxes, toFun Ji = toFun J}
  {toFun_1 : BoxIntegral.Box ι → M}
  {sum_partition_boxes'_1 :
    ∀ (J : BoxIntegral.Box ι),
      ↑J ≤ I → ∀ (π : BoxIntegral.Prepartition J), π.IsPartition → ∑ Ji ∈ π.boxes, toFun_1 Ji = toFun_1 J},
  { toFun := toFun, sum_partition_boxes' := sum_partition_boxes' } =
      { toFun := toFun_1, sum_partition_boxes' := sum_partition_boxes'_1 } →
    toFun = toFun_1

def BoxIntegral.BoxAdditiveMap.ctorIdx E1 #

{ι : Type u_3} →
  {M : Type u_4} → {inst : AddCommMonoid M} → {I : WithTop (BoxIntegral.Box ι)} → BoxIntegral.BoxAdditiveMap ι M I → ℕ

theorem BoxIntegral.BoxAdditiveMap.mk.injEq E0 #

∀ {ι : Type u_3} {M : Type u_4} [inst : AddCommMonoid M] {I : WithTop (BoxIntegral.Box ι)}
  (toFun : BoxIntegral.Box ι → M)
  (sum_partition_boxes' :
    ∀ (J : BoxIntegral.Box ι),
      ↑J ≤ I → ∀ (π : BoxIntegral.Prepartition J), π.IsPartition → ∑ Ji ∈ π.boxes, toFun Ji = toFun J)
  (toFun_1 : BoxIntegral.Box ι → M)
  (sum_partition_boxes'_1 :
    ∀ (J : BoxIntegral.Box ι),
      ↑J ≤ I → ∀ (π : BoxIntegral.Prepartition J), π.IsPartition → ∑ Ji ∈ π.boxes, toFun_1 Ji = toFun_1 J),
  ({ toFun := toFun, sum_partition_boxes' := sum_partition_boxes' } =
      { toFun := toFun_1, sum_partition_boxes' := sum_partition_boxes'_1 }) =
    (toFun = toFun_1)

structure BoxIntegral.BoxAdditiveMap E1 #

(ι : Type u_3) → (M : Type u_4) → [AddCommMonoid M] → WithTop (BoxIntegral.Box ι) → Type (max u_3 u_4)

A function on Box ι is called box additive if for every box J and a partition π of J we have f J = ∑ Ji ∈ π.boxes, f Ji. A function is called box additive on subboxes of I : Box ι if the same property holds for J ≤ I. We formalize these two notions in the same definition using I : WithBot (Box ι): the value I = ⊤ corresponds to functions box additive on the whole space.

ctor BoxIntegral.BoxAdditiveMap.mk E0 #

{ι : Type u_3} →
  {M : Type u_4} →
    [inst : AddCommMonoid M] →
      {I : WithTop (BoxIntegral.Box ι)} →
        (toFun : BoxIntegral.Box ι → M) →
          (∀ (J : BoxIntegral.Box ι),
              ↑J ≤ I → ∀ (π : BoxIntegral.Prepartition J), π.IsPartition → ∑ Ji ∈ π.boxes, toFun Ji = toFun J) →
            BoxIntegral.BoxAdditiveMap ι M I

abbrev BoxIntegral.BoxAdditiveMap.toFun E1 #

{ι : Type u_3} →
  {M : Type u_4} →
    [inst : AddCommMonoid M] →
      {I : WithTop (BoxIntegral.Box ι)} → BoxIntegral.BoxAdditiveMap ι M I → BoxIntegral.Box ι → M

The function underlying this additive map.

theorem BoxIntegral.BoxAdditiveMap.sum_partition_boxes' E1 #

∀ {ι : Type u_3} {M : Type u_4} [inst : AddCommMonoid M] {I : WithTop (BoxIntegral.Box ι)}
  (self : BoxIntegral.BoxAdditiveMap ι M I) (J : BoxIntegral.Box ι),
  ↑J ≤ I → ∀ (π : BoxIntegral.Prepartition J), π.IsPartition → ∑ Ji ∈ π.boxes, self.toFun Ji = self.toFun J

def BoxIntegral.«term_→ᵇᵃ_» E1 #

Lean.TrailingParserDescr

A function on Box ι is called box additive if for every box J and a partition π of J we have f J = ∑ Ji ∈ π.boxes, f Ji.

def BoxIntegral.«term_→ᵇᵃ[_]_» E1 #

Lean.TrailingParserDescr

A function on Box ι is called box additive if for every box J and a partition π of J we have f J = ∑ Ji ∈ π.boxes, f Ji. A function is called box additive on subboxes of I : Box ι if the same property holds for J ≤ I. We formalize these two notions in the same definition using I : WithBot (Box ι): the value I = ⊤ corresponds to functions box additive on the whole space.

instance BoxIntegral.BoxAdditiveMap.instFunLikeBox E0 #

{ι : Type u_1} →
  {M : Type u_2} →
    [inst : AddCommMonoid M] →
      {I₀ : WithTop (BoxIntegral.Box ι)} → FunLike (BoxIntegral.BoxAdditiveMap ι M I₀) (BoxIntegral.Box ι) M

theorem BoxIntegral.BoxAdditiveMap.coe_mk E0 #

∀ {ι : Type u_1} {M : Type u_2} [inst : AddCommMonoid M] {I₀ : WithTop (BoxIntegral.Box ι)} (f : BoxIntegral.Box ι → M)
  (h :
    ∀ (J : BoxIntegral.Box ι),
      ↑J ≤ I₀ → ∀ (π : BoxIntegral.Prepartition J), π.IsPartition → ∑ Ji ∈ π.boxes, f Ji = f J),
  ⇑{ toFun := f, sum_partition_boxes' := h } = f

theorem BoxIntegral.BoxAdditiveMap.coe_injective E0 #

∀ {ι : Type u_1} {M : Type u_2} [inst : AddCommMonoid M] {I₀ : WithTop (BoxIntegral.Box ι)},
  Function.Injective fun f x ↦ f x

theorem BoxIntegral.BoxAdditiveMap.coe_inj E0 #

∀ {ι : Type u_1} {M : Type u_2} [inst : AddCommMonoid M] {I₀ : WithTop (BoxIntegral.Box ι)}
  {f g : BoxIntegral.BoxAdditiveMap ι M I₀}, ⇑f = ⇑g ↔ f = g

theorem BoxIntegral.BoxAdditiveMap.ext E1 #

∀ {ι : Type u_1} {M : Type u_2} [inst : AddCommMonoid M] {I₀ : WithTop (BoxIntegral.Box ι)}
  {f g : BoxIntegral.BoxAdditiveMap ι M I₀}, (∀ (J : BoxIntegral.Box ι), f J = g J) → f = g

theorem BoxIntegral.BoxAdditiveMap.ext_iff E0 #

∀ {ι : Type u_1} {M : Type u_2} [inst : AddCommMonoid M] {I₀ : WithTop (BoxIntegral.Box ι)}
  {f g : BoxIntegral.BoxAdditiveMap ι M I₀}, f = g ↔ ∀ (J : BoxIntegral.Box ι), f J = g J

theorem BoxIntegral.BoxAdditiveMap.sum_partition_boxes E1 #

∀ {ι : Type u_1} {M : Type u_2} [inst : AddCommMonoid M] {I₀ : WithTop (BoxIntegral.Box ι)} {I : BoxIntegral.Box ι}
  (f : BoxIntegral.BoxAdditiveMap ι M I₀),
  ↑I ≤ I₀ → ∀ {π : BoxIntegral.Prepartition I}, π.IsPartition → ∑ J ∈ π.boxes, f J = f I

theorem BoxIntegral.BoxAdditiveMap.zero_apply E0 #

∀ {ι : Type u_1} {M : Type u_2} [inst : AddCommMonoid M] {I₀ : WithTop (BoxIntegral.Box ι)}, ⇑0 = 0

instance BoxIntegral.BoxAdditiveMap.instZero E0 #

{ι : Type u_1} →
  {M : Type u_2} →
    [inst : AddCommMonoid M] → {I₀ : WithTop (BoxIntegral.Box ι)} → Zero (BoxIntegral.BoxAdditiveMap ι M I₀)

instance BoxIntegral.BoxAdditiveMap.instInhabited E0 #

{ι : Type u_1} →
  {M : Type u_2} →
    [inst : AddCommMonoid M] → {I₀ : WithTop (BoxIntegral.Box ι)} → Inhabited (BoxIntegral.BoxAdditiveMap ι M I₀)

instance BoxIntegral.BoxAdditiveMap.instIsZeroApplyBox E0 #

∀ {ι : Type u_1} {M : Type u_2} [inst : AddCommMonoid M] {I₀ : WithTop (BoxIntegral.Box ι)},
  IsZeroApply (BoxIntegral.BoxAdditiveMap ι M I₀)

instance BoxIntegral.BoxAdditiveMap.instAdd E0 #

{ι : Type u_1} →
  {M : Type u_2} →
    [inst : AddCommMonoid M] → {I₀ : WithTop (BoxIntegral.Box ι)} → Add (BoxIntegral.BoxAdditiveMap ι M I₀)

instance BoxIntegral.BoxAdditiveMap.instSMulOfDistribSMul E0 #

{ι : Type u_1} →
  {M : Type u_2} →
    [inst : AddCommMonoid M] →
      {I₀ : WithTop (BoxIntegral.Box ι)} →
        {R : Type u_4} → [DistribSMul R M] → SMul R (BoxIntegral.BoxAdditiveMap ι M I₀)

instance BoxIntegral.BoxAdditiveMap.instAddCommMonoid E0 #

{ι : Type u_1} →
  {M : Type u_2} →
    [inst : AddCommMonoid M] → {I₀ : WithTop (BoxIntegral.Box ι)} → AddCommMonoid (BoxIntegral.BoxAdditiveMap ι M I₀)

instance BoxIntegral.BoxAdditiveMap.instIsAddApplyBox E0 #

∀ {ι : Type u_1} {M : Type u_2} [inst : AddCommMonoid M] {I₀ : WithTop (BoxIntegral.Box ι)},
  IsAddApply (BoxIntegral.BoxAdditiveMap ι M I₀)

instance BoxIntegral.BoxAdditiveMap.instIsSMulApplyBox E0 #

∀ {ι : Type u_1} {M : Type u_2} [inst : AddCommMonoid M] {I₀ : WithTop (BoxIntegral.Box ι)} {R : Type u_4}
  [inst_1 : DistribSMul R M], IsSMulApply R (BoxIntegral.BoxAdditiveMap ι M I₀)

theorem BoxIntegral.BoxAdditiveMap.map_split_add E0 #

∀ {ι : Type u_1} {M : Type u_2} [inst : AddCommMonoid M] {I₀ : WithTop (BoxIntegral.Box ι)} {I : BoxIntegral.Box ι}
  (f : BoxIntegral.BoxAdditiveMap ι M I₀),
  ↑I ≤ I₀ → ∀ (i : ι) (x : ℝ), Option.elim' 0 (⇑f) (I.splitLower i x) + Option.elim' 0 (⇑f) (I.splitUpper i x) = f I

def BoxIntegral.BoxAdditiveMap.restrict E1 #

{ι : Type u_1} →
  {M : Type u_2} →
    [inst : AddCommMonoid M] →
      {I₀ : WithTop (BoxIntegral.Box ι)} →
        BoxIntegral.BoxAdditiveMap ι M I₀ →
          (I : WithTop (BoxIntegral.Box ι)) → I ≤ I₀ → BoxIntegral.BoxAdditiveMap ι M I

If f is box-additive on subboxes of I₀, then it is box-additive on subboxes of any I ≤ I₀.

theorem BoxIntegral.BoxAdditiveMap.restrict_apply E0 #

∀ {ι : Type u_1} {M : Type u_2} [inst : AddCommMonoid M] {I₀ : WithTop (BoxIntegral.Box ι)}
  (f : BoxIntegral.BoxAdditiveMap ι M I₀) (I : WithTop (BoxIntegral.Box ι)) (hI : I ≤ I₀) (a : BoxIntegral.Box ι),
  (f.restrict I hI) a = f a

def BoxIntegral.BoxAdditiveMap.ofMapSplitAdd E1 #

{ι : Type u_1} →
  {M : Type u_2} →
    [inst : AddCommMonoid M] →
      [Finite ι] →
        (f : BoxIntegral.Box ι → M) →
          (I₀ : WithTop (BoxIntegral.Box ι)) →
            (∀ (I : BoxIntegral.Box ι),
                ↑I ≤ I₀ →
                  ∀ {i : ι} {x : ℝ},
                    x ∈ Set.Ioo (I.lower i) (I.upper i) →
                      Option.elim' 0 f (I.splitLower i x) + Option.elim' 0 f (I.splitUpper i x) = f I) →
              BoxIntegral.BoxAdditiveMap ι M I₀

If f : Box ι → M is box additive on partitions of the form split I i x, then it is box additive.

def BoxIntegral.BoxAdditiveMap.map E1 #

{ι : Type u_1} →
  {M : Type u_2} →
    {N : Type u_3} →
      [inst : AddCommMonoid M] →
        [inst_1 : AddCommMonoid N] →
          {I₀ : WithTop (BoxIntegral.Box ι)} →
            BoxIntegral.BoxAdditiveMap ι M I₀ → (M →+ N) → BoxIntegral.BoxAdditiveMap ι N I₀

If g : M → N is an additive map and f is a box additive map, then g ∘ f is a box additive map.

theorem BoxIntegral.BoxAdditiveMap.map_apply E0 #

∀ {ι : Type u_1} {M : Type u_2} {N : Type u_3} [inst : AddCommMonoid M] [inst_1 : AddCommMonoid N]
  {I₀ : WithTop (BoxIntegral.Box ι)} (f : BoxIntegral.BoxAdditiveMap ι M I₀) (g : M →+ N), ⇑(f.map g) = ⇑g ∘ ⇑f

theorem BoxIntegral.BoxAdditiveMap.sum_boxes_congr E1 #

∀ {ι : Type u_1} {M : Type u_2} [inst : AddCommMonoid M] {I₀ : WithTop (BoxIntegral.Box ι)} {I : BoxIntegral.Box ι}
  [Finite ι] (f : BoxIntegral.BoxAdditiveMap ι M I₀),
  ↑I ≤ I₀ → ∀ {π₁ π₂ : BoxIntegral.Prepartition I}, π₁.iUnion = π₂.iUnion → ∑ J ∈ π₁.boxes, f J = ∑ J ∈ π₂.boxes, f J

If f is a box additive function on subboxes of I and π₁, π₂ are two prepartitions of I that cover the same part of I, then ∑ J ∈ π₁.boxes, f J = ∑ J ∈ π₂.boxes, f J.

instance BoxIntegral.BoxAdditiveMap.instNeg E0 #

{ι : Type u_1} →
  {I₀ : WithTop (BoxIntegral.Box ι)} →
    {M : Type u_4} → [inst : AddCommGroup M] → Neg (BoxIntegral.BoxAdditiveMap ι M I₀)

instance BoxIntegral.BoxAdditiveMap.instIsNegApplyBox E0 #

∀ {ι : Type u_1} {I₀ : WithTop (BoxIntegral.Box ι)} {M : Type u_4} [inst : AddCommGroup M],
  IsNegApply (BoxIntegral.BoxAdditiveMap ι M I₀)

instance BoxIntegral.BoxAdditiveMap.instSub E0 #

{ι : Type u_1} →
  {I₀ : WithTop (BoxIntegral.Box ι)} →
    {M : Type u_4} → [inst : AddCommGroup M] → Sub (BoxIntegral.BoxAdditiveMap ι M I₀)

instance BoxIntegral.BoxAdditiveMap.instIsSubApplyBox E0 #

∀ {ι : Type u_1} {I₀ : WithTop (BoxIntegral.Box ι)} {M : Type u_4} [inst : AddCommGroup M],
  IsSubApply (BoxIntegral.BoxAdditiveMap ι M I₀)

instance BoxIntegral.BoxAdditiveMap.instAddCommGroup E0 #

{ι : Type u_1} →
  {I₀ : WithTop (BoxIntegral.Box ι)} →
    {M : Type u_4} → [inst : AddCommGroup M] → AddCommGroup (BoxIntegral.BoxAdditiveMap ι M I₀)

def BoxIntegral.BoxAdditiveMap.toSMul E1 #

{ι : Type u_1} →
  {I₀ : WithTop (BoxIntegral.Box ι)} →
    {E : Type u_4} →
      [inst : NormedAddCommGroup E] →
        [inst_1 : NormedSpace ℝ E] → BoxIntegral.BoxAdditiveMap ι ℝ I₀ → BoxIntegral.BoxAdditiveMap ι (E →L[ℝ] E) I₀

If f is a box-additive map, then so is the map sending I to the scalar multiplication by f I as a continuous linear map from E to itself.

theorem BoxIntegral.BoxAdditiveMap.toSMul_apply E0 #

∀ {ι : Type u_1} {I₀ : WithTop (BoxIntegral.Box ι)} {E : Type u_4} [inst : NormedAddCommGroup E]
  [inst_1 : NormedSpace ℝ E] (f : BoxIntegral.BoxAdditiveMap ι ℝ I₀) (I : BoxIntegral.Box ι) (x : E),
  (f.toSMul I) x = f I • x

def BoxIntegral.BoxAdditiveMap.upperSubLower E1 #

{n : ℕ} →
  {G : Type u} →
    [inst : AddCommGroup G] →
      (I₀ : BoxIntegral.Box (Fin (n + 1))) →
        (i : Fin (n + 1)) →
          (f : ℝ → BoxIntegral.Box (Fin n) → G) →
            (fb : ↑(Set.Icc (I₀.lower i) (I₀.upper i)) → BoxIntegral.BoxAdditiveMap (Fin n) G ↑(I₀.face i)) →
              (∀ (x : ℝ) (hx : x ∈ Set.Icc (I₀.lower i) (I₀.upper i)) (J : BoxIntegral.Box (Fin n)),
                  f x J = (fb ⟨x, hx⟩) J) →
                BoxIntegral.BoxAdditiveMap (Fin (n + 1)) G ↑I₀

Given a box I₀ in ℝⁿ⁺¹, f x : Box (Fin n) → G is a family of functions indexed by a real x and for x ∈ [I₀.lower i, I₀.upper i], f x is box-additive on subboxes of the i-th face of I₀, then fun J ↦ f (J.upper i) (J.face i) - f (J.lower i) (J.face i) is box-additive on subboxes of I₀.

theorem BoxIntegral.BoxAdditiveMap.upperSubLower_apply E0 #

∀ {n : ℕ} {G : Type u} [inst : AddCommGroup G] (I₀ : BoxIntegral.Box (Fin (n + 1))) (i : Fin (n + 1))
  (f : ℝ → BoxIntegral.Box (Fin n) → G)
  (fb : ↑(Set.Icc (I₀.lower i) (I₀.upper i)) → BoxIntegral.BoxAdditiveMap (Fin n) G ↑(I₀.face i))
  (hf : ∀ (x : ℝ) (hx : x ∈ Set.Icc (I₀.lower i) (I₀.upper i)) (J : BoxIntegral.Box (Fin n)), f x J = (fb ⟨x, hx⟩) J)
  (J : BoxIntegral.Box (Fin (n + 1))),
  (BoxIntegral.BoxAdditiveMap.upperSubLower I₀ i f fb hf) J = f (J.upper i) (J.face i) - f (J.lower i) (J.face i)