| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > ifeq12 | Structured version Visualization version GIF version | ||
| Description: Equality theorem for conditional operators. (Contributed by NM, 1-Sep-2004.) |
| Ref | Expression |
|---|---|
| ifeq12 | ⊢ ((𝐴 = 𝐵 ∧ 𝐶 = 𝐷) → if(𝜑, 𝐴, 𝐶) = if(𝜑, 𝐵, 𝐷)) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | ifeq1 4496 | . 2 ⊢ (𝐴 = 𝐵 → if(𝜑, 𝐴, 𝐶) = if(𝜑, 𝐵, 𝐶)) | |
| 2 | ifeq2 4497 | . 2 ⊢ (𝐶 = 𝐷 → if(𝜑, 𝐵, 𝐶) = if(𝜑, 𝐵, 𝐷)) | |
| 3 | 1, 2 | sylan9eq 2829 | 1 ⊢ ((𝐴 = 𝐵 ∧ 𝐶 = 𝐷) → if(𝜑, 𝐴, 𝐶) = if(𝜑, 𝐵, 𝐷)) |
| Colors of variables: wff setvar class |
| This proof depends on syntax axioms: → wi 4 ∧ wa 401 = wceq 1572 ifcif 4492 |
| 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-ext 2746 |
| This proof depends on definitions: df-bi 210 df-an 402 df-or 862 df-tru 1575 df-ex 1819 df-sb 2110 df-clab 2753 df-cleq 2766 df-clel 2850 df-rab 3424 df-v 3463 df-un 4161 df-if 4493 |
| This theorem is used by: xaddmnf1 13417 xpsrnbas 17821 ditg0 26281 mumullem2 27655 sqrtcval 45061 sqrtcval2 45062 |
| Copyright terms: Public domain | W3C validator |