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 35093
Description: Generalization of unrab 4244. 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 4110 . . . 4 𝐴 ⊆ (𝐴𝐵)
2 rabss2 4015 . . . 4 (𝐴 ⊆ (𝐴𝐵) → {𝑥𝐴𝜑} ⊆ {𝑥 ∈ (𝐴𝐵) ∣ 𝜑})
31, 2ax-mp 5 . . 3 {𝑥𝐴𝜑} ⊆ {𝑥 ∈ (𝐴𝐵) ∣ 𝜑}
4 orc 863 . . . . 5 (𝜑 → (𝜑𝜓))
54a1i 11 . . . 4 (𝑥 ∈ (𝐴𝐵) → (𝜑 → (𝜑𝜓)))
65ss2rabi 4014 . . 3 {𝑥 ∈ (𝐴𝐵) ∣ 𝜑} ⊆ {𝑥 ∈ (𝐴𝐵) ∣ (𝜑𝜓)}
73, 6sstri 3934 . 2 {𝑥𝐴𝜑} ⊆ {𝑥 ∈ (𝐴𝐵) ∣ (𝜑𝜓)}
8 ssun2 4111 . . . 4 𝐵 ⊆ (𝐴𝐵)
9 rabss2 4015 . . . 4 (𝐵 ⊆ (𝐴𝐵) → {𝑥𝐵𝜓} ⊆ {𝑥 ∈ (𝐴𝐵) ∣ 𝜓})
108, 9ax-mp 5 . . 3 {𝑥𝐵𝜓} ⊆ {𝑥 ∈ (𝐴𝐵) ∣ 𝜓}
11 olc 864 . . . . 5 (𝜓 → (𝜑𝜓))
1211a1i 11 . . . 4 (𝑥 ∈ (𝐴𝐵) → (𝜓 → (𝜑𝜓)))
1312ss2rabi 4014 . . 3 {𝑥 ∈ (𝐴𝐵) ∣ 𝜓} ⊆ {𝑥 ∈ (𝐴𝐵) ∣ (𝜑𝜓)}
1410, 13sstri 3934 . 2 {𝑥𝐵𝜓} ⊆ {𝑥 ∈ (𝐴𝐵) ∣ (𝜑𝜓)}
157, 14unssi 4123 1 ({𝑥𝐴𝜑} ∪ {𝑥𝐵𝜓}) ⊆ {𝑥 ∈ (𝐴𝐵) ∣ (𝜑𝜓)}
Colors of variables: wff setvar class
Syntax hints:  wi 4  wo 843  wcel 2109  {crab 3069  cun 3889  wss 3891
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1801  ax-4 1815  ax-5 1916  ax-6 1974  ax-7 2014  ax-8 2111  ax-9 2119  ax-10 2140  ax-11 2157  ax-12 2174  ax-ext 2710
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-tru 1544  df-ex 1786  df-nf 1790  df-sb 2071  df-clab 2717  df-cleq 2731  df-clel 2817  df-nfc 2890  df-ral 3070  df-rab 3074  df-v 3432  df-un 3896  df-in 3898  df-ss 3908
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator