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

Theorem opnz 5472
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 4895 . . 3 (¬ (𝐴 ∈ V ∧ 𝐵 ∈ V) → ⟨𝐴, 𝐵⟩ = ∅)
21necon1ai 2968 . 2 (⟨𝐴, 𝐵⟩ ≠ ∅ → (𝐴 ∈ V ∧ 𝐵 ∈ V))
3 dfopg 4870 . . 3 ((𝐴 ∈ V ∧ 𝐵 ∈ V) → ⟨𝐴, 𝐵⟩ = {{𝐴}, {𝐴, 𝐵}})
4 snex 5430 . . . . 5 {𝐴} ∈ V
54prnz 4780 . . . 4 {{𝐴}, {𝐴, 𝐵}} ≠ ∅
65a1i 11 . . 3 ((𝐴 ∈ V ∧ 𝐵 ∈ V) → {{𝐴}, {𝐴, 𝐵}} ≠ ∅)
73, 6eqnetrd 3008 . 2 ((𝐴 ∈ V ∧ 𝐵 ∈ V) → ⟨𝐴, 𝐵⟩ ≠ ∅)
82, 7impbii 208 1 (⟨𝐴, 𝐵⟩ ≠ ∅ ↔ (𝐴 ∈ V ∧ 𝐵 ∈ V))
Colors of variables: wff setvar class
Syntax hints:  wb 205  wa 396  wcel 2106  wne 2940  Vcvv 3474  c0 4321  {csn 4627  {cpr 4629  cop 4633
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-ext 2703  ax-sep 5298  ax-nul 5305  ax-pr 5426
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 846  df-3an 1089  df-tru 1544  df-fal 1554  df-ex 1782  df-sb 2068  df-clab 2710  df-cleq 2724  df-clel 2810  df-ne 2941  df-v 3476  df-dif 3950  df-un 3952  df-in 3954  df-ss 3964  df-nul 4322  df-if 4528  df-sn 4628  df-pr 4630  df-op 4634
This theorem is referenced by:  opnzi  5473  opeqex  5497  opelopabsb  5529  setsfun0  17101  fmlaomn0  34369
  Copyright terms: Public domain W3C validator