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

Theorem signsw0glem 35384
Description: Neutral element property of ⨣. (Contributed by Thierry Arnoux, 9-Sep-2018.)
Hypothesis
Ref Expression
signsw.p ⨣ = (𝑎 ∈ { -1, 0, 1}, 𝑏 ∈ { -1, 0, 1} ↦ if(𝑏 = 0, 𝑎, 𝑏))
Assertion
Ref Expression
signsw0glem ∀𝑢 ∈ { -1, 0, 1} ((0 ⨣ 𝑢) = 𝑢 ∧ (𝑢 ⨣ 0) = 𝑢)
Distinct variable group:   𝑎,𝑏,𝑢
Allowed substitution hints:   ⨣ (𝑢, 𝑎, 𝑏)

Proof of Theorem signsw0glem
StepHypRef Expression
1 c0ex 11358 . . . . . 6 0 ∈ V
21tpid2 4741 . . . . 5 0 ∈ { -1, 0, 1}
3 signsw.p . . . . . 6 ⨣ = (𝑎 ∈ { -1, 0, 1}, 𝑏 ∈ { -1, 0, 1} ↦ if(𝑏 = 0, 𝑎, 𝑏))
43signspval 35383 . . . . 5 ((0 ∈ { -1, 0, 1} ∧ 𝑢 ∈ { -1, 0, 1}) → (0 ⨣ 𝑢) = if(𝑢 = 0, 0, 𝑢))
52, 4mpan 703 . . . 4 (𝑢 ∈ { -1, 0, 1} → (0 ⨣ 𝑢) = if(𝑢 = 0, 0, 𝑢))
6 iftrue 4498 . . . . . 6 (𝑢 = 0 → if(𝑢 = 0, 0, 𝑢) = 0)
7 id 23 . . . . . 6 (𝑢 = 0 → 𝑢 = 0)
86, 7eqtr4d 2812 . . . . 5 (𝑢 = 0 → if(𝑢 = 0, 0, 𝑢) = 𝑢)
9 iffalse 4501 . . . . 5 (¬ 𝑢 = 0 → if(𝑢 = 0, 0, 𝑢) = 𝑢)
108, 9pm2.61i 184 . . . 4 if(𝑢 = 0, 0, 𝑢) = 𝑢
115, 10eqtrdi 2825 . . 3 (𝑢 ∈ { -1, 0, 1} → (0 ⨣ 𝑢) = 𝑢)
123signspval 35383 . . . . 5 ((𝑢 ∈ { -1, 0, 1} ∧ 0 ∈ { -1, 0, 1}) → (𝑢 ⨣ 0) = if(0 = 0, 𝑢, 0))
132, 12mpan2 704 . . . 4 (𝑢 ∈ { -1, 0, 1} → (𝑢 ⨣ 0) = if(0 = 0, 𝑢, 0))
14 eqid 2774 . . . . 5 0 = 0
1514iftruei 4499 . . . 4 if(0 = 0, 𝑢, 0) = 𝑢
1613, 15eqtrdi 2825 . . 3 (𝑢 ∈ { -1, 0, 1} → (𝑢 ⨣ 0) = 𝑢)
1711, 16jca 521 . 2 (𝑢 ∈ { -1, 0, 1} → ((0 ⨣ 𝑢) = 𝑢 ∧ (𝑢 ⨣ 0) = 𝑢))
1817rgen 3093 1 ∀𝑢 ∈ { -1, 0, 1} ((0 ⨣ 𝑢) = 𝑢 ∧ (𝑢 ⨣ 0) = 𝑢)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ∧ wa 401   = wceq 1572   ∈ wcel 2156  ∀wral 3091  ifcif 4492  {ctp 4599  (class class class)co 7470   ∈ cmpo 7472  0cc0 11258  1c1 11259   -cneg 11600
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:  signsw0g  35387  signswmnd  35388
  Copyright terms: Public domain W3C validator