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

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

Proof of Theorem sssymdifcl
StepHypRef Expression
1 ssficl.a . 2 𝐴 = {𝑧𝑧𝐵}
2 vex 3444 . . . 4 𝑥 ∈ V
32difexi 5196 . . 3 (𝑥𝑦) ∈ V
4 vex 3444 . . . 4 𝑦 ∈ V
54difexi 5196 . . 3 (𝑦𝑥) ∈ V
63, 5unex 7449 . 2 ((𝑥𝑦) ∪ (𝑦𝑥)) ∈ V
7 sseq1 3940 . 2 (𝑧 = ((𝑥𝑦) ∪ (𝑦𝑥)) → (𝑧𝐵 ↔ ((𝑥𝑦) ∪ (𝑦𝑥)) ⊆ 𝐵))
8 sseq1 3940 . 2 (𝑧 = 𝑥 → (𝑧𝐵𝑥𝐵))
9 sseq1 3940 . 2 (𝑧 = 𝑦 → (𝑧𝐵𝑦𝐵))
10 ssdifss 4063 . . 3 (𝑥𝐵 → (𝑥𝑦) ⊆ 𝐵)
11 ssdifss 4063 . . 3 (𝑦𝐵 → (𝑦𝑥) ⊆ 𝐵)
12 unss 4111 . . . 4 (((𝑥𝑦) ⊆ 𝐵 ∧ (𝑦𝑥) ⊆ 𝐵) ↔ ((𝑥𝑦) ∪ (𝑦𝑥)) ⊆ 𝐵)
1312biimpi 219 . . 3 (((𝑥𝑦) ⊆ 𝐵 ∧ (𝑦𝑥) ⊆ 𝐵) → ((𝑥𝑦) ∪ (𝑦𝑥)) ⊆ 𝐵)
1410, 11, 13syl2an 598 . 2 ((𝑥𝐵𝑦𝐵) → ((𝑥𝑦) ∪ (𝑦𝑥)) ⊆ 𝐵)
151, 6, 7, 8, 9, 14cllem0 40265 1 𝑥𝐴𝑦𝐴 ((𝑥𝑦) ∪ (𝑦𝑥)) ∈ 𝐴
Colors of variables: wff setvar class
Syntax hints:  wa 399   = wceq 1538  wcel 2111  {cab 2776  wral 3106  Vcvv 3441  cdif 3878  cun 3879  wss 3881
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770  ax-sep 5167  ax-nul 5174  ax-pr 5295  ax-un 7441
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-ral 3111  df-rab 3115  df-v 3443  df-dif 3884  df-un 3886  df-in 3888  df-ss 3898  df-nul 4244  df-sn 4526  df-pr 4528  df-uni 4801
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator