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 32114
Description: Generalization of unrab 3857. 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 3738 . . . 4 𝐴 ⊆ (𝐴𝐵)
2 rabss2 3648 . . . 4 (𝐴 ⊆ (𝐴𝐵) → {𝑥𝐴𝜑} ⊆ {𝑥 ∈ (𝐴𝐵) ∣ 𝜑})
31, 2ax-mp 5 . . 3 {𝑥𝐴𝜑} ⊆ {𝑥 ∈ (𝐴𝐵) ∣ 𝜑}
4 orc 399 . . . . 5 (𝜑 → (𝜑𝜓))
54a1i 11 . . . 4 (𝑥 ∈ (𝐴𝐵) → (𝜑 → (𝜑𝜓)))
65ss2rabi 3647 . . 3 {𝑥 ∈ (𝐴𝐵) ∣ 𝜑} ⊆ {𝑥 ∈ (𝐴𝐵) ∣ (𝜑𝜓)}
73, 6sstri 3577 . 2 {𝑥𝐴𝜑} ⊆ {𝑥 ∈ (𝐴𝐵) ∣ (𝜑𝜓)}
8 ssun2 3739 . . . 4 𝐵 ⊆ (𝐴𝐵)
9 rabss2 3648 . . . 4 (𝐵 ⊆ (𝐴𝐵) → {𝑥𝐵𝜓} ⊆ {𝑥 ∈ (𝐴𝐵) ∣ 𝜓})
108, 9ax-mp 5 . . 3 {𝑥𝐵𝜓} ⊆ {𝑥 ∈ (𝐴𝐵) ∣ 𝜓}
11 olc 398 . . . . 5 (𝜓 → (𝜑𝜓))
1211a1i 11 . . . 4 (𝑥 ∈ (𝐴𝐵) → (𝜓 → (𝜑𝜓)))
1312ss2rabi 3647 . . 3 {𝑥 ∈ (𝐴𝐵) ∣ 𝜓} ⊆ {𝑥 ∈ (𝐴𝐵) ∣ (𝜑𝜓)}
1410, 13sstri 3577 . 2 {𝑥𝐵𝜓} ⊆ {𝑥 ∈ (𝐴𝐵) ∣ (𝜑𝜓)}
157, 14unssi 3750 1 ({𝑥𝐴𝜑} ∪ {𝑥𝐵𝜓}) ⊆ {𝑥 ∈ (𝐴𝐵) ∣ (𝜑𝜓)}
Colors of variables: wff setvar class
Syntax hints:  wi 4  wo 382  wcel 1977  {crab 2900  cun 3538  wss 3540
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ral 2901  df-rab 2905  df-v 3175  df-un 3545  df-in 3547  df-ss 3554
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator