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 29561
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 1055 . . 3 ((𝑆𝑄𝐴𝑆𝐵𝑆) → 𝐴𝑆)
2 simp3 1056 . . 3 ((𝑆𝑄𝐴𝑆𝐵𝑆) → 𝐵𝑆)
3 isros.1 . . . . . 6 𝑄 = {𝑠 ∈ 𝒫 𝒫 𝑂 ∣ (∅ ∈ 𝑠 ∧ ∀𝑥𝑠𝑦𝑠 ((𝑥𝑦) ∈ 𝑠 ∧ (𝑥𝑦) ∈ 𝑠))}
43isros 29558 . . . . 5 (𝑆𝑄 ↔ (𝑆 ∈ 𝒫 𝒫 𝑂 ∧ ∅ ∈ 𝑆 ∧ ∀𝑢𝑆𝑣𝑆 ((𝑢𝑣) ∈ 𝑆 ∧ (𝑢𝑣) ∈ 𝑆)))
54simp3bi 1071 . . . 4 (𝑆𝑄 → ∀𝑢𝑆𝑣𝑆 ((𝑢𝑣) ∈ 𝑆 ∧ (𝑢𝑣) ∈ 𝑆))
653ad2ant1 1075 . . 3 ((𝑆𝑄𝐴𝑆𝐵𝑆) → ∀𝑢𝑆𝑣𝑆 ((𝑢𝑣) ∈ 𝑆 ∧ (𝑢𝑣) ∈ 𝑆))
7 uneq1 3722 . . . . . 6 (𝑢 = 𝐴 → (𝑢𝑣) = (𝐴𝑣))
87eleq1d 2672 . . . . 5 (𝑢 = 𝐴 → ((𝑢𝑣) ∈ 𝑆 ↔ (𝐴𝑣) ∈ 𝑆))
9 difeq1 3683 . . . . . 6 (𝑢 = 𝐴 → (𝑢𝑣) = (𝐴𝑣))
109eleq1d 2672 . . . . 5 (𝑢 = 𝐴 → ((𝑢𝑣) ∈ 𝑆 ↔ (𝐴𝑣) ∈ 𝑆))
118, 10anbi12d 743 . . . 4 (𝑢 = 𝐴 → (((𝑢𝑣) ∈ 𝑆 ∧ (𝑢𝑣) ∈ 𝑆) ↔ ((𝐴𝑣) ∈ 𝑆 ∧ (𝐴𝑣) ∈ 𝑆)))
12 uneq2 3723 . . . . . 6 (𝑣 = 𝐵 → (𝐴𝑣) = (𝐴𝐵))
1312eleq1d 2672 . . . . 5 (𝑣 = 𝐵 → ((𝐴𝑣) ∈ 𝑆 ↔ (𝐴𝐵) ∈ 𝑆))
14 difeq2 3684 . . . . . 6 (𝑣 = 𝐵 → (𝐴𝑣) = (𝐴𝐵))
1514eleq1d 2672 . . . . 5 (𝑣 = 𝐵 → ((𝐴𝑣) ∈ 𝑆 ↔ (𝐴𝐵) ∈ 𝑆))
1613, 15anbi12d 743 . . . 4 (𝑣 = 𝐵 → (((𝐴𝑣) ∈ 𝑆 ∧ (𝐴𝑣) ∈ 𝑆) ↔ ((𝐴𝐵) ∈ 𝑆 ∧ (𝐴𝐵) ∈ 𝑆)))
1711, 16rspc2va 3294 . . 3 (((𝐴𝑆𝐵𝑆) ∧ ∀𝑢𝑆𝑣𝑆 ((𝑢𝑣) ∈ 𝑆 ∧ (𝑢𝑣) ∈ 𝑆)) → ((𝐴𝐵) ∈ 𝑆 ∧ (𝐴𝐵) ∈ 𝑆))
181, 2, 6, 17syl21anc 1317 . 2 ((𝑆𝑄𝐴𝑆𝐵𝑆) → ((𝐴𝐵) ∈ 𝑆 ∧ (𝐴𝐵) ∈ 𝑆))
1918simpld 474 1 ((𝑆𝑄𝐴𝑆𝐵𝑆) → (𝐴𝐵) ∈ 𝑆)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 383  w3a 1031   = wceq 1475  wcel 1977  wral 2896  {crab 2900  cdif 3537  cun 3538  c0 3874  𝒫 cpw 4108
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-3an 1033  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ral 2901  df-rab 2905  df-v 3175  df-dif 3543  df-un 3545
This theorem is referenced by:  fiunelros  29564
  Copyright terms: Public domain W3C validator