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

Theorem dfopifOLD 4801
Description: Obsolete version of dfopif 4800 as of 1-Aug-2024. (Contributed by Mario Carneiro, 26-Apr-2015.) (Avoid depending on this detail.) (New usage is discouraged.) (Proof modification is discouraged.)
Assertion
Ref Expression
dfopifOLD 𝐴, 𝐵⟩ = if((𝐴 ∈ V ∧ 𝐵 ∈ V), {{𝐴}, {𝐴, 𝐵}}, ∅)

Proof of Theorem dfopifOLD
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 df-op 4568 . 2 𝐴, 𝐵⟩ = {𝑥 ∣ (𝐴 ∈ V ∧ 𝐵 ∈ V ∧ 𝑥 ∈ {{𝐴}, {𝐴, 𝐵}})}
2 df-3an 1088 . . 3 ((𝐴 ∈ V ∧ 𝐵 ∈ V ∧ 𝑥 ∈ {{𝐴}, {𝐴, 𝐵}}) ↔ ((𝐴 ∈ V ∧ 𝐵 ∈ V) ∧ 𝑥 ∈ {{𝐴}, {𝐴, 𝐵}}))
32abbii 2808 . 2 {𝑥 ∣ (𝐴 ∈ V ∧ 𝐵 ∈ V ∧ 𝑥 ∈ {{𝐴}, {𝐴, 𝐵}})} = {𝑥 ∣ ((𝐴 ∈ V ∧ 𝐵 ∈ V) ∧ 𝑥 ∈ {{𝐴}, {𝐴, 𝐵}})}
4 iftrue 4465 . . . 4 ((𝐴 ∈ V ∧ 𝐵 ∈ V) → if((𝐴 ∈ V ∧ 𝐵 ∈ V), {{𝐴}, {𝐴, 𝐵}}, ∅) = {{𝐴}, {𝐴, 𝐵}})
5 ibar 529 . . . . 5 ((𝐴 ∈ V ∧ 𝐵 ∈ V) → (𝑥 ∈ {{𝐴}, {𝐴, 𝐵}} ↔ ((𝐴 ∈ V ∧ 𝐵 ∈ V) ∧ 𝑥 ∈ {{𝐴}, {𝐴, 𝐵}})))
65abbi2dv 2877 . . . 4 ((𝐴 ∈ V ∧ 𝐵 ∈ V) → {{𝐴}, {𝐴, 𝐵}} = {𝑥 ∣ ((𝐴 ∈ V ∧ 𝐵 ∈ V) ∧ 𝑥 ∈ {{𝐴}, {𝐴, 𝐵}})})
74, 6eqtr2d 2779 . . 3 ((𝐴 ∈ V ∧ 𝐵 ∈ V) → {𝑥 ∣ ((𝐴 ∈ V ∧ 𝐵 ∈ V) ∧ 𝑥 ∈ {{𝐴}, {𝐴, 𝐵}})} = if((𝐴 ∈ V ∧ 𝐵 ∈ V), {{𝐴}, {𝐴, 𝐵}}, ∅))
8 pm2.21 123 . . . . . . 7 (¬ (𝐴 ∈ V ∧ 𝐵 ∈ V) → ((𝐴 ∈ V ∧ 𝐵 ∈ V) → 𝑥 ∈ ∅))
98adantrd 492 . . . . . 6 (¬ (𝐴 ∈ V ∧ 𝐵 ∈ V) → (((𝐴 ∈ V ∧ 𝐵 ∈ V) ∧ 𝑥 ∈ {{𝐴}, {𝐴, 𝐵}}) → 𝑥 ∈ ∅))
109abssdv 4002 . . . . 5 (¬ (𝐴 ∈ V ∧ 𝐵 ∈ V) → {𝑥 ∣ ((𝐴 ∈ V ∧ 𝐵 ∈ V) ∧ 𝑥 ∈ {{𝐴}, {𝐴, 𝐵}})} ⊆ ∅)
11 ss0 4332 . . . . 5 ({𝑥 ∣ ((𝐴 ∈ V ∧ 𝐵 ∈ V) ∧ 𝑥 ∈ {{𝐴}, {𝐴, 𝐵}})} ⊆ ∅ → {𝑥 ∣ ((𝐴 ∈ V ∧ 𝐵 ∈ V) ∧ 𝑥 ∈ {{𝐴}, {𝐴, 𝐵}})} = ∅)
1210, 11syl 17 . . . 4 (¬ (𝐴 ∈ V ∧ 𝐵 ∈ V) → {𝑥 ∣ ((𝐴 ∈ V ∧ 𝐵 ∈ V) ∧ 𝑥 ∈ {{𝐴}, {𝐴, 𝐵}})} = ∅)
13 iffalse 4468 . . . 4 (¬ (𝐴 ∈ V ∧ 𝐵 ∈ V) → if((𝐴 ∈ V ∧ 𝐵 ∈ V), {{𝐴}, {𝐴, 𝐵}}, ∅) = ∅)
1412, 13eqtr4d 2781 . . 3 (¬ (𝐴 ∈ V ∧ 𝐵 ∈ V) → {𝑥 ∣ ((𝐴 ∈ V ∧ 𝐵 ∈ V) ∧ 𝑥 ∈ {{𝐴}, {𝐴, 𝐵}})} = if((𝐴 ∈ V ∧ 𝐵 ∈ V), {{𝐴}, {𝐴, 𝐵}}, ∅))
157, 14pm2.61i 182 . 2 {𝑥 ∣ ((𝐴 ∈ V ∧ 𝐵 ∈ V) ∧ 𝑥 ∈ {{𝐴}, {𝐴, 𝐵}})} = if((𝐴 ∈ V ∧ 𝐵 ∈ V), {{𝐴}, {𝐴, 𝐵}}, ∅)
161, 3, 153eqtri 2770 1 𝐴, 𝐵⟩ = if((𝐴 ∈ V ∧ 𝐵 ∈ V), {{𝐴}, {𝐴, 𝐵}}, ∅)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wa 396  w3a 1086   = wceq 1539  wcel 2106  {cab 2715  Vcvv 3432  wss 3887  c0 4256  ifcif 4459  {csn 4561  {cpr 4563  cop 4567
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-v 3434  df-dif 3890  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-op 4568
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator