MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  frgpuptinv Structured version   Visualization version   GIF version

Theorem frgpuptinv 18165
Description: Any assignment of the generators to target elements can be extended (uniquely) to a homomorphism from a free monoid to an arbitrary other monoid. (Contributed by Mario Carneiro, 2-Oct-2015.)
Hypotheses
Ref Expression
frgpup.b 𝐵 = (Base‘𝐻)
frgpup.n 𝑁 = (invg𝐻)
frgpup.t 𝑇 = (𝑦𝐼, 𝑧 ∈ 2𝑜 ↦ if(𝑧 = ∅, (𝐹𝑦), (𝑁‘(𝐹𝑦))))
frgpup.h (𝜑𝐻 ∈ Grp)
frgpup.i (𝜑𝐼𝑉)
frgpup.a (𝜑𝐹:𝐼𝐵)
frgpuptinv.m 𝑀 = (𝑦𝐼, 𝑧 ∈ 2𝑜 ↦ ⟨𝑦, (1𝑜𝑧)⟩)
Assertion
Ref Expression
frgpuptinv ((𝜑𝐴 ∈ (𝐼 × 2𝑜)) → (𝑇‘(𝑀𝐴)) = (𝑁‘(𝑇𝐴)))
Distinct variable groups:   𝑦,𝑧,𝐴   𝑦,𝐹,𝑧   𝑦,𝑁,𝑧   𝑦,𝐵,𝑧   𝜑,𝑦,𝑧   𝑦,𝐼,𝑧
Allowed substitution hints:   𝑇(𝑦,𝑧)   𝐻(𝑦,𝑧)   𝑀(𝑦,𝑧)   𝑉(𝑦,𝑧)

Proof of Theorem frgpuptinv
Dummy variables 𝑎 𝑏 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 elxp2 5122 . . 3 (𝐴 ∈ (𝐼 × 2𝑜) ↔ ∃𝑎𝐼𝑏 ∈ 2𝑜 𝐴 = ⟨𝑎, 𝑏⟩)
2 frgpuptinv.m . . . . . . . . . 10 𝑀 = (𝑦𝐼, 𝑧 ∈ 2𝑜 ↦ ⟨𝑦, (1𝑜𝑧)⟩)
32efgmval 18106 . . . . . . . . 9 ((𝑎𝐼𝑏 ∈ 2𝑜) → (𝑎𝑀𝑏) = ⟨𝑎, (1𝑜𝑏)⟩)
43adantl 482 . . . . . . . 8 ((𝜑 ∧ (𝑎𝐼𝑏 ∈ 2𝑜)) → (𝑎𝑀𝑏) = ⟨𝑎, (1𝑜𝑏)⟩)
54fveq2d 6182 . . . . . . 7 ((𝜑 ∧ (𝑎𝐼𝑏 ∈ 2𝑜)) → (𝑇‘(𝑎𝑀𝑏)) = (𝑇‘⟨𝑎, (1𝑜𝑏)⟩))
6 df-ov 6638 . . . . . . 7 (𝑎𝑇(1𝑜𝑏)) = (𝑇‘⟨𝑎, (1𝑜𝑏)⟩)
75, 6syl6eqr 2672 . . . . . 6 ((𝜑 ∧ (𝑎𝐼𝑏 ∈ 2𝑜)) → (𝑇‘(𝑎𝑀𝑏)) = (𝑎𝑇(1𝑜𝑏)))
8 elpri 4188 . . . . . . . . 9 (𝑏 ∈ {∅, 1𝑜} → (𝑏 = ∅ ∨ 𝑏 = 1𝑜))
9 df2o3 7558 . . . . . . . . 9 2𝑜 = {∅, 1𝑜}
108, 9eleq2s 2717 . . . . . . . 8 (𝑏 ∈ 2𝑜 → (𝑏 = ∅ ∨ 𝑏 = 1𝑜))
11 simpr 477 . . . . . . . . . . . 12 ((𝜑𝑎𝐼) → 𝑎𝐼)
12 1on 7552 . . . . . . . . . . . . . . 15 1𝑜 ∈ On
1312elexi 3208 . . . . . . . . . . . . . 14 1𝑜 ∈ V
1413prid2 4289 . . . . . . . . . . . . 13 1𝑜 ∈ {∅, 1𝑜}
1514, 9eleqtrri 2698 . . . . . . . . . . . 12 1𝑜 ∈ 2𝑜
16 1n0 7560 . . . . . . . . . . . . . . . 16 1𝑜 ≠ ∅
17 neeq1 2853 . . . . . . . . . . . . . . . 16 (𝑧 = 1𝑜 → (𝑧 ≠ ∅ ↔ 1𝑜 ≠ ∅))
1816, 17mpbiri 248 . . . . . . . . . . . . . . 15 (𝑧 = 1𝑜𝑧 ≠ ∅)
19 ifnefalse 4089 . . . . . . . . . . . . . . 15 (𝑧 ≠ ∅ → if(𝑧 = ∅, (𝐹𝑦), (𝑁‘(𝐹𝑦))) = (𝑁‘(𝐹𝑦)))
2018, 19syl 17 . . . . . . . . . . . . . 14 (𝑧 = 1𝑜 → if(𝑧 = ∅, (𝐹𝑦), (𝑁‘(𝐹𝑦))) = (𝑁‘(𝐹𝑦)))
21 fveq2 6178 . . . . . . . . . . . . . . 15 (𝑦 = 𝑎 → (𝐹𝑦) = (𝐹𝑎))
2221fveq2d 6182 . . . . . . . . . . . . . 14 (𝑦 = 𝑎 → (𝑁‘(𝐹𝑦)) = (𝑁‘(𝐹𝑎)))
2320, 22sylan9eqr 2676 . . . . . . . . . . . . 13 ((𝑦 = 𝑎𝑧 = 1𝑜) → if(𝑧 = ∅, (𝐹𝑦), (𝑁‘(𝐹𝑦))) = (𝑁‘(𝐹𝑎)))
24 frgpup.t . . . . . . . . . . . . 13 𝑇 = (𝑦𝐼, 𝑧 ∈ 2𝑜 ↦ if(𝑧 = ∅, (𝐹𝑦), (𝑁‘(𝐹𝑦))))
25 fvex 6188 . . . . . . . . . . . . 13 (𝑁‘(𝐹𝑎)) ∈ V
2623, 24, 25ovmpt2a 6776 . . . . . . . . . . . 12 ((𝑎𝐼 ∧ 1𝑜 ∈ 2𝑜) → (𝑎𝑇1𝑜) = (𝑁‘(𝐹𝑎)))
2711, 15, 26sylancl 693 . . . . . . . . . . 11 ((𝜑𝑎𝐼) → (𝑎𝑇1𝑜) = (𝑁‘(𝐹𝑎)))
28 0ex 4781 . . . . . . . . . . . . . . 15 ∅ ∈ V
2928prid1 4288 . . . . . . . . . . . . . 14 ∅ ∈ {∅, 1𝑜}
3029, 9eleqtrri 2698 . . . . . . . . . . . . 13 ∅ ∈ 2𝑜
31 iftrue 4083 . . . . . . . . . . . . . . 15 (𝑧 = ∅ → if(𝑧 = ∅, (𝐹𝑦), (𝑁‘(𝐹𝑦))) = (𝐹𝑦))
3231, 21sylan9eqr 2676 . . . . . . . . . . . . . 14 ((𝑦 = 𝑎𝑧 = ∅) → if(𝑧 = ∅, (𝐹𝑦), (𝑁‘(𝐹𝑦))) = (𝐹𝑎))
33 fvex 6188 . . . . . . . . . . . . . 14 (𝐹𝑎) ∈ V
3432, 24, 33ovmpt2a 6776 . . . . . . . . . . . . 13 ((𝑎𝐼 ∧ ∅ ∈ 2𝑜) → (𝑎𝑇∅) = (𝐹𝑎))
3511, 30, 34sylancl 693 . . . . . . . . . . . 12 ((𝜑𝑎𝐼) → (𝑎𝑇∅) = (𝐹𝑎))
3635fveq2d 6182 . . . . . . . . . . 11 ((𝜑𝑎𝐼) → (𝑁‘(𝑎𝑇∅)) = (𝑁‘(𝐹𝑎)))
3727, 36eqtr4d 2657 . . . . . . . . . 10 ((𝜑𝑎𝐼) → (𝑎𝑇1𝑜) = (𝑁‘(𝑎𝑇∅)))
38 difeq2 3714 . . . . . . . . . . . . 13 (𝑏 = ∅ → (1𝑜𝑏) = (1𝑜 ∖ ∅))
39 dif0 3941 . . . . . . . . . . . . 13 (1𝑜 ∖ ∅) = 1𝑜
4038, 39syl6eq 2670 . . . . . . . . . . . 12 (𝑏 = ∅ → (1𝑜𝑏) = 1𝑜)
4140oveq2d 6651 . . . . . . . . . . 11 (𝑏 = ∅ → (𝑎𝑇(1𝑜𝑏)) = (𝑎𝑇1𝑜))
42 oveq2 6643 . . . . . . . . . . . 12 (𝑏 = ∅ → (𝑎𝑇𝑏) = (𝑎𝑇∅))
4342fveq2d 6182 . . . . . . . . . . 11 (𝑏 = ∅ → (𝑁‘(𝑎𝑇𝑏)) = (𝑁‘(𝑎𝑇∅)))
4441, 43eqeq12d 2635 . . . . . . . . . 10 (𝑏 = ∅ → ((𝑎𝑇(1𝑜𝑏)) = (𝑁‘(𝑎𝑇𝑏)) ↔ (𝑎𝑇1𝑜) = (𝑁‘(𝑎𝑇∅))))
4537, 44syl5ibrcom 237 . . . . . . . . 9 ((𝜑𝑎𝐼) → (𝑏 = ∅ → (𝑎𝑇(1𝑜𝑏)) = (𝑁‘(𝑎𝑇𝑏))))
4637fveq2d 6182 . . . . . . . . . . 11 ((𝜑𝑎𝐼) → (𝑁‘(𝑎𝑇1𝑜)) = (𝑁‘(𝑁‘(𝑎𝑇∅))))
47 frgpup.h . . . . . . . . . . . . 13 (𝜑𝐻 ∈ Grp)
4847adantr 481 . . . . . . . . . . . 12 ((𝜑𝑎𝐼) → 𝐻 ∈ Grp)
49 frgpup.a . . . . . . . . . . . . . 14 (𝜑𝐹:𝐼𝐵)
5049ffvelrnda 6345 . . . . . . . . . . . . 13 ((𝜑𝑎𝐼) → (𝐹𝑎) ∈ 𝐵)
5135, 50eqeltrd 2699 . . . . . . . . . . . 12 ((𝜑𝑎𝐼) → (𝑎𝑇∅) ∈ 𝐵)
52 frgpup.b . . . . . . . . . . . . 13 𝐵 = (Base‘𝐻)
53 frgpup.n . . . . . . . . . . . . 13 𝑁 = (invg𝐻)
5452, 53grpinvinv 17463 . . . . . . . . . . . 12 ((𝐻 ∈ Grp ∧ (𝑎𝑇∅) ∈ 𝐵) → (𝑁‘(𝑁‘(𝑎𝑇∅))) = (𝑎𝑇∅))
5548, 51, 54syl2anc 692 . . . . . . . . . . 11 ((𝜑𝑎𝐼) → (𝑁‘(𝑁‘(𝑎𝑇∅))) = (𝑎𝑇∅))
5646, 55eqtr2d 2655 . . . . . . . . . 10 ((𝜑𝑎𝐼) → (𝑎𝑇∅) = (𝑁‘(𝑎𝑇1𝑜)))
57 difeq2 3714 . . . . . . . . . . . . 13 (𝑏 = 1𝑜 → (1𝑜𝑏) = (1𝑜 ∖ 1𝑜))
58 difid 3939 . . . . . . . . . . . . 13 (1𝑜 ∖ 1𝑜) = ∅
5957, 58syl6eq 2670 . . . . . . . . . . . 12 (𝑏 = 1𝑜 → (1𝑜𝑏) = ∅)
6059oveq2d 6651 . . . . . . . . . . 11 (𝑏 = 1𝑜 → (𝑎𝑇(1𝑜𝑏)) = (𝑎𝑇∅))
61 oveq2 6643 . . . . . . . . . . . 12 (𝑏 = 1𝑜 → (𝑎𝑇𝑏) = (𝑎𝑇1𝑜))
6261fveq2d 6182 . . . . . . . . . . 11 (𝑏 = 1𝑜 → (𝑁‘(𝑎𝑇𝑏)) = (𝑁‘(𝑎𝑇1𝑜)))
6360, 62eqeq12d 2635 . . . . . . . . . 10 (𝑏 = 1𝑜 → ((𝑎𝑇(1𝑜𝑏)) = (𝑁‘(𝑎𝑇𝑏)) ↔ (𝑎𝑇∅) = (𝑁‘(𝑎𝑇1𝑜))))
6456, 63syl5ibrcom 237 . . . . . . . . 9 ((𝜑𝑎𝐼) → (𝑏 = 1𝑜 → (𝑎𝑇(1𝑜𝑏)) = (𝑁‘(𝑎𝑇𝑏))))
6545, 64jaod 395 . . . . . . . 8 ((𝜑𝑎𝐼) → ((𝑏 = ∅ ∨ 𝑏 = 1𝑜) → (𝑎𝑇(1𝑜𝑏)) = (𝑁‘(𝑎𝑇𝑏))))
6610, 65syl5 34 . . . . . . 7 ((𝜑𝑎𝐼) → (𝑏 ∈ 2𝑜 → (𝑎𝑇(1𝑜𝑏)) = (𝑁‘(𝑎𝑇𝑏))))
6766impr 648 . . . . . 6 ((𝜑 ∧ (𝑎𝐼𝑏 ∈ 2𝑜)) → (𝑎𝑇(1𝑜𝑏)) = (𝑁‘(𝑎𝑇𝑏)))
687, 67eqtrd 2654 . . . . 5 ((𝜑 ∧ (𝑎𝐼𝑏 ∈ 2𝑜)) → (𝑇‘(𝑎𝑀𝑏)) = (𝑁‘(𝑎𝑇𝑏)))
69 fveq2 6178 . . . . . . . 8 (𝐴 = ⟨𝑎, 𝑏⟩ → (𝑀𝐴) = (𝑀‘⟨𝑎, 𝑏⟩))
70 df-ov 6638 . . . . . . . 8 (𝑎𝑀𝑏) = (𝑀‘⟨𝑎, 𝑏⟩)
7169, 70syl6eqr 2672 . . . . . . 7 (𝐴 = ⟨𝑎, 𝑏⟩ → (𝑀𝐴) = (𝑎𝑀𝑏))
7271fveq2d 6182 . . . . . 6 (𝐴 = ⟨𝑎, 𝑏⟩ → (𝑇‘(𝑀𝐴)) = (𝑇‘(𝑎𝑀𝑏)))
73 fveq2 6178 . . . . . . . 8 (𝐴 = ⟨𝑎, 𝑏⟩ → (𝑇𝐴) = (𝑇‘⟨𝑎, 𝑏⟩))
74 df-ov 6638 . . . . . . . 8 (𝑎𝑇𝑏) = (𝑇‘⟨𝑎, 𝑏⟩)
7573, 74syl6eqr 2672 . . . . . . 7 (𝐴 = ⟨𝑎, 𝑏⟩ → (𝑇𝐴) = (𝑎𝑇𝑏))
7675fveq2d 6182 . . . . . 6 (𝐴 = ⟨𝑎, 𝑏⟩ → (𝑁‘(𝑇𝐴)) = (𝑁‘(𝑎𝑇𝑏)))
7772, 76eqeq12d 2635 . . . . 5 (𝐴 = ⟨𝑎, 𝑏⟩ → ((𝑇‘(𝑀𝐴)) = (𝑁‘(𝑇𝐴)) ↔ (𝑇‘(𝑎𝑀𝑏)) = (𝑁‘(𝑎𝑇𝑏))))
7868, 77syl5ibrcom 237 . . . 4 ((𝜑 ∧ (𝑎𝐼𝑏 ∈ 2𝑜)) → (𝐴 = ⟨𝑎, 𝑏⟩ → (𝑇‘(𝑀𝐴)) = (𝑁‘(𝑇𝐴))))
7978rexlimdvva 3034 . . 3 (𝜑 → (∃𝑎𝐼𝑏 ∈ 2𝑜 𝐴 = ⟨𝑎, 𝑏⟩ → (𝑇‘(𝑀𝐴)) = (𝑁‘(𝑇𝐴))))
801, 79syl5bi 232 . 2 (𝜑 → (𝐴 ∈ (𝐼 × 2𝑜) → (𝑇‘(𝑀𝐴)) = (𝑁‘(𝑇𝐴))))
8180imp 445 1 ((𝜑𝐴 ∈ (𝐼 × 2𝑜)) → (𝑇‘(𝑀𝐴)) = (𝑁‘(𝑇𝐴)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wo 383  wa 384   = wceq 1481  wcel 1988  wne 2791  wrex 2910  cdif 3564  c0 3907  ifcif 4077  {cpr 4170  cop 4174   × cxp 5102  Oncon0 5711  wf 5872  cfv 5876  (class class class)co 6635  cmpt2 6637  1𝑜c1o 7538  2𝑜c2o 7539  Basecbs 15838  Grpcgrp 17403  invgcminusg 17404
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1720  ax-4 1735  ax-5 1837  ax-6 1886  ax-7 1933  ax-8 1990  ax-9 1997  ax-10 2017  ax-11 2032  ax-12 2045  ax-13 2244  ax-ext 2600  ax-rep 4762  ax-sep 4772  ax-nul 4780  ax-pow 4834  ax-pr 4897  ax-un 6934
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3or 1037  df-3an 1038  df-tru 1484  df-ex 1703  df-nf 1708  df-sb 1879  df-eu 2472  df-mo 2473  df-clab 2607  df-cleq 2613  df-clel 2616  df-nfc 2751  df-ne 2792  df-ral 2914  df-rex 2915  df-reu 2916  df-rmo 2917  df-rab 2918  df-v 3197  df-sbc 3430  df-csb 3527  df-dif 3570  df-un 3572  df-in 3574  df-ss 3581  df-pss 3583  df-nul 3908  df-if 4078  df-pw 4151  df-sn 4169  df-pr 4171  df-tp 4173  df-op 4175  df-uni 4428  df-iun 4513  df-br 4645  df-opab 4704  df-mpt 4721  df-tr 4744  df-id 5014  df-eprel 5019  df-po 5025  df-so 5026  df-fr 5063  df-we 5065  df-xp 5110  df-rel 5111  df-cnv 5112  df-co 5113  df-dm 5114  df-rn 5115  df-res 5116  df-ima 5117  df-ord 5714  df-on 5715  df-suc 5717  df-iota 5839  df-fun 5878  df-fn 5879  df-f 5880  df-f1 5881  df-fo 5882  df-f1o 5883  df-fv 5884  df-riota 6596  df-ov 6638  df-oprab 6639  df-mpt2 6640  df-1o 7545  df-2o 7546  df-0g 16083  df-mgm 17223  df-sgrp 17265  df-mnd 17276  df-grp 17406  df-minusg 17407
This theorem is referenced by:  frgpuplem  18166
  Copyright terms: Public domain W3C validator