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

Theorem brif1 7537
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 4491 . . 3 (𝜑 → if(𝜑, 𝐴, 𝐵) = 𝐴)
21breq1d 5116 . 2 (𝜑 → (if(𝜑, 𝐴, 𝐵)𝑅𝐶 ↔ 𝐴𝑅𝐶))
3 iffalse 4494 . . 3 (¬ 𝜑 → if(𝜑, 𝐴, 𝐵) = 𝐵)
43breq1d 5116 . 2 (¬ 𝜑 → (if(𝜑, 𝐴, 𝐵)𝑅𝐶 ↔ 𝐵𝑅𝐶))
52, 4casesifp 1094 1 (if(𝜑, 𝐴, 𝐵)𝑅𝐶 ↔ if-(𝜑, 𝐴𝑅𝐶, 𝐵𝑅𝐶))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   ↔ wb 209  if-wif 1078  ifcif 4485   class class class wbr 5106
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-ext 2735
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-ifp 1079  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-sb 2102  df-clab 2742  df-cleq 2755  df-clel 2839  df-rab 3417  df-v 3456  df-ss 3901  df-dif 4050  df-un 4154  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-op 4839  df-br 5107
This theorem is used by:  psdmul  22514  psdmvr  22517
  Copyright terms: Public domain W3C validator