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

Theorem frgpuplem 19387
Description: Any assignment of the generators to target elements can be extended (uniquely) to a homomorphism from a free monoid to an arbitrary other monoid. (Contributed by Mario Carneiro, 2-Oct-2015.)
Hypotheses
Ref Expression
frgpup.b 𝐵 = (Base‘𝐻)
frgpup.n 𝑁 = (invg𝐻)
frgpup.t 𝑇 = (𝑦𝐼, 𝑧 ∈ 2o ↦ if(𝑧 = ∅, (𝐹𝑦), (𝑁‘(𝐹𝑦))))
frgpup.h (𝜑𝐻 ∈ Grp)
frgpup.i (𝜑𝐼𝑉)
frgpup.a (𝜑𝐹:𝐼𝐵)
frgpup.w 𝑊 = ( I ‘Word (𝐼 × 2o))
frgpup.r = ( ~FG𝐼)
Assertion
Ref Expression
frgpuplem ((𝜑𝐴 𝐶) → (𝐻 Σg (𝑇𝐴)) = (𝐻 Σg (𝑇𝐶)))
Distinct variable groups:   𝑦,𝑧,𝐴   𝑦,𝐹,𝑧   𝑦,𝑁,𝑧   𝑦,𝐵,𝑧   𝜑,𝑦,𝑧   𝑦,𝐼,𝑧
Allowed substitution hints:   𝐶(𝑦,𝑧)   (𝑦,𝑧)   𝑇(𝑦,𝑧)   𝐻(𝑦,𝑧)   𝑉(𝑦,𝑧)   𝑊(𝑦,𝑧)

Proof of Theorem frgpuplem
Dummy variables 𝑎 𝑏 𝑢 𝑣 𝑛 𝑟 𝑥 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 frgpup.w . . . . . . 7 𝑊 = ( I ‘Word (𝐼 × 2o))
2 frgpup.r . . . . . . 7 = ( ~FG𝐼)
31, 2efgval 19332 . . . . . 6 = {𝑟 ∣ (𝑟 Er 𝑊 ∧ ∀𝑥𝑊𝑛 ∈ (0...(♯‘𝑥))∀𝑎𝐼𝑏 ∈ 2o 𝑥𝑟(𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩⟩))}
4 coeq2 5770 . . . . . . . . . . . . 13 (𝑢 = 𝑣 → (𝑇𝑢) = (𝑇𝑣))
54oveq2d 7300 . . . . . . . . . . . 12 (𝑢 = 𝑣 → (𝐻 Σg (𝑇𝑢)) = (𝐻 Σg (𝑇𝑣)))
6 eqid 2739 . . . . . . . . . . . 12 {⟨𝑢, 𝑣⟩ ∣ (𝐻 Σg (𝑇𝑢)) = (𝐻 Σg (𝑇𝑣))} = {⟨𝑢, 𝑣⟩ ∣ (𝐻 Σg (𝑇𝑢)) = (𝐻 Σg (𝑇𝑣))}
75, 6eqer 8542 . . . . . . . . . . 11 {⟨𝑢, 𝑣⟩ ∣ (𝐻 Σg (𝑇𝑢)) = (𝐻 Σg (𝑇𝑣))} Er V
87a1i 11 . . . . . . . . . 10 (𝜑 → {⟨𝑢, 𝑣⟩ ∣ (𝐻 Σg (𝑇𝑢)) = (𝐻 Σg (𝑇𝑣))} Er V)
9 ssv 3946 . . . . . . . . . . 11 𝑊 ⊆ V
109a1i 11 . . . . . . . . . 10 (𝜑𝑊 ⊆ V)
118, 10erinxp 8589 . . . . . . . . 9 (𝜑 → ({⟨𝑢, 𝑣⟩ ∣ (𝐻 Σg (𝑇𝑢)) = (𝐻 Σg (𝑇𝑣))} ∩ (𝑊 × 𝑊)) Er 𝑊)
12 df-xp 5596 . . . . . . . . . . . . 13 (𝑊 × 𝑊) = {⟨𝑢, 𝑣⟩ ∣ (𝑢𝑊𝑣𝑊)}
1312ineq1i 4143 . . . . . . . . . . . 12 ((𝑊 × 𝑊) ∩ {⟨𝑢, 𝑣⟩ ∣ (𝐻 Σg (𝑇𝑢)) = (𝐻 Σg (𝑇𝑣))}) = ({⟨𝑢, 𝑣⟩ ∣ (𝑢𝑊𝑣𝑊)} ∩ {⟨𝑢, 𝑣⟩ ∣ (𝐻 Σg (𝑇𝑢)) = (𝐻 Σg (𝑇𝑣))})
14 incom 4136 . . . . . . . . . . . 12 ((𝑊 × 𝑊) ∩ {⟨𝑢, 𝑣⟩ ∣ (𝐻 Σg (𝑇𝑢)) = (𝐻 Σg (𝑇𝑣))}) = ({⟨𝑢, 𝑣⟩ ∣ (𝐻 Σg (𝑇𝑢)) = (𝐻 Σg (𝑇𝑣))} ∩ (𝑊 × 𝑊))
15 inopab 5741 . . . . . . . . . . . 12 ({⟨𝑢, 𝑣⟩ ∣ (𝑢𝑊𝑣𝑊)} ∩ {⟨𝑢, 𝑣⟩ ∣ (𝐻 Σg (𝑇𝑢)) = (𝐻 Σg (𝑇𝑣))}) = {⟨𝑢, 𝑣⟩ ∣ ((𝑢𝑊𝑣𝑊) ∧ (𝐻 Σg (𝑇𝑢)) = (𝐻 Σg (𝑇𝑣)))}
1613, 14, 153eqtr3i 2775 . . . . . . . . . . 11 ({⟨𝑢, 𝑣⟩ ∣ (𝐻 Σg (𝑇𝑢)) = (𝐻 Σg (𝑇𝑣))} ∩ (𝑊 × 𝑊)) = {⟨𝑢, 𝑣⟩ ∣ ((𝑢𝑊𝑣𝑊) ∧ (𝐻 Σg (𝑇𝑢)) = (𝐻 Σg (𝑇𝑣)))}
17 vex 3437 . . . . . . . . . . . . . 14 𝑢 ∈ V
18 vex 3437 . . . . . . . . . . . . . 14 𝑣 ∈ V
1917, 18prss 4754 . . . . . . . . . . . . 13 ((𝑢𝑊𝑣𝑊) ↔ {𝑢, 𝑣} ⊆ 𝑊)
2019anbi1i 624 . . . . . . . . . . . 12 (((𝑢𝑊𝑣𝑊) ∧ (𝐻 Σg (𝑇𝑢)) = (𝐻 Σg (𝑇𝑣))) ↔ ({𝑢, 𝑣} ⊆ 𝑊 ∧ (𝐻 Σg (𝑇𝑢)) = (𝐻 Σg (𝑇𝑣))))
2120opabbii 5142 . . . . . . . . . . 11 {⟨𝑢, 𝑣⟩ ∣ ((𝑢𝑊𝑣𝑊) ∧ (𝐻 Σg (𝑇𝑢)) = (𝐻 Σg (𝑇𝑣)))} = {⟨𝑢, 𝑣⟩ ∣ ({𝑢, 𝑣} ⊆ 𝑊 ∧ (𝐻 Σg (𝑇𝑢)) = (𝐻 Σg (𝑇𝑣)))}
2216, 21eqtri 2767 . . . . . . . . . 10 ({⟨𝑢, 𝑣⟩ ∣ (𝐻 Σg (𝑇𝑢)) = (𝐻 Σg (𝑇𝑣))} ∩ (𝑊 × 𝑊)) = {⟨𝑢, 𝑣⟩ ∣ ({𝑢, 𝑣} ⊆ 𝑊 ∧ (𝐻 Σg (𝑇𝑢)) = (𝐻 Σg (𝑇𝑣)))}
23 ereq1 8514 . . . . . . . . . 10 (({⟨𝑢, 𝑣⟩ ∣ (𝐻 Σg (𝑇𝑢)) = (𝐻 Σg (𝑇𝑣))} ∩ (𝑊 × 𝑊)) = {⟨𝑢, 𝑣⟩ ∣ ({𝑢, 𝑣} ⊆ 𝑊 ∧ (𝐻 Σg (𝑇𝑢)) = (𝐻 Σg (𝑇𝑣)))} → (({⟨𝑢, 𝑣⟩ ∣ (𝐻 Σg (𝑇𝑢)) = (𝐻 Σg (𝑇𝑣))} ∩ (𝑊 × 𝑊)) Er 𝑊 ↔ {⟨𝑢, 𝑣⟩ ∣ ({𝑢, 𝑣} ⊆ 𝑊 ∧ (𝐻 Σg (𝑇𝑢)) = (𝐻 Σg (𝑇𝑣)))} Er 𝑊))
2422, 23ax-mp 5 . . . . . . . . 9 (({⟨𝑢, 𝑣⟩ ∣ (𝐻 Σg (𝑇𝑢)) = (𝐻 Σg (𝑇𝑣))} ∩ (𝑊 × 𝑊)) Er 𝑊 ↔ {⟨𝑢, 𝑣⟩ ∣ ({𝑢, 𝑣} ⊆ 𝑊 ∧ (𝐻 Σg (𝑇𝑢)) = (𝐻 Σg (𝑇𝑣)))} Er 𝑊)
2511, 24sylib 217 . . . . . . . 8 (𝜑 → {⟨𝑢, 𝑣⟩ ∣ ({𝑢, 𝑣} ⊆ 𝑊 ∧ (𝐻 Σg (𝑇𝑢)) = (𝐻 Σg (𝑇𝑣)))} Er 𝑊)
26 simplrl 774 . . . . . . . . . . 11 (((𝜑 ∧ (𝑥𝑊𝑛 ∈ (0...(♯‘𝑥)))) ∧ (𝑎𝐼𝑏 ∈ 2o)) → 𝑥𝑊)
27 fviss 6854 . . . . . . . . . . . . . . 15 ( I ‘Word (𝐼 × 2o)) ⊆ Word (𝐼 × 2o)
281, 27eqsstri 3956 . . . . . . . . . . . . . 14 𝑊 ⊆ Word (𝐼 × 2o)
2928, 26sselid 3920 . . . . . . . . . . . . 13 (((𝜑 ∧ (𝑥𝑊𝑛 ∈ (0...(♯‘𝑥)))) ∧ (𝑎𝐼𝑏 ∈ 2o)) → 𝑥 ∈ Word (𝐼 × 2o))
30 opelxpi 5627 . . . . . . . . . . . . . . 15 ((𝑎𝐼𝑏 ∈ 2o) → ⟨𝑎, 𝑏⟩ ∈ (𝐼 × 2o))
3130adantl 482 . . . . . . . . . . . . . 14 (((𝜑 ∧ (𝑥𝑊𝑛 ∈ (0...(♯‘𝑥)))) ∧ (𝑎𝐼𝑏 ∈ 2o)) → ⟨𝑎, 𝑏⟩ ∈ (𝐼 × 2o))
32 simprl 768 . . . . . . . . . . . . . . 15 (((𝜑 ∧ (𝑥𝑊𝑛 ∈ (0...(♯‘𝑥)))) ∧ (𝑎𝐼𝑏 ∈ 2o)) → 𝑎𝐼)
33 2oconcl 8342 . . . . . . . . . . . . . . . 16 (𝑏 ∈ 2o → (1o𝑏) ∈ 2o)
3433ad2antll 726 . . . . . . . . . . . . . . 15 (((𝜑 ∧ (𝑥𝑊𝑛 ∈ (0...(♯‘𝑥)))) ∧ (𝑎𝐼𝑏 ∈ 2o)) → (1o𝑏) ∈ 2o)
3532, 34opelxpd 5628 . . . . . . . . . . . . . 14 (((𝜑 ∧ (𝑥𝑊𝑛 ∈ (0...(♯‘𝑥)))) ∧ (𝑎𝐼𝑏 ∈ 2o)) → ⟨𝑎, (1o𝑏)⟩ ∈ (𝐼 × 2o))
3631, 35s2cld 14593 . . . . . . . . . . . . 13 (((𝜑 ∧ (𝑥𝑊𝑛 ∈ (0...(♯‘𝑥)))) ∧ (𝑎𝐼𝑏 ∈ 2o)) → ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩ ∈ Word (𝐼 × 2o))
37 splcl 14474 . . . . . . . . . . . . 13 ((𝑥 ∈ Word (𝐼 × 2o) ∧ ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩ ∈ Word (𝐼 × 2o)) → (𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩⟩) ∈ Word (𝐼 × 2o))
3829, 36, 37syl2anc 584 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑥𝑊𝑛 ∈ (0...(♯‘𝑥)))) ∧ (𝑎𝐼𝑏 ∈ 2o)) → (𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩⟩) ∈ Word (𝐼 × 2o))
391efgrcl 19330 . . . . . . . . . . . . . 14 (𝑥𝑊 → (𝐼 ∈ V ∧ 𝑊 = Word (𝐼 × 2o)))
4026, 39syl 17 . . . . . . . . . . . . 13 (((𝜑 ∧ (𝑥𝑊𝑛 ∈ (0...(♯‘𝑥)))) ∧ (𝑎𝐼𝑏 ∈ 2o)) → (𝐼 ∈ V ∧ 𝑊 = Word (𝐼 × 2o)))
4140simprd 496 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑥𝑊𝑛 ∈ (0...(♯‘𝑥)))) ∧ (𝑎𝐼𝑏 ∈ 2o)) → 𝑊 = Word (𝐼 × 2o))
4238, 41eleqtrrd 2843 . . . . . . . . . . 11 (((𝜑 ∧ (𝑥𝑊𝑛 ∈ (0...(♯‘𝑥)))) ∧ (𝑎𝐼𝑏 ∈ 2o)) → (𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩⟩) ∈ 𝑊)
43 pfxcl 14399 . . . . . . . . . . . . . . . . . 18 (𝑥 ∈ Word (𝐼 × 2o) → (𝑥 prefix 𝑛) ∈ Word (𝐼 × 2o))
4429, 43syl 17 . . . . . . . . . . . . . . . . 17 (((𝜑 ∧ (𝑥𝑊𝑛 ∈ (0...(♯‘𝑥)))) ∧ (𝑎𝐼𝑏 ∈ 2o)) → (𝑥 prefix 𝑛) ∈ Word (𝐼 × 2o))
45 frgpup.b . . . . . . . . . . . . . . . . . . 19 𝐵 = (Base‘𝐻)
46 frgpup.n . . . . . . . . . . . . . . . . . . 19 𝑁 = (invg𝐻)
47 frgpup.t . . . . . . . . . . . . . . . . . . 19 𝑇 = (𝑦𝐼, 𝑧 ∈ 2o ↦ if(𝑧 = ∅, (𝐹𝑦), (𝑁‘(𝐹𝑦))))
48 frgpup.h . . . . . . . . . . . . . . . . . . 19 (𝜑𝐻 ∈ Grp)
49 frgpup.i . . . . . . . . . . . . . . . . . . 19 (𝜑𝐼𝑉)
50 frgpup.a . . . . . . . . . . . . . . . . . . 19 (𝜑𝐹:𝐼𝐵)
5145, 46, 47, 48, 49, 50frgpuptf 19385 . . . . . . . . . . . . . . . . . 18 (𝜑𝑇:(𝐼 × 2o)⟶𝐵)
5251ad2antrr 723 . . . . . . . . . . . . . . . . 17 (((𝜑 ∧ (𝑥𝑊𝑛 ∈ (0...(♯‘𝑥)))) ∧ (𝑎𝐼𝑏 ∈ 2o)) → 𝑇:(𝐼 × 2o)⟶𝐵)
53 ccatco 14557 . . . . . . . . . . . . . . . . 17 (((𝑥 prefix 𝑛) ∈ Word (𝐼 × 2o) ∧ ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩ ∈ Word (𝐼 × 2o) ∧ 𝑇:(𝐼 × 2o)⟶𝐵) → (𝑇 ∘ ((𝑥 prefix 𝑛) ++ ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩)) = ((𝑇 ∘ (𝑥 prefix 𝑛)) ++ (𝑇 ∘ ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩)))
5444, 36, 52, 53syl3anc 1370 . . . . . . . . . . . . . . . 16 (((𝜑 ∧ (𝑥𝑊𝑛 ∈ (0...(♯‘𝑥)))) ∧ (𝑎𝐼𝑏 ∈ 2o)) → (𝑇 ∘ ((𝑥 prefix 𝑛) ++ ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩)) = ((𝑇 ∘ (𝑥 prefix 𝑛)) ++ (𝑇 ∘ ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩)))
5554oveq2d 7300 . . . . . . . . . . . . . . 15 (((𝜑 ∧ (𝑥𝑊𝑛 ∈ (0...(♯‘𝑥)))) ∧ (𝑎𝐼𝑏 ∈ 2o)) → (𝐻 Σg (𝑇 ∘ ((𝑥 prefix 𝑛) ++ ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩))) = (𝐻 Σg ((𝑇 ∘ (𝑥 prefix 𝑛)) ++ (𝑇 ∘ ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩))))
5648ad2antrr 723 . . . . . . . . . . . . . . . . 17 (((𝜑 ∧ (𝑥𝑊𝑛 ∈ (0...(♯‘𝑥)))) ∧ (𝑎𝐼𝑏 ∈ 2o)) → 𝐻 ∈ Grp)
5756grpmndd 18598 . . . . . . . . . . . . . . . 16 (((𝜑 ∧ (𝑥𝑊𝑛 ∈ (0...(♯‘𝑥)))) ∧ (𝑎𝐼𝑏 ∈ 2o)) → 𝐻 ∈ Mnd)
58 wrdco 14553 . . . . . . . . . . . . . . . . 17 (((𝑥 prefix 𝑛) ∈ Word (𝐼 × 2o) ∧ 𝑇:(𝐼 × 2o)⟶𝐵) → (𝑇 ∘ (𝑥 prefix 𝑛)) ∈ Word 𝐵)
5944, 52, 58syl2anc 584 . . . . . . . . . . . . . . . 16 (((𝜑 ∧ (𝑥𝑊𝑛 ∈ (0...(♯‘𝑥)))) ∧ (𝑎𝐼𝑏 ∈ 2o)) → (𝑇 ∘ (𝑥 prefix 𝑛)) ∈ Word 𝐵)
60 wrdco 14553 . . . . . . . . . . . . . . . . 17 ((⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩ ∈ Word (𝐼 × 2o) ∧ 𝑇:(𝐼 × 2o)⟶𝐵) → (𝑇 ∘ ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩) ∈ Word 𝐵)
6136, 52, 60syl2anc 584 . . . . . . . . . . . . . . . 16 (((𝜑 ∧ (𝑥𝑊𝑛 ∈ (0...(♯‘𝑥)))) ∧ (𝑎𝐼𝑏 ∈ 2o)) → (𝑇 ∘ ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩) ∈ Word 𝐵)
62 eqid 2739 . . . . . . . . . . . . . . . . 17 (+g𝐻) = (+g𝐻)
6345, 62gsumccat 18489 . . . . . . . . . . . . . . . 16 ((𝐻 ∈ Mnd ∧ (𝑇 ∘ (𝑥 prefix 𝑛)) ∈ Word 𝐵 ∧ (𝑇 ∘ ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩) ∈ Word 𝐵) → (𝐻 Σg ((𝑇 ∘ (𝑥 prefix 𝑛)) ++ (𝑇 ∘ ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩))) = ((𝐻 Σg (𝑇 ∘ (𝑥 prefix 𝑛)))(+g𝐻)(𝐻 Σg (𝑇 ∘ ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩))))
6457, 59, 61, 63syl3anc 1370 . . . . . . . . . . . . . . 15 (((𝜑 ∧ (𝑥𝑊𝑛 ∈ (0...(♯‘𝑥)))) ∧ (𝑎𝐼𝑏 ∈ 2o)) → (𝐻 Σg ((𝑇 ∘ (𝑥 prefix 𝑛)) ++ (𝑇 ∘ ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩))) = ((𝐻 Σg (𝑇 ∘ (𝑥 prefix 𝑛)))(+g𝐻)(𝐻 Σg (𝑇 ∘ ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩))))
6552, 31, 35s2co 14642 . . . . . . . . . . . . . . . . . . . 20 (((𝜑 ∧ (𝑥𝑊𝑛 ∈ (0...(♯‘𝑥)))) ∧ (𝑎𝐼𝑏 ∈ 2o)) → (𝑇 ∘ ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩) = ⟨“(𝑇‘⟨𝑎, 𝑏⟩)(𝑇‘⟨𝑎, (1o𝑏)⟩)”⟩)
66 df-ov 7287 . . . . . . . . . . . . . . . . . . . . . 22 (𝑎𝑇𝑏) = (𝑇‘⟨𝑎, 𝑏⟩)
6766a1i 11 . . . . . . . . . . . . . . . . . . . . 21 (((𝜑 ∧ (𝑥𝑊𝑛 ∈ (0...(♯‘𝑥)))) ∧ (𝑎𝐼𝑏 ∈ 2o)) → (𝑎𝑇𝑏) = (𝑇‘⟨𝑎, 𝑏⟩))
6866fveq2i 6786 . . . . . . . . . . . . . . . . . . . . . 22 (𝑁‘(𝑎𝑇𝑏)) = (𝑁‘(𝑇‘⟨𝑎, 𝑏⟩))
69 df-ov 7287 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (𝑎(𝑦𝐼, 𝑧 ∈ 2o ↦ ⟨𝑦, (1o𝑧)⟩)𝑏) = ((𝑦𝐼, 𝑧 ∈ 2o ↦ ⟨𝑦, (1o𝑧)⟩)‘⟨𝑎, 𝑏⟩)
70 eqid 2739 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 (𝑦𝐼, 𝑧 ∈ 2o ↦ ⟨𝑦, (1o𝑧)⟩) = (𝑦𝐼, 𝑧 ∈ 2o ↦ ⟨𝑦, (1o𝑧)⟩)
7170efgmval 19327 . . . . . . . . . . . . . . . . . . . . . . . . . 26 ((𝑎𝐼𝑏 ∈ 2o) → (𝑎(𝑦𝐼, 𝑧 ∈ 2o ↦ ⟨𝑦, (1o𝑧)⟩)𝑏) = ⟨𝑎, (1o𝑏)⟩)
7269, 71eqtr3id 2793 . . . . . . . . . . . . . . . . . . . . . . . . 25 ((𝑎𝐼𝑏 ∈ 2o) → ((𝑦𝐼, 𝑧 ∈ 2o ↦ ⟨𝑦, (1o𝑧)⟩)‘⟨𝑎, 𝑏⟩) = ⟨𝑎, (1o𝑏)⟩)
7372adantl 482 . . . . . . . . . . . . . . . . . . . . . . . 24 (((𝜑 ∧ (𝑥𝑊𝑛 ∈ (0...(♯‘𝑥)))) ∧ (𝑎𝐼𝑏 ∈ 2o)) → ((𝑦𝐼, 𝑧 ∈ 2o ↦ ⟨𝑦, (1o𝑧)⟩)‘⟨𝑎, 𝑏⟩) = ⟨𝑎, (1o𝑏)⟩)
7473fveq2d 6787 . . . . . . . . . . . . . . . . . . . . . . 23 (((𝜑 ∧ (𝑥𝑊𝑛 ∈ (0...(♯‘𝑥)))) ∧ (𝑎𝐼𝑏 ∈ 2o)) → (𝑇‘((𝑦𝐼, 𝑧 ∈ 2o ↦ ⟨𝑦, (1o𝑧)⟩)‘⟨𝑎, 𝑏⟩)) = (𝑇‘⟨𝑎, (1o𝑏)⟩))
7545, 46, 47, 48, 49, 50, 70frgpuptinv 19386 . . . . . . . . . . . . . . . . . . . . . . . . 25 ((𝜑 ∧ ⟨𝑎, 𝑏⟩ ∈ (𝐼 × 2o)) → (𝑇‘((𝑦𝐼, 𝑧 ∈ 2o ↦ ⟨𝑦, (1o𝑧)⟩)‘⟨𝑎, 𝑏⟩)) = (𝑁‘(𝑇‘⟨𝑎, 𝑏⟩)))
7630, 75sylan2 593 . . . . . . . . . . . . . . . . . . . . . . . 24 ((𝜑 ∧ (𝑎𝐼𝑏 ∈ 2o)) → (𝑇‘((𝑦𝐼, 𝑧 ∈ 2o ↦ ⟨𝑦, (1o𝑧)⟩)‘⟨𝑎, 𝑏⟩)) = (𝑁‘(𝑇‘⟨𝑎, 𝑏⟩)))
7776adantlr 712 . . . . . . . . . . . . . . . . . . . . . . 23 (((𝜑 ∧ (𝑥𝑊𝑛 ∈ (0...(♯‘𝑥)))) ∧ (𝑎𝐼𝑏 ∈ 2o)) → (𝑇‘((𝑦𝐼, 𝑧 ∈ 2o ↦ ⟨𝑦, (1o𝑧)⟩)‘⟨𝑎, 𝑏⟩)) = (𝑁‘(𝑇‘⟨𝑎, 𝑏⟩)))
7874, 77eqtr3d 2781 . . . . . . . . . . . . . . . . . . . . . 22 (((𝜑 ∧ (𝑥𝑊𝑛 ∈ (0...(♯‘𝑥)))) ∧ (𝑎𝐼𝑏 ∈ 2o)) → (𝑇‘⟨𝑎, (1o𝑏)⟩) = (𝑁‘(𝑇‘⟨𝑎, 𝑏⟩)))
7968, 78eqtr4id 2798 . . . . . . . . . . . . . . . . . . . . 21 (((𝜑 ∧ (𝑥𝑊𝑛 ∈ (0...(♯‘𝑥)))) ∧ (𝑎𝐼𝑏 ∈ 2o)) → (𝑁‘(𝑎𝑇𝑏)) = (𝑇‘⟨𝑎, (1o𝑏)⟩))
8067, 79s2eqd 14585 . . . . . . . . . . . . . . . . . . . 20 (((𝜑 ∧ (𝑥𝑊𝑛 ∈ (0...(♯‘𝑥)))) ∧ (𝑎𝐼𝑏 ∈ 2o)) → ⟨“(𝑎𝑇𝑏)(𝑁‘(𝑎𝑇𝑏))”⟩ = ⟨“(𝑇‘⟨𝑎, 𝑏⟩)(𝑇‘⟨𝑎, (1o𝑏)⟩)”⟩)
8165, 80eqtr4d 2782 . . . . . . . . . . . . . . . . . . 19 (((𝜑 ∧ (𝑥𝑊𝑛 ∈ (0...(♯‘𝑥)))) ∧ (𝑎𝐼𝑏 ∈ 2o)) → (𝑇 ∘ ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩) = ⟨“(𝑎𝑇𝑏)(𝑁‘(𝑎𝑇𝑏))”⟩)
8281oveq2d 7300 . . . . . . . . . . . . . . . . . 18 (((𝜑 ∧ (𝑥𝑊𝑛 ∈ (0...(♯‘𝑥)))) ∧ (𝑎𝐼𝑏 ∈ 2o)) → (𝐻 Σg (𝑇 ∘ ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩)) = (𝐻 Σg ⟨“(𝑎𝑇𝑏)(𝑁‘(𝑎𝑇𝑏))”⟩))
83 simprr 770 . . . . . . . . . . . . . . . . . . . 20 (((𝜑 ∧ (𝑥𝑊𝑛 ∈ (0...(♯‘𝑥)))) ∧ (𝑎𝐼𝑏 ∈ 2o)) → 𝑏 ∈ 2o)
8452, 32, 83fovrnd 7453 . . . . . . . . . . . . . . . . . . 19 (((𝜑 ∧ (𝑥𝑊𝑛 ∈ (0...(♯‘𝑥)))) ∧ (𝑎𝐼𝑏 ∈ 2o)) → (𝑎𝑇𝑏) ∈ 𝐵)
8545, 46grpinvcl 18636 . . . . . . . . . . . . . . . . . . . 20 ((𝐻 ∈ Grp ∧ (𝑎𝑇𝑏) ∈ 𝐵) → (𝑁‘(𝑎𝑇𝑏)) ∈ 𝐵)
8656, 84, 85syl2anc 584 . . . . . . . . . . . . . . . . . . 19 (((𝜑 ∧ (𝑥𝑊𝑛 ∈ (0...(♯‘𝑥)))) ∧ (𝑎𝐼𝑏 ∈ 2o)) → (𝑁‘(𝑎𝑇𝑏)) ∈ 𝐵)
8745, 62gsumws2 18490 . . . . . . . . . . . . . . . . . . 19 ((𝐻 ∈ Mnd ∧ (𝑎𝑇𝑏) ∈ 𝐵 ∧ (𝑁‘(𝑎𝑇𝑏)) ∈ 𝐵) → (𝐻 Σg ⟨“(𝑎𝑇𝑏)(𝑁‘(𝑎𝑇𝑏))”⟩) = ((𝑎𝑇𝑏)(+g𝐻)(𝑁‘(𝑎𝑇𝑏))))
8857, 84, 86, 87syl3anc 1370 . . . . . . . . . . . . . . . . . 18 (((𝜑 ∧ (𝑥𝑊𝑛 ∈ (0...(♯‘𝑥)))) ∧ (𝑎𝐼𝑏 ∈ 2o)) → (𝐻 Σg ⟨“(𝑎𝑇𝑏)(𝑁‘(𝑎𝑇𝑏))”⟩) = ((𝑎𝑇𝑏)(+g𝐻)(𝑁‘(𝑎𝑇𝑏))))
89 eqid 2739 . . . . . . . . . . . . . . . . . . . 20 (0g𝐻) = (0g𝐻)
9045, 62, 89, 46grprinv 18638 . . . . . . . . . . . . . . . . . . 19 ((𝐻 ∈ Grp ∧ (𝑎𝑇𝑏) ∈ 𝐵) → ((𝑎𝑇𝑏)(+g𝐻)(𝑁‘(𝑎𝑇𝑏))) = (0g𝐻))
9156, 84, 90syl2anc 584 . . . . . . . . . . . . . . . . . 18 (((𝜑 ∧ (𝑥𝑊𝑛 ∈ (0...(♯‘𝑥)))) ∧ (𝑎𝐼𝑏 ∈ 2o)) → ((𝑎𝑇𝑏)(+g𝐻)(𝑁‘(𝑎𝑇𝑏))) = (0g𝐻))
9282, 88, 913eqtrd 2783 . . . . . . . . . . . . . . . . 17 (((𝜑 ∧ (𝑥𝑊𝑛 ∈ (0...(♯‘𝑥)))) ∧ (𝑎𝐼𝑏 ∈ 2o)) → (𝐻 Σg (𝑇 ∘ ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩)) = (0g𝐻))
9392oveq2d 7300 . . . . . . . . . . . . . . . 16 (((𝜑 ∧ (𝑥𝑊𝑛 ∈ (0...(♯‘𝑥)))) ∧ (𝑎𝐼𝑏 ∈ 2o)) → ((𝐻 Σg (𝑇 ∘ (𝑥 prefix 𝑛)))(+g𝐻)(𝐻 Σg (𝑇 ∘ ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩))) = ((𝐻 Σg (𝑇 ∘ (𝑥 prefix 𝑛)))(+g𝐻)(0g𝐻)))
9445gsumwcl 18486 . . . . . . . . . . . . . . . . . 18 ((𝐻 ∈ Mnd ∧ (𝑇 ∘ (𝑥 prefix 𝑛)) ∈ Word 𝐵) → (𝐻 Σg (𝑇 ∘ (𝑥 prefix 𝑛))) ∈ 𝐵)
9557, 59, 94syl2anc 584 . . . . . . . . . . . . . . . . 17 (((𝜑 ∧ (𝑥𝑊𝑛 ∈ (0...(♯‘𝑥)))) ∧ (𝑎𝐼𝑏 ∈ 2o)) → (𝐻 Σg (𝑇 ∘ (𝑥 prefix 𝑛))) ∈ 𝐵)
9645, 62, 89grprid 18619 . . . . . . . . . . . . . . . . 17 ((𝐻 ∈ Grp ∧ (𝐻 Σg (𝑇 ∘ (𝑥 prefix 𝑛))) ∈ 𝐵) → ((𝐻 Σg (𝑇 ∘ (𝑥 prefix 𝑛)))(+g𝐻)(0g𝐻)) = (𝐻 Σg (𝑇 ∘ (𝑥 prefix 𝑛))))
9756, 95, 96syl2anc 584 . . . . . . . . . . . . . . . 16 (((𝜑 ∧ (𝑥𝑊𝑛 ∈ (0...(♯‘𝑥)))) ∧ (𝑎𝐼𝑏 ∈ 2o)) → ((𝐻 Σg (𝑇 ∘ (𝑥 prefix 𝑛)))(+g𝐻)(0g𝐻)) = (𝐻 Σg (𝑇 ∘ (𝑥 prefix 𝑛))))
9893, 97eqtrd 2779 . . . . . . . . . . . . . . 15 (((𝜑 ∧ (𝑥𝑊𝑛 ∈ (0...(♯‘𝑥)))) ∧ (𝑎𝐼𝑏 ∈ 2o)) → ((𝐻 Σg (𝑇 ∘ (𝑥 prefix 𝑛)))(+g𝐻)(𝐻 Σg (𝑇 ∘ ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩))) = (𝐻 Σg (𝑇 ∘ (𝑥 prefix 𝑛))))
9955, 64, 983eqtrrd 2784 . . . . . . . . . . . . . 14 (((𝜑 ∧ (𝑥𝑊𝑛 ∈ (0...(♯‘𝑥)))) ∧ (𝑎𝐼𝑏 ∈ 2o)) → (𝐻 Σg (𝑇 ∘ (𝑥 prefix 𝑛))) = (𝐻 Σg (𝑇 ∘ ((𝑥 prefix 𝑛) ++ ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩))))
10099oveq1d 7299 . . . . . . . . . . . . 13 (((𝜑 ∧ (𝑥𝑊𝑛 ∈ (0...(♯‘𝑥)))) ∧ (𝑎𝐼𝑏 ∈ 2o)) → ((𝐻 Σg (𝑇 ∘ (𝑥 prefix 𝑛)))(+g𝐻)(𝐻 Σg (𝑇 ∘ (𝑥 substr ⟨𝑛, (♯‘𝑥)⟩)))) = ((𝐻 Σg (𝑇 ∘ ((𝑥 prefix 𝑛) ++ ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩)))(+g𝐻)(𝐻 Σg (𝑇 ∘ (𝑥 substr ⟨𝑛, (♯‘𝑥)⟩)))))
101 swrdcl 14367 . . . . . . . . . . . . . . . 16 (𝑥 ∈ Word (𝐼 × 2o) → (𝑥 substr ⟨𝑛, (♯‘𝑥)⟩) ∈ Word (𝐼 × 2o))
10229, 101syl 17 . . . . . . . . . . . . . . 15 (((𝜑 ∧ (𝑥𝑊𝑛 ∈ (0...(♯‘𝑥)))) ∧ (𝑎𝐼𝑏 ∈ 2o)) → (𝑥 substr ⟨𝑛, (♯‘𝑥)⟩) ∈ Word (𝐼 × 2o))
103 wrdco 14553 . . . . . . . . . . . . . . 15 (((𝑥 substr ⟨𝑛, (♯‘𝑥)⟩) ∈ Word (𝐼 × 2o) ∧ 𝑇:(𝐼 × 2o)⟶𝐵) → (𝑇 ∘ (𝑥 substr ⟨𝑛, (♯‘𝑥)⟩)) ∈ Word 𝐵)
104102, 52, 103syl2anc 584 . . . . . . . . . . . . . 14 (((𝜑 ∧ (𝑥𝑊𝑛 ∈ (0...(♯‘𝑥)))) ∧ (𝑎𝐼𝑏 ∈ 2o)) → (𝑇 ∘ (𝑥 substr ⟨𝑛, (♯‘𝑥)⟩)) ∈ Word 𝐵)
10545, 62gsumccat 18489 . . . . . . . . . . . . . 14 ((𝐻 ∈ Mnd ∧ (𝑇 ∘ (𝑥 prefix 𝑛)) ∈ Word 𝐵 ∧ (𝑇 ∘ (𝑥 substr ⟨𝑛, (♯‘𝑥)⟩)) ∈ Word 𝐵) → (𝐻 Σg ((𝑇 ∘ (𝑥 prefix 𝑛)) ++ (𝑇 ∘ (𝑥 substr ⟨𝑛, (♯‘𝑥)⟩)))) = ((𝐻 Σg (𝑇 ∘ (𝑥 prefix 𝑛)))(+g𝐻)(𝐻 Σg (𝑇 ∘ (𝑥 substr ⟨𝑛, (♯‘𝑥)⟩)))))
10657, 59, 104, 105syl3anc 1370 . . . . . . . . . . . . 13 (((𝜑 ∧ (𝑥𝑊𝑛 ∈ (0...(♯‘𝑥)))) ∧ (𝑎𝐼𝑏 ∈ 2o)) → (𝐻 Σg ((𝑇 ∘ (𝑥 prefix 𝑛)) ++ (𝑇 ∘ (𝑥 substr ⟨𝑛, (♯‘𝑥)⟩)))) = ((𝐻 Σg (𝑇 ∘ (𝑥 prefix 𝑛)))(+g𝐻)(𝐻 Σg (𝑇 ∘ (𝑥 substr ⟨𝑛, (♯‘𝑥)⟩)))))
107 ccatcl 14286 . . . . . . . . . . . . . . . 16 (((𝑥 prefix 𝑛) ∈ Word (𝐼 × 2o) ∧ ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩ ∈ Word (𝐼 × 2o)) → ((𝑥 prefix 𝑛) ++ ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩) ∈ Word (𝐼 × 2o))
10844, 36, 107syl2anc 584 . . . . . . . . . . . . . . 15 (((𝜑 ∧ (𝑥𝑊𝑛 ∈ (0...(♯‘𝑥)))) ∧ (𝑎𝐼𝑏 ∈ 2o)) → ((𝑥 prefix 𝑛) ++ ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩) ∈ Word (𝐼 × 2o))
109 wrdco 14553 . . . . . . . . . . . . . . 15 ((((𝑥 prefix 𝑛) ++ ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩) ∈ Word (𝐼 × 2o) ∧ 𝑇:(𝐼 × 2o)⟶𝐵) → (𝑇 ∘ ((𝑥 prefix 𝑛) ++ ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩)) ∈ Word 𝐵)
110108, 52, 109syl2anc 584 . . . . . . . . . . . . . 14 (((𝜑 ∧ (𝑥𝑊𝑛 ∈ (0...(♯‘𝑥)))) ∧ (𝑎𝐼𝑏 ∈ 2o)) → (𝑇 ∘ ((𝑥 prefix 𝑛) ++ ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩)) ∈ Word 𝐵)
11145, 62gsumccat 18489 . . . . . . . . . . . . . 14 ((𝐻 ∈ Mnd ∧ (𝑇 ∘ ((𝑥 prefix 𝑛) ++ ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩)) ∈ Word 𝐵 ∧ (𝑇 ∘ (𝑥 substr ⟨𝑛, (♯‘𝑥)⟩)) ∈ Word 𝐵) → (𝐻 Σg ((𝑇 ∘ ((𝑥 prefix 𝑛) ++ ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩)) ++ (𝑇 ∘ (𝑥 substr ⟨𝑛, (♯‘𝑥)⟩)))) = ((𝐻 Σg (𝑇 ∘ ((𝑥 prefix 𝑛) ++ ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩)))(+g𝐻)(𝐻 Σg (𝑇 ∘ (𝑥 substr ⟨𝑛, (♯‘𝑥)⟩)))))
11257, 110, 104, 111syl3anc 1370 . . . . . . . . . . . . 13 (((𝜑 ∧ (𝑥𝑊𝑛 ∈ (0...(♯‘𝑥)))) ∧ (𝑎𝐼𝑏 ∈ 2o)) → (𝐻 Σg ((𝑇 ∘ ((𝑥 prefix 𝑛) ++ ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩)) ++ (𝑇 ∘ (𝑥 substr ⟨𝑛, (♯‘𝑥)⟩)))) = ((𝐻 Σg (𝑇 ∘ ((𝑥 prefix 𝑛) ++ ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩)))(+g𝐻)(𝐻 Σg (𝑇 ∘ (𝑥 substr ⟨𝑛, (♯‘𝑥)⟩)))))
113100, 106, 1123eqtr4d 2789 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑥𝑊𝑛 ∈ (0...(♯‘𝑥)))) ∧ (𝑎𝐼𝑏 ∈ 2o)) → (𝐻 Σg ((𝑇 ∘ (𝑥 prefix 𝑛)) ++ (𝑇 ∘ (𝑥 substr ⟨𝑛, (♯‘𝑥)⟩)))) = (𝐻 Σg ((𝑇 ∘ ((𝑥 prefix 𝑛) ++ ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩)) ++ (𝑇 ∘ (𝑥 substr ⟨𝑛, (♯‘𝑥)⟩)))))
114 simplrr 775 . . . . . . . . . . . . . . . . 17 (((𝜑 ∧ (𝑥𝑊𝑛 ∈ (0...(♯‘𝑥)))) ∧ (𝑎𝐼𝑏 ∈ 2o)) → 𝑛 ∈ (0...(♯‘𝑥)))
115 lencl 14245 . . . . . . . . . . . . . . . . . . . 20 (𝑥 ∈ Word (𝐼 × 2o) → (♯‘𝑥) ∈ ℕ0)
11629, 115syl 17 . . . . . . . . . . . . . . . . . . 19 (((𝜑 ∧ (𝑥𝑊𝑛 ∈ (0...(♯‘𝑥)))) ∧ (𝑎𝐼𝑏 ∈ 2o)) → (♯‘𝑥) ∈ ℕ0)
117 nn0uz 12629 . . . . . . . . . . . . . . . . . . 19 0 = (ℤ‘0)
118116, 117eleqtrdi 2850 . . . . . . . . . . . . . . . . . 18 (((𝜑 ∧ (𝑥𝑊𝑛 ∈ (0...(♯‘𝑥)))) ∧ (𝑎𝐼𝑏 ∈ 2o)) → (♯‘𝑥) ∈ (ℤ‘0))
119 eluzfz2 13273 . . . . . . . . . . . . . . . . . 18 ((♯‘𝑥) ∈ (ℤ‘0) → (♯‘𝑥) ∈ (0...(♯‘𝑥)))
120118, 119syl 17 . . . . . . . . . . . . . . . . 17 (((𝜑 ∧ (𝑥𝑊𝑛 ∈ (0...(♯‘𝑥)))) ∧ (𝑎𝐼𝑏 ∈ 2o)) → (♯‘𝑥) ∈ (0...(♯‘𝑥)))
121 ccatpfx 14423 . . . . . . . . . . . . . . . . 17 ((𝑥 ∈ Word (𝐼 × 2o) ∧ 𝑛 ∈ (0...(♯‘𝑥)) ∧ (♯‘𝑥) ∈ (0...(♯‘𝑥))) → ((𝑥 prefix 𝑛) ++ (𝑥 substr ⟨𝑛, (♯‘𝑥)⟩)) = (𝑥 prefix (♯‘𝑥)))
12229, 114, 120, 121syl3anc 1370 . . . . . . . . . . . . . . . 16 (((𝜑 ∧ (𝑥𝑊𝑛 ∈ (0...(♯‘𝑥)))) ∧ (𝑎𝐼𝑏 ∈ 2o)) → ((𝑥 prefix 𝑛) ++ (𝑥 substr ⟨𝑛, (♯‘𝑥)⟩)) = (𝑥 prefix (♯‘𝑥)))
123 pfxid 14406 . . . . . . . . . . . . . . . . 17 (𝑥 ∈ Word (𝐼 × 2o) → (𝑥 prefix (♯‘𝑥)) = 𝑥)
12429, 123syl 17 . . . . . . . . . . . . . . . 16 (((𝜑 ∧ (𝑥𝑊𝑛 ∈ (0...(♯‘𝑥)))) ∧ (𝑎𝐼𝑏 ∈ 2o)) → (𝑥 prefix (♯‘𝑥)) = 𝑥)
125122, 124eqtrd 2779 . . . . . . . . . . . . . . 15 (((𝜑 ∧ (𝑥𝑊𝑛 ∈ (0...(♯‘𝑥)))) ∧ (𝑎𝐼𝑏 ∈ 2o)) → ((𝑥 prefix 𝑛) ++ (𝑥 substr ⟨𝑛, (♯‘𝑥)⟩)) = 𝑥)
126125coeq2d 5774 . . . . . . . . . . . . . 14 (((𝜑 ∧ (𝑥𝑊𝑛 ∈ (0...(♯‘𝑥)))) ∧ (𝑎𝐼𝑏 ∈ 2o)) → (𝑇 ∘ ((𝑥 prefix 𝑛) ++ (𝑥 substr ⟨𝑛, (♯‘𝑥)⟩))) = (𝑇𝑥))
127 ccatco 14557 . . . . . . . . . . . . . . 15 (((𝑥 prefix 𝑛) ∈ Word (𝐼 × 2o) ∧ (𝑥 substr ⟨𝑛, (♯‘𝑥)⟩) ∈ Word (𝐼 × 2o) ∧ 𝑇:(𝐼 × 2o)⟶𝐵) → (𝑇 ∘ ((𝑥 prefix 𝑛) ++ (𝑥 substr ⟨𝑛, (♯‘𝑥)⟩))) = ((𝑇 ∘ (𝑥 prefix 𝑛)) ++ (𝑇 ∘ (𝑥 substr ⟨𝑛, (♯‘𝑥)⟩))))
12844, 102, 52, 127syl3anc 1370 . . . . . . . . . . . . . 14 (((𝜑 ∧ (𝑥𝑊𝑛 ∈ (0...(♯‘𝑥)))) ∧ (𝑎𝐼𝑏 ∈ 2o)) → (𝑇 ∘ ((𝑥 prefix 𝑛) ++ (𝑥 substr ⟨𝑛, (♯‘𝑥)⟩))) = ((𝑇 ∘ (𝑥 prefix 𝑛)) ++ (𝑇 ∘ (𝑥 substr ⟨𝑛, (♯‘𝑥)⟩))))
129126, 128eqtr3d 2781 . . . . . . . . . . . . 13 (((𝜑 ∧ (𝑥𝑊𝑛 ∈ (0...(♯‘𝑥)))) ∧ (𝑎𝐼𝑏 ∈ 2o)) → (𝑇𝑥) = ((𝑇 ∘ (𝑥 prefix 𝑛)) ++ (𝑇 ∘ (𝑥 substr ⟨𝑛, (♯‘𝑥)⟩))))
130129oveq2d 7300 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑥𝑊𝑛 ∈ (0...(♯‘𝑥)))) ∧ (𝑎𝐼𝑏 ∈ 2o)) → (𝐻 Σg (𝑇𝑥)) = (𝐻 Σg ((𝑇 ∘ (𝑥 prefix 𝑛)) ++ (𝑇 ∘ (𝑥 substr ⟨𝑛, (♯‘𝑥)⟩)))))
131 splval 14473 . . . . . . . . . . . . . . . 16 ((𝑥𝑊 ∧ (𝑛 ∈ (0...(♯‘𝑥)) ∧ 𝑛 ∈ (0...(♯‘𝑥)) ∧ ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩ ∈ Word (𝐼 × 2o))) → (𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩⟩) = (((𝑥 prefix 𝑛) ++ ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩) ++ (𝑥 substr ⟨𝑛, (♯‘𝑥)⟩)))
13226, 114, 114, 36, 131syl13anc 1371 . . . . . . . . . . . . . . 15 (((𝜑 ∧ (𝑥𝑊𝑛 ∈ (0...(♯‘𝑥)))) ∧ (𝑎𝐼𝑏 ∈ 2o)) → (𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩⟩) = (((𝑥 prefix 𝑛) ++ ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩) ++ (𝑥 substr ⟨𝑛, (♯‘𝑥)⟩)))
133132coeq2d 5774 . . . . . . . . . . . . . 14 (((𝜑 ∧ (𝑥𝑊𝑛 ∈ (0...(♯‘𝑥)))) ∧ (𝑎𝐼𝑏 ∈ 2o)) → (𝑇 ∘ (𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩⟩)) = (𝑇 ∘ (((𝑥 prefix 𝑛) ++ ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩) ++ (𝑥 substr ⟨𝑛, (♯‘𝑥)⟩))))
134 ccatco 14557 . . . . . . . . . . . . . . 15 ((((𝑥 prefix 𝑛) ++ ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩) ∈ Word (𝐼 × 2o) ∧ (𝑥 substr ⟨𝑛, (♯‘𝑥)⟩) ∈ Word (𝐼 × 2o) ∧ 𝑇:(𝐼 × 2o)⟶𝐵) → (𝑇 ∘ (((𝑥 prefix 𝑛) ++ ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩) ++ (𝑥 substr ⟨𝑛, (♯‘𝑥)⟩))) = ((𝑇 ∘ ((𝑥 prefix 𝑛) ++ ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩)) ++ (𝑇 ∘ (𝑥 substr ⟨𝑛, (♯‘𝑥)⟩))))
135108, 102, 52, 134syl3anc 1370 . . . . . . . . . . . . . 14 (((𝜑 ∧ (𝑥𝑊𝑛 ∈ (0...(♯‘𝑥)))) ∧ (𝑎𝐼𝑏 ∈ 2o)) → (𝑇 ∘ (((𝑥 prefix 𝑛) ++ ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩) ++ (𝑥 substr ⟨𝑛, (♯‘𝑥)⟩))) = ((𝑇 ∘ ((𝑥 prefix 𝑛) ++ ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩)) ++ (𝑇 ∘ (𝑥 substr ⟨𝑛, (♯‘𝑥)⟩))))
136133, 135eqtrd 2779 . . . . . . . . . . . . 13 (((𝜑 ∧ (𝑥𝑊𝑛 ∈ (0...(♯‘𝑥)))) ∧ (𝑎𝐼𝑏 ∈ 2o)) → (𝑇 ∘ (𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩⟩)) = ((𝑇 ∘ ((𝑥 prefix 𝑛) ++ ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩)) ++ (𝑇 ∘ (𝑥 substr ⟨𝑛, (♯‘𝑥)⟩))))
137136oveq2d 7300 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑥𝑊𝑛 ∈ (0...(♯‘𝑥)))) ∧ (𝑎𝐼𝑏 ∈ 2o)) → (𝐻 Σg (𝑇 ∘ (𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩⟩))) = (𝐻 Σg ((𝑇 ∘ ((𝑥 prefix 𝑛) ++ ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩)) ++ (𝑇 ∘ (𝑥 substr ⟨𝑛, (♯‘𝑥)⟩)))))
138113, 130, 1373eqtr4d 2789 . . . . . . . . . . 11 (((𝜑 ∧ (𝑥𝑊𝑛 ∈ (0...(♯‘𝑥)))) ∧ (𝑎𝐼𝑏 ∈ 2o)) → (𝐻 Σg (𝑇𝑥)) = (𝐻 Σg (𝑇 ∘ (𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩⟩))))
139 vex 3437 . . . . . . . . . . . 12 𝑥 ∈ V
140 ovex 7317 . . . . . . . . . . . 12 (𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩⟩) ∈ V
141 eleq1 2827 . . . . . . . . . . . . . . 15 (𝑢 = 𝑥 → (𝑢𝑊𝑥𝑊))
142 eleq1 2827 . . . . . . . . . . . . . . 15 (𝑣 = (𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩⟩) → (𝑣𝑊 ↔ (𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩⟩) ∈ 𝑊))
143141, 142bi2anan9 636 . . . . . . . . . . . . . 14 ((𝑢 = 𝑥𝑣 = (𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩⟩)) → ((𝑢𝑊𝑣𝑊) ↔ (𝑥𝑊 ∧ (𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩⟩) ∈ 𝑊)))
14419, 143bitr3id 285 . . . . . . . . . . . . 13 ((𝑢 = 𝑥𝑣 = (𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩⟩)) → ({𝑢, 𝑣} ⊆ 𝑊 ↔ (𝑥𝑊 ∧ (𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩⟩) ∈ 𝑊)))
145 coeq2 5770 . . . . . . . . . . . . . . 15 (𝑢 = 𝑥 → (𝑇𝑢) = (𝑇𝑥))
146145oveq2d 7300 . . . . . . . . . . . . . 14 (𝑢 = 𝑥 → (𝐻 Σg (𝑇𝑢)) = (𝐻 Σg (𝑇𝑥)))
147 coeq2 5770 . . . . . . . . . . . . . . 15 (𝑣 = (𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩⟩) → (𝑇𝑣) = (𝑇 ∘ (𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩⟩)))
148147oveq2d 7300 . . . . . . . . . . . . . 14 (𝑣 = (𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩⟩) → (𝐻 Σg (𝑇𝑣)) = (𝐻 Σg (𝑇 ∘ (𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩⟩))))
149146, 148eqeqan12d 2753 . . . . . . . . . . . . 13 ((𝑢 = 𝑥𝑣 = (𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩⟩)) → ((𝐻 Σg (𝑇𝑢)) = (𝐻 Σg (𝑇𝑣)) ↔ (𝐻 Σg (𝑇𝑥)) = (𝐻 Σg (𝑇 ∘ (𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩⟩)))))
150144, 149anbi12d 631 . . . . . . . . . . . 12 ((𝑢 = 𝑥𝑣 = (𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩⟩)) → (({𝑢, 𝑣} ⊆ 𝑊 ∧ (𝐻 Σg (𝑇𝑢)) = (𝐻 Σg (𝑇𝑣))) ↔ ((𝑥𝑊 ∧ (𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩⟩) ∈ 𝑊) ∧ (𝐻 Σg (𝑇𝑥)) = (𝐻 Σg (𝑇 ∘ (𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩⟩))))))
151 eqid 2739 . . . . . . . . . . . 12 {⟨𝑢, 𝑣⟩ ∣ ({𝑢, 𝑣} ⊆ 𝑊 ∧ (𝐻 Σg (𝑇𝑢)) = (𝐻 Σg (𝑇𝑣)))} = {⟨𝑢, 𝑣⟩ ∣ ({𝑢, 𝑣} ⊆ 𝑊 ∧ (𝐻 Σg (𝑇𝑢)) = (𝐻 Σg (𝑇𝑣)))}
152139, 140, 150, 151braba 5451 . . . . . . . . . . 11 (𝑥{⟨𝑢, 𝑣⟩ ∣ ({𝑢, 𝑣} ⊆ 𝑊 ∧ (𝐻 Σg (𝑇𝑢)) = (𝐻 Σg (𝑇𝑣)))} (𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩⟩) ↔ ((𝑥𝑊 ∧ (𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩⟩) ∈ 𝑊) ∧ (𝐻 Σg (𝑇𝑥)) = (𝐻 Σg (𝑇 ∘ (𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩⟩)))))
15326, 42, 138, 152syl21anbrc 1343 . . . . . . . . . 10 (((𝜑 ∧ (𝑥𝑊𝑛 ∈ (0...(♯‘𝑥)))) ∧ (𝑎𝐼𝑏 ∈ 2o)) → 𝑥{⟨𝑢, 𝑣⟩ ∣ ({𝑢, 𝑣} ⊆ 𝑊 ∧ (𝐻 Σg (𝑇𝑢)) = (𝐻 Σg (𝑇𝑣)))} (𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩⟩))
154153ralrimivva 3124 . . . . . . . . 9 ((𝜑 ∧ (𝑥𝑊𝑛 ∈ (0...(♯‘𝑥)))) → ∀𝑎𝐼𝑏 ∈ 2o 𝑥{⟨𝑢, 𝑣⟩ ∣ ({𝑢, 𝑣} ⊆ 𝑊 ∧ (𝐻 Σg (𝑇𝑢)) = (𝐻 Σg (𝑇𝑣)))} (𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩⟩))
155154ralrimivva 3124 . . . . . . . 8 (𝜑 → ∀𝑥𝑊𝑛 ∈ (0...(♯‘𝑥))∀𝑎𝐼𝑏 ∈ 2o 𝑥{⟨𝑢, 𝑣⟩ ∣ ({𝑢, 𝑣} ⊆ 𝑊 ∧ (𝐻 Σg (𝑇𝑢)) = (𝐻 Σg (𝑇𝑣)))} (𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩⟩))
1561fvexi 6797 . . . . . . . . . 10 𝑊 ∈ V
157 erex 8531 . . . . . . . . . 10 ({⟨𝑢, 𝑣⟩ ∣ ({𝑢, 𝑣} ⊆ 𝑊 ∧ (𝐻 Σg (𝑇𝑢)) = (𝐻 Σg (𝑇𝑣)))} Er 𝑊 → (𝑊 ∈ V → {⟨𝑢, 𝑣⟩ ∣ ({𝑢, 𝑣} ⊆ 𝑊 ∧ (𝐻 Σg (𝑇𝑢)) = (𝐻 Σg (𝑇𝑣)))} ∈ V))
15825, 156, 157mpisyl 21 . . . . . . . . 9 (𝜑 → {⟨𝑢, 𝑣⟩ ∣ ({𝑢, 𝑣} ⊆ 𝑊 ∧ (𝐻 Σg (𝑇𝑢)) = (𝐻 Σg (𝑇𝑣)))} ∈ V)
159 ereq1 8514 . . . . . . . . . . 11 (𝑟 = {⟨𝑢, 𝑣⟩ ∣ ({𝑢, 𝑣} ⊆ 𝑊 ∧ (𝐻 Σg (𝑇𝑢)) = (𝐻 Σg (𝑇𝑣)))} → (𝑟 Er 𝑊 ↔ {⟨𝑢, 𝑣⟩ ∣ ({𝑢, 𝑣} ⊆ 𝑊 ∧ (𝐻 Σg (𝑇𝑢)) = (𝐻 Σg (𝑇𝑣)))} Er 𝑊))
160 breq 5077 . . . . . . . . . . . . 13 (𝑟 = {⟨𝑢, 𝑣⟩ ∣ ({𝑢, 𝑣} ⊆ 𝑊 ∧ (𝐻 Σg (𝑇𝑢)) = (𝐻 Σg (𝑇𝑣)))} → (𝑥𝑟(𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩⟩) ↔ 𝑥{⟨𝑢, 𝑣⟩ ∣ ({𝑢, 𝑣} ⊆ 𝑊 ∧ (𝐻 Σg (𝑇𝑢)) = (𝐻 Σg (𝑇𝑣)))} (𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩⟩)))
1611602ralbidv 3130 . . . . . . . . . . . 12 (𝑟 = {⟨𝑢, 𝑣⟩ ∣ ({𝑢, 𝑣} ⊆ 𝑊 ∧ (𝐻 Σg (𝑇𝑢)) = (𝐻 Σg (𝑇𝑣)))} → (∀𝑎𝐼𝑏 ∈ 2o 𝑥𝑟(𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩⟩) ↔ ∀𝑎𝐼𝑏 ∈ 2o 𝑥{⟨𝑢, 𝑣⟩ ∣ ({𝑢, 𝑣} ⊆ 𝑊 ∧ (𝐻 Σg (𝑇𝑢)) = (𝐻 Σg (𝑇𝑣)))} (𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩⟩)))
1621612ralbidv 3130 . . . . . . . . . . 11 (𝑟 = {⟨𝑢, 𝑣⟩ ∣ ({𝑢, 𝑣} ⊆ 𝑊 ∧ (𝐻 Σg (𝑇𝑢)) = (𝐻 Σg (𝑇𝑣)))} → (∀𝑥𝑊𝑛 ∈ (0...(♯‘𝑥))∀𝑎𝐼𝑏 ∈ 2o 𝑥𝑟(𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩⟩) ↔ ∀𝑥𝑊𝑛 ∈ (0...(♯‘𝑥))∀𝑎𝐼𝑏 ∈ 2o 𝑥{⟨𝑢, 𝑣⟩ ∣ ({𝑢, 𝑣} ⊆ 𝑊 ∧ (𝐻 Σg (𝑇𝑢)) = (𝐻 Σg (𝑇𝑣)))} (𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩⟩)))
163159, 162anbi12d 631 . . . . . . . . . 10 (𝑟 = {⟨𝑢, 𝑣⟩ ∣ ({𝑢, 𝑣} ⊆ 𝑊 ∧ (𝐻 Σg (𝑇𝑢)) = (𝐻 Σg (𝑇𝑣)))} → ((𝑟 Er 𝑊 ∧ ∀𝑥𝑊𝑛 ∈ (0...(♯‘𝑥))∀𝑎𝐼𝑏 ∈ 2o 𝑥𝑟(𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩⟩)) ↔ ({⟨𝑢, 𝑣⟩ ∣ ({𝑢, 𝑣} ⊆ 𝑊 ∧ (𝐻 Σg (𝑇𝑢)) = (𝐻 Σg (𝑇𝑣)))} Er 𝑊 ∧ ∀𝑥𝑊𝑛 ∈ (0...(♯‘𝑥))∀𝑎𝐼𝑏 ∈ 2o 𝑥{⟨𝑢, 𝑣⟩ ∣ ({𝑢, 𝑣} ⊆ 𝑊 ∧ (𝐻 Σg (𝑇𝑢)) = (𝐻 Σg (𝑇𝑣)))} (𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩⟩))))
164163elabg 3608 . . . . . . . . 9 ({⟨𝑢, 𝑣⟩ ∣ ({𝑢, 𝑣} ⊆ 𝑊 ∧ (𝐻 Σg (𝑇𝑢)) = (𝐻 Σg (𝑇𝑣)))} ∈ V → ({⟨𝑢, 𝑣⟩ ∣ ({𝑢, 𝑣} ⊆ 𝑊 ∧ (𝐻 Σg (𝑇𝑢)) = (𝐻 Σg (𝑇𝑣)))} ∈ {𝑟 ∣ (𝑟 Er 𝑊 ∧ ∀𝑥𝑊𝑛 ∈ (0...(♯‘𝑥))∀𝑎𝐼𝑏 ∈ 2o 𝑥𝑟(𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩⟩))} ↔ ({⟨𝑢, 𝑣⟩ ∣ ({𝑢, 𝑣} ⊆ 𝑊 ∧ (𝐻 Σg (𝑇𝑢)) = (𝐻 Σg (𝑇𝑣)))} Er 𝑊 ∧ ∀𝑥𝑊𝑛 ∈ (0...(♯‘𝑥))∀𝑎𝐼𝑏 ∈ 2o 𝑥{⟨𝑢, 𝑣⟩ ∣ ({𝑢, 𝑣} ⊆ 𝑊 ∧ (𝐻 Σg (𝑇𝑢)) = (𝐻 Σg (𝑇𝑣)))} (𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩⟩))))
165158, 164syl 17 . . . . . . . 8 (𝜑 → ({⟨𝑢, 𝑣⟩ ∣ ({𝑢, 𝑣} ⊆ 𝑊 ∧ (𝐻 Σg (𝑇𝑢)) = (𝐻 Σg (𝑇𝑣)))} ∈ {𝑟 ∣ (𝑟 Er 𝑊 ∧ ∀𝑥𝑊𝑛 ∈ (0...(♯‘𝑥))∀𝑎𝐼𝑏 ∈ 2o 𝑥𝑟(𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩⟩))} ↔ ({⟨𝑢, 𝑣⟩ ∣ ({𝑢, 𝑣} ⊆ 𝑊 ∧ (𝐻 Σg (𝑇𝑢)) = (𝐻 Σg (𝑇𝑣)))} Er 𝑊 ∧ ∀𝑥𝑊𝑛 ∈ (0...(♯‘𝑥))∀𝑎𝐼𝑏 ∈ 2o 𝑥{⟨𝑢, 𝑣⟩ ∣ ({𝑢, 𝑣} ⊆ 𝑊 ∧ (𝐻 Σg (𝑇𝑢)) = (𝐻 Σg (𝑇𝑣)))} (𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩⟩))))
16625, 155, 165mpbir2and 710 . . . . . . 7 (𝜑 → {⟨𝑢, 𝑣⟩ ∣ ({𝑢, 𝑣} ⊆ 𝑊 ∧ (𝐻 Σg (𝑇𝑢)) = (𝐻 Σg (𝑇𝑣)))} ∈ {𝑟 ∣ (𝑟 Er 𝑊 ∧ ∀𝑥𝑊𝑛 ∈ (0...(♯‘𝑥))∀𝑎𝐼𝑏 ∈ 2o 𝑥𝑟(𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩⟩))})
167 intss1 4895 . . . . . . 7 ({⟨𝑢, 𝑣⟩ ∣ ({𝑢, 𝑣} ⊆ 𝑊 ∧ (𝐻 Σg (𝑇𝑢)) = (𝐻 Σg (𝑇𝑣)))} ∈ {𝑟 ∣ (𝑟 Er 𝑊 ∧ ∀𝑥𝑊𝑛 ∈ (0...(♯‘𝑥))∀𝑎𝐼𝑏 ∈ 2o 𝑥𝑟(𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩⟩))} → {𝑟 ∣ (𝑟 Er 𝑊 ∧ ∀𝑥𝑊𝑛 ∈ (0...(♯‘𝑥))∀𝑎𝐼𝑏 ∈ 2o 𝑥𝑟(𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩⟩))} ⊆ {⟨𝑢, 𝑣⟩ ∣ ({𝑢, 𝑣} ⊆ 𝑊 ∧ (𝐻 Σg (𝑇𝑢)) = (𝐻 Σg (𝑇𝑣)))})
168166, 167syl 17 . . . . . 6 (𝜑 {𝑟 ∣ (𝑟 Er 𝑊 ∧ ∀𝑥𝑊𝑛 ∈ (0...(♯‘𝑥))∀𝑎𝐼𝑏 ∈ 2o 𝑥𝑟(𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑎, 𝑏⟩⟨𝑎, (1o𝑏)⟩”⟩⟩))} ⊆ {⟨𝑢, 𝑣⟩ ∣ ({𝑢, 𝑣} ⊆ 𝑊 ∧ (𝐻 Σg (𝑇𝑢)) = (𝐻 Σg (𝑇𝑣)))})
1693, 168eqsstrid 3970 . . . . 5 (𝜑 ⊆ {⟨𝑢, 𝑣⟩ ∣ ({𝑢, 𝑣} ⊆ 𝑊 ∧ (𝐻 Σg (𝑇𝑢)) = (𝐻 Σg (𝑇𝑣)))})
170169ssbrd 5118 . . . 4 (𝜑 → (𝐴 𝐶𝐴{⟨𝑢, 𝑣⟩ ∣ ({𝑢, 𝑣} ⊆ 𝑊 ∧ (𝐻 Σg (𝑇𝑢)) = (𝐻 Σg (𝑇𝑣)))}𝐶))
171170imp 407 . . 3 ((𝜑𝐴 𝐶) → 𝐴{⟨𝑢, 𝑣⟩ ∣ ({𝑢, 𝑣} ⊆ 𝑊 ∧ (𝐻 Σg (𝑇𝑢)) = (𝐻 Σg (𝑇𝑣)))}𝐶)
1721, 2efger 19333 . . . . . 6 Er 𝑊
173 errel 8516 . . . . . 6 ( Er 𝑊 → Rel )
174172, 173mp1i 13 . . . . 5 (𝜑 → Rel )
175 brrelex12 5640 . . . . 5 ((Rel 𝐴 𝐶) → (𝐴 ∈ V ∧ 𝐶 ∈ V))
176174, 175sylan 580 . . . 4 ((𝜑𝐴 𝐶) → (𝐴 ∈ V ∧ 𝐶 ∈ V))
177 preq12 4672 . . . . . . 7 ((𝑢 = 𝐴𝑣 = 𝐶) → {𝑢, 𝑣} = {𝐴, 𝐶})
178177sseq1d 3953 . . . . . 6 ((𝑢 = 𝐴𝑣 = 𝐶) → ({𝑢, 𝑣} ⊆ 𝑊 ↔ {𝐴, 𝐶} ⊆ 𝑊))
179 coeq2 5770 . . . . . . . 8 (𝑢 = 𝐴 → (𝑇𝑢) = (𝑇𝐴))
180179oveq2d 7300 . . . . . . 7 (𝑢 = 𝐴 → (𝐻 Σg (𝑇𝑢)) = (𝐻 Σg (𝑇𝐴)))
181 coeq2 5770 . . . . . . . 8 (𝑣 = 𝐶 → (𝑇𝑣) = (𝑇𝐶))
182181oveq2d 7300 . . . . . . 7 (𝑣 = 𝐶 → (𝐻 Σg (𝑇𝑣)) = (𝐻 Σg (𝑇𝐶)))
183180, 182eqeqan12d 2753 . . . . . 6 ((𝑢 = 𝐴𝑣 = 𝐶) → ((𝐻 Σg (𝑇𝑢)) = (𝐻 Σg (𝑇𝑣)) ↔ (𝐻 Σg (𝑇𝐴)) = (𝐻 Σg (𝑇𝐶))))
184178, 183anbi12d 631 . . . . 5 ((𝑢 = 𝐴𝑣 = 𝐶) → (({𝑢, 𝑣} ⊆ 𝑊 ∧ (𝐻 Σg (𝑇𝑢)) = (𝐻 Σg (𝑇𝑣))) ↔ ({𝐴, 𝐶} ⊆ 𝑊 ∧ (𝐻 Σg (𝑇𝐴)) = (𝐻 Σg (𝑇𝐶)))))
185184, 151brabga 5448 . . . 4 ((𝐴 ∈ V ∧ 𝐶 ∈ V) → (𝐴{⟨𝑢, 𝑣⟩ ∣ ({𝑢, 𝑣} ⊆ 𝑊 ∧ (𝐻 Σg (𝑇𝑢)) = (𝐻 Σg (𝑇𝑣)))}𝐶 ↔ ({𝐴, 𝐶} ⊆ 𝑊 ∧ (𝐻 Σg (𝑇𝐴)) = (𝐻 Σg (𝑇𝐶)))))
186176, 185syl 17 . . 3 ((𝜑𝐴 𝐶) → (𝐴{⟨𝑢, 𝑣⟩ ∣ ({𝑢, 𝑣} ⊆ 𝑊 ∧ (𝐻 Σg (𝑇𝑢)) = (𝐻 Σg (𝑇𝑣)))}𝐶 ↔ ({𝐴, 𝐶} ⊆ 𝑊 ∧ (𝐻 Σg (𝑇𝐴)) = (𝐻 Σg (𝑇𝐶)))))
187171, 186mpbid 231 . 2 ((𝜑𝐴 𝐶) → ({𝐴, 𝐶} ⊆ 𝑊 ∧ (𝐻 Σg (𝑇𝐴)) = (𝐻 Σg (𝑇𝐶))))
188187simprd 496 1 ((𝜑𝐴 𝐶) → (𝐻 Σg (𝑇𝐴)) = (𝐻 Σg (𝑇𝐶)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396   = wceq 1539  wcel 2107  {cab 2716  wral 3065  Vcvv 3433  cdif 3885  cin 3887  wss 3888  c0 4257  ifcif 4460  {cpr 4564  cop 4568  cotp 4570   cint 4880   class class class wbr 5075  {copab 5137   I cid 5489   × cxp 5588  ccom 5594  Rel wrel 5595  wf 6433  cfv 6437  (class class class)co 7284  cmpo 7286  1oc1o 8299  2oc2o 8300   Er wer 8504  0cc0 10880  0cn0 12242  cuz 12591  ...cfz 13248  chash 14053  Word cword 14226   ++ cconcat 14282   substr csubstr 14362   prefix cpfx 14392   splice csplice 14471  ⟨“cs2 14563  Basecbs 16921  +gcplusg 16971  0gc0g 17159   Σg cgsu 17160  Mndcmnd 18394  Grpcgrp 18586  invgcminusg 18587   ~FG cefg 19321
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 1914  ax-6 1972  ax-7 2012  ax-8 2109  ax-9 2117  ax-10 2138  ax-11 2155  ax-12 2172  ax-ext 2710  ax-rep 5210  ax-sep 5224  ax-nul 5231  ax-pow 5289  ax-pr 5353  ax-un 7597  ax-cnex 10936  ax-resscn 10937  ax-1cn 10938  ax-icn 10939  ax-addcl 10940  ax-addrcl 10941  ax-mulcl 10942  ax-mulrcl 10943  ax-mulcom 10944  ax-addass 10945  ax-mulass 10946  ax-distr 10947  ax-i2m1 10948  ax-1ne0 10949  ax-1rid 10950  ax-rnegex 10951  ax-rrecex 10952  ax-cnre 10953  ax-pre-lttri 10954  ax-pre-lttrn 10955  ax-pre-ltadd 10956  ax-pre-mulgt0 10957
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3or 1087  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2069  df-mo 2541  df-eu 2570  df-clab 2717  df-cleq 2731  df-clel 2817  df-nfc 2890  df-ne 2945  df-nel 3051  df-ral 3070  df-rex 3071  df-rmo 3072  df-reu 3073  df-rab 3074  df-v 3435  df-sbc 3718  df-csb 3834  df-dif 3891  df-un 3893  df-in 3895  df-ss 3905  df-pss 3907  df-nul 4258  df-if 4461  df-pw 4536  df-sn 4563  df-pr 4565  df-op 4569  df-ot 4571  df-uni 4841  df-int 4881  df-iun 4927  df-iin 4928  df-br 5076  df-opab 5138  df-mpt 5159  df-tr 5193  df-id 5490  df-eprel 5496  df-po 5504  df-so 5505  df-fr 5545  df-we 5547  df-xp 5596  df-rel 5597  df-cnv 5598  df-co 5599  df-dm 5600  df-rn 5601  df-res 5602  df-ima 5603  df-pred 6206  df-ord 6273  df-on 6274  df-lim 6275  df-suc 6276  df-iota 6395  df-fun 6439  df-fn 6440  df-f 6441  df-f1 6442  df-fo 6443  df-f1o 6444  df-fv 6445  df-riota 7241  df-ov 7287  df-oprab 7288  df-mpo 7289  df-om 7722  df-1st 7840  df-2nd 7841  df-frecs 8106  df-wrecs 8137  df-recs 8211  df-rdg 8250  df-1o 8306  df-2o 8307  df-er 8507  df-map 8626  df-en 8743  df-dom 8744  df-sdom 8745  df-fin 8746  df-card 9706  df-pnf 11020  df-mnf 11021  df-xr 11022  df-ltxr 11023  df-le 11024  df-sub 11216  df-neg 11217  df-nn 11983  df-2 12045  df-n0 12243  df-z 12329  df-uz 12592  df-fz 13249  df-fzo 13392  df-seq 13731  df-hash 14054  df-word 14227  df-concat 14283  df-s1 14310  df-substr 14363  df-pfx 14393  df-splice 14472  df-s2 14570  df-sets 16874  df-slot 16892  df-ndx 16904  df-base 16922  df-ress 16951  df-plusg 16984  df-0g 17161  df-gsum 17162  df-mgm 18335  df-sgrp 18384  df-mnd 18395  df-submnd 18440  df-grp 18589  df-minusg 18590  df-efg 19324
This theorem is referenced by:  frgpupf  19388
  Copyright terms: Public domain W3C validator