Mathbox for Alexander van der Vekens < Previous   Next > Nearby theorems Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  mgmhmeql Structured version   Visualization version   GIF version

Theorem mgmhmeql 42331
 Description: The equalizer of two magma homomorphisms is a submagma. (Contributed by AV, 27-Feb-2020.)
Assertion
Ref Expression
mgmhmeql ((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) → dom (𝐹𝐺) ∈ (SubMgm‘𝑆))

Proof of Theorem mgmhmeql
Dummy variables 𝑥 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 eqid 2760 . . . . . 6 (Base‘𝑆) = (Base‘𝑆)
2 eqid 2760 . . . . . 6 (Base‘𝑇) = (Base‘𝑇)
31, 2mgmhmf 42312 . . . . 5 (𝐹 ∈ (𝑆 MgmHom 𝑇) → 𝐹:(Base‘𝑆)⟶(Base‘𝑇))
43adantr 472 . . . 4 ((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) → 𝐹:(Base‘𝑆)⟶(Base‘𝑇))
5 ffn 6206 . . . 4 (𝐹:(Base‘𝑆)⟶(Base‘𝑇) → 𝐹 Fn (Base‘𝑆))
64, 5syl 17 . . 3 ((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) → 𝐹 Fn (Base‘𝑆))
71, 2mgmhmf 42312 . . . . 5 (𝐺 ∈ (𝑆 MgmHom 𝑇) → 𝐺:(Base‘𝑆)⟶(Base‘𝑇))
87adantl 473 . . . 4 ((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) → 𝐺:(Base‘𝑆)⟶(Base‘𝑇))
9 ffn 6206 . . . 4 (𝐺:(Base‘𝑆)⟶(Base‘𝑇) → 𝐺 Fn (Base‘𝑆))
108, 9syl 17 . . 3 ((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) → 𝐺 Fn (Base‘𝑆))
11 fndmin 6488 . . 3 ((𝐹 Fn (Base‘𝑆) ∧ 𝐺 Fn (Base‘𝑆)) → dom (𝐹𝐺) = {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)})
126, 10, 11syl2anc 696 . 2 ((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) → dom (𝐹𝐺) = {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)})
13 ssrab2 3828 . . . 4 {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)} ⊆ (Base‘𝑆)
1413a1i 11 . . 3 ((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) → {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)} ⊆ (Base‘𝑆))
15 mgmhmrcl 42309 . . . . . . . . . . . . . 14 (𝐹 ∈ (𝑆 MgmHom 𝑇) → (𝑆 ∈ Mgm ∧ 𝑇 ∈ Mgm))
1615simpld 477 . . . . . . . . . . . . 13 (𝐹 ∈ (𝑆 MgmHom 𝑇) → 𝑆 ∈ Mgm)
1716adantr 472 . . . . . . . . . . . 12 ((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) → 𝑆 ∈ Mgm)
1817ad2antrr 764 . . . . . . . . . . 11 ((((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ (𝐹𝑥) = (𝐺𝑥))) ∧ (𝑦 ∈ (Base‘𝑆) ∧ (𝐹𝑦) = (𝐺𝑦))) → 𝑆 ∈ Mgm)
19 simplrl 819 . . . . . . . . . . 11 ((((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ (𝐹𝑥) = (𝐺𝑥))) ∧ (𝑦 ∈ (Base‘𝑆) ∧ (𝐹𝑦) = (𝐺𝑦))) → 𝑥 ∈ (Base‘𝑆))
20 simprl 811 . . . . . . . . . . 11 ((((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ (𝐹𝑥) = (𝐺𝑥))) ∧ (𝑦 ∈ (Base‘𝑆) ∧ (𝐹𝑦) = (𝐺𝑦))) → 𝑦 ∈ (Base‘𝑆))
21 eqid 2760 . . . . . . . . . . . 12 (+g𝑆) = (+g𝑆)
221, 21mgmcl 17466 . . . . . . . . . . 11 ((𝑆 ∈ Mgm ∧ 𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆)) → (𝑥(+g𝑆)𝑦) ∈ (Base‘𝑆))
2318, 19, 20, 22syl3anc 1477 . . . . . . . . . 10 ((((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ (𝐹𝑥) = (𝐺𝑥))) ∧ (𝑦 ∈ (Base‘𝑆) ∧ (𝐹𝑦) = (𝐺𝑦))) → (𝑥(+g𝑆)𝑦) ∈ (Base‘𝑆))
24 simplrr 820 . . . . . . . . . . . 12 ((((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ (𝐹𝑥) = (𝐺𝑥))) ∧ (𝑦 ∈ (Base‘𝑆) ∧ (𝐹𝑦) = (𝐺𝑦))) → (𝐹𝑥) = (𝐺𝑥))
25 simprr 813 . . . . . . . . . . . 12 ((((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ (𝐹𝑥) = (𝐺𝑥))) ∧ (𝑦 ∈ (Base‘𝑆) ∧ (𝐹𝑦) = (𝐺𝑦))) → (𝐹𝑦) = (𝐺𝑦))
2624, 25oveq12d 6832 . . . . . . . . . . 11 ((((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ (𝐹𝑥) = (𝐺𝑥))) ∧ (𝑦 ∈ (Base‘𝑆) ∧ (𝐹𝑦) = (𝐺𝑦))) → ((𝐹𝑥)(+g𝑇)(𝐹𝑦)) = ((𝐺𝑥)(+g𝑇)(𝐺𝑦)))
27 simplll 815 . . . . . . . . . . . 12 ((((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ (𝐹𝑥) = (𝐺𝑥))) ∧ (𝑦 ∈ (Base‘𝑆) ∧ (𝐹𝑦) = (𝐺𝑦))) → 𝐹 ∈ (𝑆 MgmHom 𝑇))
28 eqid 2760 . . . . . . . . . . . . 13 (+g𝑇) = (+g𝑇)
291, 21, 28mgmhmlin 42314 . . . . . . . . . . . 12 ((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆)) → (𝐹‘(𝑥(+g𝑆)𝑦)) = ((𝐹𝑥)(+g𝑇)(𝐹𝑦)))
3027, 19, 20, 29syl3anc 1477 . . . . . . . . . . 11 ((((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ (𝐹𝑥) = (𝐺𝑥))) ∧ (𝑦 ∈ (Base‘𝑆) ∧ (𝐹𝑦) = (𝐺𝑦))) → (𝐹‘(𝑥(+g𝑆)𝑦)) = ((𝐹𝑥)(+g𝑇)(𝐹𝑦)))
31 simpllr 817 . . . . . . . . . . . 12 ((((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ (𝐹𝑥) = (𝐺𝑥))) ∧ (𝑦 ∈ (Base‘𝑆) ∧ (𝐹𝑦) = (𝐺𝑦))) → 𝐺 ∈ (𝑆 MgmHom 𝑇))
321, 21, 28mgmhmlin 42314 . . . . . . . . . . . 12 ((𝐺 ∈ (𝑆 MgmHom 𝑇) ∧ 𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆)) → (𝐺‘(𝑥(+g𝑆)𝑦)) = ((𝐺𝑥)(+g𝑇)(𝐺𝑦)))
3331, 19, 20, 32syl3anc 1477 . . . . . . . . . . 11 ((((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ (𝐹𝑥) = (𝐺𝑥))) ∧ (𝑦 ∈ (Base‘𝑆) ∧ (𝐹𝑦) = (𝐺𝑦))) → (𝐺‘(𝑥(+g𝑆)𝑦)) = ((𝐺𝑥)(+g𝑇)(𝐺𝑦)))
3426, 30, 333eqtr4d 2804 . . . . . . . . . 10 ((((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ (𝐹𝑥) = (𝐺𝑥))) ∧ (𝑦 ∈ (Base‘𝑆) ∧ (𝐹𝑦) = (𝐺𝑦))) → (𝐹‘(𝑥(+g𝑆)𝑦)) = (𝐺‘(𝑥(+g𝑆)𝑦)))
35 fveq2 6353 . . . . . . . . . . . 12 (𝑧 = (𝑥(+g𝑆)𝑦) → (𝐹𝑧) = (𝐹‘(𝑥(+g𝑆)𝑦)))
36 fveq2 6353 . . . . . . . . . . . 12 (𝑧 = (𝑥(+g𝑆)𝑦) → (𝐺𝑧) = (𝐺‘(𝑥(+g𝑆)𝑦)))
3735, 36eqeq12d 2775 . . . . . . . . . . 11 (𝑧 = (𝑥(+g𝑆)𝑦) → ((𝐹𝑧) = (𝐺𝑧) ↔ (𝐹‘(𝑥(+g𝑆)𝑦)) = (𝐺‘(𝑥(+g𝑆)𝑦))))
3837elrab 3504 . . . . . . . . . 10 ((𝑥(+g𝑆)𝑦) ∈ {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)} ↔ ((𝑥(+g𝑆)𝑦) ∈ (Base‘𝑆) ∧ (𝐹‘(𝑥(+g𝑆)𝑦)) = (𝐺‘(𝑥(+g𝑆)𝑦))))
3923, 34, 38sylanbrc 701 . . . . . . . . 9 ((((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ (𝐹𝑥) = (𝐺𝑥))) ∧ (𝑦 ∈ (Base‘𝑆) ∧ (𝐹𝑦) = (𝐺𝑦))) → (𝑥(+g𝑆)𝑦) ∈ {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)})
4039expr 644 . . . . . . . 8 ((((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ (𝐹𝑥) = (𝐺𝑥))) ∧ 𝑦 ∈ (Base‘𝑆)) → ((𝐹𝑦) = (𝐺𝑦) → (𝑥(+g𝑆)𝑦) ∈ {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)}))
4140ralrimiva 3104 . . . . . . 7 (((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ (𝐹𝑥) = (𝐺𝑥))) → ∀𝑦 ∈ (Base‘𝑆)((𝐹𝑦) = (𝐺𝑦) → (𝑥(+g𝑆)𝑦) ∈ {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)}))
42 fveq2 6353 . . . . . . . . 9 (𝑧 = 𝑦 → (𝐹𝑧) = (𝐹𝑦))
43 fveq2 6353 . . . . . . . . 9 (𝑧 = 𝑦 → (𝐺𝑧) = (𝐺𝑦))
4442, 43eqeq12d 2775 . . . . . . . 8 (𝑧 = 𝑦 → ((𝐹𝑧) = (𝐺𝑧) ↔ (𝐹𝑦) = (𝐺𝑦)))
4544ralrab 3509 . . . . . . 7 (∀𝑦 ∈ {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)} (𝑥(+g𝑆)𝑦) ∈ {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)} ↔ ∀𝑦 ∈ (Base‘𝑆)((𝐹𝑦) = (𝐺𝑦) → (𝑥(+g𝑆)𝑦) ∈ {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)}))
4641, 45sylibr 224 . . . . . 6 (((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ (𝐹𝑥) = (𝐺𝑥))) → ∀𝑦 ∈ {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)} (𝑥(+g𝑆)𝑦) ∈ {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)})
4746expr 644 . . . . 5 (((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) ∧ 𝑥 ∈ (Base‘𝑆)) → ((𝐹𝑥) = (𝐺𝑥) → ∀𝑦 ∈ {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)} (𝑥(+g𝑆)𝑦) ∈ {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)}))
4847ralrimiva 3104 . . . 4 ((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) → ∀𝑥 ∈ (Base‘𝑆)((𝐹𝑥) = (𝐺𝑥) → ∀𝑦 ∈ {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)} (𝑥(+g𝑆)𝑦) ∈ {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)}))
49 fveq2 6353 . . . . . 6 (𝑧 = 𝑥 → (𝐹𝑧) = (𝐹𝑥))
50 fveq2 6353 . . . . . 6 (𝑧 = 𝑥 → (𝐺𝑧) = (𝐺𝑥))
5149, 50eqeq12d 2775 . . . . 5 (𝑧 = 𝑥 → ((𝐹𝑧) = (𝐺𝑧) ↔ (𝐹𝑥) = (𝐺𝑥)))
5251ralrab 3509 . . . 4 (∀𝑥 ∈ {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)}∀𝑦 ∈ {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)} (𝑥(+g𝑆)𝑦) ∈ {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)} ↔ ∀𝑥 ∈ (Base‘𝑆)((𝐹𝑥) = (𝐺𝑥) → ∀𝑦 ∈ {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)} (𝑥(+g𝑆)𝑦) ∈ {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)}))
5348, 52sylibr 224 . . 3 ((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) → ∀𝑥 ∈ {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)}∀𝑦 ∈ {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)} (𝑥(+g𝑆)𝑦) ∈ {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)})
541, 21issubmgm 42317 . . . 4 (𝑆 ∈ Mgm → ({𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)} ∈ (SubMgm‘𝑆) ↔ ({𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)} ⊆ (Base‘𝑆) ∧ ∀𝑥 ∈ {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)}∀𝑦 ∈ {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)} (𝑥(+g𝑆)𝑦) ∈ {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)})))
5517, 54syl 17 . . 3 ((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) → ({𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)} ∈ (SubMgm‘𝑆) ↔ ({𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)} ⊆ (Base‘𝑆) ∧ ∀𝑥 ∈ {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)}∀𝑦 ∈ {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)} (𝑥(+g𝑆)𝑦) ∈ {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)})))
5614, 53, 55mpbir2and 995 . 2 ((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) → {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)} ∈ (SubMgm‘𝑆))
5712, 56eqeltrd 2839 1 ((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) → dom (𝐹𝐺) ∈ (SubMgm‘𝑆))
 Colors of variables: wff setvar class Syntax hints:   → wi 4   ↔ wb 196   ∧ wa 383   = wceq 1632   ∈ wcel 2139  ∀wral 3050  {crab 3054   ∩ cin 3714   ⊆ wss 3715  dom cdm 5266   Fn wfn 6044  ⟶wf 6045  ‘cfv 6049  (class class class)co 6814  Basecbs 16079  +gcplusg 16163  Mgmcmgm 17461   MgmHom cmgmhm 42305  SubMgmcsubmgm 42306 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1871  ax-4 1886  ax-5 1988  ax-6 2054  ax-7 2090  ax-8 2141  ax-9 2148  ax-10 2168  ax-11 2183  ax-12 2196  ax-13 2391  ax-ext 2740  ax-sep 4933  ax-nul 4941  ax-pow 4992  ax-pr 5055  ax-un 7115 This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3an 1074  df-tru 1635  df-ex 1854  df-nf 1859  df-sb 2047  df-eu 2611  df-mo 2612  df-clab 2747  df-cleq 2753  df-clel 2756  df-nfc 2891  df-ne 2933  df-ral 3055  df-rex 3056  df-rab 3059  df-v 3342  df-sbc 3577  df-dif 3718  df-un 3720  df-in 3722  df-ss 3729  df-nul 4059  df-if 4231  df-pw 4304  df-sn 4322  df-pr 4324  df-op 4328  df-uni 4589  df-br 4805  df-opab 4865  df-mpt 4882  df-id 5174  df-xp 5272  df-rel 5273  df-cnv 5274  df-co 5275  df-dm 5276  df-rn 5277  df-iota 6012  df-fun 6051  df-fn 6052  df-f 6053  df-fv 6057  df-ov 6817  df-oprab 6818  df-mpt2 6819  df-map 8027  df-mgm 17463  df-mgmhm 42307  df-submgm 42308 This theorem is referenced by: (None)
 Copyright terms: Public domain W3C validator