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 42602
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 2799 . . . . . 6 (Base‘𝑆) = (Base‘𝑆)
2 eqid 2799 . . . . . 6 (Base‘𝑇) = (Base‘𝑇)
31, 2mgmhmf 42583 . . . . 5 (𝐹 ∈ (𝑆 MgmHom 𝑇) → 𝐹:(Base‘𝑆)⟶(Base‘𝑇))
43adantr 473 . . . 4 ((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) → 𝐹:(Base‘𝑆)⟶(Base‘𝑇))
54ffnd 6257 . . 3 ((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) → 𝐹 Fn (Base‘𝑆))
61, 2mgmhmf 42583 . . . . 5 (𝐺 ∈ (𝑆 MgmHom 𝑇) → 𝐺:(Base‘𝑆)⟶(Base‘𝑇))
76adantl 474 . . . 4 ((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) → 𝐺:(Base‘𝑆)⟶(Base‘𝑇))
87ffnd 6257 . . 3 ((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) → 𝐺 Fn (Base‘𝑆))
9 fndmin 6550 . . 3 ((𝐹 Fn (Base‘𝑆) ∧ 𝐺 Fn (Base‘𝑆)) → dom (𝐹𝐺) = {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)})
105, 8, 9syl2anc 580 . 2 ((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) → dom (𝐹𝐺) = {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)})
11 ssrab2 3883 . . . 4 {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)} ⊆ (Base‘𝑆)
1211a1i 11 . . 3 ((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) → {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)} ⊆ (Base‘𝑆))
13 mgmhmrcl 42580 . . . . . . . . . . . . . 14 (𝐹 ∈ (𝑆 MgmHom 𝑇) → (𝑆 ∈ Mgm ∧ 𝑇 ∈ Mgm))
1413simpld 489 . . . . . . . . . . . . 13 (𝐹 ∈ (𝑆 MgmHom 𝑇) → 𝑆 ∈ Mgm)
1514adantr 473 . . . . . . . . . . . 12 ((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) → 𝑆 ∈ Mgm)
1615ad2antrr 718 . . . . . . . . . . 11 ((((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ (𝐹𝑥) = (𝐺𝑥))) ∧ (𝑦 ∈ (Base‘𝑆) ∧ (𝐹𝑦) = (𝐺𝑦))) → 𝑆 ∈ Mgm)
17 simplrl 796 . . . . . . . . . . 11 ((((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ (𝐹𝑥) = (𝐺𝑥))) ∧ (𝑦 ∈ (Base‘𝑆) ∧ (𝐹𝑦) = (𝐺𝑦))) → 𝑥 ∈ (Base‘𝑆))
18 simprl 788 . . . . . . . . . . 11 ((((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ (𝐹𝑥) = (𝐺𝑥))) ∧ (𝑦 ∈ (Base‘𝑆) ∧ (𝐹𝑦) = (𝐺𝑦))) → 𝑦 ∈ (Base‘𝑆))
19 eqid 2799 . . . . . . . . . . . 12 (+g𝑆) = (+g𝑆)
201, 19mgmcl 17560 . . . . . . . . . . 11 ((𝑆 ∈ Mgm ∧ 𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆)) → (𝑥(+g𝑆)𝑦) ∈ (Base‘𝑆))
2116, 17, 18, 20syl3anc 1491 . . . . . . . . . 10 ((((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ (𝐹𝑥) = (𝐺𝑥))) ∧ (𝑦 ∈ (Base‘𝑆) ∧ (𝐹𝑦) = (𝐺𝑦))) → (𝑥(+g𝑆)𝑦) ∈ (Base‘𝑆))
22 simplrr 797 . . . . . . . . . . . 12 ((((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ (𝐹𝑥) = (𝐺𝑥))) ∧ (𝑦 ∈ (Base‘𝑆) ∧ (𝐹𝑦) = (𝐺𝑦))) → (𝐹𝑥) = (𝐺𝑥))
23 simprr 790 . . . . . . . . . . . 12 ((((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ (𝐹𝑥) = (𝐺𝑥))) ∧ (𝑦 ∈ (Base‘𝑆) ∧ (𝐹𝑦) = (𝐺𝑦))) → (𝐹𝑦) = (𝐺𝑦))
2422, 23oveq12d 6896 . . . . . . . . . . 11 ((((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ (𝐹𝑥) = (𝐺𝑥))) ∧ (𝑦 ∈ (Base‘𝑆) ∧ (𝐹𝑦) = (𝐺𝑦))) → ((𝐹𝑥)(+g𝑇)(𝐹𝑦)) = ((𝐺𝑥)(+g𝑇)(𝐺𝑦)))
25 simplll 792 . . . . . . . . . . . 12 ((((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ (𝐹𝑥) = (𝐺𝑥))) ∧ (𝑦 ∈ (Base‘𝑆) ∧ (𝐹𝑦) = (𝐺𝑦))) → 𝐹 ∈ (𝑆 MgmHom 𝑇))
26 eqid 2799 . . . . . . . . . . . . 13 (+g𝑇) = (+g𝑇)
271, 19, 26mgmhmlin 42585 . . . . . . . . . . . 12 ((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆)) → (𝐹‘(𝑥(+g𝑆)𝑦)) = ((𝐹𝑥)(+g𝑇)(𝐹𝑦)))
2825, 17, 18, 27syl3anc 1491 . . . . . . . . . . 11 ((((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ (𝐹𝑥) = (𝐺𝑥))) ∧ (𝑦 ∈ (Base‘𝑆) ∧ (𝐹𝑦) = (𝐺𝑦))) → (𝐹‘(𝑥(+g𝑆)𝑦)) = ((𝐹𝑥)(+g𝑇)(𝐹𝑦)))
29 simpllr 794 . . . . . . . . . . . 12 ((((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ (𝐹𝑥) = (𝐺𝑥))) ∧ (𝑦 ∈ (Base‘𝑆) ∧ (𝐹𝑦) = (𝐺𝑦))) → 𝐺 ∈ (𝑆 MgmHom 𝑇))
301, 19, 26mgmhmlin 42585 . . . . . . . . . . . 12 ((𝐺 ∈ (𝑆 MgmHom 𝑇) ∧ 𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆)) → (𝐺‘(𝑥(+g𝑆)𝑦)) = ((𝐺𝑥)(+g𝑇)(𝐺𝑦)))
3129, 17, 18, 30syl3anc 1491 . . . . . . . . . . 11 ((((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ (𝐹𝑥) = (𝐺𝑥))) ∧ (𝑦 ∈ (Base‘𝑆) ∧ (𝐹𝑦) = (𝐺𝑦))) → (𝐺‘(𝑥(+g𝑆)𝑦)) = ((𝐺𝑥)(+g𝑇)(𝐺𝑦)))
3224, 28, 313eqtr4d 2843 . . . . . . . . . 10 ((((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ (𝐹𝑥) = (𝐺𝑥))) ∧ (𝑦 ∈ (Base‘𝑆) ∧ (𝐹𝑦) = (𝐺𝑦))) → (𝐹‘(𝑥(+g𝑆)𝑦)) = (𝐺‘(𝑥(+g𝑆)𝑦)))
33 fveq2 6411 . . . . . . . . . . . 12 (𝑧 = (𝑥(+g𝑆)𝑦) → (𝐹𝑧) = (𝐹‘(𝑥(+g𝑆)𝑦)))
34 fveq2 6411 . . . . . . . . . . . 12 (𝑧 = (𝑥(+g𝑆)𝑦) → (𝐺𝑧) = (𝐺‘(𝑥(+g𝑆)𝑦)))
3533, 34eqeq12d 2814 . . . . . . . . . . 11 (𝑧 = (𝑥(+g𝑆)𝑦) → ((𝐹𝑧) = (𝐺𝑧) ↔ (𝐹‘(𝑥(+g𝑆)𝑦)) = (𝐺‘(𝑥(+g𝑆)𝑦))))
3635elrab 3556 . . . . . . . . . 10 ((𝑥(+g𝑆)𝑦) ∈ {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)} ↔ ((𝑥(+g𝑆)𝑦) ∈ (Base‘𝑆) ∧ (𝐹‘(𝑥(+g𝑆)𝑦)) = (𝐺‘(𝑥(+g𝑆)𝑦))))
3721, 32, 36sylanbrc 579 . . . . . . . . 9 ((((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ (𝐹𝑥) = (𝐺𝑥))) ∧ (𝑦 ∈ (Base‘𝑆) ∧ (𝐹𝑦) = (𝐺𝑦))) → (𝑥(+g𝑆)𝑦) ∈ {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)})
3837expr 449 . . . . . . . 8 ((((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ (𝐹𝑥) = (𝐺𝑥))) ∧ 𝑦 ∈ (Base‘𝑆)) → ((𝐹𝑦) = (𝐺𝑦) → (𝑥(+g𝑆)𝑦) ∈ {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)}))
3938ralrimiva 3147 . . . . . . 7 (((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ (𝐹𝑥) = (𝐺𝑥))) → ∀𝑦 ∈ (Base‘𝑆)((𝐹𝑦) = (𝐺𝑦) → (𝑥(+g𝑆)𝑦) ∈ {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)}))
40 fveq2 6411 . . . . . . . . 9 (𝑧 = 𝑦 → (𝐹𝑧) = (𝐹𝑦))
41 fveq2 6411 . . . . . . . . 9 (𝑧 = 𝑦 → (𝐺𝑧) = (𝐺𝑦))
4240, 41eqeq12d 2814 . . . . . . . 8 (𝑧 = 𝑦 → ((𝐹𝑧) = (𝐺𝑧) ↔ (𝐹𝑦) = (𝐺𝑦)))
4342ralrab 3562 . . . . . . 7 (∀𝑦 ∈ {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)} (𝑥(+g𝑆)𝑦) ∈ {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)} ↔ ∀𝑦 ∈ (Base‘𝑆)((𝐹𝑦) = (𝐺𝑦) → (𝑥(+g𝑆)𝑦) ∈ {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)}))
4439, 43sylibr 226 . . . . . 6 (((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ (𝐹𝑥) = (𝐺𝑥))) → ∀𝑦 ∈ {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)} (𝑥(+g𝑆)𝑦) ∈ {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)})
4544expr 449 . . . . 5 (((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) ∧ 𝑥 ∈ (Base‘𝑆)) → ((𝐹𝑥) = (𝐺𝑥) → ∀𝑦 ∈ {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)} (𝑥(+g𝑆)𝑦) ∈ {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)}))
4645ralrimiva 3147 . . . 4 ((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) → ∀𝑥 ∈ (Base‘𝑆)((𝐹𝑥) = (𝐺𝑥) → ∀𝑦 ∈ {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)} (𝑥(+g𝑆)𝑦) ∈ {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)}))
47 fveq2 6411 . . . . . 6 (𝑧 = 𝑥 → (𝐹𝑧) = (𝐹𝑥))
48 fveq2 6411 . . . . . 6 (𝑧 = 𝑥 → (𝐺𝑧) = (𝐺𝑥))
4947, 48eqeq12d 2814 . . . . 5 (𝑧 = 𝑥 → ((𝐹𝑧) = (𝐺𝑧) ↔ (𝐹𝑥) = (𝐺𝑥)))
5049ralrab 3562 . . . 4 (∀𝑥 ∈ {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)}∀𝑦 ∈ {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)} (𝑥(+g𝑆)𝑦) ∈ {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)} ↔ ∀𝑥 ∈ (Base‘𝑆)((𝐹𝑥) = (𝐺𝑥) → ∀𝑦 ∈ {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)} (𝑥(+g𝑆)𝑦) ∈ {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)}))
5146, 50sylibr 226 . . 3 ((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) → ∀𝑥 ∈ {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)}∀𝑦 ∈ {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)} (𝑥(+g𝑆)𝑦) ∈ {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)})
521, 19issubmgm 42588 . . . 4 (𝑆 ∈ Mgm → ({𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)} ∈ (SubMgm‘𝑆) ↔ ({𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)} ⊆ (Base‘𝑆) ∧ ∀𝑥 ∈ {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)}∀𝑦 ∈ {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)} (𝑥(+g𝑆)𝑦) ∈ {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)})))
5315, 52syl 17 . . 3 ((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) → ({𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)} ∈ (SubMgm‘𝑆) ↔ ({𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)} ⊆ (Base‘𝑆) ∧ ∀𝑥 ∈ {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)}∀𝑦 ∈ {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)} (𝑥(+g𝑆)𝑦) ∈ {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)})))
5412, 51, 53mpbir2and 705 . 2 ((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) → {𝑧 ∈ (Base‘𝑆) ∣ (𝐹𝑧) = (𝐺𝑧)} ∈ (SubMgm‘𝑆))
5510, 54eqeltrd 2878 1 ((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝐺 ∈ (𝑆 MgmHom 𝑇)) → dom (𝐹𝐺) ∈ (SubMgm‘𝑆))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 198  wa 385   = wceq 1653  wcel 2157  wral 3089  {crab 3093  cin 3768  wss 3769  dom cdm 5312   Fn wfn 6096  wf 6097  cfv 6101  (class class class)co 6878  Basecbs 16184  +gcplusg 16267  Mgmcmgm 17555   MgmHom cmgmhm 42576  SubMgmcsubmgm 42577
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1891  ax-4 1905  ax-5 2006  ax-6 2072  ax-7 2107  ax-8 2159  ax-9 2166  ax-10 2185  ax-11 2200  ax-12 2213  ax-13 2377  ax-ext 2777  ax-sep 4975  ax-nul 4983  ax-pow 5035  ax-pr 5097  ax-un 7183
This theorem depends on definitions:  df-bi 199  df-an 386  df-or 875  df-3an 1110  df-tru 1657  df-ex 1876  df-nf 1880  df-sb 2065  df-mo 2591  df-eu 2609  df-clab 2786  df-cleq 2792  df-clel 2795  df-nfc 2930  df-ral 3094  df-rex 3095  df-rab 3098  df-v 3387  df-sbc 3634  df-dif 3772  df-un 3774  df-in 3776  df-ss 3783  df-nul 4116  df-if 4278  df-pw 4351  df-sn 4369  df-pr 4371  df-op 4375  df-uni 4629  df-br 4844  df-opab 4906  df-mpt 4923  df-id 5220  df-xp 5318  df-rel 5319  df-cnv 5320  df-co 5321  df-dm 5322  df-rn 5323  df-iota 6064  df-fun 6103  df-fn 6104  df-f 6105  df-fv 6109  df-ov 6881  df-oprab 6882  df-mpt2 6883  df-map 8097  df-mgm 17557  df-mgmhm 42578  df-submgm 42579
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator