MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  brif1 Structured version   Visualization version   GIF version

Theorem brif1 7489
Description: Move a relation inside and outside the conditional operator. (Contributed by SN, 14-Aug-2024.)
Assertion
Ref Expression
brif1 (if(𝜑, 𝐴, 𝐵)𝑅𝐶 ↔ if-(𝜑, 𝐴𝑅𝐶, 𝐵𝑅𝐶))

Proof of Theorem brif1
StepHypRef Expression
1 iftrue 4497 . . 3 (𝜑 → if(𝜑, 𝐴, 𝐵) = 𝐴)
21breq1d 5120 . 2 (𝜑 → (if(𝜑, 𝐴, 𝐵)𝑅𝐶𝐴𝑅𝐶))
3 iffalse 4500 . . 3 𝜑 → if(𝜑, 𝐴, 𝐵) = 𝐵)
43breq1d 5120 . 2 𝜑 → (if(𝜑, 𝐴, 𝐵)𝑅𝐶𝐵𝑅𝐶))
52, 4casesifp 1077 1 (if(𝜑, 𝐴, 𝐵)𝑅𝐶 ↔ if-(𝜑, 𝐴𝑅𝐶, 𝐵𝑅𝐶))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wb 206  if-wif 1062  ifcif 4491   class class class wbr 5110
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-ifp 1063  df-3an 1088  df-tru 1543  df-fal 1553  df-ex 1780  df-sb 2066  df-clab 2709  df-cleq 2722  df-clel 2804  df-rab 3409  df-v 3452  df-dif 3920  df-un 3922  df-ss 3934  df-nul 4300  df-if 4492  df-sn 4593  df-pr 4595  df-op 4599  df-br 5111
This theorem is referenced by:  psdmul  22060  psdmvr  22063
  Copyright terms: Public domain W3C validator