The areas / V26. Homological algebra
Mathlib.Algebra.Category.BoolRing
37 declarations. Mathlib docs · Source
The category of Boolean rings
This file defines BoolRing, the category of Boolean rings.
TODO
Finish the equivalence with BoolAlg.
Equivalence between BoolAlg and BoolRing
theorem BoolRing.of.injEq E0 #
∀ (carrier : Type u) [booleanRing : BooleanRing carrier] (carrier_1 : Type u) (booleanRing_1 : BooleanRing carrier_1),
(↧carrier = ↧carrier_1) = (carrier = carrier_1 ∧ booleanRing ≍ booleanRing_1)
def BoolRing.ctorIdx E1 #
BoolRing → ℕ
theorem BoolRing.of.inj E1 #
∀ {carrier : Type u} {booleanRing : BooleanRing carrier} {carrier_1 : Type u} {booleanRing_1 : BooleanRing carrier_1},
↧carrier = ↧carrier_1 → carrier = carrier_1 ∧ booleanRing ≍ booleanRing_1
def BoolRing.Hom.ctorIdx E1 #
{R : BoolRing} → {S : BoolRing} → R.Hom S → ℕ
structure BoolRing E1 #
Type (u + 1)
The category of Boolean rings.
ctor BoolRing.of E0 #
(carrier : Type u) → [booleanRing : BooleanRing carrier] → BoolRing
Construct a bundled BoolRing from a BooleanRing.
abbrev BoolRing.carrier E1 #
BoolRing → Type u
The underlying type.
instance BoolRing.booleanRing E0 #
(self : BoolRing) → BooleanRing ↑self
instance BoolRing.instCoeSortType E0 #
CoeSort BoolRing (Type u_1)
theorem BoolRing.coe_of E0 #
∀ (α : Type u_1) [inst : BooleanRing α], ↑↧α = α
instance BoolRing.instInhabited E0 #
Inhabited BoolRing
structure BoolRing.Hom E1 #
BoolRing → BoolRing → Type (max u_1 u_2)
The type of morphisms in BoolRing.
theorem BoolRing.Hom.ext_iff E0 #
∀ {R : BoolRing} {S : BoolRing} {x y : R.Hom S}, x = y ↔ x.hom' = y.hom'
theorem BoolRing.Hom.ext E1 #
∀ {R : BoolRing} {S : BoolRing} {x y : R.Hom S}, x.hom' = y.hom' → x = y
abbrev BoolRing.Hom.hom' E1 #
{R : BoolRing} → {S : BoolRing} → R.Hom S → ↑R →+* ↑S
The underlying ring hom.
instance BoolRing.instCategory E0 #
CategoryTheory.Category.{u_1, u_1 + 1} BoolRing
instance BoolRing.instConcreteCategoryRingHomCarrier E0 #
CategoryTheory.ConcreteCategory BoolRing fun x1 x2 ↦ ↑x1 →+* ↑x2
abbrev BoolRing.Hom.hom E1 #
{X Y : BoolRing} → X.Hom Y → ↑X →+* ↑Y
Turn a morphism in BoolRing back into a RingHom.
abbrev BoolRing.ofHom E1 #
{R S : Type u} → [inst : BooleanRing R] → [inst_1 : BooleanRing S] → (R →+* S) → (↧R ⟶ ↧S)
Typecheck a RingHom as a morphism in BoolRing.
theorem BoolRing.hom_ext_iff E0 #
∀ {R S : BoolRing} {f g : R ⟶ S}, f = g ↔ BoolRing.Hom.hom f = BoolRing.Hom.hom g
theorem BoolRing.hom_ext E1 #
∀ {R S : BoolRing} {f g : R ⟶ S}, BoolRing.Hom.hom f = BoolRing.Hom.hom g → f = g
instance BoolRing.hasForgetToCommRing E0 #
CategoryTheory.HasForget₂ BoolRing CommRingCat
def BoolRing.Iso.mk E1 #
{α β : BoolRing} → ↑α ≃+* ↑β → (α ≅ β)
Constructs an isomorphism of Boolean rings from a ring isomorphism between them.
theorem BoolRing.Iso.mk_hom_hom' E0 #
∀ {α β : BoolRing} (e : ↑α ≃+* ↑β), (BoolRing.Iso.mk e).hom.hom' = ↑e
theorem BoolRing.Iso.mk_inv_hom' E0 #
∀ {α β : BoolRing} (e : ↑α ≃+* ↑β), (BoolRing.Iso.mk e).inv.hom' = ↑e.symm
instance instBooleanAlgebraCarrierToBddLatToBddDistLat E0 #
{X : BoolAlg} → BooleanAlgebra ↑X.toBddDistLat.toBddLat.toLat
instance instBooleanRingCarrierToBddLatToBddDistLatOfAsBoolAlg E0 #
{R : Type u} → [inst : BooleanRing R] → BooleanRing ↑(↧(AsBoolAlg R)).toBddDistLat.toBddLat.toLat
theorem BoolRing.hasForgetToBoolAlg_forget₂_obj_coe E0 #
∀ (X : BoolRing), ↑(CategoryTheory.HasForget₂.forget₂.obj X) = AsBoolAlg ↑X
theorem BoolRing.hasForgetToBoolAlg_forget₂_map E0 #
∀ {X Y : BoolRing} (f : X ⟶ Y), CategoryTheory.HasForget₂.forget₂.map f = BoolAlg.ofHom (BoolRing.Hom.hom f).asBoolAlg
instance BoolRing.hasForgetToBoolAlg E0 #
CategoryTheory.HasForget₂ BoolRing BoolAlg
theorem BoolAlg.hasForgetToBoolRing_forget₂_obj_carrier E0 #
∀ (X : BoolAlg), ↑(CategoryTheory.HasForget₂.forget₂.obj X) = AsBoolRing ↑X
instance BoolAlg.hasForgetToBoolRing E0 #
CategoryTheory.HasForget₂ BoolAlg BoolRing
theorem BoolAlg.hasForgetToBoolRing_forget₂_map E0 #
∀ {X Y : BoolAlg} (f : X ⟶ Y), CategoryTheory.HasForget₂.forget₂.map f = BoolRing.ofHom (BoolAlg.Hom.hom f).asBoolRing
def boolRingCatEquivBoolAlg E1 #
BoolRing ≌ BoolAlg
The equivalence between Boolean rings and Boolean algebras. This is actually an isomorphism.
theorem boolRingCatEquivBoolAlg_functor E0 #
boolRingCatEquivBoolAlg.functor = CategoryTheory.forget₂ BoolRing BoolAlg
theorem boolRingCatEquivBoolAlg_inverse E0 #
boolRingCatEquivBoolAlg.inverse = CategoryTheory.forget₂ BoolAlg BoolRing
def BoolRing.delabOf E1 #
Lean.PrettyPrinter.Delaborator.Delab
This prints BoolRing.of X as ↧X.