| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > brif1 | Structured version Visualization version GIF version | ||
| Description: Move a relation inside and outside the conditional operator. (Contributed by SN, 14-Aug-2024.) |
| Ref | Expression |
|---|---|
| brif1 | ⊢ (if(𝜑, 𝐴, 𝐵)𝑅𝐶 ↔ if-(𝜑, 𝐴𝑅𝐶, 𝐵𝑅𝐶)) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | iftrue 4463 | . . 3 ⊢ (𝜑 → if(𝜑, 𝐴, 𝐵) = 𝐴) | |
| 2 | 1 | breq1d 5085 | . 2 ⊢ (𝜑 → (if(𝜑, 𝐴, 𝐵)𝑅𝐶 ↔ 𝐴𝑅𝐶)) |
| 3 | iffalse 4466 | . . 3 ⊢ (¬ 𝜑 → if(𝜑, 𝐴, 𝐵) = 𝐵) | |
| 4 | 3 | breq1d 5085 | . 2 ⊢ (¬ 𝜑 → (if(𝜑, 𝐴, 𝐵)𝑅𝐶 ↔ 𝐵𝑅𝐶)) |
| 5 | 2, 4 | casesifp 1084 | 1 ⊢ (if(𝜑, 𝐴, 𝐵)𝑅𝐶 ↔ if-(𝜑, 𝐴𝑅𝐶, 𝐵𝑅𝐶)) |
| Colors of variables: wff setvar class |
| Syntax hints: ¬ wn 3 ↔ wb 208 if-wif 1069 ifcif 4457 class class class wbr 5075 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1803 ax-4 1817 ax-5 1918 ax-6 1975 ax-7 2016 ax-8 2123 ax-9 2131 ax-ext 2713 |
| This theorem depends on definitions: df-bi 209 df-an 398 df-or 855 df-ifp 1070 df-3an 1095 df-tru 1551 df-fal 1561 df-ex 1788 df-sb 2075 df-clab 2720 df-cleq 2733 df-clel 2816 df-rab 3394 df-v 3435 df-dif 3888 df-un 3890 df-ss 3902 df-nul 4265 df-if 4458 df-sn 4559 df-pr 4561 df-op 4565 df-br 5076 |
| This theorem is referenced by: psdmul 22158 psdmvr 22161 |
| Copyright terms: Public domain | W3C validator |