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

Theorem inelsros 32046
Description: A semiring of sets is closed under union. (Contributed by Thierry Arnoux, 18-Jul-2020.)
Hypothesis
Ref Expression
issros.1 𝑁 = {𝑠 ∈ 𝒫 𝒫 𝑂 ∣ (∅ ∈ 𝑠 ∧ ∀𝑥𝑠𝑦𝑠 ((𝑥𝑦) ∈ 𝑠 ∧ ∃𝑧 ∈ 𝒫 𝑠(𝑧 ∈ Fin ∧ Disj 𝑡𝑧 𝑡 ∧ (𝑥𝑦) = 𝑧)))}
Assertion
Ref Expression
inelsros ((𝑆𝑁𝐴𝑆𝐵𝑆) → (𝐴𝐵) ∈ 𝑆)
Distinct variable groups:   𝑡,𝑠,𝑥,𝑦   𝑂,𝑠   𝑆,𝑠,𝑥,𝑦,𝑧   𝑥,𝐴,𝑦,𝑧   𝑦,𝐵,𝑧
Allowed substitution hints:   𝐴(𝑡,𝑠)   𝐵(𝑥,𝑡,𝑠)   𝑆(𝑡)   𝑁(𝑥,𝑦,𝑧,𝑡,𝑠)   𝑂(𝑥,𝑦,𝑧,𝑡)

