Cofinal sets #
A set s
in an ordered type α
is cofinal when for every a : α
there exists an element of s
greater or equal to it. This file provides a basic API for the IsCofinal
predicate.
For the cofinality of a set as a cardinal, see Mathlib.SetTheory.Cardinal.Cofinality
.
TODO #
- Define
Order.cof
in terms ofCofinal
. - Deprecate
Order.Cofinal
in favor of this predicate.
theorem
IsCofinal.mem_of_isMax
{α : Type u_1}
[PartialOrder α]
{s : Set α}
{a : α}
(ha : IsMax a)
(hs : IsCofinal s)
:
a ∈ s
theorem
IsCofinal.top_mem
{α : Type u_1}
[PartialOrder α]
[OrderTop α]
{s : Set α}
(hs : IsCofinal s)
:
@[simp]
theorem
BddAbove.of_not_isCofinal
{α : Type u_1}
[LinearOrder α]
{s : Set α}
(h : ¬IsCofinal s)
:
BddAbove s
In a linear order with no maximum, cofinal sets are the same as unbounded sets.
In a linear order with no maximum, cofinal sets are the same as unbounded sets.