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

Theorem psgnunilem2 19103
Description: Lemma for psgnuni 19107. 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 14242 . . . . . . 7 ∅ ∈ Word 𝑇
3 splcl 14465 . . . . . . 7 ((𝑊 ∈ Word 𝑇 ∧ ∅ ∈ Word 𝑇) → (𝑊 splice ⟨𝐼, (𝐼 + 2), ∅⟩) ∈ Word 𝑇)
41, 2, 3sylancl 586 . . . . . 6 (𝜑 → (𝑊 splice ⟨𝐼, (𝐼 + 2), ∅⟩) ∈ Word 𝑇)
54adantr 481 . . . . 5 ((𝜑 ∧ ((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = ( I ↾ 𝐷)) → (𝑊 splice ⟨𝐼, (𝐼 + 2), ∅⟩) ∈ Word 𝑇)
6 fzossfz 13406 . . . . . . . . . . 11 (0..^𝐿) ⊆ (0...𝐿)
7 psgnunilem2.ix . . . . . . . . . . 11 (𝜑𝐼 ∈ (0..^𝐿))
86, 7sselid 3919 . . . . . . . . . 10 (𝜑𝐼 ∈ (0...𝐿))
9 elfznn0 13349 . . . . . . . . . 10 (𝐼 ∈ (0...𝐿) → 𝐼 ∈ ℕ0)
108, 9syl 17 . . . . . . . . 9 (𝜑𝐼 ∈ ℕ0)
11 2nn0 12250 . . . . . . . . . 10 2 ∈ ℕ0
12 nn0addcl 12268 . . . . . . . . . 10 ((𝐼 ∈ ℕ0 ∧ 2 ∈ ℕ0) → (𝐼 + 2) ∈ ℕ0)
1310, 11, 12sylancl 586 . . . . . . . . 9 (𝜑 → (𝐼 + 2) ∈ ℕ0)
1410nn0red 12294 . . . . . . . . . 10 (𝜑𝐼 ∈ ℝ)
15 nn0addge1 12279 . . . . . . . . . 10 ((𝐼 ∈ ℝ ∧ 2 ∈ ℕ0) → 𝐼 ≤ (𝐼 + 2))
1614, 11, 15sylancl 586 . . . . . . . . 9 (𝜑𝐼 ≤ (𝐼 + 2))
17 elfz2nn0 13347 . . . . . . . . 9 (𝐼 ∈ (0...(𝐼 + 2)) ↔ (𝐼 ∈ ℕ0 ∧ (𝐼 + 2) ∈ ℕ0𝐼 ≤ (𝐼 + 2)))
1810, 13, 16, 17syl3anbrc 1342 . . . . . . . 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 19102 . . . . . . . . . 10 (𝜑 → (𝐼 + 1) ∈ (0..^𝐿))
27 fzofzp1 13484 . . . . . . . . . 10 ((𝐼 + 1) ∈ (0..^𝐿) → ((𝐼 + 1) + 1) ∈ (0...𝐿))
2826, 27syl 17 . . . . . . . . 9 (𝜑 → ((𝐼 + 1) + 1) ∈ (0...𝐿))
29 df-2 12036 . . . . . . . . . . 11 2 = (1 + 1)
3029oveq2i 7286 . . . . . . . . . 10 (𝐼 + 2) = (𝐼 + (1 + 1))
3110nn0cnd 12295 . . . . . . . . . . 11 (𝜑𝐼 ∈ ℂ)
32 1cnd 10970 . . . . . . . . . . 11 (𝜑 → 1 ∈ ℂ)
3331, 32, 32addassd 10997 . . . . . . . . . 10 (𝜑 → ((𝐼 + 1) + 1) = (𝐼 + (1 + 1)))
3430, 33eqtr4id 2797 . . . . . . . . 9 (𝜑 → (𝐼 + 2) = ((𝐼 + 1) + 1))
3523oveq2d 7291 . . . . . . . . 9 (𝜑 → (0...(♯‘𝑊)) = (0...𝐿))
3628, 34, 353eltr4d 2854 . . . . . . . 8 (𝜑 → (𝐼 + 2) ∈ (0...(♯‘𝑊)))
372a1i 11 . . . . . . . 8 (𝜑 → ∅ ∈ Word 𝑇)
381, 18, 36, 37spllen 14467 . . . . . . 7 (𝜑 → (♯‘(𝑊 splice ⟨𝐼, (𝐼 + 2), ∅⟩)) = ((♯‘𝑊) + ((♯‘∅) − ((𝐼 + 2) − 𝐼))))
39 hash0 14082 . . . . . . . . . . 11 (♯‘∅) = 0
4039oveq1i 7285 . . . . . . . . . 10 ((♯‘∅) − ((𝐼 + 2) − 𝐼)) = (0 − ((𝐼 + 2) − 𝐼))
41 df-neg 11208 . . . . . . . . . 10 -((𝐼 + 2) − 𝐼) = (0 − ((𝐼 + 2) − 𝐼))
4240, 41eqtr4i 2769 . . . . . . . . 9 ((♯‘∅) − ((𝐼 + 2) − 𝐼)) = -((𝐼 + 2) − 𝐼)
43 2cn 12048 . . . . . . . . . . 11 2 ∈ ℂ
44 pncan2 11228 . . . . . . . . . . 11 ((𝐼 ∈ ℂ ∧ 2 ∈ ℂ) → ((𝐼 + 2) − 𝐼) = 2)
4531, 43, 44sylancl 586 . . . . . . . . . 10 (𝜑 → ((𝐼 + 2) − 𝐼) = 2)
4645negeqd 11215 . . . . . . . . 9 (𝜑 → -((𝐼 + 2) − 𝐼) = -2)
4742, 46eqtrid 2790 . . . . . . . 8 (𝜑 → ((♯‘∅) − ((𝐼 + 2) − 𝐼)) = -2)
4823, 47oveq12d 7293 . . . . . . 7 (𝜑 → ((♯‘𝑊) + ((♯‘∅) − ((𝐼 + 2) − 𝐼))) = (𝐿 + -2))
49 elfzel2 13254 . . . . . . . . . 10 (𝐼 ∈ (0...𝐿) → 𝐿 ∈ ℤ)
508, 49syl 17 . . . . . . . . 9 (𝜑𝐿 ∈ ℤ)
5150zcnd 12427 . . . . . . . 8 (𝜑𝐿 ∈ ℂ)
52 negsub 11269 . . . . . . . 8 ((𝐿 ∈ ℂ ∧ 2 ∈ ℂ) → (𝐿 + -2) = (𝐿 − 2))
5351, 43, 52sylancl 586 . . . . . . 7 (𝜑 → (𝐿 + -2) = (𝐿 − 2))
5438, 48, 533eqtrd 2782 . . . . . 6 (𝜑 → (♯‘(𝑊 splice ⟨𝐼, (𝐼 + 2), ∅⟩)) = (𝐿 − 2))
5554adantr 481 . . . . 5 ((𝜑 ∧ ((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = ( I ↾ 𝐷)) → (♯‘(𝑊 splice ⟨𝐼, (𝐼 + 2), ∅⟩)) = (𝐿 − 2))
56 splid 14466 . . . . . . . . 9 ((𝑊 ∈ Word 𝑇 ∧ (𝐼 ∈ (0...(𝐼 + 2)) ∧ (𝐼 + 2) ∈ (0...(♯‘𝑊)))) → (𝑊 splice ⟨𝐼, (𝐼 + 2), (𝑊 substr ⟨𝐼, (𝐼 + 2)⟩)⟩) = 𝑊)
571, 18, 36, 56syl12anc 834 . . . . . . . 8 (𝜑 → (𝑊 splice ⟨𝐼, (𝐼 + 2), (𝑊 substr ⟨𝐼, (𝐼 + 2)⟩)⟩) = 𝑊)
5857oveq2d 7291 . . . . . . 7 (𝜑 → (𝐺 Σg (𝑊 splice ⟨𝐼, (𝐼 + 2), (𝑊 substr ⟨𝐼, (𝐼 + 2)⟩)⟩)) = (𝐺 Σg 𝑊))
5958adantr 481 . . . . . 6 ((𝜑 ∧ ((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = ( I ↾ 𝐷)) → (𝐺 Σg (𝑊 splice ⟨𝐼, (𝐼 + 2), (𝑊 substr ⟨𝐼, (𝐼 + 2)⟩)⟩)) = (𝐺 Σg 𝑊))
60 eqid 2738 . . . . . . 7 (Base‘𝐺) = (Base‘𝐺)
6119symggrp 19008 . . . . . . . . . 10 (𝐷𝑉𝐺 ∈ Grp)
6221, 61syl 17 . . . . . . . . 9 (𝜑𝐺 ∈ Grp)
6362grpmndd 18589 . . . . . . . 8 (𝜑𝐺 ∈ Mnd)
6463adantr 481 . . . . . . 7 ((𝜑 ∧ ((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = ( I ↾ 𝐷)) → 𝐺 ∈ Mnd)
6520, 19, 60symgtrf 19077 . . . . . . . . . 10 𝑇 ⊆ (Base‘𝐺)
66 sswrd 14225 . . . . . . . . . 10 (𝑇 ⊆ (Base‘𝐺) → Word 𝑇 ⊆ Word (Base‘𝐺))
6765, 66ax-mp 5 . . . . . . . . 9 Word 𝑇 ⊆ Word (Base‘𝐺)
6867, 1sselid 3919 . . . . . . . 8 (𝜑𝑊 ∈ Word (Base‘𝐺))
6968adantr 481 . . . . . . 7 ((𝜑 ∧ ((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = ( I ↾ 𝐷)) → 𝑊 ∈ Word (Base‘𝐺))
7018adantr 481 . . . . . . 7 ((𝜑 ∧ ((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = ( I ↾ 𝐷)) → 𝐼 ∈ (0...(𝐼 + 2)))
7136adantr 481 . . . . . . 7 ((𝜑 ∧ ((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = ( I ↾ 𝐷)) → (𝐼 + 2) ∈ (0...(♯‘𝑊)))
72 swrdcl 14358 . . . . . . . . 9 (𝑊 ∈ Word (Base‘𝐺) → (𝑊 substr ⟨𝐼, (𝐼 + 2)⟩) ∈ Word (Base‘𝐺))
7368, 72syl 17 . . . . . . . 8 (𝜑 → (𝑊 substr ⟨𝐼, (𝐼 + 2)⟩) ∈ Word (Base‘𝐺))
7473adantr 481 . . . . . . 7 ((𝜑 ∧ ((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = ( I ↾ 𝐷)) → (𝑊 substr ⟨𝐼, (𝐼 + 2)⟩) ∈ Word (Base‘𝐺))
75 wrd0 14242 . . . . . . . 8 ∅ ∈ Word (Base‘𝐺)
7675a1i 11 . . . . . . 7 ((𝜑 ∧ ((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = ( I ↾ 𝐷)) → ∅ ∈ Word (Base‘𝐺))
7723oveq2d 7291 . . . . . . . . . . . . 13 (𝜑 → (0..^(♯‘𝑊)) = (0..^𝐿))
7826, 77eleqtrrd 2842 . . . . . . . . . . . 12 (𝜑 → (𝐼 + 1) ∈ (0..^(♯‘𝑊)))
79 swrds2 14653 . . . . . . . . . . . 12 ((𝑊 ∈ Word 𝑇𝐼 ∈ ℕ0 ∧ (𝐼 + 1) ∈ (0..^(♯‘𝑊))) → (𝑊 substr ⟨𝐼, (𝐼 + 2)⟩) = ⟨“(𝑊𝐼)(𝑊‘(𝐼 + 1))”⟩)
801, 10, 78, 79syl3anc 1370 . . . . . . . . . . 11 (𝜑 → (𝑊 substr ⟨𝐼, (𝐼 + 2)⟩) = ⟨“(𝑊𝐼)(𝑊‘(𝐼 + 1))”⟩)
8180oveq2d 7291 . . . . . . . . . 10 (𝜑 → (𝐺 Σg (𝑊 substr ⟨𝐼, (𝐼 + 2)⟩)) = (𝐺 Σg ⟨“(𝑊𝐼)(𝑊‘(𝐼 + 1))”⟩))
82 wrdf 14222 . . . . . . . . . . . . . . 15 (𝑊 ∈ Word 𝑇𝑊:(0..^(♯‘𝑊))⟶𝑇)
831, 82syl 17 . . . . . . . . . . . . . 14 (𝜑𝑊:(0..^(♯‘𝑊))⟶𝑇)
8477feq2d 6586 . . . . . . . . . . . . . 14 (𝜑 → (𝑊:(0..^(♯‘𝑊))⟶𝑇𝑊:(0..^𝐿)⟶𝑇))
8583, 84mpbid 231 . . . . . . . . . . . . 13 (𝜑𝑊:(0..^𝐿)⟶𝑇)
8685, 7ffvelrnd 6962 . . . . . . . . . . . 12 (𝜑 → (𝑊𝐼) ∈ 𝑇)
8765, 86sselid 3919 . . . . . . . . . . 11 (𝜑 → (𝑊𝐼) ∈ (Base‘𝐺))
8885, 26ffvelrnd 6962 . . . . . . . . . . . 12 (𝜑 → (𝑊‘(𝐼 + 1)) ∈ 𝑇)
8965, 88sselid 3919 . . . . . . . . . . 11 (𝜑 → (𝑊‘(𝐼 + 1)) ∈ (Base‘𝐺))
90 eqid 2738 . . . . . . . . . . . 12 (+g𝐺) = (+g𝐺)
9160, 90gsumws2 18481 . . . . . . . . . . 11 ((𝐺 ∈ Mnd ∧ (𝑊𝐼) ∈ (Base‘𝐺) ∧ (𝑊‘(𝐼 + 1)) ∈ (Base‘𝐺)) → (𝐺 Σg ⟨“(𝑊𝐼)(𝑊‘(𝐼 + 1))”⟩) = ((𝑊𝐼)(+g𝐺)(𝑊‘(𝐼 + 1))))
9263, 87, 89, 91syl3anc 1370 . . . . . . . . . 10 (𝜑 → (𝐺 Σg ⟨“(𝑊𝐼)(𝑊‘(𝐼 + 1))”⟩) = ((𝑊𝐼)(+g𝐺)(𝑊‘(𝐼 + 1))))
9319, 60, 90symgov 18991 . . . . . . . . . . 11 (((𝑊𝐼) ∈ (Base‘𝐺) ∧ (𝑊‘(𝐼 + 1)) ∈ (Base‘𝐺)) → ((𝑊𝐼)(+g𝐺)(𝑊‘(𝐼 + 1))) = ((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))))
9487, 89, 93syl2anc 584 . . . . . . . . . 10 (𝜑 → ((𝑊𝐼)(+g𝐺)(𝑊‘(𝐼 + 1))) = ((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))))
9581, 92, 943eqtrd 2782 . . . . . . . . 9 (𝜑 → (𝐺 Σg (𝑊 substr ⟨𝐼, (𝐼 + 2)⟩)) = ((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))))
9695adantr 481 . . . . . . . 8 ((𝜑 ∧ ((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = ( I ↾ 𝐷)) → (𝐺 Σg (𝑊 substr ⟨𝐼, (𝐼 + 2)⟩)) = ((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))))
97 simpr 485 . . . . . . . 8 ((𝜑 ∧ ((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = ( I ↾ 𝐷)) → ((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = ( I ↾ 𝐷))
9819symgid 19009 . . . . . . . . . . 11 (𝐷𝑉 → ( I ↾ 𝐷) = (0g𝐺))
9921, 98syl 17 . . . . . . . . . 10 (𝜑 → ( I ↾ 𝐷) = (0g𝐺))
100 eqid 2738 . . . . . . . . . . 11 (0g𝐺) = (0g𝐺)
101100gsum0 18368 . . . . . . . . . 10 (𝐺 Σg ∅) = (0g𝐺)
10299, 101eqtr4di 2796 . . . . . . . . 9 (𝜑 → ( I ↾ 𝐷) = (𝐺 Σg ∅))
103102adantr 481 . . . . . . . 8 ((𝜑 ∧ ((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = ( I ↾ 𝐷)) → ( I ↾ 𝐷) = (𝐺 Σg ∅))
10496, 97, 1033eqtrd 2782 . . . . . . 7 ((𝜑 ∧ ((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = ( I ↾ 𝐷)) → (𝐺 Σg (𝑊 substr ⟨𝐼, (𝐼 + 2)⟩)) = (𝐺 Σg ∅))
10560, 64, 69, 70, 71, 74, 76, 104gsumspl 18483 . . . . . 6 ((𝜑 ∧ ((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = ( I ↾ 𝐷)) → (𝐺 Σg (𝑊 splice ⟨𝐼, (𝐼 + 2), (𝑊 substr ⟨𝐼, (𝐼 + 2)⟩)⟩)) = (𝐺 Σg (𝑊 splice ⟨𝐼, (𝐼 + 2), ∅⟩)))
10622adantr 481 . . . . . 6 ((𝜑 ∧ ((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = ( I ↾ 𝐷)) → (𝐺 Σg 𝑊) = ( I ↾ 𝐷))
10759, 105, 1063eqtr3d 2786 . . . . 5 ((𝜑 ∧ ((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = ( I ↾ 𝐷)) → (𝐺 Σg (𝑊 splice ⟨𝐼, (𝐼 + 2), ∅⟩)) = ( I ↾ 𝐷))
108 fveqeq2 6783 . . . . . . 7 (𝑥 = (𝑊 splice ⟨𝐼, (𝐼 + 2), ∅⟩) → ((♯‘𝑥) = (𝐿 − 2) ↔ (♯‘(𝑊 splice ⟨𝐼, (𝐼 + 2), ∅⟩)) = (𝐿 − 2)))
109 oveq2 7283 . . . . . . . 8 (𝑥 = (𝑊 splice ⟨𝐼, (𝐼 + 2), ∅⟩) → (𝐺 Σg 𝑥) = (𝐺 Σg (𝑊 splice ⟨𝐼, (𝐼 + 2), ∅⟩)))
110109eqeq1d 2740 . . . . . . 7 (𝑥 = (𝑊 splice ⟨𝐼, (𝐼 + 2), ∅⟩) → ((𝐺 Σg 𝑥) = ( I ↾ 𝐷) ↔ (𝐺 Σg (𝑊 splice ⟨𝐼, (𝐼 + 2), ∅⟩)) = ( I ↾ 𝐷)))
111108, 110anbi12d 631 . . . . . 6 (𝑥 = (𝑊 splice ⟨𝐼, (𝐼 + 2), ∅⟩) → (((♯‘𝑥) = (𝐿 − 2) ∧ (𝐺 Σg 𝑥) = ( I ↾ 𝐷)) ↔ ((♯‘(𝑊 splice ⟨𝐼, (𝐼 + 2), ∅⟩)) = (𝐿 − 2) ∧ (𝐺 Σg (𝑊 splice ⟨𝐼, (𝐼 + 2), ∅⟩)) = ( I ↾ 𝐷))))
112111rspcev 3561 . . . . 5 (((𝑊 splice ⟨𝐼, (𝐼 + 2), ∅⟩) ∈ Word 𝑇 ∧ ((♯‘(𝑊 splice ⟨𝐼, (𝐼 + 2), ∅⟩)) = (𝐿 − 2) ∧ (𝐺 Σg (𝑊 splice ⟨𝐼, (𝐼 + 2), ∅⟩)) = ( I ↾ 𝐷))) → ∃𝑥 ∈ Word 𝑇((♯‘𝑥) = (𝐿 − 2) ∧ (𝐺 Σg 𝑥) = ( I ↾ 𝐷)))
1135, 55, 107, 112syl12anc 834 . . . 4 ((𝜑 ∧ ((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = ( I ↾ 𝐷)) → ∃𝑥 ∈ Word 𝑇((♯‘𝑥) = (𝐿 − 2) ∧ (𝐺 Σg 𝑥) = ( I ↾ 𝐷)))
114 psgnunilem2.in . . . . 5 (𝜑 → ¬ ∃𝑥 ∈ Word 𝑇((♯‘𝑥) = (𝐿 − 2) ∧ (𝐺 Σg 𝑥) = ( I ↾ 𝐷)))
115114adantr 481 . . . 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 413 . 2 (𝜑 → (((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = ( I ↾ 𝐷) → ∃𝑤 ∈ Word 𝑇(((𝐺 Σg 𝑤) = ( I ↾ 𝐷) ∧ (♯‘𝑤) = 𝐿) ∧ ((𝐼 + 1) ∈ (0..^𝐿) ∧ 𝐴 ∈ dom ((𝑤‘(𝐼 + 1)) ∖ I ) ∧ ∀𝑗 ∈ (0..^(𝐼 + 1)) ¬ 𝐴 ∈ dom ((𝑤𝑗) ∖ I )))))
1181adantr 481 . . . . . . 7 ((𝜑 ∧ (𝑟𝑇𝑠𝑇)) → 𝑊 ∈ Word 𝑇)
119 simprl 768 . . . . . . . 8 ((𝜑 ∧ (𝑟𝑇𝑠𝑇)) → 𝑟𝑇)
120 simprr 770 . . . . . . . 8 ((𝜑 ∧ (𝑟𝑇𝑠𝑇)) → 𝑠𝑇)
121119, 120s2cld 14584 . . . . . . 7 ((𝜑 ∧ (𝑟𝑇𝑠𝑇)) → ⟨“𝑟𝑠”⟩ ∈ Word 𝑇)
122 splcl 14465 . . . . . . 7 ((𝑊 ∈ Word 𝑇 ∧ ⟨“𝑟𝑠”⟩ ∈ Word 𝑇) → (𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩) ∈ Word 𝑇)
123118, 121, 122syl2anc 584 . . . . . 6 ((𝜑 ∧ (𝑟𝑇𝑠𝑇)) → (𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩) ∈ Word 𝑇)
124123adantrr 714 . . . . 5 ((𝜑 ∧ ((𝑟𝑇𝑠𝑇) ∧ (((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = (𝑟𝑠) ∧ 𝐴 ∈ dom (𝑠 ∖ I ) ∧ ¬ 𝐴 ∈ dom (𝑟 ∖ I )))) → (𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩) ∈ Word 𝑇)
12563adantr 481 . . . . . . . 8 ((𝜑 ∧ ((𝑟𝑇𝑠𝑇) ∧ (((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = (𝑟𝑠) ∧ 𝐴 ∈ dom (𝑠 ∖ I ) ∧ ¬ 𝐴 ∈ dom (𝑟 ∖ I )))) → 𝐺 ∈ Mnd)
12668adantr 481 . . . . . . . 8 ((𝜑 ∧ ((𝑟𝑇𝑠𝑇) ∧ (((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = (𝑟𝑠) ∧ 𝐴 ∈ dom (𝑠 ∖ I ) ∧ ¬ 𝐴 ∈ dom (𝑟 ∖ I )))) → 𝑊 ∈ Word (Base‘𝐺))
12718adantr 481 . . . . . . . 8 ((𝜑 ∧ ((𝑟𝑇𝑠𝑇) ∧ (((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = (𝑟𝑠) ∧ 𝐴 ∈ dom (𝑠 ∖ I ) ∧ ¬ 𝐴 ∈ dom (𝑟 ∖ I )))) → 𝐼 ∈ (0...(𝐼 + 2)))
12836adantr 481 . . . . . . . 8 ((𝜑 ∧ ((𝑟𝑇𝑠𝑇) ∧ (((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = (𝑟𝑠) ∧ 𝐴 ∈ dom (𝑠 ∖ I ) ∧ ¬ 𝐴 ∈ dom (𝑟 ∖ I )))) → (𝐼 + 2) ∈ (0...(♯‘𝑊)))
12967, 121sselid 3919 . . . . . . . . 9 ((𝜑 ∧ (𝑟𝑇𝑠𝑇)) → ⟨“𝑟𝑠”⟩ ∈ Word (Base‘𝐺))
130129adantrr 714 . . . . . . . 8 ((𝜑 ∧ ((𝑟𝑇𝑠𝑇) ∧ (((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = (𝑟𝑠) ∧ 𝐴 ∈ dom (𝑠 ∖ I ) ∧ ¬ 𝐴 ∈ dom (𝑟 ∖ I )))) → ⟨“𝑟𝑠”⟩ ∈ Word (Base‘𝐺))
13173adantr 481 . . . . . . . 8 ((𝜑 ∧ ((𝑟𝑇𝑠𝑇) ∧ (((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = (𝑟𝑠) ∧ 𝐴 ∈ dom (𝑠 ∖ I ) ∧ ¬ 𝐴 ∈ dom (𝑟 ∖ I )))) → (𝑊 substr ⟨𝐼, (𝐼 + 2)⟩) ∈ Word (Base‘𝐺))
132 simprr1 1220 . . . . . . . . 9 ((𝜑 ∧ ((𝑟𝑇𝑠𝑇) ∧ (((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = (𝑟𝑠) ∧ 𝐴 ∈ dom (𝑠 ∖ I ) ∧ ¬ 𝐴 ∈ dom (𝑟 ∖ I )))) → ((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = (𝑟𝑠))
13395adantr 481 . . . . . . . . 9 ((𝜑 ∧ ((𝑟𝑇𝑠𝑇) ∧ (((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = (𝑟𝑠) ∧ 𝐴 ∈ dom (𝑠 ∖ I ) ∧ ¬ 𝐴 ∈ dom (𝑟 ∖ I )))) → (𝐺 Σg (𝑊 substr ⟨𝐼, (𝐼 + 2)⟩)) = ((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))))
13463adantr 481 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑟𝑇𝑠𝑇)) → 𝐺 ∈ Mnd)
13565a1i 11 . . . . . . . . . . . . . 14 (𝜑𝑇 ⊆ (Base‘𝐺))
136135sselda 3921 . . . . . . . . . . . . 13 ((𝜑𝑟𝑇) → 𝑟 ∈ (Base‘𝐺))
137136adantrr 714 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑟𝑇𝑠𝑇)) → 𝑟 ∈ (Base‘𝐺))
138135sselda 3921 . . . . . . . . . . . . 13 ((𝜑𝑠𝑇) → 𝑠 ∈ (Base‘𝐺))
139138adantrl 713 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑟𝑇𝑠𝑇)) → 𝑠 ∈ (Base‘𝐺))
14060, 90gsumws2 18481 . . . . . . . . . . . 12 ((𝐺 ∈ Mnd ∧ 𝑟 ∈ (Base‘𝐺) ∧ 𝑠 ∈ (Base‘𝐺)) → (𝐺 Σg ⟨“𝑟𝑠”⟩) = (𝑟(+g𝐺)𝑠))
141134, 137, 139, 140syl3anc 1370 . . . . . . . . . . 11 ((𝜑 ∧ (𝑟𝑇𝑠𝑇)) → (𝐺 Σg ⟨“𝑟𝑠”⟩) = (𝑟(+g𝐺)𝑠))
14219, 60, 90symgov 18991 . . . . . . . . . . . 12 ((𝑟 ∈ (Base‘𝐺) ∧ 𝑠 ∈ (Base‘𝐺)) → (𝑟(+g𝐺)𝑠) = (𝑟𝑠))
143137, 139, 142syl2anc 584 . . . . . . . . . . 11 ((𝜑 ∧ (𝑟𝑇𝑠𝑇)) → (𝑟(+g𝐺)𝑠) = (𝑟𝑠))
144141, 143eqtrd 2778 . . . . . . . . . 10 ((𝜑 ∧ (𝑟𝑇𝑠𝑇)) → (𝐺 Σg ⟨“𝑟𝑠”⟩) = (𝑟𝑠))
145144adantrr 714 . . . . . . . . 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 18483 . . . . . . 7 ((𝜑 ∧ ((𝑟𝑇𝑠𝑇) ∧ (((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = (𝑟𝑠) ∧ 𝐴 ∈ dom (𝑠 ∖ I ) ∧ ¬ 𝐴 ∈ dom (𝑟 ∖ I )))) → (𝐺 Σg (𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)) = (𝐺 Σg (𝑊 splice ⟨𝐼, (𝐼 + 2), (𝑊 substr ⟨𝐼, (𝐼 + 2)⟩)⟩)))
14858adantr 481 . . . . . . 7 ((𝜑 ∧ ((𝑟𝑇𝑠𝑇) ∧ (((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = (𝑟𝑠) ∧ 𝐴 ∈ dom (𝑠 ∖ I ) ∧ ¬ 𝐴 ∈ dom (𝑟 ∖ I )))) → (𝐺 Σg (𝑊 splice ⟨𝐼, (𝐼 + 2), (𝑊 substr ⟨𝐼, (𝐼 + 2)⟩)⟩)) = (𝐺 Σg 𝑊))
14922adantr 481 . . . . . . 7 ((𝜑 ∧ ((𝑟𝑇𝑠𝑇) ∧ (((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = (𝑟𝑠) ∧ 𝐴 ∈ dom (𝑠 ∖ I ) ∧ ¬ 𝐴 ∈ dom (𝑟 ∖ I )))) → (𝐺 Σg 𝑊) = ( I ↾ 𝐷))
150147, 148, 1493eqtrd 2782 . . . . . 6 ((𝜑 ∧ ((𝑟𝑇𝑠𝑇) ∧ (((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = (𝑟𝑠) ∧ 𝐴 ∈ dom (𝑠 ∖ I ) ∧ ¬ 𝐴 ∈ dom (𝑟 ∖ I )))) → (𝐺 Σg (𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)) = ( I ↾ 𝐷))
15118adantr 481 . . . . . . . . 9 ((𝜑 ∧ (𝑟𝑇𝑠𝑇)) → 𝐼 ∈ (0...(𝐼 + 2)))
15236adantr 481 . . . . . . . . 9 ((𝜑 ∧ (𝑟𝑇𝑠𝑇)) → (𝐼 + 2) ∈ (0...(♯‘𝑊)))
153118, 151, 152, 121spllen 14467 . . . . . . . 8 ((𝜑 ∧ (𝑟𝑇𝑠𝑇)) → (♯‘(𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)) = ((♯‘𝑊) + ((♯‘⟨“𝑟𝑠”⟩) − ((𝐼 + 2) − 𝐼))))
154 s2len 14602 . . . . . . . . . . . . 13 (♯‘⟨“𝑟𝑠”⟩) = 2
155154oveq1i 7285 . . . . . . . . . . . 12 ((♯‘⟨“𝑟𝑠”⟩) − ((𝐼 + 2) − 𝐼)) = (2 − ((𝐼 + 2) − 𝐼))
15645oveq2d 7291 . . . . . . . . . . . . 13 (𝜑 → (2 − ((𝐼 + 2) − 𝐼)) = (2 − 2))
15743subidi 11292 . . . . . . . . . . . . 13 (2 − 2) = 0
158156, 157eqtrdi 2794 . . . . . . . . . . . 12 (𝜑 → (2 − ((𝐼 + 2) − 𝐼)) = 0)
159155, 158eqtrid 2790 . . . . . . . . . . 11 (𝜑 → ((♯‘⟨“𝑟𝑠”⟩) − ((𝐼 + 2) − 𝐼)) = 0)
160159oveq2d 7291 . . . . . . . . . 10 (𝜑 → ((♯‘𝑊) + ((♯‘⟨“𝑟𝑠”⟩) − ((𝐼 + 2) − 𝐼))) = ((♯‘𝑊) + 0))
16123, 51eqeltrd 2839 . . . . . . . . . . 11 (𝜑 → (♯‘𝑊) ∈ ℂ)
162161addid1d 11175 . . . . . . . . . 10 (𝜑 → ((♯‘𝑊) + 0) = (♯‘𝑊))
163160, 162, 233eqtrd 2782 . . . . . . . . 9 (𝜑 → ((♯‘𝑊) + ((♯‘⟨“𝑟𝑠”⟩) − ((𝐼 + 2) − 𝐼))) = 𝐿)
164163adantr 481 . . . . . . . 8 ((𝜑 ∧ (𝑟𝑇𝑠𝑇)) → ((♯‘𝑊) + ((♯‘⟨“𝑟𝑠”⟩) − ((𝐼 + 2) − 𝐼))) = 𝐿)
165153, 164eqtrd 2778 . . . . . . 7 ((𝜑 ∧ (𝑟𝑇𝑠𝑇)) → (♯‘(𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)) = 𝐿)
166165adantrr 714 . . . . . 6 ((𝜑 ∧ ((𝑟𝑇𝑠𝑇) ∧ (((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = (𝑟𝑠) ∧ 𝐴 ∈ dom (𝑠 ∖ I ) ∧ ¬ 𝐴 ∈ dom (𝑟 ∖ I )))) → (♯‘(𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)) = 𝐿)
167150, 166jca 512 . . . . 5 ((𝜑 ∧ ((𝑟𝑇𝑠𝑇) ∧ (((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = (𝑟𝑠) ∧ 𝐴 ∈ dom (𝑠 ∖ I ) ∧ ¬ 𝐴 ∈ dom (𝑟 ∖ I )))) → ((𝐺 Σg (𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)) = ( I ↾ 𝐷) ∧ (♯‘(𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)) = 𝐿))
16826adantr 481 . . . . . 6 ((𝜑 ∧ ((𝑟𝑇𝑠𝑇) ∧ (((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = (𝑟𝑠) ∧ 𝐴 ∈ dom (𝑠 ∖ I ) ∧ ¬ 𝐴 ∈ dom (𝑟 ∖ I )))) → (𝐼 + 1) ∈ (0..^𝐿))
169 simprr2 1221 . . . . . . 7 ((𝜑 ∧ ((𝑟𝑇𝑠𝑇) ∧ (((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = (𝑟𝑠) ∧ 𝐴 ∈ dom (𝑠 ∖ I ) ∧ ¬ 𝐴 ∈ dom (𝑟 ∖ I )))) → 𝐴 ∈ dom (𝑠 ∖ I ))
170 1nn0 12249 . . . . . . . . . . . . . . 15 1 ∈ ℕ0
171 2nn 12046 . . . . . . . . . . . . . . 15 2 ∈ ℕ
172 1lt2 12144 . . . . . . . . . . . . . . 15 1 < 2
173 elfzo0 13428 . . . . . . . . . . . . . . 15 (1 ∈ (0..^2) ↔ (1 ∈ ℕ0 ∧ 2 ∈ ℕ ∧ 1 < 2))
174170, 171, 172, 173mpbir3an 1340 . . . . . . . . . . . . . 14 1 ∈ (0..^2)
175154oveq2i 7286 . . . . . . . . . . . . . 14 (0..^(♯‘⟨“𝑟𝑠”⟩)) = (0..^2)
176174, 175eleqtrri 2838 . . . . . . . . . . . . 13 1 ∈ (0..^(♯‘⟨“𝑟𝑠”⟩))
177176a1i 11 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑟𝑇𝑠𝑇)) → 1 ∈ (0..^(♯‘⟨“𝑟𝑠”⟩)))
178118, 151, 152, 121, 177splfv2a 14469 . . . . . . . . . . 11 ((𝜑 ∧ (𝑟𝑇𝑠𝑇)) → ((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘(𝐼 + 1)) = (⟨“𝑟𝑠”⟩‘1))
179 s2fv1 14601 . . . . . . . . . . . 12 (𝑠𝑇 → (⟨“𝑟𝑠”⟩‘1) = 𝑠)
180179ad2antll 726 . . . . . . . . . . 11 ((𝜑 ∧ (𝑟𝑇𝑠𝑇)) → (⟨“𝑟𝑠”⟩‘1) = 𝑠)
181178, 180eqtrd 2778 . . . . . . . . . 10 ((𝜑 ∧ (𝑟𝑇𝑠𝑇)) → ((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘(𝐼 + 1)) = 𝑠)
182181adantrr 714 . . . . . . . . 9 ((𝜑 ∧ ((𝑟𝑇𝑠𝑇) ∧ (((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = (𝑟𝑠) ∧ 𝐴 ∈ dom (𝑠 ∖ I ) ∧ ¬ 𝐴 ∈ dom (𝑟 ∖ I )))) → ((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘(𝐼 + 1)) = 𝑠)
183182difeq1d 4056 . . . . . . . 8 ((𝜑 ∧ ((𝑟𝑇𝑠𝑇) ∧ (((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = (𝑟𝑠) ∧ 𝐴 ∈ dom (𝑠 ∖ I ) ∧ ¬ 𝐴 ∈ dom (𝑟 ∖ I )))) → (((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘(𝐼 + 1)) ∖ I ) = (𝑠 ∖ I ))
184183dmeqd 5814 . . . . . . 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 13498 . . . . . . . . . . 11 (𝐼 ∈ (ℤ‘0) → (𝑗 ∈ (0..^(𝐼 + 1)) ↔ (𝑗 ∈ (0..^𝐼) ∨ 𝑗 = 𝐼)))
187 nn0uz 12620 . . . . . . . . . . 11 0 = (ℤ‘0)
188186, 187eleq2s 2857 . . . . . . . . . 10 (𝐼 ∈ ℕ0 → (𝑗 ∈ (0..^(𝐼 + 1)) ↔ (𝑗 ∈ (0..^𝐼) ∨ 𝑗 = 𝐼)))
18910, 188syl 17 . . . . . . . . 9 (𝜑 → (𝑗 ∈ (0..^(𝐼 + 1)) ↔ (𝑗 ∈ (0..^𝐼) ∨ 𝑗 = 𝐼)))
190189adantr 481 . . . . . . . 8 ((𝜑 ∧ ((𝑟𝑇𝑠𝑇) ∧ (((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = (𝑟𝑠) ∧ 𝐴 ∈ dom (𝑠 ∖ I ) ∧ ¬ 𝐴 ∈ dom (𝑟 ∖ I )))) → (𝑗 ∈ (0..^(𝐼 + 1)) ↔ (𝑗 ∈ (0..^𝐼) ∨ 𝑗 = 𝐼)))
191 fveq2 6774 . . . . . . . . . . . . . . . . . . 19 (𝑘 = 𝑗 → (𝑊𝑘) = (𝑊𝑗))
192191difeq1d 4056 . . . . . . . . . . . . . . . . . 18 (𝑘 = 𝑗 → ((𝑊𝑘) ∖ I ) = ((𝑊𝑗) ∖ I ))
193192dmeqd 5814 . . . . . . . . . . . . . . . . 17 (𝑘 = 𝑗 → dom ((𝑊𝑘) ∖ I ) = dom ((𝑊𝑗) ∖ I ))
194193eleq2d 2824 . . . . . . . . . . . . . . . 16 (𝑘 = 𝑗 → (𝐴 ∈ dom ((𝑊𝑘) ∖ I ) ↔ 𝐴 ∈ dom ((𝑊𝑗) ∖ I )))
195194notbid 318 . . . . . . . . . . . . . . 15 (𝑘 = 𝑗 → (¬ 𝐴 ∈ dom ((𝑊𝑘) ∖ I ) ↔ ¬ 𝐴 ∈ dom ((𝑊𝑗) ∖ I )))
196195rspccva 3560 . . . . . . . . . . . . . 14 ((∀𝑘 ∈ (0..^𝐼) ¬ 𝐴 ∈ dom ((𝑊𝑘) ∖ I ) ∧ 𝑗 ∈ (0..^𝐼)) → ¬ 𝐴 ∈ dom ((𝑊𝑗) ∖ I ))
19725, 196sylan 580 . . . . . . . . . . . . 13 ((𝜑𝑗 ∈ (0..^𝐼)) → ¬ 𝐴 ∈ dom ((𝑊𝑗) ∖ I ))
198197adantlr 712 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑟𝑇𝑠𝑇)) ∧ 𝑗 ∈ (0..^𝐼)) → ¬ 𝐴 ∈ dom ((𝑊𝑗) ∖ I ))
1991ad2antrr 723 . . . . . . . . . . . . . . 15 (((𝜑 ∧ (𝑟𝑇𝑠𝑇)) ∧ 𝑗 ∈ (0..^𝐼)) → 𝑊 ∈ Word 𝑇)
20018ad2antrr 723 . . . . . . . . . . . . . . 15 (((𝜑 ∧ (𝑟𝑇𝑠𝑇)) ∧ 𝑗 ∈ (0..^𝐼)) → 𝐼 ∈ (0...(𝐼 + 2)))
20136ad2antrr 723 . . . . . . . . . . . . . . 15 (((𝜑 ∧ (𝑟𝑇𝑠𝑇)) ∧ 𝑗 ∈ (0..^𝐼)) → (𝐼 + 2) ∈ (0...(♯‘𝑊)))
202121adantr 481 . . . . . . . . . . . . . . 15 (((𝜑 ∧ (𝑟𝑇𝑠𝑇)) ∧ 𝑗 ∈ (0..^𝐼)) → ⟨“𝑟𝑠”⟩ ∈ Word 𝑇)
203 simpr 485 . . . . . . . . . . . . . . 15 (((𝜑 ∧ (𝑟𝑇𝑠𝑇)) ∧ 𝑗 ∈ (0..^𝐼)) → 𝑗 ∈ (0..^𝐼))
204199, 200, 201, 202, 203splfv1 14468 . . . . . . . . . . . . . 14 (((𝜑 ∧ (𝑟𝑇𝑠𝑇)) ∧ 𝑗 ∈ (0..^𝐼)) → ((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝑗) = (𝑊𝑗))
205204difeq1d 4056 . . . . . . . . . . . . 13 (((𝜑 ∧ (𝑟𝑇𝑠𝑇)) ∧ 𝑗 ∈ (0..^𝐼)) → (((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝑗) ∖ I ) = ((𝑊𝑗) ∖ I ))
206205dmeqd 5814 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑟𝑇𝑠𝑇)) ∧ 𝑗 ∈ (0..^𝐼)) → dom (((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝑗) ∖ I ) = dom ((𝑊𝑗) ∖ I ))
207198, 206neleqtrrd 2861 . . . . . . . . . . 11 (((𝜑 ∧ (𝑟𝑇𝑠𝑇)) ∧ 𝑗 ∈ (0..^𝐼)) → ¬ 𝐴 ∈ dom (((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝑗) ∖ I ))
208207ex 413 . . . . . . . . . 10 ((𝜑 ∧ (𝑟𝑇𝑠𝑇)) → (𝑗 ∈ (0..^𝐼) → ¬ 𝐴 ∈ dom (((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝑗) ∖ I )))
209208adantrr 714 . . . . . . . . 9 ((𝜑 ∧ ((𝑟𝑇𝑠𝑇) ∧ (((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = (𝑟𝑠) ∧ 𝐴 ∈ dom (𝑠 ∖ I ) ∧ ¬ 𝐴 ∈ dom (𝑟 ∖ I )))) → (𝑗 ∈ (0..^𝐼) → ¬ 𝐴 ∈ dom (((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝑗) ∖ I )))
210 simprr3 1222 . . . . . . . . . . 11 ((𝜑 ∧ ((𝑟𝑇𝑠𝑇) ∧ (((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = (𝑟𝑠) ∧ 𝐴 ∈ dom (𝑠 ∖ I ) ∧ ¬ 𝐴 ∈ dom (𝑟 ∖ I )))) → ¬ 𝐴 ∈ dom (𝑟 ∖ I ))
211 0nn0 12248 . . . . . . . . . . . . . . . . . . . 20 0 ∈ ℕ0
212 2pos 12076 . . . . . . . . . . . . . . . . . . . 20 0 < 2
213 elfzo0 13428 . . . . . . . . . . . . . . . . . . . 20 (0 ∈ (0..^2) ↔ (0 ∈ ℕ0 ∧ 2 ∈ ℕ ∧ 0 < 2))
214211, 171, 212, 213mpbir3an 1340 . . . . . . . . . . . . . . . . . . 19 0 ∈ (0..^2)
215214, 175eleqtrri 2838 . . . . . . . . . . . . . . . . . 18 0 ∈ (0..^(♯‘⟨“𝑟𝑠”⟩))
216215a1i 11 . . . . . . . . . . . . . . . . 17 ((𝜑 ∧ (𝑟𝑇𝑠𝑇)) → 0 ∈ (0..^(♯‘⟨“𝑟𝑠”⟩)))
217118, 151, 152, 121, 216splfv2a 14469 . . . . . . . . . . . . . . . 16 ((𝜑 ∧ (𝑟𝑇𝑠𝑇)) → ((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘(𝐼 + 0)) = (⟨“𝑟𝑠”⟩‘0))
21831addid1d 11175 . . . . . . . . . . . . . . . . . 18 (𝜑 → (𝐼 + 0) = 𝐼)
219218adantr 481 . . . . . . . . . . . . . . . . 17 ((𝜑 ∧ (𝑟𝑇𝑠𝑇)) → (𝐼 + 0) = 𝐼)
220219fveq2d 6778 . . . . . . . . . . . . . . . 16 ((𝜑 ∧ (𝑟𝑇𝑠𝑇)) → ((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘(𝐼 + 0)) = ((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝐼))
221 s2fv0 14600 . . . . . . . . . . . . . . . . 17 (𝑟𝑇 → (⟨“𝑟𝑠”⟩‘0) = 𝑟)
222221ad2antrl 725 . . . . . . . . . . . . . . . 16 ((𝜑 ∧ (𝑟𝑇𝑠𝑇)) → (⟨“𝑟𝑠”⟩‘0) = 𝑟)
223217, 220, 2223eqtr3d 2786 . . . . . . . . . . . . . . 15 ((𝜑 ∧ (𝑟𝑇𝑠𝑇)) → ((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝐼) = 𝑟)
224223difeq1d 4056 . . . . . . . . . . . . . 14 ((𝜑 ∧ (𝑟𝑇𝑠𝑇)) → (((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝐼) ∖ I ) = (𝑟 ∖ I ))
225224dmeqd 5814 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑟𝑇𝑠𝑇)) → dom (((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝐼) ∖ I ) = dom (𝑟 ∖ I ))
226225eleq2d 2824 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑟𝑇𝑠𝑇)) → (𝐴 ∈ dom (((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝐼) ∖ I ) ↔ 𝐴 ∈ dom (𝑟 ∖ I )))
227226adantrr 714 . . . . . . . . . . 11 ((𝜑 ∧ ((𝑟𝑇𝑠𝑇) ∧ (((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = (𝑟𝑠) ∧ 𝐴 ∈ dom (𝑠 ∖ I ) ∧ ¬ 𝐴 ∈ dom (𝑟 ∖ I )))) → (𝐴 ∈ dom (((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝐼) ∖ I ) ↔ 𝐴 ∈ dom (𝑟 ∖ I )))
228210, 227mtbird 325 . . . . . . . . . 10 ((𝜑 ∧ ((𝑟𝑇𝑠𝑇) ∧ (((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = (𝑟𝑠) ∧ 𝐴 ∈ dom (𝑠 ∖ I ) ∧ ¬ 𝐴 ∈ dom (𝑟 ∖ I )))) → ¬ 𝐴 ∈ dom (((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝐼) ∖ I ))
229 fveq2 6774 . . . . . . . . . . . . . 14 (𝑗 = 𝐼 → ((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝑗) = ((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝐼))
230229difeq1d 4056 . . . . . . . . . . . . 13 (𝑗 = 𝐼 → (((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝑗) ∖ I ) = (((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝐼) ∖ I ))
231230dmeqd 5814 . . . . . . . . . . . 12 (𝑗 = 𝐼 → dom (((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝑗) ∖ I ) = dom (((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝐼) ∖ I ))
232231eleq2d 2824 . . . . . . . . . . 11 (𝑗 = 𝐼 → (𝐴 ∈ dom (((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝑗) ∖ I ) ↔ 𝐴 ∈ dom (((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝐼) ∖ I )))
233232notbid 318 . . . . . . . . . 10 (𝑗 = 𝐼 → (¬ 𝐴 ∈ dom (((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝑗) ∖ I ) ↔ ¬ 𝐴 ∈ dom (((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝐼) ∖ I )))
234228, 233syl5ibrcom 246 . . . . . . . . 9 ((𝜑 ∧ ((𝑟𝑇𝑠𝑇) ∧ (((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = (𝑟𝑠) ∧ 𝐴 ∈ dom (𝑠 ∖ I ) ∧ ¬ 𝐴 ∈ dom (𝑟 ∖ I )))) → (𝑗 = 𝐼 → ¬ 𝐴 ∈ dom (((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝑗) ∖ I )))
235209, 234jaod 856 . . . . . . . 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 3102 . . . . . 6 ((𝜑 ∧ ((𝑟𝑇𝑠𝑇) ∧ (((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = (𝑟𝑠) ∧ 𝐴 ∈ dom (𝑠 ∖ I ) ∧ ¬ 𝐴 ∈ dom (𝑟 ∖ I )))) → ∀𝑗 ∈ (0..^(𝐼 + 1)) ¬ 𝐴 ∈ dom (((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝑗) ∖ I ))
238168, 185, 2373jca 1127 . . . . 5 ((𝜑 ∧ ((𝑟𝑇𝑠𝑇) ∧ (((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = (𝑟𝑠) ∧ 𝐴 ∈ dom (𝑠 ∖ I ) ∧ ¬ 𝐴 ∈ dom (𝑟 ∖ I )))) → ((𝐼 + 1) ∈ (0..^𝐿) ∧ 𝐴 ∈ dom (((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘(𝐼 + 1)) ∖ I ) ∧ ∀𝑗 ∈ (0..^(𝐼 + 1)) ¬ 𝐴 ∈ dom (((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝑗) ∖ I )))
239 oveq2 7283 . . . . . . . . 9 (𝑤 = (𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩) → (𝐺 Σg 𝑤) = (𝐺 Σg (𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)))
240239eqeq1d 2740 . . . . . . . 8 (𝑤 = (𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩) → ((𝐺 Σg 𝑤) = ( I ↾ 𝐷) ↔ (𝐺 Σg (𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)) = ( I ↾ 𝐷)))
241 fveqeq2 6783 . . . . . . . 8 (𝑤 = (𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩) → ((♯‘𝑤) = 𝐿 ↔ (♯‘(𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)) = 𝐿))
242240, 241anbi12d 631 . . . . . . 7 (𝑤 = (𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩) → (((𝐺 Σg 𝑤) = ( I ↾ 𝐷) ∧ (♯‘𝑤) = 𝐿) ↔ ((𝐺 Σg (𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)) = ( I ↾ 𝐷) ∧ (♯‘(𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)) = 𝐿)))
243 fveq1 6773 . . . . . . . . . . 11 (𝑤 = (𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩) → (𝑤‘(𝐼 + 1)) = ((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘(𝐼 + 1)))
244243difeq1d 4056 . . . . . . . . . 10 (𝑤 = (𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩) → ((𝑤‘(𝐼 + 1)) ∖ I ) = (((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘(𝐼 + 1)) ∖ I ))
245244dmeqd 5814 . . . . . . . . 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 6773 . . . . . . . . . . . . 13 (𝑤 = (𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩) → (𝑤𝑗) = ((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝑗))
248247difeq1d 4056 . . . . . . . . . . . 12 (𝑤 = (𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩) → ((𝑤𝑗) ∖ I ) = (((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝑗) ∖ I ))
249248dmeqd 5814 . . . . . . . . . . 11 (𝑤 = (𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩) → dom ((𝑤𝑗) ∖ I ) = dom (((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝑗) ∖ I ))
250249eleq2d 2824 . . . . . . . . . 10 (𝑤 = (𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩) → (𝐴 ∈ dom ((𝑤𝑗) ∖ I ) ↔ 𝐴 ∈ dom (((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝑗) ∖ I )))
251250notbid 318 . . . . . . . . 9 (𝑤 = (𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩) → (¬ 𝐴 ∈ dom ((𝑤𝑗) ∖ I ) ↔ ¬ 𝐴 ∈ dom (((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝑗) ∖ I )))
252251ralbidv 3112 . . . . . . . 8 (𝑤 = (𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩) → (∀𝑗 ∈ (0..^(𝐼 + 1)) ¬ 𝐴 ∈ dom ((𝑤𝑗) ∖ I ) ↔ ∀𝑗 ∈ (0..^(𝐼 + 1)) ¬ 𝐴 ∈ dom (((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝑗) ∖ I )))
253246, 2523anbi23d 1438 . . . . . . 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 631 . . . . . 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 3561 . . . . 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 834 . . . 4 ((𝜑 ∧ ((𝑟𝑇𝑠𝑇) ∧ (((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = (𝑟𝑠) ∧ 𝐴 ∈ dom (𝑠 ∖ I ) ∧ ¬ 𝐴 ∈ dom (𝑟 ∖ I )))) → ∃𝑤 ∈ Word 𝑇(((𝐺 Σg 𝑤) = ( I ↾ 𝐷) ∧ (♯‘𝑤) = 𝐿) ∧ ((𝐼 + 1) ∈ (0..^𝐿) ∧ 𝐴 ∈ dom ((𝑤‘(𝐼 + 1)) ∖ I ) ∧ ∀𝑗 ∈ (0..^(𝐼 + 1)) ¬ 𝐴 ∈ dom ((𝑤𝑗) ∖ I ))))
257256expr 457 . . 3 ((𝜑 ∧ (𝑟𝑇𝑠𝑇)) → ((((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = (𝑟𝑠) ∧ 𝐴 ∈ dom (𝑠 ∖ I ) ∧ ¬ 𝐴 ∈ dom (𝑟 ∖ I )) → ∃𝑤 ∈ Word 𝑇(((𝐺 Σg 𝑤) = ( I ↾ 𝐷) ∧ (♯‘𝑤) = 𝐿) ∧ ((𝐼 + 1) ∈ (0..^𝐿) ∧ 𝐴 ∈ dom ((𝑤‘(𝐼 + 1)) ∖ I ) ∧ ∀𝑗 ∈ (0..^(𝐼 + 1)) ¬ 𝐴 ∈ dom ((𝑤𝑗) ∖ I )))))
258257rexlimdvva 3223 . 2 (𝜑 → (∃𝑟𝑇𝑠𝑇 (((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = (𝑟𝑠) ∧ 𝐴 ∈ dom (𝑠 ∖ I ) ∧ ¬ 𝐴 ∈ dom (𝑟 ∖ I )) → ∃𝑤 ∈ Word 𝑇(((𝐺 Σg 𝑤) = ( I ↾ 𝐷) ∧ (♯‘𝑤) = 𝐿) ∧ ((𝐼 + 1) ∈ (0..^𝐿) ∧ 𝐴 ∈ dom ((𝑤‘(𝐼 + 1)) ∖ I ) ∧ ∀𝑗 ∈ (0..^(𝐼 + 1)) ¬ 𝐴 ∈ dom ((𝑤𝑗) ∖ I )))))
25920, 21, 86, 88, 24psgnunilem1 19101 . 2 (𝜑 → (((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = ( I ↾ 𝐷) ∨ ∃𝑟𝑇𝑠𝑇 (((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = (𝑟𝑠) ∧ 𝐴 ∈ dom (𝑠 ∖ I ) ∧ ¬ 𝐴 ∈ dom (𝑟 ∖ I ))))
260117, 258, 259mpjaod 857 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 396  wo 844  w3a 1086   = wceq 1539  wcel 2106  wral 3064  wrex 3065  cdif 3884  wss 3887  c0 4256  cop 4567  cotp 4569   class class class wbr 5074   I cid 5488  dom cdm 5589  ran crn 5590  cres 5591  ccom 5593  wf 6429  cfv 6433  (class class class)co 7275  cc 10869  cr 10870  0cc0 10871  1c1 10872   + caddc 10874   < clt 11009  cle 11010  cmin 11205  -cneg 11206  cn 11973  2c2 12028  0cn0 12233  cz 12319  cuz 12582  ...cfz 13239  ..^cfzo 13382  chash 14044  Word cword 14217   substr csubstr 14353   splice csplice 14462  ⟨“cs2 14554  Basecbs 16912  +gcplusg 16962  0gc0g 17150   Σg cgsu 17151  Mndcmnd 18385  Grpcgrp 18577  SymGrpcsymg 18974  pmTrspcpmtr 19049
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-rep 5209  ax-sep 5223  ax-nul 5230  ax-pow 5288  ax-pr 5352  ax-un 7588  ax-cnex 10927  ax-resscn 10928  ax-1cn 10929  ax-icn 10930  ax-addcl 10931  ax-addrcl 10932  ax-mulcl 10933  ax-mulrcl 10934  ax-mulcom 10935  ax-addass 10936  ax-mulass 10937  ax-distr 10938  ax-i2m1 10939  ax-1ne0 10940  ax-1rid 10941  ax-rnegex 10942  ax-rrecex 10943  ax-cnre 10944  ax-pre-lttri 10945  ax-pre-lttrn 10946  ax-pre-ltadd 10947  ax-pre-mulgt0 10948
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3or 1087  df-3an 1088  df-xor 1507  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ne 2944  df-nel 3050  df-ral 3069  df-rex 3070  df-rmo 3071  df-reu 3072  df-rab 3073  df-v 3434  df-sbc 3717  df-csb 3833  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-pss 3906  df-nul 4257  df-if 4460  df-pw 4535  df-sn 4562  df-pr 4564  df-tp 4566  df-op 4568  df-ot 4570  df-uni 4840  df-int 4880  df-iun 4926  df-br 5075  df-opab 5137  df-mpt 5158  df-tr 5192  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 6202  df-ord 6269  df-on 6270  df-lim 6271  df-suc 6272  df-iota 6391  df-fun 6435  df-fn 6436  df-f 6437  df-f1 6438  df-fo 6439  df-f1o 6440  df-fv 6441  df-riota 7232  df-ov 7278  df-oprab 7279  df-mpo 7280  df-om 7713  df-1st 7831  df-2nd 7832  df-frecs 8097  df-wrecs 8128  df-recs 8202  df-rdg 8241  df-1o 8297  df-2o 8298  df-er 8498  df-map 8617  df-en 8734  df-dom 8735  df-sdom 8736  df-fin 8737  df-card 9697  df-pnf 11011  df-mnf 11012  df-xr 11013  df-ltxr 11014  df-le 11015  df-sub 11207  df-neg 11208  df-nn 11974  df-2 12036  df-3 12037  df-4 12038  df-5 12039  df-6 12040  df-7 12041  df-8 12042  df-9 12043  df-n0 12234  df-xnn0 12306  df-z 12320  df-uz 12583  df-fz 13240  df-fzo 13383  df-seq 13722  df-hash 14045  df-word 14218  df-lsw 14266  df-concat 14274  df-s1 14301  df-substr 14354  df-pfx 14384  df-splice 14463  df-s2 14561  df-struct 16848  df-sets 16865  df-slot 16883  df-ndx 16895  df-base 16913  df-ress 16942  df-plusg 16975  df-tset 16981  df-0g 17152  df-gsum 17153  df-mgm 18326  df-sgrp 18375  df-mnd 18386  df-submnd 18431  df-efmnd 18508  df-grp 18580  df-minusg 18581  df-subg 18752  df-symg 18975  df-pmtr 19050
This theorem is referenced by:  psgnunilem3  19104
  Copyright terms: Public domain W3C validator