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

Theorem djueq12 9985
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 5671 . . . 4 (𝐴 = 𝐵 → ({∅} × 𝐴) = ({∅} × 𝐵))
21adantr 486 . . 3 ((𝐴 = 𝐵 ∧ 𝐶 = 𝐷) → ({∅} × 𝐴) = ({∅} × 𝐵))
3 xpeq2 5671 . . . 4 (𝐶 = 𝐷 → ({1o} × 𝐶) = ({1o} × 𝐷))
43adantl 487 . . 3 ((𝐴 = 𝐵 ∧ 𝐶 = 𝐷) → ({1o} × 𝐶) = ({1o} × 𝐷))
52, 4uneq12d 4168 . 2 ((𝐴 = 𝐵 ∧ 𝐶 = 𝐷) → (({∅} × 𝐴) ∪ ({1o} × 𝐶)) = (({∅} × 𝐵) ∪ ({1o} × 𝐷)))
6 df-dju 9982 . 2 (𝐴 ⊔ 𝐶) = (({∅} × 𝐴) ∪ ({1o} × 𝐶))
7 df-dju 9982 . 2 (𝐵 ⊔ 𝐷) = (({∅} × 𝐵) ∪ ({1o} × 𝐷))
85, 6, 73eqtr4g 2820 1 ((𝐴 = 𝐵 ∧ 𝐶 = 𝐷) → (𝐴 ⊔ 𝐶) = (𝐵 ⊔ 𝐷))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1569   ∪ cun 4149  ∅c0 4278  {csn 4583   × cxp 5648  1oc1o 8469   ⊔ cdju 9979
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-opab 5167  df-xp 5656  df-dju 9982
This theorem is used by:  djueq1  9986  djueq2  9987  isfin5  10377  alephadd  10662
  Copyright terms: Public domain W3C validator