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

Theorem ifssun 4503
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 2763 . . 3 {𝑥 ∣ 𝜑} = {𝑥 ∣ 𝜑}
21dfif4 4501 . 2 if(𝜑, 𝐴, 𝐵) = ((𝐴 ∪ 𝐵) ∩ ((𝐴 ∪ (V ∖ {𝑥 ∣ 𝜑})) ∩ (𝐵 ∪ {𝑥 ∣ 𝜑})))
3 inss1 4136 . 2 ((𝐴 ∪ 𝐵) ∩ ((𝐴 ∪ (V ∖ {𝑥 ∣ 𝜑})) ∩ (𝐵 ∪ {𝑥 ∣ 𝜑}))) ⊆ (𝐴 ∪ 𝐵)
42, 3eqsstri 3959 1 if(𝜑, 𝐴, 𝐵) ⊆ (𝐴 ∪ 𝐵)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  {cab 2741  Vcvv 3454   ⊆ wss 3900   ∖ cdif 4048   ∩ cin 4092   ∪ cun 4152  ifcif 4485
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-ext 2735
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 2102  df-clab 2742  df-cleq 2755  df-clel 2839  df-rab 3417  df-v 3456  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486
This theorem is used by:  tmachlem-agreeprod  48220  parhomssun  51078
  Copyright terms: Public domain W3C validator