| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > ifbieq2i | Structured version Visualization version GIF version | ||
| Description: Equivalence/equality inference for conditional operators. (Contributed by Paul Chapman, 22-Jun-2011.) |
| Ref | Expression |
|---|---|
| ifbieq2i.1 | ⊢ (𝜑 ↔ 𝜓) |
| ifbieq2i.2 | ⊢ 𝐴 = 𝐵 |
| Ref | Expression |
|---|---|
| ifbieq2i | ⊢ if(𝜑, 𝐶, 𝐴) = if(𝜓, 𝐶, 𝐵) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | ifbieq2i.1 | . . 3 ⊢ (𝜑 ↔ 𝜓) | |
| 2 | ifbi 4503 | . . 3 ⊢ ((𝜑 ↔ 𝜓) → if(𝜑, 𝐶, 𝐴) = if(𝜓, 𝐶, 𝐴)) | |
| 3 | 1, 2 | ax-mp 5 | . 2 ⊢ if(𝜑, 𝐶, 𝐴) = if(𝜓, 𝐶, 𝐴) |
| 4 | ifbieq2i.2 | . . 3 ⊢ 𝐴 = 𝐵 | |
| 5 | ifeq2 4485 | . . 3 ⊢ (𝐴 = 𝐵 → if(𝜓, 𝐶, 𝐴) = if(𝜓, 𝐶, 𝐵)) | |
| 6 | 4, 5 | ax-mp 5 | . 2 ⊢ if(𝜓, 𝐶, 𝐴) = if(𝜓, 𝐶, 𝐵) |
| 7 | 3, 6 | eqtri 2760 | 1 ⊢ if(𝜑, 𝐶, 𝐴) = if(𝜓, 𝐶, 𝐵) |
| Colors of variables: wff setvar class |
| Syntax hints: ↔ wb 206 = wceq 1542 ifcif 4480 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1797 ax-4 1811 ax-5 1912 ax-6 1969 ax-7 2010 ax-8 2116 ax-9 2124 ax-ext 2709 |
| This theorem depends on definitions: df-bi 207 df-an 396 df-or 849 df-tru 1545 df-ex 1782 df-sb 2069 df-clab 2716 df-cleq 2729 df-clel 2812 df-rab 3401 df-v 3443 df-un 3907 df-if 4481 |
| This theorem is referenced by: ifbieq12i 4508 gcdcom 16444 gcdass 16478 lcmcom 16524 lcmass 16545 bj-xpimasn 37131 cdleme31sdnN 40684 cdlemefr44 40722 cdleme48fv 40796 cdlemeg49lebilem 40836 cdleme50eq 40838 redvmptabs 42651 hoidmvlelem3 46877 hoidmvlelem4 46878 |
| Copyright terms: Public domain | W3C validator |