Metamath Proof Explorer


Definition df-reverse

Description: Define an operation which reverses the order of symbols in a word. This operation is also known as "word reversal" and "word mirroring". (Contributed by Stefan O'Rear, 26-Aug-2015)

Ref Expression
Assertion df-reverse reverse=sVx0..^sss-1-x

Detailed syntax breakdown

Step Hyp Ref Expression
0 creverse classreverse
1 vs setvars
2 cvv classV
3 vx setvarx
4 cc0 class0
5 cfzo class..^
6 chash class.
7 1 cv setvars
8 7 6 cfv classs
9 4 8 5 co class0..^s
10 cmin class
11 c1 class1
12 8 11 10 co classs1
13 3 cv setvarx
14 12 13 10 co classs-1-x
15 14 7 cfv classss-1-x
16 3 9 15 cmpt classx0..^sss-1-x
17 1 2 16 cmpt classsVx0..^sss-1-x
18 0 17 wceq wffreverse=sVx0..^sss-1-x