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

Theorem signswrid 35389
Description: The zero-skipping operation propagates nonzeros. (Contributed by Thierry Arnoux, 11-Oct-2018.)
Hypotheses
Ref Expression
signsw.p ⨣ = (𝑎 ∈ { -1, 0, 1}, 𝑏 ∈ { -1, 0, 1} ↦ if(𝑏 = 0, 𝑎, 𝑏))
signsw.w 𝑊 = {⟨(Base‘ndx), { -1, 0, 1}⟩, ⟨(+g‘ndx), ⨣ ⟩}
Assertion
Ref Expression
signswrid (𝑋 ∈ { -1, 0, 1} → (𝑋 ⨣ 0) = 𝑋)
Distinct variable group:   𝑎,𝑏,𝑋
Allowed substitution hints:   ⨣ (𝑎, 𝑏)   𝑊(𝑎, 𝑏)

Proof of Theorem signswrid
StepHypRef Expression
1 c0ex 11358 . . . 4 0 ∈ V
21tpid2 4741 . . 3 0 ∈ { -1, 0, 1}
3 signsw.p . . . 4 ⨣ = (𝑎 ∈ { -1, 0, 1}, 𝑏 ∈ { -1, 0, 1} ↦ if(𝑏 = 0, 𝑎, 𝑏))
43signspval 35383 . . 3 ((𝑋 ∈ { -1, 0, 1} ∧ 0 ∈ { -1, 0, 1}) → (𝑋 ⨣ 0) = if(0 = 0, 𝑋, 0))
52, 4mpan2 704 . 2 (𝑋 ∈ { -1, 0, 1} → (𝑋 ⨣ 0) = if(0 = 0, 𝑋, 0))
6 eqid 2774 . . 3 0 = 0
7 iftrue 4498 . . 3 (0 = 0 → if(0 = 0, 𝑋, 0) = 𝑋)
86, 7mp1i 14 . 2 (𝑋 ∈ { -1, 0, 1} → if(0 = 0, 𝑋, 0) = 𝑋)
95, 8eqtrd 2809 1 (𝑋 ∈ { -1, 0, 1} → (𝑋 ⨣ 0) = 𝑋)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   = wceq 1572   ∈ wcel 2156  ifcif 4492  {cpr 4597  {ctp 4599  ⟨cop 4848  ‘cfv 6579  (class class class)co 7470   ∈ cmpo 7472  0cc0 11258  1c1 11259   -cneg 11600  ndxcnx 17439  Basecbs 17455  +gcplusg 17496
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-sep 5263  ax-pr 5406  ax-1cn 11316  ax-icn 11317  ax-addcl 11318  ax-mulcl 11320  ax-i2m1 11326
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1105  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ral 3092  df-rex 3102  df-rab 3424  df-v 3463  df-sbc 3750  df-ss 3908  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-sn 4596  df-pr 4598  df-tp 4600  df-op 4849  df-uni 4881  df-br 5117  df-opab 5182  df-id 5561  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-iota 6533  df-fun 6581  df-fv 6587  df-ov 7473  df-oprab 7474  df-mpo 7475
This theorem is used by:  signstfveq0  35408
  Copyright terms: Public domain W3C validator