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

43 declarations and 1 deprecated aliases. Mathlib docs · Source

def BoxIntegral.Box.splitLower E1 #

{ι : Type u_1} → BoxIntegral.Box ι → ι → ℝ → WithBot (BoxIntegral.Box ι)

Given a box I and x ∈ (I.lower i, I.upper i), the hyperplane {y : ι → ℝ | y i = x} splits I into two boxes. BoxIntegral.Box.splitLower I i x is the box I ∩ {y | y i ≤ x} (if it is nonempty). As usual, we represent a box that may be empty as WithBot (BoxIntegral.Box ι).

theorem BoxIntegral.Box.coe_splitLower E0 #

∀ {ι : Type u_1} {I : BoxIntegral.Box ι} {i : ι} {x : ℝ}, ↑(I.splitLower i x) = ↑I ∩ {y | y i ≤ x}

theorem BoxIntegral.Box.splitLower_le E1 #

∀ {ι : Type u_1} {I : BoxIntegral.Box ι} {i : ι} {x : ℝ}, I.splitLower i x ≤ ↑I

theorem BoxIntegral.Box.splitLower_eq_bot E0 #

∀ {ι : Type u_1} {I : BoxIntegral.Box ι} {i : ι} {x : ℝ}, I.splitLower i x = ⊥ ↔ x ≤ I.lower i

theorem BoxIntegral.Box.splitLower_eq_self E0 #

∀ {ι : Type u_1} {I : BoxIntegral.Box ι} {i : ι} {x : ℝ}, I.splitLower i x = ↑I ↔ I.upper i ≤ x

theorem BoxIntegral.Box.splitLower_def E0 #

