Users' Mathboxes Mathbox for Thierry Arnoux < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  signstfval Structured version   Visualization version   GIF version

Theorem signstfval 33575
Description: Value of the zero-skipping sign word. (Contributed by Thierry Arnoux, 8-Oct-2018.)
Hypotheses
Ref Expression
signsv.p ⨣ = (π‘Ž ∈ {-1, 0, 1}, 𝑏 ∈ {-1, 0, 1} ↦ if(𝑏 = 0, π‘Ž, 𝑏))
signsv.w π‘Š = {⟨(Baseβ€˜ndx), {-1, 0, 1}⟩, ⟨(+gβ€˜ndx), ⨣ ⟩}
signsv.t 𝑇 = (𝑓 ∈ Word ℝ ↦ (𝑛 ∈ (0..^(β™―β€˜π‘“)) ↦ (π‘Š Ξ£g (𝑖 ∈ (0...𝑛) ↦ (sgnβ€˜(π‘“β€˜π‘–))))))
signsv.v 𝑉 = (𝑓 ∈ Word ℝ ↦ Σ𝑗 ∈ (1..^(β™―β€˜π‘“))if(((π‘‡β€˜π‘“)β€˜π‘—) β‰  ((π‘‡β€˜π‘“)β€˜(𝑗 βˆ’ 1)), 1, 0))
Assertion
Ref Expression
signstfval ((𝐹 ∈ Word ℝ ∧ 𝑁 ∈ (0..^(β™―β€˜πΉ))) β†’ ((π‘‡β€˜πΉ)β€˜π‘) = (π‘Š Ξ£g (𝑖 ∈ (0...𝑁) ↦ (sgnβ€˜(πΉβ€˜π‘–)))))
Distinct variable groups:   𝑓,𝑖,𝑛,𝐹   𝑖,𝑁,𝑛   𝑓,π‘Š,𝑛
Allowed substitution hints:   ⨣ (𝑓,𝑖,𝑗,𝑛,π‘Ž,𝑏)   𝑇(𝑓,𝑖,𝑗,𝑛,π‘Ž,𝑏)   𝐹(𝑗,π‘Ž,𝑏)   𝑁(𝑓,𝑗,π‘Ž,𝑏)   𝑉(𝑓,𝑖,𝑗,𝑛,π‘Ž,𝑏)   π‘Š(𝑖,𝑗,π‘Ž,𝑏)

