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

Theorem revval 14770
Description: Value of the word reversing function. (Contributed by Stefan O'Rear, 26-Aug-2015.)
Assertion
Ref Expression
revval (𝑊𝑉 → (reverse‘𝑊) = (𝑥 ∈ (0..^(♯‘𝑊)) ↦ (𝑊‘(((♯‘𝑊) − 1) − 𝑥))))
Distinct variable group:   𝑥,𝑊
Allowed substitution hint:   𝑉(𝑥)

Proof of Theorem revval
Dummy variable 𝑤 is distinct from all other variables.
StepHypRef Expression
1 elex 3482 . 2 (𝑊𝑉𝑊 ∈ V)
2 fveq2 6903 . . . . 5 (𝑤 = 𝑊 → (♯‘𝑤) = (♯‘𝑊))
32oveq2d 7442 . . . 4 (𝑤 = 𝑊 → (0..^(♯‘𝑤)) = (0..^(♯‘𝑊)))
4 id 22 . . . . 5 (𝑤 = 𝑊𝑤 = 𝑊)
52oveq1d 7441 . . . . . 6 (𝑤 = 𝑊 → ((♯‘𝑤) − 1) = ((♯‘𝑊) − 1))
65oveq1d 7441 . . . . 5 (𝑤 = 𝑊 → (((♯‘𝑤) − 1) − 𝑥) = (((♯‘𝑊) − 1) − 𝑥))
74, 6fveq12d 6910 . . . 4 (𝑤 = 𝑊 → (𝑤‘(((♯‘𝑤) − 1) − 𝑥)) = (𝑊‘(((♯‘𝑊) − 1) − 𝑥)))
83, 7mpteq12dv 5246 . . 3 (𝑤 = 𝑊 → (𝑥 ∈ (0..^(♯‘𝑤)) ↦ (𝑤‘(((♯‘𝑤) − 1) − 𝑥))) = (𝑥 ∈ (0..^(♯‘𝑊)) ↦ (𝑊‘(((♯‘𝑊) − 1) − 𝑥))))
9 df-reverse 14769 . . 3 reverse = (𝑤 ∈ V ↦ (𝑥 ∈ (0..^(♯‘𝑤)) ↦ (𝑤‘(((♯‘𝑤) − 1) − 𝑥))))
10 ovex 7459 . . . 4 (0..^(♯‘𝑊)) ∈ V
1110mptex 7242 . . 3 (𝑥 ∈ (0..^(♯‘𝑊)) ↦ (𝑊‘(((♯‘𝑊) − 1) − 𝑥))) ∈ V
128, 9, 11fvmpt 7011 . 2 (𝑊 ∈ V → (reverse‘𝑊) = (𝑥 ∈ (0..^(♯‘𝑊)) ↦ (𝑊‘(((♯‘𝑊) − 1) − 𝑥))))
131, 12syl 17 1 (𝑊𝑉 → (reverse‘𝑊) = (𝑥 ∈ (0..^(♯‘𝑊)) ↦ (𝑊‘(((♯‘𝑊) − 1) − 𝑥))))
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1534  wcel 2099  Vcvv 3462  cmpt 5238  cfv 6556  (class class class)co 7426  0cc0 11160  1c1 11161  cmin 11496  ..^cfzo 13683  chash 14349  reversecreverse 14768
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1790  ax-4 1804  ax-5 1906  ax-6 1964  ax-7 2004  ax-8 2101  ax-9 2109  ax-10 2130  ax-11 2147  ax-12 2167  ax-ext 2697  ax-rep 5292  ax-sep 5306  ax-nul 5313  ax-pr 5435
This theorem depends on definitions:  df-bi 206  df-an 395  df-or 846  df-3an 1086  df-tru 1537  df-fal 1547  df-ex 1775  df-nf 1779  df-sb 2061  df-mo 2529  df-eu 2558  df-clab 2704  df-cleq 2718  df-clel 2803  df-nfc 2878  df-ne 2931  df-ral 3052  df-rex 3061  df-reu 3365  df-rab 3420  df-v 3464  df-sbc 3777  df-csb 3893  df-dif 3950  df-un 3952  df-in 3954  df-ss 3964  df-nul 4326  df-if 4534  df-sn 4634  df-pr 4636  df-op 4640  df-uni 4916  df-iun 5005  df-br 5156  df-opab 5218  df-mpt 5239  df-id 5582  df-xp 5690  df-rel 5691  df-cnv 5692  df-co 5693  df-dm 5694  df-rn 5695  df-res 5696  df-ima 5697  df-iota 6508  df-fun 6558  df-fn 6559  df-f 6560  df-f1 6561  df-fo 6562  df-f1o 6563  df-fv 6564  df-ov 7429  df-reverse 14769
This theorem is referenced by:  revcl  14771  revlen  14772  revfv  14773  repswrevw  14797  revco  14845
  Copyright terms: Public domain W3C validator