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 4478 | . . 3 ⊢ ((𝜑 ↔ 𝜓) → if(𝜑, 𝐶, 𝐴) = if(𝜓, 𝐶, 𝐴)) | |
3 | 1, 2 | ax-mp 5 | . 2 ⊢ if(𝜑, 𝐶, 𝐴) = if(𝜓, 𝐶, 𝐴) |
4 | ifbieq2i.2 | . . 3 ⊢ 𝐴 = 𝐵 | |
5 | ifeq2 4461 | . . 3 ⊢ (𝐴 = 𝐵 → if(𝜓, 𝐶, 𝐴) = if(𝜓, 𝐶, 𝐵)) | |
6 | 4, 5 | ax-mp 5 | . 2 ⊢ if(𝜓, 𝐶, 𝐴) = if(𝜓, 𝐶, 𝐵) |
7 | 3, 6 | eqtri 2766 | 1 ⊢ if(𝜑, 𝐶, 𝐴) = if(𝜓, 𝐶, 𝐵) |
Colors of variables: wff setvar class |
Syntax hints: ↔ wb 205 = wceq 1539 ifcif 4456 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1799 ax-4 1813 ax-5 1914 ax-6 1972 ax-7 2012 ax-8 2110 ax-9 2118 ax-ext 2709 |
This theorem depends on definitions: df-bi 206 df-an 396 df-or 844 df-tru 1542 df-ex 1784 df-sb 2069 df-clab 2716 df-cleq 2730 df-clel 2817 df-rab 3072 df-v 3424 df-un 3888 df-if 4457 |
This theorem is referenced by: ifbieq12i 4483 gcdcom 16148 gcdass 16183 lcmcom 16226 lcmass 16247 bj-xpimasn 35072 cdleme31sdnN 38328 cdlemefr44 38366 cdleme48fv 38440 cdlemeg49lebilem 38480 cdleme50eq 38482 hoidmvlelem3 44025 hoidmvlelem4 44026 |
Copyright terms: Public domain | W3C validator |