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 32548
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 ineq1 4234 . . . 4 ((𝐴𝐵) = 𝐶 → ((𝐴𝐵) ∩ 𝐵) = (𝐶𝐵))
2 disjdifr 4496 . . . 4 ((𝐴𝐵) ∩ 𝐵) = ∅
31, 2eqtr3di 2795 . . 3 ((𝐴𝐵) = 𝐶 → (𝐶𝐵) = ∅)
4 uneq1 4184 . . . 4 ((𝐴𝐵) = 𝐶 → ((𝐴𝐵) ∪ 𝐵) = (𝐶𝐵))
5 undif1 4499 . . . 4 ((𝐴𝐵) ∪ 𝐵) = (𝐴𝐵)
64, 5eqtr3di 2795 . . 3 ((𝐴𝐵) = 𝐶 → (𝐶𝐵) = (𝐴𝐵))
73, 6jca 511 . 2 ((𝐴𝐵) = 𝐶 → ((𝐶𝐵) = ∅ ∧ (𝐶𝐵) = (𝐴𝐵)))
8 simpl 482 . . . 4 (((𝐶𝐵) = ∅ ∧ (𝐶𝐵) = (𝐴𝐵)) → (𝐶𝐵) = ∅)
9 disj3 4477 . . . . 5 ((𝐶𝐵) = ∅ ↔ 𝐶 = (𝐶𝐵))
10 eqcom 2747 . . . . 5 (𝐶 = (𝐶𝐵) ↔ (𝐶𝐵) = 𝐶)
119, 10bitri 275 . . . 4 ((𝐶𝐵) = ∅ ↔ (𝐶𝐵) = 𝐶)
128, 11sylib 218 . . 3 (((𝐶𝐵) = ∅ ∧ (𝐶𝐵) = (𝐴𝐵)) → (𝐶𝐵) = 𝐶)
13 difeq1 4142 . . . . . 6 ((𝐶𝐵) = (𝐴𝐵) → ((𝐶𝐵) ∖ 𝐵) = ((𝐴𝐵) ∖ 𝐵))
14 difun2 4504 . . . . . 6 ((𝐶𝐵) ∖ 𝐵) = (𝐶𝐵)
15 difun2 4504 . . . . . 6 ((𝐴𝐵) ∖ 𝐵) = (𝐴𝐵)
1613, 14, 153eqtr3g 2803 . . . . 5 ((𝐶𝐵) = (𝐴𝐵) → (𝐶𝐵) = (𝐴𝐵))
1716eqeq1d 2742 . . . 4 ((𝐶𝐵) = (𝐴𝐵) → ((𝐶𝐵) = 𝐶 ↔ (𝐴𝐵) = 𝐶))
1817adantl 481 . . 3 (((𝐶𝐵) = ∅ ∧ (𝐶𝐵) = (𝐴𝐵)) → ((𝐶𝐵) = 𝐶 ↔ (𝐴𝐵) = 𝐶))
1912, 18mpbid 232 . 2 (((𝐶𝐵) = ∅ ∧ (𝐶𝐵) = (𝐴𝐵)) → (𝐴𝐵) = 𝐶)
207, 19impbii 209 1 ((𝐴𝐵) = 𝐶 ↔ ((𝐶𝐵) = ∅ ∧ (𝐶𝐵) = (𝐴𝐵)))
Colors of variables: wff setvar class
Syntax hints:  wb 206  wa 395   = wceq 1537  cdif 3973  cun 3974  cin 3975  c0 4352
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-fal 1550  df-ex 1778  df-sb 2065  df-clab 2718  df-cleq 2732  df-clel 2819  df-ral 3068  df-rab 3444  df-v 3490  df-dif 3979  df-un 3981  df-in 3983  df-ss 3993  df-nul 4353
This theorem is referenced by:  difioo  32787
  Copyright terms: Public domain W3C validator