Lattice structures on the type of nonnegative elements #
@[instance_reducible]
@[instance_reducible]
@[instance_reducible]
@[reducible, inline]
noncomputable abbrev Nonneg.conditionallyCompleteLinearOrder {α : Type u_1} [ConditionallyCompleteLinearOrder α] {a : α} :
If sSup ∅ ≤ a then {x : α // a ≤ x} is a ConditionallyCompleteLinearOrder.
Instances For
@[reducible, inline]
noncomputable abbrev Nonneg.conditionallyCompleteLinearOrderBot {α : Type u_1} [ConditionallyCompleteLinearOrder α] (a : α) :
If sSup ∅ ≤ a then {x : α // a ≤ x} is a ConditionallyCompleteLinearOrderBot.
This instance uses data fields from Subtype.linearOrder to help type-class inference.
The Set.Ici data fields are definitionally equal, but that requires unfolding semireducible
definitions, so type-class inference won't see this.