@@ -5,12 +5,11 @@ Authors: Christopher Hoskin, Violeta Hernández Palacios
55-/
66module
77
8- public import Mathlib.Data.Fintype.Order
98public import Mathlib.Order.Antisymmetrization
109public import Mathlib.Order.CompleteLattice.Defs
1110public import Mathlib.Order.UpperLower.Basic
1211
13- import Mathlib.Data.Nat .Lattice
12+ import Mathlib.Data.Set .Lattice
1413
1514/-!
1615# Sets closed under directed suprema
@@ -292,37 +291,18 @@ end Preorder
292291section PartialOrder
293292variable [PartialOrder α]
294293
295- theorem dirSupClosed_singleton (a : α) : DirSupClosed {a} := by
294+ theorem DirSupClosed.singleton (a : α) : DirSupClosed {a} := by
296295 intro d hda hdn _ b hb
297296 rw [hdn.subset_singleton_iff] at hda
298297 subst hda
299298 exact mem_singleton_of_eq (hb.unique isLUB_singleton)
300299
301- theorem dirSupClosedOn_singleton (a : α) : DirSupClosedOn D {a} :=
302- (dirSupClosed_singleton a).dirSupClosedOn
303-
304- theorem Set.Finite.dirSupClosed (hs : s.Finite) : DirSupClosed s := by
305- intro t ht ht₀ ht₁ a ha
306- obtain ⟨b, hbt, hb⟩ := ht₁.finite_le ht₀ (hs.subset ht)
307- exact ht <| ha.unique ⟨hb, fun x hx ↦ hx hbt⟩ ▸ hbt
308-
309- theorem dirSupClosed_range_nat {f : ℕ → α} (hf : Monotone f) (hf' : IsCofinal (.range f)) :
310- DirSupClosed (range f) := by
311- intro s hs hs₀ hs₁ a ha
312- obtain ⟨_, ⟨n, rfl⟩, han⟩ := hf' a
313- obtain rfl | han := han.eq_or_lt
314- · simp
315- have hfb : BddAbove (f ⁻¹' s) := by
316- refine ⟨n, fun m hm ↦ ?_⟩
317- by_contra! hnm
318- exact (ha.1 hm).not_gt (han.trans_le (hf hnm.le))
319- refine ⟨sSup (f ⁻¹' s), IsLUB.unique ⟨?_, ?_⟩ ha⟩ <;> intro x hx
320- · obtain ⟨m, rfl⟩ := hs hx
321- exact hf (le_csSup hfb hx)
322- · apply hx (Nat.sSup_mem _ hfb)
323- obtain ⟨x, hx⟩ := hs₀
324- obtain ⟨m, rfl⟩ := hs hx
325- exact ⟨m, hx⟩
300+ @ [deprecated (since := "2026-05-22" )] alias dirSupClosed_singleton := DirSupClosed.singleton
301+
302+ theorem DirSupClosedOn.singleton (a : α) : DirSupClosedOn D {a} :=
303+ (DirSupClosed.singleton a).dirSupClosedOn
304+
305+ @ [deprecated (since := "2026-05-22" )] alias dirSupClosedOn_singleton := DirSupClosedOn.singleton
326306
327307end PartialOrder
328308
0 commit comments