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

Theorem elnelun 4341
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 3122 . . . . 5 (𝐵𝐶 ↔ ¬ 𝐵𝐶)
43rabbii 3472 . . . 4 {𝑠𝐴𝐵𝐶} = {𝑠𝐴 ∣ ¬ 𝐵𝐶}
52, 4eqtri 2842 . . 3 𝑁 = {𝑠𝐴 ∣ ¬ 𝐵𝐶}
61, 5uneq12i 4135 . 2 (𝐸𝑁) = ({𝑠𝐴𝐵𝐶} ∪ {𝑠𝐴 ∣ ¬ 𝐵𝐶})
7 rabxm 4338 . 2 𝐴 = ({𝑠𝐴𝐵𝐶} ∪ {𝑠𝐴 ∣ ¬ 𝐵𝐶})
86, 7eqtr4i 2845 1 (𝐸𝑁) = 𝐴
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3   = wceq 1531  wcel 2108  wnel 3121  {crab 3140  cun 3932
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1790  ax-4 1804  ax-5 1905  ax-6 1964  ax-7 2009  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2154  ax-12 2170  ax-ext 2791
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-tru 1534  df-ex 1775  df-nf 1779  df-sb 2064  df-clab 2798  df-cleq 2812  df-clel 2891  df-nfc 2961  df-nel 3122  df-ral 3141  df-rab 3145  df-v 3495  df-un 3939
This theorem is referenced by:  usgrfilem  27101  cusgrsizeinds  27226  vtxdginducedm1  27317
  Copyright terms: Public domain W3C validator