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

132 declarations. Mathlib docs · Source

Sublattices

This file defines sublattices.

TODO

Subsemilattices, if people care about them.

Tags

sublattice

def Sublattice.ctorIdx E1 #

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

theorem SupHom.mk.congr_simp E1 #

∀ {α : Type u_6} {β : Type u_7} [inst : Max α] [inst_1 : Max β] (toFun toFun_1 : α → β) (e_toFun : toFun = toFun_1)
  (map_sup' : ∀ (a b : α), toFun (a ⊔ b) = toFun a ⊔ toFun b),
  { toFun := toFun, map_sup' := map_sup' } = { toFun := toFun_1, map_sup' := ⋯ }

theorem Sublattice.mk.injEq E0 #

∀ {α : Type u_2} [inst : Lattice α] (carrier : Set α) (supClosed' : SupClosed carrier) (infClosed' : InfClosed carrier)
  (carrier_1 : Set α) (supClosed'_1 : SupClosed carrier_1) (infClosed'_1 : InfClosed carrier_1),
  ({ carrier := carrier, supClosed' := supClosed', infClosed' := infClosed' } =
      { carrier := carrier_1, supClosed' := supClosed'_1, infClosed' := infClosed'_1 }) =
    (carrier = carrier_1)

theorem Sublattice.mk.inj E1 #

∀ {α : Type u_2} {inst : Lattice α} {carrier : Set α} {supClosed' : SupClosed carrier} {infClosed' : InfClosed carrier}
  {carrier_1 : Set α} {supClosed'_1 : SupClosed carrier_1} {infClosed'_1 : InfClosed carrier_1},
  { carrier := carrier, supClosed' := supClosed', infClosed' := infClosed' } =
      { carrier := carrier_1, supClosed' := supClosed'_1, infClosed' := infClosed'_1 } →
    carrier = carrier_1

theorem LatticeHom.mk.congr_simp E1 #

∀ {α : Type u_6} {β : Type u_7} [inst : Lattice α] [inst_1 : Lattice β] (toSupHom toSupHom_1 : SupHom α β)
  (e_toSupHom : toSupHom = toSupHom_1)
  (map_inf' : ∀ (a b : α), toSupHom.toFun (a ⊓ b) = toSupHom.toFun a ⊓ toSupHom.toFun b),
  { toSupHom := toSupHom, map_inf' := map_inf' } = { toSupHom := toSupHom_1, map_inf' := ⋯ }

structure Sublattice E1 #

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

A sublattice of a lattice is a set containing the suprema and infima of any of its elements.

ctor Sublattice.mk E0 #

{α : Type u_2} → [inst : Lattice α] → (carrier : Set α) → SupClosed carrier → InfClosed carrier → Sublattice α

abbrev Sublattice.carrier E1 #

{α : Type u_2} → [inst : Lattice α] → Sublattice α → Set α

The underlying set of a sublattice. Do not use directly. Instead, use the coercion Sublattice α → Set α, which Lean should automatically insert for you in most cases.

theorem Sublattice.supClosed' E1 #

∀ {α : Type u_2} [inst : Lattice α] (self : Sublattice α), SupClosed self.carrier

theorem Sublattice.infClosed' E1 #

∀ {α : Type u_2} [inst : Lattice α] (self : Sublattice α), InfClosed self.carrier

instance Sublattice.instSetLike E0 #

{α : Type u_2} → [inst : Lattice α] → SetLike (Sublattice α) α

instance Sublattice.instPartialOrder E0 #

{α : Type u_2} → [inst : Lattice α] → PartialOrder (Sublattice α)

def Sublattice.Simps.coe E1 #

{α : Type u_2} → [inst : Lattice α] → Sublattice α → Set α

See Note [custom simps projection].

abbrev Sublattice.ofIsSublattice E1 #

{α : Type u_2} → [inst : Lattice α] → (s : Set α) → IsSublattice s → Sublattice α

Turn a set closed under supremum and infimum into a sublattice.

theorem Sublattice.coe_inj E0 #

∀ {α : Type u_2} [inst : Lattice α] {L M : Sublattice α}, ↑L = ↑M ↔ L = M

theorem Sublattice.supClosed E0 #

∀ {α : Type u_2} [inst : Lattice α] (L : Sublattice α), SupClosed ↑L

theorem Sublattice.infClosed E0 #

∀ {α : Type u_2} [inst : Lattice α] (L : Sublattice α), InfClosed ↑L

theorem Sublattice.sup_mem E1 #

∀ {α : Type u_2} [inst : Lattice α] {L : Sublattice α} {a b : α}, a ∈ L → b ∈ L → a ⊔ b ∈ L

theorem Sublattice.inf_mem E1 #

∀ {α : Type u_2} [inst : Lattice α] {L : Sublattice α} {a b : α}, a ∈ L → b ∈ L → a ⊓ b ∈ L

theorem Sublattice.isSublattice E0 #

∀ {α : Type u_2} [inst : Lattice α] (L : Sublattice α), IsSublattice ↑L

theorem Sublattice.mem_carrier E0 #

∀ {α : Type u_2} [inst : Lattice α] {L : Sublattice α} {a : α}, a ∈ L.carrier ↔ a ∈ L

theorem Sublattice.mem_mk E0 #

∀ {α : Type u_2} [inst : Lattice α] {s : Set α} {a : α} (h_sup : SupClosed s) (h_inf : InfClosed s),
  a ∈ { carrier := s, supClosed' := h_sup, infClosed' := h_inf } ↔ a ∈ s

theorem Sublattice.coe_mk E0 #

∀ {α : Type u_2} [inst : Lattice α] {s : Set α} (h_sup : SupClosed s) (h_inf : InfClosed s),
  ↑{ carrier := s, supClosed' := h_sup, infClosed' := h_inf } = s

theorem Sublattice.mk_le_mk E0 #

∀ {α : Type u_2} [inst : Lattice α] {s t : Set α} (hs_sup : SupClosed s) (hs_inf : InfClosed s) (ht_sup : SupClosed t)
  (ht_inf : InfClosed t),
  { carrier := s, supClosed' := hs_sup, infClosed' := hs_inf } ≤
      { carrier := t, supClosed' := ht_sup, infClosed' := ht_inf } ↔
    s ⊆ t

theorem Sublattice.mk_lt_mk E0 #

∀ {α : Type u_2} [inst : Lattice α] {s t : Set α} (hs_sup : SupClosed s) (hs_inf : InfClosed s) (ht_sup : SupClosed t)
  (ht_inf : InfClosed t),
  { carrier := s, supClosed' := hs_sup, infClosed' := hs_inf } <
      { carrier := t, supClosed' := ht_sup, infClosed' := ht_inf } ↔
    s ⊂ t

def Sublattice.copy E1 #

{α : Type u_2} → [inst : Lattice α] → (L : Sublattice α) → (s : Set α) → s = ↑L → Sublattice α

Copy of a sublattice with a new carrier equal to the old one. Useful to fix definitional equalities.

theorem Sublattice.coe_copy E0 #

∀ {α : Type u_2} [inst : Lattice α] (L : Sublattice α) (s : Set α) (hs : s = ↑L), ↑(L.copy s hs) = s

theorem Sublattice.copy_eq E0 #

∀ {α : Type u_2} [inst : Lattice α] (L : Sublattice α) (s : Set α) (hs : s = ↑L), L.copy s hs = L

theorem Sublattice.ext E1 #

∀ {α : Type u_2} [inst : Lattice α] {L M : Sublattice α}, (∀ (a : α), a ∈ L ↔ a ∈ M) → L = M

Two sublattices are equal if they have the same elements.

instance Sublattice.instSupCoe E0 #

{α : Type u_2} → [inst : Lattice α] → {L : Sublattice α} → Max ↥L

A sublattice of a lattice inherits a supremum.

instance Sublattice.instInfCoe E0 #

{α : Type u_2} → [inst : Lattice α] → {L : Sublattice α} → Min ↥L

A sublattice of a lattice inherits an infimum.

theorem Sublattice.coe_sup E0 #

∀ {α : Type u_2} [inst : Lattice α] {L : Sublattice α} (a b : ↥L), ↑(a ⊔ b) = ↑a ⊔ ↑b

theorem Sublattice.coe_inf E0 #

∀ {α : Type u_2} [inst : Lattice α] {L : Sublattice α} (a b : ↥L), ↑(a ⊓ b) = ↑a ⊓ ↑b

theorem Sublattice.mk_sup_mk E0 #

∀ {α : Type u_2} [inst : Lattice α] {L : Sublattice α} (a b : α) (ha : a ∈ L) (hb : b ∈ L),
  ⟨a, ha⟩ ⊔ ⟨b, hb⟩ = ⟨a ⊔ b, ⋯⟩

theorem Sublattice.mk_inf_mk E0 #

∀ {α : Type u_2} [inst : Lattice α] {L : Sublattice α} (a b : α) (ha : a ∈ L) (hb : b ∈ L),
  ⟨a, ha⟩ ⊓ ⟨b, hb⟩ = ⟨a ⊓ b, ⋯⟩

instance Sublattice.instLatticeCoe E0 #

{α : Type u_2} → [inst : Lattice α] → (L : Sublattice α) → Lattice ↥L

A sublattice of a lattice inherits a lattice structure.

instance Sublattice.instDistribLatticeCoe E0 #

{α : Type u_5} → [inst : DistribLattice α] → (L : Sublattice α) → DistribLattice ↥L

A sublattice of a distributive lattice inherits a distributive lattice structure.

def Sublattice.subtype E1 #

{α : Type u_2} → [inst : Lattice α] → (L : Sublattice α) → LatticeHom (↥L) α

The natural lattice hom from a sublattice to the original lattice.

theorem Sublattice.coe_subtype E0 #

∀ {α : Type u_2} [inst : Lattice α] (L : Sublattice α), ⇑L.subtype = Subtype.val

theorem Sublattice.subtype_apply E0 #

∀ {α : Type u_2} [inst : Lattice α] (L : Sublattice α) (a : ↥L), L.subtype a = ↑a

theorem Sublattice.subtype_injective E1 #

∀ {α : Type u_2} [inst : Lattice α] (L : Sublattice α), Function.Injective ⇑L.subtype

def Sublattice.inclusion E1 #

{α : Type u_2} → [inst : Lattice α] → {L M : Sublattice α} → L ≤ M → LatticeHom ↥L ↥M

The inclusion homomorphism from a sublattice L to a bigger sublattice M.

theorem Sublattice.coe_inclusion E0 #

∀ {α : Type u_2} [inst : Lattice α] {L M : Sublattice α} (h : L ≤ M), ⇑(Sublattice.inclusion h) = Set.inclusion h

theorem Sublattice.inclusion_apply E0 #

∀ {α : Type u_2} [inst : Lattice α] {L M : Sublattice α} (h : L ≤ M) (a : ↥L),
  (Sublattice.inclusion h) a = Set.inclusion h a

theorem Sublattice.inclusion_injective E1 #

∀ {α : Type u_2} [inst : Lattice α] {L M : Sublattice α} (h : L ≤ M), Function.Injective ⇑(Sublattice.inclusion h)

theorem Sublattice.inclusion_rfl E0 #

∀ {α : Type u_2} [inst : Lattice α] (L : Sublattice α), Sublattice.inclusion ⋯ = LatticeHom.id ↥L

theorem Sublattice.subtype_comp_inclusion E0 #

∀ {α : Type u_2} [inst : Lattice α] {L M : Sublattice α} (h : L ≤ M),
  M.subtype.comp (Sublattice.inclusion h) = L.subtype

instance Sublattice.instTop E0 #

{α : Type u_2} → [inst : Lattice α] → Top (Sublattice α)

The maximum sublattice of a lattice.

instance Sublattice.instBot E0 #

{α : Type u_2} → [inst : Lattice α] → Bot (Sublattice α)

The empty sublattice of a lattice.

instance Sublattice.instInf E0 #

{α : Type u_2} → [inst : Lattice α] → Min (Sublattice α)

The inf of two sublattices is their intersection.

instance Sublattice.instInfSet E0 #

{α : Type u_2} → [inst : Lattice α] → InfSet (Sublattice α)

The inf of sublattices is their intersection.

instance Sublattice.instInhabited E0 #

{α : Type u_2} → [inst : Lattice α] → Inhabited (Sublattice α)

def Sublattice.topEquiv E1 #

{α : Type u_2} → [inst : Lattice α] → ↥⊤ ≃o α

The top sublattice is isomorphic to the original lattice.

This is the sublattice version of Equiv.Set.univ α.

theorem Sublattice.coe_top E0 #

∀ {α : Type u_2} [inst : Lattice α], ↑⊤ = Set.univ

theorem Sublattice.coe_bot E0 #

∀ {α : Type u_2} [inst : Lattice α], ↑⊥ = ∅

theorem Sublattice.coe_inf' E0 #

∀ {α : Type u_2} [inst : Lattice α] (L M : Sublattice α), ↑(L ⊓ M) = ↑L ∩ ↑M

theorem Sublattice.coe_sInf E0 #

∀ {α : Type u_2} [inst : Lattice α] (S : Set (Sublattice α)), ↑(sInf S) = ⋂ L ∈ S, ↑L

theorem Sublattice.coe_iInf E0 #

∀ {ι : Sort u_1} {α : Type u_2} [inst : Lattice α] (f : ι → Sublattice α), ↑(⨅ i, f i) = ⋂ i, ↑(f i)

theorem Sublattice.coe_eq_univ E0 #

∀ {α : Type u_2} [inst : Lattice α] {L : Sublattice α}, ↑L = Set.univ ↔ L = ⊤

theorem Sublattice.coe_eq_empty E0 #

∀ {α : Type u_2} [inst : Lattice α] {L : Sublattice α}, ↑L = ∅ ↔ L = ⊥

theorem Sublattice.notMem_bot E0 #

∀ {α : Type u_2} [inst : Lattice α] (a : α), a ∉ ⊥

theorem Sublattice.mem_top E0 #

∀ {α : Type u_2} [inst : Lattice α] (a : α), a ∈ ⊤

theorem Sublattice.mem_inf E0 #

∀ {α : Type u_2} [inst : Lattice α] {L M : Sublattice α} {a : α}, a ∈ L ⊓ M ↔ a ∈ L ∧ a ∈ M

theorem Sublattice.mem_sInf E0 #

∀ {α : Type u_2} [inst : Lattice α] {a : α} {S : Set (Sublattice α)}, a ∈ sInf S ↔ ∀ L ∈ S, a ∈ L

theorem Sublattice.mem_iInf E0 #

∀ {ι : Sort u_1} {α : Type u_2} [inst : Lattice α] {a : α} {f : ι → Sublattice α}, a ∈ ⨅ i, f i ↔ ∀ (i : ι), a ∈ f i

instance Sublattice.instCompleteLattice E0 #

{α : Type u_2} → [inst : Lattice α] → CompleteLattice (Sublattice α)

Sublattices of a lattice form a complete lattice.

theorem Sublattice.subsingleton_iff E0 #

∀ {α : Type u_2} [inst : Lattice α], Subsingleton (Sublattice α) ↔ IsEmpty α

instance Sublattice.instUniqueOfIsEmpty E0 #

{α : Type u_2} → [inst : Lattice α] → [IsEmpty α] → Unique (Sublattice α)

def Sublattice.comap E1 #

{α : Type u_2} →
  {β : Type u_3} → [inst : Lattice α] → [inst_1 : Lattice β] → LatticeHom α β → Sublattice β → Sublattice α

The preimage of a sublattice along a lattice homomorphism.

theorem Sublattice.coe_comap E0 #

∀ {α : Type u_2} {β : Type u_3} [inst : Lattice α] [inst_1 : Lattice β] (L : Sublattice β) (f : LatticeHom α β),
  ↑(Sublattice.comap f L) = ⇑f ⁻¹' ↑L

theorem Sublattice.mem_comap E0 #

∀ {α : Type u_2} {β : Type u_3} [inst : Lattice α] [inst_1 : Lattice β] {f : LatticeHom α β} {a : α} {L : Sublattice β},
  a ∈ Sublattice.comap f L ↔ f a ∈ L

theorem Sublattice.comap_mono E1 #

∀ {α : Type u_2} {β : Type u_3} [inst : Lattice α] [inst_1 : Lattice β] {f : LatticeHom α β},
  Monotone (Sublattice.comap f)

theorem Sublattice.comap_id E0 #

∀ {α : Type u_2} [inst : Lattice α] (L : Sublattice α), Sublattice.comap (LatticeHom.id α) L = L

theorem Sublattice.comap_comap E0 #

∀ {α : Type u_2} {β : Type u_3} {γ : Type u_4} [inst : Lattice α] [inst_1 : Lattice β] [inst_2 : Lattice γ]
  (L : Sublattice γ) (g : LatticeHom β γ) (f : LatticeHom α β),
  Sublattice.comap f (Sublattice.comap g L) = Sublattice.comap (g.comp f) L

def Sublattice.map E1 #

{α : Type u_2} →
  {β : Type u_3} → [inst : Lattice α] → [inst_1 : Lattice β] → LatticeHom α β → Sublattice α → Sublattice β

The image of a sublattice along a monoid homomorphism is a sublattice.

theorem Sublattice.coe_map E0 #

∀ {α : Type u_2} {β : Type u_3} [inst : Lattice α] [inst_1 : Lattice β] (f : LatticeHom α β) (L : Sublattice α),
  ↑(Sublattice.map f L) = ⇑f '' ↑L

theorem Sublattice.mem_map E0 #

∀ {α : Type u_2} {β : Type u_3} [inst : Lattice α] [inst_1 : Lattice β] {L : Sublattice α} {f : LatticeHom α β} {b : β},
  b ∈ Sublattice.map f L ↔ ∃ a ∈ L, f a = b

theorem Sublattice.mem_map_of_mem E0 #

∀ {α : Type u_2} {β : Type u_3} [inst : Lattice α] [inst_1 : Lattice β] {L : Sublattice α} (f : LatticeHom α β) {a : α},
  a ∈ L → f a ∈ Sublattice.map f L

theorem Sublattice.apply_coe_mem_map E1 #

∀ {α : Type u_2} {β : Type u_3} [inst : Lattice α] [inst_1 : Lattice β] {L : Sublattice α} (f : LatticeHom α β)
  (a : ↥L), f ↑a ∈ Sublattice.map f L

theorem Sublattice.map_mono E0 #

∀ {α : Type u_2} {β : Type u_3} [inst : Lattice α] [inst_1 : Lattice β] {f : LatticeHom α β},
  Monotone (Sublattice.map f)

theorem Sublattice.map_id E0 #

∀ {α : Type u_2} [inst : Lattice α] {L : Sublattice α}, Sublattice.map (LatticeHom.id α) L = L

theorem Sublattice.map_map E0 #

∀ {α : Type u_2} {β : Type u_3} {γ : Type u_4} [inst : Lattice α] [inst_1 : Lattice β] [inst_2 : Lattice γ]
  {L : Sublattice α} (g : LatticeHom β γ) (f : LatticeHom α β),
  Sublattice.map g (Sublattice.map f L) = Sublattice.map (g.comp f) L

theorem Sublattice.mem_map_equiv E0 #

∀ {α : Type u_2} {β : Type u_3} [inst : Lattice α] [inst_1 : Lattice β] {L : Sublattice α} {f : α ≃o β} {a : β},
  a ∈ Sublattice.map { toFun := ⇑f, map_sup' := ⋯, map_inf' := ⋯ } L ↔ f.symm a ∈ L

theorem Sublattice.apply_mem_map_iff E0 #

∀ {α : Type u_2} {β : Type u_3} [inst : Lattice α] [inst_1 : Lattice β] {L : Sublattice α} {f : LatticeHom α β} {a : α},
  Function.Injective ⇑f → (f a ∈ Sublattice.map f L ↔ a ∈ L)

theorem Sublattice.map_equiv_eq_comap_symm E0 #

∀ {α : Type u_2} {β : Type u_3} [inst : Lattice α] [inst_1 : Lattice β] (f : α ≃o β) (L : Sublattice α),
  Sublattice.map { toFun := ⇑f, map_sup' := ⋯, map_inf' := ⋯ } L =
    Sublattice.comap { toFun := ⇑f.symm, map_sup' := ⋯, map_inf' := ⋯ } L

theorem Sublattice.comap_equiv_eq_map_symm E1 #

∀ {α : Type u_2} {β : Type u_3} [inst : Lattice α] [inst_1 : Lattice β] (f : β ≃o α) (L : Sublattice α),
  Sublattice.comap { toFun := ⇑f, map_sup' := ⋯, map_inf' := ⋯ } L =
    Sublattice.map { toFun := ⇑f.symm, map_sup' := ⋯, map_inf' := ⋯ } L

theorem Sublattice.map_symm_eq_iff_eq_map E0 #

∀ {α : Type u_2} {β : Type u_3} [inst : Lattice α] [inst_1 : Lattice β] {L : Sublattice α} {M : Sublattice β}
  {e : β ≃o α},
  Sublattice.map { toFun := ⇑e.symm, map_sup' := ⋯, map_inf' := ⋯ } L = M ↔
    L = Sublattice.map { toFun := ⇑e, map_sup' := ⋯, map_inf' := ⋯ } M

theorem Sublattice.map_le_iff_le_comap E0 #

∀ {α : Type u_2} {β : Type u_3} [inst : Lattice α] [inst_1 : Lattice β] {L : Sublattice α} {f : LatticeHom α β}
  {M : Sublattice β}, Sublattice.map f L ≤ M ↔ L ≤ Sublattice.comap f M

theorem Sublattice.gc_map_comap E1 #

∀ {α : Type u_2} {β : Type u_3} [inst : Lattice α] [inst_1 : Lattice β] (f : LatticeHom α β),
  GaloisConnection (Sublattice.map f) (Sublattice.comap f)

theorem Sublattice.map_bot E0 #

∀ {α : Type u_2} {β : Type u_3} [inst : Lattice α] [inst_1 : Lattice β] (f : LatticeHom α β), Sublattice.map f ⊥ = ⊥

theorem Sublattice.map_sup E0 #

∀ {α : Type u_2} {β : Type u_3} [inst : Lattice α] [inst_1 : Lattice β] (f : LatticeHom α β) (L M : Sublattice α),
  Sublattice.map f (L ⊔ M) = Sublattice.map f L ⊔ Sublattice.map f M

theorem Sublattice.map_iSup E0 #

∀ {ι : Sort u_1} {α : Type u_2} {β : Type u_3} [inst : Lattice α] [inst_1 : Lattice β] (f : LatticeHom α β)
  (L : ι → Sublattice α), Sublattice.map f (⨆ i, L i) = ⨆ i, Sublattice.map f (L i)

theorem Sublattice.comap_top E0 #

∀ {α : Type u_2} {β : Type u_3} [inst : Lattice α] [inst_1 : Lattice β] (f : LatticeHom α β), Sublattice.comap f ⊤ = ⊤

theorem Sublattice.comap_inf E1 #

∀ {α : Type u_2} {β : Type u_3} [inst : Lattice α] [inst_1 : Lattice β] (L M : Sublattice β) (f : LatticeHom α β),
  Sublattice.comap f (L ⊓ M) = Sublattice.comap f L ⊓ Sublattice.comap f M

theorem Sublattice.comap_iInf E1 #

∀ {ι : Sort u_1} {α : Type u_2} {β : Type u_3} [inst : Lattice α] [inst_1 : Lattice β] (f : LatticeHom α β)
  (s : ι → Sublattice β), Sublattice.comap f (iInf s) = ⨅ i, Sublattice.comap f (s i)

theorem Sublattice.map_inf_le E0 #

∀ {α : Type u_2} {β : Type u_3} [inst : Lattice α] [inst_1 : Lattice β] (L M : Sublattice α) (f : LatticeHom α β),
  Sublattice.map f (L ⊓ M) ≤ Sublattice.map f L ⊓ Sublattice.map f M

theorem Sublattice.le_comap_sup E1 #

∀ {α : Type u_2} {β : Type u_3} [inst : Lattice α] [inst_1 : Lattice β] (L M : Sublattice β) (f : LatticeHom α β),
  Sublattice.comap f L ⊔ Sublattice.comap f M ≤ Sublattice.comap f (L ⊔ M)

theorem Sublattice.le_comap_iSup E1 #

∀ {ι : Sort u_1} {α : Type u_2} {β : Type u_3} [inst : Lattice α] [inst_1 : Lattice β] (f : LatticeHom α β)
  (L : ι → Sublattice β), ⨆ i, Sublattice.comap f (L i) ≤ Sublattice.comap f (⨆ i, L i)

theorem Sublattice.map_inf E0 #

∀ {α : Type u_2} {β : Type u_3} [inst : Lattice α] [inst_1 : Lattice β] (L M : Sublattice α) (f : LatticeHom α β),
  Function.Injective ⇑f → Sublattice.map f (L ⊓ M) = Sublattice.map f L ⊓ Sublattice.map f M

theorem Sublattice.map_top E0 #

∀ {α : Type u_2} {β : Type u_3} [inst : Lattice α] [inst_1 : Lattice β] (f : LatticeHom α β),
  Function.Surjective ⇑f → Sublattice.map f ⊤ = ⊤

def Sublattice.prod E1 #

{α : Type u_2} →
  {β : Type u_3} → [inst : Lattice α] → [inst_1 : Lattice β] → Sublattice α → Sublattice β → Sublattice (α × β)

Binary product of sublattices as a sublattice.

theorem Sublattice.coe_prod E0 #

∀ {α : Type u_2} {β : Type u_3} [inst : Lattice α] [inst_1 : Lattice β] (L : Sublattice α) (M : Sublattice β),
  ↑(L.prod M) = ↑L ×ˢ ↑M

theorem Sublattice.mem_prod E0 #

∀ {α : Type u_2} {β : Type u_3} [inst : Lattice α] [inst_1 : Lattice β] {L : Sublattice α} {M : Sublattice β}
  {p : α × β}, p ∈ L.prod M ↔ p.1 ∈ L ∧ p.2 ∈ M

theorem Sublattice.prod_mono E1 #

∀ {α : Type u_2} {β : Type u_3} [inst : Lattice α] [inst_1 : Lattice β] {L₁ L₂ : Sublattice α} {M₁ M₂ : Sublattice β},
  L₁ ≤ L₂ → M₁ ≤ M₂ → L₁.prod M₁ ≤ L₂.prod M₂

theorem Sublattice.prod_mono_left E1 #

∀ {α : Type u_2} {β : Type u_3} [inst : Lattice α] [inst_1 : Lattice β] {L₁ L₂ : Sublattice α} {M : Sublattice β},
  L₁ ≤ L₂ → L₁.prod M ≤ L₂.prod M

theorem Sublattice.prod_mono_right E1 #

∀ {α : Type u_2} {β : Type u_3} [inst : Lattice α] [inst_1 : Lattice β] {L : Sublattice α} {M₁ M₂ : Sublattice β},
  M₁ ≤ M₂ → L.prod M₁ ≤ L.prod M₂

theorem Sublattice.prod_left_mono E1 #

∀ {α : Type u_2} [inst : Lattice α] {M : Sublattice α}, Monotone fun L ↦ L.prod M

theorem Sublattice.prod_right_mono E1 #

∀ {α : Type u_2} {β : Type u_3} [inst : Lattice α] [inst_1 : Lattice β] {L : Sublattice α}, Monotone fun M ↦ L.prod M

theorem Sublattice.prod_top E1 #

∀ {α : Type u_2} {β : Type u_3} [inst : Lattice α] [inst_1 : Lattice β] (L : Sublattice α),
  L.prod ⊤ = Sublattice.comap LatticeHom.fst L

theorem Sublattice.top_prod E1 #

∀ {α : Type u_2} {β : Type u_3} [inst : Lattice α] [inst_1 : Lattice β] (L : Sublattice β),
  ⊤.prod L = Sublattice.comap LatticeHom.snd L

theorem Sublattice.top_prod_top E0 #

∀ {α : Type u_2} {β : Type u_3} [inst : Lattice α] [inst_1 : Lattice β], ⊤.prod ⊤ = ⊤

theorem Sublattice.prod_bot E0 #

∀ {α : Type u_2} {β : Type u_3} [inst : Lattice α] [inst_1 : Lattice β] (L : Sublattice α), L.prod ⊥ = ⊥

theorem Sublattice.bot_prod E0 #

∀ {α : Type u_2} {β : Type u_3} [inst : Lattice α] [inst_1 : Lattice β] (M : Sublattice β), ⊥.prod M = ⊥

theorem Sublattice.le_prod_iff E0 #

∀ {α : Type u_2} {β : Type u_3} [inst : Lattice α] [inst_1 : Lattice β] {L : Sublattice α} {M : Sublattice β}
  {N : Sublattice (α × β)}, N ≤ L.prod M ↔ N ≤ Sublattice.comap LatticeHom.fst L ∧ N ≤ Sublattice.comap LatticeHom.snd M

theorem Sublattice.prod_eq_bot E0 #

∀ {α : Type u_2} {β : Type u_3} [inst : Lattice α] [inst_1 : Lattice β] {L : Sublattice α} {M : Sublattice β},
  L.prod M = ⊥ ↔ L = ⊥ ∨ M = ⊥

theorem Sublattice.prod_eq_top E0 #

∀ {α : Type u_2} {β : Type u_3} [inst : Lattice α] [inst_1 : Lattice β] {L : Sublattice α} [Nonempty α] [Nonempty β]
  {M : Sublattice β}, L.prod M = ⊤ ↔ L = ⊤ ∧ M = ⊤

def Sublattice.prodEquiv E1 #

{α : Type u_2} →
  {β : Type u_3} →
    [inst : Lattice α] → [inst_1 : Lattice β] → (L : Sublattice α) → (M : Sublattice β) → ↥(L.prod M) ≃o ↥L × ↥M

The product of sublattices is isomorphic to their product as lattices.

theorem Sublattice.prodEquiv_toEquiv E0 #

∀ {α : Type u_2} {β : Type u_3} [inst : Lattice α] [inst_1 : Lattice β] (L : Sublattice α) (M : Sublattice β),
  (L.prodEquiv M).toEquiv = Equiv.Set.prod ↑L ↑M

theorem Sublattice.prodEquiv_apply E0 #

∀ {α : Type u_2} {β : Type u_3} [inst : Lattice α] [inst_1 : Lattice β] (L : Sublattice α) (M : Sublattice β)
  (x : { c // (fun x ↦ x ∈ ↑L) c.1 ∧ (fun x ↦ x ∈ ↑M) c.2 }), (L.prodEquiv M) x = (⟨(↑x).1, ⋯⟩, ⟨(↑x).2, ⋯⟩)

theorem Sublattice.prodEquiv_symm_apply E0 #

∀ {α : Type u_2} {β : Type u_3} [inst : Lattice α] [inst_1 : Lattice β] (L : Sublattice α) (M : Sublattice β)
  (x : { a // (fun x ↦ x ∈ ↑L) a } × { b // (fun x ↦ x ∈ ↑M) b }), (RelIso.symm (L.prodEquiv M)) x = ⟨(↑x.1, ↑x.2), ⋯⟩

def Sublattice.pi E1 #

{κ : Type u_5} →
  {π : κ → Type u_6} →
    [inst : (i : κ) → Lattice (π i)] → Set κ → ((i : κ) → Sublattice (π i)) → Sublattice ((i : κ) → π i)

Arbitrary product of sublattices. Given an index set s and a family of sublattices L : Π i, Sublattice (α i), pi s L is the sublattice of dependent functions f : Π i, α i such that f i belongs to L i whenever i ∈ s.

theorem Sublattice.coe_pi E0 #

∀ {κ : Type u_5} {π : κ → Type u_6} [inst : (i : κ) → Lattice (π i)] (s : Set κ) (L : (i : κ) → Sublattice (π i)),
  ↑(Sublattice.pi s L) = s.pi fun i ↦ ↑(L i)

theorem Sublattice.mem_pi E0 #

∀ {κ : Type u_5} {π : κ → Type u_6} [inst : (i : κ) → Lattice (π i)] {s : Set κ} {L : (i : κ) → Sublattice (π i)}
  {x : (i : κ) → π i}, x ∈ Sublattice.pi s L ↔ ∀ i ∈ s, x i ∈ L i

theorem Sublattice.pi_empty E0 #

∀ {κ : Type u_5} {π : κ → Type u_6} [inst : (i : κ) → Lattice (π i)] (L : (i : κ) → Sublattice (π i)),
  Sublattice.pi ∅ L = ⊤

theorem Sublattice.pi_top E0 #

∀ {κ : Type u_5} {π : κ → Type u_6} [inst : (i : κ) → Lattice (π i)] (s : Set κ), (Sublattice.pi s fun x ↦ ⊤) = ⊤

theorem Sublattice.pi_bot E0 #

∀ {κ : Type u_5} {π : κ → Type u_6} [inst : (i : κ) → Lattice (π i)] {s : Set κ},
  s.Nonempty → (Sublattice.pi s fun x ↦ ⊥) = ⊥

theorem Sublattice.pi_univ_bot E1 #

∀ {κ : Type u_5} {π : κ → Type u_6} [inst : (i : κ) → Lattice (π i)] [Nonempty κ],
  (Sublattice.pi Set.univ fun x ↦ ⊥) = ⊥

theorem Sublattice.le_pi E1 #

∀ {κ : Type u_5} {π : κ → Type u_6} [inst : (i : κ) → Lattice (π i)] {s : Set κ} {L : (i : κ) → Sublattice (π i)}
  {M : Sublattice ((i : κ) → π i)}, M ≤ Sublattice.pi s L ↔ ∀ i ∈ s, M ≤ Sublattice.comap (Pi.evalLatticeHom i) (L i)

theorem Sublattice.pi_univ_eq_bot_iff E0 #

∀ {κ : Type u_5} {π : κ → Type u_6} [inst : (i : κ) → Lattice (π i)] {L : (i : κ) → Sublattice (π i)},
  Sublattice.pi Set.univ L = ⊥ ↔ ∃ i, L i = ⊥

theorem Sublattice.pi_univ_eq_bot E1 #

∀ {κ : Type u_5} {π : κ → Type u_6} [inst : (i : κ) → Lattice (π i)] {L : (i : κ) → Sublattice (π i)} {i : κ},
  L i = ⊥ → Sublattice.pi Set.univ L = ⊥

def Sublattice.LatticeHom.range E1 #

{α : Type u_2} → {β : Type u_3} → [inst : Lattice α] → [inst_1 : Lattice β] → LatticeHom α β → Sublattice β

The range of LatticeHom is a sublattice.

theorem Sublattice.LatticeHom.range_coe E0 #

∀ {α : Type u_2} {β : Type u_3} [inst : Lattice α] [inst_1 : Lattice β] {f : LatticeHom α β},
  ↑(Sublattice.LatticeHom.range f) = Set.range ⇑f