The areas / V24. Category theory
Mathlib.Order.Category.FinBoolAlg
36 declarations. Mathlib docs · Source
theorem FinBoolAlg.mk.inj E1 #
∀ {toBoolAlg : BoolAlg} {isFintype : Fintype ↑toBoolAlg} {toBoolAlg_1 : BoolAlg} {isFintype_1 : Fintype ↑toBoolAlg_1},
{ toBoolAlg := toBoolAlg, isFintype := isFintype } = { toBoolAlg := toBoolAlg_1, isFintype := isFintype_1 } →
toBoolAlg = toBoolAlg_1 ∧ isFintype ≍ isFintype_1
theorem FinBoolAlg.mk.injEq E0 #
∀ (toBoolAlg : BoolAlg) [isFintype : Fintype ↑toBoolAlg] (toBoolAlg_1 : BoolAlg) (isFintype_1 : Fintype ↑toBoolAlg_1),
({ toBoolAlg := toBoolAlg, isFintype := isFintype } = { toBoolAlg := toBoolAlg_1, isFintype := isFintype_1 }) =
(toBoolAlg = toBoolAlg_1 ∧ isFintype ≍ isFintype_1)
def FinBoolAlg.ctorIdx E1 #
FinBoolAlg → ℕ
structure FinBoolAlg E1 #
Type (u_1 + 1)
The category of finite Boolean algebras with bounded lattice morphisms.
abbrev FinBoolAlg.toBoolAlg E1 #
FinBoolAlg → BoolAlg
ctor FinBoolAlg.mk E0 #
(toBoolAlg : BoolAlg) → [isFintype : Fintype ↑toBoolAlg] → FinBoolAlg
instance FinBoolAlg.isFintype E0 #
(self : FinBoolAlg) → Fintype ↑self.toBoolAlg
instance FinBoolAlg.instCoeSortType E0 #
CoeSort FinBoolAlg (Type u_1)
abbrev FinBoolAlg.of E1 #
(α : Type u_1) → [BooleanAlgebra α] → [Fintype α] → FinBoolAlg
Construct a bundled FinBoolAlg from BooleanAlgebra + Fintype.
def FinBoolAlg.delabOf E1 #
Lean.PrettyPrinter.Delaborator.Delab
This prints FinBoolAlg.of X as ↧X.
theorem FinBoolAlg.coe_of E0 #
∀ (α : Type u_1) [inst : BooleanAlgebra α] [inst_1 : Fintype α], ↑(↧α).toBoolAlg = α
instance FinBoolAlg.instInhabited E0 #
Inhabited FinBoolAlg
instance FinBoolAlg.largeCategory E0 #
CategoryTheory.LargeCategory FinBoolAlg
instance FinBoolAlg.concreteCategory E0 #
CategoryTheory.ConcreteCategory FinBoolAlg fun x1 x2 ↦ BoundedLatticeHom ↑x1.toBoolAlg ↑x2.toBoolAlg
instance FinBoolAlg.hasForgetToBoolAlg E0 #
CategoryTheory.HasForget₂ FinBoolAlg BoolAlg
instance FinBoolAlg.hasForgetToFinBddDistLat E0 #
CategoryTheory.HasForget₂ FinBoolAlg FinBddDistLat
instance FinBoolAlg.forgetToBoolAlg_full E0 #
(CategoryTheory.forget₂ FinBoolAlg BoolAlg).Full
instance FinBoolAlg.forgetToBoolAlgFaithful E0 #
(CategoryTheory.forget₂ FinBoolAlg BoolAlg).Faithful
instance FinBoolAlg.hasForgetToFinPartOrd E0 #
CategoryTheory.HasForget₂ FinBoolAlg FinPartOrd
theorem FinBoolAlg.hasForgetToFinPartOrd_forget₂_obj_carrier E0 #
∀ (X : FinBoolAlg), ↑(CategoryTheory.HasForget₂.forget₂.obj X).toPartOrd = ↑X.toBoolAlg
theorem FinBoolAlg.hasForgetToFinPartOrd_forget₂_obj_isFintype E0 #
∀ (X : FinBoolAlg), (CategoryTheory.HasForget₂.forget₂.obj X).isFintype = X.isFintype
theorem FinBoolAlg.hasForgetToFinPartOrd_forget₂_map E0 #
∀ {X Y : FinBoolAlg} (f : X ⟶ Y),
CategoryTheory.HasForget₂.forget₂.map f =
CategoryTheory.InducedCategory.homMk (PartOrd.ofHom ↑(BoolAlg.Hom.hom f.hom))
theorem FinBoolAlg.hasForgetToFinPartOrd_forget₂_obj_str E0 #
∀ (X : FinBoolAlg),
(CategoryTheory.HasForget₂.forget₂.obj X).str =
BooleanAlgebra.toBiheytingAlgebra.toCoheytingAlgebra.toSemilatticeInf.toPartialOrder
instance FinBoolAlg.forgetToFinPartOrdFaithful E0 #
(CategoryTheory.forget₂ FinBoolAlg FinPartOrd).Faithful
def FinBoolAlg.Iso.mk E1 #
{α β : FinBoolAlg} → ↑α.toBoolAlg ≃o ↑β.toBoolAlg → (α ≅ β)
Constructs an equivalence between finite Boolean algebras from an order isomorphism between them.
theorem FinBoolAlg.Iso.mk_inv E0 #
∀ {α β : FinBoolAlg} (e : ↑α.toBoolAlg ≃o ↑β.toBoolAlg),
(FinBoolAlg.Iso.mk e).inv =
CategoryTheory.InducedCategory.homMk
(BoolAlg.ofHom
(have __src := { toFun := ⇑e.symm, map_sup' := ⋯, map_inf' := ⋯ };
{ toFun := ⇑e.symm, map_sup' := ⋯, map_inf' := ⋯, map_top' := ⋯, map_bot' := ⋯ }))
theorem FinBoolAlg.Iso.mk_hom E0 #
∀ {α β : FinBoolAlg} (e : ↑α.toBoolAlg ≃o ↑β.toBoolAlg),
(FinBoolAlg.Iso.mk e).hom =
CategoryTheory.InducedCategory.homMk
(BoolAlg.ofHom
(have __src := { toFun := ⇑e, map_sup' := ⋯, map_inf' := ⋯ };
{ toFun := ⇑e, map_sup' := ⋯, map_inf' := ⋯, map_top' := ⋯, map_bot' := ⋯ }))
def FinBoolAlg.dual E1 #
CategoryTheory.Functor FinBoolAlg FinBoolAlg
OrderDual as a functor.
theorem FinBoolAlg.dual_map E0 #
∀ {X Y : FinBoolAlg} (f : X ⟶ Y),
FinBoolAlg.dual.map f =
CategoryTheory.InducedCategory.homMk (BoolAlg.ofHom (BoundedLatticeHom.dual (BoolAlg.Hom.hom f.hom)))
def FinBoolAlg.dualEquiv E1 #
FinBoolAlg ≌ FinBoolAlg
The equivalence between FinBoolAlg and itself induced by OrderDual both ways.
theorem FinBoolAlg.dualEquiv_inverse E0 #
FinBoolAlg.dualEquiv.inverse = FinBoolAlg.dual
theorem FinBoolAlg.dualEquiv_functor E0 #
FinBoolAlg.dualEquiv.functor = FinBoolAlg.dual
theorem finBoolAlg_dual_comp_forget_to_finBddDistLat E1 #
FinBoolAlg.dual.comp (CategoryTheory.forget₂ FinBoolAlg FinBddDistLat) =
(CategoryTheory.forget₂ FinBoolAlg FinBddDistLat).comp FinBddDistLat.dual
def fintypeToFinBoolAlgOp E1 #
CategoryTheory.Functor FintypeCat FinBoolAlgᵒᵖ
The powerset functor. Set as a functor.
theorem fintypeToFinBoolAlgOp_map E0 #
∀ {X Y : FintypeCat} (f : X ⟶ Y),
fintypeToFinBoolAlgOp.map f =
(CategoryTheory.InducedCategory.homMk
(BoolAlg.ofHom
(have __src :=
{ toFun := ⇑(CompleteLatticeHom.setPreimage ⇑(CategoryTheory.ConcreteCategory.hom f)), map_sup' := ⋯,
map_inf' := ⋯ };
{ toFun := ⇑(CompleteLatticeHom.setPreimage ⇑(CategoryTheory.ConcreteCategory.hom f)), map_sup' := ⋯,
map_inf' := ⋯, map_top' := ⋯, map_bot' := ⋯ }))).op
theorem fintypeToFinBoolAlgOp_obj E0 #
∀ (X : FintypeCat), fintypeToFinBoolAlgOp.obj X = Opposite.op ↧(Set X.obj)