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

Theorem unabw 4252
Description: Union of two class abstractions. Version of unab 4253 using implicit substitution, which does not require ax-8 2146, ax-10 2177, ax-12 2212. (Contributed by GG, 15-Oct-2024.)
Hypotheses
Ref Expression
unabw.1 (𝑥 = 𝑦 → (𝜑 ↔ 𝜒))
unabw.2 (𝑥 = 𝑦 → (𝜓 ↔ 𝜃))
Assertion
Ref Expression
unabw ({𝑥 ∣ 𝜑} ∪ {𝑥 ∣ 𝜓}) = {𝑦 ∣ (𝜒 ∨ 𝜃)}
Distinct variable groups:   𝑥,𝑦   𝜑,𝑦   𝜓,𝑦   𝜒,𝑥   𝜃,𝑥
Allowed substitution hints:   𝜑(𝑥)   𝜓(𝑥)   𝜒(𝑦)   𝜃(𝑦)

Proof of Theorem unabw
StepHypRef Expression
1 df-un 4151 . 2 ({𝑥 ∣ 𝜑} ∪ {𝑥 ∣ 𝜓}) = {𝑦 ∣ (𝑦 ∈ {𝑥 ∣ 𝜑} ∨ 𝑦 ∈ {𝑥 ∣ 𝜓})}
2 df-clab 2739 . . . . 5 (𝑦 ∈ {𝑥 ∣ 𝜑} ↔ [𝑦 / 𝑥]𝜑)
3 unabw.1 . . . . . 6 (𝑥 = 𝑦 → (𝜑 ↔ 𝜒))
43sbievw 2130 . . . . 5 ([𝑦 / 𝑥]𝜑 ↔ 𝜒)
52, 4bitri 278 . . . 4 (𝑦 ∈ {𝑥 ∣ 𝜑} ↔ 𝜒)
6 df-clab 2739 . . . . 5 (𝑦 ∈ {𝑥 ∣ 𝜓} ↔ [𝑦 / 𝑥]𝜓)
7 unabw.2 . . . . . 6 (𝑥 = 𝑦 → (𝜓 ↔ 𝜃))
87sbievw 2130 . . . . 5 ([𝑦 / 𝑥]𝜓 ↔ 𝜃)
96, 8bitri 278 . . . 4 (𝑦 ∈ {𝑥 ∣ 𝜓} ↔ 𝜃)
105, 9orbi12i 928 . . 3 ((𝑦 ∈ {𝑥 ∣ 𝜑} ∨ 𝑦 ∈ {𝑥 ∣ 𝜓}) ↔ (𝜒 ∨ 𝜃))
1110abbii 2827 . 2 {𝑦 ∣ (𝑦 ∈ {𝑥 ∣ 𝜑} ∨ 𝑦 ∈ {𝑥 ∣ 𝜓})} = {𝑦 ∣ (𝜒 ∨ 𝜃)}
121, 11eqtri 2783 1 ({𝑥 ∣ 𝜑} ∪ {𝑥 ∣ 𝜓}) = {𝑦 ∣ (𝜒 ∨ 𝜃)}
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∨ wo 861   = wceq 1569  [wsb 2098   ∈ wcel 2144  {cab 2738   ∪ 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-9 2154  ax-ext 2732
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-ex 1812  df-sb 2099  df-clab 2739  df-cleq 2752  df-un 4151
This theorem is used by:  dfif6  4484  unopab  5184  dmun  5891
  Copyright terms: Public domain W3C validator