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 30282
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 4180 . . . . 5 (𝐵 ∩ (𝐴𝐵)) = ((𝐴𝐵) ∩ 𝐵)
2 disjdif 4423 . . . . 5 (𝐵 ∩ (𝐴𝐵)) = ∅
31, 2eqtr3i 2848 . . . 4 ((𝐴𝐵) ∩ 𝐵) = ∅
4 ineq1 4183 . . . 4 ((𝐴𝐵) = 𝐶 → ((𝐴𝐵) ∩ 𝐵) = (𝐶𝐵))
53, 4syl5reqr 2873 . . 3 ((𝐴𝐵) = 𝐶 → (𝐶𝐵) = ∅)
6 undif1 4426 . . . 4 ((𝐴𝐵) ∪ 𝐵) = (𝐴𝐵)
7 uneq1 4134 . . . 4 ((𝐴𝐵) = 𝐶 → ((𝐴𝐵) ∪ 𝐵) = (𝐶𝐵))
86, 7syl5reqr 2873 . . 3 ((𝐴𝐵) = 𝐶 → (𝐶𝐵) = (𝐴𝐵))
95, 8jca 514 . 2 ((𝐴𝐵) = 𝐶 → ((𝐶𝐵) = ∅ ∧ (𝐶𝐵) = (𝐴𝐵)))
10 simpl 485 . . . 4 (((𝐶𝐵) = ∅ ∧ (𝐶𝐵) = (𝐴𝐵)) → (𝐶𝐵) = ∅)
11 disj3 4405 . . . . 5 ((𝐶𝐵) = ∅ ↔ 𝐶 = (𝐶𝐵))
12 eqcom 2830 . . . . 5 (𝐶 = (𝐶𝐵) ↔ (𝐶𝐵) = 𝐶)
1311, 12bitri 277 . . . 4 ((𝐶𝐵) = ∅ ↔ (𝐶𝐵) = 𝐶)
1410, 13sylib 220 . . 3 (((𝐶𝐵) = ∅ ∧ (𝐶𝐵) = (𝐴𝐵)) → (𝐶𝐵) = 𝐶)
15 difeq1 4094 . . . . . 6 ((𝐶𝐵) = (𝐴𝐵) → ((𝐶𝐵) ∖ 𝐵) = ((𝐴𝐵) ∖ 𝐵))
16 difun2 4431 . . . . . 6 ((𝐶𝐵) ∖ 𝐵) = (𝐶𝐵)
17 difun2 4431 . . . . . 6 ((𝐴𝐵) ∖ 𝐵) = (𝐴𝐵)
1815, 16, 173eqtr3g 2881 . . . . 5 ((𝐶𝐵) = (𝐴𝐵) → (𝐶𝐵) = (𝐴𝐵))
1918eqeq1d 2825 . . . 4 ((𝐶𝐵) = (𝐴𝐵) → ((𝐶𝐵) = 𝐶 ↔ (𝐴𝐵) = 𝐶))
2019adantl 484 . . 3 (((𝐶𝐵) = ∅ ∧ (𝐶𝐵) = (𝐴𝐵)) → ((𝐶𝐵) = 𝐶 ↔ (𝐴𝐵) = 𝐶))
2114, 20mpbid 234 . 2 (((𝐶𝐵) = ∅ ∧ (𝐶𝐵) = (𝐴𝐵)) → (𝐴𝐵) = 𝐶)
229, 21impbii 211 1 ((𝐴𝐵) = 𝐶 ↔ ((𝐶𝐵) = ∅ ∧ (𝐶𝐵) = (𝐴𝐵)))
Colors of variables: wff setvar class
Syntax hints:  wb 208  wa 398   = wceq 1537  cdif 3935  cun 3936  cin 3937  c0 4293
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2795
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-clab 2802  df-cleq 2816  df-clel 2895  df-nfc 2965  df-ral 3145  df-rab 3149  df-v 3498  df-dif 3941  df-un 3943  df-in 3945  df-ss 3954  df-nul 4294
This theorem is referenced by:  difioo  30507
  Copyright terms: Public domain W3C validator