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 / V05. Groups

Mathlib.Algebra.Group.WithOne.Basic

44 declarations. Mathlib docs · Source

instance WithZero.instInvolutiveNeg E0 #

{α : Type u} → [InvolutiveNeg α] → InvolutiveNeg (WithZero α)

instance WithOne.instInvolutiveInv E0 #

{α : Type u} → [InvolutiveInv α] → InvolutiveInv (WithOne α)

def WithOne.coeMulHom E1 #

{α : Type u} → [inst : Mul α] → α →ₙ* WithOne α

WithOne.coe as a bundled morphism

theorem WithOne.coeMulHom_apply E0 #

∀ {α : Type u} [inst : Mul α] (a : α), WithOne.coeMulHom a = ↑a

def WithZero.coeAddHom E1 #

{α : Type u} → [inst : Add α] → α →ₙ+ WithZero α

WithZero.coe as a bundled morphism

theorem WithZero.coeAddHom_apply E0 #

∀ {α : Type u} [inst : Add α] (a : α), WithZero.coeAddHom a = ↑a

def WithOne.lift E1 #

{α : Type u} → {β : Type v} → [inst : Mul α] → [inst_1 : MulOneClass β] → (α →ₙ* β) ≃ (WithOne α →* β)

Lift a semigroup homomorphism f to a bundled monoid homomorphism.

def WithZero.lift E1 #

{α : Type u} → {β : Type v} → [inst : Add α] → [inst_1 : AddZeroClass β] → (α →ₙ+ β) ≃ (WithZero α →+ β)

Lift an additive semigroup homomorphism f to a bundled additive monoid homomorphism.

theorem WithOne.lift_coe E0 #

∀ {α : Type u} {β : Type v} [inst : Mul α] [inst_1 : MulOneClass β] (f : α →ₙ* β) (x : α), (WithOne.lift f) ↑x = f x

theorem WithZero.lift_coe E0 #

∀ {α : Type u} {β : Type v} [inst : Add α] [inst_1 : AddZeroClass β] (f : α →ₙ+ β) (x : α), (WithZero.lift f) ↑x = f x

theorem WithOne.lift_one E0 #

∀ {α : Type u} {β : Type v} [inst : Mul α] [inst_1 : MulOneClass β] (f : α →ₙ* β), (WithOne.lift f) 1 = 1

theorem WithZero.lift_zero E0 #

∀ {α : Type u} {β : Type v} [inst : Add α] [inst_1 : AddZeroClass β] (f : α →ₙ+ β), (WithZero.lift f) 0 = 0

theorem WithZero.lift_unique E1 #

∀ {α : Type u} {β : Type v} [inst : Add α] [inst_1 : AddZeroClass β] (f : WithZero α →+ β),
  f = WithZero.lift ((↑f).comp WithZero.coeAddHom)

theorem WithOne.lift_unique E1 #

∀ {α : Type u} {β : Type v} [inst : Mul α] [inst_1 : MulOneClass β] (f : WithOne α →* β),
  f = WithOne.lift ((↑f).comp WithOne.coeMulHom)

theorem WithOne.lift_symm_apply E0 #

∀ {α : Type u} {β : Type v} [inst : Mul α] [inst_1 : MulOneClass β] (f : WithOne α →* β) (x : α),
  (WithOne.lift.symm f) x = f ↑x

theorem WithZero.lift_symm_apply E0 #

∀ {α : Type u} {β : Type v} [inst : Add α] [inst_1 : AddZeroClass β] (f : WithZero α →+ β) (x : α),
  (WithZero.lift.symm f) x = f ↑x

theorem WithZero.lift_symm_injective_of_injective E1 #

∀ {α : Type u} {β : Type v} [inst : Add α] [inst_1 : AddZeroClass β] {f : WithZero α →+ β},
  Function.Injective ⇑f → Function.Injective ⇑(WithZero.lift.symm f)

theorem WithOne.lift_symm_injective_of_injective E1 #

∀ {α : Type u} {β : Type v} [inst : Mul α] [inst_1 : MulOneClass β] {f : WithOne α →* β},
  Function.Injective ⇑f → Function.Injective ⇑(WithOne.lift.symm f)

def WithOne.mapMulHom E1 #

{α : Type u} → {β : Type v} → [inst : Mul α] → [inst_1 : Mul β] → (α →ₙ* β) → WithOne α →* WithOne β

Given a multiplicative map from α → β returns a monoid homomorphism from WithOne α to WithOne β

def WithZero.mapAddHom E1 #

{α : Type u} → {β : Type v} → [inst : Add α] → [inst_1 : Add β] → (α →ₙ+ β) → WithZero α →+ WithZero β

Given an additive map from α → β returns an additive monoid homomorphism from WithZero α to WithZero β

theorem WithOne.mapMulHom_coe E0 #

∀ {α : Type u} {β : Type v} [inst : Mul α] [inst_1 : Mul β] (f : α →ₙ* β) (a : α), (WithOne.mapMulHom f) ↑a = ↑(f a)

theorem WithZero.mapAddHom_coe E0 #

∀ {α : Type u} {β : Type v} [inst : Add α] [inst_1 : Add β] (f : α →ₙ+ β) (a : α), (WithZero.mapAddHom f) ↑a = ↑(f a)

theorem WithZero.mapAddHom_id E0 #

∀ {α : Type u} [inst : Add α], WithZero.mapAddHom (AddHom.id α) = AddMonoidHom.id (WithZero α)

theorem WithOne.mapMulHom_id E0 #

∀ {α : Type u} [inst : Mul α], WithOne.mapMulHom (MulHom.id α) = MonoidHom.id (WithOne α)

theorem WithOne.mapMulHom_injective E1 #

∀ {α : Type u} {β : Type v} [inst : Mul α] [inst_1 : Mul β] {f : α →ₙ* β},
  Function.Injective ⇑f → Function.Injective ⇑(WithOne.mapMulHom f)

theorem WithZero.mapAddHom_injective E1 #

∀ {α : Type u} {β : Type v} [inst : Add α] [inst_1 : Add β] {f : α →ₙ+ β},
  Function.Injective ⇑f → Function.Injective ⇑(WithZero.mapAddHom f)

theorem WithZero.mapAddHom_injective' E1 #

∀ {α : Type u} {β : Type v} [inst : Add α] [inst_1 : Add β], Function.Injective WithZero.mapAddHom

theorem WithOne.mapMulHom_injective' E1 #

∀ {α : Type u} {β : Type v} [inst : Mul α] [inst_1 : Mul β], Function.Injective WithOne.mapMulHom

theorem WithZero.mapAddHom_inj E0 #

∀ {α : Type u} {β : Type v} [inst : Add α] [inst_1 : Add β] {f g : α →ₙ+ β},
  WithZero.mapAddHom f = WithZero.mapAddHom g ↔ f = g

theorem WithOne.mapMulHom_inj E0 #

∀ {α : Type u} {β : Type v} [inst : Mul α] [inst_1 : Mul β] {f g : α →ₙ* β},
  WithOne.mapMulHom f = WithOne.mapMulHom g ↔ f = g

theorem WithOne.mapMulHom_mapMulHom E1 #

∀ {α : Type u} {β : Type v} {γ : Type w} [inst : Mul α] [inst_1 : Mul β] [inst_2 : Mul γ] (f : α →ₙ* β) (g : β →ₙ* γ)
  (x : WithOne α), (WithOne.mapMulHom g) ((WithOne.mapMulHom f) x) = (WithOne.mapMulHom (g.comp f)) x

theorem WithZero.mapAddHom_mapAddHom E1 #

∀ {α : Type u} {β : Type v} {γ : Type w} [inst : Add α] [inst_1 : Add β] [inst_2 : Add γ] (f : α →ₙ+ β) (g : β →ₙ+ γ)
  (x : WithZero α), (WithZero.mapAddHom g) ((WithZero.mapAddHom f) x) = (WithZero.mapAddHom (g.comp f)) x

theorem WithZero.mapAddHom_comp E0 #

∀ {α : Type u} {β : Type v} {γ : Type w} [inst : Add α] [inst_1 : Add β] [inst_2 : Add γ] (f : α →ₙ+ β) (g : β →ₙ+ γ),
  WithZero.mapAddHom (g.comp f) = (WithZero.mapAddHom g).comp (WithZero.mapAddHom f)

theorem WithOne.mapMulHom_comp E0 #

∀ {α : Type u} {β : Type v} {γ : Type w} [inst : Mul α] [inst_1 : Mul β] [inst_2 : Mul γ] (f : α →ₙ* β) (g : β →ₙ* γ),
  WithOne.mapMulHom (g.comp f) = (WithOne.mapMulHom g).comp (WithOne.mapMulHom f)

def MulEquiv.withOneCongr E1 #

{α : Type u} → {β : Type v} → [inst : Mul α] → [inst_1 : Mul β] → α ≃* β → WithOne α ≃* WithOne β

A version of Equiv.optionCongr for WithOne.

theorem AddEquiv.withZeroCongr_apply E0 #

∀ {α : Type u} {β : Type v} [inst : Add α] [inst_1 : Add β] (e : α ≃+ β) (a : WithZero α),
  e.withZeroCongr a = (WithZero.mapAddHom e.toAddHom) a

theorem MulEquiv.withOneCongr_apply E0 #

∀ {α : Type u} {β : Type v} [inst : Mul α] [inst_1 : Mul β] (e : α ≃* β) (a : WithOne α),
  e.withOneCongr a = (WithOne.mapMulHom e.toMulHom) a

def AddEquiv.withZeroCongr E1 #

{α : Type u} → {β : Type v} → [inst : Add α] → [inst_1 : Add β] → α ≃+ β → WithZero α ≃+ WithZero β

A version of Equiv.optionCongr for WithZero.

theorem AddEquiv.withZeroCongr_refl E0 #

∀ {α : Type u} [inst : Add α], (AddEquiv.refl α).withZeroCongr = AddEquiv.refl (WithZero α)

theorem MulEquiv.withOneCongr_refl E0 #

∀ {α : Type u} [inst : Mul α], (MulEquiv.refl α).withOneCongr = MulEquiv.refl (WithOne α)

theorem AddEquiv.withZeroCongr_symm E0 #

∀ {α : Type u} {β : Type v} [inst : Add α] [inst_1 : Add β] (e : α ≃+ β), e.withZeroCongr.symm = e.symm.withZeroCongr

theorem MulEquiv.withOneCongr_symm E0 #

∀ {α : Type u} {β : Type v} [inst : Mul α] [inst_1 : Mul β] (e : α ≃* β), e.withOneCongr.symm = e.symm.withOneCongr

theorem MulEquiv.withOneCongr_trans E0 #

∀ {α : Type u} {β : Type v} {γ : Type w} [inst : Mul α] [inst_1 : Mul β] [inst_2 : Mul γ] (e₁ : α ≃* β) (e₂ : β ≃* γ),
  e₁.withOneCongr.trans e₂.withOneCongr = (e₁.trans e₂).withOneCongr

theorem AddEquiv.withZeroCongr_trans E0 #

∀ {α : Type u} {β : Type v} {γ : Type w} [inst : Add α] [inst_1 : Add β] [inst_2 : Add γ] (e₁ : α ≃+ β) (e₂ : β ≃+ γ),
  e₁.withZeroCongr.trans e₂.withZeroCongr = (e₁.trans e₂).withZeroCongr