Mathlib.GroupTheory.Coprod.Basic
253 declarations. Mathlib docs · Source
Coproduct (free product) of two monoids or groups
In this file we define Monoid.Coprod M N (notation: M ∗ N)
to be the coproduct (a.k.a. free product) of two monoids.
The same type is used for the coproduct of two monoids and for the coproduct of two groups.
The coproduct M ∗ N has the following universal property:
for any monoid P and homomorphisms f : M →* P, g : N →* P,
there exists a unique homomorphism fg : M ∗ N →* P
such that fg ∘ Monoid.Coprod.inl = f and fg ∘ Monoid.Coprod.inr = g,
where Monoid.Coprod.inl : M →* M ∗ N
and Monoid.Coprod.inr : N →* M ∗ N are canonical embeddings.
This homomorphism fg is given by Monoid.Coprod.lift f g.
We also define some homomorphisms and isomorphisms about M ∗ N,
and provide additive versions of all definitions and theorems.
Main definitions
Types
Monoid.Coprod M N(a.k.a.M ∗ N): the free product (a.k.a. coproduct) of two monoidsMandN.AddMonoid.Coprod M N(no notation): the additive version ofMonoid.Coprod.
In other sections, we only list multiplicative definitions.
Instances
MulOneClass,Monoid, andGroupstructures on the coproductM ∗ N.
Monoid homomorphisms
-
Monoid.Coprod.mk: the projectionFreeMonoid (M ⊕ N) →* M ∗ N. -
Monoid.Coprod.inl,Monoid.Coprod.inr: canonical embeddingsM →* M ∗ NandN →* M ∗ N. -
Monoid.Coprod.lift: construct a monoid homomorphismM ∗ N →* Pfrom homomorphismsM →* PandN →* P; see alsoMonoid.Coprod.liftEquiv. -
Monoid.Coprod.clift: a constructor for homomorphismsM ∗ N →* Pthat allows the user to control the computational behavior. -
Monoid.Coprod.map: combine two homomorphismsf : M →* Nandg : M' →* N'intoM ∗ M' →* N ∗ N'. -
Monoid.Coprod.swap: the natural homomorphismM ∗ N →* N ∗ M. -
Monoid.Coprod.fst,Monoid.Coprod.snd, andMonoid.Coprod.toProd: natural projectionsM ∗ N →* M,M ∗ N →* N, andM ∗ N →* M × N.
Monoid isomorphisms
MulEquiv.coprodCongr: aMulEquivversion ofMonoid.Coprod.map.MulEquiv.coprodComm: aMulEquivversion ofMonoid.Coprod.swap.MulEquiv.coprodAssoc: associativity of the coproduct.MulEquiv.coprodPUnit,MulEquiv.punitCoprod: free product byPUniton the left or on the right is isomorphic to the original monoid.
Main results
The universal property of the coproduct
is given by the definition Monoid.Coprod.lift and the lemma Monoid.Coprod.lift_unique.
We also prove a slightly more general extensionality lemma Monoid.Coprod.hom_ext
for homomorphisms M ∗ N →* P and prove lots of basic lemmas like Monoid.Coprod.fst_comp_inl.
Implementation notes
The definition of the coproduct of an indexed family of monoids is formalized in Monoid.CoprodI.
While mathematically M ∗ N is a particular case
of the coproduct of an indexed family of monoids,
it is easier to build API from scratch instead of using something like
def Monoid.Coprod M N := Monoid.CoprodI ![M, N]
or
def Monoid.Coprod M N := Monoid.CoprodI (fun b : Bool => cond b M N)
There are several reasons to build an API from scratch.
- API about
Conmakes it easy to define the required type and prove the universal property, so there is little overhead compared to transferring API fromMonoid.CoprodI. - If
MandNlive in different universes, then the definition has to addULifts; this makes it harder to transfer API and definitions. - As of now, we have no way
to automatically build an instance of
(k : Fin 2) → Monoid (![M, N] k)from[Monoid M]and[Monoid N], not even speaking about more advanced typeclass assumptions that involve bothMandN. - Using a list of
M ⊕ Ninstead of, e.g., a list ofΣ k : Fin 2, ![M, N] kas the underlying type makes it possible to write computationally effective code (though this point is not tested yet).
TODO
- Prove
Monoid.CoprodI (f : Fin 2 → Type*) ≃* f 0 ∗ f 1andMonoid.CoprodI (f : Bool → Type*) ≃* f false ∗ f true.
Tags
group, monoid, coproduct, free product
def Monoid.coprodCon E1 #
(M : Type u_1) → (N : Type u_2) → [MulOneClass M] → [MulOneClass N] → Con (FreeMonoid (M ⊕ N))
The minimal congruence relation c on FreeMonoid (M ⊕ N)
such that FreeMonoid.of ∘ Sum.inl and FreeMonoid.of ∘ Sum.inr are monoid homomorphisms
to the quotient by c.
def AddMonoid.coprodCon E1 #
(M : Type u_1) → (N : Type u_2) → [AddZeroClass M] → [AddZeroClass N] → AddCon (FreeAddMonoid (M ⊕ N))
The minimal additive congruence relation c on FreeAddMonoid (M ⊕ N)
such that FreeAddMonoid.of ∘ Sum.inl and FreeAddMonoid.of ∘ Sum.inr
are additive monoid homomorphisms to the quotient by c.
def Monoid.Coprod E1 #
(M : Type u_1) → (N : Type u_2) → [MulOneClass M] → [MulOneClass N] → Type (max u_1 u_2)
Coproduct of two monoids or groups.
def AddMonoid.Coprod E1 #
(M : Type u_1) → (N : Type u_2) → [AddZeroClass M] → [AddZeroClass N] → Type (max u_1 u_2)
Coproduct of two additive monoids or groups.
def Monoid.Coprod.«term_∗_» E1 #
Lean.TrailingParserDescr
Coproduct of two monoids or groups.
instance Monoid.Coprod.instMulOneClass E0 #
{M : Type u_1} → {N : Type u_2} → [inst : MulOneClass M] → [inst_1 : MulOneClass N] → MulOneClass (Monoid.Coprod M N)
instance AddMonoid.Coprod.instAddZeroClass E0 #
{M : Type u_1} →
{N : Type u_2} → [inst : AddZeroClass M] → [inst_1 : AddZeroClass N] → AddZeroClass (AddMonoid.Coprod M N)
def Monoid.Coprod.mk E1 #
{M : Type u_1} →
{N : Type u_2} → [inst : MulOneClass M] → [inst_1 : MulOneClass N] → FreeMonoid (M ⊕ N) →* Monoid.Coprod M N
The natural projection FreeMonoid (M ⊕ N) →* M ∗ N.
def AddMonoid.Coprod.mk E1 #
{M : Type u_1} →
{N : Type u_2} → [inst : AddZeroClass M] → [inst_1 : AddZeroClass N] → FreeAddMonoid (M ⊕ N) →+ AddMonoid.Coprod M N
The natural projection FreeAddMonoid (M ⊕ N) →+ AddMonoid.Coprod M N.
theorem Monoid.Coprod.con_ker_mk E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : MulOneClass M] [inst_1 : MulOneClass N],
Con.ker Monoid.Coprod.mk = Monoid.coprodCon M N
theorem AddMonoid.Coprod.con_ker_mk E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : AddZeroClass M] [inst_1 : AddZeroClass N],
AddCon.ker AddMonoid.Coprod.mk = AddMonoid.coprodCon M N
theorem AddMonoid.Coprod.mk_surjective E1 #
∀ {M : Type u_1} {N : Type u_2} [inst : AddZeroClass M] [inst_1 : AddZeroClass N],
Function.Surjective ⇑AddMonoid.Coprod.mk
theorem Monoid.Coprod.mk_surjective E1 #
∀ {M : Type u_1} {N : Type u_2} [inst : MulOneClass M] [inst_1 : MulOneClass N], Function.Surjective ⇑Monoid.Coprod.mk
theorem AddMonoid.Coprod.mrange_mk E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : AddZeroClass M] [inst_1 : AddZeroClass N],
AddMonoidHom.mrange AddMonoid.Coprod.mk = ⊤
theorem Monoid.Coprod.mrange_mk E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : MulOneClass M] [inst_1 : MulOneClass N], MonoidHom.mrange Monoid.Coprod.mk = ⊤
theorem AddMonoid.Coprod.mk_eq_mk E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : AddZeroClass M] [inst_1 : AddZeroClass N] {w₁ w₂ : FreeAddMonoid (M ⊕ N)},
AddMonoid.Coprod.mk w₁ = AddMonoid.Coprod.mk w₂ ↔ (AddMonoid.coprodCon M N) w₁ w₂
theorem Monoid.Coprod.mk_eq_mk E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : MulOneClass M] [inst_1 : MulOneClass N] {w₁ w₂ : FreeMonoid (M ⊕ N)},
Monoid.Coprod.mk w₁ = Monoid.Coprod.mk w₂ ↔ (Monoid.coprodCon M N) w₁ w₂
def Monoid.Coprod.inl E1 #
{M : Type u_1} → {N : Type u_2} → [inst : MulOneClass M] → [inst_1 : MulOneClass N] → M →* Monoid.Coprod M N
The natural embedding M →* M ∗ N.
def AddMonoid.Coprod.inl E1 #
{M : Type u_1} → {N : Type u_2} → [inst : AddZeroClass M] → [inst_1 : AddZeroClass N] → M →+ AddMonoid.Coprod M N
The natural embedding M →+ AddMonoid.Coprod M N.
def Monoid.Coprod.inr E1 #
{M : Type u_1} → {N : Type u_2} → [inst : MulOneClass M] → [inst_1 : MulOneClass N] → N →* Monoid.Coprod M N
The natural embedding N →* M ∗ N.
def AddMonoid.Coprod.inr E1 #
{M : Type u_1} → {N : Type u_2} → [inst : AddZeroClass M] → [inst_1 : AddZeroClass N] → N →+ AddMonoid.Coprod M N
The natural embedding N →+ AddMonoid.Coprod M N.
theorem Monoid.Coprod.mk_of_inl E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : MulOneClass M] [inst_1 : MulOneClass N] (x : M),
Monoid.Coprod.mk (FreeMonoid.of (Sum.inl x)) = Monoid.Coprod.inl x
theorem AddMonoid.Coprod.mk_of_inl E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : AddZeroClass M] [inst_1 : AddZeroClass N] (x : M),
AddMonoid.Coprod.mk (FreeAddMonoid.of (Sum.inl x)) = AddMonoid.Coprod.inl x
theorem AddMonoid.Coprod.mk_of_inr E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : AddZeroClass M] [inst_1 : AddZeroClass N] (x : N),
AddMonoid.Coprod.mk (FreeAddMonoid.of (Sum.inr x)) = AddMonoid.Coprod.inr x
theorem Monoid.Coprod.mk_of_inr E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : MulOneClass M] [inst_1 : MulOneClass N] (x : N),
Monoid.Coprod.mk (FreeMonoid.of (Sum.inr x)) = Monoid.Coprod.inr x
theorem Monoid.Coprod.induction_on' E1 #
∀ {M : Type u_1} {N : Type u_2} [inst : MulOneClass M] [inst_1 : MulOneClass N] {motive : Monoid.Coprod M N → Prop}
(m : Monoid.Coprod M N),
motive 1 →
(∀ (m : M) (x : Monoid.Coprod M N), motive x → motive (Monoid.Coprod.inl m * x)) →
(∀ (n : N) (x : Monoid.Coprod M N), motive x → motive (Monoid.Coprod.inr n * x)) → motive m
theorem AddMonoid.Coprod.induction_on' E1 #
∀ {M : Type u_1} {N : Type u_2} [inst : AddZeroClass M] [inst_1 : AddZeroClass N] {motive : AddMonoid.Coprod M N → Prop}
(m : AddMonoid.Coprod M N),
motive 0 →
(∀ (m : M) (x : AddMonoid.Coprod M N), motive x → motive (AddMonoid.Coprod.inl m + x)) →
(∀ (n : N) (x : AddMonoid.Coprod M N), motive x → motive (AddMonoid.Coprod.inr n + x)) → motive m
theorem AddMonoid.Coprod.induction_on E1 #
∀ {M : Type u_1} {N : Type u_2} [inst : AddZeroClass M] [inst_1 : AddZeroClass N] {motive : AddMonoid.Coprod M N → Prop}
(m : AddMonoid.Coprod M N),
(∀ (m : M), motive (AddMonoid.Coprod.inl m)) →
(∀ (n : N), motive (AddMonoid.Coprod.inr n)) →
(∀ (x y : AddMonoid.Coprod M N), motive x → motive y → motive (x + y)) → motive m
theorem Monoid.Coprod.induction_on E1 #
∀ {M : Type u_1} {N : Type u_2} [inst : MulOneClass M] [inst_1 : MulOneClass N] {motive : Monoid.Coprod M N → Prop}
(m : Monoid.Coprod M N),
(∀ (m : M), motive (Monoid.Coprod.inl m)) →
(∀ (n : N), motive (Monoid.Coprod.inr n)) →
(∀ (x y : Monoid.Coprod M N), motive x → motive y → motive (x * y)) → motive m
def Monoid.Coprod.clift E1 #
{M : Type u_1} →
{N : Type u_2} →
{P : Type u_5} →
[inst : MulOneClass M] →
[inst_1 : MulOneClass N] →
[inst_2 : MulOneClass P] →
(f : FreeMonoid (M ⊕ N) →* P) →
f (FreeMonoid.of (Sum.inl 1)) = 1 →
f (FreeMonoid.of (Sum.inr 1)) = 1 →
(∀ (x y : M),
f (FreeMonoid.of (Sum.inl (x * y))) = f (FreeMonoid.of (Sum.inl x) * FreeMonoid.of (Sum.inl y))) →
(∀ (x y : N),
f (FreeMonoid.of (Sum.inr (x * y))) =
f (FreeMonoid.of (Sum.inr x) * FreeMonoid.of (Sum.inr y))) →
Monoid.Coprod M N →* P
Lift a monoid homomorphism FreeMonoid (M ⊕ N) →* P satisfying additional properties to
M ∗ N →* P. In many cases, Coprod.lift is more convenient.
Compared to Coprod.lift,
this definition allows a user to provide a custom computational behavior.
Also, it only needs MulOneClass assumptions while Coprod.lift needs a Monoid structure.
def AddMonoid.Coprod.clift E1 #
{M : Type u_1} →
{N : Type u_2} →
{P : Type u_5} →
[inst : AddZeroClass M] →
[inst_1 : AddZeroClass N] →
[inst_2 : AddZeroClass P] →
(f : FreeAddMonoid (M ⊕ N) →+ P) →
f (FreeAddMonoid.of (Sum.inl 0)) = 0 →
f (FreeAddMonoid.of (Sum.inr 0)) = 0 →
(∀ (x y : M),
f (FreeAddMonoid.of (Sum.inl (x + y))) =
f (FreeAddMonoid.of (Sum.inl x) + FreeAddMonoid.of (Sum.inl y))) →
(∀ (x y : N),
f (FreeAddMonoid.of (Sum.inr (x + y))) =
f (FreeAddMonoid.of (Sum.inr x) + FreeAddMonoid.of (Sum.inr y))) →
AddMonoid.Coprod M N →+ P
Lift an additive monoid homomorphism FreeAddMonoid (M ⊕ N) →+ P satisfying
additional properties to AddMonoid.Coprod M N →+ P.
Compared to AddMonoid.Coprod.lift,
this definition allows a user to provide a custom computational behavior.
Also, it only needs AddZeroClass assumptions
while AddMonoid.Coprod.lift needs an AddMonoid structure.
theorem AddMonoid.Coprod.clift_apply_inl E0 #
∀ {M : Type u_1} {N : Type u_2} {P : Type u_5} [inst : AddZeroClass M] [inst_1 : AddZeroClass N]
[inst_2 : AddZeroClass P] (f : FreeAddMonoid (M ⊕ N) →+ P) (hM₁ : f (FreeAddMonoid.of (Sum.inl 0)) = 0)
(hN₁ : f (FreeAddMonoid.of (Sum.inr 0)) = 0)
(hM :
∀ (x y : M),
f (FreeAddMonoid.of (Sum.inl (x + y))) = f (FreeAddMonoid.of (Sum.inl x) + FreeAddMonoid.of (Sum.inl y)))
(hN :
∀ (x y : N),
f (FreeAddMonoid.of (Sum.inr (x + y))) = f (FreeAddMonoid.of (Sum.inr x) + FreeAddMonoid.of (Sum.inr y)))
(x : M), (AddMonoid.Coprod.clift f hM₁ hN₁ hM hN) (AddMonoid.Coprod.inl x) = f (FreeAddMonoid.of (Sum.inl x))
theorem Monoid.Coprod.clift_apply_inl E0 #
∀ {M : Type u_1} {N : Type u_2} {P : Type u_5} [inst : MulOneClass M] [inst_1 : MulOneClass N] [inst_2 : MulOneClass P]
(f : FreeMonoid (M ⊕ N) →* P) (hM₁ : f (FreeMonoid.of (Sum.inl 1)) = 1) (hN₁ : f (FreeMonoid.of (Sum.inr 1)) = 1)
(hM : ∀ (x y : M), f (FreeMonoid.of (Sum.inl (x * y))) = f (FreeMonoid.of (Sum.inl x) * FreeMonoid.of (Sum.inl y)))
(hN : ∀ (x y : N), f (FreeMonoid.of (Sum.inr (x * y))) = f (FreeMonoid.of (Sum.inr x) * FreeMonoid.of (Sum.inr y)))
(x : M), (Monoid.Coprod.clift f hM₁ hN₁ hM hN) (Monoid.Coprod.inl x) = f (FreeMonoid.of (Sum.inl x))
theorem Monoid.Coprod.clift_apply_inr E0 #
∀ {M : Type u_1} {N : Type u_2} {P : Type u_5} [inst : MulOneClass M] [inst_1 : MulOneClass N] [inst_2 : MulOneClass P]
(f : FreeMonoid (M ⊕ N) →* P) (hM₁ : f (FreeMonoid.of (Sum.inl 1)) = 1) (hN₁ : f (FreeMonoid.of (Sum.inr 1)) = 1)
(hM : ∀ (x y : M), f (FreeMonoid.of (Sum.inl (x * y))) = f (FreeMonoid.of (Sum.inl x) * FreeMonoid.of (Sum.inl y)))
(hN : ∀ (x y : N), f (FreeMonoid.of (Sum.inr (x * y))) = f (FreeMonoid.of (Sum.inr x) * FreeMonoid.of (Sum.inr y)))
(x : N), (Monoid.Coprod.clift f hM₁ hN₁ hM hN) (Monoid.Coprod.inr x) = f (FreeMonoid.of (Sum.inr x))
theorem AddMonoid.Coprod.clift_apply_inr E0 #
∀ {M : Type u_1} {N : Type u_2} {P : Type u_5} [inst : AddZeroClass M] [inst_1 : AddZeroClass N]
[inst_2 : AddZeroClass P] (f : FreeAddMonoid (M ⊕ N) →+ P) (hM₁ : f (FreeAddMonoid.of (Sum.inl 0)) = 0)
(hN₁ : f (FreeAddMonoid.of (Sum.inr 0)) = 0)
(hM :
∀ (x y : M),
f (FreeAddMonoid.of (Sum.inl (x + y))) = f (FreeAddMonoid.of (Sum.inl x) + FreeAddMonoid.of (Sum.inl y)))
(hN :
∀ (x y : N),
f (FreeAddMonoid.of (Sum.inr (x + y))) = f (FreeAddMonoid.of (Sum.inr x) + FreeAddMonoid.of (Sum.inr y)))
(x : N), (AddMonoid.Coprod.clift f hM₁ hN₁ hM hN) (AddMonoid.Coprod.inr x) = f (FreeAddMonoid.of (Sum.inr x))
theorem Monoid.Coprod.clift_apply_mk E0 #
∀ {M : Type u_1} {N : Type u_2} {P : Type u_5} [inst : MulOneClass M] [inst_1 : MulOneClass N] [inst_2 : MulOneClass P]
(f : FreeMonoid (M ⊕ N) →* P) (hM₁ : f (FreeMonoid.of (Sum.inl 1)) = 1) (hN₁ : f (FreeMonoid.of (Sum.inr 1)) = 1)
(hM : ∀ (x y : M), f (FreeMonoid.of (Sum.inl (x * y))) = f (FreeMonoid.of (Sum.inl x) * FreeMonoid.of (Sum.inl y)))
(hN : ∀ (x y : N), f (FreeMonoid.of (Sum.inr (x * y))) = f (FreeMonoid.of (Sum.inr x) * FreeMonoid.of (Sum.inr y)))
(w : FreeMonoid (M ⊕ N)), (Monoid.Coprod.clift f hM₁ hN₁ hM hN) (Monoid.Coprod.mk w) = f w
theorem AddMonoid.Coprod.clift_apply_mk E0 #
∀ {M : Type u_1} {N : Type u_2} {P : Type u_5} [inst : AddZeroClass M] [inst_1 : AddZeroClass N]
[inst_2 : AddZeroClass P] (f : FreeAddMonoid (M ⊕ N) →+ P) (hM₁ : f (FreeAddMonoid.of (Sum.inl 0)) = 0)
(hN₁ : f (FreeAddMonoid.of (Sum.inr 0)) = 0)
(hM :
∀ (x y : M),
f (FreeAddMonoid.of (Sum.inl (x + y))) = f (FreeAddMonoid.of (Sum.inl x) + FreeAddMonoid.of (Sum.inl y)))
(hN :
∀ (x y : N),
f (FreeAddMonoid.of (Sum.inr (x + y))) = f (FreeAddMonoid.of (Sum.inr x) + FreeAddMonoid.of (Sum.inr y)))
(w : FreeAddMonoid (M ⊕ N)), (AddMonoid.Coprod.clift f hM₁ hN₁ hM hN) (AddMonoid.Coprod.mk w) = f w
theorem Monoid.Coprod.clift_comp_mk E0 #
∀ {M : Type u_1} {N : Type u_2} {P : Type u_5} [inst : MulOneClass M] [inst_1 : MulOneClass N] [inst_2 : MulOneClass P]
(f : FreeMonoid (M ⊕ N) →* P) (hM₁ : f (FreeMonoid.of (Sum.inl 1)) = 1) (hN₁ : f (FreeMonoid.of (Sum.inr 1)) = 1)
(hM : ∀ (x y : M), f (FreeMonoid.of (Sum.inl (x * y))) = f (FreeMonoid.of (Sum.inl x) * FreeMonoid.of (Sum.inl y)))
(hN : ∀ (x y : N), f (FreeMonoid.of (Sum.inr (x * y))) = f (FreeMonoid.of (Sum.inr x) * FreeMonoid.of (Sum.inr y))),
(Monoid.Coprod.clift f hM₁ hN₁ hM hN).comp Monoid.Coprod.mk = f
theorem AddMonoid.Coprod.clift_comp_mk E0 #
∀ {M : Type u_1} {N : Type u_2} {P : Type u_5} [inst : AddZeroClass M] [inst_1 : AddZeroClass N]
[inst_2 : AddZeroClass P] (f : FreeAddMonoid (M ⊕ N) →+ P) (hM₁ : f (FreeAddMonoid.of (Sum.inl 0)) = 0)
(hN₁ : f (FreeAddMonoid.of (Sum.inr 0)) = 0)
(hM :
∀ (x y : M),
f (FreeAddMonoid.of (Sum.inl (x + y))) = f (FreeAddMonoid.of (Sum.inl x) + FreeAddMonoid.of (Sum.inl y)))
(hN :
∀ (x y : N),
f (FreeAddMonoid.of (Sum.inr (x + y))) = f (FreeAddMonoid.of (Sum.inr x) + FreeAddMonoid.of (Sum.inr y))),
(AddMonoid.Coprod.clift f hM₁ hN₁ hM hN).comp AddMonoid.Coprod.mk = f
theorem AddMonoid.Coprod.mclosure_range_inl_union_inr E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : AddZeroClass M] [inst_1 : AddZeroClass N],
AddSubmonoid.closure (Set.range ⇑AddMonoid.Coprod.inl ∪ Set.range ⇑AddMonoid.Coprod.inr) = ⊤
theorem Monoid.Coprod.mclosure_range_inl_union_inr E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : MulOneClass M] [inst_1 : MulOneClass N],
Submonoid.closure (Set.range ⇑Monoid.Coprod.inl ∪ Set.range ⇑Monoid.Coprod.inr) = ⊤
theorem AddMonoid.Coprod.mrange_inl_sup_mrange_inr E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : AddZeroClass M] [inst_1 : AddZeroClass N],
AddMonoidHom.mrange AddMonoid.Coprod.inl ⊔ AddMonoidHom.mrange AddMonoid.Coprod.inr = ⊤
theorem Monoid.Coprod.mrange_inl_sup_mrange_inr E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : MulOneClass M] [inst_1 : MulOneClass N],
MonoidHom.mrange Monoid.Coprod.inl ⊔ MonoidHom.mrange Monoid.Coprod.inr = ⊤
theorem AddMonoid.Coprod.codisjoint_mrange_inl_mrange_inr E1 #
∀ {M : Type u_1} {N : Type u_2} [inst : AddZeroClass M] [inst_1 : AddZeroClass N],
Codisjoint (AddMonoidHom.mrange AddMonoid.Coprod.inl) (AddMonoidHom.mrange AddMonoid.Coprod.inr)
theorem Monoid.Coprod.codisjoint_mrange_inl_mrange_inr E1 #
∀ {M : Type u_1} {N : Type u_2} [inst : MulOneClass M] [inst_1 : MulOneClass N],
Codisjoint (MonoidHom.mrange Monoid.Coprod.inl) (MonoidHom.mrange Monoid.Coprod.inr)
theorem Monoid.Coprod.mrange_eq E0 #
∀ {M : Type u_1} {N : Type u_2} {P : Type u_5} [inst : MulOneClass M] [inst_1 : MulOneClass N] [inst_2 : MulOneClass P]
(f : Monoid.Coprod M N →* P),
MonoidHom.mrange f = MonoidHom.mrange (f.comp Monoid.Coprod.inl) ⊔ MonoidHom.mrange (f.comp Monoid.Coprod.inr)
theorem AddMonoid.Coprod.mrange_eq E0 #
∀ {M : Type u_1} {N : Type u_2} {P : Type u_5} [inst : AddZeroClass M] [inst_1 : AddZeroClass N]
[inst_2 : AddZeroClass P] (f : AddMonoid.Coprod M N →+ P),
AddMonoidHom.mrange f =
AddMonoidHom.mrange (f.comp AddMonoid.Coprod.inl) ⊔ AddMonoidHom.mrange (f.comp AddMonoid.Coprod.inr)
theorem Monoid.Coprod.hom_ext E3 #
∀ {M : Type u_1} {N : Type u_2} {P : Type u_5} [inst : MulOneClass M] [inst_1 : MulOneClass N] [inst_2 : MulOneClass P]
{f g : Monoid.Coprod M N →* P},
f.comp Monoid.Coprod.inl = g.comp Monoid.Coprod.inl → f.comp Monoid.Coprod.inr = g.comp Monoid.Coprod.inr → f = g
Extensionality lemma for monoid homomorphisms M ∗ N →* P.
If two homomorphisms agree on the ranges of Monoid.Coprod.inl and Monoid.Coprod.inr,
then they are equal.
theorem AddMonoid.Coprod.hom_ext_iff E0 #
∀ {M : Type u_1} {N : Type u_2} {P : Type u_5} [inst : AddZeroClass M] [inst_1 : AddZeroClass N]
[inst_2 : AddZeroClass P] {f g : AddMonoid.Coprod M N →+ P},
f = g ↔
f.comp AddMonoid.Coprod.inl = g.comp AddMonoid.Coprod.inl ∧
f.comp AddMonoid.Coprod.inr = g.comp AddMonoid.Coprod.inr
theorem AddMonoid.Coprod.hom_ext E2 #
∀ {M : Type u_1} {N : Type u_2} {P : Type u_5} [inst : AddZeroClass M] [inst_1 : AddZeroClass N]
[inst_2 : AddZeroClass P] {f g : AddMonoid.Coprod M N →+ P},
f.comp AddMonoid.Coprod.inl = g.comp AddMonoid.Coprod.inl →
f.comp AddMonoid.Coprod.inr = g.comp AddMonoid.Coprod.inr → f = g
Extensionality lemma for additive monoid homomorphisms AddMonoid.Coprod M N →+ P.
If two homomorphisms agree on the ranges of AddMonoid.Coprod.inl and AddMonoid.Coprod.inr,
then they are equal.
theorem Monoid.Coprod.hom_ext_iff E0 #
∀ {M : Type u_1} {N : Type u_2} {P : Type u_5} [inst : MulOneClass M] [inst_1 : MulOneClass N] [inst_2 : MulOneClass P]
{f g : Monoid.Coprod M N →* P},
f = g ↔ f.comp Monoid.Coprod.inl = g.comp Monoid.Coprod.inl ∧ f.comp Monoid.Coprod.inr = g.comp Monoid.Coprod.inr
theorem AddMonoid.Coprod.clift_mk E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : AddZeroClass M] [inst_1 : AddZeroClass N],
AddMonoid.Coprod.clift AddMonoid.Coprod.mk ⋯ ⋯ ⋯ ⋯ = AddMonoidHom.id (AddMonoid.Coprod M N)
theorem Monoid.Coprod.clift_mk E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : MulOneClass M] [inst_1 : MulOneClass N],
Monoid.Coprod.clift Monoid.Coprod.mk ⋯ ⋯ ⋯ ⋯ = MonoidHom.id (Monoid.Coprod M N)
def Monoid.Coprod.map E1 #
{M : Type u_1} →
{N : Type u_2} →
{M' : Type u_3} →
{N' : Type u_4} →
[inst : MulOneClass M] →
[inst_1 : MulOneClass N] →
[inst_2 : MulOneClass M'] →
[inst_3 : MulOneClass N'] → (M →* M') → (N →* N') → Monoid.Coprod M N →* Monoid.Coprod M' N'
Map M ∗ N to M' ∗ N' by applying Sum.map f g to each element of the underlying list.
def AddMonoid.Coprod.map E1 #
{M : Type u_1} →
{N : Type u_2} →
{M' : Type u_3} →
{N' : Type u_4} →
[inst : AddZeroClass M] →
[inst_1 : AddZeroClass N] →
[inst_2 : AddZeroClass M'] →
[inst_3 : AddZeroClass N'] → (M →+ M') → (N →+ N') → AddMonoid.Coprod M N →+ AddMonoid.Coprod M' N'
Map AddMonoid.Coprod M N to AddMonoid.Coprod M' N'
by applying Sum.map f g to each element of the underlying list.
theorem AddMonoid.Coprod.map_mk_ofList E0 #
∀ {M : Type u_1} {N : Type u_2} {M' : Type u_3} {N' : Type u_4} [inst : AddZeroClass M] [inst_1 : AddZeroClass N]
[inst_2 : AddZeroClass M'] [inst_3 : AddZeroClass N'] (f : M →+ M') (g : N →+ N') (l : List (M ⊕ N)),
(AddMonoid.Coprod.map f g) (AddMonoid.Coprod.mk { toList := l }) =
AddMonoid.Coprod.mk { toList := List.map (Sum.map ⇑f ⇑g) l }
theorem Monoid.Coprod.map_mk_ofList E0 #
∀ {M : Type u_1} {N : Type u_2} {M' : Type u_3} {N' : Type u_4} [inst : MulOneClass M] [inst_1 : MulOneClass N]
[inst_2 : MulOneClass M'] [inst_3 : MulOneClass N'] (f : M →* M') (g : N →* N') (l : List (M ⊕ N)),
(Monoid.Coprod.map f g) (Monoid.Coprod.mk { toList := l }) = Monoid.Coprod.mk { toList := List.map (Sum.map ⇑f ⇑g) l }
theorem Monoid.Coprod.map_apply_inl E0 #
∀ {M : Type u_1} {N : Type u_2} {M' : Type u_3} {N' : Type u_4} [inst : MulOneClass M] [inst_1 : MulOneClass N]
[inst_2 : MulOneClass M'] [inst_3 : MulOneClass N'] (f : M →* M') (g : N →* N') (x : M),
(Monoid.Coprod.map f g) (Monoid.Coprod.inl x) = Monoid.Coprod.inl (f x)
theorem AddMonoid.Coprod.map_apply_inl E0 #
∀ {M : Type u_1} {N : Type u_2} {M' : Type u_3} {N' : Type u_4} [inst : AddZeroClass M] [inst_1 : AddZeroClass N]
[inst_2 : AddZeroClass M'] [inst_3 : AddZeroClass N'] (f : M →+ M') (g : N →+ N') (x : M),
(AddMonoid.Coprod.map f g) (AddMonoid.Coprod.inl x) = AddMonoid.Coprod.inl (f x)
theorem Monoid.Coprod.map_apply_inr E0 #
∀ {M : Type u_1} {N : Type u_2} {M' : Type u_3} {N' : Type u_4} [inst : MulOneClass M] [inst_1 : MulOneClass N]
[inst_2 : MulOneClass M'] [inst_3 : MulOneClass N'] (f : M →* M') (g : N →* N') (x : N),
(Monoid.Coprod.map f g) (Monoid.Coprod.inr x) = Monoid.Coprod.inr (g x)
theorem AddMonoid.Coprod.map_apply_inr E0 #
∀ {M : Type u_1} {N : Type u_2} {M' : Type u_3} {N' : Type u_4} [inst : AddZeroClass M] [inst_1 : AddZeroClass N]
[inst_2 : AddZeroClass M'] [inst_3 : AddZeroClass N'] (f : M →+ M') (g : N →+ N') (x : N),
(AddMonoid.Coprod.map f g) (AddMonoid.Coprod.inr x) = AddMonoid.Coprod.inr (g x)
theorem Monoid.Coprod.map_comp_inl E0 #
∀ {M : Type u_1} {N : Type u_2} {M' : Type u_3} {N' : Type u_4} [inst : MulOneClass M] [inst_1 : MulOneClass N]
[inst_2 : MulOneClass M'] [inst_3 : MulOneClass N'] (f : M →* M') (g : N →* N'),
(Monoid.Coprod.map f g).comp Monoid.Coprod.inl = Monoid.Coprod.inl.comp f
theorem AddMonoid.Coprod.map_comp_inl E0 #
∀ {M : Type u_1} {N : Type u_2} {M' : Type u_3} {N' : Type u_4} [inst : AddZeroClass M] [inst_1 : AddZeroClass N]
[inst_2 : AddZeroClass M'] [inst_3 : AddZeroClass N'] (f : M →+ M') (g : N →+ N'),
(AddMonoid.Coprod.map f g).comp AddMonoid.Coprod.inl = AddMonoid.Coprod.inl.comp f
theorem Monoid.Coprod.map_comp_inr E0 #
∀ {M : Type u_1} {N : Type u_2} {M' : Type u_3} {N' : Type u_4} [inst : MulOneClass M] [inst_1 : MulOneClass N]
[inst_2 : MulOneClass M'] [inst_3 : MulOneClass N'] (f : M →* M') (g : N →* N'),
(Monoid.Coprod.map f g).comp Monoid.Coprod.inr = Monoid.Coprod.inr.comp g
theorem AddMonoid.Coprod.map_comp_inr E0 #
∀ {M : Type u_1} {N : Type u_2} {M' : Type u_3} {N' : Type u_4} [inst : AddZeroClass M] [inst_1 : AddZeroClass N]
[inst_2 : AddZeroClass M'] [inst_3 : AddZeroClass N'] (f : M →+ M') (g : N →+ N'),
(AddMonoid.Coprod.map f g).comp AddMonoid.Coprod.inr = AddMonoid.Coprod.inr.comp g
theorem AddMonoid.Coprod.map_id_id E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : AddZeroClass M] [inst_1 : AddZeroClass N],
AddMonoid.Coprod.map (AddMonoidHom.id M) (AddMonoidHom.id N) = AddMonoidHom.id (AddMonoid.Coprod M N)
theorem Monoid.Coprod.map_id_id E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : MulOneClass M] [inst_1 : MulOneClass N],
Monoid.Coprod.map (MonoidHom.id M) (MonoidHom.id N) = MonoidHom.id (Monoid.Coprod M N)
theorem AddMonoid.Coprod.map_comp_map E0 #
∀ {M : Type u_1} {N : Type u_2} {M' : Type u_3} {N' : Type u_4} [inst : AddZeroClass M] [inst_1 : AddZeroClass N]
[inst_2 : AddZeroClass M'] [inst_3 : AddZeroClass N'] {M'' : Type u_6} {N'' : Type u_7} [inst_4 : AddZeroClass M'']
[inst_5 : AddZeroClass N''] (f' : M' →+ M'') (g' : N' →+ N'') (f : M →+ M') (g : N →+ N'),
(AddMonoid.Coprod.map f' g').comp (AddMonoid.Coprod.map f g) = AddMonoid.Coprod.map (f'.comp f) (g'.comp g)
theorem Monoid.Coprod.map_comp_map E0 #
∀ {M : Type u_1} {N : Type u_2} {M' : Type u_3} {N' : Type u_4} [inst : MulOneClass M] [inst_1 : MulOneClass N]
[inst_2 : MulOneClass M'] [inst_3 : MulOneClass N'] {M'' : Type u_6} {N'' : Type u_7} [inst_4 : MulOneClass M'']
[inst_5 : MulOneClass N''] (f' : M' →* M'') (g' : N' →* N'') (f : M →* M') (g : N →* N'),
(Monoid.Coprod.map f' g').comp (Monoid.Coprod.map f g) = Monoid.Coprod.map (f'.comp f) (g'.comp g)
theorem AddMonoid.Coprod.map_map E0 #
∀ {M : Type u_1} {N : Type u_2} {M' : Type u_3} {N' : Type u_4} [inst : AddZeroClass M] [inst_1 : AddZeroClass N]
[inst_2 : AddZeroClass M'] [inst_3 : AddZeroClass N'] {M'' : Type u_6} {N'' : Type u_7} [inst_4 : AddZeroClass M'']
[inst_5 : AddZeroClass N''] (f' : M' →+ M'') (g' : N' →+ N'') (f : M →+ M') (g : N →+ N') (x : AddMonoid.Coprod M N),
(AddMonoid.Coprod.map f' g') ((AddMonoid.Coprod.map f g) x) = (AddMonoid.Coprod.map (f'.comp f) (g'.comp g)) x
theorem Monoid.Coprod.map_map E0 #
∀ {M : Type u_1} {N : Type u_2} {M' : Type u_3} {N' : Type u_4} [inst : MulOneClass M] [inst_1 : MulOneClass N]
[inst_2 : MulOneClass M'] [inst_3 : MulOneClass N'] {M'' : Type u_6} {N'' : Type u_7} [inst_4 : MulOneClass M'']
[inst_5 : MulOneClass N''] (f' : M' →* M'') (g' : N' →* N'') (f : M →* M') (g : N →* N') (x : Monoid.Coprod M N),
(Monoid.Coprod.map f' g') ((Monoid.Coprod.map f g) x) = (Monoid.Coprod.map (f'.comp f) (g'.comp g)) x
def Monoid.Coprod.swap E1 #
(M : Type u_1) →
(N : Type u_2) → [inst : MulOneClass M] → [inst_1 : MulOneClass N] → Monoid.Coprod M N →* Monoid.Coprod N M
Map M ∗ N to N ∗ M by applying Sum.swap to each element of the underlying list.
See also MulEquiv.coprodComm for a MulEquiv version.
def AddMonoid.Coprod.swap E1 #
(M : Type u_1) →
(N : Type u_2) → [inst : AddZeroClass M] → [inst_1 : AddZeroClass N] → AddMonoid.Coprod M N →+ AddMonoid.Coprod N M
Map AddMonoid.Coprod M N to AddMonoid.Coprod N M
by applying Sum.swap to each element of the underlying list.
See also AddEquiv.coprodComm for an AddEquiv version.
theorem AddMonoid.Coprod.swap_comp_swap E0 #
∀ (M : Type u_1) (N : Type u_2) [inst : AddZeroClass M] [inst_1 : AddZeroClass N],
(AddMonoid.Coprod.swap M N).comp (AddMonoid.Coprod.swap N M) = AddMonoidHom.id (AddMonoid.Coprod N M)
theorem Monoid.Coprod.swap_comp_swap E0 #
∀ (M : Type u_1) (N : Type u_2) [inst : MulOneClass M] [inst_1 : MulOneClass N],
(Monoid.Coprod.swap M N).comp (Monoid.Coprod.swap N M) = MonoidHom.id (Monoid.Coprod N M)
theorem AddMonoid.Coprod.swap_swap E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : AddZeroClass M] [inst_1 : AddZeroClass N] (x : AddMonoid.Coprod M N),
(AddMonoid.Coprod.swap N M) ((AddMonoid.Coprod.swap M N) x) = x
theorem Monoid.Coprod.swap_swap E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : MulOneClass M] [inst_1 : MulOneClass N] (x : Monoid.Coprod M N),
(Monoid.Coprod.swap N M) ((Monoid.Coprod.swap M N) x) = x
theorem AddMonoid.Coprod.swap_comp_map E1 #
∀ {M : Type u_1} {N : Type u_2} {M' : Type u_3} {N' : Type u_4} [inst : AddZeroClass M] [inst_1 : AddZeroClass N]
[inst_2 : AddZeroClass M'] [inst_3 : AddZeroClass N'] (f : M →+ M') (g : N →+ N'),
(AddMonoid.Coprod.swap M' N').comp (AddMonoid.Coprod.map f g) =
(AddMonoid.Coprod.map g f).comp (AddMonoid.Coprod.swap M N)
theorem Monoid.Coprod.swap_comp_map E1 #
∀ {M : Type u_1} {N : Type u_2} {M' : Type u_3} {N' : Type u_4} [inst : MulOneClass M] [inst_1 : MulOneClass N]
[inst_2 : MulOneClass M'] [inst_3 : MulOneClass N'] (f : M →* M') (g : N →* N'),
(Monoid.Coprod.swap M' N').comp (Monoid.Coprod.map f g) = (Monoid.Coprod.map g f).comp (Monoid.Coprod.swap M N)
theorem Monoid.Coprod.swap_map E1 #
∀ {M : Type u_1} {N : Type u_2} {M' : Type u_3} {N' : Type u_4} [inst : MulOneClass M] [inst_1 : MulOneClass N]
[inst_2 : MulOneClass M'] [inst_3 : MulOneClass N'] (f : M →* M') (g : N →* N') (x : Monoid.Coprod M N),
(Monoid.Coprod.swap M' N') ((Monoid.Coprod.map f g) x) = (Monoid.Coprod.map g f) ((Monoid.Coprod.swap M N) x)
theorem AddMonoid.Coprod.swap_map E1 #
∀ {M : Type u_1} {N : Type u_2} {M' : Type u_3} {N' : Type u_4} [inst : AddZeroClass M] [inst_1 : AddZeroClass N]
[inst_2 : AddZeroClass M'] [inst_3 : AddZeroClass N'] (f : M →+ M') (g : N →+ N') (x : AddMonoid.Coprod M N),
(AddMonoid.Coprod.swap M' N') ((AddMonoid.Coprod.map f g) x) =
(AddMonoid.Coprod.map g f) ((AddMonoid.Coprod.swap M N) x)
theorem AddMonoid.Coprod.swap_comp_inl E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : AddZeroClass M] [inst_1 : AddZeroClass N],
(AddMonoid.Coprod.swap M N).comp AddMonoid.Coprod.inl = AddMonoid.Coprod.inr
theorem Monoid.Coprod.swap_comp_inl E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : MulOneClass M] [inst_1 : MulOneClass N],
(Monoid.Coprod.swap M N).comp Monoid.Coprod.inl = Monoid.Coprod.inr
theorem AddMonoid.Coprod.swap_inl E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : AddZeroClass M] [inst_1 : AddZeroClass N] (x : M),
(AddMonoid.Coprod.swap M N) (AddMonoid.Coprod.inl x) = AddMonoid.Coprod.inr x
theorem Monoid.Coprod.swap_inl E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : MulOneClass M] [inst_1 : MulOneClass N] (x : M),
(Monoid.Coprod.swap M N) (Monoid.Coprod.inl x) = Monoid.Coprod.inr x
theorem Monoid.Coprod.swap_comp_inr E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : MulOneClass M] [inst_1 : MulOneClass N],
(Monoid.Coprod.swap M N).comp Monoid.Coprod.inr = Monoid.Coprod.inl
theorem AddMonoid.Coprod.swap_comp_inr E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : AddZeroClass M] [inst_1 : AddZeroClass N],
(AddMonoid.Coprod.swap M N).comp AddMonoid.Coprod.inr = AddMonoid.Coprod.inl
theorem Monoid.Coprod.swap_inr E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : MulOneClass M] [inst_1 : MulOneClass N] (x : N),
(Monoid.Coprod.swap M N) (Monoid.Coprod.inr x) = Monoid.Coprod.inl x
theorem AddMonoid.Coprod.swap_inr E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : AddZeroClass M] [inst_1 : AddZeroClass N] (x : N),
(AddMonoid.Coprod.swap M N) (AddMonoid.Coprod.inr x) = AddMonoid.Coprod.inl x
theorem Monoid.Coprod.swap_injective E1 #
∀ {M : Type u_1} {N : Type u_2} [inst : MulOneClass M] [inst_1 : MulOneClass N],
Function.Injective ⇑(Monoid.Coprod.swap M N)
theorem AddMonoid.Coprod.swap_injective E1 #
∀ {M : Type u_1} {N : Type u_2} [inst : AddZeroClass M] [inst_1 : AddZeroClass N],
Function.Injective ⇑(AddMonoid.Coprod.swap M N)
theorem AddMonoid.Coprod.swap_inj E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : AddZeroClass M] [inst_1 : AddZeroClass N] {x y : AddMonoid.Coprod M N},
(AddMonoid.Coprod.swap M N) x = (AddMonoid.Coprod.swap M N) y ↔ x = y
theorem Monoid.Coprod.swap_inj E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : MulOneClass M] [inst_1 : MulOneClass N] {x y : Monoid.Coprod M N},
(Monoid.Coprod.swap M N) x = (Monoid.Coprod.swap M N) y ↔ x = y
theorem AddMonoid.Coprod.swap_eq_zero E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : AddZeroClass M] [inst_1 : AddZeroClass N] {x : AddMonoid.Coprod M N},
(AddMonoid.Coprod.swap M N) x = 0 ↔ x = 0
theorem Monoid.Coprod.swap_eq_one E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : MulOneClass M] [inst_1 : MulOneClass N] {x : Monoid.Coprod M N},
(Monoid.Coprod.swap M N) x = 1 ↔ x = 1
theorem AddMonoid.Coprod.swap_surjective E1 #
∀ {M : Type u_1} {N : Type u_2} [inst : AddZeroClass M] [inst_1 : AddZeroClass N],
Function.Surjective ⇑(AddMonoid.Coprod.swap M N)
theorem Monoid.Coprod.swap_surjective E1 #
∀ {M : Type u_1} {N : Type u_2} [inst : MulOneClass M] [inst_1 : MulOneClass N],
Function.Surjective ⇑(Monoid.Coprod.swap M N)
theorem AddMonoid.Coprod.swap_bijective E1 #
∀ {M : Type u_1} {N : Type u_2} [inst : AddZeroClass M] [inst_1 : AddZeroClass N],
Function.Bijective ⇑(AddMonoid.Coprod.swap M N)
theorem Monoid.Coprod.swap_bijective E1 #
∀ {M : Type u_1} {N : Type u_2} [inst : MulOneClass M] [inst_1 : MulOneClass N],
Function.Bijective ⇑(Monoid.Coprod.swap M N)
theorem Monoid.Coprod.mker_swap E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : MulOneClass M] [inst_1 : MulOneClass N],
MonoidHom.mker (Monoid.Coprod.swap M N) = ⊥
theorem AddMonoid.Coprod.mker_swap E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : AddZeroClass M] [inst_1 : AddZeroClass N],
AddMonoidHom.mker (AddMonoid.Coprod.swap M N) = ⊥
theorem Monoid.Coprod.mrange_swap E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : MulOneClass M] [inst_1 : MulOneClass N],
MonoidHom.mrange (Monoid.Coprod.swap M N) = ⊤
theorem AddMonoid.Coprod.mrange_swap E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : AddZeroClass M] [inst_1 : AddZeroClass N],
AddMonoidHom.mrange (AddMonoid.Coprod.swap M N) = ⊤
def Monoid.Coprod.lift E3 #
{M : Type u_1} →
{N : Type u_2} →
{P : Type u_3} →
[inst : MulOneClass M] →
[inst_1 : MulOneClass N] → [inst_2 : Monoid P] → (M →* P) → (N →* P) → Monoid.Coprod M N →* P
Lift a pair of monoid homomorphisms f : M →* P, g : N →* P
to a monoid homomorphism M ∗ N →* P.
See also Coprod.clift for a version that allows custom computational behavior
and works for a MulOneClass codomain.
def AddMonoid.Coprod.lift E1 #
{M : Type u_1} →
{N : Type u_2} →
{P : Type u_3} →
[inst : AddZeroClass M] →
[inst_1 : AddZeroClass N] → [inst_2 : AddMonoid P] → (M →+ P) → (N →+ P) → AddMonoid.Coprod M N →+ P
Lift a pair of additive monoid homomorphisms f : M →+ P, g : N →+ P
to an additive monoid homomorphism AddMonoid.Coprod M N →+ P.
See also AddMonoid.Coprod.clift for a version that allows custom computational behavior
and works for an AddZeroClass codomain.
theorem AddMonoid.Coprod.lift_apply_mk E0 #
∀ {M : Type u_1} {N : Type u_2} {P : Type u_3} [inst : AddZeroClass M] [inst_1 : AddZeroClass N] [inst_2 : AddMonoid P]
(f : M →+ P) (g : N →+ P) (x : FreeAddMonoid (M ⊕ N)),
(AddMonoid.Coprod.lift f g) (AddMonoid.Coprod.mk x) = (FreeAddMonoid.lift (Sum.elim ⇑f ⇑g)) x
theorem Monoid.Coprod.lift_apply_mk E0 #
∀ {M : Type u_1} {N : Type u_2} {P : Type u_3} [inst : MulOneClass M] [inst_1 : MulOneClass N] [inst_2 : Monoid P]
(f : M →* P) (g : N →* P) (x : FreeMonoid (M ⊕ N)),
(Monoid.Coprod.lift f g) (Monoid.Coprod.mk x) = (FreeMonoid.lift (Sum.elim ⇑f ⇑g)) x
theorem Monoid.Coprod.lift_apply_inl E0 #
∀ {M : Type u_1} {N : Type u_2} {P : Type u_3} [inst : MulOneClass M] [inst_1 : MulOneClass N] [inst_2 : Monoid P]
(f : M →* P) (g : N →* P) (x : M), (Monoid.Coprod.lift f g) (Monoid.Coprod.inl x) = f x
theorem AddMonoid.Coprod.lift_apply_inl E0 #
∀ {M : Type u_1} {N : Type u_2} {P : Type u_3} [inst : AddZeroClass M] [inst_1 : AddZeroClass N] [inst_2 : AddMonoid P]
(f : M →+ P) (g : N →+ P) (x : M), (AddMonoid.Coprod.lift f g) (AddMonoid.Coprod.inl x) = f x
theorem AddMonoid.Coprod.lift_unique E1 #
∀ {M : Type u_1} {N : Type u_2} {P : Type u_3} [inst : AddZeroClass M] [inst_1 : AddZeroClass N] [inst_2 : AddMonoid P]
{f : M →+ P} {g : N →+ P} {fg : AddMonoid.Coprod M N →+ P},
fg.comp AddMonoid.Coprod.inl = f → fg.comp AddMonoid.Coprod.inr = g → fg = AddMonoid.Coprod.lift f g
theorem Monoid.Coprod.lift_unique E3 #
∀ {M : Type u_1} {N : Type u_2} {P : Type u_3} [inst : MulOneClass M] [inst_1 : MulOneClass N] [inst_2 : Monoid P]
{f : M →* P} {g : N →* P} {fg : Monoid.Coprod M N →* P},
fg.comp Monoid.Coprod.inl = f → fg.comp Monoid.Coprod.inr = g → fg = Monoid.Coprod.lift f g
theorem AddMonoid.Coprod.lift_comp_inl E0 #
∀ {M : Type u_1} {N : Type u_2} {P : Type u_3} [inst : AddZeroClass M] [inst_1 : AddZeroClass N] [inst_2 : AddMonoid P]
(f : M →+ P) (g : N →+ P), (AddMonoid.Coprod.lift f g).comp AddMonoid.Coprod.inl = f
theorem Monoid.Coprod.lift_comp_inl E0 #
∀ {M : Type u_1} {N : Type u_2} {P : Type u_3} [inst : MulOneClass M] [inst_1 : MulOneClass N] [inst_2 : Monoid P]
(f : M →* P) (g : N →* P), (Monoid.Coprod.lift f g).comp Monoid.Coprod.inl = f
theorem Monoid.Coprod.lift_apply_inr E0 #
∀ {M : Type u_1} {N : Type u_2} {P : Type u_3} [inst : MulOneClass M] [inst_1 : MulOneClass N] [inst_2 : Monoid P]
(f : M →* P) (g : N →* P) (x : N), (Monoid.Coprod.lift f g) (Monoid.Coprod.inr x) = g x
theorem AddMonoid.Coprod.lift_apply_inr E0 #
∀ {M : Type u_1} {N : Type u_2} {P : Type u_3} [inst : AddZeroClass M] [inst_1 : AddZeroClass N] [inst_2 : AddMonoid P]
(f : M →+ P) (g : N →+ P) (x : N), (AddMonoid.Coprod.lift f g) (AddMonoid.Coprod.inr x) = g x
theorem AddMonoid.Coprod.lift_comp_inr E0 #
∀ {M : Type u_1} {N : Type u_2} {P : Type u_3} [inst : AddZeroClass M] [inst_1 : AddZeroClass N] [inst_2 : AddMonoid P]
(f : M →+ P) (g : N →+ P), (AddMonoid.Coprod.lift f g).comp AddMonoid.Coprod.inr = g
theorem Monoid.Coprod.lift_comp_inr E0 #
∀ {M : Type u_1} {N : Type u_2} {P : Type u_3} [inst : MulOneClass M] [inst_1 : MulOneClass N] [inst_2 : Monoid P]
(f : M →* P) (g : N →* P), (Monoid.Coprod.lift f g).comp Monoid.Coprod.inr = g
theorem AddMonoid.Coprod.lift_comp_swap E0 #
∀ {M : Type u_1} {N : Type u_2} {P : Type u_3} [inst : AddZeroClass M] [inst_1 : AddZeroClass N] [inst_2 : AddMonoid P]
(f : M →+ P) (g : N →+ P), (AddMonoid.Coprod.lift f g).comp (AddMonoid.Coprod.swap N M) = AddMonoid.Coprod.lift g f
theorem Monoid.Coprod.lift_comp_swap E0 #
∀ {M : Type u_1} {N : Type u_2} {P : Type u_3} [inst : MulOneClass M] [inst_1 : MulOneClass N] [inst_2 : Monoid P]
(f : M →* P) (g : N →* P), (Monoid.Coprod.lift f g).comp (Monoid.Coprod.swap N M) = Monoid.Coprod.lift g f
theorem Monoid.Coprod.lift_swap E0 #
∀ {M : Type u_1} {N : Type u_2} {P : Type u_3} [inst : MulOneClass M] [inst_1 : MulOneClass N] [inst_2 : Monoid P]
(f : M →* P) (g : N →* P) (x : Monoid.Coprod N M),
(Monoid.Coprod.lift f g) ((Monoid.Coprod.swap N M) x) = (Monoid.Coprod.lift g f) x
theorem AddMonoid.Coprod.lift_swap E0 #
∀ {M : Type u_1} {N : Type u_2} {P : Type u_3} [inst : AddZeroClass M] [inst_1 : AddZeroClass N] [inst_2 : AddMonoid P]
(f : M →+ P) (g : N →+ P) (x : AddMonoid.Coprod N M),
(AddMonoid.Coprod.lift f g) ((AddMonoid.Coprod.swap N M) x) = (AddMonoid.Coprod.lift g f) x
theorem AddMonoid.Coprod.comp_lift E1 #
∀ {M : Type u_1} {N : Type u_2} {P : Type u_3} [inst : AddZeroClass M] [inst_1 : AddZeroClass N] [inst_2 : AddMonoid P]
{P' : Type u_4} [inst_3 : AddMonoid P'] (f : P →+ P') (g₁ : M →+ P) (g₂ : N →+ P),
f.comp (AddMonoid.Coprod.lift g₁ g₂) = AddMonoid.Coprod.lift (f.comp g₁) (f.comp g₂)
theorem Monoid.Coprod.comp_lift E1 #
∀ {M : Type u_1} {N : Type u_2} {P : Type u_3} [inst : MulOneClass M] [inst_1 : MulOneClass N] [inst_2 : Monoid P]
{P' : Type u_4} [inst_3 : Monoid P'] (f : P →* P') (g₁ : M →* P) (g₂ : N →* P),
f.comp (Monoid.Coprod.lift g₁ g₂) = Monoid.Coprod.lift (f.comp g₁) (f.comp g₂)
def Monoid.Coprod.liftEquiv E1 #
{M : Type u_1} →
{N : Type u_2} →
{P : Type u_3} →
[inst : MulOneClass M] →
[inst_1 : MulOneClass N] → [inst_2 : Monoid P] → (M →* P) × (N →* P) ≃ (Monoid.Coprod M N →* P)
Coprod.lift as an equivalence.
def AddMonoid.Coprod.liftEquiv E1 #
{M : Type u_1} →
{N : Type u_2} →
{P : Type u_3} →
[inst : AddZeroClass M] →
[inst_1 : AddZeroClass N] → [inst_2 : AddMonoid P] → (M →+ P) × (N →+ P) ≃ (AddMonoid.Coprod M N →+ P)
AddMonoid.Coprod.lift as an equivalence.
theorem AddMonoid.Coprod.mrange_lift E0 #
∀ {M : Type u_1} {N : Type u_2} {P : Type u_3} [inst : AddZeroClass M] [inst_1 : AddZeroClass N] [inst_2 : AddMonoid P]
(f : M →+ P) (g : N →+ P),
AddMonoidHom.mrange (AddMonoid.Coprod.lift f g) = AddMonoidHom.mrange f ⊔ AddMonoidHom.mrange g
theorem Monoid.Coprod.mrange_lift E0 #
∀ {M : Type u_1} {N : Type u_2} {P : Type u_3} [inst : MulOneClass M] [inst_1 : MulOneClass N] [inst_2 : Monoid P]
(f : M →* P) (g : N →* P), MonoidHom.mrange (Monoid.Coprod.lift f g) = MonoidHom.mrange f ⊔ MonoidHom.mrange g
instance AddMonoid.Coprod.inst E0 #
{M : Type u_1} → {N : Type u_2} → [inst : AddMonoid M] → [inst_1 : AddMonoid N] → AddMonoid (AddMonoid.Coprod M N)
instance Monoid.Coprod.inst E0 #
{M : Type u_1} → {N : Type u_2} → [inst : Monoid M] → [inst_1 : Monoid N] → Monoid (Monoid.Coprod M N)
def Monoid.Coprod.fst E1 #
{M : Type u_1} → {N : Type u_2} → [inst : Monoid M] → [inst_1 : Monoid N] → Monoid.Coprod M N →* M
The natural projection M ∗ N →* M.
def AddMonoid.Coprod.fst E1 #
{M : Type u_1} → {N : Type u_2} → [inst : AddMonoid M] → [inst_1 : AddMonoid N] → AddMonoid.Coprod M N →+ M
The natural projection AddMonoid.Coprod M N →+ M.
def Monoid.Coprod.snd E1 #
{M : Type u_1} → {N : Type u_2} → [inst : Monoid M] → [inst_1 : Monoid N] → Monoid.Coprod M N →* N
The natural projection M ∗ N →* N.
def AddMonoid.Coprod.snd E1 #
{M : Type u_1} → {N : Type u_2} → [inst : AddMonoid M] → [inst_1 : AddMonoid N] → AddMonoid.Coprod M N →+ N
The natural projection AddMonoid.Coprod M N →+ N.
def Monoid.Coprod.toProd E1 #
{M : Type u_1} → {N : Type u_2} → [inst : Monoid M] → [inst_1 : Monoid N] → Monoid.Coprod M N →* M × N
The natural projection M ∗ N →* M × N.
def AddMonoid.Coprod.toProd E1 #
{M : Type u_1} → {N : Type u_2} → [inst : AddMonoid M] → [inst_1 : AddMonoid N] → AddMonoid.Coprod M N →+ M × N
The natural projection AddMonoid.Coprod M N →+ M × N.
theorem AddMonoid.Coprod.fst_comp_inl E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : AddMonoid M] [inst_1 : AddMonoid N],
AddMonoid.Coprod.fst.comp AddMonoid.Coprod.inl = AddMonoidHom.id M
theorem Monoid.Coprod.fst_comp_inl E3 #
∀ {M : Type u_1} {N : Type u_2} [inst : Monoid M] [inst_1 : Monoid N],
Monoid.Coprod.fst.comp Monoid.Coprod.inl = MonoidHom.id M
theorem Monoid.Coprod.fst_apply_inl E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : Monoid M] [inst_1 : Monoid N] (x : M),
Monoid.Coprod.fst (Monoid.Coprod.inl x) = x
theorem AddMonoid.Coprod.fst_apply_inl E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : AddMonoid M] [inst_1 : AddMonoid N] (x : M),
AddMonoid.Coprod.fst (AddMonoid.Coprod.inl x) = x
theorem Monoid.Coprod.fst_comp_inr E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : Monoid M] [inst_1 : Monoid N], Monoid.Coprod.fst.comp Monoid.Coprod.inr = 1
theorem AddMonoid.Coprod.fst_comp_inr E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : AddMonoid M] [inst_1 : AddMonoid N],
AddMonoid.Coprod.fst.comp AddMonoid.Coprod.inr = 0
theorem Monoid.Coprod.fst_apply_inr E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : Monoid M] [inst_1 : Monoid N] (x : N),
Monoid.Coprod.fst (Monoid.Coprod.inr x) = 1
theorem AddMonoid.Coprod.fst_apply_inr E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : AddMonoid M] [inst_1 : AddMonoid N] (x : N),
AddMonoid.Coprod.fst (AddMonoid.Coprod.inr x) = 0
theorem Monoid.Coprod.snd_comp_inl E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : Monoid M] [inst_1 : Monoid N], Monoid.Coprod.snd.comp Monoid.Coprod.inl = 1
theorem AddMonoid.Coprod.snd_comp_inl E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : AddMonoid M] [inst_1 : AddMonoid N],
AddMonoid.Coprod.snd.comp AddMonoid.Coprod.inl = 0
theorem AddMonoid.Coprod.snd_apply_inl E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : AddMonoid M] [inst_1 : AddMonoid N] (x : M),
AddMonoid.Coprod.snd (AddMonoid.Coprod.inl x) = 0
theorem Monoid.Coprod.snd_apply_inl E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : Monoid M] [inst_1 : Monoid N] (x : M),
Monoid.Coprod.snd (Monoid.Coprod.inl x) = 1
theorem AddMonoid.Coprod.snd_comp_inr E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : AddMonoid M] [inst_1 : AddMonoid N],
AddMonoid.Coprod.snd.comp AddMonoid.Coprod.inr = AddMonoidHom.id N
theorem Monoid.Coprod.snd_comp_inr E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : Monoid M] [inst_1 : Monoid N],
Monoid.Coprod.snd.comp Monoid.Coprod.inr = MonoidHom.id N
theorem AddMonoid.Coprod.snd_apply_inr E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : AddMonoid M] [inst_1 : AddMonoid N] (x : N),
AddMonoid.Coprod.snd (AddMonoid.Coprod.inr x) = x
theorem Monoid.Coprod.snd_apply_inr E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : Monoid M] [inst_1 : Monoid N] (x : N),
Monoid.Coprod.snd (Monoid.Coprod.inr x) = x
theorem Monoid.Coprod.toProd_comp_inl E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : Monoid M] [inst_1 : Monoid N],
Monoid.Coprod.toProd.comp Monoid.Coprod.inl = MonoidHom.inl M N
theorem AddMonoid.Coprod.toProd_comp_inl E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : AddMonoid M] [inst_1 : AddMonoid N],
AddMonoid.Coprod.toProd.comp AddMonoid.Coprod.inl = AddMonoidHom.inl M N
theorem AddMonoid.Coprod.toProd_comp_inr E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : AddMonoid M] [inst_1 : AddMonoid N],
AddMonoid.Coprod.toProd.comp AddMonoid.Coprod.inr = AddMonoidHom.inr M N
theorem Monoid.Coprod.toProd_comp_inr E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : Monoid M] [inst_1 : Monoid N],
Monoid.Coprod.toProd.comp Monoid.Coprod.inr = MonoidHom.inr M N
theorem AddMonoid.Coprod.toProd_apply_inl E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : AddMonoid M] [inst_1 : AddMonoid N] (x : M),
AddMonoid.Coprod.toProd (AddMonoid.Coprod.inl x) = (x, 0)
theorem Monoid.Coprod.toProd_apply_inl E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : Monoid M] [inst_1 : Monoid N] (x : M),
Monoid.Coprod.toProd (Monoid.Coprod.inl x) = (x, 1)
theorem AddMonoid.Coprod.toProd_apply_inr E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : AddMonoid M] [inst_1 : AddMonoid N] (x : N),
AddMonoid.Coprod.toProd (AddMonoid.Coprod.inr x) = (0, x)
theorem Monoid.Coprod.toProd_apply_inr E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : Monoid M] [inst_1 : Monoid N] (x : N),
Monoid.Coprod.toProd (Monoid.Coprod.inr x) = (1, x)
theorem AddMonoid.Coprod.fst_prod_snd E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : AddMonoid M] [inst_1 : AddMonoid N],
AddMonoid.Coprod.fst.prod AddMonoid.Coprod.snd = AddMonoid.Coprod.toProd
theorem Monoid.Coprod.fst_prod_snd E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : Monoid M] [inst_1 : Monoid N],
Monoid.Coprod.fst.prod Monoid.Coprod.snd = Monoid.Coprod.toProd
theorem AddMonoid.Coprod.prod_mk_fst_snd E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : AddMonoid M] [inst_1 : AddMonoid N] (x : AddMonoid.Coprod M N),
(AddMonoid.Coprod.fst x, AddMonoid.Coprod.snd x) = AddMonoid.Coprod.toProd x
theorem Monoid.Coprod.prod_mk_fst_snd E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : Monoid M] [inst_1 : Monoid N] (x : Monoid.Coprod M N),
(Monoid.Coprod.fst x, Monoid.Coprod.snd x) = Monoid.Coprod.toProd x
theorem AddMonoid.Coprod.fst_comp_toProd E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : AddMonoid M] [inst_1 : AddMonoid N],
(AddMonoidHom.fst M N).comp AddMonoid.Coprod.toProd = AddMonoid.Coprod.fst
theorem Monoid.Coprod.fst_comp_toProd E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : Monoid M] [inst_1 : Monoid N],
(MonoidHom.fst M N).comp Monoid.Coprod.toProd = Monoid.Coprod.fst
theorem Monoid.Coprod.fst_toProd E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : Monoid M] [inst_1 : Monoid N] (x : Monoid.Coprod M N),
(Monoid.Coprod.toProd x).1 = Monoid.Coprod.fst x
theorem AddMonoid.Coprod.fst_toProd E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : AddMonoid M] [inst_1 : AddMonoid N] (x : AddMonoid.Coprod M N),
(AddMonoid.Coprod.toProd x).1 = AddMonoid.Coprod.fst x
theorem AddMonoid.Coprod.snd_comp_toProd E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : AddMonoid M] [inst_1 : AddMonoid N],
(AddMonoidHom.snd M N).comp AddMonoid.Coprod.toProd = AddMonoid.Coprod.snd
theorem Monoid.Coprod.snd_comp_toProd E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : Monoid M] [inst_1 : Monoid N],
(MonoidHom.snd M N).comp Monoid.Coprod.toProd = Monoid.Coprod.snd
theorem AddMonoid.Coprod.snd_toProd E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : AddMonoid M] [inst_1 : AddMonoid N] (x : AddMonoid.Coprod M N),
(AddMonoid.Coprod.toProd x).2 = AddMonoid.Coprod.snd x
theorem Monoid.Coprod.snd_toProd E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : Monoid M] [inst_1 : Monoid N] (x : Monoid.Coprod M N),
(Monoid.Coprod.toProd x).2 = Monoid.Coprod.snd x
theorem AddMonoid.Coprod.fst_comp_swap E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : AddMonoid M] [inst_1 : AddMonoid N],
AddMonoid.Coprod.fst.comp (AddMonoid.Coprod.swap M N) = AddMonoid.Coprod.snd
theorem Monoid.Coprod.fst_comp_swap E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : Monoid M] [inst_1 : Monoid N],
Monoid.Coprod.fst.comp (Monoid.Coprod.swap M N) = Monoid.Coprod.snd
theorem AddMonoid.Coprod.fst_swap E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : AddMonoid M] [inst_1 : AddMonoid N] (x : AddMonoid.Coprod M N),
AddMonoid.Coprod.fst ((AddMonoid.Coprod.swap M N) x) = AddMonoid.Coprod.snd x
theorem Monoid.Coprod.fst_swap E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : Monoid M] [inst_1 : Monoid N] (x : Monoid.Coprod M N),
Monoid.Coprod.fst ((Monoid.Coprod.swap M N) x) = Monoid.Coprod.snd x
theorem AddMonoid.Coprod.snd_comp_swap E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : AddMonoid M] [inst_1 : AddMonoid N],
AddMonoid.Coprod.snd.comp (AddMonoid.Coprod.swap M N) = AddMonoid.Coprod.fst
theorem Monoid.Coprod.snd_comp_swap E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : Monoid M] [inst_1 : Monoid N],
Monoid.Coprod.snd.comp (Monoid.Coprod.swap M N) = Monoid.Coprod.fst
theorem Monoid.Coprod.snd_swap E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : Monoid M] [inst_1 : Monoid N] (x : Monoid.Coprod M N),
Monoid.Coprod.snd ((Monoid.Coprod.swap M N) x) = Monoid.Coprod.fst x
theorem AddMonoid.Coprod.snd_swap E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : AddMonoid M] [inst_1 : AddMonoid N] (x : AddMonoid.Coprod M N),
AddMonoid.Coprod.snd ((AddMonoid.Coprod.swap M N) x) = AddMonoid.Coprod.fst x
theorem Monoid.Coprod.lift_inr_inl E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : Monoid M] [inst_1 : Monoid N],
Monoid.Coprod.lift Monoid.Coprod.inr Monoid.Coprod.inl = Monoid.Coprod.swap M N
theorem AddMonoid.Coprod.lift_inr_inl E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : AddMonoid M] [inst_1 : AddMonoid N],
AddMonoid.Coprod.lift AddMonoid.Coprod.inr AddMonoid.Coprod.inl = AddMonoid.Coprod.swap M N
theorem Monoid.Coprod.lift_inl_inr E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : Monoid M] [inst_1 : Monoid N],
Monoid.Coprod.lift Monoid.Coprod.inl Monoid.Coprod.inr = MonoidHom.id (Monoid.Coprod M N)
theorem AddMonoid.Coprod.lift_inl_inr E0 #
∀ {M : Type u_1} {N : Type u_2} [inst : AddMonoid M] [inst_1 : AddMonoid N],
AddMonoid.Coprod.lift AddMonoid.Coprod.inl AddMonoid.Coprod.inr = AddMonoidHom.id (AddMonoid.Coprod M N)
theorem Monoid.Coprod.inl_injective E1 #
∀ {M : Type u_1} {N : Type u_2} [inst : Monoid M] [inst_1 : Monoid N], Function.Injective ⇑Monoid.Coprod.inl
theorem AddMonoid.Coprod.inl_injective E1 #
∀ {M : Type u_1} {N : Type u_2} [inst : AddMonoid M] [inst_1 : AddMonoid N], Function.Injective ⇑AddMonoid.Coprod.inl
theorem AddMonoid.Coprod.inr_injective E1 #
∀ {M : Type u_1} {N : Type u_2} [inst : AddMonoid M] [inst_1 : AddMonoid N], Function.Injective ⇑AddMonoid.Coprod.inr
theorem Monoid.Coprod.inr_injective E1 #
∀ {M : Type u_1} {N : Type u_2} [inst : Monoid M] [inst_1 : Monoid N], Function.Injective ⇑Monoid.Coprod.inr
theorem AddMonoid.Coprod.fst_surjective E1 #
∀ {M : Type u_1} {N : Type u_2} [inst : AddMonoid M] [inst_1 : AddMonoid N], Function.Surjective ⇑AddMonoid.Coprod.fst
theorem Monoid.Coprod.fst_surjective E1 #
∀ {M : Type u_1} {N : Type u_2} [inst : Monoid M] [inst_1 : Monoid N], Function.Surjective ⇑Monoid.Coprod.fst
theorem AddMonoid.Coprod.snd_surjective E1 #
∀ {M : Type u_1} {N : Type u_2} [inst : AddMonoid M] [inst_1 : AddMonoid N], Function.Surjective ⇑AddMonoid.Coprod.snd
theorem Monoid.Coprod.snd_surjective E1 #
∀ {M : Type u_1} {N : Type u_2} [inst : Monoid M] [inst_1 : Monoid N], Function.Surjective ⇑Monoid.Coprod.snd
theorem Monoid.Coprod.toProd_surjective E1 #
∀ {M : Type u_1} {N : Type u_2} [inst : Monoid M] [inst_1 : Monoid N], Function.Surjective ⇑Monoid.Coprod.toProd
theorem AddMonoid.Coprod.toProd_surjective E1 #
∀ {M : Type u_1} {N : Type u_2} [inst : AddMonoid M] [inst_1 : AddMonoid N],
Function.Surjective ⇑AddMonoid.Coprod.toProd
theorem AddMonoid.Coprod.mk_of_neg_add E1 #
∀ {G : Type u_1} {H : Type u_2} [inst : AddGroup G] [inst_1 : AddGroup H] (x : G ⊕ H),
AddMonoid.Coprod.mk (FreeAddMonoid.of (Sum.map Neg.neg Neg.neg x)) + AddMonoid.Coprod.mk (FreeAddMonoid.of x) = 0
theorem Monoid.Coprod.mk_of_inv_mul E1 #
∀ {G : Type u_1} {H : Type u_2} [inst : Group G] [inst_1 : Group H] (x : G ⊕ H),
Monoid.Coprod.mk (FreeMonoid.of (Sum.map Inv.inv Inv.inv x)) * Monoid.Coprod.mk (FreeMonoid.of x) = 1
theorem Monoid.Coprod.con_inv_mul_cancel E1 #
∀ {G : Type u_1} {H : Type u_2} [inst : Group G] [inst_1 : Group H] (x : FreeMonoid (G ⊕ H)),
(Monoid.coprodCon G H) ({ toList := (List.map (Sum.map Inv.inv Inv.inv) x.toList).reverse } * x) 1
theorem AddMonoid.Coprod.con_neg_add_cancel E1 #
∀ {G : Type u_1} {H : Type u_2} [inst : AddGroup G] [inst_1 : AddGroup H] (x : FreeAddMonoid (G ⊕ H)),
(AddMonoid.coprodCon G H) ({ toList := (List.map (Sum.map Neg.neg Neg.neg) x.toList).reverse } + x) 0
instance AddMonoid.Coprod.instNeg E0 #
{G : Type u_1} → {H : Type u_2} → [inst : AddGroup G] → [inst_1 : AddGroup H] → Neg (AddMonoid.Coprod G H)
instance Monoid.Coprod.instInv E0 #
{G : Type u_1} → {H : Type u_2} → [inst : Group G] → [inst_1 : Group H] → Inv (Monoid.Coprod G H)
theorem AddMonoid.Coprod.neg_def E0 #
∀ {G : Type u_1} {H : Type u_2} [inst : AddGroup G] [inst_1 : AddGroup H] (w : FreeAddMonoid (G ⊕ H)),
-AddMonoid.Coprod.mk w = AddMonoid.Coprod.mk { toList := (List.map (Sum.map Neg.neg Neg.neg) w.toList).reverse }
theorem Monoid.Coprod.inv_def E0 #
∀ {G : Type u_1} {H : Type u_2} [inst : Group G] [inst_1 : Group H] (w : FreeMonoid (G ⊕ H)),
(Monoid.Coprod.mk w)⁻¹ = Monoid.Coprod.mk { toList := (List.map (Sum.map Inv.inv Inv.inv) w.toList).reverse }
instance AddMonoid.Coprod.instAddGroup E0 #
{G : Type u_1} → {H : Type u_2} → [inst : AddGroup G] → [inst_1 : AddGroup H] → AddGroup (AddMonoid.Coprod G H)
instance Monoid.Coprod.instGroup E0 #
{G : Type u_1} → {H : Type u_2} → [inst : Group G] → [inst_1 : Group H] → Group (Monoid.Coprod G H)
theorem Monoid.Coprod.closure_range_inl_union_inr E0 #
∀ {G : Type u_1} {H : Type u_2} [inst : Group G] [inst_1 : Group H],
Subgroup.closure (Set.range ⇑Monoid.Coprod.inl ∪ Set.range ⇑Monoid.Coprod.inr) = ⊤
theorem AddMonoid.Coprod.closure_range_inl_union_inr E0 #
∀ {G : Type u_1} {H : Type u_2} [inst : AddGroup G] [inst_1 : AddGroup H],
AddSubgroup.closure (Set.range ⇑AddMonoid.Coprod.inl ∪ Set.range ⇑AddMonoid.Coprod.inr) = ⊤
theorem Monoid.Coprod.range_inl_sup_range_inr E0 #
∀ {G : Type u_1} {H : Type u_2} [inst : Group G] [inst_1 : Group H],
Monoid.Coprod.inl.range ⊔ Monoid.Coprod.inr.range = ⊤
theorem AddMonoid.Coprod.range_inl_sup_range_inr E0 #
∀ {G : Type u_1} {H : Type u_2} [inst : AddGroup G] [inst_1 : AddGroup H],
AddMonoid.Coprod.inl.range ⊔ AddMonoid.Coprod.inr.range = ⊤
theorem AddMonoid.Coprod.codisjoint_range_inl_range_inr E1 #
∀ {G : Type u_1} {H : Type u_2} [inst : AddGroup G] [inst_1 : AddGroup H],
Codisjoint AddMonoid.Coprod.inl.range AddMonoid.Coprod.inr.range
theorem Monoid.Coprod.codisjoint_range_inl_range_inr E1 #
∀ {G : Type u_1} {H : Type u_2} [inst : Group G] [inst_1 : Group H],
Codisjoint Monoid.Coprod.inl.range Monoid.Coprod.inr.range
theorem Monoid.Coprod.range_swap E0 #
∀ {G : Type u_1} {H : Type u_2} [inst : Group G] [inst_1 : Group H], (Monoid.Coprod.swap G H).range = ⊤
theorem AddMonoid.Coprod.range_swap E0 #
∀ {G : Type u_1} {H : Type u_2} [inst : AddGroup G] [inst_1 : AddGroup H], (AddMonoid.Coprod.swap G H).range = ⊤
theorem AddMonoid.Coprod.range_eq E0 #
∀ {G : Type u_1} {H : Type u_2} [inst : AddGroup G] [inst_1 : AddGroup H] {K : Type u_3} [inst_2 : AddGroup K]
(f : AddMonoid.Coprod G H →+ K), f.range = (f.comp AddMonoid.Coprod.inl).range ⊔ (f.comp AddMonoid.Coprod.inr).range
theorem Monoid.Coprod.range_eq E0 #
∀ {G : Type u_1} {H : Type u_2} [inst : Group G] [inst_1 : Group H] {K : Type u_3} [inst_2 : Group K]
(f : Monoid.Coprod G H →* K), f.range = (f.comp Monoid.Coprod.inl).range ⊔ (f.comp Monoid.Coprod.inr).range
theorem Monoid.Coprod.range_lift E0 #
∀ {G : Type u_1} {H : Type u_2} [inst : Group G] [inst_1 : Group H] {K : Type u_3} [inst_2 : Group K] (f : G →* K)
(g : H →* K), (Monoid.Coprod.lift f g).range = f.range ⊔ g.range
theorem AddMonoid.Coprod.range_lift E0 #
∀ {G : Type u_1} {H : Type u_2} [inst : AddGroup G] [inst_1 : AddGroup H] {K : Type u_3} [inst_2 : AddGroup K]
(f : G →+ K) (g : H →+ K), (AddMonoid.Coprod.lift f g).range = f.range ⊔ g.range
def MulEquiv.coprodCongr E1 #
{M : Type u_1} →
{N : Type u_2} →
{M' : Type u_3} →
{N' : Type u_4} →
[inst : MulOneClass M] →
[inst_1 : MulOneClass N] →
[inst_2 : MulOneClass M'] →
[inst_3 : MulOneClass N'] → M ≃* N → M' ≃* N' → Monoid.Coprod M M' ≃* Monoid.Coprod N N'
Lift two monoid equivalences e : M ≃* N and e' : M' ≃* N' to a monoid equivalence
(M ∗ M') ≃* (N ∗ N').
def AddEquiv.coprodCongr E1 #
{M : Type u_1} →
{N : Type u_2} →
{M' : Type u_3} →
{N' : Type u_4} →
[inst : AddZeroClass M] →
[inst_1 : AddZeroClass N] →
[inst_2 : AddZeroClass M'] →
[inst_3 : AddZeroClass N'] → M ≃+ N → M' ≃+ N' → AddMonoid.Coprod M M' ≃+ AddMonoid.Coprod N N'
Lift two additive monoid
equivalences e : M ≃+ N and e' : M' ≃+ N' to an additive monoid equivalence
(AddMonoid.Coprod M M') ≃+ (AddMonoid.Coprod N N').
theorem MulEquiv.coprodCongr_apply E0 #
∀ {M : Type u_1} {N : Type u_2} {M' : Type u_3} {N' : Type u_4} [inst : MulOneClass M] [inst_1 : MulOneClass N]
[inst_2 : MulOneClass M'] [inst_3 : MulOneClass N'] (e : M ≃* N) (e' : M' ≃* N'),
⇑(e.coprodCongr e') = ⇑(Monoid.Coprod.map ↑e ↑e')
theorem AddEquiv.coprodCongr_apply E0 #
∀ {M : Type u_1} {N : Type u_2} {M' : Type u_3} {N' : Type u_4} [inst : AddZeroClass M] [inst_1 : AddZeroClass N]
[inst_2 : AddZeroClass M'] [inst_3 : AddZeroClass N'] (e : M ≃+ N) (e' : M' ≃+ N'),
⇑(e.coprodCongr e') = ⇑(AddMonoid.Coprod.map ↑e ↑e')
theorem MulEquiv.coprodCongr_symm_apply E0 #
∀ {M : Type u_1} {N : Type u_2} {M' : Type u_3} {N' : Type u_4} [inst : MulOneClass M] [inst_1 : MulOneClass N]
[inst_2 : MulOneClass M'] [inst_3 : MulOneClass N'] (e : M ≃* N) (e' : M' ≃* N'),
⇑(e.coprodCongr e').symm = ⇑(Monoid.Coprod.map ↑e.symm ↑e'.symm)
theorem AddEquiv.coprodCongr_symm_apply E0 #
∀ {M : Type u_1} {N : Type u_2} {M' : Type u_3} {N' : Type u_4} [inst : AddZeroClass M] [inst_1 : AddZeroClass N]
[inst_2 : AddZeroClass M'] [inst_3 : AddZeroClass N'] (e : M ≃+ N) (e' : M' ≃+ N'),
⇑(e.coprodCongr e').symm = ⇑(AddMonoid.Coprod.map ↑e.symm ↑e'.symm)
def MulEquiv.coprodComm E1 #
(M : Type u_1) →
(N : Type u_2) → [inst : MulOneClass M] → [inst_1 : MulOneClass N] → Monoid.Coprod M N ≃* Monoid.Coprod N M
A MulEquiv version of Coprod.swap.
theorem AddEquiv.coprodComm_apply E0 #
∀ (M : Type u_1) (N : Type u_2) [inst : AddZeroClass M] [inst_1 : AddZeroClass N],
⇑(AddEquiv.coprodComm M N) = ⇑(AddMonoid.Coprod.swap M N)
theorem MulEquiv.coprodComm_symm_apply E0 #
∀ (M : Type u_1) (N : Type u_2) [inst : MulOneClass M] [inst_1 : MulOneClass N],
⇑(MulEquiv.coprodComm M N).symm = ⇑(Monoid.Coprod.swap N M)
def AddEquiv.coprodComm E1 #
(M : Type u_1) →
(N : Type u_2) → [inst : AddZeroClass M] → [inst_1 : AddZeroClass N] → AddMonoid.Coprod M N ≃+ AddMonoid.Coprod N M
An AddEquiv version of AddMonoid.Coprod.swap.
theorem MulEquiv.coprodComm_apply E0 #
∀ (M : Type u_1) (N : Type u_2) [inst : MulOneClass M] [inst_1 : MulOneClass N],
⇑(MulEquiv.coprodComm M N) = ⇑(Monoid.Coprod.swap M N)
theorem AddEquiv.coprodComm_symm_apply E0 #
∀ (M : Type u_1) (N : Type u_2) [inst : AddZeroClass M] [inst_1 : AddZeroClass N],
⇑(AddEquiv.coprodComm M N).symm = ⇑(AddMonoid.Coprod.swap N M)
def MulEquiv.coprodAssoc E1 #
(M : Type u_1) →
(N : Type u_2) →
(P : Type u_3) →
[inst : Monoid M] →
[inst_1 : Monoid N] →
[inst_2 : Monoid P] → Monoid.Coprod (Monoid.Coprod M N) P ≃* Monoid.Coprod M (Monoid.Coprod N P)
A multiplicative equivalence between (M ∗ N) ∗ P and M ∗ (N ∗ P).
def AddEquiv.coprodAssoc E1 #
(M : Type u_1) →
(N : Type u_2) →
(P : Type u_3) →
[inst : AddMonoid M] →
[inst_1 : AddMonoid N] →
[inst_2 : AddMonoid P] →
AddMonoid.Coprod (AddMonoid.Coprod M N) P ≃+ AddMonoid.Coprod M (AddMonoid.Coprod N P)
An additive equivalence between AddMonoid.Coprod (AddMonoid.Coprod M N) P and
AddMonoid.Coprod M (AddMonoid.Coprod N P).
theorem MulEquiv.coprodAssoc_apply_inl_inl E0 #
∀ {M : Type u_1} {N : Type u_2} {P : Type u_3} [inst : Monoid M] [inst_1 : Monoid N] [inst_2 : Monoid P] (x : M),
(MulEquiv.coprodAssoc M N P) (Monoid.Coprod.inl (Monoid.Coprod.inl x)) = Monoid.Coprod.inl x
theorem AddEquiv.coprodAssoc_apply_inl_inl E0 #
∀ {M : Type u_1} {N : Type u_2} {P : Type u_3} [inst : AddMonoid M] [inst_1 : AddMonoid N] [inst_2 : AddMonoid P]
(x : M), (AddEquiv.coprodAssoc M N P) (AddMonoid.Coprod.inl (AddMonoid.Coprod.inl x)) = AddMonoid.Coprod.inl x
theorem MulEquiv.coprodAssoc_apply_inl_inr E0 #
∀ {M : Type u_1} {N : Type u_2} {P : Type u_3} [inst : Monoid M] [inst_1 : Monoid N] [inst_2 : Monoid P] (x : N),
(MulEquiv.coprodAssoc M N P) (Monoid.Coprod.inl (Monoid.Coprod.inr x)) = Monoid.Coprod.inr (Monoid.Coprod.inl x)
theorem AddEquiv.coprodAssoc_apply_inl_inr E0 #
∀ {M : Type u_1} {N : Type u_2} {P : Type u_3} [inst : AddMonoid M] [inst_1 : AddMonoid N] [inst_2 : AddMonoid P]
(x : N),
(AddEquiv.coprodAssoc M N P) (AddMonoid.Coprod.inl (AddMonoid.Coprod.inr x)) =
AddMonoid.Coprod.inr (AddMonoid.Coprod.inl x)
theorem AddEquiv.coprodAssoc_apply_inr E0 #
∀ {M : Type u_1} {N : Type u_2} {P : Type u_3} [inst : AddMonoid M] [inst_1 : AddMonoid N] [inst_2 : AddMonoid P]
(x : P), (AddEquiv.coprodAssoc M N P) (AddMonoid.Coprod.inr x) = AddMonoid.Coprod.inr (AddMonoid.Coprod.inr x)
theorem MulEquiv.coprodAssoc_apply_inr E0 #
∀ {M : Type u_1} {N : Type u_2} {P : Type u_3} [inst : Monoid M] [inst_1 : Monoid N] [inst_2 : Monoid P] (x : P),
(MulEquiv.coprodAssoc M N P) (Monoid.Coprod.inr x) = Monoid.Coprod.inr (Monoid.Coprod.inr x)
theorem AddEquiv.coprodAssoc_symm_apply_inl E0 #
∀ {M : Type u_1} {N : Type u_2} {P : Type u_3} [inst : AddMonoid M] [inst_1 : AddMonoid N] [inst_2 : AddMonoid P]
(x : M), (AddEquiv.coprodAssoc M N P).symm (AddMonoid.Coprod.inl x) = AddMonoid.Coprod.inl (AddMonoid.Coprod.inl x)
theorem MulEquiv.coprodAssoc_symm_apply_inl E0 #
∀ {M : Type u_1} {N : Type u_2} {P : Type u_3} [inst : Monoid M] [inst_1 : Monoid N] [inst_2 : Monoid P] (x : M),
(MulEquiv.coprodAssoc M N P).symm (Monoid.Coprod.inl x) = Monoid.Coprod.inl (Monoid.Coprod.inl x)
theorem MulEquiv.coprodAssoc_symm_apply_inr_inl E0 #
∀ {M : Type u_1} {N : Type u_2} {P : Type u_3} [inst : Monoid M] [inst_1 : Monoid N] [inst_2 : Monoid P] (x : N),
(MulEquiv.coprodAssoc M N P).symm (Monoid.Coprod.inr (Monoid.Coprod.inl x)) = Monoid.Coprod.inl (Monoid.Coprod.inr x)
theorem AddEquiv.coprodAssoc_symm_apply_inr_inl E0 #
∀ {M : Type u_1} {N : Type u_2} {P : Type u_3} [inst : AddMonoid M] [inst_1 : AddMonoid N] [inst_2 : AddMonoid P]
(x : N),
(AddEquiv.coprodAssoc M N P).symm (AddMonoid.Coprod.inr (AddMonoid.Coprod.inl x)) =
AddMonoid.Coprod.inl (AddMonoid.Coprod.inr x)
theorem MulEquiv.coprodAssoc_symm_apply_inr_inr E0 #
∀ {M : Type u_1} {N : Type u_2} {P : Type u_3} [inst : Monoid M] [inst_1 : Monoid N] [inst_2 : Monoid P] (x : P),
(MulEquiv.coprodAssoc M N P).symm (Monoid.Coprod.inr (Monoid.Coprod.inr x)) = Monoid.Coprod.inr x
theorem AddEquiv.coprodAssoc_symm_apply_inr_inr E0 #
∀ {M : Type u_1} {N : Type u_2} {P : Type u_3} [inst : AddMonoid M] [inst_1 : AddMonoid N] [inst_2 : AddMonoid P]
(x : P), (AddEquiv.coprodAssoc M N P).symm (AddMonoid.Coprod.inr (AddMonoid.Coprod.inr x)) = AddMonoid.Coprod.inr x
def MulEquiv.coprodPUnit E1 #
(M : Type u_1) → [inst : Monoid M] → Monoid.Coprod M PUnit.{u_4 + 1} ≃* M
Isomorphism between M ∗ PUnit and M.
theorem AddEquiv.coprodPUnit_symm_apply E0 #
∀ (M : Type u_1) [inst : AddMonoid M], ⇑(AddEquiv.coprodPUnit M).symm = ⇑AddMonoid.Coprod.inl
theorem MulEquiv.coprodPUnit_symm_apply E0 #
∀ (M : Type u_1) [inst : Monoid M], ⇑(MulEquiv.coprodPUnit M).symm = ⇑Monoid.Coprod.inl
theorem MulEquiv.coprodPUnit_apply E0 #
∀ (M : Type u_1) [inst : Monoid M], ⇑(MulEquiv.coprodPUnit M) = ⇑Monoid.Coprod.fst
def AddEquiv.coprodPUnit E1 #
(M : Type u_1) → [inst : AddMonoid M] → AddMonoid.Coprod M PUnit.{u_4 + 1} ≃+ M
Isomorphism between AddMonoid.Coprod M PUnit and M.
theorem AddEquiv.coprodPUnit_apply E0 #
∀ (M : Type u_1) [inst : AddMonoid M], ⇑(AddEquiv.coprodPUnit M) = ⇑AddMonoid.Coprod.fst
def MulEquiv.punitCoprod E1 #
(M : Type u_1) → [inst : Monoid M] → Monoid.Coprod PUnit.{u_4 + 1} M ≃* M
Isomorphism between PUnit ∗ M and M.
def AddEquiv.punitCoprod E1 #
(M : Type u_1) → [inst : AddMonoid M] → AddMonoid.Coprod PUnit.{u_4 + 1} M ≃+ M
Isomorphism between AddMonoid.Coprod PUnit M and M.
theorem AddEquiv.punitCoprod_symm_apply E0 #
∀ (M : Type u_1) [inst : AddMonoid M], ⇑(AddEquiv.punitCoprod M).symm = ⇑AddMonoid.Coprod.inr
theorem MulEquiv.punitCoprod_symm_apply E0 #
∀ (M : Type u_1) [inst : Monoid M], ⇑(MulEquiv.punitCoprod M).symm = ⇑Monoid.Coprod.inr
theorem MulEquiv.punitCoprod_apply E0 #
∀ (M : Type u_1) [inst : Monoid M], ⇑(MulEquiv.punitCoprod M) = ⇑Monoid.Coprod.snd
theorem AddEquiv.punitCoprod_apply E0 #
∀ (M : Type u_1) [inst : AddMonoid M], ⇑(AddEquiv.punitCoprod M) = ⇑AddMonoid.Coprod.snd