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

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

Proof of Theorem tpeq3
StepHypRef Expression
1 sneq 4597 . . 3 (𝐴 = 𝐵 → {𝐴} = {𝐵})
21uneq2d 4118 . 2 (𝐴 = 𝐵 → ({𝐶, 𝐷} ∪ {𝐴}) = ({𝐶, 𝐷} ∪ {𝐵}))
3 df-tp 4592 . 2 {𝐶, 𝐷, 𝐴} = ({𝐶, 𝐷} ∪ {𝐴})
4 df-tp 4592 . 2 {𝐶, 𝐷, 𝐵} = ({𝐶, 𝐷} ∪ {𝐵})
52, 3, 43eqtr4g 2822 1 (𝐴 = 𝐵 → {𝐶, 𝐷, 𝐴} = {𝐶, 𝐷, 𝐵})
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  wi 4   = wceq 1570  cun 3900  {csn 4587  {cpr 4589  {ctp 4591
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-ext 2734
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1573  df-ex 1813  df-sb 2100  df-clab 2741  df-cleq 2754  df-clel 2837  df-v 3455  df-un 3907  df-sn 4588  df-tp 4592
This theorem is used by:  tpeq3d  4711  tppreq3  4723  fntpb  7211  fztpval  13643  hashtpg  14552  dvh4dimN  42307  cycl3grtri  48850  grimgrtri  48852  usgrgrtrirex  48853  grlimgrtri  48906  usgrexmpl1tri  48928
  Copyright terms: Public domain W3C validator