| 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 4477 | . . 3 ⊢ ((𝜑 ↔ 𝜓) → if(𝜑, 𝐶, 𝐴) = if(𝜓, 𝐶, 𝐴)) | |
| 3 | 1, 2 | ax-mp 5 | . 2 ⊢ if(𝜑, 𝐶, 𝐴) = if(𝜓, 𝐶, 𝐴) |
| 4 | ifbieq2i.2 | . . 3 ⊢ 𝐴 = 𝐵 | |
| 5 | ifeq2 4459 | . . 3 ⊢ (𝐴 = 𝐵 → if(𝜓, 𝐶, 𝐴) = if(𝜓, 𝐶, 𝐵)) | |
| 6 | 4, 5 | ax-mp 5 | . 2 ⊢ if(𝜓, 𝐶, 𝐴) = if(𝜓, 𝐶, 𝐵) |
| 7 | 3, 6 | eqtri 2762 | 1 ⊢ if(𝜑, 𝐶, 𝐴) = if(𝜓, 𝐶, 𝐵) |
| Colors of variables: wff setvar class |
| Syntax hints: ↔ wb 207 = wceq 1547 ifcif 4454 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1802 ax-4 1816 ax-5 1917 ax-6 1974 ax-7 2015 ax-8 2121 ax-9 2129 ax-ext 2711 |
| This theorem depends on definitions: df-bi 208 df-an 397 df-or 854 df-tru 1550 df-ex 1787 df-sb 2074 df-clab 2718 df-cleq 2731 df-clel 2814 df-rab 3392 df-v 3433 df-un 3888 df-if 4455 |
| This theorem is referenced by: ifbieq12i 4482 gcdcom 16473 gcdass 16507 lcmcom 16553 lcmass 16574 bj-xpimasn 37308 cdleme31sdnN 40879 cdlemefr44 40917 cdleme48fv 40991 cdlemeg49lebilem 41031 cdleme50eq 41033 redvmptabs 42837 hoidmvlelem3 47040 hoidmvlelem4 47041 |
| Copyright terms: Public domain | W3C validator |