@@ -244,7 +244,10 @@ theorem notMem_of_lt_csInf {x : α} {s : Set α} (h : x < sInf s) (hs : BddBelow
244244/-- Introduction rule to prove that `b` is the supremum of `s`: it suffices to check that `b`
245245is larger than all elements of `s`, and that this is not the case of any `w<b`.
246246See `sSup_eq_of_forall_le_of_forall_lt_exists_gt` for a version in complete lattices. -/
247- @ [to_dual csInf_eq_of_forall_ge_of_forall_gt_exists_lt]
247+ @ [to_dual csInf_eq_of_forall_ge_of_forall_gt_exists_lt
248+ /-- Introduction rule to prove that `b` is the infimum of `s`: it suffices to check that `b`
249+ is smaller than all elements of `s`, and that this is not the case of any `w>b`.
250+ See `sInf_eq_of_forall_ge_of_forall_gt_exists_lt` for a version in complete lattices. -/ ]
248251theorem csSup_eq_of_forall_le_of_forall_lt_exists_gt (hs : s.Nonempty) (H : ∀ a ∈ s, a ≤ b)
249252 (H' : ∀ w, w < b → ∃ a ∈ s, w < a) : sSup s = b :=
250253 (eq_of_le_of_not_lt (csSup_le hs H)) fun hb =>
@@ -256,7 +259,12 @@ This is essentially an iff, except that the assumptions for the two implications
256259slightly different (one needs boundedness above for one direction, nonemptiness and linear
257260order for the other one), so we formulate separately the two implications, contrary to
258261the `CompleteLattice` case. -/
259- @ [to_dual csInf_lt_of_lt]
262+ @ [to_dual csInf_lt_of_lt
263+ /-- `sInf s < b` when there is an element `a` in `s` with `a < b`, when `s` is bounded below.
264+ This is essentially an iff, except that the assumptions for the two implications are
265+ slightly different (one needs boundedness below for one direction, nonemptiness and linear
266+ order for the other one), so we formulate separately the two implications, contrary to
267+ the `CompleteLattice` case. -/ ]
260268theorem lt_csSup_of_lt (hs : BddAbove s) (ha : a ∈ s) (h : b < a) : b < sSup s :=
261269 lt_of_lt_of_le h (le_csSup hs ha)
262270
@@ -425,7 +433,8 @@ lemma ciSup_eq_univ_of_not_bddAbove (hf : ¬BddAbove (range f)) : ⨆ i, f i = s
425433
426434/-- When every element of a set `s` is bounded by an element of a set `t`, and conversely, then
427435`s` and `t` have the same supremum. This holds even when the sets may be empty or unbounded. -/
428- @[to_dual]
436+ @ [to_dual /-- When every element of a set `s` is bounded by an element of a set `t`, and conversely, then
437+ `s` and `t` have the same infimum. This holds even when the sets may be empty or unbounded. -/ ]
429438theorem csSup_eq_csSup_of_forall_exists_le {s t : Set α}
430439 (hs : ∀ x ∈ s, ∃ y ∈ t, x ≤ y) (ht : ∀ y ∈ t, ∃ x ∈ s, y ≤ x) :
431440 sSup s = sSup t := by
0 commit comments