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

Theorem isros 32130
Description: The property of being a rings of sets, i.e. containing the empty set, and closed under finite union and set complement. (Contributed by Thierry Arnoux, 18-Jul-2020.)
Hypothesis
Ref Expression
isros.1 𝑄 = {𝑠 ∈ 𝒫 𝒫 𝑂 ∣ (∅ ∈ 𝑠 ∧ ∀𝑥𝑠𝑦𝑠 ((𝑥𝑦) ∈ 𝑠 ∧ (𝑥𝑦) ∈ 𝑠))}
Assertion
Ref Expression
isros (𝑆𝑄 ↔ (𝑆 ∈ 𝒫 𝒫 𝑂 ∧ ∅ ∈ 𝑆 ∧ ∀𝑢𝑆𝑣𝑆 ((𝑢𝑣) ∈ 𝑆 ∧ (𝑢𝑣) ∈ 𝑆)))
Distinct variable groups:   𝑣,𝑢   𝑂,𝑠   𝑆,𝑠,𝑢,𝑣,𝑥,𝑦
Allowed substitution hints:   𝑄(𝑥,𝑦,𝑣,𝑢,𝑠)   𝑂(𝑥,𝑦,𝑣,𝑢)

Proof of Theorem isros
StepHypRef Expression
1 eleq2 2829 . . . 4 (𝑠 = 𝑆 → (∅ ∈ 𝑠 ↔ ∅ ∈ 𝑆))
2 eleq2 2829 . . . . . . 7 (𝑠 = 𝑆 → ((𝑥𝑦) ∈ 𝑠 ↔ (𝑥𝑦) ∈ 𝑆))
3 eleq2 2829 . . . . . . 7 (𝑠 = 𝑆 → ((𝑥𝑦) ∈ 𝑠 ↔ (𝑥𝑦) ∈ 𝑆))
42, 3anbi12d 631 . . . . . 6 (𝑠 = 𝑆 → (((𝑥𝑦) ∈ 𝑠 ∧ (𝑥𝑦) ∈ 𝑠) ↔ ((𝑥𝑦) ∈ 𝑆 ∧ (𝑥𝑦) ∈ 𝑆)))
54raleqbi1dv 3339 . . . . 5 (𝑠 = 𝑆 → (∀𝑦𝑠 ((𝑥𝑦) ∈ 𝑠 ∧ (𝑥𝑦) ∈ 𝑠) ↔ ∀𝑦𝑆 ((𝑥𝑦) ∈ 𝑆 ∧ (𝑥𝑦) ∈ 𝑆)))
65raleqbi1dv 3339 . . . 4 (𝑠 = 𝑆 → (∀𝑥𝑠𝑦𝑠 ((𝑥𝑦) ∈ 𝑠 ∧ (𝑥𝑦) ∈ 𝑠) ↔ ∀𝑥𝑆𝑦𝑆 ((𝑥𝑦) ∈ 𝑆 ∧ (𝑥𝑦) ∈ 𝑆)))
71, 6anbi12d 631 . . 3 (𝑠 = 𝑆 → ((∅ ∈ 𝑠 ∧ ∀𝑥𝑠𝑦𝑠 ((𝑥𝑦) ∈ 𝑠 ∧ (𝑥𝑦) ∈ 𝑠)) ↔ (∅ ∈ 𝑆 ∧ ∀𝑥𝑆𝑦𝑆 ((𝑥𝑦) ∈ 𝑆 ∧ (𝑥𝑦) ∈ 𝑆))))
8 isros.1 . . 3 𝑄 = {𝑠 ∈ 𝒫 𝒫 𝑂 ∣ (∅ ∈ 𝑠 ∧ ∀𝑥𝑠𝑦𝑠 ((𝑥𝑦) ∈ 𝑠 ∧ (𝑥𝑦) ∈ 𝑠))}
97, 8elrab2 3629 . 2 (𝑆𝑄 ↔ (𝑆 ∈ 𝒫 𝒫 𝑂 ∧ (∅ ∈ 𝑆 ∧ ∀𝑥𝑆𝑦𝑆 ((𝑥𝑦) ∈ 𝑆 ∧ (𝑥𝑦) ∈ 𝑆))))
10 3anass 1094 . 2 ((𝑆 ∈ 𝒫 𝒫 𝑂 ∧ ∅ ∈ 𝑆 ∧ ∀𝑥𝑆𝑦𝑆 ((𝑥𝑦) ∈ 𝑆 ∧ (𝑥𝑦) ∈ 𝑆)) ↔ (𝑆 ∈ 𝒫 𝒫 𝑂 ∧ (∅ ∈ 𝑆 ∧ ∀𝑥𝑆𝑦𝑆 ((𝑥𝑦) ∈ 𝑆 ∧ (𝑥𝑦) ∈ 𝑆))))
11 uneq1 4095 . . . . . 6 (𝑥 = 𝑢 → (𝑥𝑦) = (𝑢𝑦))
1211eleq1d 2825 . . . . 5 (𝑥 = 𝑢 → ((𝑥𝑦) ∈ 𝑆 ↔ (𝑢𝑦) ∈ 𝑆))
13 difeq1 4055 . . . . . 6 (𝑥 = 𝑢 → (𝑥𝑦) = (𝑢𝑦))
1413eleq1d 2825 . . . . 5 (𝑥 = 𝑢 → ((𝑥𝑦) ∈ 𝑆 ↔ (𝑢𝑦) ∈ 𝑆))
1512, 14anbi12d 631 . . . 4 (𝑥 = 𝑢 → (((𝑥𝑦) ∈ 𝑆 ∧ (𝑥𝑦) ∈ 𝑆) ↔ ((𝑢𝑦) ∈ 𝑆 ∧ (𝑢𝑦) ∈ 𝑆)))
16 uneq2 4096 . . . . . 6 (𝑦 = 𝑣 → (𝑢𝑦) = (𝑢𝑣))
1716eleq1d 2825 . . . . 5 (𝑦 = 𝑣 → ((𝑢𝑦) ∈ 𝑆 ↔ (𝑢𝑣) ∈ 𝑆))
18 difeq2 4056 . . . . . 6 (𝑦 = 𝑣 → (𝑢𝑦) = (𝑢𝑣))
1918eleq1d 2825 . . . . 5 (𝑦 = 𝑣 → ((𝑢𝑦) ∈ 𝑆 ↔ (𝑢𝑣) ∈ 𝑆))
2017, 19anbi12d 631 . . . 4 (𝑦 = 𝑣 → (((𝑢𝑦) ∈ 𝑆 ∧ (𝑢𝑦) ∈ 𝑆) ↔ ((𝑢𝑣) ∈ 𝑆 ∧ (𝑢𝑣) ∈ 𝑆)))
2115, 20cbvral2vw 3394 . . 3 (∀𝑥𝑆𝑦𝑆 ((𝑥𝑦) ∈ 𝑆 ∧ (𝑥𝑦) ∈ 𝑆) ↔ ∀𝑢𝑆𝑣𝑆 ((𝑢𝑣) ∈ 𝑆 ∧ (𝑢𝑣) ∈ 𝑆))
22213anbi3i 1158 . 2 ((𝑆 ∈ 𝒫 𝒫 𝑂 ∧ ∅ ∈ 𝑆 ∧ ∀𝑥𝑆𝑦𝑆 ((𝑥𝑦) ∈ 𝑆 ∧ (𝑥𝑦) ∈ 𝑆)) ↔ (𝑆 ∈ 𝒫 𝒫 𝑂 ∧ ∅ ∈ 𝑆 ∧ ∀𝑢𝑆𝑣𝑆 ((𝑢𝑣) ∈ 𝑆 ∧ (𝑢𝑣) ∈ 𝑆)))
239, 10, 223bitr2i 299 1 (𝑆𝑄 ↔ (𝑆 ∈ 𝒫 𝒫 𝑂 ∧ ∅ ∈ 𝑆 ∧ ∀𝑢𝑆𝑣𝑆 ((𝑢𝑣) ∈ 𝑆 ∧ (𝑢𝑣) ∈ 𝑆)))
Colors of variables: wff setvar class
Syntax hints:  wb 205  wa 396  w3a 1086   = wceq 1542  wcel 2110  wral 3066  {crab 3070  cdif 3889  cun 3890  c0 4262  𝒫 cpw 4539
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1917  ax-6 1975  ax-7 2015  ax-8 2112  ax-9 2120  ax-ext 2711
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1545  df-ex 1787  df-sb 2072  df-clab 2718  df-cleq 2732  df-clel 2818  df-ral 3071  df-rab 3075  df-v 3433  df-dif 3895  df-un 3897
This theorem is referenced by:  rossspw  32131  0elros  32132  unelros  32133  difelros  32134
  Copyright terms: Public domain W3C validator