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

Theorem psgndiflemB 20069
Description: Lemma 1 for psgndif 20071. (Contributed by AV, 27-Jan-2019.)
Hypotheses
Ref Expression
psgnfix.p 𝑃 = (Base‘(SymGrp‘𝑁))
psgnfix.t 𝑇 = ran (pmTrsp‘(𝑁 ∖ {𝐾}))
psgnfix.s 𝑆 = (SymGrp‘(𝑁 ∖ {𝐾}))
psgnfix.z 𝑍 = (SymGrp‘𝑁)
psgnfix.r 𝑅 = ran (pmTrsp‘𝑁)
Assertion
Ref Expression
psgndiflemB (((𝑁 ∈ Fin ∧ 𝐾𝑁) ∧ 𝑄 ∈ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐾}) → ((𝑊 ∈ Word 𝑇 ∧ (𝑄 ↾ (𝑁 ∖ {𝐾})) = (𝑆 Σg 𝑊)) → ((𝑈 ∈ Word 𝑅 ∧ (♯‘𝑊) = (♯‘𝑈) ∧ ∀𝑖 ∈ (0..^(♯‘𝑊))(((𝑈𝑖)‘𝐾) = 𝐾 ∧ ∀𝑛 ∈ (𝑁 ∖ {𝐾})((𝑊𝑖)‘𝑛) = ((𝑈𝑖)‘𝑛))) → 𝑄 = (𝑍 Σg 𝑈))))
Distinct variable groups:   𝐾,𝑞   𝑃,𝑞   𝑄,𝑞   𝑖,𝐾,𝑛   𝑖,𝑁,𝑛   𝑆,𝑖,𝑛   𝑈,𝑖,𝑛   𝑖,𝑊,𝑛   𝑖,𝑍,𝑛
Allowed substitution hints:   𝑃(𝑖,𝑛)   𝑄(𝑖,𝑛)   𝑅(𝑖,𝑛,𝑞)   𝑆(𝑞)   𝑇(𝑖,𝑛,𝑞)   𝑈(𝑞)   𝑁(𝑞)   𝑊(𝑞)   𝑍(𝑞)

Proof of Theorem psgndiflemB
Dummy variable 𝑘 is distinct from all other variables.
StepHypRef Expression
1 elrabi 3464 . . . . 5 (𝑄 ∈ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐾} → 𝑄𝑃)
2 eqid 2724 . . . . . 6 (SymGrp‘𝑁) = (SymGrp‘𝑁)
3 psgnfix.p . . . . . 6 𝑃 = (Base‘(SymGrp‘𝑁))
42, 3symgbasf 17925 . . . . 5 (𝑄𝑃𝑄:𝑁𝑁)
5 ffn 6158 . . . . 5 (𝑄:𝑁𝑁𝑄 Fn 𝑁)
61, 4, 53syl 18 . . . 4 (𝑄 ∈ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐾} → 𝑄 Fn 𝑁)
76ad3antlr 769 . . 3 (((((𝑁 ∈ Fin ∧ 𝐾𝑁) ∧ 𝑄 ∈ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐾}) ∧ (𝑊 ∈ Word 𝑇 ∧ (𝑄 ↾ (𝑁 ∖ {𝐾})) = (𝑆 Σg 𝑊))) ∧ (𝑈 ∈ Word 𝑅 ∧ (♯‘𝑊) = (♯‘𝑈) ∧ ∀𝑖 ∈ (0..^(♯‘𝑊))(((𝑈𝑖)‘𝐾) = 𝐾 ∧ ∀𝑛 ∈ (𝑁 ∖ {𝐾})((𝑊𝑖)‘𝑛) = ((𝑈𝑖)‘𝑛)))) → 𝑄 Fn 𝑁)
8 simpl 474 . . . . . . . 8 ((𝑁 ∈ Fin ∧ 𝐾𝑁) → 𝑁 ∈ Fin)
98adantr 472 . . . . . . 7 (((𝑁 ∈ Fin ∧ 𝐾𝑁) ∧ 𝑄 ∈ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐾}) → 𝑁 ∈ Fin)
109adantr 472 . . . . . 6 ((((𝑁 ∈ Fin ∧ 𝐾𝑁) ∧ 𝑄 ∈ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐾}) ∧ (𝑊 ∈ Word 𝑇 ∧ (𝑄 ↾ (𝑁 ∖ {𝐾})) = (𝑆 Σg 𝑊))) → 𝑁 ∈ Fin)
11 simp1 1128 . . . . . 6 ((𝑈 ∈ Word 𝑅 ∧ (♯‘𝑊) = (♯‘𝑈) ∧ ∀𝑖 ∈ (0..^(♯‘𝑊))(((𝑈𝑖)‘𝐾) = 𝐾 ∧ ∀𝑛 ∈ (𝑁 ∖ {𝐾})((𝑊𝑖)‘𝑛) = ((𝑈𝑖)‘𝑛))) → 𝑈 ∈ Word 𝑅)
1210, 11anim12i 591 . . . . 5 (((((𝑁 ∈ Fin ∧ 𝐾𝑁) ∧ 𝑄 ∈ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐾}) ∧ (𝑊 ∈ Word 𝑇 ∧ (𝑄 ↾ (𝑁 ∖ {𝐾})) = (𝑆 Σg 𝑊))) ∧ (𝑈 ∈ Word 𝑅 ∧ (♯‘𝑊) = (♯‘𝑈) ∧ ∀𝑖 ∈ (0..^(♯‘𝑊))(((𝑈𝑖)‘𝐾) = 𝐾 ∧ ∀𝑛 ∈ (𝑁 ∖ {𝐾})((𝑊𝑖)‘𝑛) = ((𝑈𝑖)‘𝑛)))) → (𝑁 ∈ Fin ∧ 𝑈 ∈ Word 𝑅))
13 psgnfix.z . . . . . 6 𝑍 = (SymGrp‘𝑁)
1413eqcomi 2733 . . . . . . . 8 (SymGrp‘𝑁) = 𝑍
1514fveq2i 6307 . . . . . . 7 (Base‘(SymGrp‘𝑁)) = (Base‘𝑍)
163, 15eqtri 2746 . . . . . 6 𝑃 = (Base‘𝑍)
17 psgnfix.r . . . . . 6 𝑅 = ran (pmTrsp‘𝑁)
1813, 16, 17gsmtrcl 18057 . . . . 5 ((𝑁 ∈ Fin ∧ 𝑈 ∈ Word 𝑅) → (𝑍 Σg 𝑈) ∈ 𝑃)
1912, 18syl 17 . . . 4 (((((𝑁 ∈ Fin ∧ 𝐾𝑁) ∧ 𝑄 ∈ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐾}) ∧ (𝑊 ∈ Word 𝑇 ∧ (𝑄 ↾ (𝑁 ∖ {𝐾})) = (𝑆 Σg 𝑊))) ∧ (𝑈 ∈ Word 𝑅 ∧ (♯‘𝑊) = (♯‘𝑈) ∧ ∀𝑖 ∈ (0..^(♯‘𝑊))(((𝑈𝑖)‘𝐾) = 𝐾 ∧ ∀𝑛 ∈ (𝑁 ∖ {𝐾})((𝑊𝑖)‘𝑛) = ((𝑈𝑖)‘𝑛)))) → (𝑍 Σg 𝑈) ∈ 𝑃)
202, 3symgbasf 17925 . . . 4 ((𝑍 Σg 𝑈) ∈ 𝑃 → (𝑍 Σg 𝑈):𝑁𝑁)
21 ffn 6158 . . . 4 ((𝑍 Σg 𝑈):𝑁𝑁 → (𝑍 Σg 𝑈) Fn 𝑁)
2219, 20, 213syl 18 . . 3 (((((𝑁 ∈ Fin ∧ 𝐾𝑁) ∧ 𝑄 ∈ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐾}) ∧ (𝑊 ∈ Word 𝑇 ∧ (𝑄 ↾ (𝑁 ∖ {𝐾})) = (𝑆 Σg 𝑊))) ∧ (𝑈 ∈ Word 𝑅 ∧ (♯‘𝑊) = (♯‘𝑈) ∧ ∀𝑖 ∈ (0..^(♯‘𝑊))(((𝑈𝑖)‘𝐾) = 𝐾 ∧ ∀𝑛 ∈ (𝑁 ∖ {𝐾})((𝑊𝑖)‘𝑛) = ((𝑈𝑖)‘𝑛)))) → (𝑍 Σg 𝑈) Fn 𝑁)
238ad3antrrr 768 . . . . . . . . . . . 12 (((((𝑁 ∈ Fin ∧ 𝐾𝑁) ∧ 𝑄 ∈ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐾}) ∧ (𝑊 ∈ Word 𝑇 ∧ (𝑄 ↾ (𝑁 ∖ {𝐾})) = (𝑆 Σg 𝑊))) ∧ (𝑈 ∈ Word 𝑅 ∧ (♯‘𝑊) = (♯‘𝑈) ∧ ∀𝑖 ∈ (0..^(♯‘𝑊))(((𝑈𝑖)‘𝐾) = 𝐾 ∧ ∀𝑛 ∈ (𝑁 ∖ {𝐾})((𝑊𝑖)‘𝑛) = ((𝑈𝑖)‘𝑛)))) → 𝑁 ∈ Fin)
24 simpr 479 . . . . . . . . . . . . 13 ((𝑁 ∈ Fin ∧ 𝐾𝑁) → 𝐾𝑁)
2524ad3antrrr 768 . . . . . . . . . . . 12 (((((𝑁 ∈ Fin ∧ 𝐾𝑁) ∧ 𝑄 ∈ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐾}) ∧ (𝑊 ∈ Word 𝑇 ∧ (𝑄 ↾ (𝑁 ∖ {𝐾})) = (𝑆 Σg 𝑊))) ∧ (𝑈 ∈ Word 𝑅 ∧ (♯‘𝑊) = (♯‘𝑈) ∧ ∀𝑖 ∈ (0..^(♯‘𝑊))(((𝑈𝑖)‘𝐾) = 𝐾 ∧ ∀𝑛 ∈ (𝑁 ∖ {𝐾})((𝑊𝑖)‘𝑛) = ((𝑈𝑖)‘𝑛)))) → 𝐾𝑁)
26 eqid 2724 . . . . . . . . . . . . . . . 16 (Base‘𝑍) = (Base‘𝑍)
2717, 13, 26symgtrf 18010 . . . . . . . . . . . . . . 15 𝑅 ⊆ (Base‘𝑍)
28 sswrd 13420 . . . . . . . . . . . . . . . 16 (𝑅 ⊆ (Base‘𝑍) → Word 𝑅 ⊆ Word (Base‘𝑍))
2928sseld 3708 . . . . . . . . . . . . . . 15 (𝑅 ⊆ (Base‘𝑍) → (𝑈 ∈ Word 𝑅𝑈 ∈ Word (Base‘𝑍)))
3027, 29ax-mp 5 . . . . . . . . . . . . . 14 (𝑈 ∈ Word 𝑅𝑈 ∈ Word (Base‘𝑍))
31303ad2ant1 1125 . . . . . . . . . . . . 13 ((𝑈 ∈ Word 𝑅 ∧ (♯‘𝑊) = (♯‘𝑈) ∧ ∀𝑖 ∈ (0..^(♯‘𝑊))(((𝑈𝑖)‘𝐾) = 𝐾 ∧ ∀𝑛 ∈ (𝑁 ∖ {𝐾})((𝑊𝑖)‘𝑛) = ((𝑈𝑖)‘𝑛))) → 𝑈 ∈ Word (Base‘𝑍))
3231adantl 473 . . . . . . . . . . . 12 (((((𝑁 ∈ Fin ∧ 𝐾𝑁) ∧ 𝑄 ∈ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐾}) ∧ (𝑊 ∈ Word 𝑇 ∧ (𝑄 ↾ (𝑁 ∖ {𝐾})) = (𝑆 Σg 𝑊))) ∧ (𝑈 ∈ Word 𝑅 ∧ (♯‘𝑊) = (♯‘𝑈) ∧ ∀𝑖 ∈ (0..^(♯‘𝑊))(((𝑈𝑖)‘𝐾) = 𝐾 ∧ ∀𝑛 ∈ (𝑁 ∖ {𝐾})((𝑊𝑖)‘𝑛) = ((𝑈𝑖)‘𝑛)))) → 𝑈 ∈ Word (Base‘𝑍))
3323, 25, 323jca 1379 . . . . . . . . . . 11 (((((𝑁 ∈ Fin ∧ 𝐾𝑁) ∧ 𝑄 ∈ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐾}) ∧ (𝑊 ∈ Word 𝑇 ∧ (𝑄 ↾ (𝑁 ∖ {𝐾})) = (𝑆 Σg 𝑊))) ∧ (𝑈 ∈ Word 𝑅 ∧ (♯‘𝑊) = (♯‘𝑈) ∧ ∀𝑖 ∈ (0..^(♯‘𝑊))(((𝑈𝑖)‘𝐾) = 𝐾 ∧ ∀𝑛 ∈ (𝑁 ∖ {𝐾})((𝑊𝑖)‘𝑛) = ((𝑈𝑖)‘𝑛)))) → (𝑁 ∈ Fin ∧ 𝐾𝑁𝑈 ∈ Word (Base‘𝑍)))
34 simpl 474 . . . . . . . . . . . . . . 15 ((((𝑈𝑖)‘𝐾) = 𝐾 ∧ ∀𝑛 ∈ (𝑁 ∖ {𝐾})((𝑊𝑖)‘𝑛) = ((𝑈𝑖)‘𝑛)) → ((𝑈𝑖)‘𝐾) = 𝐾)
3534ralimi 3054 . . . . . . . . . . . . . 14 (∀𝑖 ∈ (0..^(♯‘𝑊))(((𝑈𝑖)‘𝐾) = 𝐾 ∧ ∀𝑛 ∈ (𝑁 ∖ {𝐾})((𝑊𝑖)‘𝑛) = ((𝑈𝑖)‘𝑛)) → ∀𝑖 ∈ (0..^(♯‘𝑊))((𝑈𝑖)‘𝐾) = 𝐾)
36353ad2ant3 1127 . . . . . . . . . . . . 13 ((𝑈 ∈ Word 𝑅 ∧ (♯‘𝑊) = (♯‘𝑈) ∧ ∀𝑖 ∈ (0..^(♯‘𝑊))(((𝑈𝑖)‘𝐾) = 𝐾 ∧ ∀𝑛 ∈ (𝑁 ∖ {𝐾})((𝑊𝑖)‘𝑛) = ((𝑈𝑖)‘𝑛))) → ∀𝑖 ∈ (0..^(♯‘𝑊))((𝑈𝑖)‘𝐾) = 𝐾)
3736adantl 473 . . . . . . . . . . . 12 (((((𝑁 ∈ Fin ∧ 𝐾𝑁) ∧ 𝑄 ∈ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐾}) ∧ (𝑊 ∈ Word 𝑇 ∧ (𝑄 ↾ (𝑁 ∖ {𝐾})) = (𝑆 Σg 𝑊))) ∧ (𝑈 ∈ Word 𝑅 ∧ (♯‘𝑊) = (♯‘𝑈) ∧ ∀𝑖 ∈ (0..^(♯‘𝑊))(((𝑈𝑖)‘𝐾) = 𝐾 ∧ ∀𝑛 ∈ (𝑁 ∖ {𝐾})((𝑊𝑖)‘𝑛) = ((𝑈𝑖)‘𝑛)))) → ∀𝑖 ∈ (0..^(♯‘𝑊))((𝑈𝑖)‘𝐾) = 𝐾)
38 oveq2 6773 . . . . . . . . . . . . . . . 16 ((♯‘𝑈) = (♯‘𝑊) → (0..^(♯‘𝑈)) = (0..^(♯‘𝑊)))
3938eqcoms 2732 . . . . . . . . . . . . . . 15 ((♯‘𝑊) = (♯‘𝑈) → (0..^(♯‘𝑈)) = (0..^(♯‘𝑊)))
4039raleqdv 3247 . . . . . . . . . . . . . 14 ((♯‘𝑊) = (♯‘𝑈) → (∀𝑖 ∈ (0..^(♯‘𝑈))((𝑈𝑖)‘𝐾) = 𝐾 ↔ ∀𝑖 ∈ (0..^(♯‘𝑊))((𝑈𝑖)‘𝐾) = 𝐾))
41403ad2ant2 1126 . . . . . . . . . . . . 13 ((𝑈 ∈ Word 𝑅 ∧ (♯‘𝑊) = (♯‘𝑈) ∧ ∀𝑖 ∈ (0..^(♯‘𝑊))(((𝑈𝑖)‘𝐾) = 𝐾 ∧ ∀𝑛 ∈ (𝑁 ∖ {𝐾})((𝑊𝑖)‘𝑛) = ((𝑈𝑖)‘𝑛))) → (∀𝑖 ∈ (0..^(♯‘𝑈))((𝑈𝑖)‘𝐾) = 𝐾 ↔ ∀𝑖 ∈ (0..^(♯‘𝑊))((𝑈𝑖)‘𝐾) = 𝐾))
4241adantl 473 . . . . . . . . . . . 12 (((((𝑁 ∈ Fin ∧ 𝐾𝑁) ∧ 𝑄 ∈ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐾}) ∧ (𝑊 ∈ Word 𝑇 ∧ (𝑄 ↾ (𝑁 ∖ {𝐾})) = (𝑆 Σg 𝑊))) ∧ (𝑈 ∈ Word 𝑅 ∧ (♯‘𝑊) = (♯‘𝑈) ∧ ∀𝑖 ∈ (0..^(♯‘𝑊))(((𝑈𝑖)‘𝐾) = 𝐾 ∧ ∀𝑛 ∈ (𝑁 ∖ {𝐾})((𝑊𝑖)‘𝑛) = ((𝑈𝑖)‘𝑛)))) → (∀𝑖 ∈ (0..^(♯‘𝑈))((𝑈𝑖)‘𝐾) = 𝐾 ↔ ∀𝑖 ∈ (0..^(♯‘𝑊))((𝑈𝑖)‘𝐾) = 𝐾))
4337, 42mpbird 247 . . . . . . . . . . 11 (((((𝑁 ∈ Fin ∧ 𝐾𝑁) ∧ 𝑄 ∈ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐾}) ∧ (𝑊 ∈ Word 𝑇 ∧ (𝑄 ↾ (𝑁 ∖ {𝐾})) = (𝑆 Σg 𝑊))) ∧ (𝑈 ∈ Word 𝑅 ∧ (♯‘𝑊) = (♯‘𝑈) ∧ ∀𝑖 ∈ (0..^(♯‘𝑊))(((𝑈𝑖)‘𝐾) = 𝐾 ∧ ∀𝑛 ∈ (𝑁 ∖ {𝐾})((𝑊𝑖)‘𝑛) = ((𝑈𝑖)‘𝑛)))) → ∀𝑖 ∈ (0..^(♯‘𝑈))((𝑈𝑖)‘𝐾) = 𝐾)
4413, 26gsmsymgrfix 17969 . . . . . . . . . . 11 ((𝑁 ∈ Fin ∧ 𝐾𝑁𝑈 ∈ Word (Base‘𝑍)) → (∀𝑖 ∈ (0..^(♯‘𝑈))((𝑈𝑖)‘𝐾) = 𝐾 → ((𝑍 Σg 𝑈)‘𝐾) = 𝐾))
4533, 43, 44sylc 65 . . . . . . . . . 10 (((((𝑁 ∈ Fin ∧ 𝐾𝑁) ∧ 𝑄 ∈ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐾}) ∧ (𝑊 ∈ Word 𝑇 ∧ (𝑄 ↾ (𝑁 ∖ {𝐾})) = (𝑆 Σg 𝑊))) ∧ (𝑈 ∈ Word 𝑅 ∧ (♯‘𝑊) = (♯‘𝑈) ∧ ∀𝑖 ∈ (0..^(♯‘𝑊))(((𝑈𝑖)‘𝐾) = 𝐾 ∧ ∀𝑛 ∈ (𝑁 ∖ {𝐾})((𝑊𝑖)‘𝑛) = ((𝑈𝑖)‘𝑛)))) → ((𝑍 Σg 𝑈)‘𝐾) = 𝐾)
4645eqcomd 2730 . . . . . . . . 9 (((((𝑁 ∈ Fin ∧ 𝐾𝑁) ∧ 𝑄 ∈ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐾}) ∧ (𝑊 ∈ Word 𝑇 ∧ (𝑄 ↾ (𝑁 ∖ {𝐾})) = (𝑆 Σg 𝑊))) ∧ (𝑈 ∈ Word 𝑅 ∧ (♯‘𝑊) = (♯‘𝑈) ∧ ∀𝑖 ∈ (0..^(♯‘𝑊))(((𝑈𝑖)‘𝐾) = 𝐾 ∧ ∀𝑛 ∈ (𝑁 ∖ {𝐾})((𝑊𝑖)‘𝑛) = ((𝑈𝑖)‘𝑛)))) → 𝐾 = ((𝑍 Σg 𝑈)‘𝐾))
4746adantr 472 . . . . . . . 8 ((((((𝑁 ∈ Fin ∧ 𝐾𝑁) ∧ 𝑄 ∈ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐾}) ∧ (𝑊 ∈ Word 𝑇 ∧ (𝑄 ↾ (𝑁 ∖ {𝐾})) = (𝑆 Σg 𝑊))) ∧ (𝑈 ∈ Word 𝑅 ∧ (♯‘𝑊) = (♯‘𝑈) ∧ ∀𝑖 ∈ (0..^(♯‘𝑊))(((𝑈𝑖)‘𝐾) = 𝐾 ∧ ∀𝑛 ∈ (𝑁 ∖ {𝐾})((𝑊𝑖)‘𝑛) = ((𝑈𝑖)‘𝑛)))) ∧ 𝑘 = 𝐾) → 𝐾 = ((𝑍 Σg 𝑈)‘𝐾))
48 fveq2 6304 . . . . . . . . . 10 (𝑘 = 𝐾 → (𝑄𝑘) = (𝑄𝐾))
49 fveq1 6303 . . . . . . . . . . . . . 14 (𝑞 = 𝑄 → (𝑞𝐾) = (𝑄𝐾))
5049eqeq1d 2726 . . . . . . . . . . . . 13 (𝑞 = 𝑄 → ((𝑞𝐾) = 𝐾 ↔ (𝑄𝐾) = 𝐾))
5150elrab 3469 . . . . . . . . . . . 12 (𝑄 ∈ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐾} ↔ (𝑄𝑃 ∧ (𝑄𝐾) = 𝐾))
5251simprbi 483 . . . . . . . . . . 11 (𝑄 ∈ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐾} → (𝑄𝐾) = 𝐾)
5352ad3antlr 769 . . . . . . . . . 10 (((((𝑁 ∈ Fin ∧ 𝐾𝑁) ∧ 𝑄 ∈ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐾}) ∧ (𝑊 ∈ Word 𝑇 ∧ (𝑄 ↾ (𝑁 ∖ {𝐾})) = (𝑆 Σg 𝑊))) ∧ (𝑈 ∈ Word 𝑅 ∧ (♯‘𝑊) = (♯‘𝑈) ∧ ∀𝑖 ∈ (0..^(♯‘𝑊))(((𝑈𝑖)‘𝐾) = 𝐾 ∧ ∀𝑛 ∈ (𝑁 ∖ {𝐾})((𝑊𝑖)‘𝑛) = ((𝑈𝑖)‘𝑛)))) → (𝑄𝐾) = 𝐾)
5448, 53sylan9eqr 2780 . . . . . . . . 9 ((((((𝑁 ∈ Fin ∧ 𝐾𝑁) ∧ 𝑄 ∈ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐾}) ∧ (𝑊 ∈ Word 𝑇 ∧ (𝑄 ↾ (𝑁 ∖ {𝐾})) = (𝑆 Σg 𝑊))) ∧ (𝑈 ∈ Word 𝑅 ∧ (♯‘𝑊) = (♯‘𝑈) ∧ ∀𝑖 ∈ (0..^(♯‘𝑊))(((𝑈𝑖)‘𝐾) = 𝐾 ∧ ∀𝑛 ∈ (𝑁 ∖ {𝐾})((𝑊𝑖)‘𝑛) = ((𝑈𝑖)‘𝑛)))) ∧ 𝑘 = 𝐾) → (𝑄𝑘) = 𝐾)
55 fveq2 6304 . . . . . . . . . 10 (𝑘 = 𝐾 → ((𝑍 Σg 𝑈)‘𝑘) = ((𝑍 Σg 𝑈)‘𝐾))
5655adantl 473 . . . . . . . . 9 ((((((𝑁 ∈ Fin ∧ 𝐾𝑁) ∧ 𝑄 ∈ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐾}) ∧ (𝑊 ∈ Word 𝑇 ∧ (𝑄 ↾ (𝑁 ∖ {𝐾})) = (𝑆 Σg 𝑊))) ∧ (𝑈 ∈ Word 𝑅 ∧ (♯‘𝑊) = (♯‘𝑈) ∧ ∀𝑖 ∈ (0..^(♯‘𝑊))(((𝑈𝑖)‘𝐾) = 𝐾 ∧ ∀𝑛 ∈ (𝑁 ∖ {𝐾})((𝑊𝑖)‘𝑛) = ((𝑈𝑖)‘𝑛)))) ∧ 𝑘 = 𝐾) → ((𝑍 Σg 𝑈)‘𝑘) = ((𝑍 Σg 𝑈)‘𝐾))
5754, 56eqeq12d 2739 . . . . . . . 8 ((((((𝑁 ∈ Fin ∧ 𝐾𝑁) ∧ 𝑄 ∈ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐾}) ∧ (𝑊 ∈ Word 𝑇 ∧ (𝑄 ↾ (𝑁 ∖ {𝐾})) = (𝑆 Σg 𝑊))) ∧ (𝑈 ∈ Word 𝑅 ∧ (♯‘𝑊) = (♯‘𝑈) ∧ ∀𝑖 ∈ (0..^(♯‘𝑊))(((𝑈𝑖)‘𝐾) = 𝐾 ∧ ∀𝑛 ∈ (𝑁 ∖ {𝐾})((𝑊𝑖)‘𝑛) = ((𝑈𝑖)‘𝑛)))) ∧ 𝑘 = 𝐾) → ((𝑄𝑘) = ((𝑍 Σg 𝑈)‘𝑘) ↔ 𝐾 = ((𝑍 Σg 𝑈)‘𝐾)))
5847, 57mpbird 247 . . . . . . 7 ((((((𝑁 ∈ Fin ∧ 𝐾𝑁) ∧ 𝑄 ∈ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐾}) ∧ (𝑊 ∈ Word 𝑇 ∧ (𝑄 ↾ (𝑁 ∖ {𝐾})) = (𝑆 Σg 𝑊))) ∧ (𝑈 ∈ Word 𝑅 ∧ (♯‘𝑊) = (♯‘𝑈) ∧ ∀𝑖 ∈ (0..^(♯‘𝑊))(((𝑈𝑖)‘𝐾) = 𝐾 ∧ ∀𝑛 ∈ (𝑁 ∖ {𝐾})((𝑊𝑖)‘𝑛) = ((𝑈𝑖)‘𝑛)))) ∧ 𝑘 = 𝐾) → (𝑄𝑘) = ((𝑍 Σg 𝑈)‘𝑘))
5958ex 449 . . . . . 6 (((((𝑁 ∈ Fin ∧ 𝐾𝑁) ∧ 𝑄 ∈ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐾}) ∧ (𝑊 ∈ Word 𝑇 ∧ (𝑄 ↾ (𝑁 ∖ {𝐾})) = (𝑆 Σg 𝑊))) ∧ (𝑈 ∈ Word 𝑅 ∧ (♯‘𝑊) = (♯‘𝑈) ∧ ∀𝑖 ∈ (0..^(♯‘𝑊))(((𝑈𝑖)‘𝐾) = 𝐾 ∧ ∀𝑛 ∈ (𝑁 ∖ {𝐾})((𝑊𝑖)‘𝑛) = ((𝑈𝑖)‘𝑛)))) → (𝑘 = 𝐾 → (𝑄𝑘) = ((𝑍 Σg 𝑈)‘𝑘)))
6059adantr 472 . . . . 5 ((((((𝑁 ∈ Fin ∧ 𝐾𝑁) ∧ 𝑄 ∈ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐾}) ∧ (𝑊 ∈ Word 𝑇 ∧ (𝑄 ↾ (𝑁 ∖ {𝐾})) = (𝑆 Σg 𝑊))) ∧ (𝑈 ∈ Word 𝑅 ∧ (♯‘𝑊) = (♯‘𝑈) ∧ ∀𝑖 ∈ (0..^(♯‘𝑊))(((𝑈𝑖)‘𝐾) = 𝐾 ∧ ∀𝑛 ∈ (𝑁 ∖ {𝐾})((𝑊𝑖)‘𝑛) = ((𝑈𝑖)‘𝑛)))) ∧ 𝑘𝑁) → (𝑘 = 𝐾 → (𝑄𝑘) = ((𝑍 Σg 𝑈)‘𝑘)))
6160com12 32 . . . 4 (𝑘 = 𝐾 → ((((((𝑁 ∈ Fin ∧ 𝐾𝑁) ∧ 𝑄 ∈ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐾}) ∧ (𝑊 ∈ Word 𝑇 ∧ (𝑄 ↾ (𝑁 ∖ {𝐾})) = (𝑆 Σg 𝑊))) ∧ (𝑈 ∈ Word 𝑅 ∧ (♯‘𝑊) = (♯‘𝑈) ∧ ∀𝑖 ∈ (0..^(♯‘𝑊))(((𝑈𝑖)‘𝐾) = 𝐾 ∧ ∀𝑛 ∈ (𝑁 ∖ {𝐾})((𝑊𝑖)‘𝑛) = ((𝑈𝑖)‘𝑛)))) ∧ 𝑘𝑁) → (𝑄𝑘) = ((𝑍 Σg 𝑈)‘𝑘)))
62 fveq1 6303 . . . . . . . . 9 ((𝑄 ↾ (𝑁 ∖ {𝐾})) = (𝑆 Σg 𝑊) → ((𝑄 ↾ (𝑁 ∖ {𝐾}))‘𝑘) = ((𝑆 Σg 𝑊)‘𝑘))
6362adantl 473 . . . . . . . 8 ((𝑊 ∈ Word 𝑇 ∧ (𝑄 ↾ (𝑁 ∖ {𝐾})) = (𝑆 Σg 𝑊)) → ((𝑄 ↾ (𝑁 ∖ {𝐾}))‘𝑘) = ((𝑆 Σg 𝑊)‘𝑘))
6463ad3antlr 769 . . . . . . 7 ((((((𝑁 ∈ Fin ∧ 𝐾𝑁) ∧ 𝑄 ∈ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐾}) ∧ (𝑊 ∈ Word 𝑇 ∧ (𝑄 ↾ (𝑁 ∖ {𝐾})) = (𝑆 Σg 𝑊))) ∧ (𝑈 ∈ Word 𝑅 ∧ (♯‘𝑊) = (♯‘𝑈) ∧ ∀𝑖 ∈ (0..^(♯‘𝑊))(((𝑈𝑖)‘𝐾) = 𝐾 ∧ ∀𝑛 ∈ (𝑁 ∖ {𝐾})((𝑊𝑖)‘𝑛) = ((𝑈𝑖)‘𝑛)))) ∧ 𝑘𝑁) → ((𝑄 ↾ (𝑁 ∖ {𝐾}))‘𝑘) = ((𝑆 Σg 𝑊)‘𝑘))
6564adantl 473 . . . . . 6 ((¬ 𝑘 = 𝐾 ∧ (((((𝑁 ∈ Fin ∧ 𝐾𝑁) ∧ 𝑄 ∈ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐾}) ∧ (𝑊 ∈ Word 𝑇 ∧ (𝑄 ↾ (𝑁 ∖ {𝐾})) = (𝑆 Σg 𝑊))) ∧ (𝑈 ∈ Word 𝑅 ∧ (♯‘𝑊) = (♯‘𝑈) ∧ ∀𝑖 ∈ (0..^(♯‘𝑊))(((𝑈𝑖)‘𝐾) = 𝐾 ∧ ∀𝑛 ∈ (𝑁 ∖ {𝐾})((𝑊𝑖)‘𝑛) = ((𝑈𝑖)‘𝑛)))) ∧ 𝑘𝑁)) → ((𝑄 ↾ (𝑁 ∖ {𝐾}))‘𝑘) = ((𝑆 Σg 𝑊)‘𝑘))
66 simpr 479 . . . . . . . . . . . . 13 (((𝑁 ∈ Fin ∧ 𝐾𝑁) ∧ 𝑘𝑁) → 𝑘𝑁)
67 df-ne 2897 . . . . . . . . . . . . . 14 (𝑘𝐾 ↔ ¬ 𝑘 = 𝐾)
6867biimpri 218 . . . . . . . . . . . . 13 𝑘 = 𝐾𝑘𝐾)
6966, 68anim12i 591 . . . . . . . . . . . 12 ((((𝑁 ∈ Fin ∧ 𝐾𝑁) ∧ 𝑘𝑁) ∧ ¬ 𝑘 = 𝐾) → (𝑘𝑁𝑘𝐾))
70 eldifsn 4425 . . . . . . . . . . . 12 (𝑘 ∈ (𝑁 ∖ {𝐾}) ↔ (𝑘𝑁𝑘𝐾))
7169, 70sylibr 224 . . . . . . . . . . 11 ((((𝑁 ∈ Fin ∧ 𝐾𝑁) ∧ 𝑘𝑁) ∧ ¬ 𝑘 = 𝐾) → 𝑘 ∈ (𝑁 ∖ {𝐾}))
72 fvres 6320 . . . . . . . . . . 11 (𝑘 ∈ (𝑁 ∖ {𝐾}) → ((𝑄 ↾ (𝑁 ∖ {𝐾}))‘𝑘) = (𝑄𝑘))
7371, 72syl 17 . . . . . . . . . 10 ((((𝑁 ∈ Fin ∧ 𝐾𝑁) ∧ 𝑘𝑁) ∧ ¬ 𝑘 = 𝐾) → ((𝑄 ↾ (𝑁 ∖ {𝐾}))‘𝑘) = (𝑄𝑘))
7473exp31 631 . . . . . . . . 9 ((𝑁 ∈ Fin ∧ 𝐾𝑁) → (𝑘𝑁 → (¬ 𝑘 = 𝐾 → ((𝑄 ↾ (𝑁 ∖ {𝐾}))‘𝑘) = (𝑄𝑘))))
7574ad3antrrr 768 . . . . . . . 8 (((((𝑁 ∈ Fin ∧ 𝐾𝑁) ∧ 𝑄 ∈ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐾}) ∧ (𝑊 ∈ Word 𝑇 ∧ (𝑄 ↾ (𝑁 ∖ {𝐾})) = (𝑆 Σg 𝑊))) ∧ (𝑈 ∈ Word 𝑅 ∧ (♯‘𝑊) = (♯‘𝑈) ∧ ∀𝑖 ∈ (0..^(♯‘𝑊))(((𝑈𝑖)‘𝐾) = 𝐾 ∧ ∀𝑛 ∈ (𝑁 ∖ {𝐾})((𝑊𝑖)‘𝑛) = ((𝑈𝑖)‘𝑛)))) → (𝑘𝑁 → (¬ 𝑘 = 𝐾 → ((𝑄 ↾ (𝑁 ∖ {𝐾}))‘𝑘) = (𝑄𝑘))))
7675imp 444 . . . . . . 7 ((((((𝑁 ∈ Fin ∧ 𝐾𝑁) ∧ 𝑄 ∈ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐾}) ∧ (𝑊 ∈ Word 𝑇 ∧ (𝑄 ↾ (𝑁 ∖ {𝐾})) = (𝑆 Σg 𝑊))) ∧ (𝑈 ∈ Word 𝑅 ∧ (♯‘𝑊) = (♯‘𝑈) ∧ ∀𝑖 ∈ (0..^(♯‘𝑊))(((𝑈𝑖)‘𝐾) = 𝐾 ∧ ∀𝑛 ∈ (𝑁 ∖ {𝐾})((𝑊𝑖)‘𝑛) = ((𝑈𝑖)‘𝑛)))) ∧ 𝑘𝑁) → (¬ 𝑘 = 𝐾 → ((𝑄 ↾ (𝑁 ∖ {𝐾}))‘𝑘) = (𝑄𝑘)))
7776impcom 445 . . . . . 6 ((¬ 𝑘 = 𝐾 ∧ (((((𝑁 ∈ Fin ∧ 𝐾𝑁) ∧ 𝑄 ∈ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐾}) ∧ (𝑊 ∈ Word 𝑇 ∧ (𝑄 ↾ (𝑁 ∖ {𝐾})) = (𝑆 Σg 𝑊))) ∧ (𝑈 ∈ Word 𝑅 ∧ (♯‘𝑊) = (♯‘𝑈) ∧ ∀𝑖 ∈ (0..^(♯‘𝑊))(((𝑈𝑖)‘𝐾) = 𝐾 ∧ ∀𝑛 ∈ (𝑁 ∖ {𝐾})((𝑊𝑖)‘𝑛) = ((𝑈𝑖)‘𝑛)))) ∧ 𝑘𝑁)) → ((𝑄 ↾ (𝑁 ∖ {𝐾}))‘𝑘) = (𝑄𝑘))
7868anim2i 594 . . . . . . . . . . 11 ((𝑘𝑁 ∧ ¬ 𝑘 = 𝐾) → (𝑘𝑁𝑘𝐾))
7978, 70sylibr 224 . . . . . . . . . 10 ((𝑘𝑁 ∧ ¬ 𝑘 = 𝐾) → 𝑘 ∈ (𝑁 ∖ {𝐾}))
8079ex 449 . . . . . . . . 9 (𝑘𝑁 → (¬ 𝑘 = 𝐾𝑘 ∈ (𝑁 ∖ {𝐾})))
8180adantl 473 . . . . . . . 8 ((((((𝑁 ∈ Fin ∧ 𝐾𝑁) ∧ 𝑄 ∈ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐾}) ∧ (𝑊 ∈ Word 𝑇 ∧ (𝑄 ↾ (𝑁 ∖ {𝐾})) = (𝑆 Σg 𝑊))) ∧ (𝑈 ∈ Word 𝑅 ∧ (♯‘𝑊) = (♯‘𝑈) ∧ ∀𝑖 ∈ (0..^(♯‘𝑊))(((𝑈𝑖)‘𝐾) = 𝐾 ∧ ∀𝑛 ∈ (𝑁 ∖ {𝐾})((𝑊𝑖)‘𝑛) = ((𝑈𝑖)‘𝑛)))) ∧ 𝑘𝑁) → (¬ 𝑘 = 𝐾𝑘 ∈ (𝑁 ∖ {𝐾})))
8281impcom 445 . . . . . . 7 ((¬ 𝑘 = 𝐾 ∧ (((((𝑁 ∈ Fin ∧ 𝐾𝑁) ∧ 𝑄 ∈ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐾}) ∧ (𝑊 ∈ Word 𝑇 ∧ (𝑄 ↾ (𝑁 ∖ {𝐾})) = (𝑆 Σg 𝑊))) ∧ (𝑈 ∈ Word 𝑅 ∧ (♯‘𝑊) = (♯‘𝑈) ∧ ∀𝑖 ∈ (0..^(♯‘𝑊))(((𝑈𝑖)‘𝐾) = 𝐾 ∧ ∀𝑛 ∈ (𝑁 ∖ {𝐾})((𝑊𝑖)‘𝑛) = ((𝑈𝑖)‘𝑛)))) ∧ 𝑘𝑁)) → 𝑘 ∈ (𝑁 ∖ {𝐾}))
83 diffi 8308 . . . . . . . . . . . . 13 (𝑁 ∈ Fin → (𝑁 ∖ {𝐾}) ∈ Fin)
8483ancri 576 . . . . . . . . . . . 12 (𝑁 ∈ Fin → ((𝑁 ∖ {𝐾}) ∈ Fin ∧ 𝑁 ∈ Fin))
8584adantr 472 . . . . . . . . . . 11 ((𝑁 ∈ Fin ∧ 𝐾𝑁) → ((𝑁 ∖ {𝐾}) ∈ Fin ∧ 𝑁 ∈ Fin))
8685ad3antrrr 768 . . . . . . . . . 10 (((((𝑁 ∈ Fin ∧ 𝐾𝑁) ∧ 𝑄 ∈ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐾}) ∧ (𝑊 ∈ Word 𝑇 ∧ (𝑄 ↾ (𝑁 ∖ {𝐾})) = (𝑆 Σg 𝑊))) ∧ (𝑈 ∈ Word 𝑅 ∧ (♯‘𝑊) = (♯‘𝑈) ∧ ∀𝑖 ∈ (0..^(♯‘𝑊))(((𝑈𝑖)‘𝐾) = 𝐾 ∧ ∀𝑛 ∈ (𝑁 ∖ {𝐾})((𝑊𝑖)‘𝑛) = ((𝑈𝑖)‘𝑛)))) → ((𝑁 ∖ {𝐾}) ∈ Fin ∧ 𝑁 ∈ Fin))
87 psgnfix.t . . . . . . . . . . . . . . 15 𝑇 = ran (pmTrsp‘(𝑁 ∖ {𝐾}))
88 psgnfix.s . . . . . . . . . . . . . . 15 𝑆 = (SymGrp‘(𝑁 ∖ {𝐾}))
89 eqid 2724 . . . . . . . . . . . . . . 15 (Base‘𝑆) = (Base‘𝑆)
9087, 88, 89symgtrf 18010 . . . . . . . . . . . . . 14 𝑇 ⊆ (Base‘𝑆)
91 sswrd 13420 . . . . . . . . . . . . . . 15 (𝑇 ⊆ (Base‘𝑆) → Word 𝑇 ⊆ Word (Base‘𝑆))
9291sseld 3708 . . . . . . . . . . . . . 14 (𝑇 ⊆ (Base‘𝑆) → (𝑊 ∈ Word 𝑇𝑊 ∈ Word (Base‘𝑆)))
9390, 92ax-mp 5 . . . . . . . . . . . . 13 (𝑊 ∈ Word 𝑇𝑊 ∈ Word (Base‘𝑆))
9493ad2antrl 766 . . . . . . . . . . . 12 ((((𝑁 ∈ Fin ∧ 𝐾𝑁) ∧ 𝑄 ∈ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐾}) ∧ (𝑊 ∈ Word 𝑇 ∧ (𝑄 ↾ (𝑁 ∖ {𝐾})) = (𝑆 Σg 𝑊))) → 𝑊 ∈ Word (Base‘𝑆))
9594adantr 472 . . . . . . . . . . 11 (((((𝑁 ∈ Fin ∧ 𝐾𝑁) ∧ 𝑄 ∈ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐾}) ∧ (𝑊 ∈ Word 𝑇 ∧ (𝑄 ↾ (𝑁 ∖ {𝐾})) = (𝑆 Σg 𝑊))) ∧ (𝑈 ∈ Word 𝑅 ∧ (♯‘𝑊) = (♯‘𝑈) ∧ ∀𝑖 ∈ (0..^(♯‘𝑊))(((𝑈𝑖)‘𝐾) = 𝐾 ∧ ∀𝑛 ∈ (𝑁 ∖ {𝐾})((𝑊𝑖)‘𝑛) = ((𝑈𝑖)‘𝑛)))) → 𝑊 ∈ Word (Base‘𝑆))
96 simpr2 1212 . . . . . . . . . . 11 (((((𝑁 ∈ Fin ∧ 𝐾𝑁) ∧ 𝑄 ∈ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐾}) ∧ (𝑊 ∈ Word 𝑇 ∧ (𝑄 ↾ (𝑁 ∖ {𝐾})) = (𝑆 Σg 𝑊))) ∧ (𝑈 ∈ Word 𝑅 ∧ (♯‘𝑊) = (♯‘𝑈) ∧ ∀𝑖 ∈ (0..^(♯‘𝑊))(((𝑈𝑖)‘𝐾) = 𝐾 ∧ ∀𝑛 ∈ (𝑁 ∖ {𝐾})((𝑊𝑖)‘𝑛) = ((𝑈𝑖)‘𝑛)))) → (♯‘𝑊) = (♯‘𝑈))
9795, 32, 963jca 1379 . . . . . . . . . 10 (((((𝑁 ∈ Fin ∧ 𝐾𝑁) ∧ 𝑄 ∈ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐾}) ∧ (𝑊 ∈ Word 𝑇 ∧ (𝑄 ↾ (𝑁 ∖ {𝐾})) = (𝑆 Σg 𝑊))) ∧ (𝑈 ∈ Word 𝑅 ∧ (♯‘𝑊) = (♯‘𝑈) ∧ ∀𝑖 ∈ (0..^(♯‘𝑊))(((𝑈𝑖)‘𝐾) = 𝐾 ∧ ∀𝑛 ∈ (𝑁 ∖ {𝐾})((𝑊𝑖)‘𝑛) = ((𝑈𝑖)‘𝑛)))) → (𝑊 ∈ Word (Base‘𝑆) ∧ 𝑈 ∈ Word (Base‘𝑍) ∧ (♯‘𝑊) = (♯‘𝑈)))
9886, 97jca 555 . . . . . . . . 9 (((((𝑁 ∈ Fin ∧ 𝐾𝑁) ∧ 𝑄 ∈ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐾}) ∧ (𝑊 ∈ Word 𝑇 ∧ (𝑄 ↾ (𝑁 ∖ {𝐾})) = (𝑆 Σg 𝑊))) ∧ (𝑈 ∈ Word 𝑅 ∧ (♯‘𝑊) = (♯‘𝑈) ∧ ∀𝑖 ∈ (0..^(♯‘𝑊))(((𝑈𝑖)‘𝐾) = 𝐾 ∧ ∀𝑛 ∈ (𝑁 ∖ {𝐾})((𝑊𝑖)‘𝑛) = ((𝑈𝑖)‘𝑛)))) → (((𝑁 ∖ {𝐾}) ∈ Fin ∧ 𝑁 ∈ Fin) ∧ (𝑊 ∈ Word (Base‘𝑆) ∧ 𝑈 ∈ Word (Base‘𝑍) ∧ (♯‘𝑊) = (♯‘𝑈))))
9998ad2antrl 766 . . . . . . . 8 ((¬ 𝑘 = 𝐾 ∧ (((((𝑁 ∈ Fin ∧ 𝐾𝑁) ∧ 𝑄 ∈ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐾}) ∧ (𝑊 ∈ Word 𝑇 ∧ (𝑄 ↾ (𝑁 ∖ {𝐾})) = (𝑆 Σg 𝑊))) ∧ (𝑈 ∈ Word 𝑅 ∧ (♯‘𝑊) = (♯‘𝑈) ∧ ∀𝑖 ∈ (0..^(♯‘𝑊))(((𝑈𝑖)‘𝐾) = 𝐾 ∧ ∀𝑛 ∈ (𝑁 ∖ {𝐾})((𝑊𝑖)‘𝑛) = ((𝑈𝑖)‘𝑛)))) ∧ 𝑘𝑁)) → (((𝑁 ∖ {𝐾}) ∈ Fin ∧ 𝑁 ∈ Fin) ∧ (𝑊 ∈ Word (Base‘𝑆) ∧ 𝑈 ∈ Word (Base‘𝑍) ∧ (♯‘𝑊) = (♯‘𝑈))))
100 simpr 479 . . . . . . . . . . . 12 ((((𝑈𝑖)‘𝐾) = 𝐾 ∧ ∀𝑛 ∈ (𝑁 ∖ {𝐾})((𝑊𝑖)‘𝑛) = ((𝑈𝑖)‘𝑛)) → ∀𝑛 ∈ (𝑁 ∖ {𝐾})((𝑊𝑖)‘𝑛) = ((𝑈𝑖)‘𝑛))
101100ralimi 3054 . . . . . . . . . . 11 (∀𝑖 ∈ (0..^(♯‘𝑊))(((𝑈𝑖)‘𝐾) = 𝐾 ∧ ∀𝑛 ∈ (𝑁 ∖ {𝐾})((𝑊𝑖)‘𝑛) = ((𝑈𝑖)‘𝑛)) → ∀𝑖 ∈ (0..^(♯‘𝑊))∀𝑛 ∈ (𝑁 ∖ {𝐾})((𝑊𝑖)‘𝑛) = ((𝑈𝑖)‘𝑛))
1021013ad2ant3 1127 . . . . . . . . . 10 ((𝑈 ∈ Word 𝑅 ∧ (♯‘𝑊) = (♯‘𝑈) ∧ ∀𝑖 ∈ (0..^(♯‘𝑊))(((𝑈𝑖)‘𝐾) = 𝐾 ∧ ∀𝑛 ∈ (𝑁 ∖ {𝐾})((𝑊𝑖)‘𝑛) = ((𝑈𝑖)‘𝑛))) → ∀𝑖 ∈ (0..^(♯‘𝑊))∀𝑛 ∈ (𝑁 ∖ {𝐾})((𝑊𝑖)‘𝑛) = ((𝑈𝑖)‘𝑛))
103102adantl 473 . . . . . . . . 9 (((((𝑁 ∈ Fin ∧ 𝐾𝑁) ∧ 𝑄 ∈ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐾}) ∧ (𝑊 ∈ Word 𝑇 ∧ (𝑄 ↾ (𝑁 ∖ {𝐾})) = (𝑆 Σg 𝑊))) ∧ (𝑈 ∈ Word 𝑅 ∧ (♯‘𝑊) = (♯‘𝑈) ∧ ∀𝑖 ∈ (0..^(♯‘𝑊))(((𝑈𝑖)‘𝐾) = 𝐾 ∧ ∀𝑛 ∈ (𝑁 ∖ {𝐾})((𝑊𝑖)‘𝑛) = ((𝑈𝑖)‘𝑛)))) → ∀𝑖 ∈ (0..^(♯‘𝑊))∀𝑛 ∈ (𝑁 ∖ {𝐾})((𝑊𝑖)‘𝑛) = ((𝑈𝑖)‘𝑛))
104103ad2antrl 766 . . . . . . . 8 ((¬ 𝑘 = 𝐾 ∧ (((((𝑁 ∈ Fin ∧ 𝐾𝑁) ∧ 𝑄 ∈ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐾}) ∧ (𝑊 ∈ Word 𝑇 ∧ (𝑄 ↾ (𝑁 ∖ {𝐾})) = (𝑆 Σg 𝑊))) ∧ (𝑈 ∈ Word 𝑅 ∧ (♯‘𝑊) = (♯‘𝑈) ∧ ∀𝑖 ∈ (0..^(♯‘𝑊))(((𝑈𝑖)‘𝐾) = 𝐾 ∧ ∀𝑛 ∈ (𝑁 ∖ {𝐾})((𝑊𝑖)‘𝑛) = ((𝑈𝑖)‘𝑛)))) ∧ 𝑘𝑁)) → ∀𝑖 ∈ (0..^(♯‘𝑊))∀𝑛 ∈ (𝑁 ∖ {𝐾})((𝑊𝑖)‘𝑛) = ((𝑈𝑖)‘𝑛))
105 incom 3913 . . . . . . . . . . 11 ((𝑁 ∖ {𝐾}) ∩ 𝑁) = (𝑁 ∩ (𝑁 ∖ {𝐾}))
106 indif 3977 . . . . . . . . . . 11 (𝑁 ∩ (𝑁 ∖ {𝐾})) = (𝑁 ∖ {𝐾})
107105, 106eqtri 2746 . . . . . . . . . 10 ((𝑁 ∖ {𝐾}) ∩ 𝑁) = (𝑁 ∖ {𝐾})
108107eqcomi 2733 . . . . . . . . 9 (𝑁 ∖ {𝐾}) = ((𝑁 ∖ {𝐾}) ∩ 𝑁)
10988, 89, 13, 26, 108gsmsymgreq 17973 . . . . . . . 8 ((((𝑁 ∖ {𝐾}) ∈ Fin ∧ 𝑁 ∈ Fin) ∧ (𝑊 ∈ Word (Base‘𝑆) ∧ 𝑈 ∈ Word (Base‘𝑍) ∧ (♯‘𝑊) = (♯‘𝑈))) → (∀𝑖 ∈ (0..^(♯‘𝑊))∀𝑛 ∈ (𝑁 ∖ {𝐾})((𝑊𝑖)‘𝑛) = ((𝑈𝑖)‘𝑛) → ∀𝑛 ∈ (𝑁 ∖ {𝐾})((𝑆 Σg 𝑊)‘𝑛) = ((𝑍 Σg 𝑈)‘𝑛)))
11099, 104, 109sylc 65 . . . . . . 7 ((¬ 𝑘 = 𝐾 ∧ (((((𝑁 ∈ Fin ∧ 𝐾𝑁) ∧ 𝑄 ∈ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐾}) ∧ (𝑊 ∈ Word 𝑇 ∧ (𝑄 ↾ (𝑁 ∖ {𝐾})) = (𝑆 Σg 𝑊))) ∧ (𝑈 ∈ Word 𝑅 ∧ (♯‘𝑊) = (♯‘𝑈) ∧ ∀𝑖 ∈ (0..^(♯‘𝑊))(((𝑈𝑖)‘𝐾) = 𝐾 ∧ ∀𝑛 ∈ (𝑁 ∖ {𝐾})((𝑊𝑖)‘𝑛) = ((𝑈𝑖)‘𝑛)))) ∧ 𝑘𝑁)) → ∀𝑛 ∈ (𝑁 ∖ {𝐾})((𝑆 Σg 𝑊)‘𝑛) = ((𝑍 Σg 𝑈)‘𝑛))
111 fveq2 6304 . . . . . . . . 9 (𝑛 = 𝑘 → ((𝑆 Σg 𝑊)‘𝑛) = ((𝑆 Σg 𝑊)‘𝑘))
112 fveq2 6304 . . . . . . . . 9 (𝑛 = 𝑘 → ((𝑍 Σg 𝑈)‘𝑛) = ((𝑍 Σg 𝑈)‘𝑘))
113111, 112eqeq12d 2739 . . . . . . . 8 (𝑛 = 𝑘 → (((𝑆 Σg 𝑊)‘𝑛) = ((𝑍 Σg 𝑈)‘𝑛) ↔ ((𝑆 Σg 𝑊)‘𝑘) = ((𝑍 Σg 𝑈)‘𝑘)))
114113rspcva 3411 . . . . . . 7 ((𝑘 ∈ (𝑁 ∖ {𝐾}) ∧ ∀𝑛 ∈ (𝑁 ∖ {𝐾})((𝑆 Σg 𝑊)‘𝑛) = ((𝑍 Σg 𝑈)‘𝑛)) → ((𝑆 Σg 𝑊)‘𝑘) = ((𝑍 Σg 𝑈)‘𝑘))
11582, 110, 114syl2anc 696 . . . . . 6 ((¬ 𝑘 = 𝐾 ∧ (((((𝑁 ∈ Fin ∧ 𝐾𝑁) ∧ 𝑄 ∈ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐾}) ∧ (𝑊 ∈ Word 𝑇 ∧ (𝑄 ↾ (𝑁 ∖ {𝐾})) = (𝑆 Σg 𝑊))) ∧ (𝑈 ∈ Word 𝑅 ∧ (♯‘𝑊) = (♯‘𝑈) ∧ ∀𝑖 ∈ (0..^(♯‘𝑊))(((𝑈𝑖)‘𝐾) = 𝐾 ∧ ∀𝑛 ∈ (𝑁 ∖ {𝐾})((𝑊𝑖)‘𝑛) = ((𝑈𝑖)‘𝑛)))) ∧ 𝑘𝑁)) → ((𝑆 Σg 𝑊)‘𝑘) = ((𝑍 Σg 𝑈)‘𝑘))
11665, 77, 1153eqtr3d 2766 . . . . 5 ((¬ 𝑘 = 𝐾 ∧ (((((𝑁 ∈ Fin ∧ 𝐾𝑁) ∧ 𝑄 ∈ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐾}) ∧ (𝑊 ∈ Word 𝑇 ∧ (𝑄 ↾ (𝑁 ∖ {𝐾})) = (𝑆 Σg 𝑊))) ∧ (𝑈 ∈ Word 𝑅 ∧ (♯‘𝑊) = (♯‘𝑈) ∧ ∀𝑖 ∈ (0..^(♯‘𝑊))(((𝑈𝑖)‘𝐾) = 𝐾 ∧ ∀𝑛 ∈ (𝑁 ∖ {𝐾})((𝑊𝑖)‘𝑛) = ((𝑈𝑖)‘𝑛)))) ∧ 𝑘𝑁)) → (𝑄𝑘) = ((𝑍 Σg 𝑈)‘𝑘))
117116ex 449 . . . 4 𝑘 = 𝐾 → ((((((𝑁 ∈ Fin ∧ 𝐾𝑁) ∧ 𝑄 ∈ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐾}) ∧ (𝑊 ∈ Word 𝑇 ∧ (𝑄 ↾ (𝑁 ∖ {𝐾})) = (𝑆 Σg 𝑊))) ∧ (𝑈 ∈ Word 𝑅 ∧ (♯‘𝑊) = (♯‘𝑈) ∧ ∀𝑖 ∈ (0..^(♯‘𝑊))(((𝑈𝑖)‘𝐾) = 𝐾 ∧ ∀𝑛 ∈ (𝑁 ∖ {𝐾})((𝑊𝑖)‘𝑛) = ((𝑈𝑖)‘𝑛)))) ∧ 𝑘𝑁) → (𝑄𝑘) = ((𝑍 Σg 𝑈)‘𝑘)))
11861, 117pm2.61i 176 . . 3 ((((((𝑁 ∈ Fin ∧ 𝐾𝑁) ∧ 𝑄 ∈ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐾}) ∧ (𝑊 ∈ Word 𝑇 ∧ (𝑄 ↾ (𝑁 ∖ {𝐾})) = (𝑆 Σg 𝑊))) ∧ (𝑈 ∈ Word 𝑅 ∧ (♯‘𝑊) = (♯‘𝑈) ∧ ∀𝑖 ∈ (0..^(♯‘𝑊))(((𝑈𝑖)‘𝐾) = 𝐾 ∧ ∀𝑛 ∈ (𝑁 ∖ {𝐾})((𝑊𝑖)‘𝑛) = ((𝑈𝑖)‘𝑛)))) ∧ 𝑘𝑁) → (𝑄𝑘) = ((𝑍 Σg 𝑈)‘𝑘))
1197, 22, 118eqfnfvd 6429 . 2 (((((𝑁 ∈ Fin ∧ 𝐾𝑁) ∧ 𝑄 ∈ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐾}) ∧ (𝑊 ∈ Word 𝑇 ∧ (𝑄 ↾ (𝑁 ∖ {𝐾})) = (𝑆 Σg 𝑊))) ∧ (𝑈 ∈ Word 𝑅 ∧ (♯‘𝑊) = (♯‘𝑈) ∧ ∀𝑖 ∈ (0..^(♯‘𝑊))(((𝑈𝑖)‘𝐾) = 𝐾 ∧ ∀𝑛 ∈ (𝑁 ∖ {𝐾})((𝑊𝑖)‘𝑛) = ((𝑈𝑖)‘𝑛)))) → 𝑄 = (𝑍 Σg 𝑈))
120119exp31 631 1 (((𝑁 ∈ Fin ∧ 𝐾𝑁) ∧ 𝑄 ∈ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐾}) → ((𝑊 ∈ Word 𝑇 ∧ (𝑄 ↾ (𝑁 ∖ {𝐾})) = (𝑆 Σg 𝑊)) → ((𝑈 ∈ Word 𝑅 ∧ (♯‘𝑊) = (♯‘𝑈) ∧ ∀𝑖 ∈ (0..^(♯‘𝑊))(((𝑈𝑖)‘𝐾) = 𝐾 ∧ ∀𝑛 ∈ (𝑁 ∖ {𝐾})((𝑊𝑖)‘𝑛) = ((𝑈𝑖)‘𝑛))) → 𝑄 = (𝑍 Σg 𝑈))))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 196  wa 383  w3a 1072   = wceq 1596  wcel 2103  wne 2896  wral 3014  {crab 3018  cdif 3677  cin 3679  wss 3680  {csn 4285  ran crn 5219  cres 5220   Fn wfn 5996  wf 5997  cfv 6001  (class class class)co 6765  Fincfn 8072  0cc0 10049  ..^cfzo 12580  chash 13232  Word cword 13398  Basecbs 15980   Σg cgsu 16224  SymGrpcsymg 17918  pmTrspcpmtr 17982
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1835  ax-4 1850  ax-5 1952  ax-6 2018  ax-7 2054  ax-8 2105  ax-9 2112  ax-10 2132  ax-11 2147  ax-12 2160  ax-13 2355  ax-ext 2704  ax-rep 4879  ax-sep 4889  ax-nul 4897  ax-pow 4948  ax-pr 5011  ax-un 7066  ax-cnex 10105  ax-resscn 10106  ax-1cn 10107  ax-icn 10108  ax-addcl 10109  ax-addrcl 10110  ax-mulcl 10111  ax-mulrcl 10112  ax-mulcom 10113  ax-addass 10114  ax-mulass 10115  ax-distr 10116  ax-i2m1 10117  ax-1ne0 10118  ax-1rid 10119  ax-rnegex 10120  ax-rrecex 10121  ax-cnre 10122  ax-pre-lttri 10123  ax-pre-lttrn 10124  ax-pre-ltadd 10125  ax-pre-mulgt0 10126
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3or 1073  df-3an 1074  df-tru 1599  df-ex 1818  df-nf 1823  df-sb 2011  df-eu 2575  df-mo 2576  df-clab 2711  df-cleq 2717  df-clel 2720  df-nfc 2855  df-ne 2897  df-nel 3000  df-ral 3019  df-rex 3020  df-reu 3021  df-rmo 3022  df-rab 3023  df-v 3306  df-sbc 3542  df-csb 3640  df-dif 3683  df-un 3685  df-in 3687  df-ss 3694  df-pss 3696  df-nul 4024  df-if 4195  df-pw 4268  df-sn 4286  df-pr 4288  df-tp 4290  df-op 4292  df-uni 4545  df-int 4584  df-iun 4630  df-iin 4631  df-br 4761  df-opab 4821  df-mpt 4838  df-tr 4861  df-id 5128  df-eprel 5133  df-po 5139  df-so 5140  df-fr 5177  df-se 5178  df-we 5179  df-xp 5224  df-rel 5225  df-cnv 5226  df-co 5227  df-dm 5228  df-rn 5229  df-res 5230  df-ima 5231  df-pred 5793  df-ord 5839  df-on 5840  df-lim 5841  df-suc 5842  df-iota 5964  df-fun 6003  df-fn 6004  df-f 6005  df-f1 6006  df-fo 6007  df-f1o 6008  df-fv 6009  df-isom 6010  df-riota 6726  df-ov 6768  df-oprab 6769  df-mpt2 6770  df-om 7183  df-1st 7285  df-2nd 7286  df-wrecs 7527  df-recs 7588  df-rdg 7626  df-1o 7680  df-2o 7681  df-oadd 7684  df-er 7862  df-map 7976  df-en 8073  df-dom 8074  df-sdom 8075  df-fin 8076  df-card 8878  df-pnf 10189  df-mnf 10190  df-xr 10191  df-ltxr 10192  df-le 10193  df-sub 10381  df-neg 10382  df-nn 11134  df-2 11192  df-3 11193  df-4 11194  df-5 11195  df-6 11196  df-7 11197  df-8 11198  df-9 11199  df-n0 11406  df-xnn0 11477  df-z 11491  df-uz 11801  df-fz 12441  df-fzo 12581  df-seq 12917  df-hash 13233  df-word 13406  df-lsw 13407  df-concat 13408  df-s1 13409  df-substr 13410  df-struct 15982  df-ndx 15983  df-slot 15984  df-base 15986  df-sets 15987  df-ress 15988  df-plusg 16077  df-tset 16083  df-0g 16225  df-gsum 16226  df-mre 16369  df-mrc 16370  df-acs 16372  df-mgm 17364  df-sgrp 17406  df-mnd 17417  df-submnd 17458  df-grp 17547  df-minusg 17548  df-subg 17713  df-symg 17919  df-pmtr 17983  df-psgn 18032
This theorem is referenced by:  psgndiflemA  20070
  Copyright terms: Public domain W3C validator