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

Theorem bj-df-ifc 33906
Description: Candidate definition for the conditional operator for classes. This is in line with the definition of a class as the extension of a predicate in df-clab 2798. We reprove the current df-if 4466 from it in bj-dfif 33907. (Contributed by BJ, 20-Sep-2019.) (Proof modification is discouraged.)
Assertion
Ref Expression
bj-df-ifc if(𝜑, 𝐴, 𝐵) = {𝑥 ∣ if-(𝜑, 𝑥𝐴, 𝑥𝐵)}
Distinct variable groups:   𝜑,𝑥   𝑥,𝐴   𝑥,𝐵

Proof of Theorem bj-df-ifc
StepHypRef Expression
1 df-if 4466 . 2 if(𝜑, 𝐴, 𝐵) = {𝑥 ∣ ((𝑥𝐴𝜑) ∨ (𝑥𝐵 ∧ ¬ 𝜑))}
2 ancom 463 . . . . 5 ((𝑥𝐴𝜑) ↔ (𝜑𝑥𝐴))
3 ancom 463 . . . . 5 ((𝑥𝐵 ∧ ¬ 𝜑) ↔ (¬ 𝜑𝑥𝐵))
42, 3orbi12i 910 . . . 4 (((𝑥𝐴𝜑) ∨ (𝑥𝐵 ∧ ¬ 𝜑)) ↔ ((𝜑𝑥𝐴) ∨ (¬ 𝜑𝑥𝐵)))
5 df-ifp 1057 . . . 4 (if-(𝜑, 𝑥𝐴, 𝑥𝐵) ↔ ((𝜑𝑥𝐴) ∨ (¬ 𝜑𝑥𝐵)))
64, 5bitr4i 280 . . 3 (((𝑥𝐴𝜑) ∨ (𝑥𝐵 ∧ ¬ 𝜑)) ↔ if-(𝜑, 𝑥𝐴, 𝑥𝐵))
76abbii 2884 . 2 {𝑥 ∣ ((𝑥𝐴𝜑) ∨ (𝑥𝐵 ∧ ¬ 𝜑))} = {𝑥 ∣ if-(𝜑, 𝑥𝐴, 𝑥𝐵)}
81, 7eqtri 2842 1 if(𝜑, 𝐴, 𝐵) = {𝑥 ∣ if-(𝜑, 𝑥𝐴, 𝑥𝐵)}
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wa 398  wo 843  if-wif 1056   = wceq 1530  wcel 2107  {cab 2797  ifcif 4465
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1789  ax-4 1803  ax-5 1904  ax-6 1963  ax-7 2008  ax-9 2117  ax-ext 2791
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-ifp 1057  df-ex 1774  df-sb 2063  df-clab 2798  df-cleq 2812  df-if 4466
This theorem is referenced by:  bj-dfif  33907  bj-ififc  33908
  Copyright terms: Public domain W3C validator