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 30234
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 1062 . . 3 ((𝑆𝑄𝐴𝑆𝐵𝑆) → 𝐴𝑆)
2 simp3 1063 . . 3 ((𝑆𝑄𝐴𝑆𝐵𝑆) → 𝐵𝑆)
3 isros.1 . . . . . 6 𝑄 = {𝑠 ∈ 𝒫 𝒫 𝑂 ∣ (∅ ∈ 𝑠 ∧ ∀𝑥𝑠𝑦𝑠 ((𝑥𝑦) ∈ 𝑠 ∧ (𝑥𝑦) ∈ 𝑠))}
43isros 30231 . . . . 5 (𝑆𝑄 ↔ (𝑆 ∈ 𝒫 𝒫 𝑂 ∧ ∅ ∈ 𝑆 ∧ ∀𝑢𝑆𝑣𝑆 ((𝑢𝑣) ∈ 𝑆 ∧ (𝑢𝑣) ∈ 𝑆)))
54simp3bi 1078 . . . 4 (𝑆𝑄 → ∀𝑢𝑆𝑣𝑆 ((𝑢𝑣) ∈ 𝑆 ∧ (𝑢𝑣) ∈ 𝑆))
653ad2ant1 1082 . . 3 ((𝑆𝑄𝐴𝑆𝐵𝑆) → ∀𝑢𝑆𝑣𝑆 ((𝑢𝑣) ∈ 𝑆 ∧ (𝑢𝑣) ∈ 𝑆))
7 uneq1 3760 . . . . . 6 (𝑢 = 𝐴 → (𝑢𝑣) = (𝐴𝑣))
87eleq1d 2686 . . . . 5 (𝑢 = 𝐴 → ((𝑢𝑣) ∈ 𝑆 ↔ (𝐴𝑣) ∈ 𝑆))
9 difeq1 3721 . . . . . 6 (𝑢 = 𝐴 → (𝑢𝑣) = (𝐴𝑣))
109eleq1d 2686 . . . . 5 (𝑢 = 𝐴 → ((𝑢𝑣) ∈ 𝑆 ↔ (𝐴𝑣) ∈ 𝑆))
118, 10anbi12d 747 . . . 4 (𝑢 = 𝐴 → (((𝑢𝑣) ∈ 𝑆 ∧ (𝑢𝑣) ∈ 𝑆) ↔ ((𝐴𝑣) ∈ 𝑆 ∧ (𝐴𝑣) ∈ 𝑆)))
12 uneq2 3761 . . . . . 6 (𝑣 = 𝐵 → (𝐴𝑣) = (𝐴𝐵))
1312eleq1d 2686 . . . . 5 (𝑣 = 𝐵 → ((𝐴𝑣) ∈ 𝑆 ↔ (𝐴𝐵) ∈ 𝑆))
14 difeq2 3722 . . . . . 6 (𝑣 = 𝐵 → (𝐴𝑣) = (𝐴𝐵))
1514eleq1d 2686 . . . . 5 (𝑣 = 𝐵 → ((𝐴𝑣) ∈ 𝑆 ↔ (𝐴𝐵) ∈ 𝑆))
1613, 15anbi12d 747 . . . 4 (𝑣 = 𝐵 → (((𝐴𝑣) ∈ 𝑆 ∧ (𝐴𝑣) ∈ 𝑆) ↔ ((𝐴𝐵) ∈ 𝑆 ∧ (𝐴𝐵) ∈ 𝑆)))
1711, 16rspc2va 3323 . . 3 (((𝐴𝑆𝐵𝑆) ∧ ∀𝑢𝑆𝑣𝑆 ((𝑢𝑣) ∈ 𝑆 ∧ (𝑢𝑣) ∈ 𝑆)) → ((𝐴𝐵) ∈ 𝑆 ∧ (𝐴𝐵) ∈ 𝑆))
181, 2, 6, 17syl21anc 1325 . 2 ((𝑆𝑄𝐴𝑆𝐵𝑆) → ((𝐴𝐵) ∈ 𝑆 ∧ (𝐴𝐵) ∈ 𝑆))
1918simpld 475 1 ((𝑆𝑄𝐴𝑆𝐵𝑆) → (𝐴𝐵) ∈ 𝑆)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 384  w3a 1037   = wceq 1483  wcel 1990  wral 2912  {crab 2916  cdif 3571  cun 3572  c0 3915  𝒫 cpw 4158
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246  ax-ext 2602
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1039  df-tru 1486  df-ex 1705  df-nf 1710  df-sb 1881  df-clab 2609  df-cleq 2615  df-clel 2618  df-nfc 2753  df-ral 2917  df-rab 2921  df-v 3202  df-dif 3577  df-un 3579
This theorem is referenced by:  fiunelros  30237
  Copyright terms: Public domain W3C validator