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

Theorem psgnunilem2 19018
Description: Lemma for psgnuni 19022. Induction step for moving a transposition as far to the right as possible. (Contributed by Stefan O'Rear, 24-Aug-2015.) (Revised by Mario Carneiro, 28-Feb-2016.)
Hypotheses
Ref Expression
psgnunilem2.g 𝐺 = (SymGrp‘𝐷)
psgnunilem2.t 𝑇 = ran (pmTrsp‘𝐷)
psgnunilem2.d (𝜑𝐷𝑉)
psgnunilem2.w (𝜑𝑊 ∈ Word 𝑇)
psgnunilem2.id (𝜑 → (𝐺 Σg 𝑊) = ( I ↾ 𝐷))
psgnunilem2.l (𝜑 → (♯‘𝑊) = 𝐿)
psgnunilem2.ix (𝜑𝐼 ∈ (0..^𝐿))
psgnunilem2.a (𝜑𝐴 ∈ dom ((𝑊𝐼) ∖ I ))
psgnunilem2.al (𝜑 → ∀𝑘 ∈ (0..^𝐼) ¬ 𝐴 ∈ dom ((𝑊𝑘) ∖ I ))
psgnunilem2.in (𝜑 → ¬ ∃𝑥 ∈ Word 𝑇((♯‘𝑥) = (𝐿 − 2) ∧ (𝐺 Σg 𝑥) = ( I ↾ 𝐷)))
Assertion
Ref Expression
psgnunilem2 (𝜑 → ∃𝑤 ∈ Word 𝑇(((𝐺 Σg 𝑤) = ( I ↾ 𝐷) ∧ (♯‘𝑤) = 𝐿) ∧ ((𝐼 + 1) ∈ (0..^𝐿) ∧ 𝐴 ∈ dom ((𝑤‘(𝐼 + 1)) ∖ I ) ∧ ∀𝑗 ∈ (0..^(𝐼 + 1)) ¬ 𝐴 ∈ dom ((𝑤𝑗) ∖ I ))))
Distinct variable groups:   𝑗,𝑘,𝑤,𝐴   𝑥,𝑗,𝐷,𝑤   𝜑,𝑗   𝑗,𝐺   𝑥,𝑘,𝐺,𝑤   𝑗,𝐼,𝑘,𝑤,𝑥   𝑇,𝑗,𝑤,𝑥   𝑗,𝑊,𝑘,𝑤,𝑥   𝑤,𝐿,𝑥
Allowed substitution hints:   𝜑(𝑥,𝑤,𝑘)   𝐴(𝑥)   𝐷(𝑘)   𝑇(𝑘)   𝐿(𝑗,𝑘)   𝑉(𝑥,𝑤,𝑗,𝑘)

Proof of Theorem psgnunilem2
Dummy variables 𝑟 𝑠 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 psgnunilem2.w . . . . . . 7 (𝜑𝑊 ∈ Word 𝑇)
2 wrd0 14170 . . . . . . 7 ∅ ∈ Word 𝑇
3 splcl 14393 . . . . . . 7 ((𝑊 ∈ Word 𝑇 ∧ ∅ ∈ Word 𝑇) → (𝑊 splice ⟨𝐼, (𝐼 + 2), ∅⟩) ∈ Word 𝑇)
41, 2, 3sylancl 585 . . . . . 6 (𝜑 → (𝑊 splice ⟨𝐼, (𝐼 + 2), ∅⟩) ∈ Word 𝑇)
54adantr 480 . . . . 5 ((𝜑 ∧ ((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = ( I ↾ 𝐷)) → (𝑊 splice ⟨𝐼, (𝐼 + 2), ∅⟩) ∈ Word 𝑇)
6 fzossfz 13334 . . . . . . . . . . 11 (0..^𝐿) ⊆ (0...𝐿)
7 psgnunilem2.ix . . . . . . . . . . 11 (𝜑𝐼 ∈ (0..^𝐿))
86, 7sselid 3915 . . . . . . . . . 10 (𝜑𝐼 ∈ (0...𝐿))
9 elfznn0 13278 . . . . . . . . . 10 (𝐼 ∈ (0...𝐿) → 𝐼 ∈ ℕ0)
108, 9syl 17 . . . . . . . . 9 (𝜑𝐼 ∈ ℕ0)
11 2nn0 12180 . . . . . . . . . 10 2 ∈ ℕ0
12 nn0addcl 12198 . . . . . . . . . 10 ((𝐼 ∈ ℕ0 ∧ 2 ∈ ℕ0) → (𝐼 + 2) ∈ ℕ0)
1310, 11, 12sylancl 585 . . . . . . . . 9 (𝜑 → (𝐼 + 2) ∈ ℕ0)
1410nn0red 12224 . . . . . . . . . 10 (𝜑𝐼 ∈ ℝ)
15 nn0addge1 12209 . . . . . . . . . 10 ((𝐼 ∈ ℝ ∧ 2 ∈ ℕ0) → 𝐼 ≤ (𝐼 + 2))
1614, 11, 15sylancl 585 . . . . . . . . 9 (𝜑𝐼 ≤ (𝐼 + 2))
17 elfz2nn0 13276 . . . . . . . . 9 (𝐼 ∈ (0...(𝐼 + 2)) ↔ (𝐼 ∈ ℕ0 ∧ (𝐼 + 2) ∈ ℕ0𝐼 ≤ (𝐼 + 2)))
1810, 13, 16, 17syl3anbrc 1341 . . . . . . . 8 (𝜑𝐼 ∈ (0...(𝐼 + 2)))
19 psgnunilem2.g . . . . . . . . . . 11 𝐺 = (SymGrp‘𝐷)
20 psgnunilem2.t . . . . . . . . . . 11 𝑇 = ran (pmTrsp‘𝐷)
21 psgnunilem2.d . . . . . . . . . . 11 (𝜑𝐷𝑉)
22 psgnunilem2.id . . . . . . . . . . 11 (𝜑 → (𝐺 Σg 𝑊) = ( I ↾ 𝐷))
23 psgnunilem2.l . . . . . . . . . . 11 (𝜑 → (♯‘𝑊) = 𝐿)
24 psgnunilem2.a . . . . . . . . . . 11 (𝜑𝐴 ∈ dom ((𝑊𝐼) ∖ I ))
25 psgnunilem2.al . . . . . . . . . . 11 (𝜑 → ∀𝑘 ∈ (0..^𝐼) ¬ 𝐴 ∈ dom ((𝑊𝑘) ∖ I ))
2619, 20, 21, 1, 22, 23, 7, 24, 25psgnunilem5 19017 . . . . . . . . . 10 (𝜑 → (𝐼 + 1) ∈ (0..^𝐿))
27 fzofzp1 13412 . . . . . . . . . 10 ((𝐼 + 1) ∈ (0..^𝐿) → ((𝐼 + 1) + 1) ∈ (0...𝐿))
2826, 27syl 17 . . . . . . . . 9 (𝜑 → ((𝐼 + 1) + 1) ∈ (0...𝐿))
29 df-2 11966 . . . . . . . . . . 11 2 = (1 + 1)
3029oveq2i 7266 . . . . . . . . . 10 (𝐼 + 2) = (𝐼 + (1 + 1))
3110nn0cnd 12225 . . . . . . . . . . 11 (𝜑𝐼 ∈ ℂ)
32 1cnd 10901 . . . . . . . . . . 11 (𝜑 → 1 ∈ ℂ)
3331, 32, 32addassd 10928 . . . . . . . . . 10 (𝜑 → ((𝐼 + 1) + 1) = (𝐼 + (1 + 1)))
3430, 33eqtr4id 2798 . . . . . . . . 9 (𝜑 → (𝐼 + 2) = ((𝐼 + 1) + 1))
3523oveq2d 7271 . . . . . . . . 9 (𝜑 → (0...(♯‘𝑊)) = (0...𝐿))
3628, 34, 353eltr4d 2854 . . . . . . . 8 (𝜑 → (𝐼 + 2) ∈ (0...(♯‘𝑊)))
372a1i 11 . . . . . . . 8 (𝜑 → ∅ ∈ Word 𝑇)
381, 18, 36, 37spllen 14395 . . . . . . 7 (𝜑 → (♯‘(𝑊 splice ⟨𝐼, (𝐼 + 2), ∅⟩)) = ((♯‘𝑊) + ((♯‘∅) − ((𝐼 + 2) − 𝐼))))
39 hash0 14010 . . . . . . . . . . 11 (♯‘∅) = 0
4039oveq1i 7265 . . . . . . . . . 10 ((♯‘∅) − ((𝐼 + 2) − 𝐼)) = (0 − ((𝐼 + 2) − 𝐼))
41 df-neg 11138 . . . . . . . . . 10 -((𝐼 + 2) − 𝐼) = (0 − ((𝐼 + 2) − 𝐼))
4240, 41eqtr4i 2769 . . . . . . . . 9 ((♯‘∅) − ((𝐼 + 2) − 𝐼)) = -((𝐼 + 2) − 𝐼)
43 2cn 11978 . . . . . . . . . . 11 2 ∈ ℂ
44 pncan2 11158 . . . . . . . . . . 11 ((𝐼 ∈ ℂ ∧ 2 ∈ ℂ) → ((𝐼 + 2) − 𝐼) = 2)
4531, 43, 44sylancl 585 . . . . . . . . . 10 (𝜑 → ((𝐼 + 2) − 𝐼) = 2)
4645negeqd 11145 . . . . . . . . 9 (𝜑 → -((𝐼 + 2) − 𝐼) = -2)
4742, 46eqtrid 2790 . . . . . . . 8 (𝜑 → ((♯‘∅) − ((𝐼 + 2) − 𝐼)) = -2)
4823, 47oveq12d 7273 . . . . . . 7 (𝜑 → ((♯‘𝑊) + ((♯‘∅) − ((𝐼 + 2) − 𝐼))) = (𝐿 + -2))
49 elfzel2 13183 . . . . . . . . . 10 (𝐼 ∈ (0...𝐿) → 𝐿 ∈ ℤ)
508, 49syl 17 . . . . . . . . 9 (𝜑𝐿 ∈ ℤ)
5150zcnd 12356 . . . . . . . 8 (𝜑𝐿 ∈ ℂ)
52 negsub 11199 . . . . . . . 8 ((𝐿 ∈ ℂ ∧ 2 ∈ ℂ) → (𝐿 + -2) = (𝐿 − 2))
5351, 43, 52sylancl 585 . . . . . . 7 (𝜑 → (𝐿 + -2) = (𝐿 − 2))
5438, 48, 533eqtrd 2782 . . . . . 6 (𝜑 → (♯‘(𝑊 splice ⟨𝐼, (𝐼 + 2), ∅⟩)) = (𝐿 − 2))
5554adantr 480 . . . . 5 ((𝜑 ∧ ((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = ( I ↾ 𝐷)) → (♯‘(𝑊 splice ⟨𝐼, (𝐼 + 2), ∅⟩)) = (𝐿 − 2))
56 splid 14394 . . . . . . . . 9 ((𝑊 ∈ Word 𝑇 ∧ (𝐼 ∈ (0...(𝐼 + 2)) ∧ (𝐼 + 2) ∈ (0...(♯‘𝑊)))) → (𝑊 splice ⟨𝐼, (𝐼 + 2), (𝑊 substr ⟨𝐼, (𝐼 + 2)⟩)⟩) = 𝑊)
571, 18, 36, 56syl12anc 833 . . . . . . . 8 (𝜑 → (𝑊 splice ⟨𝐼, (𝐼 + 2), (𝑊 substr ⟨𝐼, (𝐼 + 2)⟩)⟩) = 𝑊)
5857oveq2d 7271 . . . . . . 7 (𝜑 → (𝐺 Σg (𝑊 splice ⟨𝐼, (𝐼 + 2), (𝑊 substr ⟨𝐼, (𝐼 + 2)⟩)⟩)) = (𝐺 Σg 𝑊))
5958adantr 480 . . . . . 6 ((𝜑 ∧ ((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = ( I ↾ 𝐷)) → (𝐺 Σg (𝑊 splice ⟨𝐼, (𝐼 + 2), (𝑊 substr ⟨𝐼, (𝐼 + 2)⟩)⟩)) = (𝐺 Σg 𝑊))
60 eqid 2738 . . . . . . 7 (Base‘𝐺) = (Base‘𝐺)
6119symggrp 18923 . . . . . . . . . 10 (𝐷𝑉𝐺 ∈ Grp)
6221, 61syl 17 . . . . . . . . 9 (𝜑𝐺 ∈ Grp)
6362grpmndd 18504 . . . . . . . 8 (𝜑𝐺 ∈ Mnd)
6463adantr 480 . . . . . . 7 ((𝜑 ∧ ((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = ( I ↾ 𝐷)) → 𝐺 ∈ Mnd)
6520, 19, 60symgtrf 18992 . . . . . . . . . 10 𝑇 ⊆ (Base‘𝐺)
66 sswrd 14153 . . . . . . . . . 10 (𝑇 ⊆ (Base‘𝐺) → Word 𝑇 ⊆ Word (Base‘𝐺))
6765, 66ax-mp 5 . . . . . . . . 9 Word 𝑇 ⊆ Word (Base‘𝐺)
6867, 1sselid 3915 . . . . . . . 8 (𝜑𝑊 ∈ Word (Base‘𝐺))
6968adantr 480 . . . . . . 7 ((𝜑 ∧ ((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = ( I ↾ 𝐷)) → 𝑊 ∈ Word (Base‘𝐺))
7018adantr 480 . . . . . . 7 ((𝜑 ∧ ((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = ( I ↾ 𝐷)) → 𝐼 ∈ (0...(𝐼 + 2)))
7136adantr 480 . . . . . . 7 ((𝜑 ∧ ((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = ( I ↾ 𝐷)) → (𝐼 + 2) ∈ (0...(♯‘𝑊)))
72 swrdcl 14286 . . . . . . . . 9 (𝑊 ∈ Word (Base‘𝐺) → (𝑊 substr ⟨𝐼, (𝐼 + 2)⟩) ∈ Word (Base‘𝐺))
7368, 72syl 17 . . . . . . . 8 (𝜑 → (𝑊 substr ⟨𝐼, (𝐼 + 2)⟩) ∈ Word (Base‘𝐺))
7473adantr 480 . . . . . . 7 ((𝜑 ∧ ((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = ( I ↾ 𝐷)) → (𝑊 substr ⟨𝐼, (𝐼 + 2)⟩) ∈ Word (Base‘𝐺))
75 wrd0 14170 . . . . . . . 8 ∅ ∈ Word (Base‘𝐺)
7675a1i 11 . . . . . . 7 ((𝜑 ∧ ((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = ( I ↾ 𝐷)) → ∅ ∈ Word (Base‘𝐺))
7723oveq2d 7271 . . . . . . . . . . . . 13 (𝜑 → (0..^(♯‘𝑊)) = (0..^𝐿))
7826, 77eleqtrrd 2842 . . . . . . . . . . . 12 (𝜑 → (𝐼 + 1) ∈ (0..^(♯‘𝑊)))
79 swrds2 14581 . . . . . . . . . . . 12 ((𝑊 ∈ Word 𝑇𝐼 ∈ ℕ0 ∧ (𝐼 + 1) ∈ (0..^(♯‘𝑊))) → (𝑊 substr ⟨𝐼, (𝐼 + 2)⟩) = ⟨“(𝑊𝐼)(𝑊‘(𝐼 + 1))”⟩)
801, 10, 78, 79syl3anc 1369 . . . . . . . . . . 11 (𝜑 → (𝑊 substr ⟨𝐼, (𝐼 + 2)⟩) = ⟨“(𝑊𝐼)(𝑊‘(𝐼 + 1))”⟩)
8180oveq2d 7271 . . . . . . . . . 10 (𝜑 → (𝐺 Σg (𝑊 substr ⟨𝐼, (𝐼 + 2)⟩)) = (𝐺 Σg ⟨“(𝑊𝐼)(𝑊‘(𝐼 + 1))”⟩))
82 wrdf 14150 . . . . . . . . . . . . . . 15 (𝑊 ∈ Word 𝑇𝑊:(0..^(♯‘𝑊))⟶𝑇)
831, 82syl 17 . . . . . . . . . . . . . 14 (𝜑𝑊:(0..^(♯‘𝑊))⟶𝑇)
8477feq2d 6570 . . . . . . . . . . . . . 14 (𝜑 → (𝑊:(0..^(♯‘𝑊))⟶𝑇𝑊:(0..^𝐿)⟶𝑇))
8583, 84mpbid 231 . . . . . . . . . . . . 13 (𝜑𝑊:(0..^𝐿)⟶𝑇)
8685, 7ffvelrnd 6944 . . . . . . . . . . . 12 (𝜑 → (𝑊𝐼) ∈ 𝑇)
8765, 86sselid 3915 . . . . . . . . . . 11 (𝜑 → (𝑊𝐼) ∈ (Base‘𝐺))
8885, 26ffvelrnd 6944 . . . . . . . . . . . 12 (𝜑 → (𝑊‘(𝐼 + 1)) ∈ 𝑇)
8965, 88sselid 3915 . . . . . . . . . . 11 (𝜑 → (𝑊‘(𝐼 + 1)) ∈ (Base‘𝐺))
90 eqid 2738 . . . . . . . . . . . 12 (+g𝐺) = (+g𝐺)
9160, 90gsumws2 18396 . . . . . . . . . . 11 ((𝐺 ∈ Mnd ∧ (𝑊𝐼) ∈ (Base‘𝐺) ∧ (𝑊‘(𝐼 + 1)) ∈ (Base‘𝐺)) → (𝐺 Σg ⟨“(𝑊𝐼)(𝑊‘(𝐼 + 1))”⟩) = ((𝑊𝐼)(+g𝐺)(𝑊‘(𝐼 + 1))))
9263, 87, 89, 91syl3anc 1369 . . . . . . . . . 10 (𝜑 → (𝐺 Σg ⟨“(𝑊𝐼)(𝑊‘(𝐼 + 1))”⟩) = ((𝑊𝐼)(+g𝐺)(𝑊‘(𝐼 + 1))))
9319, 60, 90symgov 18906 . . . . . . . . . . 11 (((𝑊𝐼) ∈ (Base‘𝐺) ∧ (𝑊‘(𝐼 + 1)) ∈ (Base‘𝐺)) → ((𝑊𝐼)(+g𝐺)(𝑊‘(𝐼 + 1))) = ((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))))
9487, 89, 93syl2anc 583 . . . . . . . . . 10 (𝜑 → ((𝑊𝐼)(+g𝐺)(𝑊‘(𝐼 + 1))) = ((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))))
9581, 92, 943eqtrd 2782 . . . . . . . . 9 (𝜑 → (𝐺 Σg (𝑊 substr ⟨𝐼, (𝐼 + 2)⟩)) = ((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))))
9695adantr 480 . . . . . . . 8 ((𝜑 ∧ ((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = ( I ↾ 𝐷)) → (𝐺 Σg (𝑊 substr ⟨𝐼, (𝐼 + 2)⟩)) = ((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))))
97 simpr 484 . . . . . . . 8 ((𝜑 ∧ ((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = ( I ↾ 𝐷)) → ((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = ( I ↾ 𝐷))
9819symgid 18924 . . . . . . . . . . 11 (𝐷𝑉 → ( I ↾ 𝐷) = (0g𝐺))
9921, 98syl 17 . . . . . . . . . 10 (𝜑 → ( I ↾ 𝐷) = (0g𝐺))
100 eqid 2738 . . . . . . . . . . 11 (0g𝐺) = (0g𝐺)
101100gsum0 18283 . . . . . . . . . 10 (𝐺 Σg ∅) = (0g𝐺)
10299, 101eqtr4di 2797 . . . . . . . . 9 (𝜑 → ( I ↾ 𝐷) = (𝐺 Σg ∅))
103102adantr 480 . . . . . . . 8 ((𝜑 ∧ ((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = ( I ↾ 𝐷)) → ( I ↾ 𝐷) = (𝐺 Σg ∅))
10496, 97, 1033eqtrd 2782 . . . . . . 7 ((𝜑 ∧ ((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = ( I ↾ 𝐷)) → (𝐺 Σg (𝑊 substr ⟨𝐼, (𝐼 + 2)⟩)) = (𝐺 Σg ∅))
10560, 64, 69, 70, 71, 74, 76, 104gsumspl 18398 . . . . . 6 ((𝜑 ∧ ((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = ( I ↾ 𝐷)) → (𝐺 Σg (𝑊 splice ⟨𝐼, (𝐼 + 2), (𝑊 substr ⟨𝐼, (𝐼 + 2)⟩)⟩)) = (𝐺 Σg (𝑊 splice ⟨𝐼, (𝐼 + 2), ∅⟩)))
10622adantr 480 . . . . . 6 ((𝜑 ∧ ((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = ( I ↾ 𝐷)) → (𝐺 Σg 𝑊) = ( I ↾ 𝐷))
10759, 105, 1063eqtr3d 2786 . . . . 5 ((𝜑 ∧ ((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = ( I ↾ 𝐷)) → (𝐺 Σg (𝑊 splice ⟨𝐼, (𝐼 + 2), ∅⟩)) = ( I ↾ 𝐷))
108 fveqeq2 6765 . . . . . . 7 (𝑥 = (𝑊 splice ⟨𝐼, (𝐼 + 2), ∅⟩) → ((♯‘𝑥) = (𝐿 − 2) ↔ (♯‘(𝑊 splice ⟨𝐼, (𝐼 + 2), ∅⟩)) = (𝐿 − 2)))
109 oveq2 7263 . . . . . . . 8 (𝑥 = (𝑊 splice ⟨𝐼, (𝐼 + 2), ∅⟩) → (𝐺 Σg 𝑥) = (𝐺 Σg (𝑊 splice ⟨𝐼, (𝐼 + 2), ∅⟩)))
110109eqeq1d 2740 . . . . . . 7 (𝑥 = (𝑊 splice ⟨𝐼, (𝐼 + 2), ∅⟩) → ((𝐺 Σg 𝑥) = ( I ↾ 𝐷) ↔ (𝐺 Σg (𝑊 splice ⟨𝐼, (𝐼 + 2), ∅⟩)) = ( I ↾ 𝐷)))
111108, 110anbi12d 630 . . . . . 6 (𝑥 = (𝑊 splice ⟨𝐼, (𝐼 + 2), ∅⟩) → (((♯‘𝑥) = (𝐿 − 2) ∧ (𝐺 Σg 𝑥) = ( I ↾ 𝐷)) ↔ ((♯‘(𝑊 splice ⟨𝐼, (𝐼 + 2), ∅⟩)) = (𝐿 − 2) ∧ (𝐺 Σg (𝑊 splice ⟨𝐼, (𝐼 + 2), ∅⟩)) = ( I ↾ 𝐷))))
112111rspcev 3552 . . . . 5 (((𝑊 splice ⟨𝐼, (𝐼 + 2), ∅⟩) ∈ Word 𝑇 ∧ ((♯‘(𝑊 splice ⟨𝐼, (𝐼 + 2), ∅⟩)) = (𝐿 − 2) ∧ (𝐺 Σg (𝑊 splice ⟨𝐼, (𝐼 + 2), ∅⟩)) = ( I ↾ 𝐷))) → ∃𝑥 ∈ Word 𝑇((♯‘𝑥) = (𝐿 − 2) ∧ (𝐺 Σg 𝑥) = ( I ↾ 𝐷)))
1135, 55, 107, 112syl12anc 833 . . . 4 ((𝜑 ∧ ((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = ( I ↾ 𝐷)) → ∃𝑥 ∈ Word 𝑇((♯‘𝑥) = (𝐿 − 2) ∧ (𝐺 Σg 𝑥) = ( I ↾ 𝐷)))
114 psgnunilem2.in . . . . 5 (𝜑 → ¬ ∃𝑥 ∈ Word 𝑇((♯‘𝑥) = (𝐿 − 2) ∧ (𝐺 Σg 𝑥) = ( I ↾ 𝐷)))
115114adantr 480 . . . 4 ((𝜑 ∧ ((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = ( I ↾ 𝐷)) → ¬ ∃𝑥 ∈ Word 𝑇((♯‘𝑥) = (𝐿 − 2) ∧ (𝐺 Σg 𝑥) = ( I ↾ 𝐷)))
116113, 115pm2.21dd 194 . . 3 ((𝜑 ∧ ((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = ( I ↾ 𝐷)) → ∃𝑤 ∈ Word 𝑇(((𝐺 Σg 𝑤) = ( I ↾ 𝐷) ∧ (♯‘𝑤) = 𝐿) ∧ ((𝐼 + 1) ∈ (0..^𝐿) ∧ 𝐴 ∈ dom ((𝑤‘(𝐼 + 1)) ∖ I ) ∧ ∀𝑗 ∈ (0..^(𝐼 + 1)) ¬ 𝐴 ∈ dom ((𝑤𝑗) ∖ I ))))
117116ex 412 . 2 (𝜑 → (((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = ( I ↾ 𝐷) → ∃𝑤 ∈ Word 𝑇(((𝐺 Σg 𝑤) = ( I ↾ 𝐷) ∧ (♯‘𝑤) = 𝐿) ∧ ((𝐼 + 1) ∈ (0..^𝐿) ∧ 𝐴 ∈ dom ((𝑤‘(𝐼 + 1)) ∖ I ) ∧ ∀𝑗 ∈ (0..^(𝐼 + 1)) ¬ 𝐴 ∈ dom ((𝑤𝑗) ∖ I )))))
1181adantr 480 . . . . . . 7 ((𝜑 ∧ (𝑟𝑇𝑠𝑇)) → 𝑊 ∈ Word 𝑇)
119 simprl 767 . . . . . . . 8 ((𝜑 ∧ (𝑟𝑇𝑠𝑇)) → 𝑟𝑇)
120 simprr 769 . . . . . . . 8 ((𝜑 ∧ (𝑟𝑇𝑠𝑇)) → 𝑠𝑇)
121119, 120s2cld 14512 . . . . . . 7 ((𝜑 ∧ (𝑟𝑇𝑠𝑇)) → ⟨“𝑟𝑠”⟩ ∈ Word 𝑇)
122 splcl 14393 . . . . . . 7 ((𝑊 ∈ Word 𝑇 ∧ ⟨“𝑟𝑠”⟩ ∈ Word 𝑇) → (𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩) ∈ Word 𝑇)
123118, 121, 122syl2anc 583 . . . . . 6 ((𝜑 ∧ (𝑟𝑇𝑠𝑇)) → (𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩) ∈ Word 𝑇)
124123adantrr 713 . . . . 5 ((𝜑 ∧ ((𝑟𝑇𝑠𝑇) ∧ (((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = (𝑟𝑠) ∧ 𝐴 ∈ dom (𝑠 ∖ I ) ∧ ¬ 𝐴 ∈ dom (𝑟 ∖ I )))) → (𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩) ∈ Word 𝑇)
12563adantr 480 . . . . . . . 8 ((𝜑 ∧ ((𝑟𝑇𝑠𝑇) ∧ (((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = (𝑟𝑠) ∧ 𝐴 ∈ dom (𝑠 ∖ I ) ∧ ¬ 𝐴 ∈ dom (𝑟 ∖ I )))) → 𝐺 ∈ Mnd)
12668adantr 480 . . . . . . . 8 ((𝜑 ∧ ((𝑟𝑇𝑠𝑇) ∧ (((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = (𝑟𝑠) ∧ 𝐴 ∈ dom (𝑠 ∖ I ) ∧ ¬ 𝐴 ∈ dom (𝑟 ∖ I )))) → 𝑊 ∈ Word (Base‘𝐺))
12718adantr 480 . . . . . . . 8 ((𝜑 ∧ ((𝑟𝑇𝑠𝑇) ∧ (((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = (𝑟𝑠) ∧ 𝐴 ∈ dom (𝑠 ∖ I ) ∧ ¬ 𝐴 ∈ dom (𝑟 ∖ I )))) → 𝐼 ∈ (0...(𝐼 + 2)))
12836adantr 480 . . . . . . . 8 ((𝜑 ∧ ((𝑟𝑇𝑠𝑇) ∧ (((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = (𝑟𝑠) ∧ 𝐴 ∈ dom (𝑠 ∖ I ) ∧ ¬ 𝐴 ∈ dom (𝑟 ∖ I )))) → (𝐼 + 2) ∈ (0...(♯‘𝑊)))
12967, 121sselid 3915 . . . . . . . . 9 ((𝜑 ∧ (𝑟𝑇𝑠𝑇)) → ⟨“𝑟𝑠”⟩ ∈ Word (Base‘𝐺))
130129adantrr 713 . . . . . . . 8 ((𝜑 ∧ ((𝑟𝑇𝑠𝑇) ∧ (((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = (𝑟𝑠) ∧ 𝐴 ∈ dom (𝑠 ∖ I ) ∧ ¬ 𝐴 ∈ dom (𝑟 ∖ I )))) → ⟨“𝑟𝑠”⟩ ∈ Word (Base‘𝐺))
13173adantr 480 . . . . . . . 8 ((𝜑 ∧ ((𝑟𝑇𝑠𝑇) ∧ (((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = (𝑟𝑠) ∧ 𝐴 ∈ dom (𝑠 ∖ I ) ∧ ¬ 𝐴 ∈ dom (𝑟 ∖ I )))) → (𝑊 substr ⟨𝐼, (𝐼 + 2)⟩) ∈ Word (Base‘𝐺))
132 simprr1 1219 . . . . . . . . 9 ((𝜑 ∧ ((𝑟𝑇𝑠𝑇) ∧ (((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = (𝑟𝑠) ∧ 𝐴 ∈ dom (𝑠 ∖ I ) ∧ ¬ 𝐴 ∈ dom (𝑟 ∖ I )))) → ((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = (𝑟𝑠))
13395adantr 480 . . . . . . . . 9 ((𝜑 ∧ ((𝑟𝑇𝑠𝑇) ∧ (((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = (𝑟𝑠) ∧ 𝐴 ∈ dom (𝑠 ∖ I ) ∧ ¬ 𝐴 ∈ dom (𝑟 ∖ I )))) → (𝐺 Σg (𝑊 substr ⟨𝐼, (𝐼 + 2)⟩)) = ((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))))
13463adantr 480 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑟𝑇𝑠𝑇)) → 𝐺 ∈ Mnd)
13565a1i 11 . . . . . . . . . . . . . 14 (𝜑𝑇 ⊆ (Base‘𝐺))
136135sselda 3917 . . . . . . . . . . . . 13 ((𝜑𝑟𝑇) → 𝑟 ∈ (Base‘𝐺))
137136adantrr 713 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑟𝑇𝑠𝑇)) → 𝑟 ∈ (Base‘𝐺))
138135sselda 3917 . . . . . . . . . . . . 13 ((𝜑𝑠𝑇) → 𝑠 ∈ (Base‘𝐺))
139138adantrl 712 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑟𝑇𝑠𝑇)) → 𝑠 ∈ (Base‘𝐺))
14060, 90gsumws2 18396 . . . . . . . . . . . 12 ((𝐺 ∈ Mnd ∧ 𝑟 ∈ (Base‘𝐺) ∧ 𝑠 ∈ (Base‘𝐺)) → (𝐺 Σg ⟨“𝑟𝑠”⟩) = (𝑟(+g𝐺)𝑠))
141134, 137, 139, 140syl3anc 1369 . . . . . . . . . . 11 ((𝜑 ∧ (𝑟𝑇𝑠𝑇)) → (𝐺 Σg ⟨“𝑟𝑠”⟩) = (𝑟(+g𝐺)𝑠))
14219, 60, 90symgov 18906 . . . . . . . . . . . 12 ((𝑟 ∈ (Base‘𝐺) ∧ 𝑠 ∈ (Base‘𝐺)) → (𝑟(+g𝐺)𝑠) = (𝑟𝑠))
143137, 139, 142syl2anc 583 . . . . . . . . . . 11 ((𝜑 ∧ (𝑟𝑇𝑠𝑇)) → (𝑟(+g𝐺)𝑠) = (𝑟𝑠))
144141, 143eqtrd 2778 . . . . . . . . . 10 ((𝜑 ∧ (𝑟𝑇𝑠𝑇)) → (𝐺 Σg ⟨“𝑟𝑠”⟩) = (𝑟𝑠))
145144adantrr 713 . . . . . . . . 9 ((𝜑 ∧ ((𝑟𝑇𝑠𝑇) ∧ (((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = (𝑟𝑠) ∧ 𝐴 ∈ dom (𝑠 ∖ I ) ∧ ¬ 𝐴 ∈ dom (𝑟 ∖ I )))) → (𝐺 Σg ⟨“𝑟𝑠”⟩) = (𝑟𝑠))
146132, 133, 1453eqtr4rd 2789 . . . . . . . 8 ((𝜑 ∧ ((𝑟𝑇𝑠𝑇) ∧ (((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = (𝑟𝑠) ∧ 𝐴 ∈ dom (𝑠 ∖ I ) ∧ ¬ 𝐴 ∈ dom (𝑟 ∖ I )))) → (𝐺 Σg ⟨“𝑟𝑠”⟩) = (𝐺 Σg (𝑊 substr ⟨𝐼, (𝐼 + 2)⟩)))
14760, 125, 126, 127, 128, 130, 131, 146gsumspl 18398 . . . . . . 7 ((𝜑 ∧ ((𝑟𝑇𝑠𝑇) ∧ (((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = (𝑟𝑠) ∧ 𝐴 ∈ dom (𝑠 ∖ I ) ∧ ¬ 𝐴 ∈ dom (𝑟 ∖ I )))) → (𝐺 Σg (𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)) = (𝐺 Σg (𝑊 splice ⟨𝐼, (𝐼 + 2), (𝑊 substr ⟨𝐼, (𝐼 + 2)⟩)⟩)))
14858adantr 480 . . . . . . 7 ((𝜑 ∧ ((𝑟𝑇𝑠𝑇) ∧ (((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = (𝑟𝑠) ∧ 𝐴 ∈ dom (𝑠 ∖ I ) ∧ ¬ 𝐴 ∈ dom (𝑟 ∖ I )))) → (𝐺 Σg (𝑊 splice ⟨𝐼, (𝐼 + 2), (𝑊 substr ⟨𝐼, (𝐼 + 2)⟩)⟩)) = (𝐺 Σg 𝑊))
14922adantr 480 . . . . . . 7 ((𝜑 ∧ ((𝑟𝑇𝑠𝑇) ∧ (((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = (𝑟𝑠) ∧ 𝐴 ∈ dom (𝑠 ∖ I ) ∧ ¬ 𝐴 ∈ dom (𝑟 ∖ I )))) → (𝐺 Σg 𝑊) = ( I ↾ 𝐷))
150147, 148, 1493eqtrd 2782 . . . . . 6 ((𝜑 ∧ ((𝑟𝑇𝑠𝑇) ∧ (((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = (𝑟𝑠) ∧ 𝐴 ∈ dom (𝑠 ∖ I ) ∧ ¬ 𝐴 ∈ dom (𝑟 ∖ I )))) → (𝐺 Σg (𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)) = ( I ↾ 𝐷))
15118adantr 480 . . . . . . . . 9 ((𝜑 ∧ (𝑟𝑇𝑠𝑇)) → 𝐼 ∈ (0...(𝐼 + 2)))
15236adantr 480 . . . . . . . . 9 ((𝜑 ∧ (𝑟𝑇𝑠𝑇)) → (𝐼 + 2) ∈ (0...(♯‘𝑊)))
153118, 151, 152, 121spllen 14395 . . . . . . . 8 ((𝜑 ∧ (𝑟𝑇𝑠𝑇)) → (♯‘(𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)) = ((♯‘𝑊) + ((♯‘⟨“𝑟𝑠”⟩) − ((𝐼 + 2) − 𝐼))))
154 s2len 14530 . . . . . . . . . . . . 13 (♯‘⟨“𝑟𝑠”⟩) = 2
155154oveq1i 7265 . . . . . . . . . . . 12 ((♯‘⟨“𝑟𝑠”⟩) − ((𝐼 + 2) − 𝐼)) = (2 − ((𝐼 + 2) − 𝐼))
15645oveq2d 7271 . . . . . . . . . . . . 13 (𝜑 → (2 − ((𝐼 + 2) − 𝐼)) = (2 − 2))
15743subidi 11222 . . . . . . . . . . . . 13 (2 − 2) = 0
158156, 157eqtrdi 2795 . . . . . . . . . . . 12 (𝜑 → (2 − ((𝐼 + 2) − 𝐼)) = 0)
159155, 158eqtrid 2790 . . . . . . . . . . 11 (𝜑 → ((♯‘⟨“𝑟𝑠”⟩) − ((𝐼 + 2) − 𝐼)) = 0)
160159oveq2d 7271 . . . . . . . . . 10 (𝜑 → ((♯‘𝑊) + ((♯‘⟨“𝑟𝑠”⟩) − ((𝐼 + 2) − 𝐼))) = ((♯‘𝑊) + 0))
16123, 51eqeltrd 2839 . . . . . . . . . . 11 (𝜑 → (♯‘𝑊) ∈ ℂ)
162161addid1d 11105 . . . . . . . . . 10 (𝜑 → ((♯‘𝑊) + 0) = (♯‘𝑊))
163160, 162, 233eqtrd 2782 . . . . . . . . 9 (𝜑 → ((♯‘𝑊) + ((♯‘⟨“𝑟𝑠”⟩) − ((𝐼 + 2) − 𝐼))) = 𝐿)
164163adantr 480 . . . . . . . 8 ((𝜑 ∧ (𝑟𝑇𝑠𝑇)) → ((♯‘𝑊) + ((♯‘⟨“𝑟𝑠”⟩) − ((𝐼 + 2) − 𝐼))) = 𝐿)
165153, 164eqtrd 2778 . . . . . . 7 ((𝜑 ∧ (𝑟𝑇𝑠𝑇)) → (♯‘(𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)) = 𝐿)
166165adantrr 713 . . . . . 6 ((𝜑 ∧ ((𝑟𝑇𝑠𝑇) ∧ (((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = (𝑟𝑠) ∧ 𝐴 ∈ dom (𝑠 ∖ I ) ∧ ¬ 𝐴 ∈ dom (𝑟 ∖ I )))) → (♯‘(𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)) = 𝐿)
167150, 166jca 511 . . . . 5 ((𝜑 ∧ ((𝑟𝑇𝑠𝑇) ∧ (((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = (𝑟𝑠) ∧ 𝐴 ∈ dom (𝑠 ∖ I ) ∧ ¬ 𝐴 ∈ dom (𝑟 ∖ I )))) → ((𝐺 Σg (𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)) = ( I ↾ 𝐷) ∧ (♯‘(𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)) = 𝐿))
16826adantr 480 . . . . . 6 ((𝜑 ∧ ((𝑟𝑇𝑠𝑇) ∧ (((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = (𝑟𝑠) ∧ 𝐴 ∈ dom (𝑠 ∖ I ) ∧ ¬ 𝐴 ∈ dom (𝑟 ∖ I )))) → (𝐼 + 1) ∈ (0..^𝐿))
169 simprr2 1220 . . . . . . 7 ((𝜑 ∧ ((𝑟𝑇𝑠𝑇) ∧ (((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = (𝑟𝑠) ∧ 𝐴 ∈ dom (𝑠 ∖ I ) ∧ ¬ 𝐴 ∈ dom (𝑟 ∖ I )))) → 𝐴 ∈ dom (𝑠 ∖ I ))
170 1nn0 12179 . . . . . . . . . . . . . . 15 1 ∈ ℕ0
171 2nn 11976 . . . . . . . . . . . . . . 15 2 ∈ ℕ
172 1lt2 12074 . . . . . . . . . . . . . . 15 1 < 2
173 elfzo0 13356 . . . . . . . . . . . . . . 15 (1 ∈ (0..^2) ↔ (1 ∈ ℕ0 ∧ 2 ∈ ℕ ∧ 1 < 2))
174170, 171, 172, 173mpbir3an 1339 . . . . . . . . . . . . . 14 1 ∈ (0..^2)
175154oveq2i 7266 . . . . . . . . . . . . . 14 (0..^(♯‘⟨“𝑟𝑠”⟩)) = (0..^2)
176174, 175eleqtrri 2838 . . . . . . . . . . . . 13 1 ∈ (0..^(♯‘⟨“𝑟𝑠”⟩))
177176a1i 11 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑟𝑇𝑠𝑇)) → 1 ∈ (0..^(♯‘⟨“𝑟𝑠”⟩)))
178118, 151, 152, 121, 177splfv2a 14397 . . . . . . . . . . 11 ((𝜑 ∧ (𝑟𝑇𝑠𝑇)) → ((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘(𝐼 + 1)) = (⟨“𝑟𝑠”⟩‘1))
179 s2fv1 14529 . . . . . . . . . . . 12 (𝑠𝑇 → (⟨“𝑟𝑠”⟩‘1) = 𝑠)
180179ad2antll 725 . . . . . . . . . . 11 ((𝜑 ∧ (𝑟𝑇𝑠𝑇)) → (⟨“𝑟𝑠”⟩‘1) = 𝑠)
181178, 180eqtrd 2778 . . . . . . . . . 10 ((𝜑 ∧ (𝑟𝑇𝑠𝑇)) → ((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘(𝐼 + 1)) = 𝑠)
182181adantrr 713 . . . . . . . . 9 ((𝜑 ∧ ((𝑟𝑇𝑠𝑇) ∧ (((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = (𝑟𝑠) ∧ 𝐴 ∈ dom (𝑠 ∖ I ) ∧ ¬ 𝐴 ∈ dom (𝑟 ∖ I )))) → ((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘(𝐼 + 1)) = 𝑠)
183182difeq1d 4052 . . . . . . . 8 ((𝜑 ∧ ((𝑟𝑇𝑠𝑇) ∧ (((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = (𝑟𝑠) ∧ 𝐴 ∈ dom (𝑠 ∖ I ) ∧ ¬ 𝐴 ∈ dom (𝑟 ∖ I )))) → (((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘(𝐼 + 1)) ∖ I ) = (𝑠 ∖ I ))
184183dmeqd 5803 . . . . . . 7 ((𝜑 ∧ ((𝑟𝑇𝑠𝑇) ∧ (((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = (𝑟𝑠) ∧ 𝐴 ∈ dom (𝑠 ∖ I ) ∧ ¬ 𝐴 ∈ dom (𝑟 ∖ I )))) → dom (((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘(𝐼 + 1)) ∖ I ) = dom (𝑠 ∖ I ))
185169, 184eleqtrrd 2842 . . . . . 6 ((𝜑 ∧ ((𝑟𝑇𝑠𝑇) ∧ (((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = (𝑟𝑠) ∧ 𝐴 ∈ dom (𝑠 ∖ I ) ∧ ¬ 𝐴 ∈ dom (𝑟 ∖ I )))) → 𝐴 ∈ dom (((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘(𝐼 + 1)) ∖ I ))
186 fzosplitsni 13426 . . . . . . . . . . 11 (𝐼 ∈ (ℤ‘0) → (𝑗 ∈ (0..^(𝐼 + 1)) ↔ (𝑗 ∈ (0..^𝐼) ∨ 𝑗 = 𝐼)))
187 nn0uz 12549 . . . . . . . . . . 11 0 = (ℤ‘0)
188186, 187eleq2s 2857 . . . . . . . . . 10 (𝐼 ∈ ℕ0 → (𝑗 ∈ (0..^(𝐼 + 1)) ↔ (𝑗 ∈ (0..^𝐼) ∨ 𝑗 = 𝐼)))
18910, 188syl 17 . . . . . . . . 9 (𝜑 → (𝑗 ∈ (0..^(𝐼 + 1)) ↔ (𝑗 ∈ (0..^𝐼) ∨ 𝑗 = 𝐼)))
190189adantr 480 . . . . . . . 8 ((𝜑 ∧ ((𝑟𝑇𝑠𝑇) ∧ (((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = (𝑟𝑠) ∧ 𝐴 ∈ dom (𝑠 ∖ I ) ∧ ¬ 𝐴 ∈ dom (𝑟 ∖ I )))) → (𝑗 ∈ (0..^(𝐼 + 1)) ↔ (𝑗 ∈ (0..^𝐼) ∨ 𝑗 = 𝐼)))
191 fveq2 6756 . . . . . . . . . . . . . . . . . . 19 (𝑘 = 𝑗 → (𝑊𝑘) = (𝑊𝑗))
192191difeq1d 4052 . . . . . . . . . . . . . . . . . 18 (𝑘 = 𝑗 → ((𝑊𝑘) ∖ I ) = ((𝑊𝑗) ∖ I ))
193192dmeqd 5803 . . . . . . . . . . . . . . . . 17 (𝑘 = 𝑗 → dom ((𝑊𝑘) ∖ I ) = dom ((𝑊𝑗) ∖ I ))
194193eleq2d 2824 . . . . . . . . . . . . . . . 16 (𝑘 = 𝑗 → (𝐴 ∈ dom ((𝑊𝑘) ∖ I ) ↔ 𝐴 ∈ dom ((𝑊𝑗) ∖ I )))
195194notbid 317 . . . . . . . . . . . . . . 15 (𝑘 = 𝑗 → (¬ 𝐴 ∈ dom ((𝑊𝑘) ∖ I ) ↔ ¬ 𝐴 ∈ dom ((𝑊𝑗) ∖ I )))
196195rspccva 3551 . . . . . . . . . . . . . 14 ((∀𝑘 ∈ (0..^𝐼) ¬ 𝐴 ∈ dom ((𝑊𝑘) ∖ I ) ∧ 𝑗 ∈ (0..^𝐼)) → ¬ 𝐴 ∈ dom ((𝑊𝑗) ∖ I ))
19725, 196sylan 579 . . . . . . . . . . . . 13 ((𝜑𝑗 ∈ (0..^𝐼)) → ¬ 𝐴 ∈ dom ((𝑊𝑗) ∖ I ))
198197adantlr 711 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑟𝑇𝑠𝑇)) ∧ 𝑗 ∈ (0..^𝐼)) → ¬ 𝐴 ∈ dom ((𝑊𝑗) ∖ I ))
1991ad2antrr 722 . . . . . . . . . . . . . . 15 (((𝜑 ∧ (𝑟𝑇𝑠𝑇)) ∧ 𝑗 ∈ (0..^𝐼)) → 𝑊 ∈ Word 𝑇)
20018ad2antrr 722 . . . . . . . . . . . . . . 15 (((𝜑 ∧ (𝑟𝑇𝑠𝑇)) ∧ 𝑗 ∈ (0..^𝐼)) → 𝐼 ∈ (0...(𝐼 + 2)))
20136ad2antrr 722 . . . . . . . . . . . . . . 15 (((𝜑 ∧ (𝑟𝑇𝑠𝑇)) ∧ 𝑗 ∈ (0..^𝐼)) → (𝐼 + 2) ∈ (0...(♯‘𝑊)))
202121adantr 480 . . . . . . . . . . . . . . 15 (((𝜑 ∧ (𝑟𝑇𝑠𝑇)) ∧ 𝑗 ∈ (0..^𝐼)) → ⟨“𝑟𝑠”⟩ ∈ Word 𝑇)
203 simpr 484 . . . . . . . . . . . . . . 15 (((𝜑 ∧ (𝑟𝑇𝑠𝑇)) ∧ 𝑗 ∈ (0..^𝐼)) → 𝑗 ∈ (0..^𝐼))
204199, 200, 201, 202, 203splfv1 14396 . . . . . . . . . . . . . 14 (((𝜑 ∧ (𝑟𝑇𝑠𝑇)) ∧ 𝑗 ∈ (0..^𝐼)) → ((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝑗) = (𝑊𝑗))
205204difeq1d 4052 . . . . . . . . . . . . 13 (((𝜑 ∧ (𝑟𝑇𝑠𝑇)) ∧ 𝑗 ∈ (0..^𝐼)) → (((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝑗) ∖ I ) = ((𝑊𝑗) ∖ I ))
206205dmeqd 5803 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑟𝑇𝑠𝑇)) ∧ 𝑗 ∈ (0..^𝐼)) → dom (((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝑗) ∖ I ) = dom ((𝑊𝑗) ∖ I ))
207198, 206neleqtrrd 2861 . . . . . . . . . . 11 (((𝜑 ∧ (𝑟𝑇𝑠𝑇)) ∧ 𝑗 ∈ (0..^𝐼)) → ¬ 𝐴 ∈ dom (((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝑗) ∖ I ))
208207ex 412 . . . . . . . . . 10 ((𝜑 ∧ (𝑟𝑇𝑠𝑇)) → (𝑗 ∈ (0..^𝐼) → ¬ 𝐴 ∈ dom (((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝑗) ∖ I )))
209208adantrr 713 . . . . . . . . 9 ((𝜑 ∧ ((𝑟𝑇𝑠𝑇) ∧ (((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = (𝑟𝑠) ∧ 𝐴 ∈ dom (𝑠 ∖ I ) ∧ ¬ 𝐴 ∈ dom (𝑟 ∖ I )))) → (𝑗 ∈ (0..^𝐼) → ¬ 𝐴 ∈ dom (((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝑗) ∖ I )))
210 simprr3 1221 . . . . . . . . . . 11 ((𝜑 ∧ ((𝑟𝑇𝑠𝑇) ∧ (((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = (𝑟𝑠) ∧ 𝐴 ∈ dom (𝑠 ∖ I ) ∧ ¬ 𝐴 ∈ dom (𝑟 ∖ I )))) → ¬ 𝐴 ∈ dom (𝑟 ∖ I ))
211 0nn0 12178 . . . . . . . . . . . . . . . . . . . 20 0 ∈ ℕ0
212 2pos 12006 . . . . . . . . . . . . . . . . . . . 20 0 < 2
213 elfzo0 13356 . . . . . . . . . . . . . . . . . . . 20 (0 ∈ (0..^2) ↔ (0 ∈ ℕ0 ∧ 2 ∈ ℕ ∧ 0 < 2))
214211, 171, 212, 213mpbir3an 1339 . . . . . . . . . . . . . . . . . . 19 0 ∈ (0..^2)
215214, 175eleqtrri 2838 . . . . . . . . . . . . . . . . . 18 0 ∈ (0..^(♯‘⟨“𝑟𝑠”⟩))
216215a1i 11 . . . . . . . . . . . . . . . . 17 ((𝜑 ∧ (𝑟𝑇𝑠𝑇)) → 0 ∈ (0..^(♯‘⟨“𝑟𝑠”⟩)))
217118, 151, 152, 121, 216splfv2a 14397 . . . . . . . . . . . . . . . 16 ((𝜑 ∧ (𝑟𝑇𝑠𝑇)) → ((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘(𝐼 + 0)) = (⟨“𝑟𝑠”⟩‘0))
21831addid1d 11105 . . . . . . . . . . . . . . . . . 18 (𝜑 → (𝐼 + 0) = 𝐼)
219218adantr 480 . . . . . . . . . . . . . . . . 17 ((𝜑 ∧ (𝑟𝑇𝑠𝑇)) → (𝐼 + 0) = 𝐼)
220219fveq2d 6760 . . . . . . . . . . . . . . . 16 ((𝜑 ∧ (𝑟𝑇𝑠𝑇)) → ((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘(𝐼 + 0)) = ((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝐼))
221 s2fv0 14528 . . . . . . . . . . . . . . . . 17 (𝑟𝑇 → (⟨“𝑟𝑠”⟩‘0) = 𝑟)
222221ad2antrl 724 . . . . . . . . . . . . . . . 16 ((𝜑 ∧ (𝑟𝑇𝑠𝑇)) → (⟨“𝑟𝑠”⟩‘0) = 𝑟)
223217, 220, 2223eqtr3d 2786 . . . . . . . . . . . . . . 15 ((𝜑 ∧ (𝑟𝑇𝑠𝑇)) → ((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝐼) = 𝑟)
224223difeq1d 4052 . . . . . . . . . . . . . 14 ((𝜑 ∧ (𝑟𝑇𝑠𝑇)) → (((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝐼) ∖ I ) = (𝑟 ∖ I ))
225224dmeqd 5803 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑟𝑇𝑠𝑇)) → dom (((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝐼) ∖ I ) = dom (𝑟 ∖ I ))
226225eleq2d 2824 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑟𝑇𝑠𝑇)) → (𝐴 ∈ dom (((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝐼) ∖ I ) ↔ 𝐴 ∈ dom (𝑟 ∖ I )))
227226adantrr 713 . . . . . . . . . . 11 ((𝜑 ∧ ((𝑟𝑇𝑠𝑇) ∧ (((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = (𝑟𝑠) ∧ 𝐴 ∈ dom (𝑠 ∖ I ) ∧ ¬ 𝐴 ∈ dom (𝑟 ∖ I )))) → (𝐴 ∈ dom (((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝐼) ∖ I ) ↔ 𝐴 ∈ dom (𝑟 ∖ I )))
228210, 227mtbird 324 . . . . . . . . . 10 ((𝜑 ∧ ((𝑟𝑇𝑠𝑇) ∧ (((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = (𝑟𝑠) ∧ 𝐴 ∈ dom (𝑠 ∖ I ) ∧ ¬ 𝐴 ∈ dom (𝑟 ∖ I )))) → ¬ 𝐴 ∈ dom (((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝐼) ∖ I ))
229 fveq2 6756 . . . . . . . . . . . . . 14 (𝑗 = 𝐼 → ((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝑗) = ((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝐼))
230229difeq1d 4052 . . . . . . . . . . . . 13 (𝑗 = 𝐼 → (((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝑗) ∖ I ) = (((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝐼) ∖ I ))
231230dmeqd 5803 . . . . . . . . . . . 12 (𝑗 = 𝐼 → dom (((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝑗) ∖ I ) = dom (((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝐼) ∖ I ))
232231eleq2d 2824 . . . . . . . . . . 11 (𝑗 = 𝐼 → (𝐴 ∈ dom (((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝑗) ∖ I ) ↔ 𝐴 ∈ dom (((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝐼) ∖ I )))
233232notbid 317 . . . . . . . . . 10 (𝑗 = 𝐼 → (¬ 𝐴 ∈ dom (((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝑗) ∖ I ) ↔ ¬ 𝐴 ∈ dom (((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝐼) ∖ I )))
234228, 233syl5ibrcom 246 . . . . . . . . 9 ((𝜑 ∧ ((𝑟𝑇𝑠𝑇) ∧ (((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = (𝑟𝑠) ∧ 𝐴 ∈ dom (𝑠 ∖ I ) ∧ ¬ 𝐴 ∈ dom (𝑟 ∖ I )))) → (𝑗 = 𝐼 → ¬ 𝐴 ∈ dom (((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝑗) ∖ I )))
235209, 234jaod 855 . . . . . . . 8 ((𝜑 ∧ ((𝑟𝑇𝑠𝑇) ∧ (((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = (𝑟𝑠) ∧ 𝐴 ∈ dom (𝑠 ∖ I ) ∧ ¬ 𝐴 ∈ dom (𝑟 ∖ I )))) → ((𝑗 ∈ (0..^𝐼) ∨ 𝑗 = 𝐼) → ¬ 𝐴 ∈ dom (((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝑗) ∖ I )))
236190, 235sylbid 239 . . . . . . 7 ((𝜑 ∧ ((𝑟𝑇𝑠𝑇) ∧ (((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = (𝑟𝑠) ∧ 𝐴 ∈ dom (𝑠 ∖ I ) ∧ ¬ 𝐴 ∈ dom (𝑟 ∖ I )))) → (𝑗 ∈ (0..^(𝐼 + 1)) → ¬ 𝐴 ∈ dom (((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝑗) ∖ I )))
237236ralrimiv 3106 . . . . . 6 ((𝜑 ∧ ((𝑟𝑇𝑠𝑇) ∧ (((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = (𝑟𝑠) ∧ 𝐴 ∈ dom (𝑠 ∖ I ) ∧ ¬ 𝐴 ∈ dom (𝑟 ∖ I )))) → ∀𝑗 ∈ (0..^(𝐼 + 1)) ¬ 𝐴 ∈ dom (((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝑗) ∖ I ))
238168, 185, 2373jca 1126 . . . . 5 ((𝜑 ∧ ((𝑟𝑇𝑠𝑇) ∧ (((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = (𝑟𝑠) ∧ 𝐴 ∈ dom (𝑠 ∖ I ) ∧ ¬ 𝐴 ∈ dom (𝑟 ∖ I )))) → ((𝐼 + 1) ∈ (0..^𝐿) ∧ 𝐴 ∈ dom (((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘(𝐼 + 1)) ∖ I ) ∧ ∀𝑗 ∈ (0..^(𝐼 + 1)) ¬ 𝐴 ∈ dom (((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝑗) ∖ I )))
239 oveq2 7263 . . . . . . . . 9 (𝑤 = (𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩) → (𝐺 Σg 𝑤) = (𝐺 Σg (𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)))
240239eqeq1d 2740 . . . . . . . 8 (𝑤 = (𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩) → ((𝐺 Σg 𝑤) = ( I ↾ 𝐷) ↔ (𝐺 Σg (𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)) = ( I ↾ 𝐷)))
241 fveqeq2 6765 . . . . . . . 8 (𝑤 = (𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩) → ((♯‘𝑤) = 𝐿 ↔ (♯‘(𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)) = 𝐿))
242240, 241anbi12d 630 . . . . . . 7 (𝑤 = (𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩) → (((𝐺 Σg 𝑤) = ( I ↾ 𝐷) ∧ (♯‘𝑤) = 𝐿) ↔ ((𝐺 Σg (𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)) = ( I ↾ 𝐷) ∧ (♯‘(𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)) = 𝐿)))
243 fveq1 6755 . . . . . . . . . . 11 (𝑤 = (𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩) → (𝑤‘(𝐼 + 1)) = ((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘(𝐼 + 1)))
244243difeq1d 4052 . . . . . . . . . 10 (𝑤 = (𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩) → ((𝑤‘(𝐼 + 1)) ∖ I ) = (((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘(𝐼 + 1)) ∖ I ))
245244dmeqd 5803 . . . . . . . . 9 (𝑤 = (𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩) → dom ((𝑤‘(𝐼 + 1)) ∖ I ) = dom (((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘(𝐼 + 1)) ∖ I ))
246245eleq2d 2824 . . . . . . . 8 (𝑤 = (𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩) → (𝐴 ∈ dom ((𝑤‘(𝐼 + 1)) ∖ I ) ↔ 𝐴 ∈ dom (((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘(𝐼 + 1)) ∖ I )))
247 fveq1 6755 . . . . . . . . . . . . 13 (𝑤 = (𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩) → (𝑤𝑗) = ((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝑗))
248247difeq1d 4052 . . . . . . . . . . . 12 (𝑤 = (𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩) → ((𝑤𝑗) ∖ I ) = (((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝑗) ∖ I ))
249248dmeqd 5803 . . . . . . . . . . 11 (𝑤 = (𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩) → dom ((𝑤𝑗) ∖ I ) = dom (((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝑗) ∖ I ))
250249eleq2d 2824 . . . . . . . . . 10 (𝑤 = (𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩) → (𝐴 ∈ dom ((𝑤𝑗) ∖ I ) ↔ 𝐴 ∈ dom (((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝑗) ∖ I )))
251250notbid 317 . . . . . . . . 9 (𝑤 = (𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩) → (¬ 𝐴 ∈ dom ((𝑤𝑗) ∖ I ) ↔ ¬ 𝐴 ∈ dom (((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝑗) ∖ I )))
252251ralbidv 3120 . . . . . . . 8 (𝑤 = (𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩) → (∀𝑗 ∈ (0..^(𝐼 + 1)) ¬ 𝐴 ∈ dom ((𝑤𝑗) ∖ I ) ↔ ∀𝑗 ∈ (0..^(𝐼 + 1)) ¬ 𝐴 ∈ dom (((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝑗) ∖ I )))
253246, 2523anbi23d 1437 . . . . . . 7 (𝑤 = (𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩) → (((𝐼 + 1) ∈ (0..^𝐿) ∧ 𝐴 ∈ dom ((𝑤‘(𝐼 + 1)) ∖ I ) ∧ ∀𝑗 ∈ (0..^(𝐼 + 1)) ¬ 𝐴 ∈ dom ((𝑤𝑗) ∖ I )) ↔ ((𝐼 + 1) ∈ (0..^𝐿) ∧ 𝐴 ∈ dom (((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘(𝐼 + 1)) ∖ I ) ∧ ∀𝑗 ∈ (0..^(𝐼 + 1)) ¬ 𝐴 ∈ dom (((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝑗) ∖ I ))))
254242, 253anbi12d 630 . . . . . 6 (𝑤 = (𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩) → ((((𝐺 Σg 𝑤) = ( I ↾ 𝐷) ∧ (♯‘𝑤) = 𝐿) ∧ ((𝐼 + 1) ∈ (0..^𝐿) ∧ 𝐴 ∈ dom ((𝑤‘(𝐼 + 1)) ∖ I ) ∧ ∀𝑗 ∈ (0..^(𝐼 + 1)) ¬ 𝐴 ∈ dom ((𝑤𝑗) ∖ I ))) ↔ (((𝐺 Σg (𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)) = ( I ↾ 𝐷) ∧ (♯‘(𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)) = 𝐿) ∧ ((𝐼 + 1) ∈ (0..^𝐿) ∧ 𝐴 ∈ dom (((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘(𝐼 + 1)) ∖ I ) ∧ ∀𝑗 ∈ (0..^(𝐼 + 1)) ¬ 𝐴 ∈ dom (((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝑗) ∖ I )))))
255254rspcev 3552 . . . . 5 (((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩) ∈ Word 𝑇 ∧ (((𝐺 Σg (𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)) = ( I ↾ 𝐷) ∧ (♯‘(𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)) = 𝐿) ∧ ((𝐼 + 1) ∈ (0..^𝐿) ∧ 𝐴 ∈ dom (((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘(𝐼 + 1)) ∖ I ) ∧ ∀𝑗 ∈ (0..^(𝐼 + 1)) ¬ 𝐴 ∈ dom (((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝑗) ∖ I )))) → ∃𝑤 ∈ Word 𝑇(((𝐺 Σg 𝑤) = ( I ↾ 𝐷) ∧ (♯‘𝑤) = 𝐿) ∧ ((𝐼 + 1) ∈ (0..^𝐿) ∧ 𝐴 ∈ dom ((𝑤‘(𝐼 + 1)) ∖ I ) ∧ ∀𝑗 ∈ (0..^(𝐼 + 1)) ¬ 𝐴 ∈ dom ((𝑤𝑗) ∖ I ))))
256124, 167, 238, 255syl12anc 833 . . . 4 ((𝜑 ∧ ((𝑟𝑇𝑠𝑇) ∧ (((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = (𝑟𝑠) ∧ 𝐴 ∈ dom (𝑠 ∖ I ) ∧ ¬ 𝐴 ∈ dom (𝑟 ∖ I )))) → ∃𝑤 ∈ Word 𝑇(((𝐺 Σg 𝑤) = ( I ↾ 𝐷) ∧ (♯‘𝑤) = 𝐿) ∧ ((𝐼 + 1) ∈ (0..^𝐿) ∧ 𝐴 ∈ dom ((𝑤‘(𝐼 + 1)) ∖ I ) ∧ ∀𝑗 ∈ (0..^(𝐼 + 1)) ¬ 𝐴 ∈ dom ((𝑤𝑗) ∖ I ))))
257256expr 456 . . 3 ((𝜑 ∧ (𝑟𝑇𝑠𝑇)) → ((((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = (𝑟𝑠) ∧ 𝐴 ∈ dom (𝑠 ∖ I ) ∧ ¬ 𝐴 ∈ dom (𝑟 ∖ I )) → ∃𝑤 ∈ Word 𝑇(((𝐺 Σg 𝑤) = ( I ↾ 𝐷) ∧ (♯‘𝑤) = 𝐿) ∧ ((𝐼 + 1) ∈ (0..^𝐿) ∧ 𝐴 ∈ dom ((𝑤‘(𝐼 + 1)) ∖ I ) ∧ ∀𝑗 ∈ (0..^(𝐼 + 1)) ¬ 𝐴 ∈ dom ((𝑤𝑗) ∖ I )))))
258257rexlimdvva 3222 . 2 (𝜑 → (∃𝑟𝑇𝑠𝑇 (((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = (𝑟𝑠) ∧ 𝐴 ∈ dom (𝑠 ∖ I ) ∧ ¬ 𝐴 ∈ dom (𝑟 ∖ I )) → ∃𝑤 ∈ Word 𝑇(((𝐺 Σg 𝑤) = ( I ↾ 𝐷) ∧ (♯‘𝑤) = 𝐿) ∧ ((𝐼 + 1) ∈ (0..^𝐿) ∧ 𝐴 ∈ dom ((𝑤‘(𝐼 + 1)) ∖ I ) ∧ ∀𝑗 ∈ (0..^(𝐼 + 1)) ¬ 𝐴 ∈ dom ((𝑤𝑗) ∖ I )))))
25920, 21, 86, 88, 24psgnunilem1 19016 . 2 (𝜑 → (((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = ( I ↾ 𝐷) ∨ ∃𝑟𝑇𝑠𝑇 (((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = (𝑟𝑠) ∧ 𝐴 ∈ dom (𝑠 ∖ I ) ∧ ¬ 𝐴 ∈ dom (𝑟 ∖ I ))))
260117, 258, 259mpjaod 856 1 (𝜑 → ∃𝑤 ∈ Word 𝑇(((𝐺 Σg 𝑤) = ( I ↾ 𝐷) ∧ (♯‘𝑤) = 𝐿) ∧ ((𝐼 + 1) ∈ (0..^𝐿) ∧ 𝐴 ∈ dom ((𝑤‘(𝐼 + 1)) ∖ I ) ∧ ∀𝑗 ∈ (0..^(𝐼 + 1)) ¬ 𝐴 ∈ dom ((𝑤𝑗) ∖ I ))))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 395  wo 843  w3a 1085   = wceq 1539  wcel 2108  wral 3063  wrex 3064  cdif 3880  wss 3883  c0 4253  cop 4564  cotp 4566   class class class wbr 5070   I cid 5479  dom cdm 5580  ran crn 5581  cres 5582  ccom 5584  wf 6414  cfv 6418  (class class class)co 7255  cc 10800  cr 10801  0cc0 10802  1c1 10803   + caddc 10805   < clt 10940  cle 10941  cmin 11135  -cneg 11136  cn 11903  2c2 11958  0cn0 12163  cz 12249  cuz 12511  ...cfz 13168  ..^cfzo 13311  chash 13972  Word cword 14145   substr csubstr 14281   splice csplice 14390  ⟨“cs2 14482  Basecbs 16840  +gcplusg 16888  0gc0g 17067   Σg cgsu 17068  Mndcmnd 18300  Grpcgrp 18492  SymGrpcsymg 18889  pmTrspcpmtr 18964
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
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3or 1086  df-3an 1087  df-xor 1504  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-2o 8268  df-er 8456  df-map 8575  df-en 8692  df-dom 8693  df-sdom 8694  df-fin 8695  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-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-fz 13169  df-fzo 13312  df-seq 13650  df-hash 13973  df-word 14146  df-lsw 14194  df-concat 14202  df-s1 14229  df-substr 14282  df-pfx 14312  df-splice 14391  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-0g 17069  df-gsum 17070  df-mgm 18241  df-sgrp 18290  df-mnd 18301  df-submnd 18346  df-efmnd 18423  df-grp 18495  df-minusg 18496  df-subg 18667  df-symg 18890  df-pmtr 18965
This theorem is referenced by:  psgnunilem3  19019
  Copyright terms: Public domain W3C validator