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

Theorem opnz 5367
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 4828 . . 3 (¬ (𝐴 ∈ V ∧ 𝐵 ∈ V) → ⟨𝐴, 𝐵⟩ = ∅)
21necon1ai 3045 . 2 (⟨𝐴, 𝐵⟩ ≠ ∅ → (𝐴 ∈ V ∧ 𝐵 ∈ V))
3 dfopg 4803 . . 3 ((𝐴 ∈ V ∧ 𝐵 ∈ V) → ⟨𝐴, 𝐵⟩ = {{𝐴}, {𝐴, 𝐵}})
4 snex 5334 . . . . 5 {𝐴} ∈ V
54prnz 4714 . . . 4 {{𝐴}, {𝐴, 𝐵}} ≠ ∅
65a1i 11 . . 3 ((𝐴 ∈ V ∧ 𝐵 ∈ V) → {{𝐴}, {𝐴, 𝐵}} ≠ ∅)
73, 6eqnetrd 3085 . 2 ((𝐴 ∈ V ∧ 𝐵 ∈ V) → ⟨𝐴, 𝐵⟩ ≠ ∅)
82, 7impbii 211 1 (⟨𝐴, 𝐵⟩ ≠ ∅ ↔ (𝐴 ∈ V ∧ 𝐵 ∈ V))
Colors of variables: wff setvar class
Syntax hints:  wb 208  wa 398  wcel 2114  wne 3018  Vcvv 3496  c0 4293  {csn 4569  {cpr 4571  cop 4575
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2795  ax-sep 5205  ax-nul 5212  ax-pr 5332
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-clab 2802  df-cleq 2816  df-clel 2895  df-nfc 2965  df-ne 3019  df-v 3498  df-dif 3941  df-un 3943  df-in 3945  df-ss 3954  df-nul 4294  df-if 4470  df-sn 4570  df-pr 4572  df-op 4576
This theorem is referenced by:  opnzi  5368  opeqex  5390  opelopabsb  5419  setsfun0  16521  fmlaomn0  32639
  Copyright terms: Public domain W3C validator