The areas / V04. Order and lattices
Mathlib.Order.Defs.Unbundled
147 declarations and 2 deprecated aliases. Mathlib docs · Source
Orders
Defines classes for preorders, partial orders, and linear orders and proves some basic lemmas about them.
Unbundled classes
Minimal and maximal
Upper and lower sets
theorem UpperSet.mk.inj E1 #
∀ {α : Type u_1} {inst : LE α} {carrier : Set α} {upper' : IsUpperSet carrier} {carrier_1 : Set α}
{upper'_1 : IsUpperSet carrier_1},
{ carrier := carrier, upper' := upper' } = { carrier := carrier_1, upper' := upper'_1 } → carrier = carrier_1
theorem LowerSet.mk.injEq E0 #
∀ {α : Type u_1} [inst : LE α] (carrier : Set α) (lower' : IsLowerSet carrier) (carrier_1 : Set α)
(lower'_1 : IsLowerSet carrier_1),
({ carrier := carrier, lower' := lower' } = { carrier := carrier_1, lower' := lower'_1 }) = (carrier = carrier_1)
def LowerSet.ctorIdx E1 #
{α : Type u_1} → {inst : LE α} → LowerSet α → ℕ
def RelUpperSet.ctorIdx E1 #
{α : Type u_1} → {inst : LE α} → {P : α → Prop} → RelUpperSet P → ℕ
theorem RelLowerSet.mk.inj E1 #
∀ {α : Type u_1} {inst : LE α} {P : α → Prop} {carrier : Set α} {isRelLowerSet' : IsRelLowerSet carrier P}
{carrier_1 : Set α} {isRelLowerSet'_1 : IsRelLowerSet carrier_1 P},
{ carrier := carrier, isRelLowerSet' := isRelLowerSet' } =
{ carrier := carrier_1, isRelLowerSet' := isRelLowerSet'_1 } →
carrier = carrier_1
theorem RelUpperSet.mk.injEq E0 #
∀ {α : Type u_1} [inst : LE α] {P : α → Prop} (carrier : Set α) (isRelUpperSet' : IsRelUpperSet carrier P)
(carrier_1 : Set α) (isRelUpperSet'_1 : IsRelUpperSet carrier_1 P),
({ carrier := carrier, isRelUpperSet' := isRelUpperSet' } =
{ carrier := carrier_1, isRelUpperSet' := isRelUpperSet'_1 }) =
(carrier = carrier_1)
def UpperSet.ctorIdx E1 #
{α : Type u_1} → {inst : LE α} → UpperSet α → ℕ
theorem LowerSet.mk.inj E1 #
∀ {α : Type u_1} {inst : LE α} {carrier : Set α} {lower' : IsLowerSet carrier} {carrier_1 : Set α}
{lower'_1 : IsLowerSet carrier_1},
{ carrier := carrier, lower' := lower' } = { carrier := carrier_1, lower' := lower'_1 } → carrier = carrier_1
theorem RelUpperSet.mk.inj E1 #
∀ {α : Type u_1} {inst : LE α} {P : α → Prop} {carrier : Set α} {isRelUpperSet' : IsRelUpperSet carrier P}
{carrier_1 : Set α} {isRelUpperSet'_1 : IsRelUpperSet carrier_1 P},
{ carrier := carrier, isRelUpperSet' := isRelUpperSet' } =
{ carrier := carrier_1, isRelUpperSet' := isRelUpperSet'_1 } →
carrier = carrier_1
theorem UpperSet.mk.injEq E0 #
∀ {α : Type u_1} [inst : LE α] (carrier : Set α) (upper' : IsUpperSet carrier) (carrier_1 : Set α)
(upper'_1 : IsUpperSet carrier_1),
({ carrier := carrier, upper' := upper' } = { carrier := carrier_1, upper' := upper'_1 }) = (carrier = carrier_1)
def RelLowerSet.ctorIdx E1 #
{α : Type u_1} → {inst : LE α} → {P : α → Prop} → RelLowerSet P → ℕ
theorem RelLowerSet.mk.injEq E0 #
∀ {α : Type u_1} [inst : LE α] {P : α → Prop} (carrier : Set α) (isRelLowerSet' : IsRelLowerSet carrier P)
(carrier_1 : Set α) (isRelLowerSet'_1 : IsRelLowerSet carrier_1 P),
({ carrier := carrier, isRelLowerSet' := isRelLowerSet' } =
{ carrier := carrier_1, isRelLowerSet' := isRelLowerSet'_1 }) =
(carrier = carrier_1)
class IsTrans E1 #
(α : Sort u_1) → (α → α → Prop) → Prop
IsTrans X r means the binary relation r on X is transitive.
ctor IsTrans.mk E0 #
∀ {α : Sort u_1} {r : α → α → Prop}, (∀ (a b c : α), r a b → r b c → r a c) → IsTrans α r
theorem IsTrans.trans E1 #
∀ {α : Sort u_1} {r : α → α → Prop} [self : IsTrans α r] (a b c : α), r a b → r b c → r a c
instance instTransOfIsTrans E0 #
{α : Sort u_1} → {r : α → α → Prop} → [IsTrans α r] → Trans r r r
instance instIsTransOfTrans E0 #
∀ {α : Sort u_1} {r : α → α → Prop} [Trans r r r], IsTrans α r
class IsPreorder E1 #
(α : Sort u_1) → (α → α → Prop) → Prop
IsPreorder X r means that the binary relation r on X is a pre-order, that is, reflexive
and transitive.
instance IsPreorder.toIsTrans E0 #
∀ {α : Sort u_1} {r : α → α → Prop} [self : IsPreorder α r], IsTrans α r
ctor IsPreorder.mk E0 #
∀ {α : Sort u_1} {r : α → α → Prop} [toRefl : Std.Refl r] [toIsTrans : IsTrans α r], IsPreorder α r
instance IsPreorder.toRefl E0 #
∀ {α : Sort u_1} {r : α → α → Prop} [self : IsPreorder α r], Std.Refl r
class IsPartialOrder E1 #
(α : Sort u_1) → (α → α → Prop) → Prop
IsPartialOrder X r means that the binary relation r on X is a partial order, that is,
IsPreorder X r and Std.Antisymm r.
ctor IsPartialOrder.mk E0 #
∀ {α : Sort u_1} {r : α → α → Prop} [toIsPreorder : IsPreorder α r] [toAntisymm : Std.Antisymm r], IsPartialOrder α r
instance IsPartialOrder.toAntisymm E0 #
∀ {α : Sort u_1} {r : α → α → Prop} [self : IsPartialOrder α r], Std.Antisymm r
instance IsPartialOrder.toIsPreorder E0 #
∀ {α : Sort u_1} {r : α → α → Prop} [self : IsPartialOrder α r], IsPreorder α r
class IsLinearOrder E1 #
(α : Sort u_1) → (α → α → Prop) → Prop
IsLinearOrder X r means that the binary relation r on X is a linear order, that is,
IsPartialOrder X r and Std.Total r.
instance IsLinearOrder.toIsPartialOrder E0 #
∀ {α : Sort u_1} {r : α → α → Prop} [self : IsLinearOrder α r], IsPartialOrder α r
instance IsLinearOrder.toTotal E0 #
∀ {α : Sort u_1} {r : α → α → Prop} [self : IsLinearOrder α r], Std.Total r
ctor IsLinearOrder.mk E0 #
∀ {α : Sort u_1} {r : α → α → Prop} [toIsPartialOrder : IsPartialOrder α r] [toTotal : Std.Total r], IsLinearOrder α r
class IsEquiv E1 #
(α : Sort u_1) → (α → α → Prop) → Prop
IsEquiv X r means that the binary relation r on X is an equivalence relation, that
is, IsPreorder X r and Std.Symm r.
instance IsEquiv.toSymm E0 #
∀ {α : Sort u_1} {r : α → α → Prop} [self : IsEquiv α r], Std.Symm r
ctor IsEquiv.mk E0 #
∀ {α : Sort u_1} {r : α → α → Prop} [toIsPreorder : IsPreorder α r] [toSymm : Std.Symm r], IsEquiv α r
instance IsEquiv.toIsPreorder E0 #
∀ {α : Sort u_1} {r : α → α → Prop} [self : IsEquiv α r], IsPreorder α r
class IsStrictOrder E1 #
(α : Sort u_1) → (α → α → Prop) → Prop
IsStrictOrder X r means that the binary relation r on X is a strict order, that is,
Std.Irrefl r and IsTrans X r.
instance IsStrictOrder.toIsTrans E0 #
∀ {α : Sort u_1} {r : α → α → Prop} [self : IsStrictOrder α r], IsTrans α r
ctor IsStrictOrder.mk E0 #
∀ {α : Sort u_1} {r : α → α → Prop} [toIrrefl : Std.Irrefl r] [toIsTrans : IsTrans α r], IsStrictOrder α r
instance IsStrictOrder.toIrrefl E0 #
∀ {α : Sort u_1} {r : α → α → Prop} [self : IsStrictOrder α r], Std.Irrefl r
class IsStrictWeakOrder E1 #
(α : Sort u_1) → (α → α → Prop) → Prop
IsStrictWeakOrder X lt means that the binary relation lt on X is a strict weak order,
that is, IsStrictOrder X lt and ¬lt a b ∧ ¬lt b a → ¬lt b c ∧ ¬lt c b → ¬lt a c ∧ ¬lt c a.
ctor IsStrictWeakOrder.mk E0 #
∀ {α : Sort u_1} {lt : α → α → Prop} [toIsStrictOrder : IsStrictOrder α lt],
(∀ (a b c : α), ¬lt a b ∧ ¬lt b a → ¬lt b c ∧ ¬lt c b → ¬lt a c ∧ ¬lt c a) → IsStrictWeakOrder α lt
instance IsStrictWeakOrder.toIsStrictOrder E0 #
∀ {α : Sort u_1} {lt : α → α → Prop} [self : IsStrictWeakOrder α lt], IsStrictOrder α lt
theorem IsStrictWeakOrder.incomp_trans E1 #
∀ {α : Sort u_1} {lt : α → α → Prop} [self : IsStrictWeakOrder α lt] (a b c : α),
¬lt a b ∧ ¬lt b a → ¬lt b c ∧ ¬lt c b → ¬lt a c ∧ ¬lt c a
class IsStrictTotalOrder E1 #
(α : Sort u_1) → (α → α → Prop) → Prop
IsStrictTotalOrder X lt means that the binary relation lt on X is a strict total order,
that is, Std.Trichotomous lt and IsStrictOrder X lt.
ctor IsStrictTotalOrder.mk E0 #
∀ {α : Sort u_1} {lt : α → α → Prop} [toTrichotomous : Std.Trichotomous lt] [toIsStrictOrder : IsStrictOrder α lt],
IsStrictTotalOrder α lt
instance IsStrictTotalOrder.toIsStrictOrder E0 #
∀ {α : Sort u_1} {lt : α → α → Prop} [self : IsStrictTotalOrder α lt], IsStrictOrder α lt
instance IsStrictTotalOrder.toTrichotomous E0 #
∀ {α : Sort u_1} {lt : α → α → Prop} [self : IsStrictTotalOrder α lt], Std.Trichotomous lt
theorem Equivalence.of_isEquiv E1 #
∀ {α : Sort u_1} (lt : α → α → Prop) [IsEquiv α lt], Equivalence lt
theorem IsEquiv.of_equivalence E1 #
∀ {α : Sort u_1} {lt : α → α → Prop}, Equivalence lt → IsEquiv α lt
theorem equivalence_iff_isEquiv E1 #
∀ {α : Sort u_1} (lt : α → α → Prop), Equivalence lt ↔ IsEquiv α lt
instance instSymmNe_mathlib E0 #
∀ (α : Sort u_1), Std.Symm Ne
instance instIrreflNe_mathlib E0 #
∀ (α : Sort u_1), Std.Irrefl Ne
instance iff_isEquiv E0 #
IsEquiv Prop Iff
Iff is an equivalence relation.
instance instIsTransPropAnd E0 #
IsTrans Prop And
theorem irrefl E1 #
∀ {α : Sort u_1} {r : α → α → Prop} [Std.Irrefl r] (a : α), ¬r a a
theorem refl E2 #
∀ {α : Sort u_1} {r : α → α → Prop} [Std.Refl r] (a : α), r a a
theorem trans E1 #
∀ {α : Sort u_1} {r : α → α → Prop} {a b c : α} [IsTrans α r], r a b → r b c → r a c
theorem symm E3 #
∀ {α : Sort u_1} {r : α → α → Prop} {a b : α} [Std.Symm r], r a b → r b a
theorem antisymm E1 #
∀ {α : Sort u_1} {r : α → α → Prop} {a b : α} [Std.Antisymm r], r a b → r b a → a = b
theorem asymm E1 #
∀ {α : Sort u_1} {r : α → α → Prop} {a b : α} [Std.Asymm r], r a b → ¬r b a
theorem trichotomous E1 #
∀ {α : Sort u_1} {r : α → α → Prop} [Std.Trichotomous r] (a b : α), r a b ∨ a = b ∨ r b a
theorem irrefl_def E0 #
∀ {α : Sort u_1} {r : α → α → Prop}, Std.Irrefl r ↔ ∀ ⦃a : α⦄, ¬r a a
theorem refl_def E0 #
∀ {α : Sort u_1} {r : α → α → Prop}, Std.Refl r ↔ ∀ ⦃a : α⦄, r a a
theorem isTrans_def E0 #
∀ {α : Sort u_2} {r : α → α → Prop}, IsTrans α r ↔ ∀ ⦃a b c : α⦄, r a b → r b c → r a c
theorem symm_def E0 #
∀ {α : Sort u_1} {r : α → α → Prop}, Std.Symm r ↔ ∀ ⦃a b : α⦄, r a b → r b a
theorem antisymm_def E0 #
∀ {α : Sort u_1} {r : α → α → Prop}, Std.Antisymm r ↔ ∀ ⦃a b : α⦄, r a b → r b a → a = b
theorem asymm_def E0 #
∀ {α : Sort u_1} {r : α → α → Prop}, Std.Asymm r ↔ ∀ ⦃a b : α⦄, r a b → ¬r b a
theorem total_def E0 #
∀ {α : Sort u_1} {r : α → α → Prop}, Std.Total r ↔ ∀ ⦃a b : α⦄, r a b ∨ r b a
theorem trichotomous_def E0 #
∀ {α : Sort u_1} {r : α → α → Prop}, Std.Trichotomous r ↔ ∀ ⦃a b : α⦄, ¬r a b → ¬r b a → a = b
instance asymm_of_isTrans_of_irrefl E0 #
∀ {α : Sort u_1} {r : α → α → Prop} [IsTrans α r] [Std.Irrefl r], Std.Asymm r
instance Std.Irrefl.decide E0 #
∀ {α : Sort u_1} {r : α → α → Prop} [inst : DecidableRel r] [Std.Irrefl r], Std.Irrefl fun a b ↦ decide (r a b) = true
instance Std.Refl.decide E0 #
∀ {α : Sort u_1} {r : α → α → Prop} [inst : DecidableRel r] [Std.Refl r], Std.Refl fun a b ↦ decide (r a b) = true
instance IsTrans.decide E0 #
∀ {α : Sort u_1} {r : α → α → Prop} [inst : DecidableRel r] [IsTrans α r], IsTrans α fun a b ↦ decide (r a b) = true
instance Std.Symm.decide E0 #
∀ {α : Sort u_1} {r : α → α → Prop} [inst : DecidableRel r] [Std.Symm r], Std.Symm fun a b ↦ decide (r a b) = true
instance Std.Antisymm.decide E0 #
∀ {α : Sort u_1} {r : α → α → Prop} [inst : DecidableRel r] [Std.Antisymm r],
Std.Antisymm fun a b ↦ decide (r a b) = true
instance Std.Asymm.decide E0 #
∀ {α : Sort u_1} {r : α → α → Prop} [inst : DecidableRel r] [Std.Asymm r], Std.Asymm fun a b ↦ decide (r a b) = true
instance Std.Total.decide E0 #
∀ {α : Sort u_1} {r : α → α → Prop} [inst : DecidableRel r] [Std.Total r], Std.Total fun a b ↦ decide (r a b) = true
instance Std.Trichotomous.decide E0 #
∀ {α : Sort u_1} {r : α → α → Prop} [inst : DecidableRel r] [Std.Trichotomous r],
Std.Trichotomous fun a b ↦ decide (r a b) = true
theorem irrefl_of E1 #
∀ {α : Sort u_1} (r : α → α → Prop) [Std.Irrefl r] (a : α), ¬r a a
theorem refl_of E1 #
∀ {α : Sort u_1} (r : α → α → Prop) [Std.Refl r] (a : α), r a a
theorem trans_of E1 #
∀ {α : Sort u_1} (r : α → α → Prop) {a b c : α} [IsTrans α r], r a b → r b c → r a c
theorem symm_of E1 #
∀ {α : Sort u_1} (r : α → α → Prop) {a b : α} [Std.Symm r], r a b → r b a
theorem asymm_of E1 #
∀ {α : Sort u_1} (r : α → α → Prop) {a b : α} [Std.Asymm r], r a b → ¬r b a
theorem total_of E1 #
∀ {α : Sort u_1} (r : α → α → Prop) [Std.Total r] (a b : α), r a b ∨ r b a
theorem trichotomous_of E1 #
∀ {α : Sort u_1} (r : α → α → Prop) [Std.Trichotomous r] (a b : α), r a b ∨ a = b ∨ r b a
theorem stdIsPreorder_iff E0 #
∀ {α : Type u_2} [inst : LE α], Std.IsPreorder α ↔ IsPreorder α fun x1 x2 ↦ x1 ≤ x2
theorem stdIsPartialOrder_iff E0 #
∀ {α : Type u_2} [inst : LE α], Std.IsPartialOrder α ↔ IsPartialOrder α fun x1 x2 ↦ x1 ≤ x2
theorem stdIsLinearOrder_iff E0 #
∀ {α : Type u_2} [inst : LE α], Std.IsLinearOrder α ↔ IsLinearOrder α fun x1 x2 ↦ x1 ≤ x2
theorem Equivalence.stdRefl E1 #
∀ {α : Sort u_1} (r : α → α → Prop), Equivalence r → Std.Refl r
theorem Equivalence.stdSymm E1 #
∀ {α : Sort u_1} (r : α → α → Prop), Equivalence r → Std.Symm r
theorem Equivalence.isTrans E1 #
∀ {α : Sort u_1} (r : α → α → Prop), Equivalence r → IsTrans α r
theorem Equivalence.isEquiv E1 #
∀ {α : Sort u_1} (r : α → α → Prop), Equivalence r → IsEquiv α r
instance InvImage.isTrans E0 #
∀ {α : Sort u_1} {β : Sort u_2} (r : β → β → Prop) (f : α → β) [IsTrans β r], IsTrans α (InvImage r f)
instance InvImage.irrefl E0 #
∀ {α : Sort u_1} {β : Sort u_2} (r : β → β → Prop) (f : α → β) [Std.Irrefl r], Std.Irrefl (InvImage r f)
def Minimal E1 #
{α : Type u_1} → [LE α] → (α → Prop) → α → Prop
Minimal P x means that x is a minimal element satisfying P.
def Maximal E3 #
{α : Type u_1} → [LE α] → (α → Prop) → α → Prop
Maximal P x means that x is a maximal element satisfying P.
theorem Minimal.prop E1 #
∀ {α : Type u_1} [inst : LE α] {P : α → Prop} {x : α}, Minimal P x → P x
theorem Maximal.prop E1 #
∀ {α : Type u_1} [inst : LE α] {P : α → Prop} {x : α}, Maximal P x → P x
theorem Maximal.le_of_ge E1 #
∀ {α : Type u_1} [inst : LE α] {P : α → Prop} {x y : α}, Maximal P x → P y → x ≤ y → y ≤ x
theorem Minimal.le_of_le E1 #
∀ {α : Type u_1} [inst : LE α] {P : α → Prop} {x y : α}, Minimal P x → P y → y ≤ x → x ≤ y
def MinimalFor E1 #
{ι : Sort u_1} → {α : Type u_2} → [LE α] → (ι → Prop) → (ι → α) → ι → Prop
MinimalFor P f i means that f i is minimal over all i satisfying P.
def MaximalFor E1 #
{ι : Sort u_1} → {α : Type u_2} → [LE α] → (ι → Prop) → (ι → α) → ι → Prop
MaximalFor P f i means that f i is maximal over all i satisfying P.
theorem MaximalFor.prop E1 #
∀ {ι : Sort u_1} {α : Type u_2} [inst : LE α] {P : ι → Prop} {f : ι → α} {i : ι}, MaximalFor P f i → P i
theorem MinimalFor.prop E1 #
∀ {ι : Sort u_1} {α : Type u_2} [inst : LE α] {P : ι → Prop} {f : ι → α} {i : ι}, MinimalFor P f i → P i
theorem MaximalFor.le_of_le E1 #
∀ {ι : Sort u_1} {α : Type u_2} [inst : LE α] {P : ι → Prop} {f : ι → α} {i j : ι},
MaximalFor P f i → P j → f i ≤ f j → f j ≤ f i
theorem MinimalFor.le_of_le E1 #
∀ {ι : Sort u_1} {α : Type u_2} [inst : LE α] {P : ι → Prop} {f : ι → α} {i j : ι},
MinimalFor P f i → P j → f j ≤ f i → f i ≤ f j
def IsUpperSet E1 #
{α : Type u_1} → [LE α] → Set α → Prop
An upper set in an order α is a set such that any element greater than one of its members is
also a member. Also called up-set, upward-closed set.
def IsLowerSet E1 #
{α : Type u_1} → [LE α] → Set α → Prop
A lower set in an order α is a set such that any element less than one of its
members is also a member. Also called down-set, downward-closed set.
structure UpperSet E1 #
(α : Type u_1) → [LE α] → Type u_1
An upper set in an order α is a set such that any element greater than one of its members is
also a member. Also called up-set, upward-closed set.
ctor UpperSet.mk E0 #
{α : Type u_1} → [inst : LE α] → (carrier : Set α) → IsUpperSet carrier → UpperSet α
abbrev UpperSet.carrier E1 #
{α : Type u_1} → [inst : LE α] → UpperSet α → Set α
The carrier of an UpperSet.
theorem UpperSet.upper' E1 #
∀ {α : Type u_1} [inst : LE α] (self : UpperSet α), IsUpperSet self.carrier
The carrier of an UpperSet is an upper set.
structure LowerSet E1 #
(α : Type u_1) → [LE α] → Type u_1
A lower set in an order α is a set such that any element less than one of its
members is also a member. Also called down-set, downward-closed set.
ctor LowerSet.mk E0 #
{α : Type u_1} → [inst : LE α] → (carrier : Set α) → IsLowerSet carrier → LowerSet α
abbrev LowerSet.carrier E1 #
{α : Type u_1} → [inst : LE α] → LowerSet α → Set α
The carrier of a LowerSet.
theorem LowerSet.lower' E1 #
∀ {α : Type u_1} [inst : LE α] (self : LowerSet α), IsLowerSet self.carrier
The carrier of a LowerSet is a lower set.
def IsRelUpperSet E1 #
{α : Type u_1} → [LE α] → Set α → (α → Prop) → Prop
An upper set relative to a predicate P is a set such that all elements satisfy P and
any element greater than one of its members and satisfying P is also a member.
def IsRelLowerSet E1 #
{α : Type u_1} → [LE α] → Set α → (α → Prop) → Prop
A lower set relative to a predicate P is a set such that all elements satisfy P
and any element less than one of its members and satisfying P is also a member.
structure RelUpperSet E1 #
{α : Type u_1} → [LE α] → (α → Prop) → Type u_1
An upper set relative to a predicate P is a set such that all elements satisfy P and
any element greater than one of its members and satisfying P is also a member.
ctor RelUpperSet.mk E0 #
{α : Type u_1} → [inst : LE α] → {P : α → Prop} → (carrier : Set α) → IsRelUpperSet carrier P → RelUpperSet P
abbrev RelUpperSet.carrier E1 #
{α : Type u_1} → [inst : LE α] → {P : α → Prop} → RelUpperSet P → Set α
The carrier of a RelUpperSet.
theorem RelUpperSet.isRelUpperSet' E1 #
∀ {α : Type u_1} [inst : LE α] {P : α → Prop} (self : RelUpperSet P), IsRelUpperSet self.carrier P
The carrier of a RelUpperSet is an upper set relative to P.
Do NOT use directly. Please use RelUpperSet.isRelUpperSet instead.
structure RelLowerSet E1 #
{α : Type u_1} → [LE α] → (α → Prop) → Type u_1
A lower set relative to a predicate P is a set such that all elements satisfy P
and any element less than one of its members and satisfying P is also a member.
ctor RelLowerSet.mk E0 #
{α : Type u_1} → [inst : LE α] → {P : α → Prop} → (carrier : Set α) → IsRelLowerSet carrier P → RelLowerSet P
abbrev RelLowerSet.carrier E1 #
{α : Type u_1} → [inst : LE α] → {P : α → Prop} → RelLowerSet P → Set α
The carrier of a RelLowerSet.
theorem RelLowerSet.isRelLowerSet' E1 #
∀ {α : Type u_1} [inst : LE α] {P : α → Prop} (self : RelLowerSet P), IsRelLowerSet self.carrier P
The carrier of a RelLowerSet is a lower set relative to P.
Do NOT use directly. Please use RelLowerSet.isRelLowerSet instead.
theorem of_eq E0 #
∀ {α : Sort u_1} {r : α → α → Prop} [Std.Refl r] {a b : α}, a = b → r a b
theorem comm E1 #
∀ {α : Sort u_1} {r : α → α → Prop} [Std.Symm r] {a b : α}, r a b ↔ r b a
theorem antisymm' E1 #
∀ {α : Sort u_1} {r : α → α → Prop} [Std.Antisymm r] {a b : α}, r a b → r b a → b = a
theorem antisymm_iff E0 #
∀ {α : Sort u_1} {r : α → α → Prop} [Std.Refl r] [Std.Antisymm r] {a b : α}, r a b ∧ r b a ↔ a = b
theorem antisymm_of E2 #
∀ {α : Sort u_1} (r : α → α → Prop) [Std.Antisymm r] {a b : α}, r a b → r b a → a = b
A version of antisymm with r explicit.
This lemma matches the lemmas from lean core in Init.Algebra.Classes, but is missing there.
theorem antisymm_of' E2 #
∀ {α : Sort u_1} (r : α → α → Prop) [Std.Antisymm r] {a b : α}, r a b → r b a → b = a
A version of antisymm' with r explicit.
This lemma matches the lemmas from lean core in Init.Algebra.Classes, but is missing there.
theorem comm_of E2 #
∀ {α : Sort u_1} (r : α → α → Prop) [Std.Symm r] {a b : α}, r a b ↔ r b a
A version of comm with r explicit.
This lemma matches the lemmas from lean core in Init.Algebra.Classes, but is missing there.
theorem Std.Asymm.antisymm E1 #
∀ {α : Sort u_1} (r : α → α → Prop) [Std.Asymm r], Std.Antisymm r
theorem Std.Asymm.irrefl E1 #
∀ {α : Sort u_1} {r : α → α → Prop} [Std.Asymm r], Std.Irrefl r
theorem Std.Total.trichotomous E1 #
∀ {α : Sort u_1} (r : α → α → Prop) [Std.Total r], Std.Trichotomous r
instance Std.Total.to_refl E0 #
∀ {α : Sort u_1} (r : α → α → Prop) [Std.Total r], Std.Refl r
theorem ne_of_irrefl E1 #
∀ {α : Sort u_1} {r : α → α → Prop} [Std.Irrefl r] {x y : α}, r x y → x ≠ y
theorem ne_of_irrefl' E1 #
∀ {α : Sort u_1} {r : α → α → Prop} [Std.Irrefl r] {x y : α}, r x y → y ≠ x
theorem not_rel_of_subsingleton E1 #
∀ {α : Sort u_1} (r : α → α → Prop) [Std.Irrefl r] [Subsingleton α] (x y : α), ¬r x y
theorem rel_of_subsingleton E1 #
∀ {α : Sort u_1} (r : α → α → Prop) [Std.Refl r] [Subsingleton α] (x y : α), r x y
theorem empty_relation_apply E0 #
∀ {α : Sort u_1} (a b : α), emptyRelation a b ↔ False
instance instIrreflEmptyRelation_mathlib E0 #
∀ {α : Sort u_1}, Std.Irrefl emptyRelation
theorem rel_congr_left E1 #
∀ {α : Sort u_1} {r : α → α → Prop} [Std.Symm r] [IsTrans α r] {a b c : α}, r a b → (r a c ↔ r b c)
theorem rel_congr_right E1 #
∀ {α : Sort u_1} {r : α → α → Prop} [Std.Symm r] [IsTrans α r] {a b c : α}, r b c → (r a b ↔ r a c)
theorem rel_congr E1 #
∀ {α : Sort u_1} {r : α → α → Prop} [Std.Symm r] [IsTrans α r] {a b c d : α}, r a b → r c d → (r a c ↔ r b d)
theorem trans_trichotomous_left E1 #
∀ {α : Sort u_1} {r : α → α → Prop} [IsTrans α r] [Std.Trichotomous r] {a b c : α}, ¬r b a → r b c → r a c
theorem trans_trichotomous_right E1 #
∀ {α : Sort u_1} {r : α → α → Prop} [IsTrans α r] [Std.Trichotomous r] {a b c : α}, r a b → ¬r c b → r a c
theorem extensional_of_trichotomous_of_irrefl E1 #
∀ {α : Sort u_1} (r : α → α → Prop) [Std.Trichotomous r] [Std.Irrefl r] {a b : α}, (∀ (x : α), r x a ↔ r x b) → a = b
In a trichotomous irreflexive order, every element is determined by the set of predecessors.
Deprecated aliases
| Name | New name | Since |
|---|---|---|
Equivalence.symmetric | Equivalence.stdSymm | 2026-06-10 |
Symmetric | Std.Symm | 2026-06-10 |