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 43569
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 4493 . . 3 (𝜑 → if(𝜑, 𝐴, 𝐵) = 𝐴)
21breq2d 5123 . 2 (𝜑 → (𝐶𝑅if(𝜑, 𝐴, 𝐵) ↔ 𝐶𝑅𝐴))
3 iffalse 4496 . . 3 (¬ 𝜑 → if(𝜑, 𝐴, 𝐵) = 𝐵)
43breq2d 5123 . 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 4487   class class class wbr 5111
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 2153  ax-9 2161  ax-ext 2741
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 2105  df-clab 2748  df-cleq 2761  df-clel 2845  df-rab 3419  df-v 3458  df-ss 3903  df-dif 4052  df-un 4156  df-nul 4284  df-if 4488  df-sn 4591  df-pr 4593  df-op 4844  df-br 5112
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator