Skip to content

Commit 7f3caf5

Browse files
committed
Update Separation.lean
1 parent 6cbf61f commit 7f3caf5

1 file changed

Lines changed: 7 additions & 17 deletions

File tree

Mathlib/Analysis/LocallyConvex/Separation.lean

Lines changed: 7 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -342,23 +342,13 @@ halfspaces. -/
342342
theorem iInter_countable_halfSpaces_eq [HereditarilyLindelofSpace E] (hs₁ : Convex ℝ s)
343343
(hs₂ : IsClosed s) : ∃ L : ℕ → StrongDual 𝕜 E, ∃ c : ℕ → ℝ,
344344
⋂ n, { x | re (L n x) ≤ c n } = s ∧ (s.Nonempty → ∀ y, ∃ x, re (L y x) ≠ 0) := by
345-
obtain ⟨L, c, hLc⟩ := iInter_halfSpaces_eq' (𝕜 := 𝕜) hs₁ hs₂
346-
let t : (sᶜ : Set E) → Set E := fun y => { x | re (L y x) ≤ c y }
347-
have htc y : IsClosed (t y) := isClosed_le (continuous_re.comp (L y).continuous) continuous_const
348-
obtain ⟨u, hu, hu'⟩ := eq_closed_inter_nat t htc
349-
refine ⟨u, fun y => L y, fun y => c y, hu, subset_antisymm (fun z hz => ?_) ?_, fun h y =>
350-
hLc.2 h y.1
351-
· by_contra!
352-
have : z ∈ (∅ : Set E) := by
353-
simp only [← hu', biInter_eq_iInter]
354-
exact ⟨this, fun i hi => hz i hi⟩
355-
grind
356-
· rw (config := {occs := .pos [1]}) [← hLc.1]
357-
have : u ⊆ (univ : Set (sᶜ : Set E)) := by grind
358-
have := biInter_subset_biInter_left (t := t) this
359-
simp only [t, biInter_eq_iInter] at this
360-
convert this
361-
simp
345+
by_cases hsc : Nonempty (sᶜ : Set E)
346+
· obtain ⟨L, c, hLc⟩ := iInter_halfSpaces_eq' (𝕜 := 𝕜) hs₁ hs₂
347+
have ⟨k, hk⟩ := eq_closed_inter_nat (fun y => { x | re (L y x) ≤ c y })
348+
(fun y => isClosed_le (continuous_re.comp (L y).continuous) continuous_const)
349+
exact ⟨L ∘ k, c ∘ k, hk.trans hLc.1, fun hs n => hLc.2 hs (k n)⟩
350+
· sorry
351+
362352

363353
end
364354

0 commit comments

Comments
 (0)