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

Theorem dfopg 4807
Description: Value of the ordered pair when the arguments are sets. (Contributed by Mario Carneiro, 26-Apr-2015.) (Avoid depending on this detail.)
Assertion
Ref Expression
dfopg ((𝐴𝑉𝐵𝑊) → ⟨𝐴, 𝐵⟩ = {{𝐴}, {𝐴, 𝐵}})

Proof of Theorem dfopg
StepHypRef Expression
1 elex 3448 . 2 (𝐴𝑉𝐴 ∈ V)
2 elex 3448 . 2 (𝐵𝑊𝐵 ∈ V)
3 dfopif 4805 . . 3 𝐴, 𝐵⟩ = if((𝐴 ∈ V ∧ 𝐵 ∈ V), {{𝐴}, {𝐴, 𝐵}}, ∅)
4 iftrue 4470 . . 3 ((𝐴 ∈ V ∧ 𝐵 ∈ V) → if((𝐴 ∈ V ∧ 𝐵 ∈ V), {{𝐴}, {𝐴, 𝐵}}, ∅) = {{𝐴}, {𝐴, 𝐵}})
53, 4eqtrid 2791 . 2 ((𝐴 ∈ V ∧ 𝐵 ∈ V) → ⟨𝐴, 𝐵⟩ = {{𝐴}, {𝐴, 𝐵}})
61, 2, 5syl2an 595 1 ((𝐴𝑉𝐵𝑊) → ⟨𝐴, 𝐵⟩ = {{𝐴}, {𝐴, 𝐵}})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395   = wceq 1541  wcel 2109  Vcvv 3430  c0 4261  ifcif 4464  {csn 4566  {cpr 4568  cop 4572
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1801  ax-4 1815  ax-5 1916  ax-6 1974  ax-7 2014  ax-8 2111  ax-9 2119  ax-ext 2710
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1544  df-fal 1554  df-ex 1786  df-sb 2071  df-clab 2717  df-cleq 2731  df-clel 2817  df-v 3432  df-dif 3894  df-nul 4262  df-if 4465  df-op 4573
This theorem is referenced by:  dfop  4808  opidg  4828  elopg  5383  opnz  5390  opth1  5392  opth  5393  0nelop  5412  opeqsng  5419  opwf  9554  rankopb  9594  wunop  10462  tskop  10511  gruop  10545
  Copyright terms: Public domain W3C validator