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

Theorem djueq12 9973
Description: Equality theorem for disjoint union. (Contributed by Jim Kingdon, 23-Jun-2022.)
Assertion
Ref Expression
djueq12 ((𝐴 = 𝐵𝐶 = 𝐷) → (𝐴𝐶) = (𝐵𝐷))

Proof of Theorem djueq12
StepHypRef Expression
1 xpeq2 5721 . . . 4 (𝐴 = 𝐵 → ({∅} × 𝐴) = ({∅} × 𝐵))
21adantr 480 . . 3 ((𝐴 = 𝐵𝐶 = 𝐷) → ({∅} × 𝐴) = ({∅} × 𝐵))
3 xpeq2 5721 . . . 4 (𝐶 = 𝐷 → ({1o} × 𝐶) = ({1o} × 𝐷))
43adantl 481 . . 3 ((𝐴 = 𝐵𝐶 = 𝐷) → ({1o} × 𝐶) = ({1o} × 𝐷))
52, 4uneq12d 4192 . 2 ((𝐴 = 𝐵𝐶 = 𝐷) → (({∅} × 𝐴) ∪ ({1o} × 𝐶)) = (({∅} × 𝐵) ∪ ({1o} × 𝐷)))
6 df-dju 9970 . 2 (𝐴𝐶) = (({∅} × 𝐴) ∪ ({1o} × 𝐶))
7 df-dju 9970 . 2 (𝐵𝐷) = (({∅} × 𝐵) ∪ ({1o} × 𝐷))
85, 6, 73eqtr4g 2805 1 ((𝐴 = 𝐵𝐶 = 𝐷) → (𝐴𝐶) = (𝐵𝐷))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395   = wceq 1537  cun 3974  c0 4352  {csn 4648   × cxp 5698  1oc1o 8515  cdju 9967
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1793  ax-4 1807  ax-5 1909  ax-6 1967  ax-7 2007  ax-8 2110  ax-9 2118  ax-ext 2711
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 847  df-tru 1540  df-ex 1778  df-sb 2065  df-clab 2718  df-cleq 2732  df-clel 2819  df-v 3490  df-un 3981  df-opab 5229  df-xp 5706  df-dju 9970
This theorem is referenced by:  djueq1  9974  djueq2  9975  isfin5  10368  alephadd  10646
  Copyright terms: Public domain W3C validator