| Mathbox for Thierry Arnoux |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > Mathboxes > signspval | Structured version Visualization version GIF version | ||
| Description: The value of the skipping 0 sign operation. (Contributed by Thierry Arnoux, 9-Sep-2018.) |
| Ref | Expression |
|---|---|
| signsw.p | ⊢ ⨣ = (𝑎 ∈ {-1, 0, 1}, 𝑏 ∈ {-1, 0, 1} ↦ if(𝑏 = 0, 𝑎, 𝑏)) |
| Ref | Expression |
|---|---|
| signspval | ⊢ ((𝑋 ∈ {-1, 0, 1} ∧ 𝑌 ∈ {-1, 0, 1}) → (𝑋 ⨣ 𝑌) = if(𝑌 = 0, 𝑋, 𝑌)) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | ifcl 4542 | . 2 ⊢ ((𝑋 ∈ {-1, 0, 1} ∧ 𝑌 ∈ {-1, 0, 1}) → if(𝑌 = 0, 𝑋, 𝑌) ∈ {-1, 0, 1}) | |
| 2 | ifeq1 4500 | . . 3 ⊢ (𝑎 = 𝑋 → if(𝑏 = 0, 𝑎, 𝑏) = if(𝑏 = 0, 𝑋, 𝑏)) | |
| 3 | eqeq1 2734 | . . . 4 ⊢ (𝑏 = 𝑌 → (𝑏 = 0 ↔ 𝑌 = 0)) | |
| 4 | id 22 | . . . 4 ⊢ (𝑏 = 𝑌 → 𝑏 = 𝑌) | |
| 5 | 3, 4 | ifbieq2d 4523 | . . 3 ⊢ (𝑏 = 𝑌 → if(𝑏 = 0, 𝑋, 𝑏) = if(𝑌 = 0, 𝑋, 𝑌)) |
| 6 | signsw.p | . . 3 ⊢ ⨣ = (𝑎 ∈ {-1, 0, 1}, 𝑏 ∈ {-1, 0, 1} ↦ if(𝑏 = 0, 𝑎, 𝑏)) | |
| 7 | 2, 5, 6 | ovmpog 7555 | . 2 ⊢ ((𝑋 ∈ {-1, 0, 1} ∧ 𝑌 ∈ {-1, 0, 1} ∧ if(𝑌 = 0, 𝑋, 𝑌) ∈ {-1, 0, 1}) → (𝑋 ⨣ 𝑌) = if(𝑌 = 0, 𝑋, 𝑌)) |
| 8 | 1, 7 | mpd3an3 1464 | 1 ⊢ ((𝑋 ∈ {-1, 0, 1} ∧ 𝑌 ∈ {-1, 0, 1}) → (𝑋 ⨣ 𝑌) = if(𝑌 = 0, 𝑋, 𝑌)) |
| Colors of variables: wff setvar class |
| Syntax hints: → wi 4 ∧ wa 395 = wceq 1540 ∈ wcel 2109 ifcif 4496 {ctp 4601 (class class class)co 7394 ∈ cmpo 7396 0cc0 11086 1c1 11087 -cneg 11424 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1795 ax-4 1809 ax-5 1910 ax-6 1967 ax-7 2008 ax-8 2111 ax-9 2119 ax-10 2142 ax-11 2158 ax-12 2178 ax-ext 2702 ax-sep 5259 ax-nul 5269 ax-pr 5395 |
| This theorem depends on definitions: df-bi 207 df-an 396 df-or 848 df-3an 1088 df-tru 1543 df-fal 1553 df-ex 1780 df-nf 1784 df-sb 2066 df-mo 2534 df-eu 2563 df-clab 2709 df-cleq 2722 df-clel 2804 df-nfc 2880 df-ral 3047 df-rex 3056 df-rab 3412 df-v 3457 df-sbc 3762 df-dif 3925 df-un 3927 df-ss 3939 df-nul 4305 df-if 4497 df-sn 4598 df-pr 4600 df-op 4604 df-uni 4880 df-br 5116 df-opab 5178 df-id 5541 df-xp 5652 df-rel 5653 df-cnv 5654 df-co 5655 df-dm 5656 df-iota 6472 df-fun 6521 df-fv 6527 df-ov 7397 df-oprab 7398 df-mpo 7399 |
| This theorem is referenced by: signsw0glem 34552 signswmnd 34556 signswrid 34557 signswlid 34558 signswn0 34559 signswch 34560 |
| Copyright terms: Public domain | W3C validator |