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 34239
Description: Generalization of unrab 4274. 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 4148 . . . 4 𝐴 ⊆ (𝐴𝐵)
2 rabss2 4054 . . . 4 (𝐴 ⊆ (𝐴𝐵) → {𝑥𝐴𝜑} ⊆ {𝑥 ∈ (𝐴𝐵) ∣ 𝜑})
31, 2ax-mp 5 . . 3 {𝑥𝐴𝜑} ⊆ {𝑥 ∈ (𝐴𝐵) ∣ 𝜑}
4 orc 863 . . . . 5 (𝜑 → (𝜑𝜓))
54a1i 11 . . . 4 (𝑥 ∈ (𝐴𝐵) → (𝜑 → (𝜑𝜓)))
65ss2rabi 4053 . . 3 {𝑥 ∈ (𝐴𝐵) ∣ 𝜑} ⊆ {𝑥 ∈ (𝐴𝐵) ∣ (𝜑𝜓)}
73, 6sstri 3976 . 2 {𝑥𝐴𝜑} ⊆ {𝑥 ∈ (𝐴𝐵) ∣ (𝜑𝜓)}
8 ssun2 4149 . . . 4 𝐵 ⊆ (𝐴𝐵)
9 rabss2 4054 . . . 4 (𝐵 ⊆ (𝐴𝐵) → {𝑥𝐵𝜓} ⊆ {𝑥 ∈ (𝐴𝐵) ∣ 𝜓})
108, 9ax-mp 5 . . 3 {𝑥𝐵𝜓} ⊆ {𝑥 ∈ (𝐴𝐵) ∣ 𝜓}
11 olc 864 . . . . 5 (𝜓 → (𝜑𝜓))
1211a1i 11 . . . 4 (𝑥 ∈ (𝐴𝐵) → (𝜓 → (𝜑𝜓)))
1312ss2rabi 4053 . . 3 {𝑥 ∈ (𝐴𝐵) ∣ 𝜓} ⊆ {𝑥 ∈ (𝐴𝐵) ∣ (𝜑𝜓)}
1410, 13sstri 3976 . 2 {𝑥𝐵𝜓} ⊆ {𝑥 ∈ (𝐴𝐵) ∣ (𝜑𝜓)}
157, 14unssi 4161 1 ({𝑥𝐴𝜑} ∪ {𝑥𝐵𝜓}) ⊆ {𝑥 ∈ (𝐴𝐵) ∣ (𝜑𝜓)}
Colors of variables: wff setvar class
Syntax hints:  wi 4  wo 843  wcel 2110  {crab 3142  cun 3934  wss 3936
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1907  ax-6 1966  ax-7 2011  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2156  ax-12 2172  ax-ext 2793
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-tru 1536  df-ex 1777  df-nf 1781  df-sb 2066  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ral 3143  df-rab 3147  df-v 3497  df-un 3941  df-in 3943  df-ss 3952
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator