Skip to content

Commit 2f1b332

Browse files
committed
Update Convex.lean
1 parent 8e58080 commit 2f1b332

1 file changed

Lines changed: 4 additions & 20 deletions

File tree

Mathlib/Topology/Semicontinuity/Convex.lean

Lines changed: 4 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/-
22
Copyright (c) 2026 Yongxi Lin. All rights reserved.
33
Released under Apache 2.0 license as described in the file LICENSE.
4-
Authors: Yongxi Lin, Thomas Zhu
4+
Authors: Yongxi Lin
55
-/
66
module
77

@@ -120,16 +120,6 @@ theorem sSup_affine_eq (hsc : IsClosed s)
120120
obtain ⟨f, hf⟩ := exists_affine (𝕜 := 𝕜) hz.2 hsc hφc hφcv
121121
exact ⟨z, hf ▸ mem_range_self _, hz.1
122122

123-
lemma sSup_comp {α β γ : Type*} [ConditionallyCompleteLattice γ] (f : α ≃ β) {s : Set (β → γ)}
124-
(hs : s.Nonempty) (hbdd : BddAbove s) :
125-
(sSup s) ∘ f = sSup ((fun g => g ∘ f) '' s) := by
126-
refine OrderIso.map_csSup' ⟨⟨(fun g => g ∘ f), (fun h => h ∘ f.symm),
127-
by grind, by grind⟩, ?_⟩ hs hbdd
128-
simp only [Equiv.coe_fn_mk]
129-
refine ⟨fun hp => fun x => ?_, fun hq => fun x => hq (f x)⟩
130-
rw [← EquivLike.apply_coe_symm_apply f x]
131-
exact hp (f.symm x)
132-
133123
/-- The countable version of `sSup_affine_eq`. -/
134124
theorem sSup_of_countable_affine_eq [HereditarilyLindelofSpace E] (hsc : IsClosed s)
135125
(hφc : LowerSemicontinuousOn φ s) (hφcv : ConvexOn ℝ s φ) :
@@ -190,18 +180,12 @@ theorem univ_sSup_affine_eq (hφc : LowerSemicontinuous φ) (hφcv : ConvexOn
190180
ext f
191181
refine ⟨fun ⟨hp, l, c, hlc⟩ => ⟨f ∘ Subtype.val, ⟨fun x => hp (Subtype.val x), ⟨l, c, ?_⟩⟩, ?_⟩,
192182
fun ⟨a, ⟨⟨h, ⟨l, c, hlc⟩⟩, hb⟩⟩ => ⟨fun x => ?_, ⟨l, c, ?_⟩⟩⟩
193-
· ext x
194-
simpa using congrFun hlc x
195-
· ext x; simp
183+
· ext x; simpa using congrFun hlc x
184+
· ext; simp
196185
· simpa using hb ▸ h ⟨x, trivial⟩
197186
· subst hlc
198187
simpa using hb.symm
199-
_ = sSup 𝓕 ∘ (Equiv.Set.univ E).symm := by
200-
refine (sSup_comp (Equiv.Set.univ E).symm ?_ ?_).symm
201-
· obtain ⟨f, hf⟩ := exists_affine (𝕜 := 𝕜) (by grind : φ 0 - 1 < φ (⟨0, @mem_univ E 0⟩ : univ))
202-
isClosed_univ (lowerSemicontinuousOn_univ_iff.2 hφc) hφcv
203-
exact ⟨f, f.2
204-
· exact (bddAbove_def.2 ⟨φ ∘ Subtype.val, fun y hy => hy.1⟩)
188+
_ = sSup 𝓕 ∘ (Equiv.Set.univ E).symm := by ext x; rw [sSup_image', sSup_eq_iSup']; simp
205189
_ = φ ∘ Subtype.val ∘ (Equiv.Set.univ E).symm :=
206190
congrArg (fun g => g ∘ (Equiv.Set.univ E).symm) this
207191
_ = φ := by ext; simp

0 commit comments

Comments
 (0)