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

Theorem tpeq3 4705
Description: Equality theorem for unordered triples. (Contributed by NM, 13-Sep-2011.)
Assertion
Ref Expression
tpeq3 (𝐴 = 𝐵 → {𝐶, 𝐷, 𝐴} = {𝐶, 𝐷, 𝐵})

Proof of Theorem tpeq3
StepHypRef Expression
1 sneq 4594 . . 3 (𝐴 = 𝐵 → {𝐴} = {𝐵})
21uneq2d 4123 . 2 (𝐴 = 𝐵 → ({𝐶, 𝐷} ∪ {𝐴}) = ({𝐶, 𝐷} ∪ {𝐵}))
3 df-tp 4589 . 2 {𝐶, 𝐷, 𝐴} = ({𝐶, 𝐷} ∪ {𝐴})
4 df-tp 4589 . 2 {𝐶, 𝐷, 𝐵} = ({𝐶, 𝐷} ∪ {𝐵})
52, 3, 43eqtr4g 2824 1 (𝐴 = 𝐵 → {𝐶, 𝐷, 𝐴} = {𝐶, 𝐷, 𝐵})
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1562  cun 3904  {csn 4584  {cpr 4586  {ctp 4588
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1817  ax-4 1831  ax-5 1932  ax-6 1989  ax-7 2030  ax-8 2146  ax-9 2154  ax-ext 2736
This theorem depends on definitions:  df-bi 209  df-an 400  df-or 859  df-tru 1565  df-ex 1802  df-sb 2093  df-clab 2743  df-cleq 2756  df-clel 2839  df-v 3458  df-un 3911  df-sn 4585  df-tp 4589
This theorem is referenced by:  tpeq3d  4708  tppreq3  4720  fntpb  7195  fztpval  13593  hashtpg  14500  dvh4dimN  42076  cycl3grtri  48574  grimgrtri  48576  usgrgrtrirex  48577  grlimgrtri  48630  usgrexmpl1tri  48652
  Copyright terms: Public domain W3C validator