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

Theorem efginvrel2 18773
Description: The inverse of the reverse of a word composed with the word relates to the identity. (This provides an explicit expression for the representation of the group inverse, given a representative of the free group equivalence class.) (Contributed by Mario Carneiro, 1-Oct-2015.)
Hypotheses
Ref Expression
efgval.w 𝑊 = ( I ‘Word (𝐼 × 2o))
efgval.r = ( ~FG𝐼)
efgval2.m 𝑀 = (𝑦𝐼, 𝑧 ∈ 2o ↦ ⟨𝑦, (1o𝑧)⟩)
efgval2.t 𝑇 = (𝑣𝑊 ↦ (𝑛 ∈ (0...(♯‘𝑣)), 𝑤 ∈ (𝐼 × 2o) ↦ (𝑣 splice ⟨𝑛, 𝑛, ⟨“𝑤(𝑀𝑤)”⟩⟩)))
Assertion
Ref Expression
efginvrel2 (𝐴𝑊 → (𝐴 ++ (𝑀 ∘ (reverse‘𝐴))) ∅)
Distinct variable groups:   𝑦,𝑧   𝑣,𝑛,𝑤,𝑦,𝑧   𝑛,𝑀,𝑣,𝑤   𝑛,𝑊,𝑣,𝑤,𝑦,𝑧   𝑦, ,𝑧   𝑛,𝐼,𝑣,𝑤,𝑦,𝑧
Allowed substitution hints:   𝐴(𝑦,𝑧,𝑤,𝑣,𝑛)   (𝑤,𝑣,𝑛)   𝑇(𝑦,𝑧,𝑤,𝑣,𝑛)   𝑀(𝑦,𝑧)

