Skip to content

Commit a80b2b8

Browse files
authored
docstrings for WellFoundedLT.min/WellFoundedGT.max
1 parent 30305fe commit a80b2b8

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Mathlib/Order/WellFounded.lean

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,8 @@ If you're working with a nonempty linear order, consider defining a
103103
noncomputable def min {r : α → α → Prop} (H : WellFounded r) (s : Set α) (h : s.Nonempty) : α :=
104104
Classical.choose (H.has_min s h)
105105

106-
@[to_dual]
106+
/-- A minimal element of a nonempty set of a type with a well-founded `<`. -/
107+
@[to_dual /-- A maximal element of a nonempty set of a type with a well-founded `>`. -/]
107108
noncomputable abbrev _root_.WellFoundedLT.min [LT α] [WellFoundedLT α] (s : Set α)
108109
(h : s.Nonempty) : α :=
109110
wellFounded_lt.min s h

0 commit comments

Comments
 (0)