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.Lattice.Congruence

12 declarations. Mathlib docs · Source

Lattice Congruences

Main definitions

  • LatticeCon: An equivalence relation is a congruence relation for the lattice structure if it is compatible with the inf and sup operations.
  • LatticeCon.ker: The kernel of a lattice homomorphism as a lattice congruence.

Main statements

  • LatticeCon.mk': Alternative conditions for a relation to be a lattice congruence.

References

  • [Grätzer et al, General lattice theory][Graetzer2003]

Tags

Lattice, Congruence

theorem LatticeCon.mk.injEq E0 #

∀ {α : Type u_2} [inst : Lattice α] (toSetoid : Setoid α)
  (inf : ∀ {w x y z : α}, toSetoid w x → toSetoid y z → toSetoid (w ⊓ y) (x ⊓ z))
  (sup : ∀ {w x y z : α}, toSetoid w x → toSetoid y z → toSetoid (w ⊔ y) (x ⊔ z)) (toSetoid_1 : Setoid α)
  (inf_1 : ∀ {w x y z : α}, toSetoid_1 w x → toSetoid_1 y z → toSetoid_1 (w ⊓ y) (x ⊓ z))
  (sup_1 : ∀ {w x y z : α}, toSetoid_1 w x → toSetoid_1 y z → toSetoid_1 (w ⊔ y) (x ⊔ z)),
  ({ toSetoid := toSetoid, inf := inf, sup := sup } = { toSetoid := toSetoid_1, inf := inf_1, sup := sup_1 }) =
    (toSetoid = toSetoid_1)

theorem LatticeCon.mk.inj E1 #

∀ {α : Type u_2} {inst : Lattice α} {toSetoid : Setoid α}
  {inf : ∀ {w x y z : α}, toSetoid w x → toSetoid y z → toSetoid (w ⊓ y) (x ⊓ z)}
  {sup : ∀ {w x y z : α}, toSetoid w x → toSetoid y z → toSetoid (w ⊔ y) (x ⊔ z)} {toSetoid_1 : Setoid α}
  {inf_1 : ∀ {w x y z : α}, toSetoid_1 w x → toSetoid_1 y z → toSetoid_1 (w ⊓ y) (x ⊓ z)}
  {sup_1 : ∀ {w x y z : α}, toSetoid_1 w x → toSetoid_1 y z → toSetoid_1 (w ⊔ y) (x ⊔ z)},
  { toSetoid := toSetoid, inf := inf, sup := sup } = { toSetoid := toSetoid_1, inf := inf_1, sup := sup_1 } →
    toSetoid = toSetoid_1

def LatticeCon.ctorIdx E1 #

{α : Type u_2} → {inst : Lattice α} → LatticeCon α → ℕ

structure LatticeCon E3 #

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

An equivalence relation is a congruence relation for the lattice structure if it is compatible with the inf and sup operations.

ctor LatticeCon.mk E0 #

{α : Type u_2} →
  [inst : Lattice α] →
    (toSetoid : Setoid α) →
      (∀ {w x y z : α}, toSetoid w x → toSetoid y z → toSetoid (w ⊓ y) (x ⊓ z)) →
        (∀ {w x y z : α}, toSetoid w x → toSetoid y z → toSetoid (w ⊔ y) (x ⊔ z)) → LatticeCon α

abbrev LatticeCon.toSetoid E1 #

{α : Type u_2} → [inst : Lattice α] → LatticeCon α → Setoid α

theorem LatticeCon.inf E3 #

∀ {α : Type u_2} [inst : Lattice α] (self : LatticeCon α) {w x y z : α},
  self.toSetoid w x → self.toSetoid y z → self.toSetoid (w ⊓ y) (x ⊓ z)

theorem LatticeCon.sup E3 #

∀ {α : Type u_2} [inst : Lattice α] (self : LatticeCon α) {w x y z : α},
  self.toSetoid w x → self.toSetoid y z → self.toSetoid (w ⊔ y) (x ⊔ z)

theorem LatticeCon.r_inf_sup_iff E0 #

∀ {α : Type u_2} [inst : Lattice α] (c : LatticeCon α) {x y : α}, c.toSetoid (x ⊓ y) (x ⊔ y) ↔ c.toSetoid x y

def LatticeCon.mk' E3 #

{α : Type u_2} →
  [inst : Lattice α] →
    (r : α → α → Prop) →
      [h₁ : Std.Refl r] →
        (∀ ⦃x y : α⦄, r x y ↔ r (x ⊓ y) (x ⊔ y)) →
          (∀ ⦃x y z : α⦄, x ≤ y → y ≤ z → r x y → r y z → r x z) →
            (∀ ⦃x y t : α⦄, x ≤ y → r x y → r (x ⊓ t) (y ⊓ t) ∧ r (x ⊔ t) (y ⊔ t)) → LatticeCon α

Alternative conditions for a lattice congruence.

def LatticeCon.ker E3 #

{F : Type u_1} →
  {α : Type u_2} →
    {β : Type u_3} →
      [inst : Lattice α] → [inst_1 : Lattice β] → [inst_2 : FunLike F α β] → [LatticeHomClass F α β] → F → LatticeCon α

The kernel of a lattice homomorphism as a lattice congruence.

theorem LatticeCon.ker_r E0 #

∀ {F : Type u_1} {α : Type u_2} {β : Type u_3} [inst : Lattice α] [inst_1 : Lattice β] [inst_2 : FunLike F α β]
  [inst_3 : LatticeHomClass F α β] (f : F) (a a_1 : α),
  (LatticeCon.ker f).toSetoid a a_1 = Function.onFun (fun x1 x2 ↦ x1 = x2) (⇑f) a a_1