Metamath Proof Explorer


Theorem efgtval

Description: Value of the extension function, which maps a word (a representation of the group element as a sequence of elements and their inverses) to its direct extensions, defined as the original representation with an element and its inverse inserted somewhere in the string. (Contributed by Mario Carneiro, 29-Sep-2015)

Ref Expression
Hypotheses efgval.w W = I Word I × 2 𝑜
efgval.r ˙ = ~ FG I
efgval2.m M = y I , z 2 𝑜 y 1 𝑜 z
efgval2.t T = v W n 0 v , w I × 2 𝑜 v splice n n ⟨“ w M w ”⟩
Assertion efgtval X W N 0 X A I × 2 𝑜 N T X A = X splice N N ⟨“ A M A ”⟩

Proof

Step Hyp Ref Expression
1 efgval.w W = I Word I × 2 𝑜
2 efgval.r ˙ = ~ FG I
3 efgval2.m M = y I , z 2 𝑜 y 1 𝑜 z
4 efgval2.t T = v W n 0 v , w I × 2 𝑜 v splice n n ⟨“ w M w ”⟩
5 1 2 3 4 efgtf X W T X = a 0 X , b I × 2 𝑜 X splice a a ⟨“ b M b ”⟩ T X : 0 X × I × 2 𝑜 W
6 5 simpld X W T X = a 0 X , b I × 2 𝑜 X splice a a ⟨“ b M b ”⟩
7 6 oveqd X W N T X A = N a 0 X , b I × 2 𝑜 X splice a a ⟨“ b M b ”⟩ A
8 oteq1 a = N a a ⟨“ b M b ”⟩ = N a ⟨“ b M b ”⟩
9 oteq2 a = N N a ⟨“ b M b ”⟩ = N N ⟨“ b M b ”⟩
10 8 9 eqtrd a = N a a ⟨“ b M b ”⟩ = N N ⟨“ b M b ”⟩
11 10 oveq2d a = N X splice a a ⟨“ b M b ”⟩ = X splice N N ⟨“ b M b ”⟩
12 id b = A b = A
13 fveq2 b = A M b = M A
14 12 13 s2eqd b = A ⟨“ b M b ”⟩ = ⟨“ A M A ”⟩
15 14 oteq3d b = A N N ⟨“ b M b ”⟩ = N N ⟨“ A M A ”⟩
16 15 oveq2d b = A X splice N N ⟨“ b M b ”⟩ = X splice N N ⟨“ A M A ”⟩
17 eqid a 0 X , b I × 2 𝑜 X splice a a ⟨“ b M b ”⟩ = a 0 X , b I × 2 𝑜 X splice a a ⟨“ b M b ”⟩
18 ovex X splice N N ⟨“ A M A ”⟩ V
19 11 16 17 18 ovmpo N 0 X A I × 2 𝑜 N a 0 X , b I × 2 𝑜 X splice a a ⟨“ b M b ”⟩ A = X splice N N ⟨“ A M A ”⟩
20 7 19 sylan9eq X W N 0 X A I × 2 𝑜 N T X A = X splice N N ⟨“ A M A ”⟩
21 20 3impb X W N 0 X A I × 2 𝑜 N T X A = X splice N N ⟨“ A M A ”⟩