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

Theorem ifssun 4499
Description: A conditional class is included in the union of its two alternatives. (Contributed by BJ, 15-Aug-2024.)
Assertion
Ref Expression
ifssun if(𝜑, 𝐴, 𝐵) ⊆ (𝐴 ∪ 𝐵)

Proof of Theorem ifssun
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 eqid 2760 . . 3 {𝑥 ∣ 𝜑} = {𝑥 ∣ 𝜑}
21dfif4 4497 . 2 if(𝜑, 𝐴, 𝐵) = ((𝐴 ∪ 𝐵) ∩ ((𝐴 ∪ (V ∖ {𝑥 ∣ 𝜑})) ∩ (𝐵 ∪ {𝑥 ∣ 𝜑})))
3 inss1 4132 . 2 ((𝐴 ∪ 𝐵) ∩ ((𝐴 ∪ (V ∖ {𝑥 ∣ 𝜑})) ∩ (𝐵 ∪ {𝑥 ∣ 𝜑}))) ⊆ (𝐴 ∪ 𝐵)
42, 3eqsstri 3955 1 if(𝜑, 𝐴, 𝐵) ⊆ (𝐴 ∪ 𝐵)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  {cab 2738  Vcvv 3450   ⊆ wss 3896   ∖ cdif 4044   ∩ cin 4088   ∪ cun 4148  ifcif 4481
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 3897  df-dif 4046  df-in 4090  df-un 4150  df-nul 4278  df-if 4482
This theorem is used by:  tmachlem-agreeprod  48083  parhomssun  50883
  Copyright terms: Public domain W3C validator