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

Theorem unielxp 7709
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 7706 . 2 (𝐴 ∈ (𝐵 × 𝐶) ↔ (𝐴 ∈ (V × V) ∧ ((1st𝐴) ∈ 𝐵 ∧ (2nd𝐴) ∈ 𝐶)))
2 elvvuni 5592 . . . 4 (𝐴 ∈ (V × V) → 𝐴𝐴)
32adantr 484 . . 3 ((𝐴 ∈ (V × V) ∧ ((1st𝐴) ∈ 𝐵 ∧ (2nd𝐴) ∈ 𝐶)) → 𝐴𝐴)
4 simprl 770 . . . . . 6 (( 𝐴𝐴 ∧ (𝐴 ∈ (V × V) ∧ ((1st𝐴) ∈ 𝐵 ∧ (2nd𝐴) ∈ 𝐶))) → 𝐴 ∈ (V × V))
5 eleq2 2878 . . . . . . . 8 (𝑥 = 𝐴 → ( 𝐴𝑥 𝐴𝐴))
6 eleq1 2877 . . . . . . . . 9 (𝑥 = 𝐴 → (𝑥 ∈ (V × V) ↔ 𝐴 ∈ (V × V)))
7 fveq2 6645 . . . . . . . . . . 11 (𝑥 = 𝐴 → (1st𝑥) = (1st𝐴))
87eleq1d 2874 . . . . . . . . . 10 (𝑥 = 𝐴 → ((1st𝑥) ∈ 𝐵 ↔ (1st𝐴) ∈ 𝐵))
9 fveq2 6645 . . . . . . . . . . 11 (𝑥 = 𝐴 → (2nd𝑥) = (2nd𝐴))
109eleq1d 2874 . . . . . . . . . 10 (𝑥 = 𝐴 → ((2nd𝑥) ∈ 𝐶 ↔ (2nd𝐴) ∈ 𝐶))
118, 10anbi12d 633 . . . . . . . . 9 (𝑥 = 𝐴 → (((1st𝑥) ∈ 𝐵 ∧ (2nd𝑥) ∈ 𝐶) ↔ ((1st𝐴) ∈ 𝐵 ∧ (2nd𝐴) ∈ 𝐶)))
126, 11anbi12d 633 . . . . . . . 8 (𝑥 = 𝐴 → ((𝑥 ∈ (V × V) ∧ ((1st𝑥) ∈ 𝐵 ∧ (2nd𝑥) ∈ 𝐶)) ↔ (𝐴 ∈ (V × V) ∧ ((1st𝐴) ∈ 𝐵 ∧ (2nd𝐴) ∈ 𝐶))))
135, 12anbi12d 633 . . . . . . 7 (𝑥 = 𝐴 → (( 𝐴𝑥 ∧ (𝑥 ∈ (V × V) ∧ ((1st𝑥) ∈ 𝐵 ∧ (2nd𝑥) ∈ 𝐶))) ↔ ( 𝐴𝐴 ∧ (𝐴 ∈ (V × V) ∧ ((1st𝐴) ∈ 𝐵 ∧ (2nd𝐴) ∈ 𝐶)))))
1413spcegv 3545 . . . . . 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 4815 . . . . 5 ( 𝐴 {𝑥 ∣ (𝑥 ∈ (V × V) ∧ ((1st𝑥) ∈ 𝐵 ∧ (2nd𝑥) ∈ 𝐶))} ↔ ∃𝑥( 𝐴𝑥 ∧ (𝑥 ∈ (V × V) ∧ ((1st𝑥) ∈ 𝐵 ∧ (2nd𝑥) ∈ 𝐶))))
1715, 16sylibr 237 . . . 4 (( 𝐴𝐴 ∧ (𝐴 ∈ (V × V) ∧ ((1st𝐴) ∈ 𝐵 ∧ (2nd𝐴) ∈ 𝐶))) → 𝐴 {𝑥 ∣ (𝑥 ∈ (V × V) ∧ ((1st𝑥) ∈ 𝐵 ∧ (2nd𝑥) ∈ 𝐶))})
18 xp2 7708 . . . . . 6 (𝐵 × 𝐶) = {𝑥 ∈ (V × V) ∣ ((1st𝑥) ∈ 𝐵 ∧ (2nd𝑥) ∈ 𝐶)}
19 df-rab 3115 . . . . . 6 {𝑥 ∈ (V × V) ∣ ((1st𝑥) ∈ 𝐵 ∧ (2nd𝑥) ∈ 𝐶)} = {𝑥 ∣ (𝑥 ∈ (V × V) ∧ ((1st𝑥) ∈ 𝐵 ∧ (2nd𝑥) ∈ 𝐶))}
2018, 19eqtri 2821 . . . . 5 (𝐵 × 𝐶) = {𝑥 ∣ (𝑥 ∈ (V × V) ∧ ((1st𝑥) ∈ 𝐵 ∧ (2nd𝑥) ∈ 𝐶))}
2120unieqi 4813 . . . 4 (𝐵 × 𝐶) = {𝑥 ∣ (𝑥 ∈ (V × V) ∧ ((1st𝑥) ∈ 𝐵 ∧ (2nd𝑥) ∈ 𝐶))}
2217, 21eleqtrrdi 2901 . . 3 (( 𝐴𝐴 ∧ (𝐴 ∈ (V × V) ∧ ((1st𝐴) ∈ 𝐵 ∧ (2nd𝐴) ∈ 𝐶))) → 𝐴 (𝐵 × 𝐶))
233, 22mpancom 687 . 2 ((𝐴 ∈ (V × V) ∧ ((1st𝐴) ∈ 𝐵 ∧ (2nd𝐴) ∈ 𝐶)) → 𝐴 (𝐵 × 𝐶))
241, 23sylbi 220 1 (𝐴 ∈ (𝐵 × 𝐶) → 𝐴 (𝐵 × 𝐶))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 399   = wceq 1538  wex 1781  wcel 2111  {cab 2776  {crab 3110  Vcvv 3441   cuni 4800   × cxp 5517  cfv 6324  1st c1st 7669  2nd c2nd 7670
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770  ax-sep 5167  ax-nul 5174  ax-pow 5231  ax-pr 5295  ax-un 7441
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2598  df-eu 2629  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-ral 3111  df-rex 3112  df-rab 3115  df-v 3443  df-sbc 3721  df-dif 3884  df-un 3886  df-in 3888  df-ss 3898  df-nul 4244  df-if 4426  df-sn 4526  df-pr 4528  df-op 4532  df-uni 4801  df-br 5031  df-opab 5093  df-mpt 5111  df-id 5425  df-xp 5525  df-rel 5526  df-cnv 5527  df-co 5528  df-dm 5529  df-rn 5530  df-iota 6283  df-fun 6326  df-fv 6332  df-1st 7671  df-2nd 7672
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator