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 31432
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 1133 . . 3 ((𝑆𝑄𝐴𝑆𝐵𝑆) → 𝐴𝑆)
2 simp3 1134 . . 3 ((𝑆𝑄𝐴𝑆𝐵𝑆) → 𝐵𝑆)
3 isros.1 . . . . . 6 𝑄 = {𝑠 ∈ 𝒫 𝒫 𝑂 ∣ (∅ ∈ 𝑠 ∧ ∀𝑥𝑠𝑦𝑠 ((𝑥𝑦) ∈ 𝑠 ∧ (𝑥𝑦) ∈ 𝑠))}
43isros 31429 . . . . 5 (𝑆𝑄 ↔ (𝑆 ∈ 𝒫 𝒫 𝑂 ∧ ∅ ∈ 𝑆 ∧ ∀𝑢𝑆𝑣𝑆 ((𝑢𝑣) ∈ 𝑆 ∧ (𝑢𝑣) ∈ 𝑆)))
54simp3bi 1143 . . . 4 (𝑆𝑄 → ∀𝑢𝑆𝑣𝑆 ((𝑢𝑣) ∈ 𝑆 ∧ (𝑢𝑣) ∈ 𝑆))
653ad2ant1 1129 . . 3 ((𝑆𝑄𝐴𝑆𝐵𝑆) → ∀𝑢𝑆𝑣𝑆 ((𝑢𝑣) ∈ 𝑆 ∧ (𝑢𝑣) ∈ 𝑆))
7 uneq1 4134 . . . . . 6 (𝑢 = 𝐴 → (𝑢𝑣) = (𝐴𝑣))
87eleq1d 2899 . . . . 5 (𝑢 = 𝐴 → ((𝑢𝑣) ∈ 𝑆 ↔ (𝐴𝑣) ∈ 𝑆))
9 difeq1 4094 . . . . . 6 (𝑢 = 𝐴 → (𝑢𝑣) = (𝐴𝑣))
109eleq1d 2899 . . . . 5 (𝑢 = 𝐴 → ((𝑢𝑣) ∈ 𝑆 ↔ (𝐴𝑣) ∈ 𝑆))
118, 10anbi12d 632 . . . 4 (𝑢 = 𝐴 → (((𝑢𝑣) ∈ 𝑆 ∧ (𝑢𝑣) ∈ 𝑆) ↔ ((𝐴𝑣) ∈ 𝑆 ∧ (𝐴𝑣) ∈ 𝑆)))
12 uneq2 4135 . . . . . 6 (𝑣 = 𝐵 → (𝐴𝑣) = (𝐴𝐵))
1312eleq1d 2899 . . . . 5 (𝑣 = 𝐵 → ((𝐴𝑣) ∈ 𝑆 ↔ (𝐴𝐵) ∈ 𝑆))
14 difeq2 4095 . . . . . 6 (𝑣 = 𝐵 → (𝐴𝑣) = (𝐴𝐵))
1514eleq1d 2899 . . . . 5 (𝑣 = 𝐵 → ((𝐴𝑣) ∈ 𝑆 ↔ (𝐴𝐵) ∈ 𝑆))
1613, 15anbi12d 632 . . . 4 (𝑣 = 𝐵 → (((𝐴𝑣) ∈ 𝑆 ∧ (𝐴𝑣) ∈ 𝑆) ↔ ((𝐴𝐵) ∈ 𝑆 ∧ (𝐴𝐵) ∈ 𝑆)))
1711, 16rspc2va 3636 . . 3 (((𝐴𝑆𝐵𝑆) ∧ ∀𝑢𝑆𝑣𝑆 ((𝑢𝑣) ∈ 𝑆 ∧ (𝑢𝑣) ∈ 𝑆)) → ((𝐴𝐵) ∈ 𝑆 ∧ (𝐴𝐵) ∈ 𝑆))
181, 2, 6, 17syl21anc 835 . 2 ((𝑆𝑄𝐴𝑆𝐵𝑆) → ((𝐴𝐵) ∈ 𝑆 ∧ (𝐴𝐵) ∈ 𝑆))
1918simpld 497 1 ((𝑆𝑄𝐴𝑆𝐵𝑆) → (𝐴𝐵) ∈ 𝑆)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 398  w3a 1083   = wceq 1537  wcel 2114  wral 3140  {crab 3144  cdif 3935  cun 3936  c0 4293  𝒫 cpw 4541
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2795
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-clab 2802  df-cleq 2816  df-clel 2895  df-nfc 2965  df-ral 3145  df-rab 3149  df-v 3498  df-dif 3941  df-un 3943
This theorem is referenced by:  fiunelros  31435
  Copyright terms: Public domain W3C validator