Skip to content

Commit ae0c614

Browse files
committed
chore(MeasureTheory/Measure/MeasureSpace): reduce privateInPublic (leanprover-community#37657)
Co-authored-by: Komyyy <pol_tta@outlook.jp>
1 parent 7bc2841 commit ae0c614

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

Mathlib/MeasureTheory/Measure/MeasureSpace.lean

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1094,22 +1094,18 @@ instance {_ : MeasurableSpace α} : InfSet (Measure α) :=
10941094
theorem sInf_apply (hs : MeasurableSet s) : sInf m s = sInf (toOuterMeasure '' m) s :=
10951095
toMeasure_apply _ _ hs
10961096

1097-
set_option backward.privateInPublic true in
10981097
private theorem measure_sInf_le (h : μ ∈ m) : sInf m ≤ μ :=
10991098
have : sInf (toOuterMeasure '' m) ≤ μ.toOuterMeasure := sInf_le (mem_image_of_mem _ h)
11001099
le_iff.2 fun s hs => by rw [sInf_apply hs]; exact this s
11011100

1102-
set_option backward.privateInPublic true in
11031101
private theorem measure_le_sInf (h : ∀ μ' ∈ m, μ ≤ μ') : μ ≤ sInf m :=
11041102
have : μ.toOuterMeasure ≤ sInf (toOuterMeasure '' m) :=
11051103
le_sInf <| forall_mem_image.2 fun _ hμ ↦ toOuterMeasure_le.2 <| h _ hμ
11061104
le_iff.2 fun s hs => by rw [sInf_apply hs]; exact this s
11071105

1108-
set_option backward.privateInPublic true in
1109-
set_option backward.privateInPublic.warn false in
11101106
instance instCompleteSemilatticeInf {_ : MeasurableSpace α} :
11111107
CompleteSemilatticeInf (Measure α) where
1112-
isGLB_sInf _ := ⟨fun x ↦ measure_sInf_le, fun _ ↦ by exact measure_le_sInf⟩
1108+
isGLB_sInf _ := private fun _ ↦ measure_sInf_le, fun _ ↦ measure_le_sInf⟩
11131109

11141110
instance instCompleteLattice {_ : MeasurableSpace α} : CompleteLattice (Measure α) :=
11151111
{ completeLatticeOfCompleteSemilatticeInf (Measure α) with

0 commit comments

Comments
 (0)