Mathlib.Algebra.GroupWithZero.ProdHom
24 declarations. Mathlib docs · Source
theorem MonoidWithZeroHom.one_apply_apply_eq E0 #
∀ {M₀ : Type u_1} {N₀ : Type u_2} {G₀ : Type u_3} [inst : GroupWithZero M₀] [inst_1 : MulZeroOneClass N₀]
[inst_2 : Nontrivial N₀] [inst_3 : NoZeroDivisors N₀] [inst_4 : MulZeroOneClass G₀]
[inst_5 : DecidablePred fun x ↦ x = 0] [inst_6 : DecidablePred fun x ↦ x = 0] (f : M₀ →*₀ N₀) (x : M₀), 1 (f x) = 1 x
The trivial group-with-zero hom is absorbing for composition.
theorem MonoidWithZeroHom.one_comp E0 #
∀ {M₀ : Type u_1} {N₀ : Type u_2} {G₀ : Type u_3} [inst : GroupWithZero M₀] [inst_1 : MulZeroOneClass N₀]
[inst_2 : Nontrivial N₀] [inst_3 : NoZeroDivisors N₀] [inst_4 : MulZeroOneClass G₀]
[inst_5 : DecidablePred fun x ↦ x = 0] [inst_6 : DecidablePred fun x ↦ x = 0] (f : M₀ →*₀ N₀),
MonoidWithZeroHom.comp 1 f = 1
The trivial group-with-zero hom is absorbing for composition.
def MonoidWithZeroHom.inl E1 #
(G₀ : Type u_1) →
(H₀ : Type u_2) →
[inst : GroupWithZero G₀] →
[inst_1 : GroupWithZero H₀] → [DecidablePred fun x ↦ x = 0] → G₀ →*₀ WithZero (G₀ˣ × H₀ˣ)
Given groups with zero G₀, H₀, the natural inclusion ordered homomorphism from
G₀ to WithZero (G₀ˣ × H₀ˣ), which is the group with zero that can be identified
as their product.
def MonoidWithZeroHom.inr E1 #
(G₀ : Type u_1) →
(H₀ : Type u_2) →
[inst : GroupWithZero G₀] →
[inst_1 : GroupWithZero H₀] → [DecidablePred fun x ↦ x = 0] → H₀ →*₀ WithZero (G₀ˣ × H₀ˣ)
Given groups with zero G₀, H₀, the natural inclusion ordered homomorphism from
H₀ to WithZero (G₀ˣ × H₀ˣ), which is the group with zero that can be identified
as their product.
def MonoidWithZeroHom.fst E1 #
(G₀ : Type u_1) →
(H₀ : Type u_2) → [inst : GroupWithZero G₀] → [inst_1 : GroupWithZero H₀] → WithZero (G₀ˣ × H₀ˣ) →*₀ G₀
Given groups with zero G₀, H₀, the natural projection homomorphism from
WithZero (G₀ˣ × H₀ˣ) to G₀, which is the group with zero that can be identified
as their product.
def MonoidWithZeroHom.snd E1 #
(G₀ : Type u_1) →
(H₀ : Type u_2) → [inst : GroupWithZero G₀] → [inst_1 : GroupWithZero H₀] → WithZero (G₀ˣ × H₀ˣ) →*₀ H₀
Given groups with zero G₀, H₀, the natural projection homomorphism from
WithZero (G₀ˣ × H₀ˣ) to H₀, which is the group with zero that can be identified
as their product.
theorem MonoidWithZeroHom.inl_apply_unit E0 #
∀ {G₀ : Type u_1} {H₀ : Type u_2} [inst : GroupWithZero G₀] [inst_1 : GroupWithZero H₀]
[inst_2 : DecidablePred fun x ↦ x = 0] (x : G₀ˣ), (MonoidWithZeroHom.inl G₀ H₀) ↑x = ↑(x, 1)
theorem MonoidWithZeroHom.inr_apply_unit E0 #
∀ {G₀ : Type u_1} {H₀ : Type u_2} [inst : GroupWithZero G₀] [inst_1 : GroupWithZero H₀]
[inst_2 : DecidablePred fun x ↦ x = 0] (x : H₀ˣ), (MonoidWithZeroHom.inr G₀ H₀) ↑x = ↑(1, x)
theorem MonoidWithZeroHom.fst_apply_coe E0 #
∀ {G₀ : Type u_1} {H₀ : Type u_2} [inst : GroupWithZero G₀] [inst_1 : GroupWithZero H₀] (x : G₀ˣ × H₀ˣ),
(MonoidWithZeroHom.fst G₀ H₀) ↑x = ↑x.1
theorem MonoidWithZeroHom.snd_apply_coe E0 #
∀ {G₀ : Type u_1} {H₀ : Type u_2} [inst : GroupWithZero G₀] [inst_1 : GroupWithZero H₀] (x : G₀ˣ × H₀ˣ),
(MonoidWithZeroHom.snd G₀ H₀) ↑x = ↑x.2
theorem MonoidWithZeroHom.fst_inl E0 #
∀ {G₀ : Type u_1} {H₀ : Type u_2} [inst : GroupWithZero G₀] [inst_1 : GroupWithZero H₀]
[inst_2 : DecidablePred fun x ↦ x = 0] (x : G₀), (MonoidWithZeroHom.fst G₀ H₀) ((MonoidWithZeroHom.inl G₀ H₀) x) = x
theorem MonoidWithZeroHom.fst_comp_inl E0 #
∀ {G₀ : Type u_1} {H₀ : Type u_2} [inst : GroupWithZero G₀] [inst_1 : GroupWithZero H₀]
[inst_2 : DecidablePred fun x ↦ x = 0],
(MonoidWithZeroHom.fst G₀ H₀).comp (MonoidWithZeroHom.inl G₀ H₀) = MonoidWithZeroHom.id G₀
theorem MonoidWithZeroHom.snd_comp_inl E0 #
∀ {G₀ : Type u_1} {H₀ : Type u_2} [inst : GroupWithZero G₀] [inst_1 : GroupWithZero H₀]
[inst_2 : DecidablePred fun x ↦ x = 0], (MonoidWithZeroHom.snd G₀ H₀).comp (MonoidWithZeroHom.inl G₀ H₀) = 1
theorem MonoidWithZeroHom.snd_inl_apply_of_ne_zero E1 #
∀ {G₀ : Type u_1} {H₀ : Type u_2} [inst : GroupWithZero G₀] [inst_1 : GroupWithZero H₀]
[inst_2 : DecidablePred fun x ↦ x = 0] {x : G₀},
x ≠ 0 → (MonoidWithZeroHom.snd G₀ H₀) ((MonoidWithZeroHom.inl G₀ H₀) x) = 1
theorem MonoidWithZeroHom.fst_comp_inr E0 #
∀ {G₀ : Type u_1} {H₀ : Type u_2} [inst : GroupWithZero G₀] [inst_1 : GroupWithZero H₀]
[inst_2 : DecidablePred fun x ↦ x = 0], (MonoidWithZeroHom.fst G₀ H₀).comp (MonoidWithZeroHom.inr G₀ H₀) = 1
theorem MonoidWithZeroHom.fst_inr_apply_of_ne_zero E1 #
∀ {G₀ : Type u_1} {H₀ : Type u_2} [inst : GroupWithZero G₀] [inst_1 : GroupWithZero H₀]
[inst_2 : DecidablePred fun x ↦ x = 0] {x : H₀},
x ≠ 0 → (MonoidWithZeroHom.fst G₀ H₀) ((MonoidWithZeroHom.inr G₀ H₀) x) = 1
theorem MonoidWithZeroHom.snd_inr E0 #
∀ {G₀ : Type u_1} {H₀ : Type u_2} [inst : GroupWithZero G₀] [inst_1 : GroupWithZero H₀]
[inst_2 : DecidablePred fun x ↦ x = 0] (x : H₀), (MonoidWithZeroHom.snd G₀ H₀) ((MonoidWithZeroHom.inr G₀ H₀) x) = x
theorem MonoidWithZeroHom.snd_comp_inr E0 #
∀ {G₀ : Type u_1} {H₀ : Type u_2} [inst : GroupWithZero G₀] [inst_1 : GroupWithZero H₀]
[inst_2 : DecidablePred fun x ↦ x = 0],
(MonoidWithZeroHom.snd G₀ H₀).comp (MonoidWithZeroHom.inr G₀ H₀) = MonoidWithZeroHom.id H₀
theorem MonoidWithZeroHom.inl_injective E1 #
∀ {G₀ : Type u_1} {H₀ : Type u_2} [inst : GroupWithZero G₀] [inst_1 : GroupWithZero H₀]
[inst_2 : DecidablePred fun x ↦ x = 0], Function.Injective ⇑(MonoidWithZeroHom.inl G₀ H₀)
theorem MonoidWithZeroHom.inr_injective E1 #
∀ {G₀ : Type u_1} {H₀ : Type u_2} [inst : GroupWithZero G₀] [inst_1 : GroupWithZero H₀]
[inst_2 : DecidablePred fun x ↦ x = 0], Function.Injective ⇑(MonoidWithZeroHom.inr G₀ H₀)
theorem MonoidWithZeroHom.fst_surjective E1 #
∀ {G₀ : Type u_1} {H₀ : Type u_2} [inst : GroupWithZero G₀] [inst_1 : GroupWithZero H₀],
Function.Surjective ⇑(MonoidWithZeroHom.fst G₀ H₀)
theorem MonoidWithZeroHom.snd_surjective E1 #
∀ {G₀ : Type u_1} {H₀ : Type u_2} [inst : GroupWithZero G₀] [inst_1 : GroupWithZero H₀],
Function.Surjective ⇑(MonoidWithZeroHom.snd G₀ H₀)
theorem MonoidWithZeroHom.inl_mul_inr_eq_mk_of_unit E1 #
∀ {G₀ : Type u_1} {H₀ : Type u_2} [inst : GroupWithZero G₀] [inst_1 : GroupWithZero H₀]
[inst_2 : DecidablePred fun x ↦ x = 0] [inst_3 : DecidablePred fun x ↦ x = 0] (m : G₀ˣ) (n : H₀ˣ),
(MonoidWithZeroHom.inl G₀ H₀) ↑m * (MonoidWithZeroHom.inr G₀ H₀) ↑n = ↑(m, n)
theorem MonoidWithZeroHom.commute_inl_inr E1 #
∀ {G₀ : Type u_1} {H₀ : Type u_2} [inst : GroupWithZero G₀] [inst_1 : GroupWithZero H₀]
[inst_2 : DecidablePred fun x ↦ x = 0] [inst_3 : DecidablePred fun x ↦ x = 0] (m : G₀) (n : H₀),
Commute ((MonoidWithZeroHom.inl G₀ H₀) m) ((MonoidWithZeroHom.inr G₀ H₀) n)