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

Theorem uneqdifeq 4389
Description: Two ways to say that 𝐴 and 𝐵 partition 𝐶 (when 𝐴 and 𝐵 don't overlap and 𝐴 is a part of 𝐶). (Contributed by FL, 17-Nov-2008.) (Proof shortened by JJ, 14-Jul-2021.)
Assertion
Ref Expression
uneqdifeq ((𝐴𝐶 ∧ (𝐴𝐵) = ∅) → ((𝐴𝐵) = 𝐶 ↔ (𝐶𝐴) = 𝐵))

Proof of Theorem uneqdifeq
StepHypRef Expression
1 uncom 4053 . . . . 5 (𝐵𝐴) = (𝐴𝐵)
2 eqtr 2759 . . . . . . 7 (((𝐵𝐴) = (𝐴𝐵) ∧ (𝐴𝐵) = 𝐶) → (𝐵𝐴) = 𝐶)
32eqcomd 2745 . . . . . 6 (((𝐵𝐴) = (𝐴𝐵) ∧ (𝐴𝐵) = 𝐶) → 𝐶 = (𝐵𝐴))
4 difeq1 4016 . . . . . . 7 (𝐶 = (𝐵𝐴) → (𝐶𝐴) = ((𝐵𝐴) ∖ 𝐴))
5 difun2 4380 . . . . . . 7 ((𝐵𝐴) ∖ 𝐴) = (𝐵𝐴)
6 eqtr 2759 . . . . . . . 8 (((𝐶𝐴) = ((𝐵𝐴) ∖ 𝐴) ∧ ((𝐵𝐴) ∖ 𝐴) = (𝐵𝐴)) → (𝐶𝐴) = (𝐵𝐴))
7 incom 4101 . . . . . . . . . . 11 (𝐴𝐵) = (𝐵𝐴)
87eqeq1i 2744 . . . . . . . . . 10 ((𝐴𝐵) = ∅ ↔ (𝐵𝐴) = ∅)
9 disj3 4353 . . . . . . . . . 10 ((𝐵𝐴) = ∅ ↔ 𝐵 = (𝐵𝐴))
108, 9bitri 278 . . . . . . . . 9 ((𝐴𝐵) = ∅ ↔ 𝐵 = (𝐵𝐴))
11 eqtr 2759 . . . . . . . . . . 11 (((𝐶𝐴) = (𝐵𝐴) ∧ (𝐵𝐴) = 𝐵) → (𝐶𝐴) = 𝐵)
1211expcom 417 . . . . . . . . . 10 ((𝐵𝐴) = 𝐵 → ((𝐶𝐴) = (𝐵𝐴) → (𝐶𝐴) = 𝐵))
1312eqcoms 2747 . . . . . . . . 9 (𝐵 = (𝐵𝐴) → ((𝐶𝐴) = (𝐵𝐴) → (𝐶𝐴) = 𝐵))
1410, 13sylbi 220 . . . . . . . 8 ((𝐴𝐵) = ∅ → ((𝐶𝐴) = (𝐵𝐴) → (𝐶𝐴) = 𝐵))
156, 14syl5com 31 . . . . . . 7 (((𝐶𝐴) = ((𝐵𝐴) ∖ 𝐴) ∧ ((𝐵𝐴) ∖ 𝐴) = (𝐵𝐴)) → ((𝐴𝐵) = ∅ → (𝐶𝐴) = 𝐵))
164, 5, 15sylancl 589 . . . . . 6 (𝐶 = (𝐵𝐴) → ((𝐴𝐵) = ∅ → (𝐶𝐴) = 𝐵))
173, 16syl 17 . . . . 5 (((𝐵𝐴) = (𝐴𝐵) ∧ (𝐴𝐵) = 𝐶) → ((𝐴𝐵) = ∅ → (𝐶𝐴) = 𝐵))
181, 17mpan 690 . . . 4 ((𝐴𝐵) = 𝐶 → ((𝐴𝐵) = ∅ → (𝐶𝐴) = 𝐵))
1918com12 32 . . 3 ((𝐴𝐵) = ∅ → ((𝐴𝐵) = 𝐶 → (𝐶𝐴) = 𝐵))
2019adantl 485 . 2 ((𝐴𝐶 ∧ (𝐴𝐵) = ∅) → ((𝐴𝐵) = 𝐶 → (𝐶𝐴) = 𝐵))
21 simpl 486 . . . . . 6 ((𝐴𝐶 ∧ (𝐶𝐴) = 𝐵) → 𝐴𝐶)
22 difssd 4033 . . . . . . . 8 ((𝐶𝐴) = 𝐵 → (𝐶𝐴) ⊆ 𝐶)
23 sseq1 3912 . . . . . . . 8 ((𝐶𝐴) = 𝐵 → ((𝐶𝐴) ⊆ 𝐶𝐵𝐶))
2422, 23mpbid 235 . . . . . . 7 ((𝐶𝐴) = 𝐵𝐵𝐶)
2524adantl 485 . . . . . 6 ((𝐴𝐶 ∧ (𝐶𝐴) = 𝐵) → 𝐵𝐶)
2621, 25unssd 4086 . . . . 5 ((𝐴𝐶 ∧ (𝐶𝐴) = 𝐵) → (𝐴𝐵) ⊆ 𝐶)
27 eqimss 3943 . . . . . . 7 ((𝐶𝐴) = 𝐵 → (𝐶𝐴) ⊆ 𝐵)
28 ssundif 4384 . . . . . . 7 (𝐶 ⊆ (𝐴𝐵) ↔ (𝐶𝐴) ⊆ 𝐵)
2927, 28sylibr 237 . . . . . 6 ((𝐶𝐴) = 𝐵𝐶 ⊆ (𝐴𝐵))
3029adantl 485 . . . . 5 ((𝐴𝐶 ∧ (𝐶𝐴) = 𝐵) → 𝐶 ⊆ (𝐴𝐵))
3126, 30eqssd 3904 . . . 4 ((𝐴𝐶 ∧ (𝐶𝐴) = 𝐵) → (𝐴𝐵) = 𝐶)
3231ex 416 . . 3 (𝐴𝐶 → ((𝐶𝐴) = 𝐵 → (𝐴𝐵) = 𝐶))
3332adantr 484 . 2 ((𝐴𝐶 ∧ (𝐴𝐵) = ∅) → ((𝐶𝐴) = 𝐵 → (𝐴𝐵) = 𝐶))
3420, 33impbid 215 1 ((𝐴𝐶 ∧ (𝐴𝐵) = ∅) → ((𝐴𝐵) = 𝐶 ↔ (𝐶𝐴) = 𝐵))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399   = wceq 1542  cdif 3850  cun 3851  cin 3852  wss 3853  c0 4221
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1917  ax-6 1975  ax-7 2020  ax-8 2116  ax-9 2124  ax-ext 2711
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 847  df-tru 1545  df-fal 1555  df-ex 1787  df-sb 2075  df-clab 2718  df-cleq 2731  df-clel 2812  df-ral 3059  df-rab 3063  df-v 3402  df-dif 3856  df-un 3858  df-in 3860  df-ss 3870  df-nul 4222
This theorem is referenced by:  fzdifsuc  13071  hashbclem  13915  lecldbas  21983  conndisj  22180  ptuncnv  22571  ptunhmeo  22572  cldsubg  22875  icopnfcld  23533  iocmnfcld  23534  voliunlem1  24315  icombl  24329  ioombl  24330  uniioombllem4  24351  ismbf3d  24419  lhop  24781  symgcom  30942  f1resfz0f1d  32656  subfacp1lem3  32728  subfacp1lem5  32730  pconnconn  32777  cvmscld  32819
  Copyright terms: Public domain W3C validator