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

Theorem diffiunisros 31859
Description: In semiring of sets, complements can be written as finite disjoint unions. (Contributed by Thierry Arnoux, 18-Jul-2020.)
Hypothesis
Ref Expression
issros.1 𝑁 = {𝑠 ∈ 𝒫 𝒫 𝑂 ∣ (∅ ∈ 𝑠 ∧ ∀𝑥𝑠𝑦𝑠 ((𝑥𝑦) ∈ 𝑠 ∧ ∃𝑧 ∈ 𝒫 𝑠(𝑧 ∈ Fin ∧ Disj 𝑡𝑧 𝑡 ∧ (𝑥𝑦) = 𝑧)))}
Assertion
Ref Expression
diffiunisros ((𝑆𝑁𝐴𝑆𝐵𝑆) → ∃𝑧 ∈ 𝒫 𝑆(𝑧 ∈ Fin ∧ Disj 𝑡𝑧 𝑡 ∧ (𝐴𝐵) = 𝑧))
Distinct variable groups:   𝑡,𝑠,𝑥,𝑦   𝑂,𝑠   𝑆,𝑠,𝑥,𝑦,𝑧   𝑥,𝐴,𝑦,𝑧   𝑦,𝐵,𝑧
Allowed substitution hints:   𝐴(𝑡,𝑠)   𝐵(𝑥,𝑡,𝑠)   𝑆(𝑡)   𝑁(𝑥,𝑦,𝑧,𝑡,𝑠)   𝑂(𝑥,𝑦,𝑧,𝑡)

