Users' Mathboxes Mathbox for Thierry Arnoux < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  cycpmco2 Structured version   Visualization version   GIF version

Theorem cycpmco2 31302
Description: The composition of a cyclic permutation and a transposition of one element in the cycle and one outside the cycle results in a cyclic permutation with one more element in its orbit. (Contributed by Thierry Arnoux, 2-Jan-2024.)
Hypotheses
Ref Expression
cycpmco2.c 𝑀 = (toCyc‘𝐷)
cycpmco2.s 𝑆 = (SymGrp‘𝐷)
cycpmco2.d (𝜑𝐷𝑉)
cycpmco2.w (𝜑𝑊 ∈ dom 𝑀)
cycpmco2.i (𝜑𝐼 ∈ (𝐷 ∖ ran 𝑊))
cycpmco2.j (𝜑𝐽 ∈ ran 𝑊)
cycpmco2.e 𝐸 = ((𝑊𝐽) + 1)
cycpmco2.1 𝑈 = (𝑊 splice ⟨𝐸, 𝐸, ⟨“𝐼”⟩⟩)
Assertion
Ref Expression
cycpmco2 (𝜑 → ((𝑀𝑊) ∘ (𝑀‘⟨“𝐼𝐽”⟩)) = (𝑀𝑈))

Proof of Theorem cycpmco2
Dummy variables 𝑖 𝑤 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 cycpmco2.d . . . . . . 7 (𝜑𝐷𝑉)
2 cycpmco2.c . . . . . . . 8 𝑀 = (toCyc‘𝐷)
3 cycpmco2.s . . . . . . . 8 𝑆 = (SymGrp‘𝐷)
4 eqid 2738 . . . . . . . 8 (Base‘𝑆) = (Base‘𝑆)
52, 3, 4tocycf 31286 . . . . . . 7 (𝐷𝑉𝑀:{𝑤 ∈ Word 𝐷𝑤:dom 𝑤1-1𝐷}⟶(Base‘𝑆))
61, 5syl 17 . . . . . 6 (𝜑𝑀:{𝑤 ∈ Word 𝐷𝑤:dom 𝑤1-1𝐷}⟶(Base‘𝑆))
7 cycpmco2.w . . . . . . 7 (𝜑𝑊 ∈ dom 𝑀)
86fdmd 6595 . . . . . . 7 (𝜑 → dom 𝑀 = {𝑤 ∈ Word 𝐷𝑤:dom 𝑤1-1𝐷})
97, 8eleqtrd 2841 . . . . . 6 (𝜑𝑊 ∈ {𝑤 ∈ Word 𝐷𝑤:dom 𝑤1-1𝐷})
106, 9ffvelrnd 6944 . . . . 5 (𝜑 → (𝑀𝑊) ∈ (Base‘𝑆))
113, 4symgbasf 18898 . . . . 5 ((𝑀𝑊) ∈ (Base‘𝑆) → (𝑀𝑊):𝐷𝐷)
1210, 11syl 17 . . . 4 (𝜑 → (𝑀𝑊):𝐷𝐷)
1312ffnd 6585 . . 3 (𝜑 → (𝑀𝑊) Fn 𝐷)
14 cycpmco2.i . . . . . . 7 (𝜑𝐼 ∈ (𝐷 ∖ ran 𝑊))
1514eldifad 3895 . . . . . 6 (𝜑𝐼𝐷)
16 ssrab2 4009 . . . . . . . . . . 11 {𝑤 ∈ Word 𝐷𝑤:dom 𝑤1-1𝐷} ⊆ Word 𝐷
1716, 9sselid 3915 . . . . . . . . . 10 (𝜑𝑊 ∈ Word 𝐷)
18 id 22 . . . . . . . . . . . . 13 (𝑤 = 𝑊𝑤 = 𝑊)
19 dmeq 5801 . . . . . . . . . . . . 13 (𝑤 = 𝑊 → dom 𝑤 = dom 𝑊)
20 eqidd 2739 . . . . . . . . . . . . 13 (𝑤 = 𝑊𝐷 = 𝐷)
2118, 19, 20f1eq123d 6692 . . . . . . . . . . . 12 (𝑤 = 𝑊 → (𝑤:dom 𝑤1-1𝐷𝑊:dom 𝑊1-1𝐷))
2221elrab3 3618 . . . . . . . . . . 11 (𝑊 ∈ Word 𝐷 → (𝑊 ∈ {𝑤 ∈ Word 𝐷𝑤:dom 𝑤1-1𝐷} ↔ 𝑊:dom 𝑊1-1𝐷))
2322biimpa 476 . . . . . . . . . 10 ((𝑊 ∈ Word 𝐷𝑊 ∈ {𝑤 ∈ Word 𝐷𝑤:dom 𝑤1-1𝐷}) → 𝑊:dom 𝑊1-1𝐷)
2417, 9, 23syl2anc 583 . . . . . . . . 9 (𝜑𝑊:dom 𝑊1-1𝐷)
25 f1f 6654 . . . . . . . . 9 (𝑊:dom 𝑊1-1𝐷𝑊:dom 𝑊𝐷)
2624, 25syl 17 . . . . . . . 8 (𝜑𝑊:dom 𝑊𝐷)
2726frnd 6592 . . . . . . 7 (𝜑 → ran 𝑊𝐷)
28 cycpmco2.j . . . . . . 7 (𝜑𝐽 ∈ ran 𝑊)
2927, 28sseldd 3918 . . . . . 6 (𝜑𝐽𝐷)
3014eldifbd 3896 . . . . . . . 8 (𝜑 → ¬ 𝐼 ∈ ran 𝑊)
31 nelne2 3041 . . . . . . . 8 ((𝐽 ∈ ran 𝑊 ∧ ¬ 𝐼 ∈ ran 𝑊) → 𝐽𝐼)
3228, 30, 31syl2anc 583 . . . . . . 7 (𝜑𝐽𝐼)
3332necomd 2998 . . . . . 6 (𝜑𝐼𝐽)
342, 1, 15, 29, 33, 3cycpm2cl 31289 . . . . 5 (𝜑 → (𝑀‘⟨“𝐼𝐽”⟩) ∈ (Base‘𝑆))
353, 4symgbasf 18898 . . . . 5 ((𝑀‘⟨“𝐼𝐽”⟩) ∈ (Base‘𝑆) → (𝑀‘⟨“𝐼𝐽”⟩):𝐷𝐷)
3634, 35syl 17 . . . 4 (𝜑 → (𝑀‘⟨“𝐼𝐽”⟩):𝐷𝐷)
3736ffnd 6585 . . 3 (𝜑 → (𝑀‘⟨“𝐼𝐽”⟩) Fn 𝐷)
3836frnd 6592 . . 3 (𝜑 → ran (𝑀‘⟨“𝐼𝐽”⟩) ⊆ 𝐷)
39 fnco 6533 . . 3 (((𝑀𝑊) Fn 𝐷 ∧ (𝑀‘⟨“𝐼𝐽”⟩) Fn 𝐷 ∧ ran (𝑀‘⟨“𝐼𝐽”⟩) ⊆ 𝐷) → ((𝑀𝑊) ∘ (𝑀‘⟨“𝐼𝐽”⟩)) Fn 𝐷)
4013, 37, 38, 39syl3anc 1369 . 2 (𝜑 → ((𝑀𝑊) ∘ (𝑀‘⟨“𝐼𝐽”⟩)) Fn 𝐷)
41 cycpmco2.1 . . . . . 6 𝑈 = (𝑊 splice ⟨𝐸, 𝐸, ⟨“𝐼”⟩⟩)
4215s1cld 14236 . . . . . . 7 (𝜑 → ⟨“𝐼”⟩ ∈ Word 𝐷)
43 splcl 14393 . . . . . . 7 ((𝑊 ∈ Word 𝐷 ∧ ⟨“𝐼”⟩ ∈ Word 𝐷) → (𝑊 splice ⟨𝐸, 𝐸, ⟨“𝐼”⟩⟩) ∈ Word 𝐷)
4417, 42, 43syl2anc 583 . . . . . 6 (𝜑 → (𝑊 splice ⟨𝐸, 𝐸, ⟨“𝐼”⟩⟩) ∈ Word 𝐷)
4541, 44eqeltrid 2843 . . . . 5 (𝜑𝑈 ∈ Word 𝐷)
46 cycpmco2.e . . . . . 6 𝐸 = ((𝑊𝐽) + 1)
472, 3, 1, 7, 14, 28, 46, 41cycpmco2f1 31293 . . . . 5 (𝜑𝑈:dom 𝑈1-1𝐷)
482, 1, 45, 47, 3cycpmcl 31285 . . . 4 (𝜑 → (𝑀𝑈) ∈ (Base‘𝑆))
493, 4symgbasf 18898 . . . 4 ((𝑀𝑈) ∈ (Base‘𝑆) → (𝑀𝑈):𝐷𝐷)
5048, 49syl 17 . . 3 (𝜑 → (𝑀𝑈):𝐷𝐷)
5150ffnd 6585 . 2 (𝜑 → (𝑀𝑈) Fn 𝐷)
52 fvco3 6849 . . . 4 (((𝑀‘⟨“𝐼𝐽”⟩):𝐷𝐷𝑖𝐷) → (((𝑀𝑊) ∘ (𝑀‘⟨“𝐼𝐽”⟩))‘𝑖) = ((𝑀𝑊)‘((𝑀‘⟨“𝐼𝐽”⟩)‘𝑖)))
5336, 52sylan 579 . . 3 ((𝜑𝑖𝐷) → (((𝑀𝑊) ∘ (𝑀‘⟨“𝐼𝐽”⟩))‘𝑖) = ((𝑀𝑊)‘((𝑀‘⟨“𝐼𝐽”⟩)‘𝑖)))
542, 1, 15, 29, 33, 3cyc2fv2 31291 . . . . . . . . . 10 (𝜑 → ((𝑀‘⟨“𝐼𝐽”⟩)‘𝐽) = 𝐼)
5554fveq2d 6760 . . . . . . . . 9 (𝜑 → ((𝑀𝑊)‘((𝑀‘⟨“𝐼𝐽”⟩)‘𝐽)) = ((𝑀𝑊)‘𝐼))
562, 3, 1, 7, 14, 28, 46, 41cycpmco2lem2 31296 . . . . . . . . . 10 (𝜑 → (𝑈𝐸) = 𝐼)
57 f1cnv 6723 . . . . . . . . . . . . . . . 16 (𝑊:dom 𝑊1-1𝐷𝑊:ran 𝑊1-1-onto→dom 𝑊)
58 f1of 6700 . . . . . . . . . . . . . . . 16 (𝑊:ran 𝑊1-1-onto→dom 𝑊𝑊:ran 𝑊⟶dom 𝑊)
5924, 57, 583syl 18 . . . . . . . . . . . . . . 15 (𝜑𝑊:ran 𝑊⟶dom 𝑊)
6059, 28ffvelrnd 6944 . . . . . . . . . . . . . 14 (𝜑 → (𝑊𝐽) ∈ dom 𝑊)
61 wrddm 14152 . . . . . . . . . . . . . . 15 (𝑊 ∈ Word 𝐷 → dom 𝑊 = (0..^(♯‘𝑊)))
6217, 61syl 17 . . . . . . . . . . . . . 14 (𝜑 → dom 𝑊 = (0..^(♯‘𝑊)))
6360, 62eleqtrd 2841 . . . . . . . . . . . . 13 (𝜑 → (𝑊𝐽) ∈ (0..^(♯‘𝑊)))
64 lencl 14164 . . . . . . . . . . . . . . . . 17 (𝑊 ∈ Word 𝐷 → (♯‘𝑊) ∈ ℕ0)
6517, 64syl 17 . . . . . . . . . . . . . . . 16 (𝜑 → (♯‘𝑊) ∈ ℕ0)
6665nn0cnd 12225 . . . . . . . . . . . . . . 15 (𝜑 → (♯‘𝑊) ∈ ℂ)
67 1cnd 10901 . . . . . . . . . . . . . . 15 (𝜑 → 1 ∈ ℂ)
68 ovexd 7290 . . . . . . . . . . . . . . . . . . . . . 22 (𝜑 → ((𝑊𝐽) + 1) ∈ V)
6946, 68eqeltrid 2843 . . . . . . . . . . . . . . . . . . . . 21 (𝜑𝐸 ∈ V)
70 splval 14392 . . . . . . . . . . . . . . . . . . . . 21 ((𝑊 ∈ dom 𝑀 ∧ (𝐸 ∈ V ∧ 𝐸 ∈ V ∧ ⟨“𝐼”⟩ ∈ Word 𝐷)) → (𝑊 splice ⟨𝐸, 𝐸, ⟨“𝐼”⟩⟩) = (((𝑊 prefix 𝐸) ++ ⟨“𝐼”⟩) ++ (𝑊 substr ⟨𝐸, (♯‘𝑊)⟩)))
717, 69, 69, 42, 70syl13anc 1370 . . . . . . . . . . . . . . . . . . . 20 (𝜑 → (𝑊 splice ⟨𝐸, 𝐸, ⟨“𝐼”⟩⟩) = (((𝑊 prefix 𝐸) ++ ⟨“𝐼”⟩) ++ (𝑊 substr ⟨𝐸, (♯‘𝑊)⟩)))
7241, 71syl5eq 2791 . . . . . . . . . . . . . . . . . . 19 (𝜑𝑈 = (((𝑊 prefix 𝐸) ++ ⟨“𝐼”⟩) ++ (𝑊 substr ⟨𝐸, (♯‘𝑊)⟩)))
7372fveq2d 6760 . . . . . . . . . . . . . . . . . 18 (𝜑 → (♯‘𝑈) = (♯‘(((𝑊 prefix 𝐸) ++ ⟨“𝐼”⟩) ++ (𝑊 substr ⟨𝐸, (♯‘𝑊)⟩))))
74 pfxcl 14318 . . . . . . . . . . . . . . . . . . . . 21 (𝑊 ∈ Word 𝐷 → (𝑊 prefix 𝐸) ∈ Word 𝐷)
7517, 74syl 17 . . . . . . . . . . . . . . . . . . . 20 (𝜑 → (𝑊 prefix 𝐸) ∈ Word 𝐷)
76 ccatcl 14205 . . . . . . . . . . . . . . . . . . . 20 (((𝑊 prefix 𝐸) ∈ Word 𝐷 ∧ ⟨“𝐼”⟩ ∈ Word 𝐷) → ((𝑊 prefix 𝐸) ++ ⟨“𝐼”⟩) ∈ Word 𝐷)
7775, 42, 76syl2anc 583 . . . . . . . . . . . . . . . . . . 19 (𝜑 → ((𝑊 prefix 𝐸) ++ ⟨“𝐼”⟩) ∈ Word 𝐷)
78 swrdcl 14286 . . . . . . . . . . . . . . . . . . . 20 (𝑊 ∈ Word 𝐷 → (𝑊 substr ⟨𝐸, (♯‘𝑊)⟩) ∈ Word 𝐷)
7917, 78syl 17 . . . . . . . . . . . . . . . . . . 19 (𝜑 → (𝑊 substr ⟨𝐸, (♯‘𝑊)⟩) ∈ Word 𝐷)
80 ccatlen 14206 . . . . . . . . . . . . . . . . . . 19 ((((𝑊 prefix 𝐸) ++ ⟨“𝐼”⟩) ∈ Word 𝐷 ∧ (𝑊 substr ⟨𝐸, (♯‘𝑊)⟩) ∈ Word 𝐷) → (♯‘(((𝑊 prefix 𝐸) ++ ⟨“𝐼”⟩) ++ (𝑊 substr ⟨𝐸, (♯‘𝑊)⟩))) = ((♯‘((𝑊 prefix 𝐸) ++ ⟨“𝐼”⟩)) + (♯‘(𝑊 substr ⟨𝐸, (♯‘𝑊)⟩))))
8177, 79, 80syl2anc 583 . . . . . . . . . . . . . . . . . 18 (𝜑 → (♯‘(((𝑊 prefix 𝐸) ++ ⟨“𝐼”⟩) ++ (𝑊 substr ⟨𝐸, (♯‘𝑊)⟩))) = ((♯‘((𝑊 prefix 𝐸) ++ ⟨“𝐼”⟩)) + (♯‘(𝑊 substr ⟨𝐸, (♯‘𝑊)⟩))))
82 ccatws1len 14253 . . . . . . . . . . . . . . . . . . . . 21 ((𝑊 prefix 𝐸) ∈ Word 𝐷 → (♯‘((𝑊 prefix 𝐸) ++ ⟨“𝐼”⟩)) = ((♯‘(𝑊 prefix 𝐸)) + 1))
8317, 74, 823syl 18 . . . . . . . . . . . . . . . . . . . 20 (𝜑 → (♯‘((𝑊 prefix 𝐸) ++ ⟨“𝐼”⟩)) = ((♯‘(𝑊 prefix 𝐸)) + 1))
84 fzofzp1 13412 . . . . . . . . . . . . . . . . . . . . . . . 24 ((𝑊𝐽) ∈ (0..^(♯‘𝑊)) → ((𝑊𝐽) + 1) ∈ (0...(♯‘𝑊)))
8563, 84syl 17 . . . . . . . . . . . . . . . . . . . . . . 23 (𝜑 → ((𝑊𝐽) + 1) ∈ (0...(♯‘𝑊)))
8646, 85eqeltrid 2843 . . . . . . . . . . . . . . . . . . . . . 22 (𝜑𝐸 ∈ (0...(♯‘𝑊)))
87 pfxlen 14324 . . . . . . . . . . . . . . . . . . . . . 22 ((𝑊 ∈ Word 𝐷𝐸 ∈ (0...(♯‘𝑊))) → (♯‘(𝑊 prefix 𝐸)) = 𝐸)
8817, 86, 87syl2anc 583 . . . . . . . . . . . . . . . . . . . . 21 (𝜑 → (♯‘(𝑊 prefix 𝐸)) = 𝐸)
8988oveq1d 7270 . . . . . . . . . . . . . . . . . . . 20 (𝜑 → ((♯‘(𝑊 prefix 𝐸)) + 1) = (𝐸 + 1))
9083, 89eqtrd 2778 . . . . . . . . . . . . . . . . . . 19 (𝜑 → (♯‘((𝑊 prefix 𝐸) ++ ⟨“𝐼”⟩)) = (𝐸 + 1))
91 nn0fz0 13283 . . . . . . . . . . . . . . . . . . . . 21 ((♯‘𝑊) ∈ ℕ0 ↔ (♯‘𝑊) ∈ (0...(♯‘𝑊)))
9265, 91sylib 217 . . . . . . . . . . . . . . . . . . . 20 (𝜑 → (♯‘𝑊) ∈ (0...(♯‘𝑊)))
93 swrdlen 14288 . . . . . . . . . . . . . . . . . . . 20 ((𝑊 ∈ Word 𝐷𝐸 ∈ (0...(♯‘𝑊)) ∧ (♯‘𝑊) ∈ (0...(♯‘𝑊))) → (♯‘(𝑊 substr ⟨𝐸, (♯‘𝑊)⟩)) = ((♯‘𝑊) − 𝐸))
9417, 86, 92, 93syl3anc 1369 . . . . . . . . . . . . . . . . . . 19 (𝜑 → (♯‘(𝑊 substr ⟨𝐸, (♯‘𝑊)⟩)) = ((♯‘𝑊) − 𝐸))
9590, 94oveq12d 7273 . . . . . . . . . . . . . . . . . 18 (𝜑 → ((♯‘((𝑊 prefix 𝐸) ++ ⟨“𝐼”⟩)) + (♯‘(𝑊 substr ⟨𝐸, (♯‘𝑊)⟩))) = ((𝐸 + 1) + ((♯‘𝑊) − 𝐸)))
9673, 81, 953eqtrd 2782 . . . . . . . . . . . . . . . . 17 (𝜑 → (♯‘𝑈) = ((𝐸 + 1) + ((♯‘𝑊) − 𝐸)))
97 fz0ssnn0 13280 . . . . . . . . . . . . . . . . . . . . . 22 (0...(♯‘𝑊)) ⊆ ℕ0
9897, 86sselid 3915 . . . . . . . . . . . . . . . . . . . . 21 (𝜑𝐸 ∈ ℕ0)
9998nn0zd 12353 . . . . . . . . . . . . . . . . . . . 20 (𝜑𝐸 ∈ ℤ)
10099peano2zd 12358 . . . . . . . . . . . . . . . . . . 19 (𝜑 → (𝐸 + 1) ∈ ℤ)
101100zcnd 12356 . . . . . . . . . . . . . . . . . 18 (𝜑 → (𝐸 + 1) ∈ ℂ)
10298nn0cnd 12225 . . . . . . . . . . . . . . . . . 18 (𝜑𝐸 ∈ ℂ)
103101, 66, 102addsubassd 11282 . . . . . . . . . . . . . . . . 17 (𝜑 → (((𝐸 + 1) + (♯‘𝑊)) − 𝐸) = ((𝐸 + 1) + ((♯‘𝑊) − 𝐸)))
104102, 67, 66addassd 10928 . . . . . . . . . . . . . . . . . 18 (𝜑 → ((𝐸 + 1) + (♯‘𝑊)) = (𝐸 + (1 + (♯‘𝑊))))
105104oveq1d 7270 . . . . . . . . . . . . . . . . 17 (𝜑 → (((𝐸 + 1) + (♯‘𝑊)) − 𝐸) = ((𝐸 + (1 + (♯‘𝑊))) − 𝐸))
10696, 103, 1053eqtr2d 2784 . . . . . . . . . . . . . . . 16 (𝜑 → (♯‘𝑈) = ((𝐸 + (1 + (♯‘𝑊))) − 𝐸))
10767, 66addcld 10925 . . . . . . . . . . . . . . . . 17 (𝜑 → (1 + (♯‘𝑊)) ∈ ℂ)
108102, 107pncan2d 11264 . . . . . . . . . . . . . . . 16 (𝜑 → ((𝐸 + (1 + (♯‘𝑊))) − 𝐸) = (1 + (♯‘𝑊)))
10967, 66addcomd 11107 . . . . . . . . . . . . . . . 16 (𝜑 → (1 + (♯‘𝑊)) = ((♯‘𝑊) + 1))
110106, 108, 1093eqtrd 2782 . . . . . . . . . . . . . . 15 (𝜑 → (♯‘𝑈) = ((♯‘𝑊) + 1))
11166, 67, 110mvrraddd 11317 . . . . . . . . . . . . . 14 (𝜑 → ((♯‘𝑈) − 1) = (♯‘𝑊))
112111oveq2d 7271 . . . . . . . . . . . . 13 (𝜑 → (0..^((♯‘𝑈) − 1)) = (0..^(♯‘𝑊)))
11363, 112eleqtrrd 2842 . . . . . . . . . . . 12 (𝜑 → (𝑊𝐽) ∈ (0..^((♯‘𝑈) − 1)))
1142, 1, 45, 47, 113cycpmfv1 31282 . . . . . . . . . . 11 (𝜑 → ((𝑀𝑈)‘(𝑈‘(𝑊𝐽))) = (𝑈‘((𝑊𝐽) + 1)))
11546fveq2i 6759 . . . . . . . . . . 11 (𝑈𝐸) = (𝑈‘((𝑊𝐽) + 1))
116114, 115eqtr4di 2797 . . . . . . . . . 10 (𝜑 → ((𝑀𝑈)‘(𝑈‘(𝑊𝐽))) = (𝑈𝐸))
1172, 1, 17, 24, 15, 30cycpmfv3 31284 . . . . . . . . . 10 (𝜑 → ((𝑀𝑊)‘𝐼) = 𝐼)
11856, 116, 1173eqtr4d 2788 . . . . . . . . 9 (𝜑 → ((𝑀𝑈)‘(𝑈‘(𝑊𝐽))) = ((𝑀𝑊)‘𝐼))
11972fveq1d 6758 . . . . . . . . . . . 12 (𝜑 → (𝑈‘(𝑊𝐽)) = ((((𝑊 prefix 𝐸) ++ ⟨“𝐼”⟩) ++ (𝑊 substr ⟨𝐸, (♯‘𝑊)⟩))‘(𝑊𝐽)))
120 fzossfzop1 13393 . . . . . . . . . . . . . . . 16 (𝐸 ∈ ℕ0 → (0..^𝐸) ⊆ (0..^(𝐸 + 1)))
12198, 120syl 17 . . . . . . . . . . . . . . 15 (𝜑 → (0..^𝐸) ⊆ (0..^(𝐸 + 1)))
122 elfzonn0 13360 . . . . . . . . . . . . . . . . 17 ((𝑊𝐽) ∈ (0..^(♯‘𝑊)) → (𝑊𝐽) ∈ ℕ0)
123 fzonn0p1 13392 . . . . . . . . . . . . . . . . 17 ((𝑊𝐽) ∈ ℕ0 → (𝑊𝐽) ∈ (0..^((𝑊𝐽) + 1)))
12463, 122, 1233syl 18 . . . . . . . . . . . . . . . 16 (𝜑 → (𝑊𝐽) ∈ (0..^((𝑊𝐽) + 1)))
12546oveq2i 7266 . . . . . . . . . . . . . . . 16 (0..^𝐸) = (0..^((𝑊𝐽) + 1))
126124, 125eleqtrrdi 2850 . . . . . . . . . . . . . . 15 (𝜑 → (𝑊𝐽) ∈ (0..^𝐸))
127121, 126sseldd 3918 . . . . . . . . . . . . . 14 (𝜑 → (𝑊𝐽) ∈ (0..^(𝐸 + 1)))
12890oveq2d 7271 . . . . . . . . . . . . . 14 (𝜑 → (0..^(♯‘((𝑊 prefix 𝐸) ++ ⟨“𝐼”⟩))) = (0..^(𝐸 + 1)))
129127, 128eleqtrrd 2842 . . . . . . . . . . . . 13 (𝜑 → (𝑊𝐽) ∈ (0..^(♯‘((𝑊 prefix 𝐸) ++ ⟨“𝐼”⟩))))
130 ccatval1 14209 . . . . . . . . . . . . 13 ((((𝑊 prefix 𝐸) ++ ⟨“𝐼”⟩) ∈ Word 𝐷 ∧ (𝑊 substr ⟨𝐸, (♯‘𝑊)⟩) ∈ Word 𝐷 ∧ (𝑊𝐽) ∈ (0..^(♯‘((𝑊 prefix 𝐸) ++ ⟨“𝐼”⟩)))) → ((((𝑊 prefix 𝐸) ++ ⟨“𝐼”⟩) ++ (𝑊 substr ⟨𝐸, (♯‘𝑊)⟩))‘(𝑊𝐽)) = (((𝑊 prefix 𝐸) ++ ⟨“𝐼”⟩)‘(𝑊𝐽)))
13177, 79, 129, 130syl3anc 1369 . . . . . . . . . . . 12 (𝜑 → ((((𝑊 prefix 𝐸) ++ ⟨“𝐼”⟩) ++ (𝑊 substr ⟨𝐸, (♯‘𝑊)⟩))‘(𝑊𝐽)) = (((𝑊 prefix 𝐸) ++ ⟨“𝐼”⟩)‘(𝑊𝐽)))
13288oveq2d 7271 . . . . . . . . . . . . . 14 (𝜑 → (0..^(♯‘(𝑊 prefix 𝐸))) = (0..^𝐸))
133126, 132eleqtrrd 2842 . . . . . . . . . . . . 13 (𝜑 → (𝑊𝐽) ∈ (0..^(♯‘(𝑊 prefix 𝐸))))
134 ccatval1 14209 . . . . . . . . . . . . 13 (((𝑊 prefix 𝐸) ∈ Word 𝐷 ∧ ⟨“𝐼”⟩ ∈ Word 𝐷 ∧ (𝑊𝐽) ∈ (0..^(♯‘(𝑊 prefix 𝐸)))) → (((𝑊 prefix 𝐸) ++ ⟨“𝐼”⟩)‘(𝑊𝐽)) = ((𝑊 prefix 𝐸)‘(𝑊𝐽)))
13575, 42, 133, 134syl3anc 1369 . . . . . . . . . . . 12 (𝜑 → (((𝑊 prefix 𝐸) ++ ⟨“𝐼”⟩)‘(𝑊𝐽)) = ((𝑊 prefix 𝐸)‘(𝑊𝐽)))
136119, 131, 1353eqtrd 2782 . . . . . . . . . . 11 (𝜑 → (𝑈‘(𝑊𝐽)) = ((𝑊 prefix 𝐸)‘(𝑊𝐽)))
137 pfxfv 14323 . . . . . . . . . . . 12 ((𝑊 ∈ Word 𝐷𝐸 ∈ (0...(♯‘𝑊)) ∧ (𝑊𝐽) ∈ (0..^𝐸)) → ((𝑊 prefix 𝐸)‘(𝑊𝐽)) = (𝑊‘(𝑊𝐽)))
13817, 86, 126, 137syl3anc 1369 . . . . . . . . . . 11 (𝜑 → ((𝑊 prefix 𝐸)‘(𝑊𝐽)) = (𝑊‘(𝑊𝐽)))
139 f1f1orn 6711 . . . . . . . . . . . . 13 (𝑊:dom 𝑊1-1𝐷𝑊:dom 𝑊1-1-onto→ran 𝑊)
14024, 139syl 17 . . . . . . . . . . . 12 (𝜑𝑊:dom 𝑊1-1-onto→ran 𝑊)
141 f1ocnvfv2 7130 . . . . . . . . . . . 12 ((𝑊:dom 𝑊1-1-onto→ran 𝑊𝐽 ∈ ran 𝑊) → (𝑊‘(𝑊𝐽)) = 𝐽)
142140, 28, 141syl2anc 583 . . . . . . . . . . 11 (𝜑 → (𝑊‘(𝑊𝐽)) = 𝐽)
143136, 138, 1423eqtrd 2782 . . . . . . . . . 10 (𝜑 → (𝑈‘(𝑊𝐽)) = 𝐽)
144143fveq2d 6760 . . . . . . . . 9 (𝜑 → ((𝑀𝑈)‘(𝑈‘(𝑊𝐽))) = ((𝑀𝑈)‘𝐽))
14555, 118, 1443eqtr2d 2784 . . . . . . . 8 (𝜑 → ((𝑀𝑊)‘((𝑀‘⟨“𝐼𝐽”⟩)‘𝐽)) = ((𝑀𝑈)‘𝐽))
146145ad2antrr 722 . . . . . . 7 (((𝜑𝑖 ∈ ran 𝑊) ∧ 𝑖 = 𝐽) → ((𝑀𝑊)‘((𝑀‘⟨“𝐼𝐽”⟩)‘𝐽)) = ((𝑀𝑈)‘𝐽))
147 simpr 484 . . . . . . . . 9 (((𝜑𝑖 ∈ ran 𝑊) ∧ 𝑖 = 𝐽) → 𝑖 = 𝐽)
148147fveq2d 6760 . . . . . . . 8 (((𝜑𝑖 ∈ ran 𝑊) ∧ 𝑖 = 𝐽) → ((𝑀‘⟨“𝐼𝐽”⟩)‘𝑖) = ((𝑀‘⟨“𝐼𝐽”⟩)‘𝐽))
149148fveq2d 6760 . . . . . . 7 (((𝜑𝑖 ∈ ran 𝑊) ∧ 𝑖 = 𝐽) → ((𝑀𝑊)‘((𝑀‘⟨“𝐼𝐽”⟩)‘𝑖)) = ((𝑀𝑊)‘((𝑀‘⟨“𝐼𝐽”⟩)‘𝐽)))
150147fveq2d 6760 . . . . . . 7 (((𝜑𝑖 ∈ ran 𝑊) ∧ 𝑖 = 𝐽) → ((𝑀𝑈)‘𝑖) = ((𝑀𝑈)‘𝐽))
151146, 149, 1503eqtr4d 2788 . . . . . 6 (((𝜑𝑖 ∈ ran 𝑊) ∧ 𝑖 = 𝐽) → ((𝑀𝑊)‘((𝑀‘⟨“𝐼𝐽”⟩)‘𝑖)) = ((𝑀𝑈)‘𝑖))
1521ad2antrr 722 . . . . . . . . 9 (((𝜑𝑖 ∈ ran 𝑊) ∧ 𝑖𝐽) → 𝐷𝑉)
15315, 29s2cld 14512 . . . . . . . . . 10 (𝜑 → ⟨“𝐼𝐽”⟩ ∈ Word 𝐷)
154153ad2antrr 722 . . . . . . . . 9 (((𝜑𝑖 ∈ ran 𝑊) ∧ 𝑖𝐽) → ⟨“𝐼𝐽”⟩ ∈ Word 𝐷)
15515, 29, 33s2f1 31121 . . . . . . . . . 10 (𝜑 → ⟨“𝐼𝐽”⟩:dom ⟨“𝐼𝐽”⟩–1-1𝐷)
156155ad2antrr 722 . . . . . . . . 9 (((𝜑𝑖 ∈ ran 𝑊) ∧ 𝑖𝐽) → ⟨“𝐼𝐽”⟩:dom ⟨“𝐼𝐽”⟩–1-1𝐷)
15727sselda 3917 . . . . . . . . . 10 ((𝜑𝑖 ∈ ran 𝑊) → 𝑖𝐷)
158157adantr 480 . . . . . . . . 9 (((𝜑𝑖 ∈ ran 𝑊) ∧ 𝑖𝐽) → 𝑖𝐷)
159 simpr 484 . . . . . . . . . . . . 13 ((𝜑𝑖 ∈ ran 𝑊) → 𝑖 ∈ ran 𝑊)
16030adantr 480 . . . . . . . . . . . . 13 ((𝜑𝑖 ∈ ran 𝑊) → ¬ 𝐼 ∈ ran 𝑊)
161 nelne2 3041 . . . . . . . . . . . . 13 ((𝑖 ∈ ran 𝑊 ∧ ¬ 𝐼 ∈ ran 𝑊) → 𝑖𝐼)
162159, 160, 161syl2anc 583 . . . . . . . . . . . 12 ((𝜑𝑖 ∈ ran 𝑊) → 𝑖𝐼)
163162adantr 480 . . . . . . . . . . 11 (((𝜑𝑖 ∈ ran 𝑊) ∧ 𝑖𝐽) → 𝑖𝐼)
164 simpr 484 . . . . . . . . . . 11 (((𝜑𝑖 ∈ ran 𝑊) ∧ 𝑖𝐽) → 𝑖𝐽)
165163, 164nelprd 4589 . . . . . . . . . 10 (((𝜑𝑖 ∈ ran 𝑊) ∧ 𝑖𝐽) → ¬ 𝑖 ∈ {𝐼, 𝐽})
16615, 29s2rn 31120 . . . . . . . . . . . . 13 (𝜑 → ran ⟨“𝐼𝐽”⟩ = {𝐼, 𝐽})
167166eleq2d 2824 . . . . . . . . . . . 12 (𝜑 → (𝑖 ∈ ran ⟨“𝐼𝐽”⟩ ↔ 𝑖 ∈ {𝐼, 𝐽}))
168167notbid 317 . . . . . . . . . . 11 (𝜑 → (¬ 𝑖 ∈ ran ⟨“𝐼𝐽”⟩ ↔ ¬ 𝑖 ∈ {𝐼, 𝐽}))
169168ad2antrr 722 . . . . . . . . . 10 (((𝜑𝑖 ∈ ran 𝑊) ∧ 𝑖𝐽) → (¬ 𝑖 ∈ ran ⟨“𝐼𝐽”⟩ ↔ ¬ 𝑖 ∈ {𝐼, 𝐽}))
170165, 169mpbird 256 . . . . . . . . 9 (((𝜑𝑖 ∈ ran 𝑊) ∧ 𝑖𝐽) → ¬ 𝑖 ∈ ran ⟨“𝐼𝐽”⟩)
1712, 152, 154, 156, 158, 170cycpmfv3 31284 . . . . . . . 8 (((𝜑𝑖 ∈ ran 𝑊) ∧ 𝑖𝐽) → ((𝑀‘⟨“𝐼𝐽”⟩)‘𝑖) = 𝑖)
172171fveq2d 6760 . . . . . . 7 (((𝜑𝑖 ∈ ran 𝑊) ∧ 𝑖𝐽) → ((𝑀𝑊)‘((𝑀‘⟨“𝐼𝐽”⟩)‘𝑖)) = ((𝑀𝑊)‘𝑖))
1731ad3antrrr 726 . . . . . . . . 9 ((((𝜑𝑖 ∈ ran 𝑊) ∧ 𝑖𝐽) ∧ (𝑈𝑖) ∈ (0..^𝐸)) → 𝐷𝑉)
1747ad3antrrr 726 . . . . . . . . 9 ((((𝜑𝑖 ∈ ran 𝑊) ∧ 𝑖𝐽) ∧ (𝑈𝑖) ∈ (0..^𝐸)) → 𝑊 ∈ dom 𝑀)
17514ad3antrrr 726 . . . . . . . . 9 ((((𝜑𝑖 ∈ ran 𝑊) ∧ 𝑖𝐽) ∧ (𝑈𝑖) ∈ (0..^𝐸)) → 𝐼 ∈ (𝐷 ∖ ran 𝑊))
17628ad3antrrr 726 . . . . . . . . 9 ((((𝜑𝑖 ∈ ran 𝑊) ∧ 𝑖𝐽) ∧ (𝑈𝑖) ∈ (0..^𝐸)) → 𝐽 ∈ ran 𝑊)
177 simpllr 772 . . . . . . . . 9 ((((𝜑𝑖 ∈ ran 𝑊) ∧ 𝑖𝐽) ∧ (𝑈𝑖) ∈ (0..^𝐸)) → 𝑖 ∈ ran 𝑊)
178 simplr 765 . . . . . . . . 9 ((((𝜑𝑖 ∈ ran 𝑊) ∧ 𝑖𝐽) ∧ (𝑈𝑖) ∈ (0..^𝐸)) → 𝑖𝐽)
179 simpr 484 . . . . . . . . 9 ((((𝜑𝑖 ∈ ran 𝑊) ∧ 𝑖𝐽) ∧ (𝑈𝑖) ∈ (0..^𝐸)) → (𝑈𝑖) ∈ (0..^𝐸))
1802, 3, 173, 174, 175, 176, 46, 41, 177, 178, 179cycpmco2lem7 31301 . . . . . . . 8 ((((𝜑𝑖 ∈ ran 𝑊) ∧ 𝑖𝐽) ∧ (𝑈𝑖) ∈ (0..^𝐸)) → ((𝑀𝑈)‘𝑖) = ((𝑀𝑊)‘𝑖))
1811ad3antrrr 726 . . . . . . . . 9 ((((𝜑𝑖 ∈ ran 𝑊) ∧ 𝑖𝐽) ∧ (𝑈𝑖) ∈ (𝐸..^((♯‘𝑈) − 1))) → 𝐷𝑉)
1827ad3antrrr 726 . . . . . . . . 9 ((((𝜑𝑖 ∈ ran 𝑊) ∧ 𝑖𝐽) ∧ (𝑈𝑖) ∈ (𝐸..^((♯‘𝑈) − 1))) → 𝑊 ∈ dom 𝑀)
18314ad3antrrr 726 . . . . . . . . 9 ((((𝜑𝑖 ∈ ran 𝑊) ∧ 𝑖𝐽) ∧ (𝑈𝑖) ∈ (𝐸..^((♯‘𝑈) − 1))) → 𝐼 ∈ (𝐷 ∖ ran 𝑊))
18428ad3antrrr 726 . . . . . . . . 9 ((((𝜑𝑖 ∈ ran 𝑊) ∧ 𝑖𝐽) ∧ (𝑈𝑖) ∈ (𝐸..^((♯‘𝑈) − 1))) → 𝐽 ∈ ran 𝑊)
185 simpllr 772 . . . . . . . . 9 ((((𝜑𝑖 ∈ ran 𝑊) ∧ 𝑖𝐽) ∧ (𝑈𝑖) ∈ (𝐸..^((♯‘𝑈) − 1))) → 𝑖 ∈ ran 𝑊)
186162ad2antrr 722 . . . . . . . . 9 ((((𝜑𝑖 ∈ ran 𝑊) ∧ 𝑖𝐽) ∧ (𝑈𝑖) ∈ (𝐸..^((♯‘𝑈) − 1))) → 𝑖𝐼)
187 simpr 484 . . . . . . . . 9 ((((𝜑𝑖 ∈ ran 𝑊) ∧ 𝑖𝐽) ∧ (𝑈𝑖) ∈ (𝐸..^((♯‘𝑈) − 1))) → (𝑈𝑖) ∈ (𝐸..^((♯‘𝑈) − 1)))
1882, 3, 181, 182, 183, 184, 46, 41, 185, 186, 187cycpmco2lem6 31300 . . . . . . . 8 ((((𝜑𝑖 ∈ ran 𝑊) ∧ 𝑖𝐽) ∧ (𝑈𝑖) ∈ (𝐸..^((♯‘𝑈) − 1))) → ((𝑀𝑈)‘𝑖) = ((𝑀𝑊)‘𝑖))
1891ad3antrrr 726 . . . . . . . . 9 ((((𝜑𝑖 ∈ ran 𝑊) ∧ 𝑖𝐽) ∧ (𝑈𝑖) = ((♯‘𝑈) − 1)) → 𝐷𝑉)
1907ad3antrrr 726 . . . . . . . . 9 ((((𝜑𝑖 ∈ ran 𝑊) ∧ 𝑖𝐽) ∧ (𝑈𝑖) = ((♯‘𝑈) − 1)) → 𝑊 ∈ dom 𝑀)
19114ad3antrrr 726 . . . . . . . . 9 ((((𝜑𝑖 ∈ ran 𝑊) ∧ 𝑖𝐽) ∧ (𝑈𝑖) = ((♯‘𝑈) − 1)) → 𝐼 ∈ (𝐷 ∖ ran 𝑊))
19228ad3antrrr 726 . . . . . . . . 9 ((((𝜑𝑖 ∈ ran 𝑊) ∧ 𝑖𝐽) ∧ (𝑈𝑖) = ((♯‘𝑈) − 1)) → 𝐽 ∈ ran 𝑊)
193 simpllr 772 . . . . . . . . 9 ((((𝜑𝑖 ∈ ran 𝑊) ∧ 𝑖𝐽) ∧ (𝑈𝑖) = ((♯‘𝑈) − 1)) → 𝑖 ∈ ran 𝑊)
194 simpr 484 . . . . . . . . 9 ((((𝜑𝑖 ∈ ran 𝑊) ∧ 𝑖𝐽) ∧ (𝑈𝑖) = ((♯‘𝑈) − 1)) → (𝑈𝑖) = ((♯‘𝑈) − 1))
1952, 3, 189, 190, 191, 192, 46, 41, 193, 194cycpmco2lem5 31299 . . . . . . . 8 ((((𝜑𝑖 ∈ ran 𝑊) ∧ 𝑖𝐽) ∧ (𝑈𝑖) = ((♯‘𝑈) − 1)) → ((𝑀𝑈)‘𝑖) = ((𝑀𝑊)‘𝑖))
196 f1f1orn 6711 . . . . . . . . . . . . . . . 16 (𝑈:dom 𝑈1-1𝐷𝑈:dom 𝑈1-1-onto→ran 𝑈)
19747, 196syl 17 . . . . . . . . . . . . . . 15 (𝜑𝑈:dom 𝑈1-1-onto→ran 𝑈)
198 ssun1 4102 . . . . . . . . . . . . . . . . 17 ran 𝑊 ⊆ (ran 𝑊 ∪ {𝐼})
1992, 3, 1, 7, 14, 28, 46, 41cycpmco2rn 31294 . . . . . . . . . . . . . . . . 17 (𝜑 → ran 𝑈 = (ran 𝑊 ∪ {𝐼}))
200198, 199sseqtrrid 3970 . . . . . . . . . . . . . . . 16 (𝜑 → ran 𝑊 ⊆ ran 𝑈)
201200sselda 3917 . . . . . . . . . . . . . . 15 ((𝜑𝑖 ∈ ran 𝑊) → 𝑖 ∈ ran 𝑈)
202 f1ocnvdm 7137 . . . . . . . . . . . . . . 15 ((𝑈:dom 𝑈1-1-onto→ran 𝑈𝑖 ∈ ran 𝑈) → (𝑈𝑖) ∈ dom 𝑈)
203197, 201, 202syl2an2r 681 . . . . . . . . . . . . . 14 ((𝜑𝑖 ∈ ran 𝑊) → (𝑈𝑖) ∈ dom 𝑈)
204 wrddm 14152 . . . . . . . . . . . . . . . 16 (𝑈 ∈ Word 𝐷 → dom 𝑈 = (0..^(♯‘𝑈)))
20545, 204syl 17 . . . . . . . . . . . . . . 15 (𝜑 → dom 𝑈 = (0..^(♯‘𝑈)))
206205adantr 480 . . . . . . . . . . . . . 14 ((𝜑𝑖 ∈ ran 𝑊) → dom 𝑈 = (0..^(♯‘𝑈)))
207203, 206eleqtrd 2841 . . . . . . . . . . . . 13 ((𝜑𝑖 ∈ ran 𝑊) → (𝑈𝑖) ∈ (0..^(♯‘𝑈)))
20865nn0zd 12353 . . . . . . . . . . . . . . . . 17 (𝜑 → (♯‘𝑊) ∈ ℤ)
209208peano2zd 12358 . . . . . . . . . . . . . . . 16 (𝜑 → ((♯‘𝑊) + 1) ∈ ℤ)
210110, 209eqeltrd 2839 . . . . . . . . . . . . . . 15 (𝜑 → (♯‘𝑈) ∈ ℤ)
211 fzoval 13317 . . . . . . . . . . . . . . 15 ((♯‘𝑈) ∈ ℤ → (0..^(♯‘𝑈)) = (0...((♯‘𝑈) − 1)))
212210, 211syl 17 . . . . . . . . . . . . . 14 (𝜑 → (0..^(♯‘𝑈)) = (0...((♯‘𝑈) − 1)))
213212adantr 480 . . . . . . . . . . . . 13 ((𝜑𝑖 ∈ ran 𝑊) → (0..^(♯‘𝑈)) = (0...((♯‘𝑈) − 1)))
214207, 213eleqtrd 2841 . . . . . . . . . . . 12 ((𝜑𝑖 ∈ ran 𝑊) → (𝑈𝑖) ∈ (0...((♯‘𝑈) − 1)))
215 elfzr 13428 . . . . . . . . . . . 12 ((𝑈𝑖) ∈ (0...((♯‘𝑈) − 1)) → ((𝑈𝑖) ∈ (0..^((♯‘𝑈) − 1)) ∨ (𝑈𝑖) = ((♯‘𝑈) − 1)))
216214, 215syl 17 . . . . . . . . . . 11 ((𝜑𝑖 ∈ ran 𝑊) → ((𝑈𝑖) ∈ (0..^((♯‘𝑈) − 1)) ∨ (𝑈𝑖) = ((♯‘𝑈) − 1)))
217 simpr 484 . . . . . . . . . . . . . 14 (((𝜑𝑖 ∈ ran 𝑊) ∧ (𝑈𝑖) ∈ (0..^((♯‘𝑈) − 1))) → (𝑈𝑖) ∈ (0..^((♯‘𝑈) − 1)))
21899ad2antrr 722 . . . . . . . . . . . . . 14 (((𝜑𝑖 ∈ ran 𝑊) ∧ (𝑈𝑖) ∈ (0..^((♯‘𝑈) − 1))) → 𝐸 ∈ ℤ)
219 fzospliti 13347 . . . . . . . . . . . . . 14 (((𝑈𝑖) ∈ (0..^((♯‘𝑈) − 1)) ∧ 𝐸 ∈ ℤ) → ((𝑈𝑖) ∈ (0..^𝐸) ∨ (𝑈𝑖) ∈ (𝐸..^((♯‘𝑈) − 1))))
220217, 218, 219syl2anc 583 . . . . . . . . . . . . 13 (((𝜑𝑖 ∈ ran 𝑊) ∧ (𝑈𝑖) ∈ (0..^((♯‘𝑈) − 1))) → ((𝑈𝑖) ∈ (0..^𝐸) ∨ (𝑈𝑖) ∈ (𝐸..^((♯‘𝑈) − 1))))
221220ex 412 . . . . . . . . . . . 12 ((𝜑𝑖 ∈ ran 𝑊) → ((𝑈𝑖) ∈ (0..^((♯‘𝑈) − 1)) → ((𝑈𝑖) ∈ (0..^𝐸) ∨ (𝑈𝑖) ∈ (𝐸..^((♯‘𝑈) − 1)))))
222221orim1d 962 . . . . . . . . . . 11 ((𝜑𝑖 ∈ ran 𝑊) → (((𝑈𝑖) ∈ (0..^((♯‘𝑈) − 1)) ∨ (𝑈𝑖) = ((♯‘𝑈) − 1)) → (((𝑈𝑖) ∈ (0..^𝐸) ∨ (𝑈𝑖) ∈ (𝐸..^((♯‘𝑈) − 1))) ∨ (𝑈𝑖) = ((♯‘𝑈) − 1))))
223216, 222mpd 15 . . . . . . . . . 10 ((𝜑𝑖 ∈ ran 𝑊) → (((𝑈𝑖) ∈ (0..^𝐸) ∨ (𝑈𝑖) ∈ (𝐸..^((♯‘𝑈) − 1))) ∨ (𝑈𝑖) = ((♯‘𝑈) − 1)))
224 df-3or 1086 . . . . . . . . . 10 (((𝑈𝑖) ∈ (0..^𝐸) ∨ (𝑈𝑖) ∈ (𝐸..^((♯‘𝑈) − 1)) ∨ (𝑈𝑖) = ((♯‘𝑈) − 1)) ↔ (((𝑈𝑖) ∈ (0..^𝐸) ∨ (𝑈𝑖) ∈ (𝐸..^((♯‘𝑈) − 1))) ∨ (𝑈𝑖) = ((♯‘𝑈) − 1)))
225223, 224sylibr 233 . . . . . . . . 9 ((𝜑𝑖 ∈ ran 𝑊) → ((𝑈𝑖) ∈ (0..^𝐸) ∨ (𝑈𝑖) ∈ (𝐸..^((♯‘𝑈) − 1)) ∨ (𝑈𝑖) = ((♯‘𝑈) − 1)))
226225adantr 480 . . . . . . . 8 (((𝜑𝑖 ∈ ran 𝑊) ∧ 𝑖𝐽) → ((𝑈𝑖) ∈ (0..^𝐸) ∨ (𝑈𝑖) ∈ (𝐸..^((♯‘𝑈) − 1)) ∨ (𝑈𝑖) = ((♯‘𝑈) − 1)))
227180, 188, 195, 226mpjao3dan 1429 . . . . . . 7 (((𝜑𝑖 ∈ ran 𝑊) ∧ 𝑖𝐽) → ((𝑀𝑈)‘𝑖) = ((𝑀𝑊)‘𝑖))
228172, 227eqtr4d 2781 . . . . . 6 (((𝜑𝑖 ∈ ran 𝑊) ∧ 𝑖𝐽) → ((𝑀𝑊)‘((𝑀‘⟨“𝐼𝐽”⟩)‘𝑖)) = ((𝑀𝑈)‘𝑖))
229151, 228pm2.61dane 3031 . . . . 5 ((𝜑𝑖 ∈ ran 𝑊) → ((𝑀𝑊)‘((𝑀‘⟨“𝐼𝐽”⟩)‘𝑖)) = ((𝑀𝑈)‘𝑖))
230229adantlr 711 . . . 4 (((𝜑𝑖𝐷) ∧ 𝑖 ∈ ran 𝑊) → ((𝑀𝑊)‘((𝑀‘⟨“𝐼𝐽”⟩)‘𝑖)) = ((𝑀𝑈)‘𝑖))
2312, 3, 1, 7, 14, 28, 46, 41cycpmco2lem4 31298 . . . . . . . 8 (𝜑 → ((𝑀𝑊)‘((𝑀‘⟨“𝐼𝐽”⟩)‘𝐼)) = ((𝑀𝑈)‘𝐼))
232231ad2antrr 722 . . . . . . 7 (((𝜑𝑖 ∈ (𝐷 ∖ ran 𝑊)) ∧ 𝑖 = 𝐼) → ((𝑀𝑊)‘((𝑀‘⟨“𝐼𝐽”⟩)‘𝐼)) = ((𝑀𝑈)‘𝐼))
233 simpr 484 . . . . . . . . 9 (((𝜑𝑖 ∈ (𝐷 ∖ ran 𝑊)) ∧ 𝑖 = 𝐼) → 𝑖 = 𝐼)
234233fveq2d 6760 . . . . . . . 8 (((𝜑𝑖 ∈ (𝐷 ∖ ran 𝑊)) ∧ 𝑖 = 𝐼) → ((𝑀‘⟨“𝐼𝐽”⟩)‘𝑖) = ((𝑀‘⟨“𝐼𝐽”⟩)‘𝐼))
235234fveq2d 6760 . . . . . . 7 (((𝜑𝑖 ∈ (𝐷 ∖ ran 𝑊)) ∧ 𝑖 = 𝐼) → ((𝑀𝑊)‘((𝑀‘⟨“𝐼𝐽”⟩)‘𝑖)) = ((𝑀𝑊)‘((𝑀‘⟨“𝐼𝐽”⟩)‘𝐼)))
236233fveq2d 6760 . . . . . . 7 (((𝜑𝑖 ∈ (𝐷 ∖ ran 𝑊)) ∧ 𝑖 = 𝐼) → ((𝑀𝑈)‘𝑖) = ((𝑀𝑈)‘𝐼))
237232, 235, 2363eqtr4d 2788 . . . . . 6 (((𝜑𝑖 ∈ (𝐷 ∖ ran 𝑊)) ∧ 𝑖 = 𝐼) → ((𝑀𝑊)‘((𝑀‘⟨“𝐼𝐽”⟩)‘𝑖)) = ((𝑀𝑈)‘𝑖))
2381ad2antrr 722 . . . . . . . 8 (((𝜑𝑖 ∈ (𝐷 ∖ ran 𝑊)) ∧ 𝑖𝐼) → 𝐷𝑉)
23917ad2antrr 722 . . . . . . . 8 (((𝜑𝑖 ∈ (𝐷 ∖ ran 𝑊)) ∧ 𝑖𝐼) → 𝑊 ∈ Word 𝐷)
24024ad2antrr 722 . . . . . . . 8 (((𝜑𝑖 ∈ (𝐷 ∖ ran 𝑊)) ∧ 𝑖𝐼) → 𝑊:dom 𝑊1-1𝐷)
241 simplr 765 . . . . . . . . 9 (((𝜑𝑖 ∈ (𝐷 ∖ ran 𝑊)) ∧ 𝑖𝐼) → 𝑖 ∈ (𝐷 ∖ ran 𝑊))
242241eldifad 3895 . . . . . . . 8 (((𝜑𝑖 ∈ (𝐷 ∖ ran 𝑊)) ∧ 𝑖𝐼) → 𝑖𝐷)
243241eldifbd 3896 . . . . . . . 8 (((𝜑𝑖 ∈ (𝐷 ∖ ran 𝑊)) ∧ 𝑖𝐼) → ¬ 𝑖 ∈ ran 𝑊)
2442, 238, 239, 240, 242, 243cycpmfv3 31284 . . . . . . 7 (((𝜑𝑖 ∈ (𝐷 ∖ ran 𝑊)) ∧ 𝑖𝐼) → ((𝑀𝑊)‘𝑖) = 𝑖)
245153ad2antrr 722 . . . . . . . . 9 (((𝜑𝑖 ∈ (𝐷 ∖ ran 𝑊)) ∧ 𝑖𝐼) → ⟨“𝐼𝐽”⟩ ∈ Word 𝐷)
246155ad2antrr 722 . . . . . . . . 9 (((𝜑𝑖 ∈ (𝐷 ∖ ran 𝑊)) ∧ 𝑖𝐼) → ⟨“𝐼𝐽”⟩:dom ⟨“𝐼𝐽”⟩–1-1𝐷)
247 simpr 484 . . . . . . . . . . 11 (((𝜑𝑖 ∈ (𝐷 ∖ ran 𝑊)) ∧ 𝑖𝐼) → 𝑖𝐼)
248 eldifn 4058 . . . . . . . . . . . . . 14 (𝑖 ∈ (𝐷 ∖ ran 𝑊) → ¬ 𝑖 ∈ ran 𝑊)
249 nelne2 3041 . . . . . . . . . . . . . 14 ((𝐽 ∈ ran 𝑊 ∧ ¬ 𝑖 ∈ ran 𝑊) → 𝐽𝑖)
25028, 248, 249syl2an 595 . . . . . . . . . . . . 13 ((𝜑𝑖 ∈ (𝐷 ∖ ran 𝑊)) → 𝐽𝑖)
251250necomd 2998 . . . . . . . . . . . 12 ((𝜑𝑖 ∈ (𝐷 ∖ ran 𝑊)) → 𝑖𝐽)
252251adantr 480 . . . . . . . . . . 11 (((𝜑𝑖 ∈ (𝐷 ∖ ran 𝑊)) ∧ 𝑖𝐼) → 𝑖𝐽)
253247, 252nelprd 4589 . . . . . . . . . 10 (((𝜑𝑖 ∈ (𝐷 ∖ ran 𝑊)) ∧ 𝑖𝐼) → ¬ 𝑖 ∈ {𝐼, 𝐽})
254168ad2antrr 722 . . . . . . . . . 10 (((𝜑𝑖 ∈ (𝐷 ∖ ran 𝑊)) ∧ 𝑖𝐼) → (¬ 𝑖 ∈ ran ⟨“𝐼𝐽”⟩ ↔ ¬ 𝑖 ∈ {𝐼, 𝐽}))
255253, 254mpbird 256 . . . . . . . . 9 (((𝜑𝑖 ∈ (𝐷 ∖ ran 𝑊)) ∧ 𝑖𝐼) → ¬ 𝑖 ∈ ran ⟨“𝐼𝐽”⟩)
2562, 238, 245, 246, 242, 255cycpmfv3 31284 . . . . . . . 8 (((𝜑𝑖 ∈ (𝐷 ∖ ran 𝑊)) ∧ 𝑖𝐼) → ((𝑀‘⟨“𝐼𝐽”⟩)‘𝑖) = 𝑖)
257256fveq2d 6760 . . . . . . 7 (((𝜑𝑖 ∈ (𝐷 ∖ ran 𝑊)) ∧ 𝑖𝐼) → ((𝑀𝑊)‘((𝑀‘⟨“𝐼𝐽”⟩)‘𝑖)) = ((𝑀𝑊)‘𝑖))
25845ad2antrr 722 . . . . . . . 8 (((𝜑𝑖 ∈ (𝐷 ∖ ran 𝑊)) ∧ 𝑖𝐼) → 𝑈 ∈ Word 𝐷)
25947ad2antrr 722 . . . . . . . 8 (((𝜑𝑖 ∈ (𝐷 ∖ ran 𝑊)) ∧ 𝑖𝐼) → 𝑈:dom 𝑈1-1𝐷)
260199ad2antrr 722 . . . . . . . . 9 (((𝜑𝑖 ∈ (𝐷 ∖ ran 𝑊)) ∧ 𝑖𝐼) → ran 𝑈 = (ran 𝑊 ∪ {𝐼}))
261 nelsn 4598 . . . . . . . . . 10 (𝑖𝐼 → ¬ 𝑖 ∈ {𝐼})
262261adantl 481 . . . . . . . . 9 (((𝜑𝑖 ∈ (𝐷 ∖ ran 𝑊)) ∧ 𝑖𝐼) → ¬ 𝑖 ∈ {𝐼})
263 nelun 30760 . . . . . . . . . 10 (ran 𝑈 = (ran 𝑊 ∪ {𝐼}) → (¬ 𝑖 ∈ ran 𝑈 ↔ (¬ 𝑖 ∈ ran 𝑊 ∧ ¬ 𝑖 ∈ {𝐼})))
264263biimpar 477 . . . . . . . . 9 ((ran 𝑈 = (ran 𝑊 ∪ {𝐼}) ∧ (¬ 𝑖 ∈ ran 𝑊 ∧ ¬ 𝑖 ∈ {𝐼})) → ¬ 𝑖 ∈ ran 𝑈)
265260, 243, 262, 264syl12anc 833 . . . . . . . 8 (((𝜑𝑖 ∈ (𝐷 ∖ ran 𝑊)) ∧ 𝑖𝐼) → ¬ 𝑖 ∈ ran 𝑈)
2662, 238, 258, 259, 242, 265cycpmfv3 31284 . . . . . . 7 (((𝜑𝑖 ∈ (𝐷 ∖ ran 𝑊)) ∧ 𝑖𝐼) → ((𝑀𝑈)‘𝑖) = 𝑖)
267244, 257, 2663eqtr4d 2788 . . . . . 6 (((𝜑𝑖 ∈ (𝐷 ∖ ran 𝑊)) ∧ 𝑖𝐼) → ((𝑀𝑊)‘((𝑀‘⟨“𝐼𝐽”⟩)‘𝑖)) = ((𝑀𝑈)‘𝑖))
268237, 267pm2.61dane 3031 . . . . 5 ((𝜑𝑖 ∈ (𝐷 ∖ ran 𝑊)) → ((𝑀𝑊)‘((𝑀‘⟨“𝐼𝐽”⟩)‘𝑖)) = ((𝑀𝑈)‘𝑖))
269268adantlr 711 . . . 4 (((𝜑𝑖𝐷) ∧ 𝑖 ∈ (𝐷 ∖ ran 𝑊)) → ((𝑀𝑊)‘((𝑀‘⟨“𝐼𝐽”⟩)‘𝑖)) = ((𝑀𝑈)‘𝑖))
270 undif 4412 . . . . . . . 8 (ran 𝑊𝐷 ↔ (ran 𝑊 ∪ (𝐷 ∖ ran 𝑊)) = 𝐷)
27127, 270sylib 217 . . . . . . 7 (𝜑 → (ran 𝑊 ∪ (𝐷 ∖ ran 𝑊)) = 𝐷)
272271eleq2d 2824 . . . . . 6 (𝜑 → (𝑖 ∈ (ran 𝑊 ∪ (𝐷 ∖ ran 𝑊)) ↔ 𝑖𝐷))
273 elun 4079 . . . . . 6 (𝑖 ∈ (ran 𝑊 ∪ (𝐷 ∖ ran 𝑊)) ↔ (𝑖 ∈ ran 𝑊𝑖 ∈ (𝐷 ∖ ran 𝑊)))
274272, 273bitr3di 285 . . . . 5 (𝜑 → (𝑖𝐷 ↔ (𝑖 ∈ ran 𝑊𝑖 ∈ (𝐷 ∖ ran 𝑊))))
275274biimpa 476 . . . 4 ((𝜑𝑖𝐷) → (𝑖 ∈ ran 𝑊𝑖 ∈ (𝐷 ∖ ran 𝑊)))
276230, 269, 275mpjaodan 955 . . 3 ((𝜑𝑖𝐷) → ((𝑀𝑊)‘((𝑀‘⟨“𝐼𝐽”⟩)‘𝑖)) = ((𝑀𝑈)‘𝑖))
27753, 276eqtrd 2778 . 2 ((𝜑𝑖𝐷) → (((𝑀𝑊) ∘ (𝑀‘⟨“𝐼𝐽”⟩))‘𝑖) = ((𝑀𝑈)‘𝑖))
27840, 51, 277eqfnfvd 6894 1 (𝜑 → ((𝑀𝑊) ∘ (𝑀‘⟨“𝐼𝐽”⟩)) = (𝑀𝑈))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 395  wo 843  w3o 1084   = wceq 1539  wcel 2108  wne 2942  {crab 3067  Vcvv 3422  cdif 3880  cun 3881  wss 3883  {csn 4558  {cpr 4560  cop 4564  cotp 4566  ccnv 5579  dom cdm 5580  ran crn 5581  ccom 5584   Fn wfn 6413  wf 6414  1-1wf1 6415  1-1-ontowf1o 6417  cfv 6418  (class class class)co 7255  0cc0 10802  1c1 10803   + caddc 10805  cmin 11135  0cn0 12163  cz 12249  ...cfz 13168  ..^cfzo 13311  chash 13972  Word cword 14145   ++ cconcat 14201  ⟨“cs1 14228   substr csubstr 14281   prefix cpfx 14311   splice csplice 14390  ⟨“cs2 14482  Basecbs 16840  SymGrpcsymg 18889  toCycctocyc 31275
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-rep 5205  ax-sep 5218  ax-nul 5225  ax-pow 5283  ax-pr 5347  ax-un 7566  ax-cnex 10858  ax-resscn 10859  ax-1cn 10860  ax-icn 10861  ax-addcl 10862  ax-addrcl 10863  ax-mulcl 10864  ax-mulrcl 10865  ax-mulcom 10866  ax-addass 10867  ax-mulass 10868  ax-distr 10869  ax-i2m1 10870  ax-1ne0 10871  ax-1rid 10872  ax-rnegex 10873  ax-rrecex 10874  ax-cnre 10875  ax-pre-lttri 10876  ax-pre-lttrn 10877  ax-pre-ltadd 10878  ax-pre-mulgt0 10879  ax-pre-sup 10880
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3or 1086  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-nel 3049  df-ral 3068  df-rex 3069  df-reu 3070  df-rmo 3071  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-pss 3902  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-tp 4563  df-op 4565  df-ot 4567  df-uni 4837  df-int 4877  df-iun 4923  df-br 5071  df-opab 5133  df-mpt 5154  df-tr 5188  df-id 5480  df-eprel 5486  df-po 5494  df-so 5495  df-fr 5535  df-we 5537  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-pred 6191  df-ord 6254  df-on 6255  df-lim 6256  df-suc 6257  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-f1 6423  df-fo 6424  df-f1o 6425  df-fv 6426  df-riota 7212  df-ov 7258  df-oprab 7259  df-mpo 7260  df-om 7688  df-1st 7804  df-2nd 7805  df-frecs 8068  df-wrecs 8099  df-recs 8173  df-rdg 8212  df-1o 8267  df-oadd 8271  df-er 8456  df-map 8575  df-en 8692  df-dom 8693  df-sdom 8694  df-fin 8695  df-sup 9131  df-inf 9132  df-card 9628  df-pnf 10942  df-mnf 10943  df-xr 10944  df-ltxr 10945  df-le 10946  df-sub 11137  df-neg 11138  df-div 11563  df-nn 11904  df-2 11966  df-3 11967  df-4 11968  df-5 11969  df-6 11970  df-7 11971  df-8 11972  df-9 11973  df-n0 12164  df-xnn0 12236  df-z 12250  df-uz 12512  df-rp 12660  df-fz 13169  df-fzo 13312  df-fl 13440  df-mod 13518  df-hash 13973  df-word 14146  df-concat 14202  df-s1 14229  df-substr 14282  df-pfx 14312  df-splice 14391  df-csh 14430  df-s2 14489  df-struct 16776  df-sets 16793  df-slot 16811  df-ndx 16823  df-base 16841  df-ress 16868  df-plusg 16901  df-tset 16907  df-efmnd 18423  df-symg 18890  df-tocyc 31276
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator