English
In any lattice, an element is bounded above by its supremum and below by its infimum; in particular, s.inf ≤ s.sup.
Русский
В любой решётке элемент ограничен сверху наименьшей верхнешкй границей и снизу — наименьшей нижней границей; в частности, s.inf ≤ s.sup.
LaTeX
$$$s.\inf \le s.\sup$$$
Lean4
/-- The supremum of the two elements. -/
def sup [SemilatticeSup α] (x : Sym2 α) : α :=
Sym2.lift ⟨(· ⊔ ·), sup_comm⟩ x