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

Theorem difelros 31426
Description: A ring of sets is closed under set complement. (Contributed by Thierry Arnoux, 18-Jul-2020.)
Hypothesis
Ref Expression
isros.1 𝑄 = {𝑠 ∈ 𝒫 𝒫 𝑂 ∣ (∅ ∈ 𝑠 ∧ ∀𝑥𝑠𝑦𝑠 ((𝑥𝑦) ∈ 𝑠 ∧ (𝑥𝑦) ∈ 𝑠))}
Assertion
Ref Expression
difelros ((𝑆𝑄𝐴𝑆𝐵𝑆) → (𝐴𝐵) ∈ 𝑆)
Distinct variable groups:   𝑂,𝑠   𝑆,𝑠,𝑥,𝑦
Allowed substitution hints:   𝐴(𝑥,𝑦,𝑠)   𝐵(𝑥,𝑦,𝑠)   𝑄(𝑥,𝑦,𝑠)   𝑂(𝑥,𝑦)

Proof of Theorem difelros
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 31422 . . . . 5 (𝑆𝑄 ↔ (𝑆 ∈ 𝒫 𝒫 𝑂 ∧ ∅ ∈ 𝑆 ∧ ∀𝑢𝑆𝑣𝑆 ((𝑢𝑣) ∈ 𝑆 ∧ (𝑢𝑣) ∈ 𝑆)))
54simp3bi 1143 . . . 4 (𝑆𝑄 → ∀𝑢𝑆𝑣𝑆 ((𝑢𝑣) ∈ 𝑆 ∧ (𝑢𝑣) ∈ 𝑆))
653ad2ant1 1129 . . 3 ((𝑆𝑄𝐴𝑆𝐵𝑆) → ∀𝑢𝑆𝑣𝑆 ((𝑢𝑣) ∈ 𝑆 ∧ (𝑢𝑣) ∈ 𝑆))
7 uneq1 4131 . . . . . 6 (𝑢 = 𝐴 → (𝑢𝑣) = (𝐴𝑣))
87eleq1d 2897 . . . . 5 (𝑢 = 𝐴 → ((𝑢𝑣) ∈ 𝑆 ↔ (𝐴𝑣) ∈ 𝑆))
9 difeq1 4091 . . . . . 6 (𝑢 = 𝐴 → (𝑢𝑣) = (𝐴𝑣))
109eleq1d 2897 . . . . 5 (𝑢 = 𝐴 → ((𝑢𝑣) ∈ 𝑆 ↔ (𝐴𝑣) ∈ 𝑆))
118, 10anbi12d 632 . . . 4 (𝑢 = 𝐴 → (((𝑢𝑣) ∈ 𝑆 ∧ (𝑢𝑣) ∈ 𝑆) ↔ ((𝐴𝑣) ∈ 𝑆 ∧ (𝐴𝑣) ∈ 𝑆)))
12 uneq2 4132 . . . . . 6 (𝑣 = 𝐵 → (𝐴𝑣) = (𝐴𝐵))
1312eleq1d 2897 . . . . 5 (𝑣 = 𝐵 → ((𝐴𝑣) ∈ 𝑆 ↔ (𝐴𝐵) ∈ 𝑆))
14 difeq2 4092 . . . . . 6 (𝑣 = 𝐵 → (𝐴𝑣) = (𝐴𝐵))
1514eleq1d 2897 . . . . 5 (𝑣 = 𝐵 → ((𝐴𝑣) ∈ 𝑆 ↔ (𝐴𝐵) ∈ 𝑆))
1613, 15anbi12d 632 . . . 4 (𝑣 = 𝐵 → (((𝐴𝑣) ∈ 𝑆 ∧ (𝐴𝑣) ∈ 𝑆) ↔ ((𝐴𝐵) ∈ 𝑆 ∧ (𝐴𝐵) ∈ 𝑆)))
1711, 16rspc2va 3633 . . 3 (((𝐴𝑆𝐵𝑆) ∧ ∀𝑢𝑆𝑣𝑆 ((𝑢𝑣) ∈ 𝑆 ∧ (𝑢𝑣) ∈ 𝑆)) → ((𝐴𝐵) ∈ 𝑆 ∧ (𝐴𝐵) ∈ 𝑆))
181, 2, 6, 17syl21anc 835 . 2 ((𝑆𝑄𝐴𝑆𝐵𝑆) → ((𝐴𝐵) ∈ 𝑆 ∧ (𝐴𝐵) ∈ 𝑆))
1918simprd 498 1 ((𝑆𝑄𝐴𝑆𝐵𝑆) → (𝐴𝐵) ∈ 𝑆)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 398  w3a 1083   = wceq 1533  wcel 2110  wral 3138  {crab 3142  cdif 3932  cun 3933  c0 4290  𝒫 cpw 4538
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1907  ax-6 1966  ax-7 2011  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2157  ax-12 2173  ax-ext 2793
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1536  df-ex 1777  df-nf 1781  df-sb 2066  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ral 3143  df-rab 3147  df-v 3496  df-dif 3938  df-un 3940
This theorem is referenced by:  inelros  31427  rossros  31434
  Copyright terms: Public domain W3C validator