Users' Mathboxes Mathbox for Thierry Arnoux < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  difeq Structured version   Visualization version   GIF version

Theorem difeq 29355
Description: Rewriting an equation with class difference, without using quantifiers. (Contributed by Thierry Arnoux, 24-Sep-2017.)
Assertion
Ref Expression
difeq ((𝐴𝐵) = 𝐶 ↔ ((𝐶𝐵) = ∅ ∧ (𝐶𝐵) = (𝐴𝐵)))

Proof of Theorem difeq
StepHypRef Expression
1 incom 3805 . . . . 5 (𝐵 ∩ (𝐴𝐵)) = ((𝐴𝐵) ∩ 𝐵)
2 disjdif 4040 . . . . 5 (𝐵 ∩ (𝐴𝐵)) = ∅
31, 2eqtr3i 2646 . . . 4 ((𝐴𝐵) ∩ 𝐵) = ∅
4 ineq1 3807 . . . 4 ((𝐴𝐵) = 𝐶 → ((𝐴𝐵) ∩ 𝐵) = (𝐶𝐵))
53, 4syl5reqr 2671 . . 3 ((𝐴𝐵) = 𝐶 → (𝐶𝐵) = ∅)
6 undif1 4043 . . . 4 ((𝐴𝐵) ∪ 𝐵) = (𝐴𝐵)
7 uneq1 3760 . . . 4 ((𝐴𝐵) = 𝐶 → ((𝐴𝐵) ∪ 𝐵) = (𝐶𝐵))
86, 7syl5reqr 2671 . . 3 ((𝐴𝐵) = 𝐶 → (𝐶𝐵) = (𝐴𝐵))
95, 8jca 554 . 2 ((𝐴𝐵) = 𝐶 → ((𝐶𝐵) = ∅ ∧ (𝐶𝐵) = (𝐴𝐵)))
10 simpl 473 . . . 4 (((𝐶𝐵) = ∅ ∧ (𝐶𝐵) = (𝐴𝐵)) → (𝐶𝐵) = ∅)
11 disj3 4021 . . . . 5 ((𝐶𝐵) = ∅ ↔ 𝐶 = (𝐶𝐵))
12 eqcom 2629 . . . . 5 (𝐶 = (𝐶𝐵) ↔ (𝐶𝐵) = 𝐶)
1311, 12bitri 264 . . . 4 ((𝐶𝐵) = ∅ ↔ (𝐶𝐵) = 𝐶)
1410, 13sylib 208 . . 3 (((𝐶𝐵) = ∅ ∧ (𝐶𝐵) = (𝐴𝐵)) → (𝐶𝐵) = 𝐶)
15 difeq1 3721 . . . . . 6 ((𝐶𝐵) = (𝐴𝐵) → ((𝐶𝐵) ∖ 𝐵) = ((𝐴𝐵) ∖ 𝐵))
16 difun2 4048 . . . . . 6 ((𝐶𝐵) ∖ 𝐵) = (𝐶𝐵)
17 difun2 4048 . . . . . 6 ((𝐴𝐵) ∖ 𝐵) = (𝐴𝐵)
1815, 16, 173eqtr3g 2679 . . . . 5 ((𝐶𝐵) = (𝐴𝐵) → (𝐶𝐵) = (𝐴𝐵))
1918eqeq1d 2624 . . . 4 ((𝐶𝐵) = (𝐴𝐵) → ((𝐶𝐵) = 𝐶 ↔ (𝐴𝐵) = 𝐶))
2019adantl 482 . . 3 (((𝐶𝐵) = ∅ ∧ (𝐶𝐵) = (𝐴𝐵)) → ((𝐶𝐵) = 𝐶 ↔ (𝐴𝐵) = 𝐶))
2114, 20mpbid 222 . 2 (((𝐶𝐵) = ∅ ∧ (𝐶𝐵) = (𝐴𝐵)) → (𝐴𝐵) = 𝐶)
229, 21impbii 199 1 ((𝐴𝐵) = 𝐶 ↔ ((𝐶𝐵) = ∅ ∧ (𝐶𝐵) = (𝐴𝐵)))
Colors of variables: wff setvar class
Syntax hints:  wb 196  wa 384   = wceq 1483  cdif 3571  cun 3572  cin 3573  c0 3915
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246  ax-ext 2602
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-tru 1486  df-ex 1705  df-nf 1710  df-sb 1881  df-clab 2609  df-cleq 2615  df-clel 2618  df-nfc 2753  df-ral 2917  df-rab 2921  df-v 3202  df-dif 3577  df-un 3579  df-in 3581  df-ss 3588  df-nul 3916
This theorem is referenced by:  difioo  29544
  Copyright terms: Public domain W3C validator