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

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

Proof of Theorem tpeq2
StepHypRef Expression
1 preq2 4662 . . 3 (𝐴 = 𝐵 → {𝐶, 𝐴} = {𝐶, 𝐵})
21uneq1d 4136 . 2 (𝐴 = 𝐵 → ({𝐶, 𝐴} ∪ {𝐷}) = ({𝐶, 𝐵} ∪ {𝐷}))
3 df-tp 4564 . 2 {𝐶, 𝐴, 𝐷} = ({𝐶, 𝐴} ∪ {𝐷})
4 df-tp 4564 . 2 {𝐶, 𝐵, 𝐷} = ({𝐶, 𝐵} ∪ {𝐷})
52, 3, 43eqtr4g 2879 1 (𝐴 = 𝐵 → {𝐶, 𝐴, 𝐷} = {𝐶, 𝐵, 𝐷})
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1531  cun 3932  {csn 4559  {cpr 4561  {ctp 4563
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1790  ax-4 1804  ax-5 1905  ax-6 1964  ax-7 2009  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2154  ax-12 2170  ax-ext 2791
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-tru 1534  df-ex 1775  df-nf 1779  df-sb 2064  df-clab 2798  df-cleq 2812  df-clel 2891  df-nfc 2961  df-v 3495  df-un 3939  df-sn 4560  df-pr 4562  df-tp 4564
This theorem is referenced by:  tpeq2d  4674  fntpb  6964  fztpval  12961  hashtpg  13835  dvh4dimN  38575  lmod1  44537
  Copyright terms: Public domain W3C validator