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

Theorem eltx 23867
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 2761 . . . 4 ran (𝑥 ∈ 𝐽, 𝑦 ∈ 𝐾 ↦ (𝑥 × 𝑦)) = ran (𝑥 ∈ 𝐽, 𝑦 ∈ 𝐾 ↦ (𝑥 × 𝑦))
21txval 23863 . . 3 ((𝐽 ∈ 𝑉 ∧ 𝐾 ∈ 𝑊) → (𝐽 ×t 𝐾) = (topGen‘ran (𝑥 ∈ 𝐽, 𝑦 ∈ 𝐾 ↦ (𝑥 × 𝑦))))
32eleq2d 2847 . 2 ((𝐽 ∈ 𝑉 ∧ 𝐾 ∈ 𝑊) → (𝑆 ∈ (𝐽 ×t 𝐾) ↔ 𝑆 ∈ (topGen‘ran (𝑥 ∈ 𝐽, 𝑦 ∈ 𝐾 ↦ (𝑥 × 𝑦)))))
41txbasex 23865 . . . 4 ((𝐽 ∈ 𝑉 ∧ 𝐾 ∈ 𝑊) → ran (𝑥 ∈ 𝐽, 𝑦 ∈ 𝐾 ↦ (𝑥 × 𝑦)) ∈ V)
5 eltg2b 23257 . . . 4 (ran (𝑥 ∈ 𝐽, 𝑦 ∈ 𝐾 ↦ (𝑥 × 𝑦)) ∈ V → (𝑆 ∈ (topGen‘ran (𝑥 ∈ 𝐽, 𝑦 ∈ 𝐾 ↦ (𝑥 × 𝑦))) ↔ ∀𝑝 ∈ 𝑆 ∃𝑧 ∈ ran (𝑥 ∈ 𝐽, 𝑦 ∈ 𝐾 ↦ (𝑥 × 𝑦))(𝑝 ∈ 𝑧 ∧ 𝑧 ⊆ 𝑆)))
64, 5syl 18 . . 3 ((𝐽 ∈ 𝑉 ∧ 𝐾 ∈ 𝑊) → (𝑆 ∈ (topGen‘ran (𝑥 ∈ 𝐽, 𝑦 ∈ 𝐾 ↦ (𝑥 × 𝑦))) ↔ ∀𝑝 ∈ 𝑆 ∃𝑧 ∈ ran (𝑥 ∈ 𝐽, 𝑦 ∈ 𝐾 ↦ (𝑥 × 𝑦))(𝑝 ∈ 𝑧 ∧ 𝑧 ⊆ 𝑆)))
7 vex 3455 . . . . . . 7 𝑥 ∈ V
8 vex 3455 . . . . . . 7 𝑦 ∈ V
97, 8xpex 7756 . . . . . 6 (𝑥 × 𝑦) ∈ V
109rgen2w 3082 . . . . 5 ∀𝑥 ∈ 𝐽 ∀𝑦 ∈ 𝐾 (𝑥 × 𝑦) ∈ V
11 eqid 2761 . . . . . 6 (𝑥 ∈ 𝐽, 𝑦 ∈ 𝐾 ↦ (𝑥 × 𝑦)) = (𝑥 ∈ 𝐽, 𝑦 ∈ 𝐾 ↦ (𝑥 × 𝑦))
12 eleq2 2850 . . . . . . 7 (𝑧 = (𝑥 × 𝑦) → (𝑝 ∈ 𝑧 ↔ 𝑝 ∈ (𝑥 × 𝑦)))
13 sseq1 3956 . . . . . . 7 (𝑧 = (𝑥 × 𝑦) → (𝑧 ⊆ 𝑆 ↔ (𝑥 × 𝑦) ⊆ 𝑆))
1412, 13anbi12d 644 . . . . . 6 (𝑧 = (𝑥 × 𝑦) → ((𝑝 ∈ 𝑧 ∧ 𝑧 ⊆ 𝑆) ↔ (𝑝 ∈ (𝑥 × 𝑦) ∧ (𝑥 × 𝑦) ⊆ 𝑆)))
1511, 14rexrnmpo 7552 . . . . 5 (∀𝑥 ∈ 𝐽 ∀𝑦 ∈ 𝐾 (𝑥 × 𝑦) ∈ V → (∃𝑧 ∈ ran (𝑥 ∈ 𝐽, 𝑦 ∈ 𝐾 ↦ (𝑥 × 𝑦))(𝑝 ∈ 𝑧 ∧ 𝑧 ⊆ 𝑆) ↔ ∃𝑥 ∈ 𝐽 ∃𝑦 ∈ 𝐾 (𝑝 ∈ (𝑥 × 𝑦) ∧ (𝑥 × 𝑦) ⊆ 𝑆)))
1610, 15ax-mp 5 . . . 4 (∃𝑧 ∈ ran (𝑥 ∈ 𝐽, 𝑦 ∈ 𝐾 ↦ (𝑥 × 𝑦))(𝑝 ∈ 𝑧 ∧ 𝑧 ⊆ 𝑆) ↔ ∃𝑥 ∈ 𝐽 ∃𝑦 ∈ 𝐾 (𝑝 ∈ (𝑥 × 𝑦) ∧ (𝑥 × 𝑦) ⊆ 𝑆))
1716ralbii 3109 . . 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 2145  ∀wral 3077  ∃wrex 3087  Vcvv 3451   ⊆ wss 3899   × cxp 5649  ran crn 5652  ‘cfv 6531  (class class class)co 7412   ∈ cmpo 7414  topGenctg 17588   ×t ctx 23859
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 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-sep 5249  ax-nul 5260  ax-pow 5327  ax-pr 5391  ax-un 7740
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 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-ral 3078  df-rex 3088  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-iun 4953  df-br 5104  df-opab 5168  df-mpt 5187  df-id 5546  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-iota 6487  df-fun 6533  df-fn 6534  df-f 6535  df-fv 6539  df-ov 7415  df-oprab 7416  df-mpo 7417  df-1st 7990  df-2nd 7991  df-topgen 17594  df-tx 23861
This theorem is used by:  txcls  23903  txcnpi  23907  txdis  23931  txindis  23933  txdis1cn  23934  txlly  23935  txnlly  23936  txtube  23939  txcmplem1  23940  hausdiag  23944  tx1stc  23949  qustgplem  24420  txomap  34448  cvmlift2lem10  36046
  Copyright terms: Public domain W3C validator