Users' Mathboxes Mathbox for BJ < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  bj-unrab Structured version   Visualization version   GIF version

Theorem bj-unrab 34368
Description: Generalization of unrab 4226. Equality need not hold. (Contributed by BJ, 21-Apr-2019.)
Assertion
Ref Expression
bj-unrab ({𝑥𝐴𝜑} ∪ {𝑥𝐵𝜓}) ⊆ {𝑥 ∈ (𝐴𝐵) ∣ (𝜑𝜓)}
Distinct variable groups:   𝑥,𝐴   𝑥,𝐵
Allowed substitution hints:   𝜑(𝑥)   𝜓(𝑥)

Proof of Theorem bj-unrab
StepHypRef Expression
1 ssun1 4099 . . . 4 𝐴 ⊆ (𝐴𝐵)
2 rabss2 4005 . . . 4 (𝐴 ⊆ (𝐴𝐵) → {𝑥𝐴𝜑} ⊆ {𝑥 ∈ (𝐴𝐵) ∣ 𝜑})
31, 2ax-mp 5 . . 3 {𝑥𝐴𝜑} ⊆ {𝑥 ∈ (𝐴𝐵) ∣ 𝜑}
4 orc 864 . . . . 5 (𝜑 → (𝜑𝜓))
54a1i 11 . . . 4 (𝑥 ∈ (𝐴𝐵) → (𝜑 → (𝜑𝜓)))
65ss2rabi 4004 . . 3 {𝑥 ∈ (𝐴𝐵) ∣ 𝜑} ⊆ {𝑥 ∈ (𝐴𝐵) ∣ (𝜑𝜓)}
73, 6sstri 3924 . 2 {𝑥𝐴𝜑} ⊆ {𝑥 ∈ (𝐴𝐵) ∣ (𝜑𝜓)}
8 ssun2 4100 . . . 4 𝐵 ⊆ (𝐴𝐵)
9 rabss2 4005 . . . 4 (𝐵 ⊆ (𝐴𝐵) → {𝑥𝐵𝜓} ⊆ {𝑥 ∈ (𝐴𝐵) ∣ 𝜓})
108, 9ax-mp 5 . . 3 {𝑥𝐵𝜓} ⊆ {𝑥 ∈ (𝐴𝐵) ∣ 𝜓}
11 olc 865 . . . . 5 (𝜓 → (𝜑𝜓))
1211a1i 11 . . . 4 (𝑥 ∈ (𝐴𝐵) → (𝜓 → (𝜑𝜓)))
1312ss2rabi 4004 . . 3 {𝑥 ∈ (𝐴𝐵) ∣ 𝜓} ⊆ {𝑥 ∈ (𝐴𝐵) ∣ (𝜑𝜓)}
1410, 13sstri 3924 . 2 {𝑥𝐵𝜓} ⊆ {𝑥 ∈ (𝐴𝐵) ∣ (𝜑𝜓)}
157, 14unssi 4112 1 ({𝑥𝐴𝜑} ∪ {𝑥𝐵𝜓}) ⊆ {𝑥 ∈ (𝐴𝐵) ∣ (𝜑𝜓)}
Colors of variables: wff setvar class
Syntax hints:  wi 4  wo 844  wcel 2111  {crab 3110  cun 3879  wss 3881
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-ex 1782  df-nf 1786  df-sb 2070  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-ral 3111  df-rab 3115  df-v 3443  df-un 3886  df-in 3888  df-ss 3898
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator