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 30359
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 2719 . . . 4 (𝑠 = 𝑆 → (∅ ∈ 𝑠 ↔ ∅ ∈ 𝑆))
2 eleq2 2719 . . . . . . 7 (𝑠 = 𝑆 → ((𝑥𝑦) ∈ 𝑠 ↔ (𝑥𝑦) ∈ 𝑆))
3 eleq2 2719 . . . . . . 7 (𝑠 = 𝑆 → ((𝑥𝑦) ∈ 𝑠 ↔ (𝑥𝑦) ∈ 𝑆))
42, 3anbi12d 747 . . . . . 6 (𝑠 = 𝑆 → (((𝑥𝑦) ∈ 𝑠 ∧ (𝑥𝑦) ∈ 𝑠) ↔ ((𝑥𝑦) ∈ 𝑆 ∧ (𝑥𝑦) ∈ 𝑆)))
54raleqbi1dv 3176 . . . . 5 (𝑠 = 𝑆 → (∀𝑦𝑠 ((𝑥𝑦) ∈ 𝑠 ∧ (𝑥𝑦) ∈ 𝑠) ↔ ∀𝑦𝑆 ((𝑥𝑦) ∈ 𝑆 ∧ (𝑥𝑦) ∈ 𝑆)))
65raleqbi1dv 3176 . . . 4 (𝑠 = 𝑆 → (∀𝑥𝑠𝑦𝑠 ((𝑥𝑦) ∈ 𝑠 ∧ (𝑥𝑦) ∈ 𝑠) ↔ ∀𝑥𝑆𝑦𝑆 ((𝑥𝑦) ∈ 𝑆 ∧ (𝑥𝑦) ∈ 𝑆)))
71, 6anbi12d 747 . . 3 (𝑠 = 𝑆 → ((∅ ∈ 𝑠 ∧ ∀𝑥𝑠𝑦𝑠 ((𝑥𝑦) ∈ 𝑠 ∧ (𝑥𝑦) ∈ 𝑠)) ↔ (∅ ∈ 𝑆 ∧ ∀𝑥𝑆𝑦𝑆 ((𝑥𝑦) ∈ 𝑆 ∧ (𝑥𝑦) ∈ 𝑆))))
8 isros.1 . . 3 𝑄 = {𝑠 ∈ 𝒫 𝒫 𝑂 ∣ (∅ ∈ 𝑠 ∧ ∀𝑥𝑠𝑦𝑠 ((𝑥𝑦) ∈ 𝑠 ∧ (𝑥𝑦) ∈ 𝑠))}
97, 8elrab2 3399 . 2 (𝑆𝑄 ↔ (𝑆 ∈ 𝒫 𝒫 𝑂 ∧ (∅ ∈ 𝑆 ∧ ∀𝑥𝑆𝑦𝑆 ((𝑥𝑦) ∈ 𝑆 ∧ (𝑥𝑦) ∈ 𝑆))))
10 3anass 1059 . 2 ((𝑆 ∈ 𝒫 𝒫 𝑂 ∧ ∅ ∈ 𝑆 ∧ ∀𝑥𝑆𝑦𝑆 ((𝑥𝑦) ∈ 𝑆 ∧ (𝑥𝑦) ∈ 𝑆)) ↔ (𝑆 ∈ 𝒫 𝒫 𝑂 ∧ (∅ ∈ 𝑆 ∧ ∀𝑥𝑆𝑦𝑆 ((𝑥𝑦) ∈ 𝑆 ∧ (𝑥𝑦) ∈ 𝑆))))
11 uneq1 3793 . . . . . 6 (𝑥 = 𝑢 → (𝑥𝑦) = (𝑢𝑦))
1211eleq1d 2715 . . . . 5 (𝑥 = 𝑢 → ((𝑥𝑦) ∈ 𝑆 ↔ (𝑢𝑦) ∈ 𝑆))
13 difeq1 3754 . . . . . 6 (𝑥 = 𝑢 → (𝑥𝑦) = (𝑢𝑦))
1413eleq1d 2715 . . . . 5 (𝑥 = 𝑢 → ((𝑥𝑦) ∈ 𝑆 ↔ (𝑢𝑦) ∈ 𝑆))
1512, 14anbi12d 747 . . . 4 (𝑥 = 𝑢 → (((𝑥𝑦) ∈ 𝑆 ∧ (𝑥𝑦) ∈ 𝑆) ↔ ((𝑢𝑦) ∈ 𝑆 ∧ (𝑢𝑦) ∈ 𝑆)))
16 uneq2 3794 . . . . . 6 (𝑦 = 𝑣 → (𝑢𝑦) = (𝑢𝑣))
1716eleq1d 2715 . . . . 5 (𝑦 = 𝑣 → ((𝑢𝑦) ∈ 𝑆 ↔ (𝑢𝑣) ∈ 𝑆))
18 difeq2 3755 . . . . . 6 (𝑦 = 𝑣 → (𝑢𝑦) = (𝑢𝑣))
1918eleq1d 2715 . . . . 5 (𝑦 = 𝑣 → ((𝑢𝑦) ∈ 𝑆 ↔ (𝑢𝑣) ∈ 𝑆))
2017, 19anbi12d 747 . . . 4 (𝑦 = 𝑣 → (((𝑢𝑦) ∈ 𝑆 ∧ (𝑢𝑦) ∈ 𝑆) ↔ ((𝑢𝑣) ∈ 𝑆 ∧ (𝑢𝑣) ∈ 𝑆)))
2115, 20cbvral2v 3209 . . 3 (∀𝑥𝑆𝑦𝑆 ((𝑥𝑦) ∈ 𝑆 ∧ (𝑥𝑦) ∈ 𝑆) ↔ ∀𝑢𝑆𝑣𝑆 ((𝑢𝑣) ∈ 𝑆 ∧ (𝑢𝑣) ∈ 𝑆))
22213anbi3i 1274 . 2 ((𝑆 ∈ 𝒫 𝒫 𝑂 ∧ ∅ ∈ 𝑆 ∧ ∀𝑥𝑆𝑦𝑆 ((𝑥𝑦) ∈ 𝑆 ∧ (𝑥𝑦) ∈ 𝑆)) ↔ (𝑆 ∈ 𝒫 𝒫 𝑂 ∧ ∅ ∈ 𝑆 ∧ ∀𝑢𝑆𝑣𝑆 ((𝑢𝑣) ∈ 𝑆 ∧ (𝑢𝑣) ∈ 𝑆)))
239, 10, 223bitr2i 288 1 (𝑆𝑄 ↔ (𝑆 ∈ 𝒫 𝒫 𝑂 ∧ ∅ ∈ 𝑆 ∧ ∀𝑢𝑆𝑣𝑆 ((𝑢𝑣) ∈ 𝑆 ∧ (𝑢𝑣) ∈ 𝑆)))
Colors of variables: wff setvar class
Syntax hints:  wb 196  wa 383  w3a 1054   = wceq 1523  wcel 2030  wral 2941  {crab 2945  cdif 3604  cun 3605  c0 3948  𝒫 cpw 4191
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1762  ax-4 1777  ax-5 1879  ax-6 1945  ax-7 1981  ax-9 2039  ax-10 2059  ax-11 2074  ax-12 2087  ax-13 2282  ax-ext 2631
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3an 1056  df-tru 1526  df-ex 1745  df-nf 1750  df-sb 1938  df-clab 2638  df-cleq 2644  df-clel 2647  df-nfc 2782  df-ral 2946  df-rab 2950  df-v 3233  df-dif 3610  df-un 3612
This theorem is referenced by:  rossspw  30360  0elros  30361  unelros  30362  difelros  30363
  Copyright terms: Public domain W3C validator