Users' Mathboxes Mathbox for BJ < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  bj-dfif Structured version   Visualization version   GIF version

Theorem bj-dfif 36806
Description: Alternate definition of the conditional operator for classes, which used to be the main definition. (Contributed by BJ, 26-Dec-2023.) (Proof modification is discouraged.)
Assertion
Ref Expression
bj-dfif if(𝜑, 𝐴, 𝐵) = {𝑥 ∣ ((𝜑𝑥𝐴) ∨ (¬ 𝜑𝑥𝐵))}
Distinct variable groups:   𝜑,𝑥   𝑥,𝐴   𝑥,𝐵

Proof of Theorem bj-dfif
StepHypRef Expression
1 bj-df-ifc 36805 . 2 if(𝜑, 𝐴, 𝐵) = {𝑥 ∣ if-(𝜑, 𝑥𝐴, 𝑥𝐵)}
2 df-ifp 1064 . . 3 (if-(𝜑, 𝑥𝐴, 𝑥𝐵) ↔ ((𝜑𝑥𝐴) ∨ (¬ 𝜑𝑥𝐵)))
32abbii 2804 . 2 {𝑥 ∣ if-(𝜑, 𝑥𝐴, 𝑥𝐵)} = {𝑥 ∣ ((𝜑𝑥𝐴) ∨ (¬ 𝜑𝑥𝐵))}
41, 3eqtri 2760 1 if(𝜑, 𝐴, 𝐵) = {𝑥 ∣ ((𝜑𝑥𝐴) ∨ (¬ 𝜑𝑥𝐵))}
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wa 395  wo 848  if-wif 1063   = wceq 1542  wcel 2114  {cab 2715  ifcif 4481
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1912  ax-6 1969  ax-7 2010  ax-9 2124  ax-ext 2709
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 849  df-ifp 1064  df-ex 1782  df-sb 2069  df-clab 2716  df-cleq 2729  df-if 4482
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator