MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  elnelun Structured version   Visualization version   GIF version

Theorem elnelun 4297
Description: The union of the set of elements 𝑠 determining classes 𝐶 (which may depend on 𝑠) containing a special element and the set of elements 𝑠 determining classes 𝐶 not containing the special element yields the original set. (Contributed by Alexander van der Vekens, 11-Jan-2018.) (Revised by AV, 9-Nov-2020.) (Revised by AV, 17-Dec-2021.)
Hypotheses
Ref Expression
elneldisj.e 𝐸 = {𝑠𝐴𝐵𝐶}
elneldisj.n 𝑁 = {𝑠𝐴𝐵𝐶}
Assertion
Ref Expression
elnelun (𝐸𝑁) = 𝐴
Distinct variable group:   𝐴,𝑠
Allowed substitution hints:   𝐵(𝑠)   𝐶(𝑠)   𝐸(𝑠)   𝑁(𝑠)

Proof of Theorem elnelun
StepHypRef Expression
1 elneldisj.e . . 3 𝐸 = {𝑠𝐴𝐵𝐶}
2 elneldisj.n . . . 4 𝑁 = {𝑠𝐴𝐵𝐶}
3 df-nel 3092 . . . . 5 (𝐵𝐶 ↔ ¬ 𝐵𝐶)
43rabbii 3420 . . . 4 {𝑠𝐴𝐵𝐶} = {𝑠𝐴 ∣ ¬ 𝐵𝐶}
52, 4eqtri 2821 . . 3 𝑁 = {𝑠𝐴 ∣ ¬ 𝐵𝐶}
61, 5uneq12i 4088 . 2 (𝐸𝑁) = ({𝑠𝐴𝐵𝐶} ∪ {𝑠𝐴 ∣ ¬ 𝐵𝐶})
7 rabxm 4294 . 2 𝐴 = ({𝑠𝐴𝐵𝐶} ∪ {𝑠𝐴 ∣ ¬ 𝐵𝐶})
86, 7eqtr4i 2824 1 (𝐸𝑁) = 𝐴
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3   = wceq 1538  wcel 2111  wnel 3091  {crab 3110  cun 3879
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-clab 2777  df-cleq 2791  df-clel 2870  df-nel 3092  df-ral 3111  df-rab 3115  df-v 3443  df-un 3886
This theorem is referenced by:  usgrfilem  27117  cusgrsizeinds  27242  vtxdginducedm1  27333
  Copyright terms: Public domain W3C validator