| Mathbox for Steven Nguyen |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > Mathboxes > brif12 | Structured version Visualization version GIF version | ||
| Description: Move a relation inside and outside the conditional operator. (Contributed by SN, 14-Aug-2024.) |
| Ref | Expression |
|---|---|
| brif12 | ⊢ (if(𝜑, 𝐴, 𝐵)𝑅if(𝜑, 𝐶, 𝐷) ↔ if-(𝜑, 𝐴𝑅𝐶, 𝐵𝑅𝐷)) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | iftrue 4467 | . . 3 ⊢ (𝜑 → if(𝜑, 𝐴, 𝐵) = 𝐴) | |
| 2 | iftrue 4467 | . . 3 ⊢ (𝜑 → if(𝜑, 𝐶, 𝐷) = 𝐶) | |
| 3 | 1, 2 | breq12d 5092 | . 2 ⊢ (𝜑 → (if(𝜑, 𝐴, 𝐵)𝑅if(𝜑, 𝐶, 𝐷) ↔ 𝐴𝑅𝐶)) |
| 4 | iffalse 4470 | . . 3 ⊢ (¬ 𝜑 → if(𝜑, 𝐴, 𝐵) = 𝐵) | |
| 5 | iffalse 4470 | . . 3 ⊢ (¬ 𝜑 → if(𝜑, 𝐶, 𝐷) = 𝐷) | |
| 6 | 4, 5 | breq12d 5092 | . 2 ⊢ (¬ 𝜑 → (if(𝜑, 𝐴, 𝐵)𝑅if(𝜑, 𝐶, 𝐷) ↔ 𝐵𝑅𝐷)) |
| 7 | 3, 6 | casesifp 1083 | 1 ⊢ (if(𝜑, 𝐴, 𝐵)𝑅if(𝜑, 𝐶, 𝐷) ↔ if-(𝜑, 𝐴𝑅𝐶, 𝐵𝑅𝐷)) |
| Colors of variables: wff setvar class |
| Syntax hints: ¬ wn 3 ↔ wb 207 if-wif 1068 ifcif 4461 class class class wbr 5079 |
| 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 2712 |
| This theorem depends on definitions: df-bi 208 df-an 397 df-or 854 df-ifp 1069 df-3an 1094 df-tru 1550 df-fal 1560 df-ex 1787 df-sb 2074 df-clab 2719 df-cleq 2732 df-clel 2815 df-rab 3393 df-v 3434 df-dif 3893 df-un 3895 df-ss 3907 df-nul 4269 df-if 4462 df-sn 4563 df-pr 4565 df-op 4569 df-br 5080 |
| This theorem is referenced by: (None) |
| Copyright terms: Public domain | W3C validator |