The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V04. Order and lattices

Mathlib.Order.RelClasses

172 declarations and 21 deprecated aliases. Mathlib docs · Source

Unbundled relation classes

In this file we prove some properties of Is* classes defined in Mathlib/Order/Defs/Unbundled.lean. The main difference between these classes and the usual order classes (Preorder etc) is that usual classes extend LE and/or LT while these classes take a relation as an explicit argument.

Order connection

Inverse Image

Well-order

Strict-non strict relations

⊆ and ⊂

Conversion of bundled order typeclasses to unbundled relation typeclasses

abbrev partialOrderOfSO E1 #

{α : Type u} → (r : α → α → Prop) → [IsStrictOrder α r] → PartialOrder α

Construct a partial order from an isStrictOrder relation.

See note [reducible non-instances].

abbrev linearOrderOfSTO E1 #

{α : Type u} → (r : α → α → Prop) → [IsStrictTotalOrder α r] → [DecidableRel r] → LinearOrder α

Construct a linear order from an IsStrictTotalOrder relation.

See note [reducible non-instances].

class IsOrderConnected E1 #

(α : Type u) → (α → α → Prop) → Prop

A connected order is one satisfying the condition a < c → a < b ∨ b < c. This is recognizable as an intuitionistic substitute for a ≤ b ∨ b ≤ a on the constructive reals, and is also known as negative transitivity, since the contrapositive asserts transitivity of the relation ¬ a < b.

ctor IsOrderConnected.mk E0 #

∀ {α : Type u} {lt : α → α → Prop}, (∀ (a b c : α), lt a c → lt a b ∨ lt b c) → IsOrderConnected α lt

theorem IsOrderConnected.conn E1 #

∀ {α : Type u} {lt : α → α → Prop} [self : IsOrderConnected α lt] (a b c : α), lt a c → lt a b ∨ lt b c

A connected order is one satisfying the condition a < c → a < b ∨ b < c.

theorem IsOrderConnected.neg_trans E1 #

∀ {α : Type u} {r : α → α → Prop} [IsOrderConnected α r] {a b c : α}, ¬r a b → ¬r b c → ¬r a c

theorem isStrictWeakOrder_of_isOrderConnected E1 #

∀ {α : Type u} {r : α → α → Prop} [Std.Asymm r] [IsOrderConnected α r], IsStrictWeakOrder α r

instance isStrictOrderConnected_of_isStrictTotalOrder E0 #

∀ {α : Type u} {r : α → α → Prop} [IsStrictTotalOrder α r], IsOrderConnected α r

instance InvImage.refl E0 #

∀ {α : Sort u_1} {β : Sort u_2} {r : α → α → Prop} (f : β → α) [Std.Refl r], Std.Refl (InvImage r f)

instance InvImage.symm E0 #

∀ {α : Sort u_1} {β : Sort u_2} {r : α → α → Prop} (f : β → α) [Std.Symm r], Std.Symm (InvImage r f)

instance InvImage.asymm E0 #

∀ {α : Sort u_1} {β : Sort u_2} {r : α → α → Prop} (f : β → α) [Std.Asymm r], Std.Asymm (InvImage r f)

instance InvImage.total E0 #

∀ {α : Sort u_1} {β : Sort u_2} {r : α → α → Prop} (f : β → α) [Std.Total r], Std.Total (InvImage r f)

instance InvImage.isPreorder E0 #

∀ {α : Sort u_1} {β : Sort u_2} {r : α → α → Prop} (f : β → α) [IsPreorder α r], IsPreorder β (InvImage r f)

instance InvImage.isEquiv E0 #

∀ {α : Sort u_1} {β : Sort u_2} {r : α → α → Prop} (f : β → α) [IsEquiv α r], IsEquiv β (InvImage r f)

instance InvImage.isStrictOrder E0 #

∀ {α : Sort u_1} {β : Sort u_2} {r : α → α → Prop} (f : β → α) [IsStrictOrder α r], IsStrictOrder β (InvImage r f)

instance InvImage.isStrictWeakOrder E0 #

∀ {α : Sort u_1} {β : Sort u_2} {r : α → α → Prop} (f : β → α) [IsStrictWeakOrder α r],
  IsStrictWeakOrder β (InvImage r f)

theorem InvImage.antisymm E1 #

∀ {α : Sort u_1} {β : Sort u_2} {r : α → α → Prop} {f : β → α} [Std.Antisymm r],
  Function.Injective f → Std.Antisymm (InvImage r f)

theorem InvImage.trichotomous E1 #

∀ {α : Sort u_1} {β : Sort u_2} {r : α → α → Prop} {f : β → α} [Std.Trichotomous r],
  Function.Injective f → Std.Trichotomous (InvImage r f)

theorem InvImage.isPartialOrder E1 #

∀ {α : Sort u_1} {β : Sort u_2} {r : α → α → Prop} {f : β → α} [IsPartialOrder α r],
  Function.Injective f → IsPartialOrder β (InvImage r f)

theorem InvImage.isLinearOrder E1 #

∀ {α : Sort u_1} {β : Sort u_2} {r : α → α → Prop} {f : β → α} [IsLinearOrder α r],
  Function.Injective f → IsLinearOrder β (InvImage r f)

theorem InvImage.isStrictTotalOrder E1 #

∀ {α : Sort u_1} {β : Sort u_2} {r : α → α → Prop} {f : β → α} [IsStrictTotalOrder α r],
  Function.Injective f → IsStrictTotalOrder β (InvImage r f)

ctor IsWellFounded.mk E0 #

∀ {α : Type u} {r : α → α → Prop}, WellFounded r → IsWellFounded α r

theorem IsWellFounded.wf E1 #

∀ {α : Type u} {r : α → α → Prop} [self : IsWellFounded α r], WellFounded r

The relation is WellFounded, as a proposition.

instance WellFoundedRelation.isWellFounded E0 #

∀ {α : Type u} [h : WellFoundedRelation α], WellFounded WellFoundedRelation.rel

theorem WellFoundedRelation.asymmetric E1 #

∀ {α : Sort u_1} [inst : WellFoundedRelation α] {a b : α}, WellFoundedRelation.rel a b → ¬WellFoundedRelation.rel b a

theorem WellFoundedRelation.asymmetric₃ E1 #

∀ {α : Sort u_1} [inst : WellFoundedRelation α] {a b c : α},
  WellFoundedRelation.rel a b → WellFoundedRelation.rel b c → ¬WellFoundedRelation.rel c a

theorem WellFounded.prod_lex E1 #

∀ {α : Type u} {β : Type v} {ra : α → α → Prop} {rb : β → β → Prop},
  WellFounded ra → WellFounded rb → WellFounded (Prod.Lex ra rb)

theorem WellFounded.psigma_lex E1 #

∀ {α : Sort u_1} {β : α → Sort u_2} {r : α → α → Prop} {s : (a : α) → β a → β a → Prop},
  WellFounded r → (∀ (x : α), WellFounded (s x)) → WellFounded (PSigma.Lex r s)

The lexicographical order of well-founded relations is well-founded.

theorem WellFounded.psigma_revLex E1 #

∀ {α : Sort u_1} {β : Sort u_2} {r : α → α → Prop} {s : β → β → Prop},
  WellFounded r → WellFounded s → WellFounded (PSigma.RevLex r s)

theorem WellFounded.psigma_skipLeft E1 #

∀ (α : Type u) {β : Type v} {s : β → β → Prop}, WellFounded s → WellFounded (PSigma.SkipLeft α s)

theorem WellFounded.induction' E1 #

∀ {α : Type u} (r : α → α → Prop) [i : WellFounded r] {motive : α → Prop} (a : α),
  (∀ (x : α), (∀ (y : α), r y x → motive y) → motive x) → motive a

Induction on a well-founded relation.

theorem WellFounded.apply' E1 #

∀ {α : Type u} (r : α → α → Prop) [i : WellFounded r] (a : α), Acc r a

All values are accessible under the well-founded relation.

def WellFounded.fix' E1 #

{α : Type u} →
  (r : α → α → Prop) →
    [i : WellFounded r] →
      {motive : α → Sort u_1} → ((x : α) → ((y : α) → r y x → motive y) → motive x) → (x : α) → motive x

Creates data, given a way to generate a value from all that compare as less under a well-founded relation. See also WellFounded.fix_eq.

theorem WellFounded.fix'_eq E0 #

∀ {α : Type u} (r : α → α → Prop) [i : WellFounded r] {motive : α → Sort u_1}
  (ind : (x : α) → ((y : α) → r y x → motive y) → motive x) (x : α),
  WellFounded.fix' r ind x = ind x fun y x ↦ WellFounded.fix' r ind y

The value from WellFounded.fix' is built from the previous ones as specified.

def WellFounded.toWellFoundedRelation E1 #

{α : Type u} → (r : α → α → Prop) → [i : WellFounded r] → WellFoundedRelation α

Derive a WellFoundedRelation instance from an isWellFounded instance.

theorem WellFounded.asymmetric E1 #

∀ {α : Sort u_1} {r : α → α → Prop} [h : WellFounded r] (a b : α), r a b → ¬r b a

theorem WellFounded.asymmetric₃ E1 #

∀ {α : Sort u_1} {r : α → α → Prop} [h : WellFounded r] (a b c : α), r a b → r b c → ¬r c a

instance instAsymmOfWellFounded_mathlib E0 #

∀ {α : Type u} (r : α → α → Prop) [WellFounded r], Std.Asymm r

instance instWellFoundedTransGen_mathlib E0 #

∀ {α : Type u} (r : α → α → Prop) [i : WellFounded r], WellFounded (Relation.TransGen r)

abbrev WellFoundedLT E1 #

(α : Type u_1) → [LT α] → Prop

A class for a well-founded relation <.

abbrev WellFoundedGT E1 #

(α : Type u_1) → [LT α] → Prop

A class for a well-founded relation >.

theorem wellFounded_lt E1 #

∀ {α : Type u} [inst : LT α] [i : WellFoundedLT α], WellFounded fun x1 x2 ↦ x1 < x2

theorem wellFounded_gt E1 #

∀ {α : Type u} [inst : LT α] [i : WellFoundedGT α], WellFounded fun x1 x2 ↦ x2 < x1

instance instWellFoundedGTOrderDualOfWellFoundedLT E0 #

∀ (α : Type u_1) [inst : LT α] [h : WellFoundedLT α], WellFoundedGT αᵒᵈ

instance instWellFoundedLTOrderDualOfWellFoundedGT E0 #

∀ (α : Type u_1) [inst : LT α] [h : WellFoundedGT α], WellFoundedLT αᵒᵈ

theorem wellFoundedLT_dual_iff E0 #

∀ (α : Type u_1) [inst : LT α], WellFoundedLT αᵒᵈ ↔ WellFoundedGT α

theorem wellFoundedGT_dual_iff E0 #

∀ (α : Type u_1) [inst : LT α], WellFoundedGT αᵒᵈ ↔ WellFoundedLT α

class IsWellOrder E1 #

(α : Type u) → (α → α → Prop) → Prop

A well order is a well-founded linear order.

ctor IsWellOrder.mk E0 #

∀ {α : Type u} {r : α → α → Prop} [toTrichotomous : Std.Trichotomous r] [wf : WellFounded r], IsWellOrder α r

instance IsWellOrder.toTrichotomous E0 #

∀ {α : Type u} {r : α → α → Prop} [self : IsWellOrder α r], Std.Trichotomous r

instance IsWellOrder.wf E0 #

∀ {α : Type u} {r : α → α → Prop} [self : IsWellOrder α r], WellFounded r

instance instIsTransOfIsWellOrder E0 #

∀ {α : Type u} (r : α → α → Prop) [IsWellOrder α r], IsTrans α r

instance instIsStrictTotalOrderOfIsWellOrder E0 #

∀ {α : Type u_1} (r : α → α → Prop) [IsWellOrder α r], IsStrictTotalOrder α r

theorem WellFoundedLT.induction E1 #

∀ {α : Type u} [inst : LT α] [WellFoundedLT α] {motive : α → Prop} (a : α),
  (∀ (x : α), (∀ y < x, motive y) → motive x) → motive a

Inducts on a well-founded < relation.

theorem WellFoundedGT.induction E1 #

∀ {α : Type u} [inst : LT α] [WellFoundedGT α] {motive : α → Prop} (a : α),
  (∀ (x : α), (∀ (y : α), x < y → motive y) → motive x) → motive a

Inducts on a well-founded > relation.

theorem WellFoundedLT.apply E1 #

∀ {α : Type u} [inst : LT α] [WellFoundedLT α] (a : α), Acc (fun x1 x2 ↦ x1 < x2) a

All values are accessible under the well-founded <.

theorem WellFoundedGT.apply E1 #

∀ {α : Type u} [inst : LT α] [WellFoundedGT α] (a : α), Acc (fun x1 x2 ↦ x2 < x1) a

All values are accessible under the well-founded >.

def WellFoundedLT.fix E1 #

{α : Type u} →
  [inst : LT α] →
    [WellFoundedLT α] →
      {motive : α → Sort u_1} → ((x : α) → ((y : α) → y < x → motive y) → motive x) → (x : α) → motive x

Creates data, given a way to generate a value from all that compare as lesser. See also WellFoundedLT.fix_eq.

def WellFoundedGT.fix E1 #

{α : Type u} →
  [inst : LT α] →
    [WellFoundedGT α] →
      {motive : α → Sort u_1} → ((x : α) → ((y : α) → x < y → motive y) → motive x) → (x : α) → motive x

Creates data, given a way to generate a value from all that compare as greater. See also WellFoundedGT.fix_eq.

theorem WellFoundedLT.fix_eq E0 #

∀ {α : Type u} [inst : LT α] [inst_1 : WellFoundedLT α] {motive : α → Sort u_1}
  (ind : (x : α) → ((y : α) → y < x → motive y) → motive x) (x : α),
  WellFoundedLT.fix ind x = ind x fun y x ↦ WellFoundedLT.fix ind y

The value from WellFoundedLT.fix is built from the previous ones as specified.

theorem WellFoundedGT.fix_eq E0 #

∀ {α : Type u} [inst : LT α] [inst_1 : WellFoundedGT α] {motive : α → Sort u_1}
  (ind : (x : α) → ((y : α) → x < y → motive y) → motive x) (x : α),
  WellFoundedGT.fix ind x = ind x fun y x ↦ WellFoundedGT.fix ind y

The value from WellFoundedGT.fix is built from the successive ones as specified.

def WellFoundedLT.toWellFoundedRelation E1 #

{α : Type u} → [inst : LT α] → [WellFoundedLT α] → WellFoundedRelation α

Derive a WellFoundedRelation instance from a WellFoundedLT instance.

def WellFoundedGT.toWellFoundedRelation E1 #

{α : Type u} → [inst : LT α] → [WellFoundedGT α] → WellFoundedRelation α

Derive a WellFoundedRelation instance from a WellFoundedGT instance.

def IsWellOrder.linearOrder E1 #

{α : Type u} → (r : α → α → Prop) → [IsWellOrder α r] → LinearOrder α

Construct a decidable linear order from a well-founded linear order.

def IsWellOrder.toHasWellFounded E1 #

{α : Type u} → [inst : LT α] → [hwo : IsWellOrder α fun x1 x2 ↦ x1 < x2] → WellFoundedRelation α

Derive a WellFoundedRelation instance from an IsWellOrder instance.

theorem Subsingleton.isWellOrder E1 #

∀ {α : Type u} [Subsingleton α] (r : α → α → Prop) [Std.Irrefl r], IsWellOrder α r

instance instIsWellOrderEmptyRelationOfSubsingleton E0 #

∀ {α : Type u} [Subsingleton α], IsWellOrder α emptyRelation

instance instIsWellOrderOfIsEmpty E0 #

∀ {α : Type u} [IsEmpty α] (r : α → α → Prop), IsWellOrder α r

instance Prod.Lex.instWellFounded E0 #

∀ {α : Type u} {β : Type v} {r : α → α → Prop} {s : β → β → Prop} [i₁ : WellFounded r] [i₂ : WellFounded s],
  WellFounded (Prod.Lex r s)

instance instIsWellOrderProdLex E0 #

∀ {α : Type u} {β : Type v} {r : α → α → Prop} {s : β → β → Prop} [IsWellOrder α r] [IsWellOrder β s],
  IsWellOrder (α × β) (Prod.Lex r s)

instance instWellFoundedInvImage_mathlib E0 #

∀ {α : Type u} {β : Type v} (r : α → α → Prop) [i : WellFounded r] (f : β → α), WellFounded (InvImage r f)

instance instWellFoundedInvImageNatLt_mathlib E0 #

∀ {α : Type u} (f : α → ℕ), WellFounded (InvImage (fun x1 x2 ↦ x1 < x2) f)

theorem Subrelation.isWellFounded E1 #

∀ {α : Type u} (r : α → α → Prop) [i : WellFounded r] {s : α → α → Prop}, Subrelation s r → WellFounded s

instance Prod.wellFoundedLT E0 #

∀ {α : Type u} {β : Type v} [inst : Preorder α] [WellFoundedLT α] [inst_2 : Preorder β] [WellFoundedLT β],
  WellFoundedLT (α × β)

instance Prod.wellFoundedGT E0 #

∀ {α : Type u} {β : Type v} [inst : Preorder α] [WellFoundedGT α] [inst_2 : Preorder β] [WellFoundedGT β],
  WellFoundedGT (α × β)

def Set.Unbounded E1 #

{α : Type u} → (α → α → Prop) → Set α → Prop

An unbounded or cofinal set.

def Set.Bounded E1 #

{α : Type u} → (α → α → Prop) → Set α → Prop

A bounded or final set. Not to be confused with Bornology.IsBounded.

theorem Set.not_bounded_iff E0 #

∀ {α : Type u} {r : α → α → Prop} (s : Set α), ¬Set.Bounded r s ↔ Set.Unbounded r s

theorem Set.not_unbounded_iff E0 #

∀ {α : Type u} {r : α → α → Prop} (s : Set α), ¬Set.Unbounded r s ↔ Set.Bounded r s

theorem Set.unbounded_of_isEmpty E1 #

∀ {α : Type u} [IsEmpty α] {r : α → α → Prop} (s : Set α), Set.Unbounded r s

instance Order.Preimage.instRefl E0 #

∀ {α : Type u} {β : Type v} {r : α → α → Prop} [Std.Refl r] {f : β → α}, Std.Refl (f ⁻¹'o r)

instance Order.Preimage.instIrrefl E0 #

∀ {α : Type u} {β : Type v} {r : α → α → Prop} [Std.Irrefl r] {f : β → α}, Std.Irrefl (f ⁻¹'o r)

instance Order.Preimage.instIsSymm E0 #

∀ {α : Type u} {β : Type v} {r : α → α → Prop} [Std.Symm r] {f : β → α}, Std.Symm (f ⁻¹'o r)

instance Order.Preimage.instAsymm E0 #

∀ {α : Type u} {β : Type v} {r : α → α → Prop} [Std.Asymm r] {f : β → α}, Std.Asymm (f ⁻¹'o r)

instance Order.Preimage.instIsTrans E0 #

∀ {α : Type u} {β : Type v} {r : α → α → Prop} [IsTrans α r] {f : β → α}, IsTrans β (f ⁻¹'o r)

instance Order.Preimage.instIsPreorder E0 #

∀ {α : Type u} {β : Type v} {r : α → α → Prop} [IsPreorder α r] {f : β → α}, IsPreorder β (f ⁻¹'o r)

instance Order.Preimage.instIsStrictOrder E0 #

∀ {α : Type u} {β : Type v} {r : α → α → Prop} [IsStrictOrder α r] {f : β → α}, IsStrictOrder β (f ⁻¹'o r)

instance Order.Preimage.instIsStrictWeakOrder E0 #

∀ {α : Type u} {β : Type v} {r : α → α → Prop} [IsStrictWeakOrder α r] {f : β → α}, IsStrictWeakOrder β (f ⁻¹'o r)

instance Order.Preimage.instIsEquiv E0 #

∀ {α : Type u} {β : Type v} {r : α → α → Prop} [IsEquiv α r] {f : β → α}, IsEquiv β (f ⁻¹'o r)

instance Order.Preimage.instTotal E0 #

∀ {α : Type u} {β : Type v} {r : α → α → Prop} [Std.Total r] {f : β → α}, Std.Total (f ⁻¹'o r)

theorem Order.Preimage.antisymm E1 #

∀ {α : Type u} {β : Type v} {r : α → α → Prop} [Std.Antisymm r] {f : β → α},
  Function.Injective f → Std.Antisymm (f ⁻¹'o r)

theorem Order.Preimage.trichotomous E1 #

∀ {α : Type u} {β : Type v} {r : α → α → Prop} [Std.Trichotomous r] {f : β → α},
  Function.Injective f → Std.Trichotomous (f ⁻¹'o r)

theorem Order.Preimage.isPartialOrder E1 #

∀ {α : Type u} {β : Type v} {r : α → α → Prop} [IsPartialOrder α r] {f : β → α},
  Function.Injective f → IsPartialOrder β (f ⁻¹'o r)

theorem Order.Preimage.isLinearOrder E1 #

∀ {α : Type u} {β : Type v} {r : α → α → Prop} [IsLinearOrder α r] {f : β → α},
  Function.Injective f → IsLinearOrder β (f ⁻¹'o r)

theorem Order.Preimage.isStrictTotalOrder E1 #

∀ {α : Type u} {β : Type v} {r : α → α → Prop} [IsStrictTotalOrder α r] {f : β → α},
  Function.Injective f → IsStrictTotalOrder β (f ⁻¹'o r)

class IsNonstrictStrictOrder E1 #

(α : Type u_1) → semiOutParam (α → α → Prop) → (α → α → Prop) → Prop

An unbundled relation class stating that r is the nonstrict relation corresponding to the strict relation s. Compare lt_iff_le_not_ge. This is mostly meant to provide dot notation on (⊆) and (⊂).

ctor IsNonstrictStrictOrder.mk E0 #

∀ {α : Type u_1} {r : semiOutParam (α → α → Prop)} {s : α → α → Prop},
  (∀ (a b : α), s a b ↔ r a b ∧ ¬r b a) → IsNonstrictStrictOrder α r s

theorem IsNonstrictStrictOrder.right_iff_left_not_left E1 #

∀ {α : Type u_1} {r : semiOutParam (α → α → Prop)} {s : α → α → Prop} [self : IsNonstrictStrictOrder α r s] (a b : α),
  s a b ↔ r a b ∧ ¬r b a

The relation r is the nonstrict relation corresponding to the strict relation s.

theorem right_iff_left_not_left E1 #

∀ {α : Type u} {r s : α → α → Prop} [IsNonstrictStrictOrder α r s] {a b : α}, s a b ↔ r a b ∧ ¬r b a

theorem right_iff_left_not_left_of E1 #

∀ {α : Type u} (r s : α → α → Prop) [IsNonstrictStrictOrder α r s] {a b : α}, s a b ↔ r a b ∧ ¬r b a

A version of right_iff_left_not_left with explicit r and s.

instance instIrreflOfIsNonstrictStrictOrder E0 #

∀ {α : Type u} {r s : α → α → Prop} [IsNonstrictStrictOrder α r s], Std.Irrefl s

theorem ne_of_not_subset E1 #

∀ {α : Type u_2} [UsesSetNotationForOrder α] [inst : Preorder α] {a b : α}, ¬a ⊆ b → a ≠ b

Set notation form of ne_of_not_le

theorem superset_antisymm_iff E0 #

∀ {α : Type u_1} [UsesSetNotationForOrder α] [inst : PartialOrder α] {a b : α}, a = b ↔ b ⊆ a ∧ a ⊆ b

Set notation form of ge_antisymm_iff

theorem subset_of_subset_of_eq E0 #

∀ {α : Type u_1} [UsesSetNotationForOrder α] {a b c : α} [inst : LE α], a ⊆ b → b = c → a ⊆ c

Set notation form of le_of_le_of_eq

theorem subset_trans E1 #

∀ {α : Type u_1} [UsesSetNotationForOrder α] [inst : Preorder α] {a b c : α}, a ⊆ b → b ⊆ c → a ⊆ c

Set notation form of le_trans

theorem subset_antisymm E1 #

∀ {α : Type u_1} [UsesSetNotationForOrder α] [inst : PartialOrder α] {a b : α}, a ⊆ b → b ⊆ a → a = b

Set notation form of le_antisymm

theorem subset_of_eq E0 #

∀ {α : Type u_1} [UsesSetNotationForOrder α] [inst : Preorder α] {a b : α}, a = b → a ⊆ b

Set notation form of le_of_eq

theorem subset_refl E1 #

∀ {α : Type u_1} [UsesSetNotationForOrder α] [inst : Preorder α] (a : α), a ⊆ a

Set notation form of le_refl

theorem Eq.subset E1 #

∀ {α : Type u_1} [UsesSetNotationForOrder α] [inst : Preorder α] {a b : α}, a = b → a ⊆ b

Set notation form of Eq.le

theorem subset_antisymm_iff E0 #

∀ {α : Type u_1} [UsesSetNotationForOrder α] [inst : PartialOrder α] {a b : α}, a = b ↔ a ⊆ b ∧ b ⊆ a

Set notation form of le_antisymm_iff

theorem superset_of_eq E0 #

∀ {α : Type u_1} [UsesSetNotationForOrder α] [inst : Preorder α] {a b : α}, a = b → b ⊆ a

Set notation form of ge_of_eq

theorem superset_antisymm E1 #

∀ {α : Type u_1} [UsesSetNotationForOrder α] [inst : PartialOrder α] {a b : α}, b ⊆ a → a ⊆ b → a = b

Set notation form of ge_antisymm

theorem ne_of_not_superset E1 #

∀ {α : Type u_2} [UsesSetNotationForOrder α] [inst : Preorder α] {a b : α}, ¬b ⊆ a → a ≠ b

Set notation form of ne_of_not_ge

theorem Eq.trans_subset E1 #

∀ {α : Type u_1} [UsesSetNotationForOrder α] {a b c : α} [inst : LE α], a = b → b ⊆ c → a ⊆ c

Set notation form of Eq.trans_le

theorem subset_rfl E1 #

∀ {α : Type u_1} [UsesSetNotationForOrder α] [inst : Preorder α] {a : α}, a ⊆ a

Set notation form of le_rfl

theorem Eq.superset E1 #

∀ {α : Type u_1} [UsesSetNotationForOrder α] [inst : Preorder α] {a b : α}, a = b → b ⊆ a

Set notation form of Eq.ge

theorem subset_of_eq_of_subset E1 #

∀ {α : Type u_1} [UsesSetNotationForOrder α] {a b c : α} [inst : LE α], a = b → b ⊆ c → a ⊆ c

Set notation form of le_of_eq_of_le

theorem ne_of_ssuperset E1 #

∀ {α : Type u_1} [UsesSetNotationForOrder α] [inst : Preorder α] {a b : α}, b ⊂ a → a ≠ b

Set notation form of ne_of_gt

theorem Eq.trans_ssubset E1 #

∀ {α : Type u_1} [UsesSetNotationForOrder α] {a b c : α} [inst : LT α], a = b → b ⊂ c → a ⊂ c

Set notation form of Eq.trans_lt

theorem ne_of_ssubset E1 #

∀ {α : Type u_1} [UsesSetNotationForOrder α] [inst : Preorder α] {a b : α}, a ⊂ b → a ≠ b

Set notation form of ne_of_lt

theorem ssubset_asymm E1 #

∀ {α : Type u_1} [UsesSetNotationForOrder α] [inst : Preorder α] {a b : α}, a ⊂ b → ¬b ⊂ a

Set notation form of lt_asymm

theorem ssubset_trans E1 #

∀ {α : Type u_1} [UsesSetNotationForOrder α] [inst : Preorder α] {a b c : α}, a ⊂ b → b ⊂ c → a ⊂ c

Set notation form of lt_trans

theorem ssubset_of_eq_of_ssubset E1 #

∀ {α : Type u_1} [UsesSetNotationForOrder α] {a b c : α} [inst : LT α], a = b → b ⊂ c → a ⊂ c

Set notation form of lt_of_eq_of_lt

theorem ssubset_of_ssubset_of_eq E0 #

∀ {α : Type u_1} [UsesSetNotationForOrder α] {a b c : α} [inst : LT α], a ⊂ b → b = c → a ⊂ c

Set notation form of lt_of_lt_of_eq

theorem ssubset_irrefl E1 #

∀ {α : Type u_1} [UsesSetNotationForOrder α] [inst : Preorder α] (a : α), ¬a ⊂ a

Set notation form of lt_irrefl

theorem not_ssubset_of_superset E1 #

∀ {α : Type u_1} [UsesSetNotationForOrder α] [inst : Preorder α] {a b : α}, a ⊆ b → ¬b ⊂ a

Set notation form of not_lt_of_ge

theorem LT.lt.trans_subset E1 #

∀ {α : Type u_1} [UsesSetNotationForOrder α] [inst : Preorder α] {a b c : α}, a ⊂ b → b ⊆ c → a ⊂ c

Set notation form of LT.lt.trans_le

theorem ssubset_of_ssubset_of_subset E1 #

∀ {α : Type u_1} [UsesSetNotationForOrder α] [inst : Preorder α] {a b c : α}, a ⊂ b → b ⊆ c → a ⊂ c

Set notation form of lt_of_lt_of_le

theorem ssubset_iff_subset_and_ne E1 #

∀ {α : Type u_2} [UsesSetNotationForOrder α] [inst : PartialOrder α] {a b : α}, a ⊂ b ↔ a ⊆ b ∧ a ≠ b

Set notation form of lt_iff_le_and_ne

theorem ssubset_of_ne_of_subset E1 #

∀ {α : Type u_1} [UsesSetNotationForOrder α] [inst : PartialOrder α] {a b : α}, a ≠ b → a ⊆ b → a ⊂ b

Set notation form of lt_of_ne_of_le

theorem ssubset_of_subset_of_ssubset E1 #

∀ {α : Type u_1} [UsesSetNotationForOrder α] [inst : Preorder α] {a b c : α}, a ⊆ b → b ⊂ c → a ⊂ c

Set notation form of lt_of_le_of_lt

theorem Ne.ssubset_of_subset E1 #

∀ {α : Type u_2} [UsesSetNotationForOrder α] [inst : PartialOrder α] {a b : α}, a ≠ b → a ⊆ b → a ⊂ b

Set notation form of Ne.lt_of_le

theorem not_subset_of_ssuperset E1 #

∀ {α : Type u_1} [UsesSetNotationForOrder α] [inst : Preorder α] {a b : α}, a ⊂ b → ¬b ⊆ a

Set notation form of not_le_of_gt

theorem subset_iff_ssubset_or_eq E0 #

∀ {α : Type u_1} [UsesSetNotationForOrder α] [inst : PartialOrder α] {a b : α}, a ⊆ b ↔ a ⊂ b ∨ a = b

Set notation form of le_iff_lt_or_eq

theorem subset_of_ssubset E1 #

∀ {α : Type u_1} [UsesSetNotationForOrder α] [inst : Preorder α] {a b : α}, a ⊂ b → a ⊆ b

Set notation form of le_of_lt

theorem LT.lt.subset E1 #

∀ {α : Type u_1} [UsesSetNotationForOrder α] [inst : Preorder α] {a b : α}, a ⊂ b → a ⊆ b

Set notation form of LT.lt.le

theorem ssubset_of_subset_not_superset E1 #

∀ {α : Type u_1} [UsesSetNotationForOrder α] [inst : Preorder α] {a b : α}, a ⊆ b → ¬b ⊆ a → a ⊂ b

Set notation form of lt_of_le_not_ge

theorem ssubset_of_subset_of_ne E1 #

∀ {α : Type u_1} [UsesSetNotationForOrder α] [inst : PartialOrder α] {a b : α}, a ⊆ b → a ≠ b → a ⊂ b

Set notation form of lt_of_le_of_ne

theorem ssubset_or_eq_of_subset E1 #

∀ {α : Type u_1} [UsesSetNotationForOrder α] [inst : PartialOrder α] {a b : α}, a ⊆ b → a ⊂ b ∨ a = b

Set notation form of lt_or_eq_of_le

theorem LE.le.ssubset_of_not_superset E1 #

∀ {α : Type u_1} [UsesSetNotationForOrder α] [inst : Preorder α] {a b : α}, a ⊆ b → ¬b ⊆ a → a ⊂ b

Set notation form of LE.le.lt_of_not_ge

theorem LE.le.ssubset_of_ne E1 #

∀ {α : Type u_1} [UsesSetNotationForOrder α] [inst : PartialOrder α] {a b : α}, a ⊆ b → a ≠ b → a ⊂ b

Set notation form of LE.le.lt_of_ne

theorem ssubset_iff_subset_not_superset E1 #

∀ {α : Type u_1} [UsesSetNotationForOrder α] [inst : Preorder α] {a b : α}, a ⊂ b ↔ a ⊆ b ∧ ¬b ⊆ a

Set notation form of lt_iff_le_not_ge

theorem LE.le.ssubset_or_eq E0 #

∀ {α : Type u_1} [UsesSetNotationForOrder α] [inst : PartialOrder α] {a b : α}, a ⊆ b → a ⊂ b ∨ a = b

Set notation form of LE.le.lt_or_eq

theorem LE.le.trans_ssubset E1 #

∀ {α : Type u_1} [UsesSetNotationForOrder α] [inst : Preorder α] {a b c : α}, a ⊆ b → b ⊂ c → a ⊂ c

Set notation form of LE.le.trans_lt

theorem LE.le.not_ssuperset E1 #

∀ {α : Type u_1} [UsesSetNotationForOrder α] [inst : Preorder α] {a b : α}, a ⊆ b → ¬b ⊂ a

Set notation form of LE.le.not_gt

theorem LT.lt.not_superset E1 #

∀ {α : Type u_1} [UsesSetNotationForOrder α] [inst : Preorder α] {a b : α}, a ⊂ b → ¬b ⊆ a

Set notation form of LT.lt.not_ge

theorem ssubset_iff_subset_not_subset E1 #

∀ {α : Type u_1} [UsesSetNotationForOrder α] [inst : Preorder α] {a b : α}, a ⊂ b ↔ a ⊆ b ∧ ¬b ⊆ a

Alias of ssubset_iff_subset_not_superset.


Set notation form of lt_iff_le_not_ge

theorem not_subset_of_ssubset E1 #

∀ {α : Type u_1} [UsesSetNotationForOrder α] [inst : Preorder α] {a b : α}, a ⊂ b → ¬b ⊆ a

Alias of not_subset_of_ssuperset.


Set notation form of not_le_of_gt

theorem not_ssubset_of_subset E1 #

∀ {α : Type u_1} [UsesSetNotationForOrder α] [inst : Preorder α] {a b : α}, a ⊆ b → ¬b ⊂ a

Alias of not_ssubset_of_superset.


Set notation form of not_lt_of_ge

theorem ssubset_of_subset_not_subset E1 #

∀ {α : Type u_1} [UsesSetNotationForOrder α] [inst : Preorder α] {a b : α}, a ⊆ b → ¬b ⊆ a → a ⊂ b

Alias of ssubset_of_subset_not_superset.


Set notation form of lt_of_le_not_ge

theorem LT.lt.not_subset E1 #

∀ {α : Type u_1} [UsesSetNotationForOrder α] [inst : Preorder α] {a b : α}, a ⊂ b → ¬b ⊆ a

Alias of LT.lt.not_superset.


Set notation form of LT.lt.not_ge

theorem LE.le.not_ssubset E1 #

∀ {α : Type u_1} [UsesSetNotationForOrder α] [inst : Preorder α] {a b : α}, a ⊆ b → ¬b ⊂ a

Alias of LE.le.not_ssuperset.


Set notation form of LE.le.not_gt

theorem LE.le.ssubset_of_not_subset E1 #

∀ {α : Type u_1} [UsesSetNotationForOrder α] [inst : Preorder α] {a b : α}, a ⊆ b → ¬b ⊆ a → a ⊂ b

Alias of LE.le.ssubset_of_not_superset.


Set notation form of LE.le.lt_of_not_ge

theorem ssubset_iff_subset_ne E1 #

∀ {α : Type u_2} [UsesSetNotationForOrder α] [inst : PartialOrder α] {a b : α}, a ⊂ b ↔ a ⊆ b ∧ a ≠ b

Alias of ssubset_iff_subset_and_ne.


Set notation form of lt_iff_le_and_ne

instance instReflGe E0 #

∀ {α : Type u} [inst : Preorder α], Std.Refl fun x1 x2 ↦ x2 ≤ x1

instance instReflLe E0 #

∀ {α : Type u} [inst : Preorder α], Std.Refl fun x1 x2 ↦ x1 ≤ x2

theorem Std.ge_refl E1 #

∀ {α : Type u_1} [inst : LE α] [inst_1 : Std.Refl fun x1 x2 ↦ x1 ≥ x2] (a : α), a ≤ a

A version of Std.le_refl that works with Std.Refl (· ≥ ·). This is needed for to_dual translations because Std.le_refl requires Std.Refl (· ≤ ·), but after translation instReflLe becomes instReflGe : Std.Refl (· ≥ ·).

instance instIsPreorderLe E0 #

∀ {α : Type u} [inst : Preorder α], IsPreorder α fun x1 x2 ↦ x1 ≤ x2

instance instAsymmLt_mathlib E0 #

∀ {α : Type u} [inst : Preorder α], Std.Asymm fun x1 x2 ↦ x1 < x2

instance instIsStrictOrderLt E0 #

∀ {α : Type u} [inst : Preorder α], IsStrictOrder α fun x1 x2 ↦ x1 < x2

instance instIsNonstrictStrictOrderLeLt E0 #

∀ {α : Type u} [inst : Preorder α], IsNonstrictStrictOrder α (fun x1 x2 ↦ x1 ≤ x2) fun x1 x2 ↦ x1 < x2

instance instAntisymmLe_mathlib E0 #

∀ {α : Type u} [inst : PartialOrder α], Std.Antisymm fun x1 x2 ↦ x1 ≤ x2

instance instIsPartialOrderLe E0 #

∀ {α : Type u} [inst : PartialOrder α], IsPartialOrder α fun x1 x2 ↦ x1 ≤ x2

instance instTotalLe_mathlib E0 #

∀ {α : Type u} [inst : LinearOrder α], Std.Total fun x1 x2 ↦ x1 ≤ x2

instance instIsLinearOrderLe E0 #

∀ {α : Type u} [inst : LinearOrder α], IsLinearOrder α fun x1 x2 ↦ x1 ≤ x2

instance instTrichotomousLt_mathlib E0 #

∀ {α : Type u} [inst : LinearOrder α], Std.Trichotomous fun x1 x2 ↦ x1 < x2

instance instIsStrictTotalOrderLt E0 #

∀ {α : Type u} [inst : LinearOrder α], IsStrictTotalOrder α fun x1 x2 ↦ x1 < x2

instance OrderDual.total_le E0 #

∀ {α : Type u} [inst : LE α] [h : Std.Total fun x1 x2 ↦ x1 ≤ x2], Std.Total fun x1 x2 ↦ x1 ≤ x2

instance OrderDual.total_ge E0 #

∀ {α : Type u} [inst : LE α] [h : Std.Total fun x1 x2 ↦ x2 ≤ x1], Std.Total fun x1 x2 ↦ x2 ≤ x1

instance instWellFoundedLTNat E0 #

WellFoundedLT ℕ

instance isWellOrder_lt E0 #

∀ {α : Type u} [inst : LinearOrder α] [WellFoundedLT α], IsWellOrder α fun x1 x2 ↦ x1 < x2

instance isWellOrder_gt E0 #

∀ {α : Type u} [inst : LinearOrder α] [WellFoundedGT α], IsWellOrder α fun x1 x2 ↦ x2 < x1

Deprecated aliases

NameNew nameSince
HasSSubset.SSubset.asymmLT.lt.asymm2026-05-24
HasSSubset.SSubset.falseLT.lt.false2026-05-24
HasSSubset.SSubset.neLT.lt.ne2026-05-24
HasSSubset.SSubset.ne'LT.lt.ne'2026-05-24
HasSSubset.SSubset.not_subsetLT.lt.not_superset2026-05-24
HasSSubset.SSubset.subsetLT.lt.subset2026-05-24
HasSSubset.SSubset.transLT.lt.trans2026-05-24
HasSSubset.SSubset.trans_eqLT.lt.trans_eq2026-05-24
HasSSubset.SSubset.trans_subsetLT.lt.trans_subset2026-05-24
HasSubset.Subset.antisymmLE.le.antisymm2026-05-24
HasSubset.Subset.antisymm'LE.le.antisymm'2026-05-24
HasSubset.Subset.not_ssubsetLE.le.not_ssuperset2026-05-24
HasSubset.Subset.ssubset_of_neLE.le.ssubset_of_ne2026-05-24
HasSubset.Subset.ssubset_of_not_subsetLE.le.ssubset_of_not_superset2026-05-24
HasSubset.Subset.ssubset_or_eqLE.le.ssubset_or_eq2026-05-24
HasSubset.Subset.transLE.le.trans2026-05-24
HasSubset.Subset.trans_ssubsetLE.le.trans_ssubset2026-05-24
HasSubset.subset.trans_eqLE.le.trans_eq2026-05-24
IsWellFoundedWellFounded2026-09-07
isWellFounded_iff2026-09-07
ssubset_irrflssubset_irrefl2026-06-11