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

Theorem elnelun 4353
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 3077 . . . 4 (𝐵 ∉ 𝐶 ↔ ¬ 𝐵 ∈ 𝐶)
42, 3rabbieq 3431 . . 3 𝑁 = {𝑠 ∈ 𝐴 ∣ ¬ 𝐵 ∈ 𝐶}
51, 4uneq12i 4175 . 2 (𝐸 ∪ 𝑁) = ({𝑠 ∈ 𝐴 ∣ 𝐵 ∈ 𝐶} ∪ {𝑠 ∈ 𝐴 ∣ ¬ 𝐵 ∈ 𝐶})
6 rabxm 4350 . 2 𝐴 = ({𝑠 ∈ 𝐴 ∣ 𝐵 ∈ 𝐶} ∪ {𝑠 ∈ 𝐴 ∣ ¬ 𝐵 ∈ 𝐶})
75, 6eqtr4i 2800 1 (𝐸 ∪ 𝑁) = 𝐴
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   = wceq 1572   ∈ wcel 2156   ∉ wnel 3076  {crab 3423   ∪ cun 4159
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-12 2225  ax-ext 2746
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1575  df-ex 1819  df-nf 1823  df-sb 2110  df-clab 2753  df-cleq 2766  df-clel 2850  df-nel 3077  df-ral 3092  df-rab 3424  df-v 3463  df-un 4161
This theorem is used by:  usgrfilem  30072  cusgrsizeinds  30197  vtxdginducedm1  30288
  Copyright terms: Public domain W3C validator