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

Theorem eltx 23920
Description: A set in a product is open iff each point is surrounded by an open rectangle. (Contributed by Stefan O'Rear, 25-Jan-2015.)
Assertion
Ref Expression
eltx ((𝐽 ∈ 𝑉 ∧ 𝐾 ∈ 𝑊) → (𝑆 ∈ (𝐽 ×t 𝐾) ↔ ∀𝑝 ∈ 𝑆 ∃𝑥 ∈ 𝐽 ∃𝑦 ∈ 𝐾 (𝑝 ∈ (𝑥 × 𝑦) ∧ (𝑥 × 𝑦) ⊆ 𝑆)))
Distinct variable groups:   𝑥,𝑝,𝑦,𝐽   𝐾,𝑝,𝑥,𝑦   𝑆,𝑝,𝑥,𝑦
Allowed substitution hints:   𝑉(𝑥, 𝑦, 𝑝)   𝑊(𝑥, 𝑦, 𝑝)

Proof of Theorem eltx
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 eqid 2763 . . . 4 ran (𝑥 ∈ 𝐽, 𝑦 ∈ 𝐾 ↦ (𝑥 × 𝑦)) = ran (𝑥 ∈ 𝐽, 𝑦 ∈ 𝐾 ↦ (𝑥 × 𝑦))
21txval 23916 . . 3 ((𝐽 ∈ 𝑉 ∧ 𝐾 ∈ 𝑊) → (𝐽 ×t 𝐾) = (topGen‘ran (𝑥 ∈ 𝐽, 𝑦 ∈ 𝐾 ↦ (𝑥 × 𝑦))))
32eleq2d 2850 . 2 ((𝐽 ∈ 𝑉 ∧ 𝐾 ∈ 𝑊) → (𝑆 ∈ (𝐽 ×t 𝐾) ↔ 𝑆 ∈ (topGen‘ran (𝑥 ∈ 𝐽, 𝑦 ∈ 𝐾 ↦ (𝑥 × 𝑦)))))
41txbasex 23918 . . . 4 ((𝐽 ∈ 𝑉 ∧ 𝐾 ∈ 𝑊) → ran (𝑥 ∈ 𝐽, 𝑦 ∈ 𝐾 ↦ (𝑥 × 𝑦)) ∈ V)
5 eltg2b 23310 . . . 4 (ran (𝑥 ∈ 𝐽, 𝑦 ∈ 𝐾 ↦ (𝑥 × 𝑦)) ∈ V → (𝑆 ∈ (topGen‘ran (𝑥 ∈ 𝐽, 𝑦 ∈ 𝐾 ↦ (𝑥 × 𝑦))) ↔ ∀𝑝 ∈ 𝑆 ∃𝑧 ∈ ran (𝑥 ∈ 𝐽, 𝑦 ∈ 𝐾 ↦ (𝑥 × 𝑦))(𝑝 ∈ 𝑧 ∧ 𝑧 ⊆ 𝑆)))
64, 5syl 18 . . 3 ((𝐽 ∈ 𝑉 ∧ 𝐾 ∈ 𝑊) → (𝑆 ∈ (topGen‘ran (𝑥 ∈ 𝐽, 𝑦 ∈ 𝐾 ↦ (𝑥 × 𝑦))) ↔ ∀𝑝 ∈ 𝑆 ∃𝑧 ∈ ran (𝑥 ∈ 𝐽, 𝑦 ∈ 𝐾 ↦ (𝑥 × 𝑦))(𝑝 ∈ 𝑧 ∧ 𝑧 ⊆ 𝑆)))
7 vex 3458 . . . . . . 7 𝑥 ∈ V
8 vex 3458 . . . . . . 7 𝑦 ∈ V
97, 8xpex 7794 . . . . . 6 (𝑥 × 𝑦) ∈ V
109rgen2w 3085 . . . . 5 ∀𝑥 ∈ 𝐽 ∀𝑦 ∈ 𝐾 (𝑥 × 𝑦) ∈ V
11 eqid 2763 . . . . . 6 (𝑥 ∈ 𝐽, 𝑦 ∈ 𝐾 ↦ (𝑥 × 𝑦)) = (𝑥 ∈ 𝐽, 𝑦 ∈ 𝐾 ↦ (𝑥 × 𝑦))
12 eleq2 2853 . . . . . . 7 (𝑧 = (𝑥 × 𝑦) → (𝑝 ∈ 𝑧 ↔ 𝑝 ∈ (𝑥 × 𝑦)))
13 sseq1 3938 . . . . . . 7 (𝑧 = (𝑥 × 𝑦) → (𝑧 ⊆ 𝑆 ↔ (𝑥 × 𝑦) ⊆ 𝑆))
1412, 13anbi12d 644 . . . . . 6 (𝑧 = (𝑥 × 𝑦) → ((𝑝 ∈ 𝑧 ∧ 𝑧 ⊆ 𝑆) ↔ (𝑝 ∈ (𝑥 × 𝑦) ∧ (𝑥 × 𝑦) ⊆ 𝑆)))
1511, 14rexrnmpo 7587 . . . . 5 (∀𝑥 ∈ 𝐽 ∀𝑦 ∈ 𝐾 (𝑥 × 𝑦) ∈ V → (∃𝑧 ∈ ran (𝑥 ∈ 𝐽, 𝑦 ∈ 𝐾 ↦ (𝑥 × 𝑦))(𝑝 ∈ 𝑧 ∧ 𝑧 ⊆ 𝑆) ↔ ∃𝑥 ∈ 𝐽 ∃𝑦 ∈ 𝐾 (𝑝 ∈ (𝑥 × 𝑦) ∧ (𝑥 × 𝑦) ⊆ 𝑆)))
1610, 15ax-mp 5 . . . 4 (∃𝑧 ∈ ran (𝑥 ∈ 𝐽, 𝑦 ∈ 𝐾 ↦ (𝑥 × 𝑦))(𝑝 ∈ 𝑧 ∧ 𝑧 ⊆ 𝑆) ↔ ∃𝑥 ∈ 𝐽 ∃𝑦 ∈ 𝐾 (𝑝 ∈ (𝑥 × 𝑦) ∧ (𝑥 × 𝑦) ⊆ 𝑆))
1716ralbii 3112 . . 3 (∀𝑝 ∈ 𝑆 ∃𝑧 ∈ ran (𝑥 ∈ 𝐽, 𝑦 ∈ 𝐾 ↦ (𝑥 × 𝑦))(𝑝 ∈ 𝑧 ∧ 𝑧 ⊆ 𝑆) ↔ ∀𝑝 ∈ 𝑆 ∃𝑥 ∈ 𝐽 ∃𝑦 ∈ 𝐾 (𝑝 ∈ (𝑥 × 𝑦) ∧ (𝑥 × 𝑦) ⊆ 𝑆))
186, 17bitrdi 290 . 2 ((𝐽 ∈ 𝑉 ∧ 𝐾 ∈ 𝑊) → (𝑆 ∈ (topGen‘ran (𝑥 ∈ 𝐽, 𝑦 ∈ 𝐾 ↦ (𝑥 × 𝑦))) ↔ ∀𝑝 ∈ 𝑆 ∃𝑥 ∈ 𝐽 ∃𝑦 ∈ 𝐾 (𝑝 ∈ (𝑥 × 𝑦) ∧ (𝑥 × 𝑦) ⊆ 𝑆)))
193, 18bitrd 282 1 ((𝐽 ∈ 𝑉 ∧ 𝐾 ∈ 𝑊) → (𝑆 ∈ (𝐽 ×t 𝐾) ↔ ∀𝑝 ∈ 𝑆 ∃𝑥 ∈ 𝐽 ∃𝑦 ∈ 𝐾 (𝑝 ∈ (𝑥 × 𝑦) ∧ (𝑥 × 𝑦) ⊆ 𝑆)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1570   ∈ wcel 2147  ∀wral 3080  ∃wrex 3090  Vcvv 3454   ⊆ wss 3900   × cxp 5654  ran crn 5657  ‘cfv 6561  (class class class)co 7446   ∈ cmpo 7448  topGenctg 17640   ×t ctx 23912
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5253  ax-nul 5264  ax-pow 5332  ax-pr 5396  ax-un 7778
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-iun 4956  df-br 5107  df-opab 5172  df-mpt 5191  df-id 5551  df-xp 5662  df-rel 5663  df-cnv 5664  df-co 5665  df-dm 5666  df-rn 5667  df-res 5668  df-ima 5669  df-iota 6515  df-fun 6563  df-fn 6564  df-f 6565  df-fv 6569  df-ov 7449  df-oprab 7450  df-mpo 7451  df-1st 8028  df-2nd 8029  df-topgen 17646  df-tx 23914
This theorem is used by:  txcls  23956  txcnpi  23960  txdis  23984  txindis  23986  txdis1cn  23987  txlly  23988  txnlly  23989  txtube  23992  txcmplem1  23993  hausdiag  23997  tx1stc  24002  qustgplem  24473  txomap  34549  cvmlift2lem10  36257
  Copyright terms: Public domain W3C validator