The areas / V24. Category theory
Mathlib.Order.Category.BddDistLat
56 declarations. Mathlib docs · Source
def BddDistLat.ctorIdx E1 #
BddDistLat → ℕ
def BddDistLat.Hom.ctorIdx E1 #
{X Y : BddDistLat} → X.Hom Y → ℕ
theorem BddDistLat.mk.inj E1 #
∀ {toDistLat : DistLat} {isBoundedOrder : BoundedOrder ↑toDistLat} {toDistLat_1 : DistLat}
{isBoundedOrder_1 : BoundedOrder ↑toDistLat_1},
{ toDistLat := toDistLat, isBoundedOrder := isBoundedOrder } =
{ toDistLat := toDistLat_1, isBoundedOrder := isBoundedOrder_1 } →
toDistLat = toDistLat_1 ∧ isBoundedOrder ≍ isBoundedOrder_1
theorem BddDistLat.mk.injEq E0 #
∀ (toDistLat : DistLat) [isBoundedOrder : BoundedOrder ↑toDistLat] (toDistLat_1 : DistLat)
(isBoundedOrder_1 : BoundedOrder ↑toDistLat_1),
({ toDistLat := toDistLat, isBoundedOrder := isBoundedOrder } =
{ toDistLat := toDistLat_1, isBoundedOrder := isBoundedOrder_1 }) =
(toDistLat = toDistLat_1 ∧ isBoundedOrder ≍ isBoundedOrder_1)
theorem BoundedLatticeHom.mk.congr_simp E1 #
∀ {α : Type u_6} {β : Type u_7} [inst : Lattice α] [inst_1 : Lattice β] [inst_2 : BoundedOrder α]
[inst_3 : BoundedOrder β] (toLatticeHom toLatticeHom_1 : LatticeHom α β)
(e_toLatticeHom : toLatticeHom = toLatticeHom_1) (map_top' : toLatticeHom.toFun ⊤ = ⊤)
(map_bot' : toLatticeHom.toFun ⊥ = ⊥),
{ toLatticeHom := toLatticeHom, map_top' := map_top', map_bot' := map_bot' } =
{ toLatticeHom := toLatticeHom_1, map_top' := ⋯, map_bot' := ⋯ }
structure BddDistLat E1 #
Type (u_1 + 1)
The category of bounded distributive lattices with bounded lattice morphisms.
abbrev BddDistLat.toDistLat E1 #
BddDistLat → DistLat
The underlying distrib lattice of a bounded distributive lattice.
ctor BddDistLat.mk E0 #
(toDistLat : DistLat) → [isBoundedOrder : BoundedOrder ↑toDistLat] → BddDistLat
instance BddDistLat.isBoundedOrder E0 #
(self : BddDistLat) → BoundedOrder ↑self.toDistLat
instance BddDistLat.instCoeSortType E0 #
CoeSort BddDistLat (Type u_1)
instance BddDistLat.instDistribLatticeCarrier E0 #
(X : BddDistLat) → DistribLattice ↑X.toDistLat
abbrev BddDistLat.of E1 #
(α : Type u_1) → [inst : DistribLattice α] → [BoundedOrder α] → BddDistLat
Construct a bundled BddDistLat from a BoundedOrder DistribLattice.
def BddDistLat.delabOf E1 #
Lean.PrettyPrinter.Delaborator.Delab
This prints BddDistLat.of X as ↧X.
theorem BddDistLat.coe_of E0 #
∀ (α : Type u_1) [inst : DistribLattice α] [inst_1 : BoundedOrder α], ↑(↧α).toDistLat = α
structure BddDistLat.Hom E1 #
BddDistLat → BddDistLat → Type u
The type of morphisms in BddDistLat R.
theorem BddDistLat.Hom.ext E1 #
∀ {X Y : BddDistLat} {x y : X.Hom Y}, x.hom' = y.hom' → x = y
theorem BddDistLat.Hom.ext_iff E0 #
∀ {X Y : BddDistLat} {x y : X.Hom Y}, x = y ↔ x.hom' = y.hom'
abbrev BddDistLat.Hom.hom' E1 #
{X Y : BddDistLat} → X.Hom Y → BoundedLatticeHom ↑X.toDistLat ↑Y.toDistLat
The underlying BoundedLatticeHom.
instance BddDistLat.instCategory E0 #
CategoryTheory.Category.{u, u + 1} BddDistLat
instance BddDistLat.instConcreteCategoryBoundedLatticeHomCarrier E0 #
CategoryTheory.ConcreteCategory BddDistLat fun x1 x2 ↦ BoundedLatticeHom ↑x1.toDistLat ↑x2.toDistLat
abbrev BddDistLat.Hom.hom E1 #
{X Y : BddDistLat} → X.Hom Y → BoundedLatticeHom ↑X.toDistLat ↑Y.toDistLat
Turn a morphism in BddDistLat back into a BoundedLatticeHom.
abbrev BddDistLat.ofHom E1 #
{X Y : Type u} →
[inst : DistribLattice X] →
[inst_1 : BoundedOrder X] →
[inst_2 : DistribLattice Y] → [inst_3 : BoundedOrder Y] → BoundedLatticeHom X Y → (↧X ⟶ ↧Y)
Typecheck a BoundedLatticeHom as a morphism in BddDistLat.
def BddDistLat.Hom.Simps.hom E1 #
(X Y : BddDistLat) → X.Hom Y → BoundedLatticeHom ↑X.toDistLat ↑Y.toDistLat
Use the ConcreteCategory.hom projection for @[simps] lemmas.
theorem BddDistLat.coe_id E0 #
∀ {X : BddDistLat}, ⇑(CategoryTheory.ConcreteCategory.hom (CategoryTheory.CategoryStruct.id X)) = id
theorem BddDistLat.coe_comp E0 #
∀ {X Y Z : BddDistLat} {f : X ⟶ Y} {g : Y ⟶ Z},
⇑(CategoryTheory.ConcreteCategory.hom (CategoryTheory.CategoryStruct.comp f g)) =
⇑(CategoryTheory.ConcreteCategory.hom g) ∘ ⇑(CategoryTheory.ConcreteCategory.hom f)
theorem BddDistLat.forget_map E0 #
∀ {X Y : BddDistLat} (f : X ⟶ Y),
⇑(CategoryTheory.ConcreteCategory.hom ((CategoryTheory.forget BddDistLat).map f)) =
⇑(CategoryTheory.ConcreteCategory.hom f)
theorem BddDistLat.ext_iff E0 #
∀ {X Y : BddDistLat} {f g : X ⟶ Y},
f = g ↔ ∀ (x : ↑X.toDistLat), (CategoryTheory.ConcreteCategory.hom f) x = (CategoryTheory.ConcreteCategory.hom g) x
theorem BddDistLat.ext E1 #
∀ {X Y : BddDistLat} {f g : X ⟶ Y},
(∀ (x : ↑X.toDistLat), (CategoryTheory.ConcreteCategory.hom f) x = (CategoryTheory.ConcreteCategory.hom g) x) → f = g
theorem BddDistLat.hom_id E0 #
∀ {X : BddDistLat}, BddDistLat.Hom.hom (CategoryTheory.CategoryStruct.id X) = BoundedLatticeHom.id ↑X.toDistLat
theorem BddDistLat.id_apply E0 #
∀ (X : BddDistLat) (x : ↑X.toDistLat), (CategoryTheory.ConcreteCategory.hom (CategoryTheory.CategoryStruct.id X)) x = x
theorem BddDistLat.hom_comp E0 #
∀ {X Y Z : BddDistLat} (f : X ⟶ Y) (g : Y ⟶ Z),
BddDistLat.Hom.hom (CategoryTheory.CategoryStruct.comp f g) = (BddDistLat.Hom.hom g).comp (BddDistLat.Hom.hom f)
theorem BddDistLat.comp_apply E0 #
∀ {X Y Z : BddDistLat} (f : X ⟶ Y) (g : Y ⟶ Z) (x : ↑X.toDistLat),
(CategoryTheory.ConcreteCategory.hom (CategoryTheory.CategoryStruct.comp f g)) x =
(CategoryTheory.ConcreteCategory.hom g) ((CategoryTheory.ConcreteCategory.hom f) x)
theorem BddDistLat.hom_ext_iff E0 #
∀ {X Y : BddDistLat} {f g : X ⟶ Y}, f = g ↔ BddDistLat.Hom.hom f = BddDistLat.Hom.hom g
theorem BddDistLat.hom_ext E1 #
∀ {X Y : BddDistLat} {f g : X ⟶ Y}, BddDistLat.Hom.hom f = BddDistLat.Hom.hom g → f = g
theorem BddDistLat.hom_ofHom E0 #
∀ {X Y : Type u} [inst : DistribLattice X] [inst_1 : BoundedOrder X] [inst_2 : DistribLattice Y]
[inst_3 : BoundedOrder Y] (f : BoundedLatticeHom X Y), BddDistLat.Hom.hom (BddDistLat.ofHom f) = f
theorem BddDistLat.ofHom_hom E0 #
∀ {X Y : BddDistLat} (f : X ⟶ Y), BddDistLat.ofHom (BddDistLat.Hom.hom f) = f
theorem BddDistLat.ofHom_id E0 #
∀ {X : Type u} [inst : DistribLattice X] [inst_1 : BoundedOrder X],
BddDistLat.ofHom (BoundedLatticeHom.id X) = CategoryTheory.CategoryStruct.id ↧X
theorem BddDistLat.ofHom_comp E0 #
∀ {X Y Z : Type u} [inst : DistribLattice X] [inst_1 : BoundedOrder X] [inst_2 : DistribLattice Y]
[inst_3 : BoundedOrder Y] [inst_4 : DistribLattice Z] [inst_5 : BoundedOrder Z] (f : BoundedLatticeHom X Y)
(g : BoundedLatticeHom Y Z),
BddDistLat.ofHom (g.comp f) = CategoryTheory.CategoryStruct.comp (BddDistLat.ofHom f) (BddDistLat.ofHom g)
theorem BddDistLat.ofHom_apply E0 #
∀ {X Y : Type u} [inst : DistribLattice X] [inst_1 : BoundedOrder X] [inst_2 : DistribLattice Y]
[inst_3 : BoundedOrder Y] (f : BoundedLatticeHom X Y) (x : X),
(CategoryTheory.ConcreteCategory.hom (BddDistLat.ofHom f)) x = f x
theorem BddDistLat.inv_hom_apply E0 #
∀ {X Y : BddDistLat} (e : X ≅ Y) (x : ↑X.toDistLat),
(CategoryTheory.ConcreteCategory.hom e.inv) ((CategoryTheory.ConcreteCategory.hom e.hom) x) = x
theorem BddDistLat.hom_inv_apply E0 #
∀ {X Y : BddDistLat} (e : X ≅ Y) (s : ↑Y.toDistLat),
(CategoryTheory.ConcreteCategory.hom e.hom) ((CategoryTheory.ConcreteCategory.hom e.inv) s) = s
instance BddDistLat.instInhabited E0 #
Inhabited BddDistLat
def BddDistLat.toBddLat E1 #
BddDistLat → BddLat
Turn a BddDistLat into a BddLat by forgetting it is distributive.
theorem BddDistLat.coe_toBddLat E0 #
∀ (X : BddDistLat), ↑X.toBddLat.toLat = ↑X.toDistLat
instance BddDistLat.hasForgetToDistLat E0 #
CategoryTheory.HasForget₂ BddDistLat DistLat
instance BddDistLat.hasForgetToBddLat E0 #
CategoryTheory.HasForget₂ BddDistLat BddLat
theorem BddDistLat.forget_bddLat_lat_eq_forget_distLat_lat E1 #
(CategoryTheory.forget₂ BddDistLat BddLat).comp (CategoryTheory.forget₂ BddLat Lat) =
(CategoryTheory.forget₂ BddDistLat DistLat).comp (CategoryTheory.forget₂ DistLat Lat)
def BddDistLat.Iso.mk E1 #
{α β : BddDistLat} → ↑α.toDistLat ≃o ↑β.toDistLat → (α ≅ β)
Constructs an equivalence between bounded distributive lattices from an order isomorphism between them.
theorem BddDistLat.Iso.mk_hom E0 #
∀ {α β : BddDistLat} (e : ↑α.toDistLat ≃o ↑β.toDistLat),
(BddDistLat.Iso.mk e).hom =
BddDistLat.ofHom
(have __src := { toFun := ⇑e, map_sup' := ⋯, map_inf' := ⋯ };
{ toFun := ⇑e, map_sup' := ⋯, map_inf' := ⋯, map_top' := ⋯, map_bot' := ⋯ })
theorem BddDistLat.Iso.mk_inv E0 #
∀ {α β : BddDistLat} (e : ↑α.toDistLat ≃o ↑β.toDistLat),
(BddDistLat.Iso.mk e).inv =
BddDistLat.ofHom
(have __src := { toFun := ⇑e.symm, map_sup' := ⋯, map_inf' := ⋯ };
{ toFun := ⇑e.symm, map_sup' := ⋯, map_inf' := ⋯, map_top' := ⋯, map_bot' := ⋯ })
def BddDistLat.dual E1 #
CategoryTheory.Functor BddDistLat BddDistLat
OrderDual as a functor.
theorem BddDistLat.dual_map E0 #
∀ {X Y : BddDistLat} (f : X ⟶ Y),
BddDistLat.dual.map f = BddDistLat.ofHom (BoundedLatticeHom.dual (BddDistLat.Hom.hom f))
def BddDistLat.dualEquiv E1 #
BddDistLat ≌ BddDistLat
The equivalence between BddDistLat and itself induced by OrderDual both ways.
theorem BddDistLat.dualEquiv_inverse E0 #
BddDistLat.dualEquiv.inverse = BddDistLat.dual
theorem BddDistLat.dualEquiv_functor E0 #
BddDistLat.dualEquiv.functor = BddDistLat.dual
theorem bddDistLat_dual_comp_forget_to_distLat E1 #
BddDistLat.dual.comp (CategoryTheory.forget₂ BddDistLat DistLat) =
(CategoryTheory.forget₂ BddDistLat DistLat).comp DistLat.dual