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 34249
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 34248 . . 3 (𝐹 ∈ Word ℝ β†’ (π‘‡β€˜πΉ) = (𝑛 ∈ (0..^(β™―β€˜πΉ)) ↦ (π‘Š Ξ£g (𝑖 ∈ (0...𝑛) ↦ (sgnβ€˜(πΉβ€˜π‘–))))))
65adantr 479 . 2 ((𝐹 ∈ Word ℝ ∧ 𝑁 ∈ (0..^(β™―β€˜πΉ))) β†’ (π‘‡β€˜πΉ) = (𝑛 ∈ (0..^(β™―β€˜πΉ)) ↦ (π‘Š Ξ£g (𝑖 ∈ (0...𝑛) ↦ (sgnβ€˜(πΉβ€˜π‘–))))))
7 simpr 483 . . . . 5 (((𝐹 ∈ Word ℝ ∧ 𝑁 ∈ (0..^(β™―β€˜πΉ))) ∧ 𝑛 = 𝑁) β†’ 𝑛 = 𝑁)
87oveq2d 7429 . . . 4 (((𝐹 ∈ Word ℝ ∧ 𝑁 ∈ (0..^(β™―β€˜πΉ))) ∧ 𝑛 = 𝑁) β†’ (0...𝑛) = (0...𝑁))
98mpteq1d 5239 . . 3 (((𝐹 ∈ Word ℝ ∧ 𝑁 ∈ (0..^(β™―β€˜πΉ))) ∧ 𝑛 = 𝑁) β†’ (𝑖 ∈ (0...𝑛) ↦ (sgnβ€˜(πΉβ€˜π‘–))) = (𝑖 ∈ (0...𝑁) ↦ (sgnβ€˜(πΉβ€˜π‘–))))
109oveq2d 7429 . 2 (((𝐹 ∈ Word ℝ ∧ 𝑁 ∈ (0..^(β™―β€˜πΉ))) ∧ 𝑛 = 𝑁) β†’ (π‘Š Ξ£g (𝑖 ∈ (0...𝑛) ↦ (sgnβ€˜(πΉβ€˜π‘–)))) = (π‘Š Ξ£g (𝑖 ∈ (0...𝑁) ↦ (sgnβ€˜(πΉβ€˜π‘–)))))
11 simpr 483 . 2 ((𝐹 ∈ Word ℝ ∧ 𝑁 ∈ (0..^(β™―β€˜πΉ))) β†’ 𝑁 ∈ (0..^(β™―β€˜πΉ)))
12 ovexd 7448 . 2 ((𝐹 ∈ Word ℝ ∧ 𝑁 ∈ (0..^(β™―β€˜πΉ))) β†’ (π‘Š Ξ£g (𝑖 ∈ (0...𝑁) ↦ (sgnβ€˜(πΉβ€˜π‘–)))) ∈ V)
136, 10, 11, 12fvmptd 7005 1 ((𝐹 ∈ Word ℝ ∧ 𝑁 ∈ (0..^(β™―β€˜πΉ))) β†’ ((π‘‡β€˜πΉ)β€˜π‘) = (π‘Š Ξ£g (𝑖 ∈ (0...𝑁) ↦ (sgnβ€˜(πΉβ€˜π‘–)))))
Colors of variables: wff setvar class
Syntax hints:   β†’ wi 4   ∧ wa 394   = wceq 1533   ∈ wcel 2098   β‰  wne 2930  Vcvv 3463  ifcif 4525  {cpr 4627  {ctp 4629  βŸ¨cop 4631   ↦ cmpt 5227  β€˜cfv 6543  (class class class)co 7413   ∈ cmpo 7415  β„cr 11132  0cc0 11133  1c1 11134   βˆ’ cmin 11469  -cneg 11470  ...cfz 13511  ..^cfzo 13654  β™―chash 14316  Word cword 14491  sgncsgn 15060  Ξ£csu 15659  ndxcnx 17156  Basecbs 17174  +gcplusg 17227   Ξ£g cgsu 17416
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1789  ax-4 1803  ax-5 1905  ax-6 1963  ax-7 2003  ax-8 2100  ax-9 2108  ax-10 2129  ax-11 2146  ax-12 2166  ax-ext 2696  ax-rep 5281  ax-sep 5295  ax-nul 5302  ax-pr 5424
This theorem depends on definitions:  df-bi 206  df-an 395  df-or 846  df-3an 1086  df-tru 1536  df-fal 1546  df-ex 1774  df-nf 1778  df-sb 2060  df-mo 2528  df-eu 2557  df-clab 2703  df-cleq 2717  df-clel 2802  df-nfc 2877  df-ne 2931  df-ral 3052  df-rex 3061  df-reu 3365  df-rab 3420  df-v 3465  df-sbc 3771  df-csb 3887  df-dif 3944  df-un 3946  df-in 3948  df-ss 3958  df-nul 4320  df-if 4526  df-sn 4626  df-pr 4628  df-op 4632  df-uni 4905  df-iun 4994  df-br 5145  df-opab 5207  df-mpt 5228  df-id 5571  df-xp 5679  df-rel 5680  df-cnv 5681  df-co 5682  df-dm 5683  df-rn 5684  df-res 5685  df-ima 5686  df-iota 6495  df-fun 6545  df-fn 6546  df-f 6547  df-f1 6548  df-fo 6549  df-f1o 6550  df-fv 6551  df-ov 7416
This theorem is referenced by:  signstcl  34250  signstfvn  34254  signstfvp  34256
  Copyright terms: Public domain W3C validator