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

Theorem dfopifOLD 4798
Description: Obsolete version of dfopif 4797 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 4565 . 2 𝐴, 𝐵⟩ = {𝑥 ∣ (𝐴 ∈ V ∧ 𝐵 ∈ V ∧ 𝑥 ∈ {{𝐴}, {𝐴, 𝐵}})}
2 df-3an 1087 . . 3 ((𝐴 ∈ V ∧ 𝐵 ∈ V ∧ 𝑥 ∈ {{𝐴}, {𝐴, 𝐵}}) ↔ ((𝐴 ∈ V ∧ 𝐵 ∈ V) ∧ 𝑥 ∈ {{𝐴}, {𝐴, 𝐵}}))
32abbii 2809 . 2 {𝑥 ∣ (𝐴 ∈ V ∧ 𝐵 ∈ V ∧ 𝑥 ∈ {{𝐴}, {𝐴, 𝐵}})} = {𝑥 ∣ ((𝐴 ∈ V ∧ 𝐵 ∈ V) ∧ 𝑥 ∈ {{𝐴}, {𝐴, 𝐵}})}
4 iftrue 4462 . . . 4 ((𝐴 ∈ V ∧ 𝐵 ∈ V) → if((𝐴 ∈ V ∧ 𝐵 ∈ V), {{𝐴}, {𝐴, 𝐵}}, ∅) = {{𝐴}, {𝐴, 𝐵}})
5 ibar 528 . . . . 5 ((𝐴 ∈ V ∧ 𝐵 ∈ V) → (𝑥 ∈ {{𝐴}, {𝐴, 𝐵}} ↔ ((𝐴 ∈ V ∧ 𝐵 ∈ V) ∧ 𝑥 ∈ {{𝐴}, {𝐴, 𝐵}})))
65abbi2dv 2876 . . . 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 491 . . . . . 6 (¬ (𝐴 ∈ V ∧ 𝐵 ∈ V) → (((𝐴 ∈ V ∧ 𝐵 ∈ V) ∧ 𝑥 ∈ {{𝐴}, {𝐴, 𝐵}}) → 𝑥 ∈ ∅))
109abssdv 3998 . . . . 5 (¬ (𝐴 ∈ V ∧ 𝐵 ∈ V) → {𝑥 ∣ ((𝐴 ∈ V ∧ 𝐵 ∈ V) ∧ 𝑥 ∈ {{𝐴}, {𝐴, 𝐵}})} ⊆ ∅)
11 ss0 4329 . . . . 5 ({𝑥 ∣ ((𝐴 ∈ V ∧ 𝐵 ∈ V) ∧ 𝑥 ∈ {{𝐴}, {𝐴, 𝐵}})} ⊆ ∅ → {𝑥 ∣ ((𝐴 ∈ V ∧ 𝐵 ∈ V) ∧ 𝑥 ∈ {{𝐴}, {𝐴, 𝐵}})} = ∅)
1210, 11syl 17 . . . 4 (¬ (𝐴 ∈ V ∧ 𝐵 ∈ V) → {𝑥 ∣ ((𝐴 ∈ V ∧ 𝐵 ∈ V) ∧ 𝑥 ∈ {{𝐴}, {𝐴, 𝐵}})} = ∅)
13 iffalse 4465 . . . 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 395  w3a 1085   = wceq 1539  wcel 2108  {cab 2715  Vcvv 3422  wss 3883  c0 4253  ifcif 4456  {csn 4558  {cpr 4560  cop 4564
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-v 3424  df-dif 3886  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-op 4565
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator