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

Theorem srcmpltd 4431
Description: If a statement is true for every element of a class and for every element of its complement relative to a second class, then it is true for every element in the second class. (Contributed by BTernaryTau, 27-Sep-2023.)
Hypotheses
Ref Expression
srcmpltd.1 (𝜑 → (𝐶 ∈ 𝐴 → 𝜓))
srcmpltd.2 (𝜑 → (𝐶 ∈ (𝐵 ∖ 𝐴) → 𝜓))
Assertion
Ref Expression
srcmpltd (𝜑 → (𝐶 ∈ 𝐵 → 𝜓))

Proof of Theorem srcmpltd
StepHypRef Expression
1 elun2 4181 . . 3 (𝐶 ∈ 𝐵 → 𝐶 ∈ (𝐴 ∪ 𝐵))
2 undif2 4430 . . 3 (𝐴 ∪ (𝐵 ∖ 𝐴)) = (𝐴 ∪ 𝐵)
31, 2eleqtrrdi 2871 . 2 (𝐶 ∈ 𝐵 → 𝐶 ∈ (𝐴 ∪ (𝐵 ∖ 𝐴)))
4 srcmpltd.1 . . 3 (𝜑 → (𝐶 ∈ 𝐴 → 𝜓))
5 srcmpltd.2 . . 3 (𝜑 → (𝐶 ∈ (𝐵 ∖ 𝐴) → 𝜓))
6 elunant 4182 . . 3 ((𝐶 ∈ (𝐴 ∪ (𝐵 ∖ 𝐴)) → 𝜓) ↔ ((𝐶 ∈ 𝐴 → 𝜓) ∧ (𝐶 ∈ (𝐵 ∖ 𝐴) → 𝜓)))
74, 5, 6sylanbrc 595 . 2 (𝜑 → (𝐶 ∈ (𝐴 ∪ (𝐵 ∖ 𝐴)) → 𝜓))
83, 7syl5 35 1 (𝜑 → (𝐶 ∈ 𝐵 → 𝜓))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∈ wcel 2144   ∖ cdif 4045   ∪ cun 4149
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-ext 2732
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1572  df-fal 1582  df-ex 1812  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-rab 3413  df-v 3452  df-ss 3896  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279
This theorem is used by:  prsrcmpltd  4432
  Copyright terms: Public domain W3C validator