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 32036
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 2827 . . . 4 (𝑠 = 𝑆 → (∅ ∈ 𝑠 ↔ ∅ ∈ 𝑆))
2 eleq2 2827 . . . . . . 7 (𝑠 = 𝑆 → ((𝑥𝑦) ∈ 𝑠 ↔ (𝑥𝑦) ∈ 𝑆))
3 eleq2 2827 . . . . . . 7 (𝑠 = 𝑆 → ((𝑥𝑦) ∈ 𝑠 ↔ (𝑥𝑦) ∈ 𝑆))
42, 3anbi12d 630 . . . . . 6 (𝑠 = 𝑆 → (((𝑥𝑦) ∈ 𝑠 ∧ (𝑥𝑦) ∈ 𝑠) ↔ ((𝑥𝑦) ∈ 𝑆 ∧ (𝑥𝑦) ∈ 𝑆)))
54raleqbi1dv 3331 . . . . 5 (𝑠 = 𝑆 → (∀𝑦𝑠 ((𝑥𝑦) ∈ 𝑠 ∧ (𝑥𝑦) ∈ 𝑠) ↔ ∀𝑦𝑆 ((𝑥𝑦) ∈ 𝑆 ∧ (𝑥𝑦) ∈ 𝑆)))
65raleqbi1dv 3331 . . . 4 (𝑠 = 𝑆 → (∀𝑥𝑠𝑦𝑠 ((𝑥𝑦) ∈ 𝑠 ∧ (𝑥𝑦) ∈ 𝑠) ↔ ∀𝑥𝑆𝑦𝑆 ((𝑥𝑦) ∈ 𝑆 ∧ (𝑥𝑦) ∈ 𝑆)))
71, 6anbi12d 630 . . 3 (𝑠 = 𝑆 → ((∅ ∈ 𝑠 ∧ ∀𝑥𝑠𝑦𝑠 ((𝑥𝑦) ∈ 𝑠 ∧ (𝑥𝑦) ∈ 𝑠)) ↔ (∅ ∈ 𝑆 ∧ ∀𝑥𝑆𝑦𝑆 ((𝑥𝑦) ∈ 𝑆 ∧ (𝑥𝑦) ∈ 𝑆))))
8 isros.1 . . 3 𝑄 = {𝑠 ∈ 𝒫 𝒫 𝑂 ∣ (∅ ∈ 𝑠 ∧ ∀𝑥𝑠𝑦𝑠 ((𝑥𝑦) ∈ 𝑠 ∧ (𝑥𝑦) ∈ 𝑠))}
97, 8elrab2 3620 . 2 (𝑆𝑄 ↔ (𝑆 ∈ 𝒫 𝒫 𝑂 ∧ (∅ ∈ 𝑆 ∧ ∀𝑥𝑆𝑦𝑆 ((𝑥𝑦) ∈ 𝑆 ∧ (𝑥𝑦) ∈ 𝑆))))
10 3anass 1093 . 2 ((𝑆 ∈ 𝒫 𝒫 𝑂 ∧ ∅ ∈ 𝑆 ∧ ∀𝑥𝑆𝑦𝑆 ((𝑥𝑦) ∈ 𝑆 ∧ (𝑥𝑦) ∈ 𝑆)) ↔ (𝑆 ∈ 𝒫 𝒫 𝑂 ∧ (∅ ∈ 𝑆 ∧ ∀𝑥𝑆𝑦𝑆 ((𝑥𝑦) ∈ 𝑆 ∧ (𝑥𝑦) ∈ 𝑆))))
11 uneq1 4086 . . . . . 6 (𝑥 = 𝑢 → (𝑥𝑦) = (𝑢𝑦))
1211eleq1d 2823 . . . . 5 (𝑥 = 𝑢 → ((𝑥𝑦) ∈ 𝑆 ↔ (𝑢𝑦) ∈ 𝑆))
13 difeq1 4046 . . . . . 6 (𝑥 = 𝑢 → (𝑥𝑦) = (𝑢𝑦))
1413eleq1d 2823 . . . . 5 (𝑥 = 𝑢 → ((𝑥𝑦) ∈ 𝑆 ↔ (𝑢𝑦) ∈ 𝑆))
1512, 14anbi12d 630 . . . 4 (𝑥 = 𝑢 → (((𝑥𝑦) ∈ 𝑆 ∧ (𝑥𝑦) ∈ 𝑆) ↔ ((𝑢𝑦) ∈ 𝑆 ∧ (𝑢𝑦) ∈ 𝑆)))
16 uneq2 4087 . . . . . 6 (𝑦 = 𝑣 → (𝑢𝑦) = (𝑢𝑣))
1716eleq1d 2823 . . . . 5 (𝑦 = 𝑣 → ((𝑢𝑦) ∈ 𝑆 ↔ (𝑢𝑣) ∈ 𝑆))
18 difeq2 4047 . . . . . 6 (𝑦 = 𝑣 → (𝑢𝑦) = (𝑢𝑣))
1918eleq1d 2823 . . . . 5 (𝑦 = 𝑣 → ((𝑢𝑦) ∈ 𝑆 ↔ (𝑢𝑣) ∈ 𝑆))
2017, 19anbi12d 630 . . . 4 (𝑦 = 𝑣 → (((𝑢𝑦) ∈ 𝑆 ∧ (𝑢𝑦) ∈ 𝑆) ↔ ((𝑢𝑣) ∈ 𝑆 ∧ (𝑢𝑣) ∈ 𝑆)))
2115, 20cbvral2vw 3385 . . 3 (∀𝑥𝑆𝑦𝑆 ((𝑥𝑦) ∈ 𝑆 ∧ (𝑥𝑦) ∈ 𝑆) ↔ ∀𝑢𝑆𝑣𝑆 ((𝑢𝑣) ∈ 𝑆 ∧ (𝑢𝑣) ∈ 𝑆))
22213anbi3i 1157 . 2 ((𝑆 ∈ 𝒫 𝒫 𝑂 ∧ ∅ ∈ 𝑆 ∧ ∀𝑥𝑆𝑦𝑆 ((𝑥𝑦) ∈ 𝑆 ∧ (𝑥𝑦) ∈ 𝑆)) ↔ (𝑆 ∈ 𝒫 𝒫 𝑂 ∧ ∅ ∈ 𝑆 ∧ ∀𝑢𝑆𝑣𝑆 ((𝑢𝑣) ∈ 𝑆 ∧ (𝑢𝑣) ∈ 𝑆)))
239, 10, 223bitr2i 298 1 (𝑆𝑄 ↔ (𝑆 ∈ 𝒫 𝒫 𝑂 ∧ ∅ ∈ 𝑆 ∧ ∀𝑢𝑆𝑣𝑆 ((𝑢𝑣) ∈ 𝑆 ∧ (𝑢𝑣) ∈ 𝑆)))
Colors of variables: wff setvar class
Syntax hints:  wb 205  wa 395  w3a 1085   = wceq 1539  wcel 2108  wral 3063  {crab 3067  cdif 3880  cun 3881  c0 4253  𝒫 cpw 4530
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-ex 1784  df-sb 2069  df-clab 2716  df-cleq 2730  df-clel 2817  df-ral 3068  df-rab 3072  df-v 3424  df-dif 3886  df-un 3888
This theorem is referenced by:  rossspw  32037  0elros  32038  unelros  32039  difelros  32040
  Copyright terms: Public domain W3C validator