∀ {ι : Type u_1} {I : BoxIntegral.Box ι} [inst : DecidableEq ι] {i : ι} {x : ℝ}
  (h : x ∈ Set.Ioo (I.lower i) (I.upper i)) (h' : optParam (∀ (j : ι), I.lower j < Function.update I.upper i x j) ⋯),
  I.splitLower i x = ↑{ lower := I.lower, upper := Function.update I.upper i x, lower_lt_upper := h' }

def BoxIntegral.Box.splitUpper E1 #

{ι : Type u_1} → BoxIntegral.Box ι → ι → ℝ → WithBot (BoxIntegral.Box ι)

Given a box I and x ∈ (I.lower i, I.upper i), the hyperplane {y : ι → ℝ | y i = x} splits I into two boxes. BoxIntegral.Box.splitUpper I i x is the box I ∩ {y | x < y i} (if it is nonempty). As usual, we represent a box that may be empty as WithBot (BoxIntegral.Box ι).

theorem BoxIntegral.Box.coe_splitUpper E0 #

∀ {ι : Type u_1} {I : BoxIntegral.Box ι} {i : ι} {x : ℝ}, ↑(I.splitUpper i x) = ↑I ∩ {y | x < y i}

theorem BoxIntegral.Box.splitUpper_le E1 #

∀ {ι : Type u_1} {I : BoxIntegral.Box ι} {i : ι} {x : ℝ}, I.splitUpper i x ≤ ↑I

theorem BoxIntegral.Box.splitUpper_eq_bot E0 #

∀ {ι : Type u_1} {I : BoxIntegral.Box ι} {i : ι} {x : ℝ}, I.splitUpper i x = ⊥ ↔ I.upper i ≤ x

theorem BoxIntegral.Box.splitUpper_eq_self E0 #

∀ {ι : Type u_1} {I : BoxIntegral.Box ι} {i : ι} {x : ℝ}, I.splitUpper i x = ↑I ↔ x ≤ I.lower i

theorem BoxIntegral.Box.splitUpper_def E0 #

∀ {ι : Type u_1} {I : BoxIntegral.Box ι} [inst : DecidableEq ι] {i : ι} {x : ℝ}
  (h : x ∈ Set.Ioo (I.lower i) (I.upper i)) (h' : optParam (∀ (j : ι), Function.update I.lower i x j < I.upper j) ⋯),
  I.splitUpper i x = ↑{ lower := Function.update I.lower i x, upper := I.upper, lower_lt_upper := h' }

theorem BoxIntegral.Box.disjoint_splitLower_splitUpper E1 #

∀ {ι : Type u_1} (I : BoxIntegral.Box ι) (i : ι) (x : ℝ), Disjoint (I.splitLower i x) (I.splitUpper i x)

theorem BoxIntegral.Box.splitLower_ne_splitUpper E1 #

∀ {ι : Type u_1} (I : BoxIntegral.Box ι) (i : ι) (x : ℝ), I.splitLower i x ≠ I.splitUpper i x

def BoxIntegral.Prepartition.split E1 #

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

The partition of I : Box ι into the boxes I ∩ {y | y ≤ x i} and I ∩ {y | x i < y}. One of these boxes can be empty, then this partition is just the single-box partition ⊤.

theorem BoxIntegral.Prepartition.mem_split_iff E0 #

∀ {ι : Type u_1} {I J : BoxIntegral.Box ι} {i : ι} {x : ℝ},
  J ∈ BoxIntegral.Prepartition.split I i x ↔ ↑J = I.splitLower i x ∨ ↑J = I.splitUpper i x

theorem BoxIntegral.Prepartition.mem_split_iff' E0 #

∀ {ι : Type u_1} {I J : BoxIntegral.Box ι} {i : ι} {x : ℝ},
  J ∈ BoxIntegral.Prepartition.split I i x ↔ ↑J = ↑I ∩ {y | y i ≤ x} ∨ ↑J = ↑I ∩ {y | x < y i}

theorem BoxIntegral.Prepartition.iUnion_split E0 #

∀ {ι : Type u_1} (I : BoxIntegral.Box ι) (i : ι) (x : ℝ), (BoxIntegral.Prepartition.split I i x).iUnion = ↑I

theorem BoxIntegral.Prepartition.isPartitionSplit E1 #

∀ {ι : Type u_1} (I : BoxIntegral.Box ι) (i : ι) (x : ℝ), (BoxIntegral.Prepartition.split I i x).IsPartition

theorem BoxIntegral.Prepartition.sum_split_boxes E1 #

∀ {ι : Type u_1} {M : Type u_3} [inst : AddCommMonoid M] (I : BoxIntegral.Box ι) (i : ι) (x : ℝ)
  (f : BoxIntegral.Box ι → M),
  ∑ J ∈ (BoxIntegral.Prepartition.split I i x).boxes, f J =
    Option.elim' 0 f (I.splitLower i x) + Option.elim' 0 f (I.splitUpper i x)

theorem BoxIntegral.Prepartition.split_of_notMem_Ioo E1 #

∀ {ι : Type u_1} {I : BoxIntegral.Box ι} {i : ι} {x : ℝ},
  x ∉ Set.Ioo (I.lower i) (I.upper i) → BoxIntegral.Prepartition.split I i x = ⊤

If x ∉ (I.lower i, I.upper i), then the hyperplane {y | y i = x} does not split I.

theorem BoxIntegral.Prepartition.coe_eq_of_mem_split_of_mem_le E0 #

∀ {ι : Type u_1} {I J : BoxIntegral.Box ι} {i : ι} {x : ℝ} {y : ι → ℝ},
  J ∈ BoxIntegral.Prepartition.split I i x → y ∈ J → y i ≤ x → ↑J = ↑I ∩ {y | y i ≤ x}

theorem BoxIntegral.Prepartition.coe_eq_of_mem_split_of_lt_mem E0 #

∀ {ι : Type u_1} {I J : BoxIntegral.Box ι} {i : ι} {x : ℝ} {y : ι → ℝ},
  J ∈ BoxIntegral.Prepartition.split I i x → y ∈ J → x < y i → ↑J = ↑I ∩ {y | x < y i}

theorem BoxIntegral.Prepartition.restrict_split E0 #

∀ {ι : Type u_1} {I J : BoxIntegral.Box ι},
  I ≤ J → ∀ (i : ι) (x : ℝ), (BoxIntegral.Prepartition.split J i x).restrict I = BoxIntegral.Prepartition.split I i x

theorem BoxIntegral.Prepartition.inf_split E1 #

∀ {ι : Type u_1} {I : BoxIntegral.Box ι} (π : BoxIntegral.Prepartition I) (i : ι) (x : ℝ),
  π ⊓ BoxIntegral.Prepartition.split I i x = π.biUnion fun J ↦ BoxIntegral.Prepartition.split J i x

def BoxIntegral.Prepartition.splitMany E1 #

{ι : Type u_1} → (I : BoxIntegral.Box ι) → Finset (ι × ℝ) → BoxIntegral.Prepartition I

Split a box along many hyperplanes {y | y i = x}; each hyperplane is given by the pair (i x).

theorem BoxIntegral.Prepartition.splitMany_empty E0 #

∀ {ι : Type u_1} (I : BoxIntegral.Box ι), BoxIntegral.Prepartition.splitMany I ∅ = ⊤

theorem BoxIntegral.Prepartition.splitMany_insert E0 #

∀ {ι : Type u_1} (I : BoxIntegral.Box ι) (s : Finset (ι × ℝ)) (p : ι × ℝ),
  BoxIntegral.Prepartition.splitMany I (insert p s) =
    BoxIntegral.Prepartition.splitMany I s ⊓ BoxIntegral.Prepartition.split I p.1 p.2

theorem BoxIntegral.Prepartition.splitMany_le_split E1 #

∀ {ι : Type u_1} (I : BoxIntegral.Box ι) {s : Finset (ι × ℝ)} {p : ι × ℝ},
  p ∈ s → BoxIntegral.Prepartition.splitMany I s ≤ BoxIntegral.Prepartition.split I p.1 p.2

theorem BoxIntegral.Prepartition.isPartition_splitMany E1 #

∀ {ι : Type u_1} (I : BoxIntegral.Box ι) (s : Finset (ι × ℝ)), (BoxIntegral.Prepartition.splitMany I s).IsPartition

theorem BoxIntegral.Prepartition.iUnion_splitMany E0 #

∀ {ι : Type u_1} (I : BoxIntegral.Box ι) (s : Finset (ι × ℝ)), (BoxIntegral.Prepartition.splitMany I s).iUnion = ↑I

theorem BoxIntegral.Prepartition.inf_splitMany E1 #

∀ {ι : Type u_1} {I : BoxIntegral.Box ι} (π : BoxIntegral.Prepartition I) (s : Finset (ι × ℝ)),
  π ⊓ BoxIntegral.Prepartition.splitMany I s = π.biUnion fun J ↦ BoxIntegral.Prepartition.splitMany J s

theorem BoxIntegral.Prepartition.not_disjoint_imp_le_of_subset_of_mem_splitMany E1 #

∀ {ι : Type u_1} {I J Js : BoxIntegral.Box ι} {s : Finset (ι × ℝ)},
  (∀ (i : ι), {(i, J.lower i), (i, J.upper i)} ⊆ s) →
    Js ∈ BoxIntegral.Prepartition.splitMany I s → ¬Disjoint ↑J ↑Js → Js ≤ J

Let s : Finset (ι × ℝ) be a set of hyperplanes {x : ι → ℝ | x i = r} in ι → ℝ encoded as pairs (i, r). Suppose that this set contains all faces of a box J. The hyperplanes of s split a box I into subboxes. Let Js be one of them. If J and Js have nonempty intersection, then Js is a subbox of J.

theorem BoxIntegral.Prepartition.eventually_not_disjoint_imp_le_of_mem_splitMany E1 #

∀ {ι : Type u_1} [Finite ι] (s : Finset (BoxIntegral.Box ι)),
  ∀ᶠ (t : Finset (ι × ℝ)) in Filter.atTop,
    ∀ (I J : BoxIntegral.Box ι), J ∈ s → ∀ J' ∈ BoxIntegral.Prepartition.splitMany I t, ¬Disjoint ↑J ↑J' → J' ≤ J

Let s be a finite set of boxes in ℝⁿ = ι → ℝ. Then there exists a finite set t₀ of hyperplanes (namely, the set of all hyperfaces of boxes in s) such that for any t ⊇ t₀ and any box I in ℝⁿ the following holds. The hyperplanes from t split I into subboxes. Let J' be one of them, and let J be one of the boxes in s. If these boxes have a nonempty intersection, then J' ≤ J.

theorem BoxIntegral.Prepartition.eventually_splitMany_inf_eq_filter E1 #

∀ {ι : Type u_1} {I : BoxIntegral.Box ι} [Finite ι] (π : BoxIntegral.Prepartition I),
  ∀ᶠ (t : Finset (ι × ℝ)) in Filter.atTop,
    π ⊓ BoxIntegral.Prepartition.splitMany I t = (BoxIntegral.Prepartition.splitMany I t).filter fun J ↦ ↑J ⊆ π.iUnion

theorem BoxIntegral.Prepartition.exists_splitMany_inf_eq_filter_of_finite E1 #

∀ {ι : Type u_1} {I : BoxIntegral.Box ι} [Finite ι] (s : Set (BoxIntegral.Prepartition I)),
  s.Finite →
    ∃ t,
      ∀ π ∈ s,
        π ⊓ BoxIntegral.Prepartition.splitMany I t =
          (BoxIntegral.Prepartition.splitMany I t).filter fun J ↦ ↑J ⊆ π.iUnion

theorem BoxIntegral.Prepartition.IsPartition.exists_splitMany_le E1 #

∀ {ι : Type u_1} [Finite ι] {I : BoxIntegral.Box ι} {π : BoxIntegral.Prepartition I},
  π.IsPartition → ∃ s, BoxIntegral.Prepartition.splitMany I s ≤ π

If π is a partition of I, then there exists a finite set s of hyperplanes such that splitMany I s ≤ π.

theorem BoxIntegral.Prepartition.exists_iUnion_eq_sdiff E1 #

∀ {ι : Type u_1} {I : BoxIntegral.Box ι} [Finite ι] (π : BoxIntegral.Prepartition I), ∃ π', π'.iUnion = ↑I \ π.iUnion

For every prepartition π of I there exists a prepartition that covers exactly I \ π.iUnion.

def BoxIntegral.Prepartition.compl E1 #

{ι : Type u_1} → {I : BoxIntegral.Box ι} → [Finite ι] → BoxIntegral.Prepartition I → BoxIntegral.Prepartition I

If π is a prepartition of I, then π.compl is a prepartition of I such that π.compl.iUnion = I \ π.iUnion.

theorem BoxIntegral.Prepartition.iUnion_compl E0 #

∀ {ι : Type u_1} {I : BoxIntegral.Box ι} [inst : Finite ι] (π : BoxIntegral.Prepartition I),
  π.compl.iUnion = ↑I \ π.iUnion

theorem BoxIntegral.Prepartition.compl_congr E1 #

∀ {ι : Type u_1} {I : BoxIntegral.Box ι} [inst : Finite ι] {π₁ π₂ : BoxIntegral.Prepartition I},
  π₁.iUnion = π₂.iUnion → π₁.compl = π₂.compl

Since the definition of BoxIntegral.Prepartition.compl uses Exists.choose, the result depends only on π.iUnion.

theorem BoxIntegral.Prepartition.IsPartition.compl_eq_bot E1 #

∀ {ι : Type u_1} {I : BoxIntegral.Box ι} [inst : Finite ι] {π : BoxIntegral.Prepartition I}, π.IsPartition → π.compl = ⊥

theorem BoxIntegral.Prepartition.compl_top E0 #

∀ {ι : Type u_1} {I : BoxIntegral.Box ι} [inst : Finite ι], ⊤.compl = ⊥

Deprecated aliases

NameNew nameSince
BoxIntegral.Prepartition.exists_iUnion_eq_diffBoxIntegral.Prepartition.exists_iUnion_eq_sdiff2026-06-03