| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > revval | Structured version Visualization version GIF version | ||
| Description: Value of the word reversing function. (Contributed by Stefan O'Rear, 26-Aug-2015.) |
| Ref | Expression |
|---|---|
| revval | ⊢ (𝑊 ∈ 𝑉 → (reverse‘𝑊) = (𝑥 ∈ (0..^(♯‘𝑊)) ↦ (𝑊‘(((♯‘𝑊) − 1) − 𝑥)))) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | elex 3461 | . 2 ⊢ (𝑊 ∈ 𝑉 → 𝑊 ∈ V) | |
| 2 | fveq2 6834 | . . . . 5 ⊢ (𝑤 = 𝑊 → (♯‘𝑤) = (♯‘𝑊)) | |
| 3 | 2 | oveq2d 7374 | . . . 4 ⊢ (𝑤 = 𝑊 → (0..^(♯‘𝑤)) = (0..^(♯‘𝑊))) |
| 4 | id 22 | . . . . 5 ⊢ (𝑤 = 𝑊 → 𝑤 = 𝑊) | |
| 5 | 2 | oveq1d 7373 | . . . . . 6 ⊢ (𝑤 = 𝑊 → ((♯‘𝑤) − 1) = ((♯‘𝑊) − 1)) |
| 6 | 5 | oveq1d 7373 | . . . . 5 ⊢ (𝑤 = 𝑊 → (((♯‘𝑤) − 1) − 𝑥) = (((♯‘𝑊) − 1) − 𝑥)) |
| 7 | 4, 6 | fveq12d 6841 | . . . 4 ⊢ (𝑤 = 𝑊 → (𝑤‘(((♯‘𝑤) − 1) − 𝑥)) = (𝑊‘(((♯‘𝑊) − 1) − 𝑥))) |
| 8 | 3, 7 | mpteq12dv 5185 | . . 3 ⊢ (𝑤 = 𝑊 → (𝑥 ∈ (0..^(♯‘𝑤)) ↦ (𝑤‘(((♯‘𝑤) − 1) − 𝑥))) = (𝑥 ∈ (0..^(♯‘𝑊)) ↦ (𝑊‘(((♯‘𝑊) − 1) − 𝑥)))) |
| 9 | df-reverse 14682 | . . 3 ⊢ reverse = (𝑤 ∈ V ↦ (𝑥 ∈ (0..^(♯‘𝑤)) ↦ (𝑤‘(((♯‘𝑤) − 1) − 𝑥)))) | |
| 10 | ovex 7391 | . . . 4 ⊢ (0..^(♯‘𝑊)) ∈ V | |
| 11 | 10 | mptex 7169 | . . 3 ⊢ (𝑥 ∈ (0..^(♯‘𝑊)) ↦ (𝑊‘(((♯‘𝑊) − 1) − 𝑥))) ∈ V |
| 12 | 8, 9, 11 | fvmpt 6941 | . 2 ⊢ (𝑊 ∈ V → (reverse‘𝑊) = (𝑥 ∈ (0..^(♯‘𝑊)) ↦ (𝑊‘(((♯‘𝑊) − 1) − 𝑥)))) |
| 13 | 1, 12 | syl 17 | 1 ⊢ (𝑊 ∈ 𝑉 → (reverse‘𝑊) = (𝑥 ∈ (0..^(♯‘𝑊)) ↦ (𝑊‘(((♯‘𝑊) − 1) − 𝑥)))) |
| Colors of variables: wff setvar class |
| Syntax hints: → wi 4 = wceq 1541 ∈ wcel 2113 Vcvv 3440 ↦ cmpt 5179 ‘cfv 6492 (class class class)co 7358 0cc0 11026 1c1 11027 − cmin 11364 ..^cfzo 13570 ♯chash 14253 reversecreverse 14681 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1796 ax-4 1810 ax-5 1911 ax-6 1968 ax-7 2009 ax-8 2115 ax-9 2123 ax-10 2146 ax-11 2162 ax-12 2184 ax-ext 2708 ax-rep 5224 ax-sep 5241 ax-nul 5251 ax-pr 5377 |
| This theorem depends on definitions: df-bi 207 df-an 396 df-or 848 df-3an 1088 df-tru 1544 df-fal 1554 df-ex 1781 df-nf 1785 df-sb 2068 df-mo 2539 df-eu 2569 df-clab 2715 df-cleq 2728 df-clel 2811 df-nfc 2885 df-ne 2933 df-ral 3052 df-rex 3061 df-reu 3351 df-rab 3400 df-v 3442 df-sbc 3741 df-csb 3850 df-dif 3904 df-un 3906 df-in 3908 df-ss 3918 df-nul 4286 df-if 4480 df-sn 4581 df-pr 4583 df-op 4587 df-uni 4864 df-iun 4948 df-br 5099 df-opab 5161 df-mpt 5180 df-id 5519 df-xp 5630 df-rel 5631 df-cnv 5632 df-co 5633 df-dm 5634 df-rn 5635 df-res 5636 df-ima 5637 df-iota 6448 df-fun 6494 df-fn 6495 df-f 6496 df-f1 6497 df-fo 6498 df-f1o 6499 df-fv 6500 df-ov 7361 df-reverse 14682 |
| This theorem is referenced by: revcl 14684 revlen 14685 revfv 14686 repswrevw 14710 revco 14757 |
| Copyright terms: Public domain | W3C validator |