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

Theorem eltx 23917
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 23913 . . 3 ((𝐽 ∈ 𝑉 ∧ 𝐾 ∈ 𝑊) → (𝐽 ×t 𝐾) = (topGen‘ran (𝑥 ∈ 𝐽, 𝑦 ∈ 𝐾 ↦ (𝑥 × 𝑦))))
32eleq2d 2850 . 2 ((𝐽 ∈ 𝑉 ∧ 𝐾 ∈ 𝑊) → (𝑆 ∈ (𝐽 ×t 𝐾) ↔ 𝑆 ∈ (topGen‘ran (𝑥 ∈ 𝐽, 𝑦 ∈ 𝐾 ↦ (𝑥 × 𝑦)))))
41txbasex 23915 . . . 4 ((𝐽 ∈ 𝑉 ∧ 𝐾 ∈ 𝑊) → ran (𝑥 ∈ 𝐽, 𝑦 ∈ 𝐾 ↦ (𝑥 × 𝑦)) ∈ V)
5 eltg2b 23307 . . . 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 7791 . . . . . 6 (𝑥 × 𝑦) ∈ V
109rgen2w 3085 . . . . 5 ∀𝑥 ∈ 𝐽 ∀𝑦 ∈ 𝐾 (𝑥 × 𝑦) ∈ V
11 eqid 2763 . . . . . 6 (𝑥 ∈ 𝐽, 𝑦 ∈ 𝐾 ↦ (𝑥 × 𝑦)) = (𝑥 ∈ 𝐽, 𝑦 ∈ 𝐾 ↦ (𝑥 × 𝑦))
12 eleq2 2853 . . . . . . 7 (𝑧 = (𝑥 × 𝑦) → (𝑝 ∈ 𝑧 ↔ 𝑝 ∈ (𝑥 × 𝑦)))
13 sseq1 3938 . . . . . . 7 (𝑧 = (𝑥 × 𝑦) → (𝑧 ⊆ 𝑆 ↔ (𝑥 × 𝑦) ⊆ 𝑆))
1412, 13anbi12d 644 . . . . . 6 (𝑧 = (𝑥 × 𝑦) → ((𝑝 ∈ 𝑧 ∧ 𝑧 ⊆ 𝑆) ↔ (𝑝 ∈ (𝑥 × 𝑦) ∧ (𝑥 × 𝑦) ⊆ 𝑆)))
1511, 14rexrnmpo 7584 . . . . 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 5653  ran crn 5656  ‘cfv 6558  (class class class)co 7443   ∈ cmpo 7445  topGenctg 17637   ×t ctx 23909
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 5252  ax-nul 5263  ax-pow 5331  ax-pr 5395  ax-un 7775
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 5171  df-mpt 5190  df-id 5550  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-rn 5666  df-res 5667  df-ima 5668  df-iota 6512  df-fun 6560  df-fn 6561  df-f 6562  df-fv 6566  df-ov 7446  df-oprab 7447  df-mpo 7448  df-1st 8025  df-2nd 8026  df-topgen 17643  df-tx 23911
This theorem is used by:  txcls  23953  txcnpi  23957  txdis  23981  txindis  23983  txdis1cn  23984  txlly  23985  txnlly  23986  txtube  23989  txcmplem1  23990  hausdiag  23994  tx1stc  23999  qustgplem  24470  txomap  34536  cvmlift2lem10  36244
  Copyright terms: Public domain W3C validator