The areas / V04. Order and lattices
Mathlib.Order.Irreducible
58 declarations. Mathlib docs · Source
Irreducible and prime elements in an order
This file defines irreducible and prime elements in an order and shows that in a well-founded lattice every element decomposes as a supremum of irreducible elements.
An element is sup-irreducible (resp. inf-irreducible) if it isn't ⊥ and can't be written as the
supremum of any strictly smaller elements. An element is sup-prime (resp. inf-prime) if it isn't ⊥
and is greater than the supremum of any two elements less than it.
Primality implies irreducibility in general. The converse only holds in distributive lattices. Both hold for all (non-minimal) elements in a linear order.
Main declarations
SupIrred a: Sup-irreducibility,aisn't minimal anda = b ⊔ c → a = b ∨ a = cInfIrred a: Inf-irreducibility,aisn't maximal anda = b ⊓ c → a = b ∨ a = cSupPrime a: Sup-primality,aisn't minimal anda ≤ b ⊔ c → a ≤ b ∨ a ≤ cInfIrred a: Inf-primality,aisn't maximal anda ≥ b ⊓ c → a ≥ b ∨ a ≥ cexists_supIrred_decomposition/exists_infIrred_decomposition: Decomposition into irreducibles in a well-founded semilattice.
Irreducible and prime elements
def SupIrred E1 #
{α : Type u_2} → [SemilatticeSup α] → α → Prop
A sup-irreducible element is a non-bottom element which isn't the supremum of anything smaller.
def InfIrred E1 #
{α : Type u_2} → [SemilatticeInf α] → α → Prop
An inf-irreducible element is a non-top element which isn't the infimum of anything bigger.
def SupPrime E1 #
{α : Type u_2} → [SemilatticeSup α] → α → Prop
A sup-prime element is a non-bottom element which isn't less than the supremum of anything smaller.
def InfPrime E1 #
{α : Type u_2} → [SemilatticeInf α] → α → Prop
An inf-irreducible element is a non-top element which isn't the infimum of anything bigger.
theorem InfIrred.not_isMax E1 #
∀ {α : Type u_2} [inst : SemilatticeInf α] {a : α}, InfIrred a → ¬IsMax a
theorem SupIrred.not_isMin E1 #
∀ {α : Type u_2} [inst : SemilatticeSup α] {a : α}, SupIrred a → ¬IsMin a
theorem SupPrime.not_isMin E1 #
∀ {α : Type u_2} [inst : SemilatticeSup α] {a : α}, SupPrime a → ¬IsMin a
theorem InfPrime.not_isMax E1 #
∀ {α : Type u_2} [inst : SemilatticeInf α] {a : α}, InfPrime a → ¬IsMax a
theorem IsMax.not_infIrred E1 #
∀ {α : Type u_2} [inst : SemilatticeInf α] {a : α}, IsMax a → ¬InfIrred a
theorem IsMin.not_supIrred E1 #
∀ {α : Type u_2} [inst : SemilatticeSup α] {a : α}, IsMin a → ¬SupIrred a
theorem IsMin.not_supPrime E1 #
∀ {α : Type u_2} [inst : SemilatticeSup α] {a : α}, IsMin a → ¬SupPrime a
theorem IsMax.not_infPrime E1 #
∀ {α : Type u_2} [inst : SemilatticeInf α] {a : α}, IsMax a → ¬InfPrime a
theorem not_infIrred E0 #
∀ {α : Type u_2} [inst : SemilatticeInf α] {a : α}, ¬InfIrred a ↔ IsMax a ∨ ∃ b c, b ⊓ c = a ∧ a < b ∧ a < c
theorem not_supIrred E0 #
∀ {α : Type u_2} [inst : SemilatticeSup α] {a : α}, ¬SupIrred a ↔ IsMin a ∨ ∃ b c, b ⊔ c = a ∧ b < a ∧ c < a
theorem not_supPrime E0 #
∀ {α : Type u_2} [inst : SemilatticeSup α] {a : α}, ¬SupPrime a ↔ IsMin a ∨ ∃ b c, a ≤ b ⊔ c ∧ ¬a ≤ b ∧ ¬a ≤ c
theorem not_infPrime E0 #
∀ {α : Type u_2} [inst : SemilatticeInf α] {a : α}, ¬InfPrime a ↔ IsMax a ∨ ∃ b c, b ⊓ c ≤ a ∧ ¬b ≤ a ∧ ¬c ≤ a
theorem InfPrime.infIrred E1 #
∀ {α : Type u_2} [inst : SemilatticeInf α] {a : α}, InfPrime a → InfIrred a
theorem SupPrime.supIrred E1 #
∀ {α : Type u_2} [inst : SemilatticeSup α] {a : α}, SupPrime a → SupIrred a
theorem SupPrime.le_sup E1 #
∀ {α : Type u_2} [inst : SemilatticeSup α] {a b c : α}, SupPrime a → (a ≤ b ⊔ c ↔ a ≤ b ∨ a ≤ c)
theorem InfPrime.inf_le E1 #
∀ {α : Type u_2} [inst : SemilatticeInf α] {a b c : α}, InfPrime a → (b ⊓ c ≤ a ↔ b ≤ a ∨ c ≤ a)
theorem not_supIrred_bot E0 #
∀ {α : Type u_2} [inst : SemilatticeSup α] [inst_1 : OrderBot α], ¬SupIrred ⊥
theorem not_infIrred_top E0 #
∀ {α : Type u_2} [inst : SemilatticeInf α] [inst_1 : OrderTop α], ¬InfIrred ⊤
theorem not_infPrime_top E0 #
∀ {α : Type u_2} [inst : SemilatticeInf α] [inst_1 : OrderTop α], ¬InfPrime ⊤
theorem not_supPrime_bot E0 #
∀ {α : Type u_2} [inst : SemilatticeSup α] [inst_1 : OrderBot α], ¬SupPrime ⊥
theorem SupIrred.ne_bot E1 #
∀ {α : Type u_2} [inst : SemilatticeSup α] {a : α} [inst_1 : OrderBot α], SupIrred a → a ≠ ⊥
theorem InfIrred.ne_top E1 #
∀ {α : Type u_2} [inst : SemilatticeInf α] {a : α} [inst_1 : OrderTop α], InfIrred a → a ≠ ⊤
theorem SupPrime.ne_bot E1 #
∀ {α : Type u_2} [inst : SemilatticeSup α] {a : α} [inst_1 : OrderBot α], SupPrime a → a ≠ ⊥
theorem InfPrime.ne_top E1 #
∀ {α : Type u_2} [inst : SemilatticeInf α] {a : α} [inst_1 : OrderTop α], InfPrime a → a ≠ ⊤
theorem SupIrred.finset_sup_eq E0 #
∀ {ι : Type u_1} {α : Type u_2} [inst : SemilatticeSup α] {a : α} [inst_1 : OrderBot α] {s : Finset ι} {f : ι → α},
SupIrred a → s.sup f = a → ∃ i ∈ s, f i = a
theorem InfIrred.finset_inf_eq E0 #
∀ {ι : Type u_1} {α : Type u_2} [inst : SemilatticeInf α] {a : α} [inst_1 : OrderTop α] {s : Finset ι} {f : ι → α},
InfIrred a → s.inf f = a → ∃ i ∈ s, f i = a
theorem InfPrime.finset_inf_le E1 #
∀ {ι : Type u_1} {α : Type u_2} [inst : SemilatticeInf α] {a : α} [inst_1 : OrderTop α] {s : Finset ι} {f : ι → α},
InfPrime a → (s.inf f ≤ a ↔ ∃ i ∈ s, f i ≤ a)
theorem SupPrime.le_finset_sup E1 #
∀ {ι : Type u_1} {α : Type u_2} [inst : SemilatticeSup α] {a : α} [inst_1 : OrderBot α] {s : Finset ι} {f : ι → α},
SupPrime a → (a ≤ s.sup f ↔ ∃ i ∈ s, a ≤ f i)
theorem exists_supIrred_decomposition E3 #
∀ {α : Type u_2} [inst : SemilatticeSup α] [inst_1 : OrderBot α] [WellFoundedLT α] (a : α),
∃ s, s.sup id = a ∧ ∀ ⦃b : α⦄, b ∈ s → SupIrred b
In a well-founded lattice, any element is the supremum of finitely many sup-irreducible elements. This is the order-theoretic analogue of prime factorisation.
theorem exists_infIrred_decomposition E3 #
∀ {α : Type u_2} [inst : SemilatticeInf α] [inst_1 : OrderTop α] [WellFoundedGT α] (a : α),
∃ s, s.inf id = a ∧ ∀ ⦃b : α⦄, b ∈ s → InfIrred b
In a cowell-founded lattice, any element is the infimum of finitely many inf-irreducible elements. This is the order-theoretic analogue of prime factorisation.
theorem supIrred_toDual E0 #
∀ {α : Type u_2} [inst : SemilatticeInf α] {a : α}, SupIrred (OrderDual.toDual a) ↔ InfIrred a
theorem infIrred_toDual E0 #
∀ {α : Type u_2} [inst : SemilatticeSup α] {a : α}, InfIrred (OrderDual.toDual a) ↔ SupIrred a
theorem supPrime_toDual E0 #
∀ {α : Type u_2} [inst : SemilatticeInf α] {a : α}, SupPrime (OrderDual.toDual a) ↔ InfPrime a
theorem infPrime_toDual E0 #
∀ {α : Type u_2} [inst : SemilatticeSup α] {a : α}, InfPrime (OrderDual.toDual a) ↔ SupPrime a
theorem supIrred_ofDual E0 #
∀ {α : Type u_2} [inst : SemilatticeSup α] {a : αᵒᵈ}, SupIrred (OrderDual.ofDual a) ↔ InfIrred a
theorem infIrred_ofDual E0 #
∀ {α : Type u_2} [inst : SemilatticeInf α] {a : αᵒᵈ}, InfIrred (OrderDual.ofDual a) ↔ SupIrred a
theorem infPrime_ofDual E0 #
∀ {α : Type u_2} [inst : SemilatticeInf α] {a : αᵒᵈ}, InfPrime (OrderDual.ofDual a) ↔ SupPrime a
theorem supPrime_ofDual E0 #
∀ {α : Type u_2} [inst : SemilatticeSup α] {a : αᵒᵈ}, SupPrime (OrderDual.ofDual a) ↔ InfPrime a
theorem InfIrred.dual E1 #
∀ {α : Type u_2} [inst : SemilatticeInf α] {a : α}, InfIrred a → SupIrred (OrderDual.toDual a)
Alias of the reverse direction of supIrred_toDual.
theorem SupIrred.dual E1 #
∀ {α : Type u_2} [inst : SemilatticeSup α] {a : α}, SupIrred a → InfIrred (OrderDual.toDual a)
Alias of the reverse direction of infIrred_toDual.
theorem InfPrime.dual E1 #
∀ {α : Type u_2} [inst : SemilatticeInf α] {a : α}, InfPrime a → SupPrime (OrderDual.toDual a)
Alias of the reverse direction of supPrime_toDual.
theorem SupPrime.dual E1 #
∀ {α : Type u_2} [inst : SemilatticeSup α] {a : α}, SupPrime a → InfPrime (OrderDual.toDual a)
Alias of the reverse direction of infPrime_toDual.
theorem SupIrred.ofDual E1 #
∀ {α : Type u_2} [inst : SemilatticeInf α] {a : αᵒᵈ}, SupIrred a → InfIrred (OrderDual.ofDual a)
Alias of the reverse direction of infIrred_ofDual.
theorem InfIrred.ofDual E1 #
∀ {α : Type u_2} [inst : SemilatticeSup α] {a : αᵒᵈ}, InfIrred a → SupIrred (OrderDual.ofDual a)
Alias of the reverse direction of supIrred_ofDual.
theorem InfPrime.ofDual E1 #
∀ {α : Type u_2} [inst : SemilatticeSup α] {a : αᵒᵈ}, InfPrime a → SupPrime (OrderDual.ofDual a)
Alias of the reverse direction of supPrime_ofDual.
theorem SupPrime.ofDual E1 #
∀ {α : Type u_2} [inst : SemilatticeInf α] {a : αᵒᵈ}, SupPrime a → InfPrime (OrderDual.ofDual a)
Alias of the reverse direction of infPrime_ofDual.
theorem supPrime_iff_supIrred E0 #
∀ {α : Type u_2} [inst : DistribLattice α] {a : α}, SupPrime a ↔ SupIrred a
theorem infPrime_iff_infIrred E0 #
∀ {α : Type u_2} [inst : DistribLattice α] {a : α}, InfPrime a ↔ InfIrred a
theorem SupIrred.supPrime E1 #
∀ {α : Type u_2} [inst : DistribLattice α] {a : α}, SupIrred a → SupPrime a
Alias of the reverse direction of supPrime_iff_supIrred.
theorem InfIrred.infPrime E1 #
∀ {α : Type u_2} [inst : DistribLattice α] {a : α}, InfIrred a → InfPrime a
Alias of the reverse direction of infPrime_iff_infIrred.
theorem infPrime_iff_not_isMax E1 #
∀ {α : Type u_2} [inst : LinearOrder α] {a : α}, InfPrime a ↔ ¬IsMax a
theorem supPrime_iff_not_isMin E1 #
∀ {α : Type u_2} [inst : LinearOrder α] {a : α}, SupPrime a ↔ ¬IsMin a
theorem supIrred_iff_not_isMin E0 #
∀ {α : Type u_2} [inst : LinearOrder α] {a : α}, SupIrred a ↔ ¬IsMin a
theorem infIrred_iff_not_isMax E0 #
∀ {α : Type u_2} [inst : LinearOrder α] {a : α}, InfIrred a ↔ ¬IsMax a