Proof of Theorem efginvrel2
Dummy variables 𝑎 𝑏 𝑐 𝑢 𝑚 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 efgval.w . . . 4 𝑊 = ( I ‘Word (𝐼 × 2o))
2 fviss 6738 . . . 4 ( I ‘Word (𝐼 × 2o)) ⊆ Word (𝐼 × 2o)
31, 2eqsstri 4005 . . 3 𝑊 ⊆ Word (𝐼 × 2o)
43sseli 3967 . 2 (𝐴𝑊𝐴 ∈ Word (𝐼 × 2o))
5 id 22 . . . . . 6 (𝑐 = ∅ → 𝑐 = ∅)
6 fveq2 6667 . . . . . . . . 9 (𝑐 = ∅ → (reverse‘𝑐) = (reverse‘∅))
7 rev0 14116 . . . . . . . . 9 (reverse‘∅) = ∅
86, 7syl6eq 2877 . . . . . . . 8 (𝑐 = ∅ → (reverse‘𝑐) = ∅)
98coeq2d 5732 . . . . . . 7 (𝑐 = ∅ → (𝑀 ∘ (reverse‘𝑐)) = (𝑀 ∘ ∅))
10 co02 6111 . . . . . . 7 (𝑀 ∘ ∅) = ∅
119, 10syl6eq 2877 . . . . . 6 (𝑐 = ∅ → (𝑀 ∘ (reverse‘𝑐)) = ∅)
125, 11oveq12d 7166 . . . . 5 (𝑐 = ∅ → (𝑐 ++ (𝑀 ∘ (reverse‘𝑐))) = (∅ ++ ∅))
1312breq1d 5073 . . . 4 (𝑐 = ∅ → ((𝑐 ++ (𝑀 ∘ (reverse‘𝑐))) ∅ ↔ (∅ ++ ∅) ∅))
1413imbi2d 342 . . 3 (𝑐 = ∅ → ((𝐴𝑊 → (𝑐 ++ (𝑀 ∘ (reverse‘𝑐))) ∅) ↔ (𝐴𝑊 → (∅ ++ ∅) ∅)))
15 id 22 . . . . . 6 (𝑐 = 𝑎𝑐 = 𝑎)
16 fveq2 6667 . . . . . . 7 (𝑐 = 𝑎 → (reverse‘𝑐) = (reverse‘𝑎))
1716coeq2d 5732 . . . . . 6 (𝑐 = 𝑎 → (𝑀 ∘ (reverse‘𝑐)) = (𝑀 ∘ (reverse‘𝑎)))
1815, 17oveq12d 7166 . . . . 5 (𝑐 = 𝑎 → (𝑐 ++ (𝑀 ∘ (reverse‘𝑐))) = (𝑎 ++ (𝑀 ∘ (reverse‘𝑎))))
1918breq1d 5073 . . . 4 (𝑐 = 𝑎 → ((𝑐 ++ (𝑀 ∘ (reverse‘𝑐))) ∅ ↔ (𝑎 ++ (𝑀 ∘ (reverse‘𝑎))) ∅))
2019imbi2d 342 . . 3 (𝑐 = 𝑎 → ((𝐴𝑊 → (𝑐 ++ (𝑀 ∘ (reverse‘𝑐))) ∅) ↔ (𝐴𝑊 → (𝑎 ++ (𝑀 ∘ (reverse‘𝑎))) ∅)))
21 id 22 . . . . . 6 (𝑐 = (𝑎 ++ ⟨“𝑏”⟩) → 𝑐 = (𝑎 ++ ⟨“𝑏”⟩))
22 fveq2 6667 . . . . . . 7 (𝑐 = (𝑎 ++ ⟨“𝑏”⟩) → (reverse‘𝑐) = (reverse‘(𝑎 ++ ⟨“𝑏”⟩)))
2322coeq2d 5732 . . . . . 6 (𝑐 = (𝑎 ++ ⟨“𝑏”⟩) → (𝑀 ∘ (reverse‘𝑐)) = (𝑀 ∘ (reverse‘(𝑎 ++ ⟨“𝑏”⟩))))
2421, 23oveq12d 7166 . . . . 5 (𝑐 = (𝑎 ++ ⟨“𝑏”⟩) → (𝑐 ++ (𝑀 ∘ (reverse‘𝑐))) = ((𝑎 ++ ⟨“𝑏”⟩) ++ (𝑀 ∘ (reverse‘(𝑎 ++ ⟨“𝑏”⟩)))))
2524breq1d 5073 . . . 4 (𝑐 = (𝑎 ++ ⟨“𝑏”⟩) → ((𝑐 ++ (𝑀 ∘ (reverse‘𝑐))) ∅ ↔ ((𝑎 ++ ⟨“𝑏”⟩) ++ (𝑀 ∘ (reverse‘(𝑎 ++ ⟨“𝑏”⟩)))) ∅))
2625imbi2d 342 . . 3 (𝑐 = (𝑎 ++ ⟨“𝑏”⟩) → ((𝐴𝑊 → (𝑐 ++ (𝑀 ∘ (reverse‘𝑐))) ∅) ↔ (𝐴𝑊 → ((𝑎 ++ ⟨“𝑏”⟩) ++ (𝑀 ∘ (reverse‘(𝑎 ++ ⟨“𝑏”⟩)))) ∅)))
27 id 22 . . . . . 6 (𝑐 = 𝐴𝑐 = 𝐴)
28 fveq2 6667 . . . . . . 7 (𝑐 = 𝐴 → (reverse‘𝑐) = (reverse‘𝐴))
2928coeq2d 5732 . . . . . 6 (𝑐 = 𝐴 → (𝑀 ∘ (reverse‘𝑐)) = (𝑀 ∘ (reverse‘𝐴)))
3027, 29oveq12d 7166 . . . . 5 (𝑐 = 𝐴 → (𝑐 ++ (𝑀 ∘ (reverse‘𝑐))) = (𝐴 ++ (𝑀 ∘ (reverse‘𝐴))))
3130breq1d 5073 . . . 4 (𝑐 = 𝐴 → ((𝑐 ++ (𝑀 ∘ (reverse‘𝑐))) ∅ ↔ (𝐴 ++ (𝑀 ∘ (reverse‘𝐴))) ∅))
3231imbi2d 342 . . 3 (𝑐 = 𝐴 → ((𝐴𝑊 → (𝑐 ++ (𝑀 ∘ (reverse‘𝑐))) ∅) ↔ (𝐴𝑊 → (𝐴 ++ (𝑀 ∘ (reverse‘𝐴))) ∅)))
33 ccatidid 13934 . . . 4 (∅ ++ ∅) = ∅
34 efgval.r . . . . . . 7 = ( ~FG𝐼)
351, 34efger 18764 . . . . . 6 Er 𝑊
3635a1i 11 . . . . 5 (𝐴𝑊 Er 𝑊)
37 wrd0 13879 . . . . . 6 ∅ ∈ Word (𝐼 × 2o)
381efgrcl 18761 . . . . . . 7 (𝐴𝑊 → (𝐼 ∈ V ∧ 𝑊 = Word (𝐼 × 2o)))
3938simprd 496 . . . . . 6 (𝐴𝑊𝑊 = Word (𝐼 × 2o))
4037, 39eleqtrrid 2925 . . . . 5 (𝐴𝑊 → ∅ ∈ 𝑊)
4136, 40erref 8299 . . . 4 (𝐴𝑊 → ∅ ∅)
4233, 41eqbrtrid 5098 . . 3 (𝐴𝑊 → (∅ ++ ∅) ∅)
4335a1i 11 . . . . . . 7 ((𝐴𝑊 ∧ (𝑎 ∈ Word (𝐼 × 2o) ∧ 𝑏 ∈ (𝐼 × 2o))) → Er 𝑊)
44 simprl 767 . . . . . . . . . 10 ((𝐴𝑊 ∧ (𝑎 ∈ Word (𝐼 × 2o) ∧ 𝑏 ∈ (𝐼 × 2o))) → 𝑎 ∈ Word (𝐼 × 2o))
45 revcl 14113 . . . . . . . . . . . 12 (𝑎 ∈ Word (𝐼 × 2o) → (reverse‘𝑎) ∈ Word (𝐼 × 2o))
4645ad2antrl 724 . . . . . . . . . . 11 ((𝐴𝑊 ∧ (𝑎 ∈ Word (𝐼 × 2o) ∧ 𝑏 ∈ (𝐼 × 2o))) → (reverse‘𝑎) ∈ Word (𝐼 × 2o))
47 efgval2.m . . . . . . . . . . . 12 𝑀 = (𝑦𝐼, 𝑧 ∈ 2o ↦ ⟨𝑦, (1o𝑧)⟩)
4847efgmf 18759 . . . . . . . . . . 11 𝑀:(𝐼 × 2o)⟶(𝐼 × 2o)
49 wrdco 14183 . . . . . . . . . . 11 (((reverse‘𝑎) ∈ Word (𝐼 × 2o) ∧ 𝑀:(𝐼 × 2o)⟶(𝐼 × 2o)) → (𝑀 ∘ (reverse‘𝑎)) ∈ Word (𝐼 × 2o))
5046, 48, 49sylancl 586 . . . . . . . . . 10 ((𝐴𝑊 ∧ (𝑎 ∈ Word (𝐼 × 2o) ∧ 𝑏 ∈ (𝐼 × 2o))) → (𝑀 ∘ (reverse‘𝑎)) ∈ Word (𝐼 × 2o))
51 ccatcl 13916 . . . . . . . . . 10 ((𝑎 ∈ Word (𝐼 × 2o) ∧ (𝑀 ∘ (reverse‘𝑎)) ∈ Word (𝐼 × 2o)) → (𝑎 ++ (𝑀 ∘ (reverse‘𝑎))) ∈ Word (𝐼 × 2o))
5244, 50, 51syl2anc 584 . . . . . . . . 9 ((𝐴𝑊 ∧ (𝑎 ∈ Word (𝐼 × 2o) ∧ 𝑏 ∈ (𝐼 × 2o))) → (𝑎 ++ (𝑀 ∘ (reverse‘𝑎))) ∈ Word (𝐼 × 2o))
5339adantr 481 . . . . . . . . 9 ((𝐴𝑊 ∧ (𝑎 ∈ Word (𝐼 × 2o) ∧ 𝑏 ∈ (𝐼 × 2o))) → 𝑊 = Word (𝐼 × 2o))
5452, 53eleqtrrd 2921 . . . . . . . 8 ((𝐴𝑊 ∧ (𝑎 ∈ Word (𝐼 × 2o) ∧ 𝑏 ∈ (𝐼 × 2o))) → (𝑎 ++ (𝑀 ∘ (reverse‘𝑎))) ∈ 𝑊)
55 lencl 13873 . . . . . . . . . . . . . 14 (𝑎 ∈ Word (𝐼 × 2o) → (♯‘𝑎) ∈ ℕ0)
5655ad2antrl 724 . . . . . . . . . . . . 13 ((𝐴𝑊 ∧ (𝑎 ∈ Word (𝐼 × 2o) ∧ 𝑏 ∈ (𝐼 × 2o))) → (♯‘𝑎) ∈ ℕ0)
57 nn0uz 12269 . . . . . . . . . . . . 13 0 = (ℤ‘0)
5856, 57syl6eleq 2928 . . . . . . . . . . . 12 ((𝐴𝑊 ∧ (𝑎 ∈ Word (𝐼 × 2o) ∧ 𝑏 ∈ (𝐼 × 2o))) → (♯‘𝑎) ∈ (ℤ‘0))
59 ccatlen 13917 . . . . . . . . . . . . . 14 ((𝑎 ∈ Word (𝐼 × 2o) ∧ (𝑀 ∘ (reverse‘𝑎)) ∈ Word (𝐼 × 2o)) → (♯‘(𝑎 ++ (𝑀 ∘ (reverse‘𝑎)))) = ((♯‘𝑎) + (♯‘(𝑀 ∘ (reverse‘𝑎)))))
6044, 50, 59syl2anc 584 . . . . . . . . . . . . 13 ((𝐴𝑊 ∧ (𝑎 ∈ Word (𝐼 × 2o) ∧ 𝑏 ∈ (𝐼 × 2o))) → (♯‘(𝑎 ++ (𝑀 ∘ (reverse‘𝑎)))) = ((♯‘𝑎) + (♯‘(𝑀 ∘ (reverse‘𝑎)))))
6156nn0zd 12074 . . . . . . . . . . . . . . 15 ((𝐴𝑊 ∧ (𝑎 ∈ Word (𝐼 × 2o) ∧ 𝑏 ∈ (𝐼 × 2o))) → (♯‘𝑎) ∈ ℤ)
6261uzidd 12248 . . . . . . . . . . . . . 14 ((𝐴𝑊 ∧ (𝑎 ∈ Word (𝐼 × 2o) ∧ 𝑏 ∈ (𝐼 × 2o))) → (♯‘𝑎) ∈ (ℤ‘(♯‘𝑎)))
63 lencl 13873 . . . . . . . . . . . . . . 15 ((𝑀 ∘ (reverse‘𝑎)) ∈ Word (𝐼 × 2o) → (♯‘(𝑀 ∘ (reverse‘𝑎))) ∈ ℕ0)
6450, 63syl 17 . . . . . . . . . . . . . 14 ((𝐴𝑊 ∧ (𝑎 ∈ Word (𝐼 × 2o) ∧ 𝑏 ∈ (𝐼 × 2o))) → (♯‘(𝑀 ∘ (reverse‘𝑎))) ∈ ℕ0)
65 uzaddcl 12293 . . . . . . . . . . . . . 14 (((♯‘𝑎) ∈ (ℤ‘(♯‘𝑎)) ∧ (♯‘(𝑀 ∘ (reverse‘𝑎))) ∈ ℕ0) → ((♯‘𝑎) + (♯‘(𝑀 ∘ (reverse‘𝑎)))) ∈ (ℤ‘(♯‘𝑎)))
6662, 64, 65syl2anc 584 . . . . . . . . . . . . 13 ((𝐴𝑊 ∧ (𝑎 ∈ Word (𝐼 × 2o) ∧ 𝑏 ∈ (𝐼 × 2o))) → ((♯‘𝑎) + (♯‘(𝑀 ∘ (reverse‘𝑎)))) ∈ (ℤ‘(♯‘𝑎)))
6760, 66eqeltrd 2918 . . . . . . . . . . . 12 ((𝐴𝑊 ∧ (𝑎 ∈ Word (𝐼 × 2o) ∧ 𝑏 ∈ (𝐼 × 2o))) → (♯‘(𝑎 ++ (𝑀 ∘ (reverse‘𝑎)))) ∈ (ℤ‘(♯‘𝑎)))
68 elfzuzb 12892 . . . . . . . . . . . 12 ((♯‘𝑎) ∈ (0...(♯‘(𝑎 ++ (𝑀 ∘ (reverse‘𝑎))))) ↔ ((♯‘𝑎) ∈ (ℤ‘0) ∧ (♯‘(𝑎 ++ (𝑀 ∘ (reverse‘𝑎)))) ∈ (ℤ‘(♯‘𝑎))))
6958, 67, 68sylanbrc 583 . . . . . . . . . . 11 ((𝐴𝑊 ∧ (𝑎 ∈ Word (𝐼 × 2o) ∧ 𝑏 ∈ (𝐼 × 2o))) → (♯‘𝑎) ∈ (0...(♯‘(𝑎 ++ (𝑀 ∘ (reverse‘𝑎))))))
70 simprr 769 . . . . . . . . . . 11 ((𝐴𝑊 ∧ (𝑎 ∈ Word (𝐼 × 2o) ∧ 𝑏 ∈ (𝐼 × 2o))) → 𝑏 ∈ (𝐼 × 2o))
71 efgval2.t . . . . . . . . . . . 12 𝑇 = (𝑣𝑊 ↦ (𝑛 ∈ (0...(♯‘𝑣)), 𝑤 ∈ (𝐼 × 2o) ↦ (𝑣 splice ⟨𝑛, 𝑛, ⟨“𝑤(𝑀𝑤)”⟩⟩)))
721, 34, 47, 71efgtval 18769 . . . . . . . . . . 11 (((𝑎 ++ (𝑀 ∘ (reverse‘𝑎))) ∈ 𝑊 ∧ (♯‘𝑎) ∈ (0...(♯‘(𝑎 ++ (𝑀 ∘ (reverse‘𝑎))))) ∧ 𝑏 ∈ (𝐼 × 2o)) → ((♯‘𝑎)(𝑇‘(𝑎 ++ (𝑀 ∘ (reverse‘𝑎))))𝑏) = ((𝑎 ++ (𝑀 ∘ (reverse‘𝑎))) splice ⟨(♯‘𝑎), (♯‘𝑎), ⟨“𝑏(𝑀𝑏)”⟩⟩))
7354, 69, 70, 72syl3anc 1365 . . . . . . . . . 10 ((𝐴𝑊 ∧ (𝑎 ∈ Word (𝐼 × 2o) ∧ 𝑏 ∈ (𝐼 × 2o))) → ((♯‘𝑎)(𝑇‘(𝑎 ++ (𝑀 ∘ (reverse‘𝑎))))𝑏) = ((𝑎 ++ (𝑀 ∘ (reverse‘𝑎))) splice ⟨(♯‘𝑎), (♯‘𝑎), ⟨“𝑏(𝑀𝑏)”⟩⟩))
7437a1i 11 . . . . . . . . . . 11 ((𝐴𝑊 ∧ (𝑎 ∈ Word (𝐼 × 2o) ∧ 𝑏 ∈ (𝐼 × 2o))) → ∅ ∈ Word (𝐼 × 2o))
7548ffvelrni 6846 . . . . . . . . . . . . 13 (𝑏 ∈ (𝐼 × 2o) → (𝑀𝑏) ∈ (𝐼 × 2o))
7675ad2antll 725 . . . . . . . . . . . 12 ((𝐴𝑊 ∧ (𝑎 ∈ Word (𝐼 × 2o) ∧ 𝑏 ∈ (𝐼 × 2o))) → (𝑀𝑏) ∈ (𝐼 × 2o))
7770, 76s2cld 14223 . . . . . . . . . . 11 ((𝐴𝑊 ∧ (𝑎 ∈ Word (𝐼 × 2o) ∧ 𝑏 ∈ (𝐼 × 2o))) → ⟨“𝑏(𝑀𝑏)”⟩ ∈ Word (𝐼 × 2o))
78 ccatrid 13931 . . . . . . . . . . . . . 14 (𝑎 ∈ Word (𝐼 × 2o) → (𝑎 ++ ∅) = 𝑎)
7978ad2antrl 724 . . . . . . . . . . . . 13 ((𝐴𝑊 ∧ (𝑎 ∈ Word (𝐼 × 2o) ∧ 𝑏 ∈ (𝐼 × 2o))) → (𝑎 ++ ∅) = 𝑎)
8079eqcomd 2832 . . . . . . . . . . . 12 ((𝐴𝑊 ∧ (𝑎 ∈ Word (𝐼 × 2o) ∧ 𝑏 ∈ (𝐼 × 2o))) → 𝑎 = (𝑎 ++ ∅))
8180oveq1d 7163 . . . . . . . . . . 11 ((𝐴𝑊 ∧ (𝑎 ∈ Word (𝐼 × 2o) ∧ 𝑏 ∈ (𝐼 × 2o))) → (𝑎 ++ (𝑀 ∘ (reverse‘𝑎))) = ((𝑎 ++ ∅) ++ (𝑀 ∘ (reverse‘𝑎))))
82 eqidd 2827 . . . . . . . . . . 11 ((𝐴𝑊 ∧ (𝑎 ∈ Word (𝐼 × 2o) ∧ 𝑏 ∈ (𝐼 × 2o))) → (♯‘𝑎) = (♯‘𝑎))
83 hash0 13718 . . . . . . . . . . . . 13 (♯‘∅) = 0
8483oveq2i 7159 . . . . . . . . . . . 12 ((♯‘𝑎) + (♯‘∅)) = ((♯‘𝑎) + 0)
8556nn0cnd 11946 . . . . . . . . . . . . 13 ((𝐴𝑊 ∧ (𝑎 ∈ Word (𝐼 × 2o) ∧ 𝑏 ∈ (𝐼 × 2o))) → (♯‘𝑎) ∈ ℂ)
8685addid1d 10829 . . . . . . . . . . . 12 ((𝐴𝑊 ∧ (𝑎 ∈ Word (𝐼 × 2o) ∧ 𝑏 ∈ (𝐼 × 2o))) → ((♯‘𝑎) + 0) = (♯‘𝑎))
8784, 86syl5req 2874 . . . . . . . . . . 11 ((𝐴𝑊 ∧ (𝑎 ∈ Word (𝐼 × 2o) ∧ 𝑏 ∈ (𝐼 × 2o))) → (♯‘𝑎) = ((♯‘𝑎) + (♯‘∅)))
8844, 74, 50, 77, 81, 82, 87splval2 14109 . . . . . . . . . 10 ((𝐴𝑊 ∧ (𝑎 ∈ Word (𝐼 × 2o) ∧ 𝑏 ∈ (𝐼 × 2o))) → ((𝑎 ++ (𝑀 ∘ (reverse‘𝑎))) splice ⟨(♯‘𝑎), (♯‘𝑎), ⟨“𝑏(𝑀𝑏)”⟩⟩) = ((𝑎 ++ ⟨“𝑏(𝑀𝑏)”⟩) ++ (𝑀 ∘ (reverse‘𝑎))))
8970s1cld 13947 . . . . . . . . . . . . . . . 16 ((𝐴𝑊 ∧ (𝑎 ∈ Word (𝐼 × 2o) ∧ 𝑏 ∈ (𝐼 × 2o))) → ⟨“𝑏”⟩ ∈ Word (𝐼 × 2o))
90 revccat 14118 . . . . . . . . . . . . . . . 16 ((𝑎 ∈ Word (𝐼 × 2o) ∧ ⟨“𝑏”⟩ ∈ Word (𝐼 × 2o)) → (reverse‘(𝑎 ++ ⟨“𝑏”⟩)) = ((reverse‘⟨“𝑏”⟩) ++ (reverse‘𝑎)))
9144, 89, 90syl2anc 584 . . . . . . . . . . . . . . 15 ((𝐴𝑊 ∧ (𝑎 ∈ Word (𝐼 × 2o) ∧ 𝑏 ∈ (𝐼 × 2o))) → (reverse‘(𝑎 ++ ⟨“𝑏”⟩)) = ((reverse‘⟨“𝑏”⟩) ++ (reverse‘𝑎)))
92 revs1 14117 . . . . . . . . . . . . . . . 16 (reverse‘⟨“𝑏”⟩) = ⟨“𝑏”⟩
9392oveq1i 7158 . . . . . . . . . . . . . . 15 ((reverse‘⟨“𝑏”⟩) ++ (reverse‘𝑎)) = (⟨“𝑏”⟩ ++ (reverse‘𝑎))
9491, 93syl6eq 2877 . . . . . . . . . . . . . 14 ((𝐴𝑊 ∧ (𝑎 ∈ Word (𝐼 × 2o) ∧ 𝑏 ∈ (𝐼 × 2o))) → (reverse‘(𝑎 ++ ⟨“𝑏”⟩)) = (⟨“𝑏”⟩ ++ (reverse‘𝑎)))
9594coeq2d 5732 . . . . . . . . . . . . 13 ((𝐴𝑊 ∧ (𝑎 ∈ Word (𝐼 × 2o) ∧ 𝑏 ∈ (𝐼 × 2o))) → (𝑀 ∘ (reverse‘(𝑎 ++ ⟨“𝑏”⟩))) = (𝑀 ∘ (⟨“𝑏”⟩ ++ (reverse‘𝑎))))
9648a1i 11 . . . . . . . . . . . . . 14 ((𝐴𝑊 ∧ (𝑎 ∈ Word (𝐼 × 2o) ∧ 𝑏 ∈ (𝐼 × 2o))) → 𝑀:(𝐼 × 2o)⟶(𝐼 × 2o))
97 ccatco 14187 . . . . . . . . . . . . . 14 ((⟨“𝑏”⟩ ∈ Word (𝐼 × 2o) ∧ (reverse‘𝑎) ∈ Word (𝐼 × 2o) ∧ 𝑀:(𝐼 × 2o)⟶(𝐼 × 2o)) → (𝑀 ∘ (⟨“𝑏”⟩ ++ (reverse‘𝑎))) = ((𝑀 ∘ ⟨“𝑏”⟩) ++ (𝑀 ∘ (reverse‘𝑎))))
9889, 46, 96, 97syl3anc 1365 . . . . . . . . . . . . 13 ((𝐴𝑊 ∧ (𝑎 ∈ Word (𝐼 × 2o) ∧ 𝑏 ∈ (𝐼 × 2o))) → (𝑀 ∘ (⟨“𝑏”⟩ ++ (reverse‘𝑎))) = ((𝑀 ∘ ⟨“𝑏”⟩) ++ (𝑀 ∘ (reverse‘𝑎))))
99 s1co 14185 . . . . . . . . . . . . . . 15 ((𝑏 ∈ (𝐼 × 2o) ∧ 𝑀:(𝐼 × 2o)⟶(𝐼 × 2o)) → (𝑀 ∘ ⟨“𝑏”⟩) = ⟨“(𝑀𝑏)”⟩)
10070, 48, 99sylancl 586 . . . . . . . . . . . . . 14 ((𝐴𝑊 ∧ (𝑎 ∈ Word (𝐼 × 2o) ∧ 𝑏 ∈ (𝐼 × 2o))) → (𝑀 ∘ ⟨“𝑏”⟩) = ⟨“(𝑀𝑏)”⟩)
101100oveq1d 7163 . . . . . . . . . . . . 13 ((𝐴𝑊 ∧ (𝑎 ∈ Word (𝐼 × 2o) ∧ 𝑏 ∈ (𝐼 × 2o))) → ((𝑀 ∘ ⟨“𝑏”⟩) ++ (𝑀 ∘ (reverse‘𝑎))) = (⟨“(𝑀𝑏)”⟩ ++ (𝑀 ∘ (reverse‘𝑎))))
10295, 98, 1013eqtrd 2865 . . . . . . . . . . . 12 ((𝐴𝑊 ∧ (𝑎 ∈ Word (𝐼 × 2o) ∧ 𝑏 ∈ (𝐼 × 2o))) → (𝑀 ∘ (reverse‘(𝑎 ++ ⟨“𝑏”⟩))) = (⟨“(𝑀𝑏)”⟩ ++ (𝑀 ∘ (reverse‘𝑎))))
103102oveq2d 7164 . . . . . . . . . . 11 ((𝐴𝑊 ∧ (𝑎 ∈ Word (𝐼 × 2o) ∧ 𝑏 ∈ (𝐼 × 2o))) → ((𝑎 ++ ⟨“𝑏”⟩) ++ (𝑀 ∘ (reverse‘(𝑎 ++ ⟨“𝑏”⟩)))) = ((𝑎 ++ ⟨“𝑏”⟩) ++ (⟨“(𝑀𝑏)”⟩ ++ (𝑀 ∘ (reverse‘𝑎)))))
104 ccatcl 13916 . . . . . . . . . . . . 13 ((𝑎 ∈ Word (𝐼 × 2o) ∧ ⟨“𝑏”⟩ ∈ Word (𝐼 × 2o)) → (𝑎 ++ ⟨“𝑏”⟩) ∈ Word (𝐼 × 2o))
10544, 89, 104syl2anc 584 . . . . . . . . . . . 12 ((𝐴𝑊 ∧ (𝑎 ∈ Word (𝐼 × 2o) ∧ 𝑏 ∈ (𝐼 × 2o))) → (𝑎 ++ ⟨“𝑏”⟩) ∈ Word (𝐼 × 2o))
10676s1cld 13947 . . . . . . . . . . . 12 ((𝐴𝑊 ∧ (𝑎 ∈ Word (𝐼 × 2o) ∧ 𝑏 ∈ (𝐼 × 2o))) → ⟨“(𝑀𝑏)”⟩ ∈ Word (𝐼 × 2o))
107 ccatass 13932 . . . . . . . . . . . 12 (((𝑎 ++ ⟨“𝑏”⟩) ∈ Word (𝐼 × 2o) ∧ ⟨“(𝑀𝑏)”⟩ ∈ Word (𝐼 × 2o) ∧ (𝑀 ∘ (reverse‘𝑎)) ∈ Word (𝐼 × 2o)) → (((𝑎 ++ ⟨“𝑏”⟩) ++ ⟨“(𝑀𝑏)”⟩) ++ (𝑀 ∘ (reverse‘𝑎))) = ((𝑎 ++ ⟨“𝑏”⟩) ++ (⟨“(𝑀𝑏)”⟩ ++ (𝑀 ∘ (reverse‘𝑎)))))
108105, 106, 50, 107syl3anc 1365 . . . . . . . . . . 11 ((𝐴𝑊 ∧ (𝑎 ∈ Word (𝐼 × 2o) ∧ 𝑏 ∈ (𝐼 × 2o))) → (((𝑎 ++ ⟨“𝑏”⟩) ++ ⟨“(𝑀𝑏)”⟩) ++ (𝑀 ∘ (reverse‘𝑎))) = ((𝑎 ++ ⟨“𝑏”⟩) ++ (⟨“(𝑀𝑏)”⟩ ++ (𝑀 ∘ (reverse‘𝑎)))))
109 ccatass 13932 . . . . . . . . . . . . . 14 ((𝑎 ∈ Word (𝐼 × 2o) ∧ ⟨“𝑏”⟩ ∈ Word (𝐼 × 2o) ∧ ⟨“(𝑀𝑏)”⟩ ∈ Word (𝐼 × 2o)) → ((𝑎 ++ ⟨“𝑏”⟩) ++ ⟨“(𝑀𝑏)”⟩) = (𝑎 ++ (⟨“𝑏”⟩ ++ ⟨“(𝑀𝑏)”⟩)))
11044, 89, 106, 109syl3anc 1365 . . . . . . . . . . . . 13 ((𝐴𝑊 ∧ (𝑎 ∈ Word (𝐼 × 2o) ∧ 𝑏 ∈ (𝐼 × 2o))) → ((𝑎 ++ ⟨“𝑏”⟩) ++ ⟨“(𝑀𝑏)”⟩) = (𝑎 ++ (⟨“𝑏”⟩ ++ ⟨“(𝑀𝑏)”⟩)))
111 df-s2 14200 . . . . . . . . . . . . . 14 ⟨“𝑏(𝑀𝑏)”⟩ = (⟨“𝑏”⟩ ++ ⟨“(𝑀𝑏)”⟩)
112111oveq2i 7159 . . . . . . . . . . . . 13 (𝑎 ++ ⟨“𝑏(𝑀𝑏)”⟩) = (𝑎 ++ (⟨“𝑏”⟩ ++ ⟨“(𝑀𝑏)”⟩))
113110, 112syl6eqr 2879 . . . . . . . . . . . 12 ((𝐴𝑊 ∧ (𝑎 ∈ Word (𝐼 × 2o) ∧ 𝑏 ∈ (𝐼 × 2o))) → ((𝑎 ++ ⟨“𝑏”⟩) ++ ⟨“(𝑀𝑏)”⟩) = (𝑎 ++ ⟨“𝑏(𝑀𝑏)”⟩))
114113oveq1d 7163 . . . . . . . . . . 11 ((𝐴𝑊 ∧ (𝑎 ∈ Word (𝐼 × 2o) ∧ 𝑏 ∈ (𝐼 × 2o))) → (((𝑎 ++ ⟨“𝑏”⟩) ++ ⟨“(𝑀𝑏)”⟩) ++ (𝑀 ∘ (reverse‘𝑎))) = ((𝑎 ++ ⟨“𝑏(𝑀𝑏)”⟩) ++ (𝑀 ∘ (reverse‘𝑎))))
115103, 108, 1143eqtr2rd 2868 . . . . . . . . . 10 ((𝐴𝑊 ∧ (𝑎 ∈ Word (𝐼 × 2o) ∧ 𝑏 ∈ (𝐼 × 2o))) → ((𝑎 ++ ⟨“𝑏(𝑀𝑏)”⟩) ++ (𝑀 ∘ (reverse‘𝑎))) = ((𝑎 ++ ⟨“𝑏”⟩) ++ (𝑀 ∘ (reverse‘(𝑎 ++ ⟨“𝑏”⟩)))))
11673, 88, 1153eqtrd 2865 . . . . . . . . 9 ((𝐴𝑊 ∧ (𝑎 ∈ Word (𝐼 × 2o) ∧ 𝑏 ∈ (𝐼 × 2o))) → ((♯‘𝑎)(𝑇‘(𝑎 ++ (𝑀 ∘ (reverse‘𝑎))))𝑏) = ((𝑎 ++ ⟨“𝑏”⟩) ++ (𝑀 ∘ (reverse‘(𝑎 ++ ⟨“𝑏”⟩)))))
1171, 34, 47, 71efgtf 18768 . . . . . . . . . . . . 13 ((𝑎 ++ (𝑀 ∘ (reverse‘𝑎))) ∈ 𝑊 → ((𝑇‘(𝑎 ++ (𝑀 ∘ (reverse‘𝑎)))) = (𝑚 ∈ (0...(♯‘(𝑎 ++ (𝑀 ∘ (reverse‘𝑎))))), 𝑢 ∈ (𝐼 × 2o) ↦ ((𝑎 ++ (𝑀 ∘ (reverse‘𝑎))) splice ⟨𝑚, 𝑚, ⟨“𝑢(𝑀𝑢)”⟩⟩)) ∧ (𝑇‘(𝑎 ++ (𝑀 ∘ (reverse‘𝑎)))):((0...(♯‘(𝑎 ++ (𝑀 ∘ (reverse‘𝑎))))) × (𝐼 × 2o))⟶𝑊))
118117simprd 496 . . . . . . . . . . . 12 ((𝑎 ++ (𝑀 ∘ (reverse‘𝑎))) ∈ 𝑊 → (𝑇‘(𝑎 ++ (𝑀 ∘ (reverse‘𝑎)))):((0...(♯‘(𝑎 ++ (𝑀 ∘ (reverse‘𝑎))))) × (𝐼 × 2o))⟶𝑊)
11954, 118syl 17 . . . . . . . . . . 11 ((𝐴𝑊 ∧ (𝑎 ∈ Word (𝐼 × 2o) ∧ 𝑏 ∈ (𝐼 × 2o))) → (𝑇‘(𝑎 ++ (𝑀 ∘ (reverse‘𝑎)))):((0...(♯‘(𝑎 ++ (𝑀 ∘ (reverse‘𝑎))))) × (𝐼 × 2o))⟶𝑊)
120119ffnd 6512 . . . . . . . . . 10 ((𝐴𝑊 ∧ (𝑎 ∈ Word (𝐼 × 2o) ∧ 𝑏 ∈ (𝐼 × 2o))) → (𝑇‘(𝑎 ++ (𝑀 ∘ (reverse‘𝑎)))) Fn ((0...(♯‘(𝑎 ++ (𝑀 ∘ (reverse‘𝑎))))) × (𝐼 × 2o)))
121 fnovrn 7313 . . . . . . . . . 10 (((𝑇‘(𝑎 ++ (𝑀 ∘ (reverse‘𝑎)))) Fn ((0...(♯‘(𝑎 ++ (𝑀 ∘ (reverse‘𝑎))))) × (𝐼 × 2o)) ∧ (♯‘𝑎) ∈ (0...(♯‘(𝑎 ++ (𝑀 ∘ (reverse‘𝑎))))) ∧ 𝑏 ∈ (𝐼 × 2o)) → ((♯‘𝑎)(𝑇‘(𝑎 ++ (𝑀 ∘ (reverse‘𝑎))))𝑏) ∈ ran (𝑇‘(𝑎 ++ (𝑀 ∘ (reverse‘𝑎)))))
122120, 69, 70, 121syl3anc 1365 . . . . . . . . 9 ((𝐴𝑊 ∧ (𝑎 ∈ Word (𝐼 × 2o) ∧ 𝑏 ∈ (𝐼 × 2o))) → ((♯‘𝑎)(𝑇‘(𝑎 ++ (𝑀 ∘ (reverse‘𝑎))))𝑏) ∈ ran (𝑇‘(𝑎 ++ (𝑀 ∘ (reverse‘𝑎)))))
123116, 122eqeltrrd 2919 . . . . . . . 8 ((𝐴𝑊 ∧ (𝑎 ∈ Word (𝐼 × 2o) ∧ 𝑏 ∈ (𝐼 × 2o))) → ((𝑎 ++ ⟨“𝑏”⟩) ++ (𝑀 ∘ (reverse‘(𝑎 ++ ⟨“𝑏”⟩)))) ∈ ran (𝑇‘(𝑎 ++ (𝑀 ∘ (reverse‘𝑎)))))
1241, 34, 47, 71efgi2 18771 . . . . . . . 8 (((𝑎 ++ (𝑀 ∘ (reverse‘𝑎))) ∈ 𝑊 ∧ ((𝑎 ++ ⟨“𝑏”⟩) ++ (𝑀 ∘ (reverse‘(𝑎 ++ ⟨“𝑏”⟩)))) ∈ ran (𝑇‘(𝑎 ++ (𝑀 ∘ (reverse‘𝑎))))) → (𝑎 ++ (𝑀 ∘ (reverse‘𝑎))) ((𝑎 ++ ⟨“𝑏”⟩) ++ (𝑀 ∘ (reverse‘(𝑎 ++ ⟨“𝑏”⟩)))))
12554, 123, 124syl2anc 584 . . . . . . 7 ((𝐴𝑊 ∧ (𝑎 ∈ Word (𝐼 × 2o) ∧ 𝑏 ∈ (𝐼 × 2o))) → (𝑎 ++ (𝑀 ∘ (reverse‘𝑎))) ((𝑎 ++ ⟨“𝑏”⟩) ++ (𝑀 ∘ (reverse‘(𝑎 ++ ⟨“𝑏”⟩)))))
12643, 125ersym 8291 . . . . . 6 ((𝐴𝑊 ∧ (𝑎 ∈ Word (𝐼 × 2o) ∧ 𝑏 ∈ (𝐼 × 2o))) → ((𝑎 ++ ⟨“𝑏”⟩) ++ (𝑀 ∘ (reverse‘(𝑎 ++ ⟨“𝑏”⟩)))) (𝑎 ++ (𝑀 ∘ (reverse‘𝑎))))
12743ertr 8294 . . . . . 6 ((𝐴𝑊 ∧ (𝑎 ∈ Word (𝐼 × 2o) ∧ 𝑏 ∈ (𝐼 × 2o))) → ((((𝑎 ++ ⟨“𝑏”⟩) ++ (𝑀 ∘ (reverse‘(𝑎 ++ ⟨“𝑏”⟩)))) (𝑎 ++ (𝑀 ∘ (reverse‘𝑎))) ∧ (𝑎 ++ (𝑀 ∘ (reverse‘𝑎))) ∅) → ((𝑎 ++ ⟨“𝑏”⟩) ++ (𝑀 ∘ (reverse‘(𝑎 ++ ⟨“𝑏”⟩)))) ∅))
128126, 127mpand 691 . . . . 5 ((𝐴𝑊 ∧ (𝑎 ∈ Word (𝐼 × 2o) ∧ 𝑏 ∈ (𝐼 × 2o))) → ((𝑎 ++ (𝑀 ∘ (reverse‘𝑎))) ∅ → ((𝑎 ++ ⟨“𝑏”⟩) ++ (𝑀 ∘ (reverse‘(𝑎 ++ ⟨“𝑏”⟩)))) ∅))
129128expcom 414 . . . 4 ((𝑎 ∈ Word (𝐼 × 2o) ∧ 𝑏 ∈ (𝐼 × 2o)) → (𝐴𝑊 → ((𝑎 ++ (𝑀 ∘ (reverse‘𝑎))) ∅ → ((𝑎 ++ ⟨“𝑏”⟩) ++ (𝑀 ∘ (reverse‘(𝑎 ++ ⟨“𝑏”⟩)))) ∅)))
130129a2d 29 . . 3 ((𝑎 ∈ Word (𝐼 × 2o) ∧ 𝑏 ∈ (𝐼 × 2o)) → ((𝐴𝑊 → (𝑎 ++ (𝑀 ∘ (reverse‘𝑎))) ∅) → (𝐴𝑊 → ((𝑎 ++ ⟨“𝑏”⟩) ++ (𝑀 ∘ (reverse‘(𝑎 ++ ⟨“𝑏”⟩)))) ∅)))
13114, 20, 26, 32, 42, 130wrdind 14074 . 2 (𝐴 ∈ Word (𝐼 × 2o) → (𝐴𝑊 → (𝐴 ++ (𝑀 ∘ (reverse‘𝐴))) ∅))
1324, 131mpcom 38 1 (𝐴𝑊 → (𝐴 ++ (𝑀 ∘ (reverse‘𝐴))) ∅)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396   = wceq 1530  wcel 2107  Vcvv 3500  cdif 3937  c0 4295  cop 4570  cotp 4572   class class class wbr 5063  cmpt 5143   I cid 5458   × cxp 5552  ran crn 5555  ccom 5558   Fn wfn 6347  wf 6348  cfv 6352  (class class class)co 7148  cmpo 7150  1oc1o 8086  2oc2o 8087   Er wer 8276  0cc0 10526   + caddc 10529  0cn0 11886  cuz 12232  ...cfz 12882  chash 13680  Word cword 13851   ++ cconcat 13912  ⟨“cs1 13939   splice csplice 14101  reversecreverse 14110  ⟨“cs2 14193   ~FG cefg 18752
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1789  ax-4 1803  ax-5 1904  ax-6 1963  ax-7 2008  ax-8 2109  ax-9 2117  ax-10 2138  ax-11 2153  ax-12 2169  ax-ext 2798  ax-rep 5187  ax-sep 5200  ax-nul 5207  ax-pow 5263  ax-pr 5326  ax-un 7451  ax-cnex 10582  ax-resscn 10583  ax-1cn 10584  ax-icn 10585  ax-addcl 10586  ax-addrcl 10587  ax-mulcl 10588  ax-mulrcl 10589  ax-mulcom 10590  ax-addass 10591  ax-mulass 10592  ax-distr 10593  ax-i2m1 10594  ax-1ne0 10595  ax-1rid 10596  ax-rnegex 10597  ax-rrecex 10598  ax-cnre 10599  ax-pre-lttri 10600  ax-pre-lttrn 10601  ax-pre-ltadd 10602  ax-pre-mulgt0 10603
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 844  df-3or 1082  df-3an 1083  df-tru 1533  df-ex 1774  df-nf 1778  df-sb 2063  df-mo 2620  df-eu 2652  df-clab 2805  df-cleq 2819  df-clel 2898  df-nfc 2968  df-ne 3022  df-nel 3129  df-ral 3148  df-rex 3149  df-reu 3150  df-rab 3152  df-v 3502  df-sbc 3777  df-csb 3888  df-dif 3943  df-un 3945  df-in 3947  df-ss 3956  df-pss 3958  df-nul 4296  df-if 4471  df-pw 4544  df-sn 4565  df-pr 4567  df-tp 4569  df-op 4571  df-ot 4573  df-uni 4838  df-int 4875  df-iun 4919  df-iin 4920  df-br 5064  df-opab 5126  df-mpt 5144  df-tr 5170  df-id 5459  df-eprel 5464  df-po 5473  df-so 5474  df-fr 5513  df-we 5515  df-xp 5560  df-rel 5561  df-cnv 5562  df-co 5563  df-dm 5564  df-rn 5565  df-res 5566  df-ima 5567  df-pred 6146  df-ord 6192  df-on 6193  df-lim 6194  df-suc 6195  df-iota 6312  df-fun 6354  df-fn 6355  df-f 6356  df-f1 6357  df-fo 6358  df-f1o 6359  df-fv 6360  df-riota 7106  df-ov 7151  df-oprab 7152  df-mpo 7153  df-om 7569  df-1st 7680  df-2nd 7681  df-wrecs 7938  df-recs 7999  df-rdg 8037  df-1o 8093  df-2o 8094  df-oadd 8097  df-er 8279  df-ec 8281  df-map 8398  df-en 8499  df-dom 8500  df-sdom 8501  df-fin 8502  df-card 9357  df-pnf 10666  df-mnf 10667  df-xr 10668  df-ltxr 10669  df-le 10670  df-sub 10861  df-neg 10862  df-nn 11628  df-n0 11887  df-xnn0 11957  df-z 11971  df-uz 12233  df-fz 12883  df-fzo 13024  df-hash 13681  df-word 13852  df-lsw 13905  df-concat 13913  df-s1 13940  df-substr 13993  df-pfx 14023  df-splice 14102  df-reverse 14111  df-s2 14200  df-efg 18755
This theorem is referenced by:  efginvrel1  18774  frgpinv  18810
  Copyright terms: Public domain W3C validator