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

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

Proof of Theorem tpeq3
StepHypRef Expression
1 sneq 4593 . . 3 (𝐴 = 𝐵 → {𝐴} = {𝐵})
21uneq2d 4167 . 2 (𝐴 = 𝐵 → ({𝐶, 𝐷} ∪ {𝐴}) = ({𝐶, 𝐷} ∪ {𝐵}))
3 df-tp 4588 . 2 {𝐶, 𝐷, 𝐴} = ({𝐶, 𝐷} ∪ {𝐴})
4 df-tp 4588 . 2 {𝐶, 𝐷, 𝐵} = ({𝐶, 𝐷} ∪ {𝐵})
52, 3, 43eqtr4g 2820 1 (𝐴 = 𝐵 → {𝐶, 𝐷, 𝐴} = {𝐶, 𝐷, 𝐵})
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   = wceq 1569   ∪ cun 4149  {csn 4583  {cpr 4585  {ctp 4587
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-ext 2732
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1572  df-ex 1812  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-v 3452  df-un 4151  df-sn 4584  df-tp 4588
This theorem is used by:  tpeq3d  4707  tppreq3  4719  fntpb  7215  fztpval  13720  hashtpg  14630  dvh4dimN  42505  cycl3grtri  49045  grimgrtri  49047  usgrgrtrirex  49048  grlimgrtri  49101  usgrexmpl1tri  49123
  Copyright terms: Public domain W3C validator