Proof of Theorem diffiunisros
StepHypRef Expression
1 simp2 1139 . . 3 ((𝑆𝑁𝐴𝑆𝐵𝑆) → 𝐴𝑆)
2 simp3 1140 . . 3 ((𝑆𝑁𝐴𝑆𝐵𝑆) → 𝐵𝑆)
3 issros.1 . . . . . 6 𝑁 = {𝑠 ∈ 𝒫 𝒫 𝑂 ∣ (∅ ∈ 𝑠 ∧ ∀𝑥𝑠𝑦𝑠 ((𝑥𝑦) ∈ 𝑠 ∧ ∃𝑧 ∈ 𝒫 𝑠(𝑧 ∈ Fin ∧ Disj 𝑡𝑧 𝑡 ∧ (𝑥𝑦) = 𝑧)))}
43issros 31855 . . . . 5 (𝑆𝑁 ↔ (𝑆 ∈ 𝒫 𝒫 𝑂 ∧ ∅ ∈ 𝑆 ∧ ∀𝑥𝑆𝑦𝑆 ((𝑥𝑦) ∈ 𝑆 ∧ ∃𝑧 ∈ 𝒫 𝑆(𝑧 ∈ Fin ∧ Disj 𝑡𝑧 𝑡 ∧ (𝑥𝑦) = 𝑧))))
54simp3bi 1149 . . . 4 (𝑆𝑁 → ∀𝑥𝑆𝑦𝑆 ((𝑥𝑦) ∈ 𝑆 ∧ ∃𝑧 ∈ 𝒫 𝑆(𝑧 ∈ Fin ∧ Disj 𝑡𝑧 𝑡 ∧ (𝑥𝑦) = 𝑧)))
653ad2ant1 1135 . . 3 ((𝑆𝑁𝐴𝑆𝐵𝑆) → ∀𝑥𝑆𝑦𝑆 ((𝑥𝑦) ∈ 𝑆 ∧ ∃𝑧 ∈ 𝒫 𝑆(𝑧 ∈ Fin ∧ Disj 𝑡𝑧 𝑡 ∧ (𝑥𝑦) = 𝑧)))
7 ineq1 4120 . . . . . 6 (𝑥 = 𝐴 → (𝑥𝑦) = (𝐴𝑦))
87eleq1d 2822 . . . . 5 (𝑥 = 𝐴 → ((𝑥𝑦) ∈ 𝑆 ↔ (𝐴𝑦) ∈ 𝑆))
9 difeq1 4030 . . . . . . . 8 (𝑥 = 𝐴 → (𝑥𝑦) = (𝐴𝑦))
109eqeq1d 2739 . . . . . . 7 (𝑥 = 𝐴 → ((𝑥𝑦) = 𝑧 ↔ (𝐴𝑦) = 𝑧))
11103anbi3d 1444 . . . . . 6 (𝑥 = 𝐴 → ((𝑧 ∈ Fin ∧ Disj 𝑡𝑧 𝑡 ∧ (𝑥𝑦) = 𝑧) ↔ (𝑧 ∈ Fin ∧ Disj 𝑡𝑧 𝑡 ∧ (𝐴𝑦) = 𝑧)))
1211rexbidv 3216 . . . . 5 (𝑥 = 𝐴 → (∃𝑧 ∈ 𝒫 𝑆(𝑧 ∈ Fin ∧ Disj 𝑡𝑧 𝑡 ∧ (𝑥𝑦) = 𝑧) ↔ ∃𝑧 ∈ 𝒫 𝑆(𝑧 ∈ Fin ∧ Disj 𝑡𝑧 𝑡 ∧ (𝐴𝑦) = 𝑧)))
138, 12anbi12d 634 . . . 4 (𝑥 = 𝐴 → (((𝑥𝑦) ∈ 𝑆 ∧ ∃𝑧 ∈ 𝒫 𝑆(𝑧 ∈ Fin ∧ Disj 𝑡𝑧 𝑡 ∧ (𝑥𝑦) = 𝑧)) ↔ ((𝐴𝑦) ∈ 𝑆 ∧ ∃𝑧 ∈ 𝒫 𝑆(𝑧 ∈ Fin ∧ Disj 𝑡𝑧 𝑡 ∧ (𝐴𝑦) = 𝑧))))
14 ineq2 4121 . . . . . 6 (𝑦 = 𝐵 → (𝐴𝑦) = (𝐴𝐵))
1514eleq1d 2822 . . . . 5 (𝑦 = 𝐵 → ((𝐴𝑦) ∈ 𝑆 ↔ (𝐴𝐵) ∈ 𝑆))
16 difeq2 4031 . . . . . . . 8 (𝑦 = 𝐵 → (𝐴𝑦) = (𝐴𝐵))
1716eqeq1d 2739 . . . . . . 7 (𝑦 = 𝐵 → ((𝐴𝑦) = 𝑧 ↔ (𝐴𝐵) = 𝑧))
18173anbi3d 1444 . . . . . 6 (𝑦 = 𝐵 → ((𝑧 ∈ Fin ∧ Disj 𝑡𝑧 𝑡 ∧ (𝐴𝑦) = 𝑧) ↔ (𝑧 ∈ Fin ∧ Disj 𝑡𝑧 𝑡 ∧ (𝐴𝐵) = 𝑧)))
1918rexbidv 3216 . . . . 5 (𝑦 = 𝐵 → (∃𝑧 ∈ 𝒫 𝑆(𝑧 ∈ Fin ∧ Disj 𝑡𝑧 𝑡 ∧ (𝐴𝑦) = 𝑧) ↔ ∃𝑧 ∈ 𝒫 𝑆(𝑧 ∈ Fin ∧ Disj 𝑡𝑧 𝑡 ∧ (𝐴𝐵) = 𝑧)))
2015, 19anbi12d 634 . . . 4 (𝑦 = 𝐵 → (((𝐴𝑦) ∈ 𝑆 ∧ ∃𝑧 ∈ 𝒫 𝑆(𝑧 ∈ Fin ∧ Disj 𝑡𝑧 𝑡 ∧ (𝐴𝑦) = 𝑧)) ↔ ((𝐴𝐵) ∈ 𝑆 ∧ ∃𝑧 ∈ 𝒫 𝑆(𝑧 ∈ Fin ∧ Disj 𝑡𝑧 𝑡 ∧ (𝐴𝐵) = 𝑧))))
2113, 20rspc2va 3548 . . 3 (((𝐴𝑆𝐵𝑆) ∧ ∀𝑥𝑆𝑦𝑆 ((𝑥𝑦) ∈ 𝑆 ∧ ∃𝑧 ∈ 𝒫 𝑆(𝑧 ∈ Fin ∧ Disj 𝑡𝑧 𝑡 ∧ (𝑥𝑦) = 𝑧))) → ((𝐴𝐵) ∈ 𝑆 ∧ ∃𝑧 ∈ 𝒫 𝑆(𝑧 ∈ Fin ∧ Disj 𝑡𝑧 𝑡 ∧ (𝐴𝐵) = 𝑧)))
221, 2, 6, 21syl21anc 838 . 2 ((𝑆𝑁𝐴𝑆𝐵𝑆) → ((𝐴𝐵) ∈ 𝑆 ∧ ∃𝑧 ∈ 𝒫 𝑆(𝑧 ∈ Fin ∧ Disj 𝑡𝑧 𝑡 ∧ (𝐴𝐵) = 𝑧)))
2322simprd 499 1 ((𝑆𝑁𝐴𝑆𝐵𝑆) → ∃𝑧 ∈ 𝒫 𝑆(𝑧 ∈ Fin ∧ Disj 𝑡𝑧 𝑡 ∧ (𝐴𝐵) = 𝑧))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 399  w3a 1089   = wceq 1543  wcel 2110  wral 3061  wrex 3062  {crab 3065  cdif 3863  cin 3865  c0 4237  𝒫 cpw 4513   cuni 4819  Disj wdisj 5018  Fincfn 8626
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2016  ax-8 2112  ax-9 2120  ax-ext 2708
This theorem depends on definitions:  df-bi 210  df-an 400  df-3an 1091  df-tru 1546  df-ex 1788  df-sb 2071  df-clab 2715  df-cleq 2729  df-clel 2816  df-ral 3066  df-rex 3067  df-rab 3070  df-v 3410  df-dif 3869  df-in 3873  df-ss 3883  df-pw 4515
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator