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

Theorem srcmpltd 4442
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 4139 . . 3 (𝐶𝐵𝐶 ∈ (𝐴𝐵))
2 undif2 4441 . . 3 (𝐴 ∪ (𝐵𝐴)) = (𝐴𝐵)
31, 2eleqtrrdi 2877 . 2 (𝐶𝐵𝐶 ∈ (𝐴 ∪ (𝐵𝐴)))
4 srcmpltd.1 . . 3 (𝜑 → (𝐶𝐴𝜓))
5 srcmpltd.2 . . 3 (𝜑 → (𝐶 ∈ (𝐵𝐴) → 𝜓))
6 elunant 4140 . . 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 2146  cdif 3905  cun 3906
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2148  ax-9 2156  ax-ext 2738
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1573  df-fal 1583  df-ex 1813  df-sb 2100  df-clab 2745  df-cleq 2758  df-clel 2841  df-rab 3420  df-v 3460  df-dif 3911  df-un 3913  df-in 3915  df-ss 3925  df-nul 4290
This theorem is used by:  prsrcmpltd  4443
  Copyright terms: Public domain W3C validator