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

Theorem unielxp 7721
Description: The membership relation for a Cartesian product is inherited by union. (Contributed by NM, 16-Sep-2006.)
Assertion
Ref Expression
unielxp (𝐴 ∈ (𝐵 × 𝐶) → 𝐴 (𝐵 × 𝐶))

Proof of Theorem unielxp
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 elxp7 7718 . 2 (𝐴 ∈ (𝐵 × 𝐶) ↔ (𝐴 ∈ (V × V) ∧ ((1st𝐴) ∈ 𝐵 ∧ (2nd𝐴) ∈ 𝐶)))
2 elvvuni 5622 . . . 4 (𝐴 ∈ (V × V) → 𝐴𝐴)
32adantr 483 . . 3 ((𝐴 ∈ (V × V) ∧ ((1st𝐴) ∈ 𝐵 ∧ (2nd𝐴) ∈ 𝐶)) → 𝐴𝐴)
4 simprl 769 . . . . . 6 (( 𝐴𝐴 ∧ (𝐴 ∈ (V × V) ∧ ((1st𝐴) ∈ 𝐵 ∧ (2nd𝐴) ∈ 𝐶))) → 𝐴 ∈ (V × V))
5 eleq2 2901 . . . . . . . 8 (𝑥 = 𝐴 → ( 𝐴𝑥 𝐴𝐴))
6 eleq1 2900 . . . . . . . . 9 (𝑥 = 𝐴 → (𝑥 ∈ (V × V) ↔ 𝐴 ∈ (V × V)))
7 fveq2 6664 . . . . . . . . . . 11 (𝑥 = 𝐴 → (1st𝑥) = (1st𝐴))
87eleq1d 2897 . . . . . . . . . 10 (𝑥 = 𝐴 → ((1st𝑥) ∈ 𝐵 ↔ (1st𝐴) ∈ 𝐵))
9 fveq2 6664 . . . . . . . . . . 11 (𝑥 = 𝐴 → (2nd𝑥) = (2nd𝐴))
109eleq1d 2897 . . . . . . . . . 10 (𝑥 = 𝐴 → ((2nd𝑥) ∈ 𝐶 ↔ (2nd𝐴) ∈ 𝐶))
118, 10anbi12d 632 . . . . . . . . 9 (𝑥 = 𝐴 → (((1st𝑥) ∈ 𝐵 ∧ (2nd𝑥) ∈ 𝐶) ↔ ((1st𝐴) ∈ 𝐵 ∧ (2nd𝐴) ∈ 𝐶)))
126, 11anbi12d 632 . . . . . . . 8 (𝑥 = 𝐴 → ((𝑥 ∈ (V × V) ∧ ((1st𝑥) ∈ 𝐵 ∧ (2nd𝑥) ∈ 𝐶)) ↔ (𝐴 ∈ (V × V) ∧ ((1st𝐴) ∈ 𝐵 ∧ (2nd𝐴) ∈ 𝐶))))
135, 12anbi12d 632 . . . . . . 7 (𝑥 = 𝐴 → (( 𝐴𝑥 ∧ (𝑥 ∈ (V × V) ∧ ((1st𝑥) ∈ 𝐵 ∧ (2nd𝑥) ∈ 𝐶))) ↔ ( 𝐴𝐴 ∧ (𝐴 ∈ (V × V) ∧ ((1st𝐴) ∈ 𝐵 ∧ (2nd𝐴) ∈ 𝐶)))))
1413spcegv 3596 . . . . . 6 (𝐴 ∈ (V × V) → (( 𝐴𝐴 ∧ (𝐴 ∈ (V × V) ∧ ((1st𝐴) ∈ 𝐵 ∧ (2nd𝐴) ∈ 𝐶))) → ∃𝑥( 𝐴𝑥 ∧ (𝑥 ∈ (V × V) ∧ ((1st𝑥) ∈ 𝐵 ∧ (2nd𝑥) ∈ 𝐶)))))
154, 14mpcom 38 . . . . 5 (( 𝐴𝐴 ∧ (𝐴 ∈ (V × V) ∧ ((1st𝐴) ∈ 𝐵 ∧ (2nd𝐴) ∈ 𝐶))) → ∃𝑥( 𝐴𝑥 ∧ (𝑥 ∈ (V × V) ∧ ((1st𝑥) ∈ 𝐵 ∧ (2nd𝑥) ∈ 𝐶))))
16 eluniab 4842 . . . . 5 ( 𝐴 {𝑥 ∣ (𝑥 ∈ (V × V) ∧ ((1st𝑥) ∈ 𝐵 ∧ (2nd𝑥) ∈ 𝐶))} ↔ ∃𝑥( 𝐴𝑥 ∧ (𝑥 ∈ (V × V) ∧ ((1st𝑥) ∈ 𝐵 ∧ (2nd𝑥) ∈ 𝐶))))
1715, 16sylibr 236 . . . 4 (( 𝐴𝐴 ∧ (𝐴 ∈ (V × V) ∧ ((1st𝐴) ∈ 𝐵 ∧ (2nd𝐴) ∈ 𝐶))) → 𝐴 {𝑥 ∣ (𝑥 ∈ (V × V) ∧ ((1st𝑥) ∈ 𝐵 ∧ (2nd𝑥) ∈ 𝐶))})
18 xp2 7720 . . . . . 6 (𝐵 × 𝐶) = {𝑥 ∈ (V × V) ∣ ((1st𝑥) ∈ 𝐵 ∧ (2nd𝑥) ∈ 𝐶)}
19 df-rab 3147 . . . . . 6 {𝑥 ∈ (V × V) ∣ ((1st𝑥) ∈ 𝐵 ∧ (2nd𝑥) ∈ 𝐶)} = {𝑥 ∣ (𝑥 ∈ (V × V) ∧ ((1st𝑥) ∈ 𝐵 ∧ (2nd𝑥) ∈ 𝐶))}
2018, 19eqtri 2844 . . . . 5 (𝐵 × 𝐶) = {𝑥 ∣ (𝑥 ∈ (V × V) ∧ ((1st𝑥) ∈ 𝐵 ∧ (2nd𝑥) ∈ 𝐶))}
2120unieqi 4840 . . . 4 (𝐵 × 𝐶) = {𝑥 ∣ (𝑥 ∈ (V × V) ∧ ((1st𝑥) ∈ 𝐵 ∧ (2nd𝑥) ∈ 𝐶))}
2217, 21eleqtrrdi 2924 . . 3 (( 𝐴𝐴 ∧ (𝐴 ∈ (V × V) ∧ ((1st𝐴) ∈ 𝐵 ∧ (2nd𝐴) ∈ 𝐶))) → 𝐴 (𝐵 × 𝐶))
233, 22mpancom 686 . 2 ((𝐴 ∈ (V × V) ∧ ((1st𝐴) ∈ 𝐵 ∧ (2nd𝐴) ∈ 𝐶)) → 𝐴 (𝐵 × 𝐶))
241, 23sylbi 219 1 (𝐴 ∈ (𝐵 × 𝐶) → 𝐴 (𝐵 × 𝐶))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 398   = wceq 1533  wex 1776  wcel 2110  {cab 2799  {crab 3142  Vcvv 3494   cuni 4831   × cxp 5547  cfv 6349  1st c1st 7681  2nd c2nd 7682
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 2157  ax-12 2173  ax-ext 2793  ax-sep 5195  ax-nul 5202  ax-pow 5258  ax-pr 5321  ax-un 7455
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1536  df-ex 1777  df-nf 1781  df-sb 2066  df-mo 2618  df-eu 2650  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ral 3143  df-rex 3144  df-rab 3147  df-v 3496  df-sbc 3772  df-dif 3938  df-un 3940  df-in 3942  df-ss 3951  df-nul 4291  df-if 4467  df-sn 4561  df-pr 4563  df-op 4567  df-uni 4832  df-br 5059  df-opab 5121  df-mpt 5139  df-id 5454  df-xp 5555  df-rel 5556  df-cnv 5557  df-co 5558  df-dm 5559  df-rn 5560  df-iota 6308  df-fun 6351  df-fv 6357  df-1st 7683  df-2nd 7684
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator