| 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 4514 | . . 3 ⊢ ((𝜑 ↔ 𝜓) → if(𝜑, 𝐶, 𝐴) = if(𝜓, 𝐶, 𝐴)) | |
| 3 | 1, 2 | ax-mp 5 | . 2 ⊢ if(𝜑, 𝐶, 𝐴) = if(𝜓, 𝐶, 𝐴) |
| 4 | ifbieq2i.2 | . . 3 ⊢ 𝐴 = 𝐵 | |
| 5 | ifeq2 4496 | . . 3 ⊢ (𝐴 = 𝐵 → if(𝜓, 𝐶, 𝐴) = if(𝜓, 𝐶, 𝐵)) | |
| 6 | 4, 5 | ax-mp 5 | . 2 ⊢ if(𝜓, 𝐶, 𝐴) = if(𝜓, 𝐶, 𝐵) |
| 7 | 3, 6 | eqtri 2753 | 1 ⊢ if(𝜑, 𝐶, 𝐴) = if(𝜓, 𝐶, 𝐵) |
| Colors of variables: wff setvar class |
| Syntax hints: ↔ wb 206 = wceq 1540 ifcif 4491 |
| 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-ext 2702 |
| This theorem depends on definitions: df-bi 207 df-an 396 df-or 848 df-tru 1543 df-ex 1780 df-sb 2066 df-clab 2709 df-cleq 2722 df-clel 2804 df-rab 3409 df-v 3452 df-un 3922 df-if 4492 |
| This theorem is referenced by: ifbieq12i 4519 gcdcom 16490 gcdass 16524 lcmcom 16570 lcmass 16591 bj-xpimasn 36950 cdleme31sdnN 40388 cdlemefr44 40426 cdleme48fv 40500 cdlemeg49lebilem 40540 cdleme50eq 40542 redvmptabs 42355 hoidmvlelem3 46602 hoidmvlelem4 46603 |
| Copyright terms: Public domain | W3C validator |