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

Theorem unielxp 7729
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 7726 . 2 (𝐴 ∈ (𝐵 × 𝐶) ↔ (𝐴 ∈ (V × V) ∧ ((1st𝐴) ∈ 𝐵 ∧ (2nd𝐴) ∈ 𝐶)))
2 elvvuni 5630 . . . 4 (𝐴 ∈ (V × V) → 𝐴𝐴)
32adantr 483 . . 3 ((𝐴 ∈ (V × V) ∧ ((1st𝐴) ∈ 𝐵 ∧ (2nd𝐴) ∈ 𝐶)) → 𝐴𝐴)
4 simprl 769 . . . . . 6 (( 𝐴𝐴 ∧ (𝐴 ∈ (V × V) ∧ ((1st𝐴) ∈ 𝐵 ∧ (2nd𝐴) ∈ 𝐶))) → 𝐴 ∈ (V × V))
5 eleq2 2903 . . . . . . . 8 (𝑥 = 𝐴 → ( 𝐴𝑥 𝐴𝐴))
6 eleq1 2902 . . . . . . . . 9 (𝑥 = 𝐴 → (𝑥 ∈ (V × V) ↔ 𝐴 ∈ (V × V)))
7 fveq2 6672 . . . . . . . . . . 11 (𝑥 = 𝐴 → (1st𝑥) = (1st𝐴))
87eleq1d 2899 . . . . . . . . . 10 (𝑥 = 𝐴 → ((1st𝑥) ∈ 𝐵 ↔ (1st𝐴) ∈ 𝐵))
9 fveq2 6672 . . . . . . . . . . 11 (𝑥 = 𝐴 → (2nd𝑥) = (2nd𝐴))
109eleq1d 2899 . . . . . . . . . 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 3599 . . . . . 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 4855 . . . . 5 ( 𝐴 {𝑥 ∣ (𝑥 ∈ (V × V) ∧ ((1st𝑥) ∈ 𝐵 ∧ (2nd𝑥) ∈ 𝐶))} ↔ ∃𝑥( 𝐴𝑥 ∧ (𝑥 ∈ (V × V) ∧ ((1st𝑥) ∈ 𝐵 ∧ (2nd𝑥) ∈ 𝐶))))
1715, 16sylibr 236 . . . 4 (( 𝐴𝐴 ∧ (𝐴 ∈ (V × V) ∧ ((1st𝐴) ∈ 𝐵 ∧ (2nd𝐴) ∈ 𝐶))) → 𝐴 {𝑥 ∣ (𝑥 ∈ (V × V) ∧ ((1st𝑥) ∈ 𝐵 ∧ (2nd𝑥) ∈ 𝐶))})
18 xp2 7728 . . . . . 6 (𝐵 × 𝐶) = {𝑥 ∈ (V × V) ∣ ((1st𝑥) ∈ 𝐵 ∧ (2nd𝑥) ∈ 𝐶)}
19 df-rab 3149 . . . . . 6 {𝑥 ∈ (V × V) ∣ ((1st𝑥) ∈ 𝐵 ∧ (2nd𝑥) ∈ 𝐶)} = {𝑥 ∣ (𝑥 ∈ (V × V) ∧ ((1st𝑥) ∈ 𝐵 ∧ (2nd𝑥) ∈ 𝐶))}
2018, 19eqtri 2846 . . . . 5 (𝐵 × 𝐶) = {𝑥 ∣ (𝑥 ∈ (V × V) ∧ ((1st𝑥) ∈ 𝐵 ∧ (2nd𝑥) ∈ 𝐶))}
2120unieqi 4853 . . . 4 (𝐵 × 𝐶) = {𝑥 ∣ (𝑥 ∈ (V × V) ∧ ((1st𝑥) ∈ 𝐵 ∧ (2nd𝑥) ∈ 𝐶))}
2217, 21eleqtrrdi 2926 . . 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 1537  wex 1780  wcel 2114  {cab 2801  {crab 3144  Vcvv 3496   cuni 4840   × cxp 5555  cfv 6357  1st c1st 7689  2nd c2nd 7690
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2795  ax-sep 5205  ax-nul 5212  ax-pow 5268  ax-pr 5332  ax-un 7463
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2802  df-cleq 2816  df-clel 2895  df-nfc 2965  df-ral 3145  df-rex 3146  df-rab 3149  df-v 3498  df-sbc 3775  df-dif 3941  df-un 3943  df-in 3945  df-ss 3954  df-nul 4294  df-if 4470  df-sn 4570  df-pr 4572  df-op 4576  df-uni 4841  df-br 5069  df-opab 5131  df-mpt 5149  df-id 5462  df-xp 5563  df-rel 5564  df-cnv 5565  df-co 5566  df-dm 5567  df-rn 5568  df-iota 6316  df-fun 6359  df-fv 6365  df-1st 7691  df-2nd 7692
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator