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

Theorem opnz 5382
Description: An ordered pair is nonempty iff the arguments are sets. (Contributed by NM, 24-Jan-2004.) (Revised by Mario Carneiro, 26-Apr-2015.)
Assertion
Ref Expression
opnz (⟨𝐴, 𝐵⟩ ≠ ∅ ↔ (𝐴 ∈ V ∧ 𝐵 ∈ V))

Proof of Theorem opnz
StepHypRef Expression
1 opprc 4824 . . 3 (¬ (𝐴 ∈ V ∧ 𝐵 ∈ V) → ⟨𝐴, 𝐵⟩ = ∅)
21necon1ai 2970 . 2 (⟨𝐴, 𝐵⟩ ≠ ∅ → (𝐴 ∈ V ∧ 𝐵 ∈ V))
3 dfopg 4799 . . 3 ((𝐴 ∈ V ∧ 𝐵 ∈ V) → ⟨𝐴, 𝐵⟩ = {{𝐴}, {𝐴, 𝐵}})
4 snex 5349 . . . . 5 {𝐴} ∈ V
54prnz 4710 . . . 4 {{𝐴}, {𝐴, 𝐵}} ≠ ∅
65a1i 11 . . 3 ((𝐴 ∈ V ∧ 𝐵 ∈ V) → {{𝐴}, {𝐴, 𝐵}} ≠ ∅)
73, 6eqnetrd 3010 . 2 ((𝐴 ∈ V ∧ 𝐵 ∈ V) → ⟨𝐴, 𝐵⟩ ≠ ∅)
82, 7impbii 208 1 (⟨𝐴, 𝐵⟩ ≠ ∅ ↔ (𝐴 ∈ V ∧ 𝐵 ∈ V))
Colors of variables: wff setvar class
Syntax hints:  wb 205  wa 395  wcel 2108  wne 2942  Vcvv 3422  c0 4253  {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-ext 2709  ax-sep 5218  ax-nul 5225  ax-pr 5347
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-sb 2069  df-clab 2716  df-cleq 2730  df-clel 2817  df-ne 2943  df-v 3424  df-dif 3886  df-un 3888  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565
This theorem is referenced by:  opnzi  5383  opeqex  5406  opelopabsb  5436  setsfun0  16801  fmlaomn0  33252
  Copyright terms: Public domain W3C validator