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

Theorem unielxp 7204
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 7201 . 2 (𝐴 ∈ (𝐵 × 𝐶) ↔ (𝐴 ∈ (V × V) ∧ ((1st𝐴) ∈ 𝐵 ∧ (2nd𝐴) ∈ 𝐶)))
2 elvvuni 5179 . . . 4 (𝐴 ∈ (V × V) → 𝐴𝐴)
32adantr 481 . . 3 ((𝐴 ∈ (V × V) ∧ ((1st𝐴) ∈ 𝐵 ∧ (2nd𝐴) ∈ 𝐶)) → 𝐴𝐴)
4 simprl 794 . . . . . 6 (( 𝐴𝐴 ∧ (𝐴 ∈ (V × V) ∧ ((1st𝐴) ∈ 𝐵 ∧ (2nd𝐴) ∈ 𝐶))) → 𝐴 ∈ (V × V))
5 eleq2 2690 . . . . . . . 8 (𝑥 = 𝐴 → ( 𝐴𝑥 𝐴𝐴))
6 eleq1 2689 . . . . . . . . 9 (𝑥 = 𝐴 → (𝑥 ∈ (V × V) ↔ 𝐴 ∈ (V × V)))
7 fveq2 6191 . . . . . . . . . . 11 (𝑥 = 𝐴 → (1st𝑥) = (1st𝐴))
87eleq1d 2686 . . . . . . . . . 10 (𝑥 = 𝐴 → ((1st𝑥) ∈ 𝐵 ↔ (1st𝐴) ∈ 𝐵))
9 fveq2 6191 . . . . . . . . . . 11 (𝑥 = 𝐴 → (2nd𝑥) = (2nd𝐴))
109eleq1d 2686 . . . . . . . . . 10 (𝑥 = 𝐴 → ((2nd𝑥) ∈ 𝐶 ↔ (2nd𝐴) ∈ 𝐶))
118, 10anbi12d 747 . . . . . . . . 9 (𝑥 = 𝐴 → (((1st𝑥) ∈ 𝐵 ∧ (2nd𝑥) ∈ 𝐶) ↔ ((1st𝐴) ∈ 𝐵 ∧ (2nd𝐴) ∈ 𝐶)))
126, 11anbi12d 747 . . . . . . . 8 (𝑥 = 𝐴 → ((𝑥 ∈ (V × V) ∧ ((1st𝑥) ∈ 𝐵 ∧ (2nd𝑥) ∈ 𝐶)) ↔ (𝐴 ∈ (V × V) ∧ ((1st𝐴) ∈ 𝐵 ∧ (2nd𝐴) ∈ 𝐶))))
135, 12anbi12d 747 . . . . . . 7 (𝑥 = 𝐴 → (( 𝐴𝑥 ∧ (𝑥 ∈ (V × V) ∧ ((1st𝑥) ∈ 𝐵 ∧ (2nd𝑥) ∈ 𝐶))) ↔ ( 𝐴𝐴 ∧ (𝐴 ∈ (V × V) ∧ ((1st𝐴) ∈ 𝐵 ∧ (2nd𝐴) ∈ 𝐶)))))
1413spcegv 3294 . . . . . 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 4447 . . . . 5 ( 𝐴 {𝑥 ∣ (𝑥 ∈ (V × V) ∧ ((1st𝑥) ∈ 𝐵 ∧ (2nd𝑥) ∈ 𝐶))} ↔ ∃𝑥( 𝐴𝑥 ∧ (𝑥 ∈ (V × V) ∧ ((1st𝑥) ∈ 𝐵 ∧ (2nd𝑥) ∈ 𝐶))))
1715, 16sylibr 224 . . . 4 (( 𝐴𝐴 ∧ (𝐴 ∈ (V × V) ∧ ((1st𝐴) ∈ 𝐵 ∧ (2nd𝐴) ∈ 𝐶))) → 𝐴 {𝑥 ∣ (𝑥 ∈ (V × V) ∧ ((1st𝑥) ∈ 𝐵 ∧ (2nd𝑥) ∈ 𝐶))})
18 xp2 7203 . . . . . 6 (𝐵 × 𝐶) = {𝑥 ∈ (V × V) ∣ ((1st𝑥) ∈ 𝐵 ∧ (2nd𝑥) ∈ 𝐶)}
19 df-rab 2921 . . . . . 6 {𝑥 ∈ (V × V) ∣ ((1st𝑥) ∈ 𝐵 ∧ (2nd𝑥) ∈ 𝐶)} = {𝑥 ∣ (𝑥 ∈ (V × V) ∧ ((1st𝑥) ∈ 𝐵 ∧ (2nd𝑥) ∈ 𝐶))}
2018, 19eqtri 2644 . . . . 5 (𝐵 × 𝐶) = {𝑥 ∣ (𝑥 ∈ (V × V) ∧ ((1st𝑥) ∈ 𝐵 ∧ (2nd𝑥) ∈ 𝐶))}
2120unieqi 4445 . . . 4 (𝐵 × 𝐶) = {𝑥 ∣ (𝑥 ∈ (V × V) ∧ ((1st𝑥) ∈ 𝐵 ∧ (2nd𝑥) ∈ 𝐶))}
2217, 21syl6eleqr 2712 . . 3 (( 𝐴𝐴 ∧ (𝐴 ∈ (V × V) ∧ ((1st𝐴) ∈ 𝐵 ∧ (2nd𝐴) ∈ 𝐶))) → 𝐴 (𝐵 × 𝐶))
233, 22mpancom 703 . 2 ((𝐴 ∈ (V × V) ∧ ((1st𝐴) ∈ 𝐵 ∧ (2nd𝐴) ∈ 𝐶)) → 𝐴 (𝐵 × 𝐶))
241, 23sylbi 207 1 (𝐴 ∈ (𝐵 × 𝐶) → 𝐴 (𝐵 × 𝐶))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 384   = wceq 1483  wex 1704  wcel 1990  {cab 2608  {crab 2916  Vcvv 3200   cuni 4436   × cxp 5112  cfv 5888  1st c1st 7166  2nd c2nd 7167
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-8 1992  ax-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246  ax-ext 2602  ax-sep 4781  ax-nul 4789  ax-pow 4843  ax-pr 4906  ax-un 6949
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1039  df-tru 1486  df-ex 1705  df-nf 1710  df-sb 1881  df-eu 2474  df-mo 2475  df-clab 2609  df-cleq 2615  df-clel 2618  df-nfc 2753  df-ral 2917  df-rex 2918  df-rab 2921  df-v 3202  df-sbc 3436  df-dif 3577  df-un 3579  df-in 3581  df-ss 3588  df-nul 3916  df-if 4087  df-sn 4178  df-pr 4180  df-op 4184  df-uni 4437  df-br 4654  df-opab 4713  df-mpt 4730  df-id 5024  df-xp 5120  df-rel 5121  df-cnv 5122  df-co 5123  df-dm 5124  df-rn 5125  df-iota 5851  df-fun 5890  df-fv 5896  df-1st 7168  df-2nd 7169
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator