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.Disjoint

156 declarations and 2 deprecated aliases. Mathlib docs · Source

Disjointness and complements

This file defines Disjoint, Codisjoint, and the IsCompl predicate.

Main declarations

  • Disjoint x y: two elements of a lattice are disjoint if their inf is the bottom element.
  • Codisjoint x y: two elements of a lattice are codisjoint if their join is the top element.
  • IsCompl x y: In a bounded lattice, predicate for "x is a complement of y". Note that in a non-distributive lattice, an element can have several complements.
  • ComplementedLattice α: Typeclass stating that any element of a lattice has a complement.

def Disjoint E3 #

{α : Type u_1} → [inst : PartialOrder α] → [OrderBot α] → α → α → Prop

Two elements of a lattice are disjoint if their inf is the bottom element. (This generalizes disjoint sets, viewed as members of the subset lattice.)

Note that we define this without reference to ⊓, as this allows us to talk about orders where the infimum is not unique, or where implementing Inf would require additional Decidable arguments.

def Codisjoint E1 #

{α : Type u_1} → [inst : PartialOrder α] → [OrderTop α] → α → α → Prop

Two elements of a lattice are codisjoint if their sup is the top element.

Note that we define this without reference to ⊔, as this allows us to talk about orders where the supremum is not unique, or where implementing Sup would require additional Decidable arguments.

theorem codisjoint_of_subsingleton E0 #

∀ {α : Type u_1} [inst : PartialOrder α] [inst_1 : OrderTop α] {a b : α} [Subsingleton α], Codisjoint a b

theorem disjoint_of_subsingleton E0 #

∀ {α : Type u_1} [inst : PartialOrder α] [inst_1 : OrderBot α] {a b : α} [Subsingleton α], Disjoint a b

theorem codisjoint_comm E1 #

∀ {α : Type u_1} [inst : PartialOrder α] [inst_1 : OrderTop α] {a b : α}, Codisjoint a b ↔ Codisjoint b a

theorem disjoint_comm E1 #

∀ {α : Type u_1} [inst : PartialOrder α] [inst_1 : OrderBot α] {a b : α}, Disjoint a b ↔ Disjoint b a

theorem Disjoint.symm E1 #

∀ {α : Type u_1} [inst : PartialOrder α] [inst_1 : OrderBot α] ⦃a b : α⦄, Disjoint a b → Disjoint b a

theorem Codisjoint.symm E1 #

∀ {α : Type u_1} [inst : PartialOrder α] [inst_1 : OrderTop α] ⦃a b : α⦄, Codisjoint a b → Codisjoint b a

instance symm_disjoint E0 #

∀ {α : Type u_1} [inst : PartialOrder α] [inst_1 : OrderBot α], Std.Symm Disjoint

instance symm_codisjoint E0 #

∀ {α : Type u_1} [inst : PartialOrder α] [inst_1 : OrderTop α], Std.Symm Codisjoint

theorem disjoint_bot_left E0 #

∀ {α : Type u_1} [inst : PartialOrder α] [inst_1 : OrderBot α] {a : α}, Disjoint ⊥ a

theorem codisjoint_top_left E0 #

∀ {α : Type u_1} [inst : PartialOrder α] [inst_1 : OrderTop α] {a : α}, Codisjoint ⊤ a

theorem disjoint_bot_right E0 #

∀ {α : Type u_1} [inst : PartialOrder α] [inst_1 : OrderBot α] {a : α}, Disjoint a ⊥

theorem codisjoint_top_right E0 #

∀ {α : Type u_1} [inst : PartialOrder α] [inst_1 : OrderTop α] {a : α}, Codisjoint a ⊤

theorem Codisjoint.mono E1 #

∀ {α : Type u_1} [inst : PartialOrder α] [inst_1 : OrderTop α] {a b c d : α},
  b ≤ a → d ≤ c → Codisjoint b d → Codisjoint a c

theorem Disjoint.mono E1 #

∀ {α : Type u_1} [inst : PartialOrder α] [inst_1 : OrderBot α] {a b c d : α},
  a ≤ b → c ≤ d → Disjoint b d → Disjoint a c

theorem Codisjoint.mono_left E1 #

∀ {α : Type u_1} [inst : PartialOrder α] [inst_1 : OrderTop α] {a b c : α}, b ≤ a → Codisjoint b c → Codisjoint a c

theorem Disjoint.mono_left E1 #

∀ {α : Type u_1} [inst : PartialOrder α] [inst_1 : OrderBot α] {a b c : α}, a ≤ b → Disjoint b c → Disjoint a c

theorem Codisjoint.mono_right E1 #

∀ {α : Type u_1} [inst : PartialOrder α] [inst_1 : OrderTop α] {a b c : α}, c ≤ b → Codisjoint a c → Codisjoint a b

theorem Disjoint.mono_right E1 #

∀ {α : Type u_1} [inst : PartialOrder α] [inst_1 : OrderBot α] {a b c : α}, b ≤ c → Disjoint a c → Disjoint a b

theorem Disjoint.out E1 #

∀ {α : Type u_1} [inst : PartialOrder α] [inst_1 : OrderBot α] {a b : α}, Disjoint a b → ∀ x ≤ a, x ≤ b → x = ⊥

theorem Codisjoint.out E1 #

∀ {α : Type u_1} [inst : PartialOrder α] [inst_1 : OrderTop α] {a b : α},
  Codisjoint a b → ∀ (x : α), a ≤ x → b ≤ x → x = ⊤

theorem codisjoint_self E0 #

∀ {α : Type u_1} [inst : PartialOrder α] [inst_1 : OrderTop α] {a : α}, Codisjoint a a ↔ a = ⊤

theorem disjoint_self E0 #

∀ {α : Type u_1} [inst : PartialOrder α] [inst_1 : OrderBot α] {a : α}, Disjoint a a ↔ a = ⊥

theorem Codisjoint.ne E1 #

∀ {α : Type u_1} [inst : PartialOrder α] [inst_1 : OrderTop α] {a b : α}, a ≠ ⊤ → Codisjoint a b → a ≠ b

theorem Disjoint.ne E1 #

∀ {α : Type u_1} [inst : PartialOrder α] [inst_1 : OrderBot α] {a b : α}, a ≠ ⊥ → Disjoint a b → a ≠ b

theorem Disjoint.ne_iff E0 #

∀ {α : Type u_1} [inst : PartialOrder α] [inst_1 : OrderBot α] {a b : α}, Disjoint a b → (a ≠ b ↔ a ≠ ⊥ ∨ b ≠ ⊥)

theorem Codisjoint.ne_iff E0 #

∀ {α : Type u_1} [inst : PartialOrder α] [inst_1 : OrderTop α] {a b : α}, Codisjoint a b → (a ≠ b ↔ a ≠ ⊤ ∨ b ≠ ⊤)

theorem disjoint_of_le_iff_left_eq_bot E1 #

∀ {α : Type u_1} [inst : PartialOrder α] [inst_1 : OrderBot α] {a b : α}, a ≤ b → (Disjoint a b ↔ a = ⊥)

theorem codisjoint_bot E0 #

∀ {α : Type u_1} [inst : PartialOrder α] [inst_1 : BoundedOrder α] {a : α}, Codisjoint a ⊥ ↔ a = ⊤

theorem disjoint_top E0 #

∀ {α : Type u_1} [inst : PartialOrder α] [inst_1 : BoundedOrder α] {a : α}, Disjoint a ⊤ ↔ a = ⊥

theorem bot_codisjoint E0 #

∀ {α : Type u_1} [inst : PartialOrder α] [inst_1 : BoundedOrder α] {a : α}, Codisjoint ⊥ a ↔ a = ⊤

theorem top_disjoint E0 #

∀ {α : Type u_1} [inst : PartialOrder α] [inst_1 : BoundedOrder α] {a : α}, Disjoint ⊤ a ↔ a = ⊥

theorem Codisjoint.ne_bot_of_ne_top E1 #

∀ {α : Type u_1} [inst : PartialOrder α] [inst_1 : BoundedOrder α] {a b : α}, Codisjoint a b → a ≠ ⊤ → b ≠ ⊥

theorem Disjoint.ne_top_of_ne_bot E1 #

∀ {α : Type u_1} [inst : PartialOrder α] [inst_1 : BoundedOrder α] {a b : α}, Disjoint a b → a ≠ ⊥ → b ≠ ⊤

theorem codisjoint_iff_le_sup E1 #

∀ {α : Type u_1} [inst : SemilatticeSup α] [inst_1 : OrderTop α] {a b : α}, Codisjoint a b ↔ ⊤ ≤ a ⊔ b

theorem disjoint_iff_inf_le E1 #

∀ {α : Type u_1} [inst : SemilatticeInf α] [inst_1 : OrderBot α] {a b : α}, Disjoint a b ↔ a ⊓ b ≤ ⊥

theorem codisjoint_iff E0 #

∀ {α : Type u_1} [inst : SemilatticeSup α] [inst_1 : OrderTop α] {a b : α}, Codisjoint a b ↔ a ⊔ b = ⊤

theorem disjoint_iff E0 #

∀ {α : Type u_1} [inst : SemilatticeInf α] [inst_1 : OrderBot α] {a b : α}, Disjoint a b ↔ a ⊓ b = ⊥

theorem disjoint_subtype_iff E0 #

∀ {α : Type u_1} [inst : SemilatticeInf α] [inst_1 : OrderBot α] {pr : α → Prop},
  (∀ ⦃s t : α⦄, pr s → pr t → pr (s ⊓ t)) → ∀ (hbot : pr ⊥) {a b : Subtype pr}, Disjoint a b ↔ Disjoint ↑a ↑b

theorem codisjoint_subtype_iff E0 #

∀ {α : Type u_1} [inst : SemilatticeSup α] [inst_1 : OrderTop α] {pr : α → Prop},
  (∀ ⦃s t : α⦄, pr s → pr t → pr (s ⊔ t)) → ∀ (htop : pr ⊤) {a b : Subtype pr}, Codisjoint a b ↔ Codisjoint ↑a ↑b

theorem Disjoint.le_bot E1 #

∀ {α : Type u_1} [inst : SemilatticeInf α] [inst_1 : OrderBot α] {a b : α}, Disjoint a b → a ⊓ b ≤ ⊥

theorem Codisjoint.top_le E1 #

∀ {α : Type u_1} [inst : SemilatticeSup α] [inst_1 : OrderTop α] {a b : α}, Codisjoint a b → ⊤ ≤ a ⊔ b

theorem codisjoint_assoc E1 #

∀ {α : Type u_1} [inst : SemilatticeSup α] [inst_1 : OrderTop α] {a b c : α},
  Codisjoint (a ⊔ b) c ↔ Codisjoint a (b ⊔ c)

theorem disjoint_assoc E1 #

∀ {α : Type u_1} [inst : SemilatticeInf α] [inst_1 : OrderBot α] {a b c : α}, Disjoint (a ⊓ b) c ↔ Disjoint a (b ⊓ c)

theorem disjoint_left_comm E1 #

∀ {α : Type u_1} [inst : SemilatticeInf α] [inst_1 : OrderBot α] {a b c : α}, Disjoint a (b ⊓ c) ↔ Disjoint b (a ⊓ c)

theorem codisjoint_left_comm E1 #

∀ {α : Type u_1} [inst : SemilatticeSup α] [inst_1 : OrderTop α] {a b c : α},
  Codisjoint a (b ⊔ c) ↔ Codisjoint b (a ⊔ c)

theorem disjoint_right_comm E1 #

∀ {α : Type u_1} [inst : SemilatticeInf α] [inst_1 : OrderBot α] {a b c : α}, Disjoint (a ⊓ b) c ↔ Disjoint (a ⊓ c) b

theorem codisjoint_right_comm E1 #

∀ {α : Type u_1} [inst : SemilatticeSup α] [inst_1 : OrderTop α] {a b c : α},
  Codisjoint (a ⊔ b) c ↔ Codisjoint (a ⊔ c) b

theorem Codisjoint.sup_left E1 #

∀ {α : Type u_1} [inst : SemilatticeSup α] [inst_1 : OrderTop α] {a b : α} (c : α),
  Codisjoint a b → Codisjoint (a ⊔ c) b

theorem Disjoint.inf_left E1 #

∀ {α : Type u_1} [inst : SemilatticeInf α] [inst_1 : OrderBot α] {a b : α} (c : α), Disjoint a b → Disjoint (a ⊓ c) b

theorem Codisjoint.sup_left' E1 #

∀ {α : Type u_1} [inst : SemilatticeSup α] [inst_1 : OrderTop α] {a b : α} (c : α),
  Codisjoint a b → Codisjoint (c ⊔ a) b

theorem Disjoint.inf_left' E1 #

∀ {α : Type u_1} [inst : SemilatticeInf α] [inst_1 : OrderBot α] {a b : α} (c : α), Disjoint a b → Disjoint (c ⊓ a) b

theorem Codisjoint.sup_right E1 #

∀ {α : Type u_1} [inst : SemilatticeSup α] [inst_1 : OrderTop α] {a b : α} (c : α),
  Codisjoint a b → Codisjoint a (b ⊔ c)

theorem Disjoint.inf_right E1 #

∀ {α : Type u_1} [inst : SemilatticeInf α] [inst_1 : OrderBot α] {a b : α} (c : α), Disjoint a b → Disjoint a (b ⊓ c)

theorem Disjoint.inf_right' E1 #

∀ {α : Type u_1} [inst : SemilatticeInf α] [inst_1 : OrderBot α] {a b : α} (c : α), Disjoint a b → Disjoint a (c ⊓ b)

theorem Codisjoint.sup_right' E1 #

∀ {α : Type u_1} [inst : SemilatticeSup α] [inst_1 : OrderTop α] {a b : α} (c : α),
  Codisjoint a b → Codisjoint a (c ⊔ b)

theorem Codisjoint.of_codisjoint_sup_of_le E1 #

∀ {α : Type u_1} [inst : SemilatticeSup α] [inst_1 : OrderTop α] {a b c : α},
  Codisjoint (a ⊔ b) c → c ≤ a → Codisjoint a b

theorem Disjoint.of_disjoint_inf_of_le E1 #

∀ {α : Type u_1} [inst : SemilatticeInf α] [inst_1 : OrderBot α] {a b c : α}, Disjoint (a ⊓ b) c → a ≤ c → Disjoint a b

theorem Disjoint.of_disjoint_inf_of_le' E1 #

∀ {α : Type u_1} [inst : SemilatticeInf α] [inst_1 : OrderBot α] {a b c : α}, Disjoint (a ⊓ b) c → b ≤ c → Disjoint a b

theorem Codisjoint.of_codisjoint_sup_of_le' E1 #

∀ {α : Type u_1} [inst : SemilatticeSup α] [inst_1 : OrderTop α] {a b c : α},
  Codisjoint (a ⊔ b) c → c ≤ b → Codisjoint a b

theorem Codisjoint.sup_lt_right_of_left_ne_bot E1 #

∀ {α : Type u_1} [inst : SemilatticeInf α] [inst_1 : OrderTop α] {a b : α}, Codisjoint a b → a ≠ ⊤ → a ⊓ b < b

theorem Disjoint.right_lt_sup_of_left_ne_bot E1 #

∀ {α : Type u_1} [inst : SemilatticeSup α] [inst_1 : OrderBot α] {a b : α}, Disjoint a b → a ≠ ⊥ → b < a ⊔ b

theorem codisjoint_inf_left E0 #

∀ {α : Type u_1} [inst : DistribLattice α] [inst_1 : OrderTop α] {a b c : α},
  Codisjoint (a ⊓ b) c ↔ Codisjoint a c ∧ Codisjoint b c

theorem disjoint_sup_left E0 #

∀ {α : Type u_1} [inst : DistribLattice α] [inst_1 : OrderBot α] {a b c : α},
  Disjoint (a ⊔ b) c ↔ Disjoint a c ∧ Disjoint b c

theorem codisjoint_inf_right E0 #

∀ {α : Type u_1} [inst : DistribLattice α] [inst_1 : OrderTop α] {a b c : α},
  Codisjoint a (b ⊓ c) ↔ Codisjoint a b ∧ Codisjoint a c

theorem disjoint_sup_right E0 #

∀ {α : Type u_1} [inst : DistribLattice α] [inst_1 : OrderBot α] {a b c : α},
  Disjoint a (b ⊔ c) ↔ Disjoint a b ∧ Disjoint a c

theorem Disjoint.sup_left E1 #

∀ {α : Type u_1} [inst : DistribLattice α] [inst_1 : OrderBot α] {a b c : α},
  Disjoint a c → Disjoint b c → Disjoint (a ⊔ b) c

theorem Codisjoint.inf_left E1 #

∀ {α : Type u_1} [inst : DistribLattice α] [inst_1 : OrderTop α] {a b c : α},
  Codisjoint a c → Codisjoint b c → Codisjoint (a ⊓ b) c

theorem Codisjoint.inf_right E1 #

∀ {α : Type u_1} [inst : DistribLattice α] [inst_1 : OrderTop α] {a b c : α},
  Codisjoint a b → Codisjoint a c → Codisjoint a (b ⊓ c)

theorem Disjoint.sup_right E1 #

∀ {α : Type u_1} [inst : DistribLattice α] [inst_1 : OrderBot α] {a b c : α},
  Disjoint a b → Disjoint a c → Disjoint a (b ⊔ c)

theorem Disjoint.left_le_of_le_sup_right E1 #

∀ {α : Type u_1} [inst : DistribLattice α] [inst_1 : OrderBot α] {a b c : α}, a ≤ b ⊔ c → Disjoint a c → a ≤ b

theorem Disjoint.left_le_of_le_sup_left E1 #

∀ {α : Type u_1} [inst : DistribLattice α] [inst_1 : OrderBot α] {a b c : α}, a ≤ c ⊔ b → Disjoint a c → a ≤ b

theorem inf_left_inj_of_codisjoint E1 #

∀ {α : Type u_1} [inst : DistribLattice α] [inst_1 : OrderTop α] {a b c : α},
  Codisjoint c a → Codisjoint c b → (a ⊓ c = b ⊓ c ↔ a = b)

theorem sup_left_inj_of_disjoint E1 #

∀ {α : Type u_1} [inst : DistribLattice α] [inst_1 : OrderBot α] {a b c : α},
  Disjoint c a → Disjoint c b → (a ⊔ c = b ⊔ c ↔ a = b)

theorem Codisjoint.left_le_of_le_inf_right E1 #

∀ {α : Type u_1} [inst : DistribLattice α] [inst_1 : OrderTop α] {a b c : α}, a ⊓ b ≤ c → Codisjoint b c → a ≤ c

theorem Codisjoint.left_le_of_le_inf_left E1 #

∀ {α : Type u_1} [inst : DistribLattice α] [inst_1 : OrderTop α] {a b c : α}, b ⊓ a ≤ c → Codisjoint b c → a ≤ c

theorem Disjoint.dual E1 #

∀ {α : Type u_1} [inst : PartialOrder α] [inst_1 : OrderBot α] {a b : α},
  Disjoint a b → Codisjoint (OrderDual.toDual a) (OrderDual.toDual b)

theorem Codisjoint.dual E1 #

∀ {α : Type u_1} [inst : PartialOrder α] [inst_1 : OrderTop α] {a b : α},
  Codisjoint a b → Disjoint (OrderDual.toDual a) (OrderDual.toDual b)

theorem disjoint_toDual_iff E0 #

∀ {α : Type u_1} [inst : PartialOrder α] [inst_1 : OrderTop α] {a b : α},
  Disjoint (OrderDual.toDual a) (OrderDual.toDual b) ↔ Codisjoint a b

theorem codisjoint_toDual_iff E0 #

∀ {α : Type u_1} [inst : PartialOrder α] [inst_1 : OrderBot α] {a b : α},
  Codisjoint (OrderDual.toDual a) (OrderDual.toDual b) ↔ Disjoint a b

theorem disjoint_ofDual_iff E0 #

∀ {α : Type u_1} [inst : PartialOrder α] [inst_1 : OrderBot α] {a b : αᵒᵈ},
  Disjoint (OrderDual.ofDual a) (OrderDual.ofDual b) ↔ Codisjoint a b

theorem codisjoint_ofDual_iff E0 #

∀ {α : Type u_1} [inst : PartialOrder α] [inst_1 : OrderTop α] {a b : αᵒᵈ},
  Codisjoint (OrderDual.ofDual a) (OrderDual.ofDual b) ↔ Disjoint a b

theorem Disjoint.le_of_codisjoint E1 #

∀ {α : Type u_1} [inst : DistribLattice α] [inst_1 : BoundedOrder α] {a b c : α}, Disjoint a b → Codisjoint b c → a ≤ c

theorem Codisjoint.le_of_disjoint E1 #

∀ {α : Type u_1} [inst : DistribLattice α] [inst_1 : BoundedOrder α] {a b c : α}, Codisjoint a b → Disjoint b c → c ≤ a

structure IsCompl E3 #

{α : Type u_1} → [inst : PartialOrder α] → [BoundedOrder α] → α → α → Prop

Two elements x and y are complements of each other if x ⊔ y = ⊤ and x ⊓ y = ⊥.

ctor IsCompl.mk E0 #

∀ {α : Type u_1} [inst : PartialOrder α] [inst_1 : BoundedOrder α] {x y : α},
  Disjoint x y → Codisjoint x y → IsCompl x y

theorem IsCompl.disjoint E1 #

∀ {α : Type u_1} [inst : PartialOrder α] [inst_1 : BoundedOrder α] {x y : α}, IsCompl x y → Disjoint x y

If x and y are to be complementary in an order, they should be disjoint.

theorem IsCompl.codisjoint E1 #

∀ {α : Type u_1} [inst : PartialOrder α] [inst_1 : BoundedOrder α] {x y : α}, IsCompl x y → Codisjoint x y

If x and y are to be complementary in an order, they should be codisjoint.

theorem isCompl_iff E0 #

∀ {α : Type u_1} [inst : PartialOrder α] [inst_1 : BoundedOrder α] {a b : α},
  IsCompl a b ↔ Disjoint a b ∧ Codisjoint a b

theorem isCompl_iff' E1 #

∀ {α : Type u_1} [inst : PartialOrder α] [inst_1 : BoundedOrder α] {a b : α},
  IsCompl a b ↔ Codisjoint a b ∧ Disjoint a b

theorem IsCompl.symm E2 #

∀ {α : Type u_1} [inst : PartialOrder α] [inst_1 : BoundedOrder α] {x y : α}, IsCompl x y → IsCompl y x

theorem isCompl_comm E1 #

∀ {α : Type u_1} [inst : PartialOrder α] [inst_1 : BoundedOrder α] {x y : α}, IsCompl x y ↔ IsCompl y x

theorem IsCompl.dual E1 #

∀ {α : Type u_1} [inst : PartialOrder α] [inst_1 : BoundedOrder α] {x y : α},
  IsCompl x y → IsCompl (OrderDual.toDual x) (OrderDual.toDual y)

theorem IsCompl.ofDual E1 #

∀ {α : Type u_1} [inst : PartialOrder α] [inst_1 : BoundedOrder α] {a b : αᵒᵈ},
  IsCompl a b → IsCompl (OrderDual.ofDual a) (OrderDual.ofDual b)

theorem IsCompl.ne E1 #

∀ {α : Type u_1} [inst : PartialOrder α] [inst_1 : BoundedOrder α] {x y : α} [Nontrivial α], IsCompl x y → x ≠ y

theorem IsCompl.of_le E1 #

∀ {α : Type u_1} [inst : Lattice α] [inst_1 : BoundedOrder α] {x y : α}, x ⊓ y ≤ ⊥ → ⊤ ≤ x ⊔ y → IsCompl x y

theorem IsCompl.of_eq E0 #

∀ {α : Type u_1} [inst : Lattice α] [inst_1 : BoundedOrder α] {x y : α}, x ⊓ y = ⊥ → x ⊔ y = ⊤ → IsCompl x y

theorem IsCompl.sup_eq_top E1 #

∀ {α : Type u_1} [inst : Lattice α] [inst_1 : BoundedOrder α] {x y : α}, IsCompl x y → x ⊔ y = ⊤

theorem IsCompl.inf_eq_bot E1 #

∀ {α : Type u_1} [inst : Lattice α] [inst_1 : BoundedOrder α] {x y : α}, IsCompl x y → x ⊓ y = ⊥

theorem IsCompl.inf_left_le_of_le_sup_right E1 #

∀ {α : Type u_1} [inst : DistribLattice α] [inst_1 : BoundedOrder α] {a b x y : α}, IsCompl x y → a ≤ b ⊔ y → a ⊓ x ≤ b

theorem IsCompl.le_sup_right_iff_inf_left_le E1 #

∀ {α : Type u_1} [inst : DistribLattice α] [inst_1 : BoundedOrder α] {x y a b : α},
  IsCompl x y → (a ≤ b ⊔ y ↔ a ⊓ x ≤ b)

theorem IsCompl.inf_left_eq_bot_iff E0 #

∀ {α : Type u_1} [inst : DistribLattice α] [inst_1 : BoundedOrder α] {x y z : α}, IsCompl y z → (x ⊓ y = ⊥ ↔ x ≤ z)

theorem IsCompl.inf_right_eq_bot_iff E0 #

∀ {α : Type u_1} [inst : DistribLattice α] [inst_1 : BoundedOrder α] {x y z : α}, IsCompl y z → (x ⊓ z = ⊥ ↔ x ≤ y)

theorem IsCompl.disjoint_left_iff E0 #

∀ {α : Type u_1} [inst : DistribLattice α] [inst_1 : BoundedOrder α] {x y z : α}, IsCompl y z → (Disjoint x y ↔ x ≤ z)

theorem IsCompl.disjoint_right_iff E0 #

∀ {α : Type u_1} [inst : DistribLattice α] [inst_1 : BoundedOrder α] {x y z : α}, IsCompl y z → (Disjoint x z ↔ x ≤ y)

theorem IsCompl.le_left_iff E0 #

∀ {α : Type u_1} [inst : DistribLattice α] [inst_1 : BoundedOrder α] {x y z : α}, IsCompl x y → (z ≤ x ↔ Disjoint z y)

theorem IsCompl.le_right_iff E0 #

∀ {α : Type u_1} [inst : DistribLattice α] [inst_1 : BoundedOrder α] {x y z : α}, IsCompl x y → (z ≤ y ↔ Disjoint z x)

theorem IsCompl.left_le_iff E0 #

∀ {α : Type u_1} [inst : DistribLattice α] [inst_1 : BoundedOrder α] {x y z : α}, IsCompl x y → (x ≤ z ↔ Codisjoint z y)

theorem IsCompl.right_le_iff E0 #

∀ {α : Type u_1} [inst : DistribLattice α] [inst_1 : BoundedOrder α] {x y z : α}, IsCompl x y → (y ≤ z ↔ Codisjoint z x)

theorem IsCompl.Antitone E1 #

∀ {α : Type u_1} [inst : DistribLattice α] [inst_1 : BoundedOrder α] {x y x' y' : α},
  IsCompl x y → IsCompl x' y' → x ≤ x' → y' ≤ y

theorem IsCompl.right_unique E1 #

∀ {α : Type u_1} [inst : DistribLattice α] [inst_1 : BoundedOrder α] {x y z : α}, IsCompl x y → IsCompl x z → y = z

theorem IsCompl.left_unique E1 #

∀ {α : Type u_1} [inst : DistribLattice α] [inst_1 : BoundedOrder α] {x y z : α}, IsCompl x z → IsCompl y z → x = y

theorem IsCompl.sup_inf E1 #

∀ {α : Type u_1} [inst : DistribLattice α] [inst_1 : BoundedOrder α] {x y x' y' : α},
  IsCompl x y → IsCompl x' y' → IsCompl (x ⊔ x') (y ⊓ y')

theorem IsCompl.inf_sup E1 #

∀ {α : Type u_1} [inst : DistribLattice α] [inst_1 : BoundedOrder α] {x y x' y' : α},
  IsCompl x y → IsCompl x' y' → IsCompl (x ⊓ x') (y ⊔ y')

theorem Prod.codisjoint_iff E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : PartialOrder α] [inst_1 : PartialOrder β] [inst_2 : OrderTop α]
  [inst_3 : OrderTop β] {x y : α × β}, Codisjoint x y ↔ Codisjoint x.1 y.1 ∧ Codisjoint x.2 y.2

theorem Prod.disjoint_iff E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : PartialOrder α] [inst_1 : PartialOrder β] [inst_2 : OrderBot α]
  [inst_3 : OrderBot β] {x y : α × β}, Disjoint x y ↔ Disjoint x.1 y.1 ∧ Disjoint x.2 y.2

theorem Prod.isCompl_iff E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : PartialOrder α] [inst_1 : PartialOrder β] [inst_2 : BoundedOrder α]
  [inst_3 : BoundedOrder β] {x y : α × β}, IsCompl x y ↔ IsCompl x.1 y.1 ∧ IsCompl x.2 y.2

theorem isCompl_toDual_iff E0 #

∀ {α : Type u_1} [inst : Lattice α] [inst_1 : BoundedOrder α] {a b : α},
  IsCompl (OrderDual.toDual a) (OrderDual.toDual b) ↔ IsCompl a b

theorem isCompl_ofDual_iff E0 #

∀ {α : Type u_1} [inst : Lattice α] [inst_1 : BoundedOrder α] {a b : αᵒᵈ},
  IsCompl (OrderDual.ofDual a) (OrderDual.ofDual b) ↔ IsCompl a b

theorem isCompl_bot_top E1 #

∀ {α : Type u_1} [inst : Lattice α] [inst_1 : BoundedOrder α], IsCompl ⊥ ⊤

theorem isCompl_top_bot E1 #

∀ {α : Type u_1} [inst : Lattice α] [inst_1 : BoundedOrder α], IsCompl ⊤ ⊥

def IsComplemented E1 #

{α : Type u_1} → [inst : Lattice α] → [BoundedOrder α] → α → Prop

An element is complemented if it has a complement.

theorem isComplemented_bot E1 #

∀ {α : Type u_1} [inst : Lattice α] [inst_1 : BoundedOrder α], IsComplemented ⊥

theorem isComplemented_top E1 #

∀ {α : Type u_1} [inst : Lattice α] [inst_1 : BoundedOrder α], IsComplemented ⊤

theorem IsComplemented.sup E1 #

∀ {α : Type u_1} [inst : DistribLattice α] [inst_1 : BoundedOrder α] {a b : α},
  IsComplemented a → IsComplemented b → IsComplemented (a ⊔ b)

theorem IsComplemented.inf E1 #

∀ {α : Type u_1} [inst : DistribLattice α] [inst_1 : BoundedOrder α] {a b : α},
  IsComplemented a → IsComplemented b → IsComplemented (a ⊓ b)

class ComplementedLattice E1 #

(α : Type u_2) → [inst : Lattice α] → [BoundedOrder α] → Prop

A complemented bounded lattice is one where every element has a (not necessarily unique) complement.

ctor ComplementedLattice.mk E0 #

∀ {α : Type u_2} [inst : Lattice α] [inst_1 : BoundedOrder α], (∀ (a : α), ∃ b, IsCompl a b) → ComplementedLattice α

theorem ComplementedLattice.exists_isCompl E1 #

∀ {α : Type u_2} {inst : Lattice α} {inst_1 : BoundedOrder α} [self : ComplementedLattice α] (a : α), ∃ b, IsCompl a b

In a ComplementedLattice, every element admits a complement.

theorem complementedLattice_iff E0 #

∀ (α : Type u_2) [inst : Lattice α] [inst_1 : BoundedOrder α], ComplementedLattice α ↔ ∀ (a : α), ∃ b, IsCompl a b

theorem Subsingleton.instComplementedLattice E1 #

∀ {α : Type u_1} [inst : Lattice α] [inst_1 : BoundedOrder α] [Subsingleton α], ComplementedLattice α

instance ComplementedLattice.instOrderDual E0 #

∀ {α : Type u_1} [inst : Lattice α] [inst_1 : BoundedOrder α] [ComplementedLattice α], ComplementedLattice αᵒᵈ

abbrev Complementeds E1 #

(α : Type u_2) → [inst : Lattice α] → [BoundedOrder α] → Type u_2

The sublattice of complemented elements.

instance Complementeds.hasCoeT E0 #

{α : Type u_1} → [inst : Lattice α] → [inst_1 : BoundedOrder α] → CoeTC (Complementeds α) α

theorem Complementeds.coe_injective E0 #

∀ {α : Type u_1} [inst : Lattice α] [inst_1 : BoundedOrder α], Function.Injective Subtype.val

theorem Complementeds.coe_inj E0 #

∀ {α : Type u_1} [inst : Lattice α] [inst_1 : BoundedOrder α] {a b : Complementeds α}, ↑a = ↑b ↔ a = b

theorem Complementeds.coe_le_coe E0 #

∀ {α : Type u_1} [inst : Lattice α] [inst_1 : BoundedOrder α] {a b : Complementeds α}, ↑a ≤ ↑b ↔ a ≤ b

theorem Complementeds.coe_lt_coe E0 #

∀ {α : Type u_1} [inst : Lattice α] [inst_1 : BoundedOrder α] {a b : Complementeds α}, ↑a < ↑b ↔ a < b

instance Complementeds.instBoundedOrder E0 #

{α : Type u_1} → [inst : Lattice α] → [inst_1 : BoundedOrder α] → BoundedOrder (Complementeds α)

theorem Complementeds.coe_top E0 #

∀ {α : Type u_1} [inst : Lattice α] [inst_1 : BoundedOrder α], ↑⊤ = ⊤

theorem Complementeds.coe_bot E0 #

∀ {α : Type u_1} [inst : Lattice α] [inst_1 : BoundedOrder α], ↑⊥ = ⊥

theorem Complementeds.mk_bot E1 #

∀ {α : Type u_1} [inst : Lattice α] [inst_1 : BoundedOrder α], ⟨⊥, ⋯⟩ = ⊥

theorem Complementeds.mk_top E1 #

∀ {α : Type u_1} [inst : Lattice α] [inst_1 : BoundedOrder α], ⟨⊤, ⋯⟩ = ⊤

instance Complementeds.instInhabited E0 #

{α : Type u_1} → [inst : Lattice α] → [inst_1 : BoundedOrder α] → Inhabited (Complementeds α)

instance Complementeds.instMin E0 #

{α : Type u_1} → [inst : DistribLattice α] → [inst_1 : BoundedOrder α] → Min (Complementeds α)

instance Complementeds.instMax E0 #

{α : Type u_1} → [inst : DistribLattice α] → [inst_1 : BoundedOrder α] → Max (Complementeds α)

theorem Complementeds.coe_inf E0 #

∀ {α : Type u_1} [inst : DistribLattice α] [inst_1 : BoundedOrder α] (a b : Complementeds α), ↑(a ⊓ b) = ↑a ⊓ ↑b

theorem Complementeds.coe_sup E0 #

∀ {α : Type u_1} [inst : DistribLattice α] [inst_1 : BoundedOrder α] (a b : Complementeds α), ↑(a ⊔ b) = ↑a ⊔ ↑b

theorem Complementeds.mk_sup_mk E0 #

∀ {α : Type u_1} [inst : DistribLattice α] [inst_1 : BoundedOrder α] {a b : α} (ha : IsComplemented a)
  (hb : IsComplemented b), ⟨a, ha⟩ ⊔ ⟨b, hb⟩ = ⟨a ⊔ b, ⋯⟩

theorem Complementeds.mk_inf_mk E0 #

∀ {α : Type u_1} [inst : DistribLattice α] [inst_1 : BoundedOrder α] {a b : α} (ha : IsComplemented a)
  (hb : IsComplemented b), ⟨a, ha⟩ ⊓ ⟨b, hb⟩ = ⟨a ⊓ b, ⋯⟩

instance Complementeds.instDistribLattice E0 #

{α : Type u_1} → [inst : DistribLattice α] → [inst_1 : BoundedOrder α] → DistribLattice (Complementeds α)

theorem Complementeds.codisjoint_coe E0 #

∀ {α : Type u_1} [inst : DistribLattice α] [inst_1 : BoundedOrder α] {a b : Complementeds α},
  Codisjoint ↑a ↑b ↔ Codisjoint a b

theorem Complementeds.disjoint_coe E0 #

∀ {α : Type u_1} [inst : DistribLattice α] [inst_1 : BoundedOrder α] {a b : Complementeds α},
  Disjoint ↑a ↑b ↔ Disjoint a b

theorem Complementeds.isCompl_coe E0 #

∀ {α : Type u_1} [inst : DistribLattice α] [inst_1 : BoundedOrder α] {a b : Complementeds α},
  IsCompl ↑a ↑b ↔ IsCompl a b

instance Complementeds.instComplementedLattice E0 #

∀ {α : Type u_1} [inst : DistribLattice α] [inst_1 : BoundedOrder α], ComplementedLattice (Complementeds α)

Deprecated aliases

NameNew nameSince
symmetric_codisjointsymm_codisjoint2026-06-10
symmetric_disjointsymm_disjoint2026-06-10