Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
Mirrors > Home > MPE Home > Th. List > frmdup3 | Structured version Visualization version GIF version |
Description: Universal property of the free monoid by existential uniqueness. (Contributed by Mario Carneiro, 2-Oct-2015.) (Revised by Mario Carneiro, 18-Jul-2016.) |
Ref | Expression |
---|---|
frmdup3.m | ⊢ 𝑀 = (freeMnd‘𝐼) |
frmdup3.b | ⊢ 𝐵 = (Base‘𝐺) |
frmdup3.u | ⊢ 𝑈 = (varFMnd‘𝐼) |
Ref | Expression |
---|---|
frmdup3 | ⊢ ((𝐺 ∈ Mnd ∧ 𝐼 ∈ 𝑉 ∧ 𝐴:𝐼⟶𝐵) → ∃!𝑚 ∈ (𝑀 MndHom 𝐺)(𝑚 ∘ 𝑈) = 𝐴) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | frmdup3.m | . . 3 ⊢ 𝑀 = (freeMnd‘𝐼) | |
2 | frmdup3.b | . . 3 ⊢ 𝐵 = (Base‘𝐺) | |
3 | eqid 2740 | . . 3 ⊢ (𝑥 ∈ Word 𝐼 ↦ (𝐺 Σg (𝐴 ∘ 𝑥))) = (𝑥 ∈ Word 𝐼 ↦ (𝐺 Σg (𝐴 ∘ 𝑥))) | |
4 | simp1 1135 | . . 3 ⊢ ((𝐺 ∈ Mnd ∧ 𝐼 ∈ 𝑉 ∧ 𝐴:𝐼⟶𝐵) → 𝐺 ∈ Mnd) | |
5 | simp2 1136 | . . 3 ⊢ ((𝐺 ∈ Mnd ∧ 𝐼 ∈ 𝑉 ∧ 𝐴:𝐼⟶𝐵) → 𝐼 ∈ 𝑉) | |
6 | simp3 1137 | . . 3 ⊢ ((𝐺 ∈ Mnd ∧ 𝐼 ∈ 𝑉 ∧ 𝐴:𝐼⟶𝐵) → 𝐴:𝐼⟶𝐵) | |
7 | 1, 2, 3, 4, 5, 6 | frmdup1 18493 | . 2 ⊢ ((𝐺 ∈ Mnd ∧ 𝐼 ∈ 𝑉 ∧ 𝐴:𝐼⟶𝐵) → (𝑥 ∈ Word 𝐼 ↦ (𝐺 Σg (𝐴 ∘ 𝑥))) ∈ (𝑀 MndHom 𝐺)) |
8 | 4 | adantr 481 | . . . . 5 ⊢ (((𝐺 ∈ Mnd ∧ 𝐼 ∈ 𝑉 ∧ 𝐴:𝐼⟶𝐵) ∧ 𝑦 ∈ 𝐼) → 𝐺 ∈ Mnd) |
9 | 5 | adantr 481 | . . . . 5 ⊢ (((𝐺 ∈ Mnd ∧ 𝐼 ∈ 𝑉 ∧ 𝐴:𝐼⟶𝐵) ∧ 𝑦 ∈ 𝐼) → 𝐼 ∈ 𝑉) |
10 | 6 | adantr 481 | . . . . 5 ⊢ (((𝐺 ∈ Mnd ∧ 𝐼 ∈ 𝑉 ∧ 𝐴:𝐼⟶𝐵) ∧ 𝑦 ∈ 𝐼) → 𝐴:𝐼⟶𝐵) |
11 | frmdup3.u | . . . . 5 ⊢ 𝑈 = (varFMnd‘𝐼) | |
12 | simpr 485 | . . . . 5 ⊢ (((𝐺 ∈ Mnd ∧ 𝐼 ∈ 𝑉 ∧ 𝐴:𝐼⟶𝐵) ∧ 𝑦 ∈ 𝐼) → 𝑦 ∈ 𝐼) | |
13 | 1, 2, 3, 8, 9, 10, 11, 12 | frmdup2 18494 | . . . 4 ⊢ (((𝐺 ∈ Mnd ∧ 𝐼 ∈ 𝑉 ∧ 𝐴:𝐼⟶𝐵) ∧ 𝑦 ∈ 𝐼) → ((𝑥 ∈ Word 𝐼 ↦ (𝐺 Σg (𝐴 ∘ 𝑥)))‘(𝑈‘𝑦)) = (𝐴‘𝑦)) |
14 | 13 | mpteq2dva 5179 | . . 3 ⊢ ((𝐺 ∈ Mnd ∧ 𝐼 ∈ 𝑉 ∧ 𝐴:𝐼⟶𝐵) → (𝑦 ∈ 𝐼 ↦ ((𝑥 ∈ Word 𝐼 ↦ (𝐺 Σg (𝐴 ∘ 𝑥)))‘(𝑈‘𝑦))) = (𝑦 ∈ 𝐼 ↦ (𝐴‘𝑦))) |
15 | eqid 2740 | . . . . . 6 ⊢ (Base‘𝑀) = (Base‘𝑀) | |
16 | 15, 2 | mhmf 18425 | . . . . 5 ⊢ ((𝑥 ∈ Word 𝐼 ↦ (𝐺 Σg (𝐴 ∘ 𝑥))) ∈ (𝑀 MndHom 𝐺) → (𝑥 ∈ Word 𝐼 ↦ (𝐺 Σg (𝐴 ∘ 𝑥))):(Base‘𝑀)⟶𝐵) |
17 | 7, 16 | syl 17 | . . . 4 ⊢ ((𝐺 ∈ Mnd ∧ 𝐼 ∈ 𝑉 ∧ 𝐴:𝐼⟶𝐵) → (𝑥 ∈ Word 𝐼 ↦ (𝐺 Σg (𝐴 ∘ 𝑥))):(Base‘𝑀)⟶𝐵) |
18 | 11 | vrmdf 18487 | . . . . . 6 ⊢ (𝐼 ∈ 𝑉 → 𝑈:𝐼⟶Word 𝐼) |
19 | 18 | 3ad2ant2 1133 | . . . . 5 ⊢ ((𝐺 ∈ Mnd ∧ 𝐼 ∈ 𝑉 ∧ 𝐴:𝐼⟶𝐵) → 𝑈:𝐼⟶Word 𝐼) |
20 | 1, 15 | frmdbas 18481 | . . . . . . 7 ⊢ (𝐼 ∈ 𝑉 → (Base‘𝑀) = Word 𝐼) |
21 | 20 | 3ad2ant2 1133 | . . . . . 6 ⊢ ((𝐺 ∈ Mnd ∧ 𝐼 ∈ 𝑉 ∧ 𝐴:𝐼⟶𝐵) → (Base‘𝑀) = Word 𝐼) |
22 | 21 | feq3d 6584 | . . . . 5 ⊢ ((𝐺 ∈ Mnd ∧ 𝐼 ∈ 𝑉 ∧ 𝐴:𝐼⟶𝐵) → (𝑈:𝐼⟶(Base‘𝑀) ↔ 𝑈:𝐼⟶Word 𝐼)) |
23 | 19, 22 | mpbird 256 | . . . 4 ⊢ ((𝐺 ∈ Mnd ∧ 𝐼 ∈ 𝑉 ∧ 𝐴:𝐼⟶𝐵) → 𝑈:𝐼⟶(Base‘𝑀)) |
24 | fcompt 7000 | . . . 4 ⊢ (((𝑥 ∈ Word 𝐼 ↦ (𝐺 Σg (𝐴 ∘ 𝑥))):(Base‘𝑀)⟶𝐵 ∧ 𝑈:𝐼⟶(Base‘𝑀)) → ((𝑥 ∈ Word 𝐼 ↦ (𝐺 Σg (𝐴 ∘ 𝑥))) ∘ 𝑈) = (𝑦 ∈ 𝐼 ↦ ((𝑥 ∈ Word 𝐼 ↦ (𝐺 Σg (𝐴 ∘ 𝑥)))‘(𝑈‘𝑦)))) | |
25 | 17, 23, 24 | syl2anc 584 | . . 3 ⊢ ((𝐺 ∈ Mnd ∧ 𝐼 ∈ 𝑉 ∧ 𝐴:𝐼⟶𝐵) → ((𝑥 ∈ Word 𝐼 ↦ (𝐺 Σg (𝐴 ∘ 𝑥))) ∘ 𝑈) = (𝑦 ∈ 𝐼 ↦ ((𝑥 ∈ Word 𝐼 ↦ (𝐺 Σg (𝐴 ∘ 𝑥)))‘(𝑈‘𝑦)))) |
26 | 6 | feqmptd 6832 | . . 3 ⊢ ((𝐺 ∈ Mnd ∧ 𝐼 ∈ 𝑉 ∧ 𝐴:𝐼⟶𝐵) → 𝐴 = (𝑦 ∈ 𝐼 ↦ (𝐴‘𝑦))) |
27 | 14, 25, 26 | 3eqtr4d 2790 | . 2 ⊢ ((𝐺 ∈ Mnd ∧ 𝐼 ∈ 𝑉 ∧ 𝐴:𝐼⟶𝐵) → ((𝑥 ∈ Word 𝐼 ↦ (𝐺 Σg (𝐴 ∘ 𝑥))) ∘ 𝑈) = 𝐴) |
28 | 1, 2, 11 | frmdup3lem 18495 | . . . 4 ⊢ (((𝐺 ∈ Mnd ∧ 𝐼 ∈ 𝑉 ∧ 𝐴:𝐼⟶𝐵) ∧ (𝑚 ∈ (𝑀 MndHom 𝐺) ∧ (𝑚 ∘ 𝑈) = 𝐴)) → 𝑚 = (𝑥 ∈ Word 𝐼 ↦ (𝐺 Σg (𝐴 ∘ 𝑥)))) |
29 | 28 | expr 457 | . . 3 ⊢ (((𝐺 ∈ Mnd ∧ 𝐼 ∈ 𝑉 ∧ 𝐴:𝐼⟶𝐵) ∧ 𝑚 ∈ (𝑀 MndHom 𝐺)) → ((𝑚 ∘ 𝑈) = 𝐴 → 𝑚 = (𝑥 ∈ Word 𝐼 ↦ (𝐺 Σg (𝐴 ∘ 𝑥))))) |
30 | 29 | ralrimiva 3110 | . 2 ⊢ ((𝐺 ∈ Mnd ∧ 𝐼 ∈ 𝑉 ∧ 𝐴:𝐼⟶𝐵) → ∀𝑚 ∈ (𝑀 MndHom 𝐺)((𝑚 ∘ 𝑈) = 𝐴 → 𝑚 = (𝑥 ∈ Word 𝐼 ↦ (𝐺 Σg (𝐴 ∘ 𝑥))))) |
31 | coeq1 5764 | . . . 4 ⊢ (𝑚 = (𝑥 ∈ Word 𝐼 ↦ (𝐺 Σg (𝐴 ∘ 𝑥))) → (𝑚 ∘ 𝑈) = ((𝑥 ∈ Word 𝐼 ↦ (𝐺 Σg (𝐴 ∘ 𝑥))) ∘ 𝑈)) | |
32 | 31 | eqeq1d 2742 | . . 3 ⊢ (𝑚 = (𝑥 ∈ Word 𝐼 ↦ (𝐺 Σg (𝐴 ∘ 𝑥))) → ((𝑚 ∘ 𝑈) = 𝐴 ↔ ((𝑥 ∈ Word 𝐼 ↦ (𝐺 Σg (𝐴 ∘ 𝑥))) ∘ 𝑈) = 𝐴)) |
33 | 32 | eqreu 3668 | . 2 ⊢ (((𝑥 ∈ Word 𝐼 ↦ (𝐺 Σg (𝐴 ∘ 𝑥))) ∈ (𝑀 MndHom 𝐺) ∧ ((𝑥 ∈ Word 𝐼 ↦ (𝐺 Σg (𝐴 ∘ 𝑥))) ∘ 𝑈) = 𝐴 ∧ ∀𝑚 ∈ (𝑀 MndHom 𝐺)((𝑚 ∘ 𝑈) = 𝐴 → 𝑚 = (𝑥 ∈ Word 𝐼 ↦ (𝐺 Σg (𝐴 ∘ 𝑥))))) → ∃!𝑚 ∈ (𝑀 MndHom 𝐺)(𝑚 ∘ 𝑈) = 𝐴) |
34 | 7, 27, 30, 33 | syl3anc 1370 | 1 ⊢ ((𝐺 ∈ Mnd ∧ 𝐼 ∈ 𝑉 ∧ 𝐴:𝐼⟶𝐵) → ∃!𝑚 ∈ (𝑀 MndHom 𝐺)(𝑚 ∘ 𝑈) = 𝐴) |
Colors of variables: wff setvar class |
Syntax hints: → wi 4 ∧ wa 396 ∧ w3a 1086 = wceq 1542 ∈ wcel 2110 ∀wral 3066 ∃!wreu 3068 ↦ cmpt 5162 ∘ ccom 5593 ⟶wf 6427 ‘cfv 6431 (class class class)co 7269 Word cword 14207 Basecbs 16902 Σg cgsu 17141 Mndcmnd 18375 MndHom cmhm 18418 freeMndcfrmd 18476 varFMndcvrmd 18477 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1802 ax-4 1816 ax-5 1917 ax-6 1975 ax-7 2015 ax-8 2112 ax-9 2120 ax-10 2141 ax-11 2158 ax-12 2175 ax-ext 2711 ax-rep 5214 ax-sep 5227 ax-nul 5234 ax-pow 5292 ax-pr 5356 ax-un 7580 ax-cnex 10920 ax-resscn 10921 ax-1cn 10922 ax-icn 10923 ax-addcl 10924 ax-addrcl 10925 ax-mulcl 10926 ax-mulrcl 10927 ax-mulcom 10928 ax-addass 10929 ax-mulass 10930 ax-distr 10931 ax-i2m1 10932 ax-1ne0 10933 ax-1rid 10934 ax-rnegex 10935 ax-rrecex 10936 ax-cnre 10937 ax-pre-lttri 10938 ax-pre-lttrn 10939 ax-pre-ltadd 10940 ax-pre-mulgt0 10941 |
This theorem depends on definitions: df-bi 206 df-an 397 df-or 845 df-3or 1087 df-3an 1088 df-tru 1545 df-fal 1555 df-ex 1787 df-nf 1791 df-sb 2072 df-mo 2542 df-eu 2571 df-clab 2718 df-cleq 2732 df-clel 2818 df-nfc 2891 df-ne 2946 df-nel 3052 df-ral 3071 df-rex 3072 df-reu 3073 df-rmo 3074 df-rab 3075 df-v 3433 df-sbc 3721 df-csb 3838 df-dif 3895 df-un 3897 df-in 3899 df-ss 3909 df-pss 3911 df-nul 4263 df-if 4466 df-pw 4541 df-sn 4568 df-pr 4570 df-tp 4572 df-op 4574 df-uni 4846 df-int 4886 df-iun 4932 df-br 5080 df-opab 5142 df-mpt 5163 df-tr 5197 df-id 5489 df-eprel 5495 df-po 5503 df-so 5504 df-fr 5544 df-we 5546 df-xp 5595 df-rel 5596 df-cnv 5597 df-co 5598 df-dm 5599 df-rn 5600 df-res 5601 df-ima 5602 df-pred 6200 df-ord 6267 df-on 6268 df-lim 6269 df-suc 6270 df-iota 6389 df-fun 6433 df-fn 6434 df-f 6435 df-f1 6436 df-fo 6437 df-f1o 6438 df-fv 6439 df-riota 7226 df-ov 7272 df-oprab 7273 df-mpo 7274 df-om 7702 df-1st 7818 df-2nd 7819 df-frecs 8082 df-wrecs 8113 df-recs 8187 df-rdg 8226 df-1o 8282 df-er 8473 df-map 8592 df-en 8709 df-dom 8710 df-sdom 8711 df-fin 8712 df-card 9690 df-pnf 11004 df-mnf 11005 df-xr 11006 df-ltxr 11007 df-le 11008 df-sub 11199 df-neg 11200 df-nn 11966 df-2 12028 df-n0 12226 df-xnn0 12298 df-z 12312 df-uz 12574 df-fz 13231 df-fzo 13374 df-seq 13712 df-hash 14035 df-word 14208 df-lsw 14256 df-concat 14264 df-s1 14291 df-substr 14344 df-pfx 14374 df-struct 16838 df-sets 16855 df-slot 16873 df-ndx 16885 df-base 16903 df-ress 16932 df-plusg 16965 df-0g 17142 df-gsum 17143 df-mgm 18316 df-sgrp 18365 df-mnd 18376 df-mhm 18420 df-submnd 18421 df-frmd 18478 df-vrmd 18479 |
This theorem is referenced by: (None) |
Copyright terms: Public domain | W3C validator |