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 31719
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 1138 . . 3 ((𝑆𝑁𝐴𝑆𝐵𝑆) → 𝐴𝑆)
2 simp3 1139 . . 3 ((𝑆𝑁𝐴𝑆𝐵𝑆) → 𝐵𝑆)
3 issros.1 . . . . . 6 𝑁 = {𝑠 ∈ 𝒫 𝒫 𝑂 ∣ (∅ ∈ 𝑠 ∧ ∀𝑥𝑠𝑦𝑠 ((𝑥𝑦) ∈ 𝑠 ∧ ∃𝑧 ∈ 𝒫 𝑠(𝑧 ∈ Fin ∧ Disj 𝑡𝑧 𝑡 ∧ (𝑥𝑦) = 𝑧)))}
43issros 31716 . . . . 5 (𝑆𝑁 ↔ (𝑆 ∈ 𝒫 𝒫 𝑂 ∧ ∅ ∈ 𝑆 ∧ ∀𝑥𝑆𝑦𝑆 ((𝑥𝑦) ∈ 𝑆 ∧ ∃𝑧 ∈ 𝒫 𝑆(𝑧 ∈ Fin ∧ Disj 𝑡𝑧 𝑡 ∧ (𝑥𝑦) = 𝑧))))
54simp3bi 1148 . . . 4 (𝑆𝑁 → ∀𝑥𝑆𝑦𝑆 ((𝑥𝑦) ∈ 𝑆 ∧ ∃𝑧 ∈ 𝒫 𝑆(𝑧 ∈ Fin ∧ Disj 𝑡𝑧 𝑡 ∧ (𝑥𝑦) = 𝑧)))
653ad2ant1 1134 . . 3 ((𝑆𝑁𝐴𝑆𝐵𝑆) → ∀𝑥𝑆𝑦𝑆 ((𝑥𝑦) ∈ 𝑆 ∧ ∃𝑧 ∈ 𝒫 𝑆(𝑧 ∈ Fin ∧ Disj 𝑡𝑧 𝑡 ∧ (𝑥𝑦) = 𝑧)))
7 ineq1 4097 . . . . . 6 (𝑥 = 𝐴 → (𝑥𝑦) = (𝐴𝑦))
87eleq1d 2818 . . . . 5 (𝑥 = 𝐴 → ((𝑥𝑦) ∈ 𝑆 ↔ (𝐴𝑦) ∈ 𝑆))
9 difeq1 4007 . . . . . . . 8 (𝑥 = 𝐴 → (𝑥𝑦) = (𝐴𝑦))
109eqeq1d 2741 . . . . . . 7 (𝑥 = 𝐴 → ((𝑥𝑦) = 𝑧 ↔ (𝐴𝑦) = 𝑧))
11103anbi3d 1443 . . . . . 6 (𝑥 = 𝐴 → ((𝑧 ∈ Fin ∧ Disj 𝑡𝑧 𝑡 ∧ (𝑥𝑦) = 𝑧) ↔ (𝑧 ∈ Fin ∧ Disj 𝑡𝑧 𝑡 ∧ (𝐴𝑦) = 𝑧)))
1211rexbidv 3208 . . . . 5 (𝑥 = 𝐴 → (∃𝑧 ∈ 𝒫 𝑆(𝑧 ∈ Fin ∧ Disj 𝑡𝑧 𝑡 ∧ (𝑥𝑦) = 𝑧) ↔ ∃𝑧 ∈ 𝒫 𝑆(𝑧 ∈ Fin ∧ Disj 𝑡𝑧 𝑡 ∧ (𝐴𝑦) = 𝑧)))
138, 12anbi12d 634 . . . 4 (𝑥 = 𝐴 → (((𝑥𝑦) ∈ 𝑆 ∧ ∃𝑧 ∈ 𝒫 𝑆(𝑧 ∈ Fin ∧ Disj 𝑡𝑧 𝑡 ∧ (𝑥𝑦) = 𝑧)) ↔ ((𝐴𝑦) ∈ 𝑆 ∧ ∃𝑧 ∈ 𝒫 𝑆(𝑧 ∈ Fin ∧ Disj 𝑡𝑧 𝑡 ∧ (𝐴𝑦) = 𝑧))))
14 ineq2 4098 . . . . . 6 (𝑦 = 𝐵 → (𝐴𝑦) = (𝐴𝐵))
1514eleq1d 2818 . . . . 5 (𝑦 = 𝐵 → ((𝐴𝑦) ∈ 𝑆 ↔ (𝐴𝐵) ∈ 𝑆))
16 difeq2 4008 . . . . . . . 8 (𝑦 = 𝐵 → (𝐴𝑦) = (𝐴𝐵))
1716eqeq1d 2741 . . . . . . 7 (𝑦 = 𝐵 → ((𝐴𝑦) = 𝑧 ↔ (𝐴𝐵) = 𝑧))
18173anbi3d 1443 . . . . . 6 (𝑦 = 𝐵 → ((𝑧 ∈ Fin ∧ Disj 𝑡𝑧 𝑡 ∧ (𝐴𝑦) = 𝑧) ↔ (𝑧 ∈ Fin ∧ Disj 𝑡𝑧 𝑡 ∧ (𝐴𝐵) = 𝑧)))
1918rexbidv 3208 . . . . 5 (𝑦 = 𝐵 → (∃𝑧 ∈ 𝒫 𝑆(𝑧 ∈ Fin ∧ Disj 𝑡𝑧 𝑡 ∧ (𝐴𝑦) = 𝑧) ↔ ∃𝑧 ∈ 𝒫 𝑆(𝑧 ∈ Fin ∧ Disj 𝑡𝑧 𝑡 ∧ (𝐴𝐵) = 𝑧)))
2015, 19anbi12d 634 . . . 4 (𝑦 = 𝐵 → (((𝐴𝑦) ∈ 𝑆 ∧ ∃𝑧 ∈ 𝒫 𝑆(𝑧 ∈ Fin ∧ Disj 𝑡𝑧 𝑡 ∧ (𝐴𝑦) = 𝑧)) ↔ ((𝐴𝐵) ∈ 𝑆 ∧ ∃𝑧 ∈ 𝒫 𝑆(𝑧 ∈ Fin ∧ Disj 𝑡𝑧 𝑡 ∧ (𝐴𝐵) = 𝑧))))
2113, 20rspc2va 3538 . . 3 (((𝐴𝑆𝐵𝑆) ∧ ∀𝑥𝑆𝑦𝑆 ((𝑥𝑦) ∈ 𝑆 ∧ ∃𝑧 ∈ 𝒫 𝑆(𝑧 ∈ Fin ∧ Disj 𝑡𝑧 𝑡 ∧ (𝑥𝑦) = 𝑧))) → ((𝐴𝐵) ∈ 𝑆 ∧ ∃𝑧 ∈ 𝒫 𝑆(𝑧 ∈ Fin ∧ Disj 𝑡𝑧 𝑡 ∧ (𝐴𝐵) = 𝑧)))
221, 2, 6, 21syl21anc 837 . 2 ((𝑆𝑁𝐴𝑆𝐵𝑆) → ((𝐴𝐵) ∈ 𝑆 ∧ ∃𝑧 ∈ 𝒫 𝑆(𝑧 ∈ Fin ∧ Disj 𝑡𝑧 𝑡 ∧ (𝐴𝐵) = 𝑧)))
2322simpld 498 1 ((𝑆𝑁𝐴𝑆𝐵𝑆) → (𝐴𝐵) ∈ 𝑆)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 399  w3a 1088   = wceq 1542  wcel 2114  wral 3054  wrex 3055  {crab 3058  cdif 3841  cin 3843  c0 4212  𝒫 cpw 4489   cuni 4797  Disj wdisj 4996  Fincfn 8558
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1917  ax-6 1975  ax-7 2020  ax-8 2116  ax-9 2124  ax-ext 2711
This theorem depends on definitions:  df-bi 210  df-an 400  df-3an 1090  df-tru 1545  df-ex 1787  df-sb 2075  df-clab 2718  df-cleq 2731  df-clel 2812  df-ral 3059  df-rex 3060  df-rab 3063  df-v 3401  df-dif 3847  df-in 3851  df-ss 3861  df-pw 4491
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator