Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Commit

Permalink
feat(measure_theory/measure/measure_space): there exists a ball of po…
Browse files Browse the repository at this point in the history
…sitive measure (#14449)

Motivated by #12933 

Co-authored-by: Mantas Bakšys <[email protected]>
  • Loading branch information
2 people authored and tomaz1502 committed Jun 5, 2022
1 parent 0c7a6f0 commit 94ff106
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/measure_theory/measure/measure_space.lean
Original file line number Diff line number Diff line change
Expand Up @@ -2831,6 +2831,22 @@ lemma is_locally_finite_measure_of_is_finite_measure_on_compacts [topological_sp
exact ⟨K, K_mem, K_compact.measure_lt_top⟩,
end

lemma exists_pos_measure_of_cover [encodable ι] {U : ι → set α} (hU : (⋃ i, U i) = univ)
(hμ : μ ≠ 0) : ∃ i, 0 < μ (U i) :=
begin
contrapose! hμ with H,
rw [← measure_univ_eq_zero, ← hU],
exact measure_Union_null (λ i, nonpos_iff_eq_zero.1 (H i))
end

lemma exists_pos_preimage_ball [pseudo_metric_space δ] (f : α → δ) (x : δ) (hμ : μ ≠ 0) :
∃ n : ℕ, 0 < μ (f ⁻¹' metric.ball x n) :=
exists_pos_measure_of_cover (by rw [← preimage_Union, metric.Union_ball_nat, preimage_univ]) hμ

lemma exists_pos_ball [pseudo_metric_space α] (x : α) (hμ : μ ≠ 0) :
∃ n : ℕ, 0 < μ (metric.ball x n) :=
exists_pos_preimage_ball id x hμ

/-- If a set has zero measure in a neighborhood of each of its points, then it has zero measure
in a second-countable space. -/
lemma null_of_locally_null [topological_space α] [second_countable_topology α]
Expand Down

0 comments on commit 94ff106

Please sign in to comment.