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 30766
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 4136 . . . 4 ((𝐴𝐵) = 𝐶 → ((𝐴𝐵) ∩ 𝐵) = (𝐶𝐵))
2 disjdifr 4403 . . . 4 ((𝐴𝐵) ∩ 𝐵) = ∅
31, 2eqtr3di 2794 . . 3 ((𝐴𝐵) = 𝐶 → (𝐶𝐵) = ∅)
4 uneq1 4086 . . . 4 ((𝐴𝐵) = 𝐶 → ((𝐴𝐵) ∪ 𝐵) = (𝐶𝐵))
5 undif1 4406 . . . 4 ((𝐴𝐵) ∪ 𝐵) = (𝐴𝐵)
64, 5eqtr3di 2794 . . 3 ((𝐴𝐵) = 𝐶 → (𝐶𝐵) = (𝐴𝐵))
73, 6jca 511 . 2 ((𝐴𝐵) = 𝐶 → ((𝐶𝐵) = ∅ ∧ (𝐶𝐵) = (𝐴𝐵)))
8 simpl 482 . . . 4 (((𝐶𝐵) = ∅ ∧ (𝐶𝐵) = (𝐴𝐵)) → (𝐶𝐵) = ∅)
9 disj3 4384 . . . . 5 ((𝐶𝐵) = ∅ ↔ 𝐶 = (𝐶𝐵))
10 eqcom 2745 . . . . 5 (𝐶 = (𝐶𝐵) ↔ (𝐶𝐵) = 𝐶)
119, 10bitri 274 . . . 4 ((𝐶𝐵) = ∅ ↔ (𝐶𝐵) = 𝐶)
128, 11sylib 217 . . 3 (((𝐶𝐵) = ∅ ∧ (𝐶𝐵) = (𝐴𝐵)) → (𝐶𝐵) = 𝐶)
13 difeq1 4046 . . . . . 6 ((𝐶𝐵) = (𝐴𝐵) → ((𝐶𝐵) ∖ 𝐵) = ((𝐴𝐵) ∖ 𝐵))
14 difun2 4411 . . . . . 6 ((𝐶𝐵) ∖ 𝐵) = (𝐶𝐵)
15 difun2 4411 . . . . . 6 ((𝐴𝐵) ∖ 𝐵) = (𝐴𝐵)
1613, 14, 153eqtr3g 2802 . . . . 5 ((𝐶𝐵) = (𝐴𝐵) → (𝐶𝐵) = (𝐴𝐵))
1716eqeq1d 2740 . . . 4 ((𝐶𝐵) = (𝐴𝐵) → ((𝐶𝐵) = 𝐶 ↔ (𝐴𝐵) = 𝐶))
1817adantl 481 . . 3 (((𝐶𝐵) = ∅ ∧ (𝐶𝐵) = (𝐴𝐵)) → ((𝐶𝐵) = 𝐶 ↔ (𝐴𝐵) = 𝐶))
1912, 18mpbid 231 . 2 (((𝐶𝐵) = ∅ ∧ (𝐶𝐵) = (𝐴𝐵)) → (𝐴𝐵) = 𝐶)
207, 19impbii 208 1 ((𝐴𝐵) = 𝐶 ↔ ((𝐶𝐵) = ∅ ∧ (𝐶𝐵) = (𝐴𝐵)))
Colors of variables: wff setvar class
Syntax hints:  wb 205  wa 395   = wceq 1539  cdif 3880  cun 3881  cin 3882  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:  difioo  31005
  Copyright terms: Public domain W3C validator