Users' Mathboxes Mathbox for Steven Nguyen < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  brif2 Structured version   Visualization version   GIF version

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

Proof of Theorem brif2
StepHypRef Expression
1 iftrue 4480 . . 3 (𝜑 → if(𝜑, 𝐴, 𝐵) = 𝐴)
21breq2d 5106 . 2 (𝜑 → (𝐶𝑅if(𝜑, 𝐴, 𝐵) ↔ 𝐶𝑅𝐴))
3 iffalse 4483 . . 3 𝜑 → if(𝜑, 𝐴, 𝐵) = 𝐵)
43breq2d 5106 . 2 𝜑 → (𝐶𝑅if(𝜑, 𝐴, 𝐵) ↔ 𝐶𝑅𝐵))
52, 4casesifp 1086 1 (𝐶𝑅if(𝜑, 𝐴, 𝐵) ↔ if-(𝜑, 𝐶𝑅𝐴, 𝐶𝑅𝐵))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wb 208  if-wif 1071  ifcif 4474   class class class wbr 5094
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1809  ax-4 1823  ax-5 1924  ax-6 1981  ax-7 2022  ax-8 2138  ax-9 2146  ax-ext 2728
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 857  df-ifp 1072  df-3an 1097  df-tru 1557  df-fal 1567  df-ex 1794  df-sb 2085  df-clab 2735  df-cleq 2748  df-clel 2831  df-rab 3409  df-v 3450  df-dif 3902  df-un 3904  df-ss 3916  df-nul 4281  df-if 4475  df-sn 4577  df-pr 4579  df-op 4583  df-br 5095
This theorem is referenced by:  prjspner01  43155
  Copyright terms: Public domain W3C validator