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

Theorem xpsspw 5663
Description: A Cartesian product is included in the power of the power of the union of its arguments. (Contributed by NM, 13-Sep-2006.)
Assertion
Ref Expression
xpsspw (𝐴 × 𝐵) ⊆ 𝒫 𝒫 (𝐴𝐵)

Proof of Theorem xpsspw
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 relxp 5553 . 2 Rel (𝐴 × 𝐵)
2 opelxp 5571 . . 3 (⟨𝑥, 𝑦⟩ ∈ (𝐴 × 𝐵) ↔ (𝑥𝐴𝑦𝐵))
3 snssi 4706 . . . . . . . 8 (𝑥𝐴 → {𝑥} ⊆ 𝐴)
4 ssun3 4074 . . . . . . . 8 ({𝑥} ⊆ 𝐴 → {𝑥} ⊆ (𝐴𝐵))
53, 4syl 17 . . . . . . 7 (𝑥𝐴 → {𝑥} ⊆ (𝐴𝐵))
6 snex 5308 . . . . . . . 8 {𝑥} ∈ V
76elpw 4502 . . . . . . 7 ({𝑥} ∈ 𝒫 (𝐴𝐵) ↔ {𝑥} ⊆ (𝐴𝐵))
85, 7sylibr 237 . . . . . 6 (𝑥𝐴 → {𝑥} ∈ 𝒫 (𝐴𝐵))
98adantr 484 . . . . 5 ((𝑥𝐴𝑦𝐵) → {𝑥} ∈ 𝒫 (𝐴𝐵))
10 df-pr 4529 . . . . . . 7 {𝑥, 𝑦} = ({𝑥} ∪ {𝑦})
11 snssi 4706 . . . . . . . . . 10 (𝑦𝐵 → {𝑦} ⊆ 𝐵)
12 ssun4 4075 . . . . . . . . . 10 ({𝑦} ⊆ 𝐵 → {𝑦} ⊆ (𝐴𝐵))
1311, 12syl 17 . . . . . . . . 9 (𝑦𝐵 → {𝑦} ⊆ (𝐴𝐵))
145, 13anim12i 616 . . . . . . . 8 ((𝑥𝐴𝑦𝐵) → ({𝑥} ⊆ (𝐴𝐵) ∧ {𝑦} ⊆ (𝐴𝐵)))
15 unss 4084 . . . . . . . 8 (({𝑥} ⊆ (𝐴𝐵) ∧ {𝑦} ⊆ (𝐴𝐵)) ↔ ({𝑥} ∪ {𝑦}) ⊆ (𝐴𝐵))
1614, 15sylib 221 . . . . . . 7 ((𝑥𝐴𝑦𝐵) → ({𝑥} ∪ {𝑦}) ⊆ (𝐴𝐵))
1710, 16eqsstrid 3935 . . . . . 6 ((𝑥𝐴𝑦𝐵) → {𝑥, 𝑦} ⊆ (𝐴𝐵))
18 zfpair2 5307 . . . . . . 7 {𝑥, 𝑦} ∈ V
1918elpw 4502 . . . . . 6 ({𝑥, 𝑦} ∈ 𝒫 (𝐴𝐵) ↔ {𝑥, 𝑦} ⊆ (𝐴𝐵))
2017, 19sylibr 237 . . . . 5 ((𝑥𝐴𝑦𝐵) → {𝑥, 𝑦} ∈ 𝒫 (𝐴𝐵))
219, 20jca 515 . . . 4 ((𝑥𝐴𝑦𝐵) → ({𝑥} ∈ 𝒫 (𝐴𝐵) ∧ {𝑥, 𝑦} ∈ 𝒫 (𝐴𝐵)))
22 prex 5309 . . . . . 6 {{𝑥}, {𝑥, 𝑦}} ∈ V
2322elpw 4502 . . . . 5 ({{𝑥}, {𝑥, 𝑦}} ∈ 𝒫 𝒫 (𝐴𝐵) ↔ {{𝑥}, {𝑥, 𝑦}} ⊆ 𝒫 (𝐴𝐵))
24 vex 3404 . . . . . . 7 𝑥 ∈ V
25 vex 3404 . . . . . . 7 𝑦 ∈ V
2624, 25dfop 4768 . . . . . 6 𝑥, 𝑦⟩ = {{𝑥}, {𝑥, 𝑦}}
2726eleq1i 2824 . . . . 5 (⟨𝑥, 𝑦⟩ ∈ 𝒫 𝒫 (𝐴𝐵) ↔ {{𝑥}, {𝑥, 𝑦}} ∈ 𝒫 𝒫 (𝐴𝐵))
286, 18prss 4718 . . . . 5 (({𝑥} ∈ 𝒫 (𝐴𝐵) ∧ {𝑥, 𝑦} ∈ 𝒫 (𝐴𝐵)) ↔ {{𝑥}, {𝑥, 𝑦}} ⊆ 𝒫 (𝐴𝐵))
2923, 27, 283bitr4ri 307 . . . 4 (({𝑥} ∈ 𝒫 (𝐴𝐵) ∧ {𝑥, 𝑦} ∈ 𝒫 (𝐴𝐵)) ↔ ⟨𝑥, 𝑦⟩ ∈ 𝒫 𝒫 (𝐴𝐵))
3021, 29sylib 221 . . 3 ((𝑥𝐴𝑦𝐵) → ⟨𝑥, 𝑦⟩ ∈ 𝒫 𝒫 (𝐴𝐵))
312, 30sylbi 220 . 2 (⟨𝑥, 𝑦⟩ ∈ (𝐴 × 𝐵) → ⟨𝑥, 𝑦⟩ ∈ 𝒫 𝒫 (𝐴𝐵))
321, 31relssi 5641 1 (𝐴 × 𝐵) ⊆ 𝒫 𝒫 (𝐴𝐵)
Colors of variables: wff setvar class
Syntax hints:  wa 399  wcel 2114  cun 3851  wss 3853  𝒫 cpw 4498  {csn 4526  {cpr 4528  cop 4532   × cxp 5533
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1917  ax-6 1975  ax-7 2020  ax-8 2116  ax-9 2124  ax-12 2179  ax-ext 2711  ax-sep 5177  ax-nul 5184  ax-pr 5306
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 847  df-3an 1090  df-tru 1545  df-fal 1555  df-ex 1787  df-sb 2075  df-clab 2718  df-cleq 2731  df-clel 2812  df-ral 3059  df-rex 3060  df-v 3402  df-dif 3856  df-un 3858  df-in 3860  df-ss 3870  df-nul 4222  df-if 4425  df-pw 4500  df-sn 4527  df-pr 4529  df-op 4533  df-opab 5103  df-xp 5541  df-rel 5542
This theorem is referenced by:  unixpss  5664  xpexg  7503  rankxpu  9390  wunxp  10236  gruxp  10319
  Copyright terms: Public domain W3C validator