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.Tagged

80 declarations. Mathlib docs · Source

Tagged partitions

A tagged (pre)partition is a (pre)partition π enriched with a tagged point for each box of π. For simplicity we require that the function BoxIntegral.TaggedPrepartition.tag is defined on all boxes J : Box ι but use its values only on boxes of the partition. Given π : BoxIntegral.TaggedPrepartition I, we require that each BoxIntegral.TaggedPrepartition π J belongs to BoxIntegral.Box.Icc I. If for every J ∈ π, π.tag J belongs to J.Icc, then π is called a Henstock partition. We do not include this assumption into the definition of a tagged (pre)partition because McShane integral is defined as a limit along tagged partitions without this requirement.

Tags

rectangular box, box partition

theorem BoxIntegral.TaggedPrepartition.mk.congr_simp E1 #

∀ {ι : Type u_1} {I : BoxIntegral.Box ι} (toPrepartition toPrepartition_1 : BoxIntegral.Prepartition I),
  toPrepartition = toPrepartition_1 →
    ∀ (tag tag_1 : BoxIntegral.Box ι → ι → ℝ) (e_tag : tag = tag_1)
      (tag_mem_Icc : ∀ (J : BoxIntegral.Box ι), tag J ∈ BoxIntegral.Box.Icc I),
      { toPrepartition := toPrepartition, tag := tag, tag_mem_Icc := tag_mem_Icc } =
        { toPrepartition := toPrepartition_1, tag := tag_1, tag_mem_Icc := ⋯ }

def BoxIntegral.TaggedPrepartition.ctorIdx E1 #

{ι : Type u_1} → {I : BoxIntegral.Box ι} → BoxIntegral.TaggedPrepartition I → ℕ

theorem BoxIntegral.TaggedPrepartition.mk.injEq E0 #

∀ {ι : Type u_1} {I : BoxIntegral.Box ι} (toPrepartition : BoxIntegral.Prepartition I) (tag : BoxIntegral.Box ι → ι → ℝ)
  (tag_mem_Icc : ∀ (J : BoxIntegral.Box ι), tag J ∈ BoxIntegral.Box.Icc I)
  (toPrepartition_1 : BoxIntegral.Prepartition I) (tag_1 : BoxIntegral.Box ι → ι → ℝ)
  (tag_mem_Icc_1 : ∀ (J : BoxIntegral.Box ι), tag_1 J ∈ BoxIntegral.Box.Icc I),
  ({ toPrepartition := toPrepartition, tag := tag, tag_mem_Icc := tag_mem_Icc } =
      { toPrepartition := toPrepartition_1, tag := tag_1, tag_mem_Icc := tag_mem_Icc_1 }) =
    (toPrepartition = toPrepartition_1 ∧ tag = tag_1)

theorem BoxIntegral.TaggedPrepartition.single.congr_simp E1 #

∀ {ι : Type u_1} (I J J_1 : BoxIntegral.Box ι) (e_J : J = J_1) (hJ : J ≤ I) (x x_1 : ι → ℝ) (e_x : x = x_1)
  (h : x ∈ BoxIntegral.Box.Icc I),
  BoxIntegral.TaggedPrepartition.single I J hJ x h = BoxIntegral.TaggedPrepartition.single I J_1 ⋯ x_1 ⋯

theorem BoxIntegral.TaggedPrepartition.mk.inj E1 #

∀ {ι : Type u_1} {I : BoxIntegral.Box ι} {toPrepartition : BoxIntegral.Prepartition I} {tag : BoxIntegral.Box ι → ι → ℝ}
  {tag_mem_Icc : ∀ (J : BoxIntegral.Box ι), tag J ∈ BoxIntegral.Box.Icc I}
  {toPrepartition_1 : BoxIntegral.Prepartition I} {tag_1 : BoxIntegral.Box ι → ι → ℝ}
  {tag_mem_Icc_1 : ∀ (J : BoxIntegral.Box ι), tag_1 J ∈ BoxIntegral.Box.Icc I},
  { toPrepartition := toPrepartition, tag := tag, tag_mem_Icc := tag_mem_Icc } =
      { toPrepartition := toPrepartition_1, tag := tag_1, tag_mem_Icc := tag_mem_Icc_1 } →
    toPrepartition = toPrepartition_1 ∧ tag = tag_1

structure BoxIntegral.TaggedPrepartition E1 #

{ι : Type u_1} → BoxIntegral.Box ι → Type u_1

A tagged prepartition is a prepartition enriched with a tagged point for each box of the prepartition. For simplicity we require that tag is defined for all boxes in ι → ℝ but we will use only the values of tag on the boxes of the partition.

ctor BoxIntegral.TaggedPrepartition.mk E0 #

{ι : Type u_1} →
  {I : BoxIntegral.Box ι} →
    BoxIntegral.Prepartition I →
      (tag : BoxIntegral.Box ι → ι → ℝ) →
        (∀ (J : BoxIntegral.Box ι), tag J ∈ BoxIntegral.Box.Icc I) → BoxIntegral.TaggedPrepartition I

abbrev BoxIntegral.TaggedPrepartition.toPrepartition E1 #

{ι : Type u_1} → {I : BoxIntegral.Box ι} → BoxIntegral.TaggedPrepartition I → BoxIntegral.Prepartition I

abbrev BoxIntegral.TaggedPrepartition.tag E1 #

{ι : Type u_1} → {I : BoxIntegral.Box ι} → BoxIntegral.TaggedPrepartition I → BoxIntegral.Box ι → ι → ℝ

Choice of tagged point of each box in this prepartition: we extend this to a total function, on all boxes in ι → ℝ.

theorem BoxIntegral.TaggedPrepartition.tag_mem_Icc E1 #

∀ {ι : Type u_1} {I : BoxIntegral.Box ι} (self : BoxIntegral.TaggedPrepartition I) (J : BoxIntegral.Box ι),
  self.tag J ∈ BoxIntegral.Box.Icc I

Each tagged point belongs to I

instance BoxIntegral.TaggedPrepartition.instMembershipBox E0 #

{ι : Type u_1} → {I : BoxIntegral.Box ι} → Membership (BoxIntegral.Box ι) (BoxIntegral.TaggedPrepartition I)

theorem BoxIntegral.TaggedPrepartition.mem_toPrepartition E0 #

∀ {ι : Type u_1} {I J : BoxIntegral.Box ι} {π : BoxIntegral.TaggedPrepartition I}, J ∈ π.toPrepartition ↔ J ∈ π

theorem BoxIntegral.TaggedPrepartition.mem_mk E0 #

∀ {ι : Type u_1} {I J : BoxIntegral.Box ι} (π : BoxIntegral.Prepartition I) (f : BoxIntegral.Box ι → ι → ℝ)
  (h : ∀ (J : BoxIntegral.Box ι), f J ∈ BoxIntegral.Box.Icc I),
  J ∈ { toPrepartition := π, tag := f, tag_mem_Icc := h } ↔ J ∈ π

def BoxIntegral.TaggedPrepartition.iUnion E1 #

{ι : Type u_1} → {I : BoxIntegral.Box ι} → BoxIntegral.TaggedPrepartition I → Set (ι → ℝ)

Union of all boxes of a tagged prepartition.

theorem BoxIntegral.TaggedPrepartition.iUnion_def E0 #

∀ {ι : Type u_1} {I : BoxIntegral.Box ι} (π : BoxIntegral.TaggedPrepartition I), π.iUnion = ⋃ J ∈ π, ↑J

theorem BoxIntegral.TaggedPrepartition.iUnion_mk E0 #

∀ {ι : Type u_1} {I : BoxIntegral.Box ι} (π : BoxIntegral.Prepartition I) (f : BoxIntegral.Box ι → ι → ℝ)
  (h : ∀ (J : BoxIntegral.Box ι), f J ∈ BoxIntegral.Box.Icc I),
  { toPrepartition := π, tag := f, tag_mem_Icc := h }.iUnion = π.iUnion

theorem BoxIntegral.TaggedPrepartition.iUnion_toPrepartition E0 #

∀ {ι : Type u_1} {I : BoxIntegral.Box ι} (π : BoxIntegral.TaggedPrepartition I), π.iUnion = π.iUnion

theorem BoxIntegral.TaggedPrepartition.mem_iUnion E0 #

∀ {ι : Type u_1} {I : BoxIntegral.Box ι} (π : BoxIntegral.TaggedPrepartition I) {x : ι → ℝ},
  x ∈ π.iUnion ↔ ∃ J ∈ π, x ∈ J

theorem BoxIntegral.TaggedPrepartition.subset_iUnion E1 #

∀ {ι : Type u_1} {I J : BoxIntegral.Box ι} (π : BoxIntegral.TaggedPrepartition I), J ∈ π → ↑J ⊆ π.iUnion

theorem BoxIntegral.TaggedPrepartition.iUnion_subset E1 #

∀ {ι : Type u_1} {I : BoxIntegral.Box ι} (π : BoxIntegral.TaggedPrepartition I), π.iUnion ⊆ ↑I

def BoxIntegral.TaggedPrepartition.IsPartition E1 #

{ι : Type u_1} → {I : BoxIntegral.Box ι} → BoxIntegral.TaggedPrepartition I → Prop

A tagged prepartition is a partition if it covers the whole box.

theorem BoxIntegral.TaggedPrepartition.isPartition_iff_iUnion_eq E0 #

∀ {ι : Type u_1} {I : BoxIntegral.Box ι} (π : BoxIntegral.TaggedPrepartition I), π.IsPartition ↔ π.iUnion = ↑I

def BoxIntegral.TaggedPrepartition.filter E1 #

{ι : Type u_1} →
  {I : BoxIntegral.Box ι} →
    BoxIntegral.TaggedPrepartition I → (BoxIntegral.Box ι → Prop) → BoxIntegral.TaggedPrepartition I

The tagged partition made of boxes of π that satisfy predicate p.

theorem BoxIntegral.TaggedPrepartition.filter_boxes_val E0 #

∀ {ι : Type u_1} {I : BoxIntegral.Box ι} (π : BoxIntegral.TaggedPrepartition I) (p : BoxIntegral.Box ι → Prop),
  (π.filter p).boxes.val = Multiset.filter (fun J ↦ p J) π.boxes.val

theorem BoxIntegral.TaggedPrepartition.filter_tag E0 #

∀ {ι : Type u_1} {I : BoxIntegral.Box ι} (π : BoxIntegral.TaggedPrepartition I) (p : BoxIntegral.Box ι → Prop),
  (π.filter p).tag = π.tag

theorem BoxIntegral.TaggedPrepartition.mem_filter E0 #

∀ {ι : Type u_1} {I J : BoxIntegral.Box ι} (π : BoxIntegral.TaggedPrepartition I) {p : BoxIntegral.Box ι → Prop},
  J ∈ π.filter p ↔ J ∈ π ∧ p J

theorem BoxIntegral.TaggedPrepartition.iUnion_filter_not E0 #

∀ {ι : Type u_1} {I : BoxIntegral.Box ι} (π : BoxIntegral.TaggedPrepartition I) (p : BoxIntegral.Box ι → Prop),
  (π.filter fun J ↦ ¬p J).iUnion = π.iUnion \ (π.filter p).iUnion

def BoxIntegral.Prepartition.biUnionTagged E1 #

{ι : Type u_1} →
  {I : BoxIntegral.Box ι} →
    BoxIntegral.Prepartition I →
      ((J : BoxIntegral.Box ι) → BoxIntegral.TaggedPrepartition J) → BoxIntegral.TaggedPrepartition I

Given a partition π of I : BoxIntegral.Box ι and a collection of tagged partitions πi J of all boxes J ∈ π, returns the tagged partition of I into all the boxes of πi J with tags coming from (πi J).tag.

theorem BoxIntegral.Prepartition.mem_biUnionTagged E0 #

∀ {ι : Type u_1} {I J : BoxIntegral.Box ι} (π : BoxIntegral.Prepartition I)
  {πi : (J : BoxIntegral.Box ι) → BoxIntegral.TaggedPrepartition J}, J ∈ π.biUnionTagged πi ↔ ∃ J' ∈ π, J ∈ πi J'

theorem BoxIntegral.Prepartition.tag_biUnionTagged E1 #

∀ {ι : Type u_1} {I J : BoxIntegral.Box ι} (π : BoxIntegral.Prepartition I)
  {πi : (J : BoxIntegral.Box ι) → BoxIntegral.TaggedPrepartition J},
  J ∈ π → ∀ {J' : BoxIntegral.Box ι}, J' ∈ πi J → (π.biUnionTagged πi).tag J' = (πi J).tag J'

theorem BoxIntegral.Prepartition.iUnion_biUnionTagged E0 #

∀ {ι : Type u_1} {I : BoxIntegral.Box ι} (π : BoxIntegral.Prepartition I)
  (πi : (J : BoxIntegral.Box ι) → BoxIntegral.TaggedPrepartition J),
  (π.biUnionTagged πi).iUnion = ⋃ J ∈ π, (πi J).iUnion

theorem BoxIntegral.Prepartition.forall_biUnionTagged E1 #

∀ {ι : Type u_1} {I : BoxIntegral.Box ι} (p : (ι → ℝ) → BoxIntegral.Box ι → Prop) (π : BoxIntegral.Prepartition I)
  (πi : (J : BoxIntegral.Box ι) → BoxIntegral.TaggedPrepartition J),
  (∀ J ∈ π.biUnionTagged πi, p ((π.biUnionTagged πi).tag J) J) ↔ ∀ J ∈ π, ∀ J' ∈ πi J, p ((πi J).tag J') J'

theorem BoxIntegral.Prepartition.IsPartition.biUnionTagged E1 #

∀ {ι : Type u_1} {I : BoxIntegral.Box ι} {π : BoxIntegral.Prepartition I},
  π.IsPartition →
    ∀ {πi : (J : BoxIntegral.Box ι) → BoxIntegral.TaggedPrepartition J},
      (∀ J ∈ π, (πi J).IsPartition) → (π.biUnionTagged πi).IsPartition

def BoxIntegral.TaggedPrepartition.biUnionPrepartition E1 #

{ι : Type u_1} →
  {I : BoxIntegral.Box ι} →
    BoxIntegral.TaggedPrepartition I →
      ((J : BoxIntegral.Box ι) → BoxIntegral.Prepartition J) → BoxIntegral.TaggedPrepartition I

Given a tagged partition π of I and a (not tagged) partition πi J hJ of each J ∈ π, returns the tagged partition of I into all the boxes of all πi J hJ. The tag of a box J is defined to be the π.tag of the box of the partition π that includes J.

Note that usually the result is not a Henstock partition.

theorem BoxIntegral.TaggedPrepartition.biUnionPrepartition_tag E0 #

∀ {ι : Type u_1} {I : BoxIntegral.Box ι} (π : BoxIntegral.TaggedPrepartition I)
  (πi : (J : BoxIntegral.Box ι) → BoxIntegral.Prepartition J),
  (π.biUnionPrepartition πi).tag = fun J ↦ π.tag (π.biUnionIndex πi J)

theorem BoxIntegral.TaggedPrepartition.IsPartition.biUnionPrepartition E1 #

∀ {ι : Type u_1} {I : BoxIntegral.Box ι} {π : BoxIntegral.TaggedPrepartition I},
  π.IsPartition →
    ∀ {πi : (J : BoxIntegral.Box ι) → BoxIntegral.Prepartition J},
      (∀ J ∈ π, (πi J).IsPartition) → (π.biUnionPrepartition πi).IsPartition

def BoxIntegral.TaggedPrepartition.infPrepartition E1 #

{ι : Type u_1} →
  {I : BoxIntegral.Box ι} →
    BoxIntegral.TaggedPrepartition I → BoxIntegral.Prepartition I → BoxIntegral.TaggedPrepartition I

Given two partitions π₁ and π₁, one of them tagged and the other is not, returns the tagged partition with toPrepartition = π₁.toPrepartition ⊓ π₂ and tags coming from π₁.

Note that usually the result is not a Henstock partition.

theorem BoxIntegral.TaggedPrepartition.infPrepartition_toPrepartition E0 #

∀ {ι : Type u_1} {I : BoxIntegral.Box ι} (π : BoxIntegral.TaggedPrepartition I) (π' : BoxIntegral.Prepartition I),
  (π.infPrepartition π').toPrepartition = π.toPrepartition ⊓ π'

theorem BoxIntegral.TaggedPrepartition.mem_infPrepartition_comm E0 #

∀ {ι : Type u_1} {I J : BoxIntegral.Box ι} {π₁ π₂ : BoxIntegral.TaggedPrepartition I},
  J ∈ π₁.infPrepartition π₂.toPrepartition ↔ J ∈ π₂.infPrepartition π₁.toPrepartition

theorem BoxIntegral.TaggedPrepartition.IsPartition.infPrepartition E1 #

∀ {ι : Type u_1} {I : BoxIntegral.Box ι} {π₁ : BoxIntegral.TaggedPrepartition I},
  π₁.IsPartition → ∀ {π₂ : BoxIntegral.Prepartition I}, π₂.IsPartition → (π₁.infPrepartition π₂).IsPartition

def BoxIntegral.TaggedPrepartition.IsHenstock E1 #

{ι : Type u_1} → {I : BoxIntegral.Box ι} → BoxIntegral.TaggedPrepartition I → Prop

A tagged partition is said to be a Henstock partition if for each J ∈ π, the tag of J belongs to J.Icc.

theorem BoxIntegral.TaggedPrepartition.isHenstock_biUnionTagged E0 #

∀ {ι : Type u_1} {I : BoxIntegral.Box ι} {π : BoxIntegral.Prepartition I}
  {πi : (J : BoxIntegral.Box ι) → BoxIntegral.TaggedPrepartition J},
  (π.biUnionTagged πi).IsHenstock ↔ ∀ J ∈ π, (πi J).IsHenstock

theorem BoxIntegral.TaggedPrepartition.IsHenstock.card_filter_tag_eq_le E1 #

∀ {ι : Type u_1} {I : BoxIntegral.Box ι} {π : BoxIntegral.TaggedPrepartition I} [inst : Fintype ι],
  π.IsHenstock → ∀ (x : ι → ℝ), {J ∈ π.boxes | π.tag J = x}.card ≤ 2 ^ Fintype.card ι

In a Henstock prepartition, there are at most 2 ^ Fintype.card ι boxes with a given tag.

def BoxIntegral.TaggedPrepartition.IsSubordinate E1 #

{ι : Type u_1} →
  {I : BoxIntegral.Box ι} → [Fintype ι] → BoxIntegral.TaggedPrepartition I → ((ι → ℝ) → ↑(Set.Ioi 0)) → Prop

A tagged partition π is subordinate to r : (ι → ℝ) → ℝ if each box J ∈ π is included in the closed ball with center π.tag J and radius r (π.tag J).

theorem BoxIntegral.TaggedPrepartition.isSubordinate_biUnionTagged E0 #

∀ {ι : Type u_1} {I : BoxIntegral.Box ι} {r : (ι → ℝ) → ↑(Set.Ioi 0)} [inst : Fintype ι]
  {π : BoxIntegral.Prepartition I} {πi : (J : BoxIntegral.Box ι) → BoxIntegral.TaggedPrepartition J},
  (π.biUnionTagged πi).IsSubordinate r ↔ ∀ J ∈ π, (πi J).IsSubordinate r

theorem BoxIntegral.TaggedPrepartition.IsSubordinate.biUnionPrepartition E1 #

∀ {ι : Type u_1} {I : BoxIntegral.Box ι} {π : BoxIntegral.TaggedPrepartition I} {r : (ι → ℝ) → ↑(Set.Ioi 0)}
  [inst : Fintype ι],
  π.IsSubordinate r →
    ∀ (πi : (J : BoxIntegral.Box ι) → BoxIntegral.Prepartition J), (π.biUnionPrepartition πi).IsSubordinate r

theorem BoxIntegral.TaggedPrepartition.IsSubordinate.infPrepartition E1 #

∀ {ι : Type u_1} {I : BoxIntegral.Box ι} {π : BoxIntegral.TaggedPrepartition I} {r : (ι → ℝ) → ↑(Set.Ioi 0)}
  [inst : Fintype ι], π.IsSubordinate r → ∀ (π' : BoxIntegral.Prepartition I), (π.infPrepartition π').IsSubordinate r

theorem BoxIntegral.TaggedPrepartition.IsSubordinate.mono' E1 #

∀ {ι : Type u_1} {I : BoxIntegral.Box ι} {r₁ r₂ : (ι → ℝ) → ↑(Set.Ioi 0)} [inst : Fintype ι]
  {π : BoxIntegral.TaggedPrepartition I},
  π.IsSubordinate r₁ → (∀ J ∈ π, r₁ (π.tag J) ≤ r₂ (π.tag J)) → π.IsSubordinate r₂

theorem BoxIntegral.TaggedPrepartition.IsSubordinate.mono E1 #

∀ {ι : Type u_1} {I : BoxIntegral.Box ι} {r₁ r₂ : (ι → ℝ) → ↑(Set.Ioi 0)} [inst : Fintype ι]
  {π : BoxIntegral.TaggedPrepartition I},
  π.IsSubordinate r₁ → (∀ x ∈ BoxIntegral.Box.Icc I, r₁ x ≤ r₂ x) → π.IsSubordinate r₂

theorem BoxIntegral.TaggedPrepartition.IsSubordinate.diam_le E1 #

∀ {ι : Type u_1} {I J : BoxIntegral.Box ι} {r : (ι → ℝ) → ↑(Set.Ioi 0)} [inst : Fintype ι]
  {π : BoxIntegral.TaggedPrepartition I},
  π.IsSubordinate r → J ∈ π.boxes → Metric.diam (BoxIntegral.Box.Icc J) ≤ 2 * ↑(r (π.tag J))

def BoxIntegral.TaggedPrepartition.single E1 #

{ι : Type u_1} →
  (I J : BoxIntegral.Box ι) → J ≤ I → (x : ι → ℝ) → x ∈ BoxIntegral.Box.Icc I → BoxIntegral.TaggedPrepartition I

Tagged prepartition with single box and prescribed tag.

theorem BoxIntegral.TaggedPrepartition.single_tag E0 #

∀ {ι : Type u_1} (I J : BoxIntegral.Box ι) (hJ : J ≤ I) (x : ι → ℝ) (h : x ∈ BoxIntegral.Box.Icc I),
  (BoxIntegral.TaggedPrepartition.single I J hJ x h).tag = fun x_1 ↦ x

theorem BoxIntegral.TaggedPrepartition.single_boxes_val E0 #

∀ {ι : Type u_1} (I J : BoxIntegral.Box ι) (hJ : J ≤ I) (x : ι → ℝ) (h : x ∈ BoxIntegral.Box.Icc I),
  (BoxIntegral.TaggedPrepartition.single I J hJ x h).boxes.val = {J}

theorem BoxIntegral.TaggedPrepartition.mem_single E0 #

∀ {ι : Type u_1} {I J : BoxIntegral.Box ι} {x : ι → ℝ} {J' : BoxIntegral.Box ι} (hJ : J ≤ I)
  (h : x ∈ BoxIntegral.Box.Icc I), J' ∈ BoxIntegral.TaggedPrepartition.single I J hJ x h ↔ J' = J

instance BoxIntegral.TaggedPrepartition.instInhabited E0 #

{ι : Type u_1} → (I : BoxIntegral.Box ι) → Inhabited (BoxIntegral.TaggedPrepartition I)

theorem BoxIntegral.TaggedPrepartition.isPartition_single_iff E0 #

∀ {ι : Type u_1} {I J : BoxIntegral.Box ι} {x : ι → ℝ} (hJ : J ≤ I) (h : x ∈ BoxIntegral.Box.Icc I),
  (BoxIntegral.TaggedPrepartition.single I J hJ x h).IsPartition ↔ J = I

theorem BoxIntegral.TaggedPrepartition.isPartition_single E1 #

∀ {ι : Type u_1} {I : BoxIntegral.Box ι} {x : ι → ℝ} (h : x ∈ BoxIntegral.Box.Icc I),
  (BoxIntegral.TaggedPrepartition.single I I ⋯ x h).IsPartition

theorem BoxIntegral.TaggedPrepartition.forall_mem_single E1 #

∀ {ι : Type u_1} {I J : BoxIntegral.Box ι} {x : ι → ℝ} (p : (ι → ℝ) → BoxIntegral.Box ι → Prop) (hJ : J ≤ I)
  (h : x ∈ BoxIntegral.Box.Icc I),
  (∀ J' ∈ BoxIntegral.TaggedPrepartition.single I J hJ x h,
      p ((BoxIntegral.TaggedPrepartition.single I J hJ x h).tag J') J') ↔
    p x J

theorem BoxIntegral.TaggedPrepartition.isHenstock_single_iff E0 #

∀ {ι : Type u_1} {I J : BoxIntegral.Box ι} {x : ι → ℝ} (hJ : J ≤ I) (h : x ∈ BoxIntegral.Box.Icc I),
  (BoxIntegral.TaggedPrepartition.single I J hJ x h).IsHenstock ↔ x ∈ BoxIntegral.Box.Icc J

theorem BoxIntegral.TaggedPrepartition.isHenstock_single E1 #

∀ {ι : Type u_1} {I : BoxIntegral.Box ι} {x : ι → ℝ} (h : x ∈ BoxIntegral.Box.Icc I),
  (BoxIntegral.TaggedPrepartition.single I I ⋯ x h).IsHenstock

theorem BoxIntegral.TaggedPrepartition.isSubordinate_single E0 #

∀ {ι : Type u_1} {I J : BoxIntegral.Box ι} {x : ι → ℝ} {r : (ι → ℝ) → ↑(Set.Ioi 0)} [inst : Fintype ι] (hJ : J ≤ I)
  (h : x ∈ BoxIntegral.Box.Icc I),
  (BoxIntegral.TaggedPrepartition.single I J hJ x h).IsSubordinate r ↔
    BoxIntegral.Box.Icc J ⊆ Metric.closedBall x ↑(r x)

theorem BoxIntegral.TaggedPrepartition.iUnion_single E0 #

∀ {ι : Type u_1} {I J : BoxIntegral.Box ι} {x : ι → ℝ} (hJ : J ≤ I) (h : x ∈ BoxIntegral.Box.Icc I),
  (BoxIntegral.TaggedPrepartition.single I J hJ x h).iUnion = ↑J

def BoxIntegral.TaggedPrepartition.disjUnion E1 #

{ι : Type u_1} →
  {I : BoxIntegral.Box ι} →
    (π₁ π₂ : BoxIntegral.TaggedPrepartition I) → Disjoint π₁.iUnion π₂.iUnion → BoxIntegral.TaggedPrepartition I

Union of two tagged prepartitions with disjoint unions of boxes.

theorem BoxIntegral.TaggedPrepartition.disjUnion_boxes E0 #

∀ {ι : Type u_1} {I : BoxIntegral.Box ι} {π₁ π₂ : BoxIntegral.TaggedPrepartition I} (h : Disjoint π₁.iUnion π₂.iUnion),
  (π₁.disjUnion π₂ h).boxes = π₁.boxes ∪ π₂.boxes

theorem BoxIntegral.TaggedPrepartition.mem_disjUnion E0 #

∀ {ι : Type u_1} {I J : BoxIntegral.Box ι} {π₁ π₂ : BoxIntegral.TaggedPrepartition I}
  (h : Disjoint π₁.iUnion π₂.iUnion), J ∈ π₁.disjUnion π₂ h ↔ J ∈ π₁ ∨ J ∈ π₂

theorem BoxIntegral.TaggedPrepartition.iUnion_disjUnion E0 #

∀ {ι : Type u_1} {I : BoxIntegral.Box ι} {π₁ π₂ : BoxIntegral.TaggedPrepartition I} (h : Disjoint π₁.iUnion π₂.iUnion),
  (π₁.disjUnion π₂ h).iUnion = π₁.iUnion ∪ π₂.iUnion

theorem BoxIntegral.TaggedPrepartition.disjUnion_tag_of_mem_left E1 #

∀ {ι : Type u_1} {I J : BoxIntegral.Box ι} {π₁ π₂ : BoxIntegral.TaggedPrepartition I}
  (h : Disjoint π₁.iUnion π₂.iUnion), J ∈ π₁ → (π₁.disjUnion π₂ h).tag J = π₁.tag J

theorem BoxIntegral.TaggedPrepartition.disjUnion_tag_of_mem_right E1 #

∀ {ι : Type u_1} {I J : BoxIntegral.Box ι} {π₁ π₂ : BoxIntegral.TaggedPrepartition I}
  (h : Disjoint π₁.iUnion π₂.iUnion), J ∈ π₂ → (π₁.disjUnion π₂ h).tag J = π₂.tag J

theorem BoxIntegral.TaggedPrepartition.IsSubordinate.disjUnion E1 #

∀ {ι : Type u_1} {I : BoxIntegral.Box ι} {π₁ π₂ : BoxIntegral.TaggedPrepartition I} {r : (ι → ℝ) → ↑(Set.Ioi 0)}
  [inst : Fintype ι],
  π₁.IsSubordinate r → π₂.IsSubordinate r → ∀ (h : Disjoint π₁.iUnion π₂.iUnion), (π₁.disjUnion π₂ h).IsSubordinate r

theorem BoxIntegral.TaggedPrepartition.IsHenstock.disjUnion E1 #

∀ {ι : Type u_1} {I : BoxIntegral.Box ι} {π₁ π₂ : BoxIntegral.TaggedPrepartition I},
  π₁.IsHenstock → π₂.IsHenstock → ∀ (h : Disjoint π₁.iUnion π₂.iUnion), (π₁.disjUnion π₂ h).IsHenstock

def BoxIntegral.TaggedPrepartition.embedBox E1 #

{ι : Type u_1} → (I J : BoxIntegral.Box ι) → I ≤ J → BoxIntegral.TaggedPrepartition I ↪ BoxIntegral.TaggedPrepartition J

If I ≤ J, then every tagged prepartition of I is a tagged prepartition of J.

def BoxIntegral.TaggedPrepartition.distortion E1 #

{ι : Type u_1} → {I : BoxIntegral.Box ι} → BoxIntegral.TaggedPrepartition I → [Fintype ι] → NNReal

The distortion of a tagged prepartition is the maximum of distortions of its boxes.

theorem BoxIntegral.TaggedPrepartition.distortion_le_of_mem E1 #

∀ {ι : Type u_1} {I J : BoxIntegral.Box ι} (π : BoxIntegral.TaggedPrepartition I) [inst : Fintype ι],
  J ∈ π → J.distortion ≤ π.distortion

theorem BoxIntegral.TaggedPrepartition.distortion_le_iff E0 #

∀ {ι : Type u_1} {I : BoxIntegral.Box ι} (π : BoxIntegral.TaggedPrepartition I) [inst : Fintype ι] {c : NNReal},
  π.distortion ≤ c ↔ ∀ J ∈ π, J.distortion ≤ c

theorem BoxIntegral.Prepartition.distortion_biUnionTagged E0 #

∀ {ι : Type u_1} {I : BoxIntegral.Box ι} [inst : Fintype ι] (π : BoxIntegral.Prepartition I)
  (πi : (J : BoxIntegral.Box ι) → BoxIntegral.TaggedPrepartition J),
  (π.biUnionTagged πi).distortion = π.boxes.sup fun J ↦ (πi J).distortion

theorem BoxIntegral.TaggedPrepartition.distortion_biUnionPrepartition E0 #

∀ {ι : Type u_1} {I : BoxIntegral.Box ι} [inst : Fintype ι] (π : BoxIntegral.TaggedPrepartition I)
  (πi : (J : BoxIntegral.Box ι) → BoxIntegral.Prepartition J),
  (π.biUnionPrepartition πi).distortion = π.boxes.sup fun J ↦ (πi J).distortion

theorem BoxIntegral.TaggedPrepartition.distortion_disjUnion E0 #

∀ {ι : Type u_1} {I : BoxIntegral.Box ι} {π₁ π₂ : BoxIntegral.TaggedPrepartition I} [inst : Fintype ι]
  (h : Disjoint π₁.iUnion π₂.iUnion), (π₁.disjUnion π₂ h).distortion = max π₁.distortion π₂.distortion

theorem BoxIntegral.TaggedPrepartition.distortion_of_const E1 #

∀ {ι : Type u_1} {I : BoxIntegral.Box ι} (π : BoxIntegral.TaggedPrepartition I) [inst : Fintype ι] {c : NNReal},
  π.boxes.Nonempty → (∀ J ∈ π, J.distortion = c) → π.distortion = c

theorem BoxIntegral.TaggedPrepartition.distortion_single E0 #

∀ {ι : Type u_1} {I J : BoxIntegral.Box ι} {x : ι → ℝ} [inst : Fintype ι] (hJ : J ≤ I) (h : x ∈ BoxIntegral.Box.Icc I),
  (BoxIntegral.TaggedPrepartition.single I J hJ x h).distortion = J.distortion

theorem BoxIntegral.TaggedPrepartition.distortion_filter_le E1 #

∀ {ι : Type u_1} {I : BoxIntegral.Box ι} (π : BoxIntegral.TaggedPrepartition I) [inst : Fintype ι]
  (p : BoxIntegral.Box ι → Prop), (π.filter p).distortion ≤ π.distortion