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

Theorem elnelun 4346
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 3127 . . . . 5 (𝐵𝐶 ↔ ¬ 𝐵𝐶)
43rabbii 3476 . . . 4 {𝑠𝐴𝐵𝐶} = {𝑠𝐴 ∣ ¬ 𝐵𝐶}
52, 4eqtri 2847 . . 3 𝑁 = {𝑠𝐴 ∣ ¬ 𝐵𝐶}
61, 5uneq12i 4140 . 2 (𝐸𝑁) = ({𝑠𝐴𝐵𝐶} ∪ {𝑠𝐴 ∣ ¬ 𝐵𝐶})
7 rabxm 4343 . 2 𝐴 = ({𝑠𝐴𝐵𝐶} ∪ {𝑠𝐴 ∣ ¬ 𝐵𝐶})
86, 7eqtr4i 2850 1 (𝐸𝑁) = 𝐴
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3   = wceq 1536  wcel 2113  wnel 3126  {crab 3145  cun 3937
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1969  ax-7 2014  ax-8 2115  ax-9 2123  ax-10 2144  ax-11 2160  ax-12 2176  ax-ext 2796
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-tru 1539  df-ex 1780  df-nf 1784  df-sb 2069  df-clab 2803  df-cleq 2817  df-clel 2896  df-nfc 2966  df-nel 3127  df-ral 3146  df-rab 3150  df-v 3499  df-un 3944
This theorem is referenced by:  usgrfilem  27112  cusgrsizeinds  27237  vtxdginducedm1  27328
  Copyright terms: Public domain W3C validator