Users' Mathboxes Mathbox for Richard Penner < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  ssdifcl Structured version   Visualization version   GIF version

Theorem ssdifcl 44715
Description: The class of all subsets of a class is closed under class difference. (Contributed by RP, 3-Jan-2020.)
Hypothesis
Ref Expression
ssficl.a 𝐴 = {𝑧 ∣ 𝑧 ⊆ 𝐵}
Assertion
Ref Expression
ssdifcl ∀𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐴 (𝑥 ∖ 𝑦) ∈ 𝐴
Distinct variable groups:   𝑥,𝑦,𝑧   𝑦,𝐴   𝑧,𝐵
Allowed substitution hints:   𝐴(𝑥, 𝑧)   𝐵(𝑥, 𝑦)

Proof of Theorem ssdifcl
StepHypRef Expression
1 ssficl.a . 2 𝐴 = {𝑧 ∣ 𝑧 ⊆ 𝐵}
2 vex 3458 . . 3 𝑥 ∈ V
32difexi 5296 . 2 (𝑥 ∖ 𝑦) ∈ V
4 sseq1 3938 . 2 (𝑧 = (𝑥 ∖ 𝑦) → (𝑧 ⊆ 𝐵 ↔ (𝑥 ∖ 𝑦) ⊆ 𝐵))
5 sseq1 3938 . 2 (𝑧 = 𝑥 → (𝑧 ⊆ 𝐵 ↔ 𝑥 ⊆ 𝐵))
6 sseq1 3938 . 2 (𝑧 = 𝑦 → (𝑧 ⊆ 𝐵 ↔ 𝑦 ⊆ 𝐵))
7 ssdifss 4079 . . 3 (𝑥 ⊆ 𝐵 → (𝑥 ∖ 𝑦) ⊆ 𝐵)
87adantr 486 . 2 ((𝑥 ⊆ 𝐵 ∧ 𝑦 ⊆ 𝐵) → (𝑥 ∖ 𝑦) ⊆ 𝐵)
91, 3, 4, 5, 6, 8cllem0 44710 1 ∀𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐴 (𝑥 ∖ 𝑦) ∈ 𝐴
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   = wceq 1569   ∈ wcel 2146  {cab 2741  ∀wral 3080  Vcvv 3454   ⊆ wss 3900   ∖ cdif 4048
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1944  ax-6 2001  ax-7 2042  ax-8 2148  ax-9 2156  ax-ext 2735  ax-sep 5252
This proof depends on definitions:  df-bi 210  df-an 402  df-3an 1105  df-tru 1572  df-ex 1812  df-sb 2101  df-clab 2742  df-cleq 2755  df-clel 2839  df-ral 3081  df-rab 3417  df-v 3456  df-ss 3901  df-dif 4050  df-in 4094
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator