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

Theorem brif1 7547
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 4490 . . 3 (𝜑 → if(𝜑, 𝐴, 𝐵) = 𝐴)
21breq1d 5117 . 2 (𝜑 → (if(𝜑, 𝐴, 𝐵)𝑅𝐶 ↔ 𝐴𝑅𝐶))
3 iffalse 4493 . . 3 (¬ 𝜑 → if(𝜑, 𝐴, 𝐵) = 𝐵)
43breq1d 5117 . 2 (¬ 𝜑 → (if(𝜑, 𝐴, 𝐵)𝑅𝐶 ↔ 𝐵𝑅𝐶))
52, 4casesifp 1095 1 (if(𝜑, 𝐴, 𝐵)𝑅𝐶 ↔ if-(𝜑, 𝐴𝑅𝐶, 𝐵𝑅𝐶))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   ↔ wb 209  if-wif 1079  ifcif 4484   class class class wbr 5107
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2152  ax-9 2160  ax-ext 2738
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-ifp 1080  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-sb 2104  df-clab 2745  df-cleq 2758  df-clel 2842  df-rab 3416  df-v 3455  df-ss 3900  df-dif 4049  df-un 4153  df-nul 4281  df-if 4485  df-sn 4588  df-pr 4590  df-op 4840  df-br 5108
This theorem is used by:  psdmul  22544  psdmvr  22547
  Copyright terms: Public domain W3C validator