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

Theorem dfopg 4851
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 3482 . 2 (𝐴 ∈ 𝑉 → 𝐴 ∈ V)
2 elex 3482 . 2 (𝐵 ∈ 𝑊 → 𝐵 ∈ V)
3 dfopif 4850 . . 3 ⟨𝐴, 𝐵⟩ = if((𝐴 ∈ V ∧ 𝐵 ∈ V), {{𝐴}, {𝐴, 𝐵}}, ∅)
4 iftrue 4498 . . 3 ((𝐴 ∈ V ∧ 𝐵 ∈ V) → if((𝐴 ∈ V ∧ 𝐵 ∈ V), {{𝐴}, {𝐴, 𝐵}}, ∅) = {{𝐴}, {𝐴, 𝐵}})
53, 4eqtrid 2821 . 2 ((𝐴 ∈ V ∧ 𝐵 ∈ V) → ⟨𝐴, 𝐵⟩ = {{𝐴}, {𝐴, 𝐵}})
61, 2, 5syl2an 608 1 ((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) → ⟨𝐴, 𝐵⟩ = {{𝐴}, {𝐴, 𝐵}})
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1572   ∈ wcel 2156  Vcvv 3461  ∅c0 4288  ifcif 4492  {csn 4595  {cpr 4597  ⟨cop 4848
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-ext 2746
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-sb 2110  df-clab 2753  df-cleq 2766  df-clel 2850  df-v 3463  df-ss 3908  df-dif 4057  df-nul 4289  df-if 4493  df-op 4849
This theorem is used by:  dfop  4852  opidg  4865  elopg  5450  opnz  5457  opth1  5459  opth  5460  0nelop  5483  opeqsng  5490  opwf  9876  rankopb  9922  wunop  10865  tskop  10914  gruop  10948
  Copyright terms: Public domain W3C validator