Users' Mathboxes 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 41591
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 2605 . . . . . 6 (Base‘𝑆) = (Base‘𝑆)
2 eqid 2605 . . . . . 6 (Base‘𝑇) = (Base‘𝑇)
31, 2mgmhmf 41572 . . . . 5 (𝐹 ∈ (𝑆 MgmHom 𝑇) → 𝐹:(Base‘𝑆)⟶(Base‘𝑇))
43adantr 479 . . . 4 ((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) → 𝐹:(Base‘𝑆)⟶(Base‘𝑇))
5 ffn 5940 . . . 4 (𝐹:(Base‘𝑆)⟶(Base‘𝑇) → 𝐹 Fn (Base‘𝑆))
64, 5syl 17 . . 3 ((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) → 𝐹 Fn (Base‘𝑆))
71, 2mgmhmf 41572 . . . . 5 (𝐺 ∈ (𝑆 MgmHom 𝑇) → 𝐺:(Base‘𝑆)⟶(Base‘𝑇))
87adantl 480 . . . 4 ((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) → 𝐺:(Base‘𝑆)⟶(Base‘𝑇))
9 ffn 5940 . . . 4 (𝐺:(Base‘𝑆)⟶(Base‘𝑇) → 𝐺 Fn (Base‘𝑆))
108, 9syl 17 . . 3 ((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) → 𝐺 Fn (Base‘𝑆))
11 fndmin 6213 . . 3 ((𝐹 Fn (Base‘𝑆) ∧ 𝐺 Fn (Base‘𝑆)) → dom (𝐹𝐺) = {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)})
126, 10, 11syl2anc 690 . 2 ((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) → dom (𝐹𝐺) = {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)})
13 ssrab2 3645 . . . 4 {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)} ⊆ (Base‘𝑆)
1413a1i 11 . . 3 ((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) → {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)} ⊆ (Base‘𝑆))
15 mgmhmrcl 41569 . . . . . . . . . . . . . 14 (𝐹 ∈ (𝑆 MgmHom 𝑇) → (𝑆 ∈ Mgm ∧ 𝑇 ∈ Mgm))
1615simpld 473 . . . . . . . . . . . . 13 (𝐹 ∈ (𝑆 MgmHom 𝑇) → 𝑆 ∈ Mgm)
1716adantr 479 . . . . . . . . . . . 12 ((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) → 𝑆 ∈ Mgm)
1817ad2antrr 757 . . . . . . . . . . 11 ((((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ (𝐹𝑥) = (𝐺𝑥))) ∧ (𝑦 ∈ (Base‘𝑆) ∧ (𝐹𝑦) = (𝐺𝑦))) → 𝑆 ∈ Mgm)
19 simplrl 795 . . . . . . . . . . 11 ((((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ (𝐹𝑥) = (𝐺𝑥))) ∧ (𝑦 ∈ (Base‘𝑆) ∧ (𝐹𝑦) = (𝐺𝑦))) → 𝑥 ∈ (Base‘𝑆))
20 simprl 789 . . . . . . . . . . 11 ((((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ (𝐹𝑥) = (𝐺𝑥))) ∧ (𝑦 ∈ (Base‘𝑆) ∧ (𝐹𝑦) = (𝐺𝑦))) → 𝑦 ∈ (Base‘𝑆))
21 eqid 2605 . . . . . . . . . . . 12 (+g𝑆) = (+g𝑆)
221, 21mgmcl 17010 . . . . . . . . . . 11 ((𝑆 ∈ Mgm ∧ 𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆)) → (𝑥(+g𝑆)𝑦) ∈ (Base‘𝑆))
2318, 19, 20, 22syl3anc 1317 . . . . . . . . . 10 ((((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ (𝐹𝑥) = (𝐺𝑥))) ∧ (𝑦 ∈ (Base‘𝑆) ∧ (𝐹𝑦) = (𝐺𝑦))) → (𝑥(+g𝑆)𝑦) ∈ (Base‘𝑆))
24 simplrr 796 . . . . . . . . . . . 12 ((((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ (𝐹𝑥) = (𝐺𝑥))) ∧ (𝑦 ∈ (Base‘𝑆) ∧ (𝐹𝑦) = (𝐺𝑦))) → (𝐹𝑥) = (𝐺𝑥))
25 simprr 791 . . . . . . . . . . . 12 ((((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ (𝐹𝑥) = (𝐺𝑥))) ∧ (𝑦 ∈ (Base‘𝑆) ∧ (𝐹𝑦) = (𝐺𝑦))) → (𝐹𝑦) = (𝐺𝑦))
2624, 25oveq12d 6541 . . . . . . . . . . 11 ((((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ (𝐹𝑥) = (𝐺𝑥))) ∧ (𝑦 ∈ (Base‘𝑆) ∧ (𝐹𝑦) = (𝐺𝑦))) → ((𝐹𝑥)(+g𝑇)(𝐹𝑦)) = ((𝐺𝑥)(+g𝑇)(𝐺𝑦)))
27 simplll 793 . . . . . . . . . . . 12 ((((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ (𝐹𝑥) = (𝐺𝑥))) ∧ (𝑦 ∈ (Base‘𝑆) ∧ (𝐹𝑦) = (𝐺𝑦))) → 𝐹 ∈ (𝑆 MgmHom 𝑇))
28 eqid 2605 . . . . . . . . . . . . 13 (+g𝑇) = (+g𝑇)
291, 21, 28mgmhmlin 41574 . . . . . . . . . . . 12 ((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆)) → (𝐹‘(𝑥(+g𝑆)𝑦)) = ((𝐹𝑥)(+g𝑇)(𝐹𝑦)))
3027, 19, 20, 29syl3anc 1317 . . . . . . . . . . 11 ((((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ (𝐹𝑥) = (𝐺𝑥))) ∧ (𝑦 ∈ (Base‘𝑆) ∧ (𝐹𝑦) = (𝐺𝑦))) → (𝐹‘(𝑥(+g𝑆)𝑦)) = ((𝐹𝑥)(+g𝑇)(𝐹𝑦)))
31 simpllr 794 . . . . . . . . . . . 12 ((((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ (𝐹𝑥) = (𝐺𝑥))) ∧ (𝑦 ∈ (Base‘𝑆) ∧ (𝐹𝑦) = (𝐺𝑦))) → 𝐺 ∈ (𝑆 MgmHom 𝑇))
321, 21, 28mgmhmlin 41574 . . . . . . . . . . . 12 ((𝐺 ∈ (𝑆 MgmHom 𝑇) ∧ 𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆)) → (𝐺‘(𝑥(+g𝑆)𝑦)) = ((𝐺𝑥)(+g𝑇)(𝐺𝑦)))
3331, 19, 20, 32syl3anc 1317 . . . . . . . . . . 11 ((((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ (𝐹𝑥) = (𝐺𝑥))) ∧ (𝑦 ∈ (Base‘𝑆) ∧ (𝐹𝑦) = (𝐺𝑦))) → (𝐺‘(𝑥(+g𝑆)𝑦)) = ((𝐺𝑥)(+g𝑇)(𝐺𝑦)))
3426, 30, 333eqtr4d 2649 . . . . . . . . . 10 ((((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ (𝐹𝑥) = (𝐺𝑥))) ∧ (𝑦 ∈ (Base‘𝑆) ∧ (𝐹𝑦) = (𝐺𝑦))) → (𝐹‘(𝑥(+g𝑆)𝑦)) = (𝐺‘(𝑥(+g𝑆)𝑦)))
35 fveq2 6084 . . . . . . . . . . . 12 (𝑧 = (𝑥(+g𝑆)𝑦) → (𝐹𝑧) = (𝐹‘(𝑥(+g𝑆)𝑦)))
36 fveq2 6084 . . . . . . . . . . . 12 (𝑧 = (𝑥(+g𝑆)𝑦) → (𝐺𝑧) = (𝐺‘(𝑥(+g𝑆)𝑦)))
3735, 36eqeq12d 2620 . . . . . . . . . . 11 (𝑧 = (𝑥(+g𝑆)𝑦) → ((𝐹𝑧) = (𝐺𝑧) ↔ (𝐹‘(𝑥(+g𝑆)𝑦)) = (𝐺‘(𝑥(+g𝑆)𝑦))))
3837elrab 3326 . . . . . . . . . 10 ((𝑥(+g𝑆)𝑦) ∈ {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)} ↔ ((𝑥(+g𝑆)𝑦) ∈ (Base‘𝑆) ∧ (𝐹‘(𝑥(+g𝑆)𝑦)) = (𝐺‘(𝑥(+g𝑆)𝑦))))
3923, 34, 38sylanbrc 694 . . . . . . . . 9 ((((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ (𝐹𝑥) = (𝐺𝑥))) ∧ (𝑦 ∈ (Base‘𝑆) ∧ (𝐹𝑦) = (𝐺𝑦))) → (𝑥(+g𝑆)𝑦) ∈ {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)})
4039expr 640 . . . . . . . 8 ((((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ (𝐹𝑥) = (𝐺𝑥))) ∧ 𝑦 ∈ (Base‘𝑆)) → ((𝐹𝑦) = (𝐺𝑦) → (𝑥(+g𝑆)𝑦) ∈ {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)}))
4140ralrimiva 2944 . . . . . . 7 (((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ (𝐹𝑥) = (𝐺𝑥))) → ∀𝑦 ∈ (Base‘𝑆)((𝐹𝑦) = (𝐺𝑦) → (𝑥(+g𝑆)𝑦) ∈ {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)}))
42 fveq2 6084 . . . . . . . . 9 (𝑧 = 𝑦 → (𝐹𝑧) = (𝐹𝑦))
43 fveq2 6084 . . . . . . . . 9 (𝑧 = 𝑦 → (𝐺𝑧) = (𝐺𝑦))
4442, 43eqeq12d 2620 . . . . . . . 8 (𝑧 = 𝑦 → ((𝐹𝑧) = (𝐺𝑧) ↔ (𝐹𝑦) = (𝐺𝑦)))
4544ralrab 3330 . . . . . . 7 (∀𝑦 ∈ {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)} (𝑥(+g𝑆)𝑦) ∈ {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)} ↔ ∀𝑦 ∈ (Base‘𝑆)((𝐹𝑦) = (𝐺𝑦) → (𝑥(+g𝑆)𝑦) ∈ {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)}))
4641, 45sylibr 222 . . . . . 6 (((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ (𝐹𝑥) = (𝐺𝑥))) → ∀𝑦 ∈ {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)} (𝑥(+g𝑆)𝑦) ∈ {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)})
4746expr 640 . . . . 5 (((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) ∧ 𝑥 ∈ (Base‘𝑆)) → ((𝐹𝑥) = (𝐺𝑥) → ∀𝑦 ∈ {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)} (𝑥(+g𝑆)𝑦) ∈ {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)}))
4847ralrimiva 2944 . . . 4 ((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) → ∀𝑥 ∈ (Base‘𝑆)((𝐹𝑥) = (𝐺𝑥) → ∀𝑦 ∈ {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)} (𝑥(+g𝑆)𝑦) ∈ {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)}))
49 fveq2 6084 . . . . . 6 (𝑧 = 𝑥 → (𝐹𝑧) = (𝐹𝑥))
50 fveq2 6084 . . . . . 6 (𝑧 = 𝑥 → (𝐺𝑧) = (𝐺𝑥))
5149, 50eqeq12d 2620 . . . . 5 (𝑧 = 𝑥 → ((𝐹𝑧) = (𝐺𝑧) ↔ (𝐹𝑥) = (𝐺𝑥)))
5251ralrab 3330 . . . 4 (∀𝑥 ∈ {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)}∀𝑦 ∈ {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)} (𝑥(+g𝑆)𝑦) ∈ {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)} ↔ ∀𝑥 ∈ (Base‘𝑆)((𝐹𝑥) = (𝐺𝑥) → ∀𝑦 ∈ {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)} (𝑥(+g𝑆)𝑦) ∈ {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)}))
5348, 52sylibr 222 . . 3 ((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) → ∀𝑥 ∈ {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)}∀𝑦 ∈ {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)} (𝑥(+g𝑆)𝑦) ∈ {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)})
541, 21issubmgm 41577 . . . 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 958 . 2 ((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) → {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)} ∈ (SubMgm‘𝑆))
5712, 56eqeltrd 2683 1 ((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) → dom (𝐹𝐺) ∈ (SubMgm‘𝑆))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 194  wa 382   = wceq 1474  wcel 1975  wral 2891  {crab 2895  cin 3534  wss 3535  dom cdm 5024   Fn wfn 5781  wf 5782  cfv 5786  (class class class)co 6523  Basecbs 15637  +gcplusg 15710  Mgmcmgm 17005   MgmHom cmgmhm 41565  SubMgmcsubmgm 41566
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1711  ax-4 1726  ax-5 1825  ax-6 1873  ax-7 1920  ax-8 1977  ax-9 1984  ax-10 2004  ax-11 2019  ax-12 2031  ax-13 2228  ax-ext 2585  ax-sep 4699  ax-nul 4708  ax-pow 4760  ax-pr 4824  ax-un 6820
This theorem depends on definitions:  df-bi 195  df-or 383  df-an 384  df-3an 1032  df-tru 1477  df-ex 1695  df-nf 1700  df-sb 1866  df-eu 2457  df-mo 2458  df-clab 2592  df-cleq 2598  df-clel 2601  df-nfc 2735  df-ne 2777  df-ral 2896  df-rex 2897  df-rab 2900  df-v 3170  df-sbc 3398  df-dif 3538  df-un 3540  df-in 3542  df-ss 3549  df-nul 3870  df-if 4032  df-pw 4105  df-sn 4121  df-pr 4123  df-op 4127  df-uni 4363  df-br 4574  df-opab 4634  df-mpt 4635  df-id 4939  df-xp 5030  df-rel 5031  df-cnv 5032  df-co 5033  df-dm 5034  df-rn 5035  df-iota 5750  df-fun 5788  df-fn 5789  df-f 5790  df-fv 5794  df-ov 6526  df-oprab 6527  df-mpt2 6528  df-map 7719  df-mgm 17007  df-mgmhm 41567  df-submgm 41568
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator