Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(measure_space): define sigma finite measures (#4265)
They are defined as a `Prop`. The noncomputable "eliminator" is called `spanning_sets`, and satisfies monotonicity, even though that is not required to give a `sigma_finite` instance. I define a helper function `accumulate s := ⋃ y ≤ x, s y`. This is helpful, to separate out some monotonicity proofs. It is in its own file purely for import reasons (there is no good file to put it that imports both `set.lattice` and `finset.basic`, the latter is used in 1 lemma).
- Loading branch information
1 parent
253b120
commit 8600cb0
Showing
3 changed files
with
146 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
/- | ||
Copyright (c) 2020 Floris van Doorn. All rights reserved. | ||
Released under Apache 2.0 license as described in the file LICENSE. | ||
Authors: Floris van Doorn | ||
-/ | ||
import data.set.lattice | ||
/-! | ||
# Accumulate | ||
The function `accumulate` takes a set `s` and returns `⋃ y ≤ x, s y`. | ||
-/ | ||
|
||
variables {α β γ : Type*} {s : α → set β} {t : α → set γ} | ||
|
||
namespace set | ||
|
||
/-- `accumulate s` is the union of `s y` for `y ≤ x`. -/ | ||
def accumulate [has_le α] (s : α → set β) (x : α) : set β := ⋃ y ≤ x, s y | ||
|
||
variable {s} | ||
lemma accumulate_def [has_le α] {x : α} : accumulate s x = ⋃ y ≤ x, s y := rfl | ||
@[simp] lemma mem_accumulate [has_le α] {x : α} {z : β} : z ∈ accumulate s x ↔ ∃ y ≤ x, z ∈ s y := | ||
mem_bUnion_iff | ||
|
||
lemma subset_accumulate [preorder α] {x : α} : s x ⊆ accumulate s x := | ||
λ z, mem_bUnion le_rfl | ||
|
||
lemma monotone_accumulate [preorder α] : monotone (accumulate s) := | ||
λ x y hxy, bUnion_subset_bUnion_left $ λ z hz, le_trans hz hxy | ||
|
||
lemma bUnion_accumulate [preorder α] (x : α) : (⋃ y ≤ x, accumulate s y) = ⋃ y ≤ x, s y := | ||
begin | ||
apply subset.antisymm, | ||
{ exact bUnion_subset (λ x hx, (monotone_accumulate hx : _)) }, | ||
{ exact bUnion_subset_bUnion_right (λ x hx, subset_accumulate) } | ||
end | ||
|
||
lemma Union_accumulate [preorder α] : (⋃ x, accumulate s x) = ⋃ x, s x := | ||
begin | ||
apply subset.antisymm, | ||
{ simp only [subset_def, mem_Union, exists_imp_distrib, mem_accumulate], | ||
intros z x x' hx'x hz, exact ⟨x', hz⟩ }, | ||
{ exact Union_subset_Union (λ i, subset_accumulate), } | ||
end | ||
|
||
end set |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters