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 2969 . 2 (⟨𝐴, 𝐵⟩ ≠ ∅ → (𝐴 ∈ V ∧ 𝐵 ∈ V))
3 dfopg 4870 . . 3 ((𝐴 ∈ V ∧ 𝐵 ∈ V) → ⟨𝐴, 𝐵⟩ = {{𝐴}, {𝐴, 𝐵}})
4 snex 5430 . . . . 5 {𝐴} ∈ V
54prnz 4780 . . . 4 {{𝐴}, {𝐴, 𝐵}} ≠ ∅
65a1i 11 . . 3 ((𝐴 ∈ V ∧ 𝐵 ∈ V) → {{𝐴}, {𝐴, 𝐵}} ≠ ∅)
73, 6eqnetrd 3009 . 2 ((𝐴 ∈ V ∧ 𝐵 ∈ V) → ⟨𝐴, 𝐵⟩ ≠ ∅)
82, 7impbii 208 1 (⟨𝐴, 𝐵⟩ ≠ ∅ ↔ (𝐴 ∈ V ∧ 𝐵 ∈ V))
Colors of variables: wff setvar class
Syntax hints:  wb 205  wa 397  wcel 2107  wne 2941  Vcvv 3475  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 1798  ax-4 1812  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2109  ax-9 2117  ax-ext 2704  ax-sep 5298  ax-nul 5305  ax-pr 5426
This theorem depends on definitions:  df-bi 206  df-an 398  df-or 847  df-3an 1090  df-tru 1545  df-fal 1555  df-ex 1783  df-sb 2069  df-clab 2711  df-cleq 2725  df-clel 2811  df-ne 2942  df-v 3477  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  34319
  Copyright terms: Public domain W3C validator