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

Theorem psgnunilem2 19113
Description: Lemma for psgnuni 19117. 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 14252 . . . . . . 7 ∅ ∈ Word 𝑇
3 splcl 14475 . . . . . . 7 ((𝑊 ∈ Word 𝑇 ∧ ∅ ∈ Word 𝑇) → (𝑊 splice ⟨𝐼, (𝐼 + 2), ∅⟩) ∈ Word 𝑇)
41, 2, 3sylancl 586 . . . . . 6 (𝜑 → (𝑊 splice ⟨𝐼, (𝐼 + 2), ∅⟩) ∈ Word 𝑇)
54adantr 481 . . . . 5 ((𝜑 ∧ ((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = ( I ↾ 𝐷)) → (𝑊 splice ⟨𝐼, (𝐼 + 2), ∅⟩) ∈ Word 𝑇)
6 fzossfz 13416 . . . . . . . . . . 11 (0..^𝐿) ⊆ (0...𝐿)
7 psgnunilem2.ix . . . . . . . . . . 11 (𝜑𝐼 ∈ (0..^𝐿))
86, 7sselid 3918 . . . . . . . . . 10 (𝜑𝐼 ∈ (0...𝐿))
9 elfznn0 13359 . . . . . . . . . 10 (𝐼 ∈ (0...𝐿) → 𝐼 ∈ ℕ0)
108, 9syl 17 . . . . . . . . 9 (𝜑𝐼 ∈ ℕ0)
11 2nn0 12260 . . . . . . . . . 10 2 ∈ ℕ0
12 nn0addcl 12278 . . . . . . . . . 10 ((𝐼 ∈ ℕ0 ∧ 2 ∈ ℕ0) → (𝐼 + 2) ∈ ℕ0)
1310, 11, 12sylancl 586 . . . . . . . . 9 (𝜑 → (𝐼 + 2) ∈ ℕ0)
1410nn0red 12304 . . . . . . . . . 10 (𝜑𝐼 ∈ ℝ)
15 nn0addge1 12289 . . . . . . . . . 10 ((𝐼 ∈ ℝ ∧ 2 ∈ ℕ0) → 𝐼 ≤ (𝐼 + 2))
1614, 11, 15sylancl 586 . . . . . . . . 9 (𝜑𝐼 ≤ (𝐼 + 2))
17 elfz2nn0 13357 . . . . . . . . 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 19112 . . . . . . . . . 10 (𝜑 → (𝐼 + 1) ∈ (0..^𝐿))
27 fzofzp1 13494 . . . . . . . . . 10 ((𝐼 + 1) ∈ (0..^𝐿) → ((𝐼 + 1) + 1) ∈ (0...𝐿))
2826, 27syl 17 . . . . . . . . 9 (𝜑 → ((𝐼 + 1) + 1) ∈ (0...𝐿))
29 df-2 12046 . . . . . . . . . . 11 2 = (1 + 1)
3029oveq2i 7278 . . . . . . . . . 10 (𝐼 + 2) = (𝐼 + (1 + 1))
3110nn0cnd 12305 . . . . . . . . . . 11 (𝜑𝐼 ∈ ℂ)
32 1cnd 10980 . . . . . . . . . . 11 (𝜑 → 1 ∈ ℂ)
3331, 32, 32addassd 11007 . . . . . . . . . 10 (𝜑 → ((𝐼 + 1) + 1) = (𝐼 + (1 + 1)))
3430, 33eqtr4id 2797 . . . . . . . . 9 (𝜑 → (𝐼 + 2) = ((𝐼 + 1) + 1))
3523oveq2d 7283 . . . . . . . . 9 (𝜑 → (0...(♯‘𝑊)) = (0...𝐿))
3628, 34, 353eltr4d 2854 . . . . . . . 8 (𝜑 → (𝐼 + 2) ∈ (0...(♯‘𝑊)))
372a1i 11 . . . . . . . 8 (𝜑 → ∅ ∈ Word 𝑇)
381, 18, 36, 37spllen 14477 . . . . . . 7 (𝜑 → (♯‘(𝑊 splice ⟨𝐼, (𝐼 + 2), ∅⟩)) = ((♯‘𝑊) + ((♯‘∅) − ((𝐼 + 2) − 𝐼))))
39 hash0 14092 . . . . . . . . . . 11 (♯‘∅) = 0
4039oveq1i 7277 . . . . . . . . . 10 ((♯‘∅) − ((𝐼 + 2) − 𝐼)) = (0 − ((𝐼 + 2) − 𝐼))
41 df-neg 11218 . . . . . . . . . 10 -((𝐼 + 2) − 𝐼) = (0 − ((𝐼 + 2) − 𝐼))
4240, 41eqtr4i 2769 . . . . . . . . 9 ((♯‘∅) − ((𝐼 + 2) − 𝐼)) = -((𝐼 + 2) − 𝐼)
43 2cn 12058 . . . . . . . . . . 11 2 ∈ ℂ
44 pncan2 11238 . . . . . . . . . . 11 ((𝐼 ∈ ℂ ∧ 2 ∈ ℂ) → ((𝐼 + 2) − 𝐼) = 2)
4531, 43, 44sylancl 586 . . . . . . . . . 10 (𝜑 → ((𝐼 + 2) − 𝐼) = 2)
4645negeqd 11225 . . . . . . . . 9 (𝜑 → -((𝐼 + 2) − 𝐼) = -2)
4742, 46eqtrid 2790 . . . . . . . 8 (𝜑 → ((♯‘∅) − ((𝐼 + 2) − 𝐼)) = -2)
4823, 47oveq12d 7285 . . . . . . 7 (𝜑 → ((♯‘𝑊) + ((♯‘∅) − ((𝐼 + 2) − 𝐼))) = (𝐿 + -2))
49 elfzel2 13264 . . . . . . . . . 10 (𝐼 ∈ (0...𝐿) → 𝐿 ∈ ℤ)
508, 49syl 17 . . . . . . . . 9 (𝜑𝐿 ∈ ℤ)
5150zcnd 12437 . . . . . . . 8 (𝜑𝐿 ∈ ℂ)
52 negsub 11279 . . . . . . . 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 14476 . . . . . . . . 9 ((𝑊 ∈ Word 𝑇 ∧ (𝐼 ∈ (0...(𝐼 + 2)) ∧ (𝐼 + 2) ∈ (0...(♯‘𝑊)))) → (𝑊 splice ⟨𝐼, (𝐼 + 2), (𝑊 substr ⟨𝐼, (𝐼 + 2)⟩)⟩) = 𝑊)
571, 18, 36, 56syl12anc 834 . . . . . . . 8 (𝜑 → (𝑊 splice ⟨𝐼, (𝐼 + 2), (𝑊 substr ⟨𝐼, (𝐼 + 2)⟩)⟩) = 𝑊)
5857oveq2d 7283 . . . . . . 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 19018 . . . . . . . . . 10 (𝐷𝑉𝐺 ∈ Grp)
6221, 61syl 17 . . . . . . . . 9 (𝜑𝐺 ∈ Grp)
6362grpmndd 18599 . . . . . . . 8 (𝜑𝐺 ∈ Mnd)
6463adantr 481 . . . . . . 7 ((𝜑 ∧ ((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = ( I ↾ 𝐷)) → 𝐺 ∈ Mnd)
6520, 19, 60symgtrf 19087 . . . . . . . . . 10 𝑇 ⊆ (Base‘𝐺)
66 sswrd 14235 . . . . . . . . . 10 (𝑇 ⊆ (Base‘𝐺) → Word 𝑇 ⊆ Word (Base‘𝐺))
6765, 66ax-mp 5 . . . . . . . . 9 Word 𝑇 ⊆ Word (Base‘𝐺)
6867, 1sselid 3918 . . . . . . . 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 14368 . . . . . . . . 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 14252 . . . . . . . 8 ∅ ∈ Word (Base‘𝐺)
7675a1i 11 . . . . . . 7 ((𝜑 ∧ ((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = ( I ↾ 𝐷)) → ∅ ∈ Word (Base‘𝐺))
7723oveq2d 7283 . . . . . . . . . . . . 13 (𝜑 → (0..^(♯‘𝑊)) = (0..^𝐿))
7826, 77eleqtrrd 2842 . . . . . . . . . . . 12 (𝜑 → (𝐼 + 1) ∈ (0..^(♯‘𝑊)))
79 swrds2 14663 . . . . . . . . . . . 12 ((𝑊 ∈ Word 𝑇𝐼 ∈ ℕ0 ∧ (𝐼 + 1) ∈ (0..^(♯‘𝑊))) → (𝑊 substr ⟨𝐼, (𝐼 + 2)⟩) = ⟨“(𝑊𝐼)(𝑊‘(𝐼 + 1))”⟩)
801, 10, 78, 79syl3anc 1370 . . . . . . . . . . 11 (𝜑 → (𝑊 substr ⟨𝐼, (𝐼 + 2)⟩) = ⟨“(𝑊𝐼)(𝑊‘(𝐼 + 1))”⟩)
8180oveq2d 7283 . . . . . . . . . 10 (𝜑 → (𝐺 Σg (𝑊 substr ⟨𝐼, (𝐼 + 2)⟩)) = (𝐺 Σg ⟨“(𝑊𝐼)(𝑊‘(𝐼 + 1))”⟩))
82 wrdf 14232 . . . . . . . . . . . . . . 15 (𝑊 ∈ Word 𝑇𝑊:(0..^(♯‘𝑊))⟶𝑇)
831, 82syl 17 . . . . . . . . . . . . . 14 (𝜑𝑊:(0..^(♯‘𝑊))⟶𝑇)
8477feq2d 6578 . . . . . . . . . . . . . 14 (𝜑 → (𝑊:(0..^(♯‘𝑊))⟶𝑇𝑊:(0..^𝐿)⟶𝑇))
8583, 84mpbid 231 . . . . . . . . . . . . 13 (𝜑𝑊:(0..^𝐿)⟶𝑇)
8685, 7ffvelrnd 6954 . . . . . . . . . . . 12 (𝜑 → (𝑊𝐼) ∈ 𝑇)
8765, 86sselid 3918 . . . . . . . . . . 11 (𝜑 → (𝑊𝐼) ∈ (Base‘𝐺))
8885, 26ffvelrnd 6954 . . . . . . . . . . . 12 (𝜑 → (𝑊‘(𝐼 + 1)) ∈ 𝑇)
8965, 88sselid 3918 . . . . . . . . . . 11 (𝜑 → (𝑊‘(𝐼 + 1)) ∈ (Base‘𝐺))
90 eqid 2738 . . . . . . . . . . . 12 (+g𝐺) = (+g𝐺)
9160, 90gsumws2 18491 . . . . . . . . . . 11 ((𝐺 ∈ Mnd ∧ (𝑊𝐼) ∈ (Base‘𝐺) ∧ (𝑊‘(𝐼 + 1)) ∈ (Base‘𝐺)) → (𝐺 Σg ⟨“(𝑊𝐼)(𝑊‘(𝐼 + 1))”⟩) = ((𝑊𝐼)(+g𝐺)(𝑊‘(𝐼 + 1))))
9263, 87, 89, 91syl3anc 1370 . . . . . . . . . 10 (𝜑 → (𝐺 Σg ⟨“(𝑊𝐼)(𝑊‘(𝐼 + 1))”⟩) = ((𝑊𝐼)(+g𝐺)(𝑊‘(𝐼 + 1))))
9319, 60, 90symgov 19001 . . . . . . . . . . 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 19019 . . . . . . . . . . 11 (𝐷𝑉 → ( I ↾ 𝐷) = (0g𝐺))
9921, 98syl 17 . . . . . . . . . 10 (𝜑 → ( I ↾ 𝐷) = (0g𝐺))
100 eqid 2738 . . . . . . . . . . 11 (0g𝐺) = (0g𝐺)
101100gsum0 18378 . . . . . . . . . 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 18493 . . . . . 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 6775 . . . . . . 7 (𝑥 = (𝑊 splice ⟨𝐼, (𝐼 + 2), ∅⟩) → ((♯‘𝑥) = (𝐿 − 2) ↔ (♯‘(𝑊 splice ⟨𝐼, (𝐼 + 2), ∅⟩)) = (𝐿 − 2)))
109 oveq2 7275 . . . . . . . 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 3559 . . . . 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 14594 . . . . . . 7 ((𝜑 ∧ (𝑟𝑇𝑠𝑇)) → ⟨“𝑟𝑠”⟩ ∈ Word 𝑇)
122 splcl 14475 . . . . . . 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 3918 . . . . . . . . 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 3920 . . . . . . . . . . . . 13 ((𝜑𝑟𝑇) → 𝑟 ∈ (Base‘𝐺))
137136adantrr 714 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑟𝑇𝑠𝑇)) → 𝑟 ∈ (Base‘𝐺))
138135sselda 3920 . . . . . . . . . . . . 13 ((𝜑𝑠𝑇) → 𝑠 ∈ (Base‘𝐺))
139138adantrl 713 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑟𝑇𝑠𝑇)) → 𝑠 ∈ (Base‘𝐺))
14060, 90gsumws2 18491 . . . . . . . . . . . 12 ((𝐺 ∈ Mnd ∧ 𝑟 ∈ (Base‘𝐺) ∧ 𝑠 ∈ (Base‘𝐺)) → (𝐺 Σg ⟨“𝑟𝑠”⟩) = (𝑟(+g𝐺)𝑠))
141134, 137, 139, 140syl3anc 1370 . . . . . . . . . . 11 ((𝜑 ∧ (𝑟𝑇𝑠𝑇)) → (𝐺 Σg ⟨“𝑟𝑠”⟩) = (𝑟(+g𝐺)𝑠))
14219, 60, 90symgov 19001 . . . . . . . . . . . 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 18493 . . . . . . 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 14477 . . . . . . . 8 ((𝜑 ∧ (𝑟𝑇𝑠𝑇)) → (♯‘(𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)) = ((♯‘𝑊) + ((♯‘⟨“𝑟𝑠”⟩) − ((𝐼 + 2) − 𝐼))))
154 s2len 14612 . . . . . . . . . . . . 13 (♯‘⟨“𝑟𝑠”⟩) = 2
155154oveq1i 7277 . . . . . . . . . . . 12 ((♯‘⟨“𝑟𝑠”⟩) − ((𝐼 + 2) − 𝐼)) = (2 − ((𝐼 + 2) − 𝐼))
15645oveq2d 7283 . . . . . . . . . . . . 13 (𝜑 → (2 − ((𝐼 + 2) − 𝐼)) = (2 − 2))
15743subidi 11302 . . . . . . . . . . . . 13 (2 − 2) = 0
158156, 157eqtrdi 2794 . . . . . . . . . . . 12 (𝜑 → (2 − ((𝐼 + 2) − 𝐼)) = 0)
159155, 158eqtrid 2790 . . . . . . . . . . 11 (𝜑 → ((♯‘⟨“𝑟𝑠”⟩) − ((𝐼 + 2) − 𝐼)) = 0)
160159oveq2d 7283 . . . . . . . . . 10 (𝜑 → ((♯‘𝑊) + ((♯‘⟨“𝑟𝑠”⟩) − ((𝐼 + 2) − 𝐼))) = ((♯‘𝑊) + 0))
16123, 51eqeltrd 2839 . . . . . . . . . . 11 (𝜑 → (♯‘𝑊) ∈ ℂ)
162161addid1d 11185 . . . . . . . . . 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 12259 . . . . . . . . . . . . . . 15 1 ∈ ℕ0
171 2nn 12056 . . . . . . . . . . . . . . 15 2 ∈ ℕ
172 1lt2 12154 . . . . . . . . . . . . . . 15 1 < 2
173 elfzo0 13438 . . . . . . . . . . . . . . 15 (1 ∈ (0..^2) ↔ (1 ∈ ℕ0 ∧ 2 ∈ ℕ ∧ 1 < 2))
174170, 171, 172, 173mpbir3an 1340 . . . . . . . . . . . . . 14 1 ∈ (0..^2)
175154oveq2i 7278 . . . . . . . . . . . . . 14 (0..^(♯‘⟨“𝑟𝑠”⟩)) = (0..^2)
176174, 175eleqtrri 2838 . . . . . . . . . . . . 13 1 ∈ (0..^(♯‘⟨“𝑟𝑠”⟩))
177176a1i 11 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑟𝑇𝑠𝑇)) → 1 ∈ (0..^(♯‘⟨“𝑟𝑠”⟩)))
178118, 151, 152, 121, 177splfv2a 14479 . . . . . . . . . . 11 ((𝜑 ∧ (𝑟𝑇𝑠𝑇)) → ((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘(𝐼 + 1)) = (⟨“𝑟𝑠”⟩‘1))
179 s2fv1 14611 . . . . . . . . . . . 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 4055 . . . . . . . 8 ((𝜑 ∧ ((𝑟𝑇𝑠𝑇) ∧ (((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = (𝑟𝑠) ∧ 𝐴 ∈ dom (𝑠 ∖ I ) ∧ ¬ 𝐴 ∈ dom (𝑟 ∖ I )))) → (((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘(𝐼 + 1)) ∖ I ) = (𝑠 ∖ I ))
184183dmeqd 5807 . . . . . . 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 13508 . . . . . . . . . . 11 (𝐼 ∈ (ℤ‘0) → (𝑗 ∈ (0..^(𝐼 + 1)) ↔ (𝑗 ∈ (0..^𝐼) ∨ 𝑗 = 𝐼)))
187 nn0uz 12630 . . . . . . . . . . 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 6766 . . . . . . . . . . . . . . . . . . 19 (𝑘 = 𝑗 → (𝑊𝑘) = (𝑊𝑗))
192191difeq1d 4055 . . . . . . . . . . . . . . . . . 18 (𝑘 = 𝑗 → ((𝑊𝑘) ∖ I ) = ((𝑊𝑗) ∖ I ))
193192dmeqd 5807 . . . . . . . . . . . . . . . . 17 (𝑘 = 𝑗 → dom ((𝑊𝑘) ∖ I ) = dom ((𝑊𝑗) ∖ I ))
194193eleq2d 2824 . . . . . . . . . . . . . . . 16 (𝑘 = 𝑗 → (𝐴 ∈ dom ((𝑊𝑘) ∖ I ) ↔ 𝐴 ∈ dom ((𝑊𝑗) ∖ I )))
195194notbid 318 . . . . . . . . . . . . . . 15 (𝑘 = 𝑗 → (¬ 𝐴 ∈ dom ((𝑊𝑘) ∖ I ) ↔ ¬ 𝐴 ∈ dom ((𝑊𝑗) ∖ I )))
196195rspccva 3558 . . . . . . . . . . . . . 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 14478 . . . . . . . . . . . . . 14 (((𝜑 ∧ (𝑟𝑇𝑠𝑇)) ∧ 𝑗 ∈ (0..^𝐼)) → ((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝑗) = (𝑊𝑗))
205204difeq1d 4055 . . . . . . . . . . . . 13 (((𝜑 ∧ (𝑟𝑇𝑠𝑇)) ∧ 𝑗 ∈ (0..^𝐼)) → (((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝑗) ∖ I ) = ((𝑊𝑗) ∖ I ))
206205dmeqd 5807 . . . . . . . . . . . 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 12258 . . . . . . . . . . . . . . . . . . . 20 0 ∈ ℕ0
212 2pos 12086 . . . . . . . . . . . . . . . . . . . 20 0 < 2
213 elfzo0 13438 . . . . . . . . . . . . . . . . . . . 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 14479 . . . . . . . . . . . . . . . 16 ((𝜑 ∧ (𝑟𝑇𝑠𝑇)) → ((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘(𝐼 + 0)) = (⟨“𝑟𝑠”⟩‘0))
21831addid1d 11185 . . . . . . . . . . . . . . . . . 18 (𝜑 → (𝐼 + 0) = 𝐼)
219218adantr 481 . . . . . . . . . . . . . . . . 17 ((𝜑 ∧ (𝑟𝑇𝑠𝑇)) → (𝐼 + 0) = 𝐼)
220219fveq2d 6770 . . . . . . . . . . . . . . . 16 ((𝜑 ∧ (𝑟𝑇𝑠𝑇)) → ((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘(𝐼 + 0)) = ((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝐼))
221 s2fv0 14610 . . . . . . . . . . . . . . . . 17 (𝑟𝑇 → (⟨“𝑟𝑠”⟩‘0) = 𝑟)
222221ad2antrl 725 . . . . . . . . . . . . . . . 16 ((𝜑 ∧ (𝑟𝑇𝑠𝑇)) → (⟨“𝑟𝑠”⟩‘0) = 𝑟)
223217, 220, 2223eqtr3d 2786 . . . . . . . . . . . . . . 15 ((𝜑 ∧ (𝑟𝑇𝑠𝑇)) → ((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝐼) = 𝑟)
224223difeq1d 4055 . . . . . . . . . . . . . 14 ((𝜑 ∧ (𝑟𝑇𝑠𝑇)) → (((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝐼) ∖ I ) = (𝑟 ∖ I ))
225224dmeqd 5807 . . . . . . . . . . . . 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 6766 . . . . . . . . . . . . . 14 (𝑗 = 𝐼 → ((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝑗) = ((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝐼))
230229difeq1d 4055 . . . . . . . . . . . . 13 (𝑗 = 𝐼 → (((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝑗) ∖ I ) = (((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝐼) ∖ I ))
231230dmeqd 5807 . . . . . . . . . . . 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 3107 . . . . . 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 7275 . . . . . . . . 9 (𝑤 = (𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩) → (𝐺 Σg 𝑤) = (𝐺 Σg (𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)))
240239eqeq1d 2740 . . . . . . . 8 (𝑤 = (𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩) → ((𝐺 Σg 𝑤) = ( I ↾ 𝐷) ↔ (𝐺 Σg (𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)) = ( I ↾ 𝐷)))
241 fveqeq2 6775 . . . . . . . 8 (𝑤 = (𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩) → ((♯‘𝑤) = 𝐿 ↔ (♯‘(𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)) = 𝐿))
242240, 241anbi12d 631 . . . . . . 7 (𝑤 = (𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩) → (((𝐺 Σg 𝑤) = ( I ↾ 𝐷) ∧ (♯‘𝑤) = 𝐿) ↔ ((𝐺 Σg (𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)) = ( I ↾ 𝐷) ∧ (♯‘(𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)) = 𝐿)))
243 fveq1 6765 . . . . . . . . . . 11 (𝑤 = (𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩) → (𝑤‘(𝐼 + 1)) = ((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘(𝐼 + 1)))
244243difeq1d 4055 . . . . . . . . . 10 (𝑤 = (𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩) → ((𝑤‘(𝐼 + 1)) ∖ I ) = (((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘(𝐼 + 1)) ∖ I ))
245244dmeqd 5807 . . . . . . . . 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 6765 . . . . . . . . . . . . 13 (𝑤 = (𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩) → (𝑤𝑗) = ((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝑗))
248247difeq1d 4055 . . . . . . . . . . . 12 (𝑤 = (𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩) → ((𝑤𝑗) ∖ I ) = (((𝑊 splice ⟨𝐼, (𝐼 + 2), ⟨“𝑟𝑠”⟩⟩)‘𝑗) ∖ I ))
249248dmeqd 5807 . . . . . . . . . . 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 3121 . . . . . . . 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 3559 . . . . 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 3221 . 2 (𝜑 → (∃𝑟𝑇𝑠𝑇 (((𝑊𝐼) ∘ (𝑊‘(𝐼 + 1))) = (𝑟𝑠) ∧ 𝐴 ∈ dom (𝑠 ∖ I ) ∧ ¬ 𝐴 ∈ dom (𝑟 ∖ I )) → ∃𝑤 ∈ Word 𝑇(((𝐺 Σg 𝑤) = ( I ↾ 𝐷) ∧ (♯‘𝑤) = 𝐿) ∧ ((𝐼 + 1) ∈ (0..^𝐿) ∧ 𝐴 ∈ dom ((𝑤‘(𝐼 + 1)) ∖ I ) ∧ ∀𝑗 ∈ (0..^(𝐼 + 1)) ¬ 𝐴 ∈ dom ((𝑤𝑗) ∖ I )))))
25920, 21, 86, 88, 24psgnunilem1 19111 . 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 3883  wss 3886  c0 4256  cop 4567  cotp 4569   class class class wbr 5073   I cid 5483  dom cdm 5584  ran crn 5585  cres 5586  ccom 5588  wf 6422  cfv 6426  (class class class)co 7267  cc 10879  cr 10880  0cc0 10881  1c1 10882   + caddc 10884   < clt 11019  cle 11020  cmin 11215  -cneg 11216  cn 11983  2c2 12038  0cn0 12243  cz 12329  cuz 12592  ...cfz 13249  ..^cfzo 13392  chash 14054  Word cword 14227   substr csubstr 14363   splice csplice 14472  ⟨“cs2 14564  Basecbs 16922  +gcplusg 16972  0gc0g 17160   Σg cgsu 17161  Mndcmnd 18395  Grpcgrp 18587  SymGrpcsymg 18984  pmTrspcpmtr 19059
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 5208  ax-sep 5221  ax-nul 5228  ax-pow 5286  ax-pr 5350  ax-un 7578  ax-cnex 10937  ax-resscn 10938  ax-1cn 10939  ax-icn 10940  ax-addcl 10941  ax-addrcl 10942  ax-mulcl 10943  ax-mulrcl 10944  ax-mulcom 10945  ax-addass 10946  ax-mulass 10947  ax-distr 10948  ax-i2m1 10949  ax-1ne0 10950  ax-1rid 10951  ax-rnegex 10952  ax-rrecex 10953  ax-cnre 10954  ax-pre-lttri 10955  ax-pre-lttrn 10956  ax-pre-ltadd 10957  ax-pre-mulgt0 10958
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-reu 3071  df-rmo 3072  df-rab 3073  df-v 3431  df-sbc 3716  df-csb 3832  df-dif 3889  df-un 3891  df-in 3893  df-ss 3903  df-pss 3905  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 5074  df-opab 5136  df-mpt 5157  df-tr 5191  df-id 5484  df-eprel 5490  df-po 5498  df-so 5499  df-fr 5539  df-we 5541  df-xp 5590  df-rel 5591  df-cnv 5592  df-co 5593  df-dm 5594  df-rn 5595  df-res 5596  df-ima 5597  df-pred 6195  df-ord 6262  df-on 6263  df-lim 6264  df-suc 6265  df-iota 6384  df-fun 6428  df-fn 6429  df-f 6430  df-f1 6431  df-fo 6432  df-f1o 6433  df-fv 6434  df-riota 7224  df-ov 7270  df-oprab 7271  df-mpo 7272  df-om 7703  df-1st 7820  df-2nd 7821  df-frecs 8084  df-wrecs 8115  df-recs 8189  df-rdg 8228  df-1o 8284  df-2o 8285  df-er 8485  df-map 8604  df-en 8721  df-dom 8722  df-sdom 8723  df-fin 8724  df-card 9707  df-pnf 11021  df-mnf 11022  df-xr 11023  df-ltxr 11024  df-le 11025  df-sub 11217  df-neg 11218  df-nn 11984  df-2 12046  df-3 12047  df-4 12048  df-5 12049  df-6 12050  df-7 12051  df-8 12052  df-9 12053  df-n0 12244  df-xnn0 12316  df-z 12330  df-uz 12593  df-fz 13250  df-fzo 13393  df-seq 13732  df-hash 14055  df-word 14228  df-lsw 14276  df-concat 14284  df-s1 14311  df-substr 14364  df-pfx 14394  df-splice 14473  df-s2 14571  df-struct 16858  df-sets 16875  df-slot 16893  df-ndx 16905  df-base 16923  df-ress 16952  df-plusg 16985  df-tset 16991  df-0g 17162  df-gsum 17163  df-mgm 18336  df-sgrp 18385  df-mnd 18396  df-submnd 18441  df-efmnd 18518  df-grp 18590  df-minusg 18591  df-subg 18762  df-symg 18985  df-pmtr 19060
This theorem is referenced by:  psgnunilem3  19114
  Copyright terms: Public domain W3C validator