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

Theorem unelros 31540
Description: A ring of sets is closed under union. (Contributed by Thierry Arnoux, 18-Jul-2020.)
Hypothesis
Ref Expression
isros.1 𝑄 = {𝑠 ∈ 𝒫 𝒫 𝑂 ∣ (∅ ∈ 𝑠 ∧ ∀𝑥𝑠𝑦𝑠 ((𝑥𝑦) ∈ 𝑠 ∧ (𝑥𝑦) ∈ 𝑠))}
Assertion
Ref Expression
unelros ((𝑆𝑄𝐴𝑆𝐵𝑆) → (𝐴𝐵) ∈ 𝑆)
Distinct variable groups:   𝑂,𝑠   𝑆,𝑠,𝑥,𝑦
Allowed substitution hints:   𝐴(𝑥,𝑦,𝑠)   𝐵(𝑥,𝑦,𝑠)   𝑄(𝑥,𝑦,𝑠)   𝑂(𝑥,𝑦)

Proof of Theorem unelros
Dummy variables 𝑢 𝑣 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 simp2 1134 . . 3 ((𝑆𝑄𝐴𝑆𝐵𝑆) → 𝐴𝑆)
2 simp3 1135 . . 3 ((𝑆𝑄𝐴𝑆𝐵𝑆) → 𝐵𝑆)
3 isros.1 . . . . . 6 𝑄 = {𝑠 ∈ 𝒫 𝒫 𝑂 ∣ (∅ ∈ 𝑠 ∧ ∀𝑥𝑠𝑦𝑠 ((𝑥𝑦) ∈ 𝑠 ∧ (𝑥𝑦) ∈ 𝑠))}
43isros 31537 . . . . 5 (𝑆𝑄 ↔ (𝑆 ∈ 𝒫 𝒫 𝑂 ∧ ∅ ∈ 𝑆 ∧ ∀𝑢𝑆𝑣𝑆 ((𝑢𝑣) ∈ 𝑆 ∧ (𝑢𝑣) ∈ 𝑆)))
54simp3bi 1144 . . . 4 (𝑆𝑄 → ∀𝑢𝑆𝑣𝑆 ((𝑢𝑣) ∈ 𝑆 ∧ (𝑢𝑣) ∈ 𝑆))
653ad2ant1 1130 . . 3 ((𝑆𝑄𝐴𝑆𝐵𝑆) → ∀𝑢𝑆𝑣𝑆 ((𝑢𝑣) ∈ 𝑆 ∧ (𝑢𝑣) ∈ 𝑆))
7 uneq1 4083 . . . . . 6 (𝑢 = 𝐴 → (𝑢𝑣) = (𝐴𝑣))
87eleq1d 2874 . . . . 5 (𝑢 = 𝐴 → ((𝑢𝑣) ∈ 𝑆 ↔ (𝐴𝑣) ∈ 𝑆))
9 difeq1 4043 . . . . . 6 (𝑢 = 𝐴 → (𝑢𝑣) = (𝐴𝑣))
109eleq1d 2874 . . . . 5 (𝑢 = 𝐴 → ((𝑢𝑣) ∈ 𝑆 ↔ (𝐴𝑣) ∈ 𝑆))
118, 10anbi12d 633 . . . 4 (𝑢 = 𝐴 → (((𝑢𝑣) ∈ 𝑆 ∧ (𝑢𝑣) ∈ 𝑆) ↔ ((𝐴𝑣) ∈ 𝑆 ∧ (𝐴𝑣) ∈ 𝑆)))
12 uneq2 4084 . . . . . 6 (𝑣 = 𝐵 → (𝐴𝑣) = (𝐴𝐵))
1312eleq1d 2874 . . . . 5 (𝑣 = 𝐵 → ((𝐴𝑣) ∈ 𝑆 ↔ (𝐴𝐵) ∈ 𝑆))
14 difeq2 4044 . . . . . 6 (𝑣 = 𝐵 → (𝐴𝑣) = (𝐴𝐵))
1514eleq1d 2874 . . . . 5 (𝑣 = 𝐵 → ((𝐴𝑣) ∈ 𝑆 ↔ (𝐴𝐵) ∈ 𝑆))
1613, 15anbi12d 633 . . . 4 (𝑣 = 𝐵 → (((𝐴𝑣) ∈ 𝑆 ∧ (𝐴𝑣) ∈ 𝑆) ↔ ((𝐴𝐵) ∈ 𝑆 ∧ (𝐴𝐵) ∈ 𝑆)))
1711, 16rspc2va 3582 . . 3 (((𝐴𝑆𝐵𝑆) ∧ ∀𝑢𝑆𝑣𝑆 ((𝑢𝑣) ∈ 𝑆 ∧ (𝑢𝑣) ∈ 𝑆)) → ((𝐴𝐵) ∈ 𝑆 ∧ (𝐴𝐵) ∈ 𝑆))
181, 2, 6, 17syl21anc 836 . 2 ((𝑆𝑄𝐴𝑆𝐵𝑆) → ((𝐴𝐵) ∈ 𝑆 ∧ (𝐴𝐵) ∈ 𝑆))
1918simpld 498 1 ((𝑆𝑄𝐴𝑆𝐵𝑆) → (𝐴𝐵) ∈ 𝑆)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 399  w3a 1084   = wceq 1538  wcel 2111  wral 3106  {crab 3110  cdif 3878  cun 3879  c0 4243  𝒫 cpw 4497
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
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1086  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
This theorem is referenced by:  fiunelros  31543
  Copyright terms: Public domain W3C validator