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

Theorem uneqdifeq 4420
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 4083 . . . . 5 (𝐵𝐴) = (𝐴𝐵)
2 eqtr 2761 . . . . . . 7 (((𝐵𝐴) = (𝐴𝐵) ∧ (𝐴𝐵) = 𝐶) → (𝐵𝐴) = 𝐶)
32eqcomd 2744 . . . . . 6 (((𝐵𝐴) = (𝐴𝐵) ∧ (𝐴𝐵) = 𝐶) → 𝐶 = (𝐵𝐴))
4 difeq1 4046 . . . . . . 7 (𝐶 = (𝐵𝐴) → (𝐶𝐴) = ((𝐵𝐴) ∖ 𝐴))
5 difun2 4411 . . . . . . 7 ((𝐵𝐴) ∖ 𝐴) = (𝐵𝐴)
6 eqtr 2761 . . . . . . . 8 (((𝐶𝐴) = ((𝐵𝐴) ∖ 𝐴) ∧ ((𝐵𝐴) ∖ 𝐴) = (𝐵𝐴)) → (𝐶𝐴) = (𝐵𝐴))
7 incom 4131 . . . . . . . . . . 11 (𝐴𝐵) = (𝐵𝐴)
87eqeq1i 2743 . . . . . . . . . 10 ((𝐴𝐵) = ∅ ↔ (𝐵𝐴) = ∅)
9 disj3 4384 . . . . . . . . . 10 ((𝐵𝐴) = ∅ ↔ 𝐵 = (𝐵𝐴))
108, 9bitri 274 . . . . . . . . 9 ((𝐴𝐵) = ∅ ↔ 𝐵 = (𝐵𝐴))
11 eqtr 2761 . . . . . . . . . . 11 (((𝐶𝐴) = (𝐵𝐴) ∧ (𝐵𝐴) = 𝐵) → (𝐶𝐴) = 𝐵)
1211expcom 413 . . . . . . . . . 10 ((𝐵𝐴) = 𝐵 → ((𝐶𝐴) = (𝐵𝐴) → (𝐶𝐴) = 𝐵))
1312eqcoms 2746 . . . . . . . . 9 (𝐵 = (𝐵𝐴) → ((𝐶𝐴) = (𝐵𝐴) → (𝐶𝐴) = 𝐵))
1410, 13sylbi 216 . . . . . . . 8 ((𝐴𝐵) = ∅ → ((𝐶𝐴) = (𝐵𝐴) → (𝐶𝐴) = 𝐵))
156, 14syl5com 31 . . . . . . 7 (((𝐶𝐴) = ((𝐵𝐴) ∖ 𝐴) ∧ ((𝐵𝐴) ∖ 𝐴) = (𝐵𝐴)) → ((𝐴𝐵) = ∅ → (𝐶𝐴) = 𝐵))
164, 5, 15sylancl 585 . . . . . 6 (𝐶 = (𝐵𝐴) → ((𝐴𝐵) = ∅ → (𝐶𝐴) = 𝐵))
173, 16syl 17 . . . . 5 (((𝐵𝐴) = (𝐴𝐵) ∧ (𝐴𝐵) = 𝐶) → ((𝐴𝐵) = ∅ → (𝐶𝐴) = 𝐵))
181, 17mpan 686 . . . 4 ((𝐴𝐵) = 𝐶 → ((𝐴𝐵) = ∅ → (𝐶𝐴) = 𝐵))
1918com12 32 . . 3 ((𝐴𝐵) = ∅ → ((𝐴𝐵) = 𝐶 → (𝐶𝐴) = 𝐵))
2019adantl 481 . 2 ((𝐴𝐶 ∧ (𝐴𝐵) = ∅) → ((𝐴𝐵) = 𝐶 → (𝐶𝐴) = 𝐵))
21 simpl 482 . . . . . 6 ((𝐴𝐶 ∧ (𝐶𝐴) = 𝐵) → 𝐴𝐶)
22 difssd 4063 . . . . . . . 8 ((𝐶𝐴) = 𝐵 → (𝐶𝐴) ⊆ 𝐶)
23 sseq1 3942 . . . . . . . 8 ((𝐶𝐴) = 𝐵 → ((𝐶𝐴) ⊆ 𝐶𝐵𝐶))
2422, 23mpbid 231 . . . . . . 7 ((𝐶𝐴) = 𝐵𝐵𝐶)
2524adantl 481 . . . . . 6 ((𝐴𝐶 ∧ (𝐶𝐴) = 𝐵) → 𝐵𝐶)
2621, 25unssd 4116 . . . . 5 ((𝐴𝐶 ∧ (𝐶𝐴) = 𝐵) → (𝐴𝐵) ⊆ 𝐶)
27 eqimss 3973 . . . . . . 7 ((𝐶𝐴) = 𝐵 → (𝐶𝐴) ⊆ 𝐵)
28 ssundif 4415 . . . . . . 7 (𝐶 ⊆ (𝐴𝐵) ↔ (𝐶𝐴) ⊆ 𝐵)
2927, 28sylibr 233 . . . . . 6 ((𝐶𝐴) = 𝐵𝐶 ⊆ (𝐴𝐵))
3029adantl 481 . . . . 5 ((𝐴𝐶 ∧ (𝐶𝐴) = 𝐵) → 𝐶 ⊆ (𝐴𝐵))
3126, 30eqssd 3934 . . . 4 ((𝐴𝐶 ∧ (𝐶𝐴) = 𝐵) → (𝐴𝐵) = 𝐶)
3231ex 412 . . 3 (𝐴𝐶 → ((𝐶𝐴) = 𝐵 → (𝐴𝐵) = 𝐶))
3332adantr 480 . 2 ((𝐴𝐶 ∧ (𝐴𝐵) = ∅) → ((𝐶𝐴) = 𝐵 → (𝐴𝐵) = 𝐶))
3420, 33impbid 211 1 ((𝐴𝐶 ∧ (𝐴𝐵) = ∅) → ((𝐴𝐵) = 𝐶 ↔ (𝐶𝐴) = 𝐵))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395   = wceq 1539  cdif 3880  cun 3881  cin 3882  wss 3883  c0 4253
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-tru 1542  df-fal 1552  df-ex 1784  df-sb 2069  df-clab 2716  df-cleq 2730  df-clel 2817  df-ral 3068  df-rab 3072  df-v 3424  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254
This theorem is referenced by:  fzdifsuc  13245  hashbclem  14092  lecldbas  22278  conndisj  22475  ptuncnv  22866  ptunhmeo  22867  cldsubg  23170  icopnfcld  23837  iocmnfcld  23838  voliunlem1  24619  icombl  24633  ioombl  24634  uniioombllem4  24655  ismbf3d  24723  lhop  25085  symgcom  31254  f1resfz0f1d  32972  subfacp1lem3  33044  subfacp1lem5  33046  pconnconn  33093  cvmscld  33135
  Copyright terms: Public domain W3C validator