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

Theorem rossros 31718
Description: Rings of sets are semirings of sets. (Contributed by Thierry Arnoux, 18-Jul-2020.)
Hypotheses
Ref Expression
rossros.q 𝑄 = {𝑠 ∈ 𝒫 𝒫 𝑂 ∣ (∅ ∈ 𝑠 ∧ ∀𝑥𝑠𝑦𝑠 ((𝑥𝑦) ∈ 𝑠 ∧ (𝑥𝑦) ∈ 𝑠))}
rossros.n 𝑁 = {𝑠 ∈ 𝒫 𝒫 𝑂 ∣ (∅ ∈ 𝑠 ∧ ∀𝑥𝑠𝑦𝑠 ((𝑥𝑦) ∈ 𝑠 ∧ ∃𝑧 ∈ 𝒫 𝑠(𝑧 ∈ Fin ∧ Disj 𝑡𝑧 𝑡 ∧ (𝑥𝑦) = 𝑧)))}
Assertion
Ref Expression
rossros (𝑆𝑄𝑆𝑁)
Distinct variable groups:   𝑂,𝑠   𝑥,𝑄,𝑦   𝑆,𝑠,𝑥,𝑦,𝑧   𝑡,𝑠,𝑥,𝑦,𝑧
Allowed substitution hints:   𝑄(𝑧,𝑡,𝑠)   𝑆(𝑡)   𝑁(𝑥,𝑦,𝑧,𝑡,𝑠)   𝑂(𝑥,𝑦,𝑧,𝑡)

Proof of Theorem rossros
Dummy variables 𝑢 𝑣 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 rossros.q . . . . 5 𝑄 = {𝑠 ∈ 𝒫 𝒫 𝑂 ∣ (∅ ∈ 𝑠 ∧ ∀𝑥𝑠𝑦𝑠 ((𝑥𝑦) ∈ 𝑠 ∧ (𝑥𝑦) ∈ 𝑠))}
21rossspw 31707 . . . 4 (𝑆𝑄𝑆 ⊆ 𝒫 𝑂)
3 elpwg 4491 . . . 4 (𝑆𝑄 → (𝑆 ∈ 𝒫 𝒫 𝑂𝑆 ⊆ 𝒫 𝑂))
42, 3mpbird 260 . . 3 (𝑆𝑄𝑆 ∈ 𝒫 𝒫 𝑂)
510elros 31708 . . 3 (𝑆𝑄 → ∅ ∈ 𝑆)
6 uneq1 4046 . . . . . . . . . . . . 13 (𝑢 = 𝑥 → (𝑢𝑣) = (𝑥𝑣))
76eleq1d 2817 . . . . . . . . . . . 12 (𝑢 = 𝑥 → ((𝑢𝑣) ∈ 𝑠 ↔ (𝑥𝑣) ∈ 𝑠))
8 difeq1 4006 . . . . . . . . . . . . 13 (𝑢 = 𝑥 → (𝑢𝑣) = (𝑥𝑣))
98eleq1d 2817 . . . . . . . . . . . 12 (𝑢 = 𝑥 → ((𝑢𝑣) ∈ 𝑠 ↔ (𝑥𝑣) ∈ 𝑠))
107, 9anbi12d 634 . . . . . . . . . . 11 (𝑢 = 𝑥 → (((𝑢𝑣) ∈ 𝑠 ∧ (𝑢𝑣) ∈ 𝑠) ↔ ((𝑥𝑣) ∈ 𝑠 ∧ (𝑥𝑣) ∈ 𝑠)))
11 uneq2 4047 . . . . . . . . . . . . 13 (𝑣 = 𝑦 → (𝑥𝑣) = (𝑥𝑦))
1211eleq1d 2817 . . . . . . . . . . . 12 (𝑣 = 𝑦 → ((𝑥𝑣) ∈ 𝑠 ↔ (𝑥𝑦) ∈ 𝑠))
13 difeq2 4007 . . . . . . . . . . . . 13 (𝑣 = 𝑦 → (𝑥𝑣) = (𝑥𝑦))
1413eleq1d 2817 . . . . . . . . . . . 12 (𝑣 = 𝑦 → ((𝑥𝑣) ∈ 𝑠 ↔ (𝑥𝑦) ∈ 𝑠))
1512, 14anbi12d 634 . . . . . . . . . . 11 (𝑣 = 𝑦 → (((𝑥𝑣) ∈ 𝑠 ∧ (𝑥𝑣) ∈ 𝑠) ↔ ((𝑥𝑦) ∈ 𝑠 ∧ (𝑥𝑦) ∈ 𝑠)))
1610, 15cbvral2vw 3362 . . . . . . . . . 10 (∀𝑢𝑠𝑣𝑠 ((𝑢𝑣) ∈ 𝑠 ∧ (𝑢𝑣) ∈ 𝑠) ↔ ∀𝑥𝑠𝑦𝑠 ((𝑥𝑦) ∈ 𝑠 ∧ (𝑥𝑦) ∈ 𝑠))
1716anbi2i 626 . . . . . . . . 9 ((∅ ∈ 𝑠 ∧ ∀𝑢𝑠𝑣𝑠 ((𝑢𝑣) ∈ 𝑠 ∧ (𝑢𝑣) ∈ 𝑠)) ↔ (∅ ∈ 𝑠 ∧ ∀𝑥𝑠𝑦𝑠 ((𝑥𝑦) ∈ 𝑠 ∧ (𝑥𝑦) ∈ 𝑠)))
1817rabbii 3374 . . . . . . . 8 {𝑠 ∈ 𝒫 𝒫 𝑂 ∣ (∅ ∈ 𝑠 ∧ ∀𝑢𝑠𝑣𝑠 ((𝑢𝑣) ∈ 𝑠 ∧ (𝑢𝑣) ∈ 𝑠))} = {𝑠 ∈ 𝒫 𝒫 𝑂 ∣ (∅ ∈ 𝑠 ∧ ∀𝑥𝑠𝑦𝑠 ((𝑥𝑦) ∈ 𝑠 ∧ (𝑥𝑦) ∈ 𝑠))}
191, 18eqtr4i 2764 . . . . . . 7 𝑄 = {𝑠 ∈ 𝒫 𝒫 𝑂 ∣ (∅ ∈ 𝑠 ∧ ∀𝑢𝑠𝑣𝑠 ((𝑢𝑣) ∈ 𝑠 ∧ (𝑢𝑣) ∈ 𝑠))}
2019inelros 31711 . . . . . 6 ((𝑆𝑄𝑥𝑆𝑦𝑆) → (𝑥𝑦) ∈ 𝑆)
21203expb 1121 . . . . 5 ((𝑆𝑄 ∧ (𝑥𝑆𝑦𝑆)) → (𝑥𝑦) ∈ 𝑆)
2219difelros 31710 . . . . . . . . 9 ((𝑆𝑄𝑥𝑆𝑦𝑆) → (𝑥𝑦) ∈ 𝑆)
23223expb 1121 . . . . . . . 8 ((𝑆𝑄 ∧ (𝑥𝑆𝑦𝑆)) → (𝑥𝑦) ∈ 𝑆)
2423snssd 4697 . . . . . . 7 ((𝑆𝑄 ∧ (𝑥𝑆𝑦𝑆)) → {(𝑥𝑦)} ⊆ 𝑆)
25 snex 5298 . . . . . . . 8 {(𝑥𝑦)} ∈ V
2625elpw 4492 . . . . . . 7 ({(𝑥𝑦)} ∈ 𝒫 𝑆 ↔ {(𝑥𝑦)} ⊆ 𝑆)
2724, 26sylibr 237 . . . . . 6 ((𝑆𝑄 ∧ (𝑥𝑆𝑦𝑆)) → {(𝑥𝑦)} ∈ 𝒫 𝑆)
28 snfi 8642 . . . . . . 7 {(𝑥𝑦)} ∈ Fin
2928a1i 11 . . . . . 6 ((𝑆𝑄 ∧ (𝑥𝑆𝑦𝑆)) → {(𝑥𝑦)} ∈ Fin)
30 disjxsn 5023 . . . . . . 7 Disj 𝑡 ∈ {(𝑥𝑦)}𝑡
3130a1i 11 . . . . . 6 ((𝑆𝑄 ∧ (𝑥𝑆𝑦𝑆)) → Disj 𝑡 ∈ {(𝑥𝑦)}𝑡)
32 unisng 4817 . . . . . . . 8 ((𝑥𝑦) ∈ 𝑆 {(𝑥𝑦)} = (𝑥𝑦))
3323, 32syl 17 . . . . . . 7 ((𝑆𝑄 ∧ (𝑥𝑆𝑦𝑆)) → {(𝑥𝑦)} = (𝑥𝑦))
3433eqcomd 2744 . . . . . 6 ((𝑆𝑄 ∧ (𝑥𝑆𝑦𝑆)) → (𝑥𝑦) = {(𝑥𝑦)})
35 eleq1 2820 . . . . . . . 8 (𝑧 = {(𝑥𝑦)} → (𝑧 ∈ Fin ↔ {(𝑥𝑦)} ∈ Fin))
36 disjeq1 5002 . . . . . . . 8 (𝑧 = {(𝑥𝑦)} → (Disj 𝑡𝑧 𝑡Disj 𝑡 ∈ {(𝑥𝑦)}𝑡))
37 unieq 4807 . . . . . . . . 9 (𝑧 = {(𝑥𝑦)} → 𝑧 = {(𝑥𝑦)})
3837eqeq2d 2749 . . . . . . . 8 (𝑧 = {(𝑥𝑦)} → ((𝑥𝑦) = 𝑧 ↔ (𝑥𝑦) = {(𝑥𝑦)}))
3935, 36, 383anbi123d 1437 . . . . . . 7 (𝑧 = {(𝑥𝑦)} → ((𝑧 ∈ Fin ∧ Disj 𝑡𝑧 𝑡 ∧ (𝑥𝑦) = 𝑧) ↔ ({(𝑥𝑦)} ∈ Fin ∧ Disj 𝑡 ∈ {(𝑥𝑦)}𝑡 ∧ (𝑥𝑦) = {(𝑥𝑦)})))
4039rspcev 3526 . . . . . 6 (({(𝑥𝑦)} ∈ 𝒫 𝑆 ∧ ({(𝑥𝑦)} ∈ Fin ∧ Disj 𝑡 ∈ {(𝑥𝑦)}𝑡 ∧ (𝑥𝑦) = {(𝑥𝑦)})) → ∃𝑧 ∈ 𝒫 𝑆(𝑧 ∈ Fin ∧ Disj 𝑡𝑧 𝑡 ∧ (𝑥𝑦) = 𝑧))
4127, 29, 31, 34, 40syl13anc 1373 . . . . 5 ((𝑆𝑄 ∧ (𝑥𝑆𝑦𝑆)) → ∃𝑧 ∈ 𝒫 𝑆(𝑧 ∈ Fin ∧ Disj 𝑡𝑧 𝑡 ∧ (𝑥𝑦) = 𝑧))
4221, 41jca 515 . . . 4 ((𝑆𝑄 ∧ (𝑥𝑆𝑦𝑆)) → ((𝑥𝑦) ∈ 𝑆 ∧ ∃𝑧 ∈ 𝒫 𝑆(𝑧 ∈ Fin ∧ Disj 𝑡𝑧 𝑡 ∧ (𝑥𝑦) = 𝑧)))
4342ralrimivva 3103 . . 3 (𝑆𝑄 → ∀𝑥𝑆𝑦𝑆 ((𝑥𝑦) ∈ 𝑆 ∧ ∃𝑧 ∈ 𝒫 𝑆(𝑧 ∈ Fin ∧ Disj 𝑡𝑧 𝑡 ∧ (𝑥𝑦) = 𝑧)))
444, 5, 433jca 1129 . 2 (𝑆𝑄 → (𝑆 ∈ 𝒫 𝒫 𝑂 ∧ ∅ ∈ 𝑆 ∧ ∀𝑥𝑆𝑦𝑆 ((𝑥𝑦) ∈ 𝑆 ∧ ∃𝑧 ∈ 𝒫 𝑆(𝑧 ∈ Fin ∧ Disj 𝑡𝑧 𝑡 ∧ (𝑥𝑦) = 𝑧))))
45 rossros.n . . 3 𝑁 = {𝑠 ∈ 𝒫 𝒫 𝑂 ∣ (∅ ∈ 𝑠 ∧ ∀𝑥𝑠𝑦𝑠 ((𝑥𝑦) ∈ 𝑠 ∧ ∃𝑧 ∈ 𝒫 𝑠(𝑧 ∈ Fin ∧ Disj 𝑡𝑧 𝑡 ∧ (𝑥𝑦) = 𝑧)))}
4645issros 31713 . 2 (𝑆𝑁 ↔ (𝑆 ∈ 𝒫 𝒫 𝑂 ∧ ∅ ∈ 𝑆 ∧ ∀𝑥𝑆𝑦𝑆 ((𝑥𝑦) ∈ 𝑆 ∧ ∃𝑧 ∈ 𝒫 𝑆(𝑧 ∈ Fin ∧ Disj 𝑡𝑧 𝑡 ∧ (𝑥𝑦) = 𝑧))))
4744, 46sylibr 237 1 (𝑆𝑄𝑆𝑁)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 399  w3a 1088   = wceq 1542  wcel 2114  wral 3053  wrex 3054  {crab 3057  cdif 3840  cun 3841  cin 3842  wss 3843  c0 4211  𝒫 cpw 4488  {csn 4516   cuni 4796  Disj wdisj 4995  Fincfn 8555
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-10 2145  ax-11 2162  ax-12 2179  ax-ext 2710  ax-sep 5167  ax-nul 5174  ax-pr 5296  ax-un 7479
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 847  df-3or 1089  df-3an 1090  df-tru 1545  df-fal 1555  df-ex 1787  df-nf 1791  df-sb 2075  df-mo 2540  df-eu 2570  df-clab 2717  df-cleq 2730  df-clel 2811  df-nfc 2881  df-ne 2935  df-ral 3058  df-rex 3059  df-rmo 3061  df-rab 3062  df-v 3400  df-dif 3846  df-un 3848  df-in 3850  df-ss 3860  df-pss 3862  df-nul 4212  df-if 4415  df-pw 4490  df-sn 4517  df-pr 4519  df-tp 4521  df-op 4523  df-uni 4797  df-disj 4996  df-br 5031  df-opab 5093  df-tr 5137  df-id 5429  df-eprel 5434  df-po 5442  df-so 5443  df-fr 5483  df-we 5485  df-xp 5531  df-rel 5532  df-cnv 5533  df-co 5534  df-dm 5535  df-rn 5536  df-ord 6175  df-on 6176  df-lim 6177  df-suc 6178  df-fun 6341  df-fn 6342  df-f 6343  df-f1 6344  df-fo 6345  df-f1o 6346  df-om 7600  df-1o 8131  df-en 8556  df-fin 8559
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator