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

Theorem eqdif 33280
Description: If both set differences of two sets are empty, those sets are equal. (Contributed by Thierry Arnoux, 16-Nov-2023.)
Assertion
Ref Expression
eqdif (((𝐴 ∖ 𝐵) = ∅ ∧ (𝐵 ∖ 𝐴) = ∅) → 𝐴 = 𝐵)

Proof of Theorem eqdif
StepHypRef Expression
1 eqss 3930 . 2 (𝐴 = 𝐵 ↔ (𝐴 ⊆ 𝐵 ∧ 𝐵 ⊆ 𝐴))
2 ssdif0 4319 . . 3 (𝐴 ⊆ 𝐵 ↔ (𝐴 ∖ 𝐵) = ∅)
3 ssdif0 4319 . . 3 (𝐵 ⊆ 𝐴 ↔ (𝐵 ∖ 𝐴) = ∅)
42, 3anbi12i 640 . 2 ((𝐴 ⊆ 𝐵 ∧ 𝐵 ⊆ 𝐴) ↔ ((𝐴 ∖ 𝐵) = ∅ ∧ (𝐵 ∖ 𝐴) = ∅))
51, 4sylbbr 239 1 (((𝐴 ∖ 𝐵) = ∅ ∧ (𝐵 ∖ 𝐴) = ∅) → 𝐴 = 𝐵)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1572   ⊆ wss 3902   ∖ cdif 4050  ∅c0 4283
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-ext 2741
This proof depends on definitions:  df-bi 210  df-an 402  df-tru 1575  df-fal 1585  df-ex 1815  df-sb 2105  df-clab 2748  df-cleq 2761  df-clel 2845  df-v 3458  df-ss 3903  df-dif 4052  df-nul 4284
This theorem is used by:  pmtrcnelor  33809
  Copyright terms: Public domain W3C validator