Proof of Theorem signstfval
StepHypRef Expression
1 signsv.p . . . 4 ⨣ = (π‘Ž ∈ {-1, 0, 1}, 𝑏 ∈ {-1, 0, 1} ↦ if(𝑏 = 0, π‘Ž, 𝑏))
2 signsv.w . . . 4 π‘Š = {⟨(Baseβ€˜ndx), {-1, 0, 1}⟩, ⟨(+gβ€˜ndx), ⨣ ⟩}
3 signsv.t . . . 4 𝑇 = (𝑓 ∈ Word ℝ ↦ (𝑛 ∈ (0..^(β™―β€˜π‘“)) ↦ (π‘Š Ξ£g (𝑖 ∈ (0...𝑛) ↦ (sgnβ€˜(π‘“β€˜π‘–))))))
4 signsv.v . . . 4 𝑉 = (𝑓 ∈ Word ℝ ↦ Σ𝑗 ∈ (1..^(β™―β€˜π‘“))if(((π‘‡β€˜π‘“)β€˜π‘—) β‰  ((π‘‡β€˜π‘“)β€˜(𝑗 βˆ’ 1)), 1, 0))
51, 2, 3, 4signstfv 33574 . . 3 (𝐹 ∈ Word ℝ β†’ (π‘‡β€˜πΉ) = (𝑛 ∈ (0..^(β™―β€˜πΉ)) ↦ (π‘Š Ξ£g (𝑖 ∈ (0...𝑛) ↦ (sgnβ€˜(πΉβ€˜π‘–))))))
65adantr 482 . 2 ((𝐹 ∈ Word ℝ ∧ 𝑁 ∈ (0..^(β™―β€˜πΉ))) β†’ (π‘‡β€˜πΉ) = (𝑛 ∈ (0..^(β™―β€˜πΉ)) ↦ (π‘Š Ξ£g (𝑖 ∈ (0...𝑛) ↦ (sgnβ€˜(πΉβ€˜π‘–))))))
7 simpr 486 . . . . 5 (((𝐹 ∈ Word ℝ ∧ 𝑁 ∈ (0..^(β™―β€˜πΉ))) ∧ 𝑛 = 𝑁) β†’ 𝑛 = 𝑁)
87oveq2d 7425 . . . 4 (((𝐹 ∈ Word ℝ ∧ 𝑁 ∈ (0..^(β™―β€˜πΉ))) ∧ 𝑛 = 𝑁) β†’ (0...𝑛) = (0...𝑁))
98mpteq1d 5244 . . 3 (((𝐹 ∈ Word ℝ ∧ 𝑁 ∈ (0..^(β™―β€˜πΉ))) ∧ 𝑛 = 𝑁) β†’ (𝑖 ∈ (0...𝑛) ↦ (sgnβ€˜(πΉβ€˜π‘–))) = (𝑖 ∈ (0...𝑁) ↦ (sgnβ€˜(πΉβ€˜π‘–))))
109oveq2d 7425 . 2 (((𝐹 ∈ Word ℝ ∧ 𝑁 ∈ (0..^(β™―β€˜πΉ))) ∧ 𝑛 = 𝑁) β†’ (π‘Š Ξ£g (𝑖 ∈ (0...𝑛) ↦ (sgnβ€˜(πΉβ€˜π‘–)))) = (π‘Š Ξ£g (𝑖 ∈ (0...𝑁) ↦ (sgnβ€˜(πΉβ€˜π‘–)))))
11 simpr 486 . 2 ((𝐹 ∈ Word ℝ ∧ 𝑁 ∈ (0..^(β™―β€˜πΉ))) β†’ 𝑁 ∈ (0..^(β™―β€˜πΉ)))
12 ovexd 7444 . 2 ((𝐹 ∈ Word ℝ ∧ 𝑁 ∈ (0..^(β™―β€˜πΉ))) β†’ (π‘Š Ξ£g (𝑖 ∈ (0...𝑁) ↦ (sgnβ€˜(πΉβ€˜π‘–)))) ∈ V)
136, 10, 11, 12fvmptd 7006 1 ((𝐹 ∈ Word ℝ ∧ 𝑁 ∈ (0..^(β™―β€˜πΉ))) β†’ ((π‘‡β€˜πΉ)β€˜π‘) = (π‘Š Ξ£g (𝑖 ∈ (0...𝑁) ↦ (sgnβ€˜(πΉβ€˜π‘–)))))
Colors of variables: wff setvar class
Syntax hints:   β†’ wi 4   ∧ wa 397   = wceq 1542   ∈ wcel 2107   β‰  wne 2941  Vcvv 3475  ifcif 4529  {cpr 4631  {ctp 4633  βŸ¨cop 4635   ↦ cmpt 5232  β€˜cfv 6544  (class class class)co 7409   ∈ cmpo 7411  β„cr 11109  0cc0 11110  1c1 11111   βˆ’ cmin 11444  -cneg 11445  ...cfz 13484  ..^cfzo 13627  β™―chash 14290  Word cword 14464  sgncsgn 15033  Ξ£csu 15632  ndxcnx 17126  Basecbs 17144  +gcplusg 17197   Ξ£g cgsu 17386
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2109  ax-9 2117  ax-10 2138  ax-11 2155  ax-12 2172  ax-ext 2704  ax-rep 5286  ax-sep 5300  ax-nul 5307  ax-pr 5428
This theorem depends on definitions:  df-bi 206  df-an 398  df-or 847  df-3an 1090  df-tru 1545  df-fal 1555  df-ex 1783  df-nf 1787  df-sb 2069  df-mo 2535  df-eu 2564  df-clab 2711  df-cleq 2725  df-clel 2811  df-nfc 2886  df-ne 2942  df-ral 3063  df-rex 3072  df-reu 3378  df-rab 3434  df-v 3477  df-sbc 3779  df-csb 3895  df-dif 3952  df-un 3954  df-in 3956  df-ss 3966  df-nul 4324  df-if 4530  df-sn 4630  df-pr 4632  df-op 4636  df-uni 4910  df-iun 5000  df-br 5150  df-opab 5212  df-mpt 5233  df-id 5575  df-xp 5683  df-rel 5684  df-cnv 5685  df-co 5686  df-dm 5687  df-rn 5688  df-res 5689  df-ima 5690  df-iota 6496  df-fun 6546  df-fn 6547  df-f 6548  df-f1 6549  df-fo 6550  df-f1o 6551  df-fv 6552  df-ov 7412
This theorem is referenced by:  signstcl  33576  signstfvn  33580  signstfvp  33582
  Copyright terms: Public domain W3C validator