| 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 4489 | . . 3 ⊢ ((𝜑 ↔ 𝜓) → if(𝜑, 𝐶, 𝐴) = if(𝜓, 𝐶, 𝐴)) | |
| 3 | 1, 2 | ax-mp 5 | . 2 ⊢ if(𝜑, 𝐶, 𝐴) = if(𝜓, 𝐶, 𝐴) |
| 4 | ifbieq2i.2 | . . 3 ⊢ 𝐴 = 𝐵 | |
| 5 | ifeq2 4471 | . . 3 ⊢ (𝐴 = 𝐵 → if(𝜓, 𝐶, 𝐴) = if(𝜓, 𝐶, 𝐵)) | |
| 6 | 4, 5 | ax-mp 5 | . 2 ⊢ if(𝜓, 𝐶, 𝐴) = if(𝜓, 𝐶, 𝐵) |
| 7 | 3, 6 | eqtri 2759 | 1 ⊢ if(𝜑, 𝐶, 𝐴) = if(𝜓, 𝐶, 𝐵) |
| Colors of variables: wff setvar class |
| Syntax hints: ↔ wb 206 = wceq 1542 ifcif 4466 |
| 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 2708 |
| 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 2715 df-cleq 2728 df-clel 2811 df-rab 3390 df-v 3431 df-un 3894 df-if 4467 |
| This theorem is referenced by: ifbieq12i 4494 gcdcom 16482 gcdass 16516 lcmcom 16562 lcmass 16583 bj-xpimasn 37262 cdleme31sdnN 40833 cdlemefr44 40871 cdleme48fv 40945 cdlemeg49lebilem 40985 cdleme50eq 40987 redvmptabs 42792 hoidmvlelem3 47025 hoidmvlelem4 47026 |
| Copyright terms: Public domain | W3C validator |