Proof of Theorem inelsros
StepHypRef Expression
1 simp2 1135 . . 3 ((𝑆𝑁𝐴𝑆𝐵𝑆) → 𝐴𝑆)
2 simp3 1136 . . 3 ((𝑆𝑁𝐴𝑆𝐵𝑆) → 𝐵𝑆)
3 issros.1 . . . . . 6 𝑁 = {𝑠 ∈ 𝒫 𝒫 𝑂 ∣ (∅ ∈ 𝑠 ∧ ∀𝑥𝑠𝑦𝑠 ((𝑥𝑦) ∈ 𝑠 ∧ ∃𝑧 ∈ 𝒫 𝑠(𝑧 ∈ Fin ∧ Disj 𝑡𝑧 𝑡 ∧ (𝑥𝑦) = 𝑧)))}
43issros 32043 . . . . 5 (𝑆𝑁 ↔ (𝑆 ∈ 𝒫 𝒫 𝑂 ∧ ∅ ∈ 𝑆 ∧ ∀𝑥𝑆𝑦𝑆 ((𝑥𝑦) ∈ 𝑆 ∧ ∃𝑧 ∈ 𝒫 𝑆(𝑧 ∈ Fin ∧ Disj 𝑡𝑧 𝑡 ∧ (𝑥𝑦) = 𝑧))))
54simp3bi 1145 . . . 4 (𝑆𝑁 → ∀𝑥𝑆𝑦𝑆 ((𝑥𝑦) ∈ 𝑆 ∧ ∃𝑧 ∈ 𝒫 𝑆(𝑧 ∈ Fin ∧ Disj 𝑡𝑧 𝑡 ∧ (𝑥𝑦) = 𝑧)))
653ad2ant1 1131 . . 3 ((𝑆𝑁𝐴𝑆𝐵𝑆) → ∀𝑥𝑆𝑦𝑆 ((𝑥𝑦) ∈ 𝑆 ∧ ∃𝑧 ∈ 𝒫 𝑆(𝑧 ∈ Fin ∧ Disj 𝑡𝑧 𝑡 ∧ (𝑥𝑦) = 𝑧)))
7 ineq1 4136 . . . . . 6 (𝑥 = 𝐴 → (𝑥𝑦) = (𝐴𝑦))
87eleq1d 2823 . . . . 5 (𝑥 = 𝐴 → ((𝑥𝑦) ∈ 𝑆 ↔ (𝐴𝑦) ∈ 𝑆))
9 difeq1 4046 . . . . . . . 8 (𝑥 = 𝐴 → (𝑥𝑦) = (𝐴𝑦))
109eqeq1d 2740 . . . . . . 7 (𝑥 = 𝐴 → ((𝑥𝑦) = 𝑧 ↔ (𝐴𝑦) = 𝑧))
11103anbi3d 1440 . . . . . 6 (𝑥 = 𝐴 → ((𝑧 ∈ Fin ∧ Disj 𝑡𝑧 𝑡 ∧ (𝑥𝑦) = 𝑧) ↔ (𝑧 ∈ Fin ∧ Disj 𝑡𝑧 𝑡 ∧ (𝐴𝑦) = 𝑧)))
1211rexbidv 3225 . . . . 5 (𝑥 = 𝐴 → (∃𝑧 ∈ 𝒫 𝑆(𝑧 ∈ Fin ∧ Disj 𝑡𝑧 𝑡 ∧ (𝑥𝑦) = 𝑧) ↔ ∃𝑧 ∈ 𝒫 𝑆(𝑧 ∈ Fin ∧ Disj 𝑡𝑧 𝑡 ∧ (𝐴𝑦) = 𝑧)))
138, 12anbi12d 630 . . . 4 (𝑥 = 𝐴 → (((𝑥𝑦) ∈ 𝑆 ∧ ∃𝑧 ∈ 𝒫 𝑆(𝑧 ∈ Fin ∧ Disj 𝑡𝑧 𝑡 ∧ (𝑥𝑦) = 𝑧)) ↔ ((𝐴𝑦) ∈ 𝑆 ∧ ∃𝑧 ∈ 𝒫 𝑆(𝑧 ∈ Fin ∧ Disj 𝑡𝑧 𝑡 ∧ (𝐴𝑦) = 𝑧))))
14 ineq2 4137 . . . . . 6 (𝑦 = 𝐵 → (𝐴𝑦) = (𝐴𝐵))
1514eleq1d 2823 . . . . 5 (𝑦 = 𝐵 → ((𝐴𝑦) ∈ 𝑆 ↔ (𝐴𝐵) ∈ 𝑆))
16 difeq2 4047 . . . . . . . 8 (𝑦 = 𝐵 → (𝐴𝑦) = (𝐴𝐵))
1716eqeq1d 2740 . . . . . . 7 (𝑦 = 𝐵 → ((𝐴𝑦) = 𝑧 ↔ (𝐴𝐵) = 𝑧))
18173anbi3d 1440 . . . . . 6 (𝑦 = 𝐵 → ((𝑧 ∈ Fin ∧ Disj 𝑡𝑧 𝑡 ∧ (𝐴𝑦) = 𝑧) ↔ (𝑧 ∈ Fin ∧ Disj 𝑡𝑧 𝑡 ∧ (𝐴𝐵) = 𝑧)))
1918rexbidv 3225 . . . . 5 (𝑦 = 𝐵 → (∃𝑧 ∈ 𝒫 𝑆(𝑧 ∈ Fin ∧ Disj 𝑡𝑧 𝑡 ∧ (𝐴𝑦) = 𝑧) ↔ ∃𝑧 ∈ 𝒫 𝑆(𝑧 ∈ Fin ∧ Disj 𝑡𝑧 𝑡 ∧ (𝐴𝐵) = 𝑧)))
2015, 19anbi12d 630 . . . 4 (𝑦 = 𝐵 → (((𝐴𝑦) ∈ 𝑆 ∧ ∃𝑧 ∈ 𝒫 𝑆(𝑧 ∈ Fin ∧ Disj 𝑡𝑧 𝑡 ∧ (𝐴𝑦) = 𝑧)) ↔ ((𝐴𝐵) ∈ 𝑆 ∧ ∃𝑧 ∈ 𝒫 𝑆(𝑧 ∈ Fin ∧ Disj 𝑡𝑧 𝑡 ∧ (𝐴𝐵) = 𝑧))))
2113, 20rspc2va 3563 . . 3 (((𝐴𝑆𝐵𝑆) ∧ ∀𝑥𝑆𝑦𝑆 ((𝑥𝑦) ∈ 𝑆 ∧ ∃𝑧 ∈ 𝒫 𝑆(𝑧 ∈ Fin ∧ Disj 𝑡𝑧 𝑡 ∧ (𝑥𝑦) = 𝑧))) → ((𝐴𝐵) ∈ 𝑆 ∧ ∃𝑧 ∈ 𝒫 𝑆(𝑧 ∈ Fin ∧ Disj 𝑡𝑧 𝑡 ∧ (𝐴𝐵) = 𝑧)))
221, 2, 6, 21syl21anc 834 . 2 ((𝑆𝑁𝐴𝑆𝐵𝑆) → ((𝐴𝐵) ∈ 𝑆 ∧ ∃𝑧 ∈ 𝒫 𝑆(𝑧 ∈ Fin ∧ Disj 𝑡𝑧 𝑡 ∧ (𝐴𝐵) = 𝑧)))
2322simpld 494 1 ((𝑆𝑁𝐴𝑆𝐵𝑆) → (𝐴𝐵) ∈ 𝑆)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395  w3a 1085   = wceq 1539  wcel 2108  wral 3063  wrex 3064  {crab 3067  cdif 3880  cin 3882  c0 4253  𝒫 cpw 4530   cuni 4836  Disj wdisj 5035  Fincfn 8691
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 396  df-3an 1087  df-tru 1542  df-ex 1784  df-sb 2069  df-clab 2716  df-cleq 2730  df-clel 2817  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-dif 3886  df-in 3890  df-ss 3900  df-pw 4532
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator