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

Theorem eltx 23987
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 2769 . . . 4 ran (𝑥 ∈ 𝐽, 𝑦 ∈ 𝐾 ↦ (𝑥 × 𝑦)) = ran (𝑥 ∈ 𝐽, 𝑦 ∈ 𝐾 ↦ (𝑥 × 𝑦))
21txval 23983 . . 3 ((𝐽 ∈ 𝑉 ∧ 𝐾 ∈ 𝑊) → (𝐽 ×t 𝐾) = (topGen‘ran (𝑥 ∈ 𝐽, 𝑦 ∈ 𝐾 ↦ (𝑥 × 𝑦))))
32eleq2d 2856 . 2 ((𝐽 ∈ 𝑉 ∧ 𝐾 ∈ 𝑊) → (𝑆 ∈ (𝐽 ×t 𝐾) ↔ 𝑆 ∈ (topGen‘ran (𝑥 ∈ 𝐽, 𝑦 ∈ 𝐾 ↦ (𝑥 × 𝑦)))))
41txbasex 23985 . . . 4 ((𝐽 ∈ 𝑉 ∧ 𝐾 ∈ 𝑊) → ran (𝑥 ∈ 𝐽, 𝑦 ∈ 𝐾 ↦ (𝑥 × 𝑦)) ∈ V)
5 eltg2b 23377 . . . 4 (ran (𝑥 ∈ 𝐽, 𝑦 ∈ 𝐾 ↦ (𝑥 × 𝑦)) ∈ V → (𝑆 ∈ (topGen‘ran (𝑥 ∈ 𝐽, 𝑦 ∈ 𝐾 ↦ (𝑥 × 𝑦))) ↔ ∀𝑝 ∈ 𝑆 ∃𝑧 ∈ ran (𝑥 ∈ 𝐽, 𝑦 ∈ 𝐾 ↦ (𝑥 × 𝑦))(𝑝 ∈ 𝑧 ∧ 𝑧 ⊆ 𝑆)))
64, 5syl 18 . . 3 ((𝐽 ∈ 𝑉 ∧ 𝐾 ∈ 𝑊) → (𝑆 ∈ (topGen‘ran (𝑥 ∈ 𝐽, 𝑦 ∈ 𝐾 ↦ (𝑥 × 𝑦))) ↔ ∀𝑝 ∈ 𝑆 ∃𝑧 ∈ ran (𝑥 ∈ 𝐽, 𝑦 ∈ 𝐾 ↦ (𝑥 × 𝑦))(𝑝 ∈ 𝑧 ∧ 𝑧 ⊆ 𝑆)))
7 vex 3460 . . . . . . 7 𝑥 ∈ V
8 vex 3460 . . . . . . 7 𝑦 ∈ V
97, 8xpex 7810 . . . . . 6 (𝑥 × 𝑦) ∈ V
109rgen2w 3091 . . . . 5 ∀𝑥 ∈ 𝐽 ∀𝑦 ∈ 𝐾 (𝑥 × 𝑦) ∈ V
11 eqid 2769 . . . . . 6 (𝑥 ∈ 𝐽, 𝑦 ∈ 𝐾 ↦ (𝑥 × 𝑦)) = (𝑥 ∈ 𝐽, 𝑦 ∈ 𝐾 ↦ (𝑥 × 𝑦))
12 eleq2 2859 . . . . . . 7 (𝑧 = (𝑥 × 𝑦) → (𝑝 ∈ 𝑧 ↔ 𝑝 ∈ (𝑥 × 𝑦)))
13 sseq1 3940 . . . . . . 7 (𝑧 = (𝑥 × 𝑦) → (𝑧 ⊆ 𝑆 ↔ (𝑥 × 𝑦) ⊆ 𝑆))
1412, 13anbi12d 644 . . . . . 6 (𝑧 = (𝑥 × 𝑦) → ((𝑝 ∈ 𝑧 ∧ 𝑧 ⊆ 𝑆) ↔ (𝑝 ∈ (𝑥 × 𝑦) ∧ (𝑥 × 𝑦) ⊆ 𝑆)))
1511, 14rexrnmpo 7603 . . . . 5 (∀𝑥 ∈ 𝐽 ∀𝑦 ∈ 𝐾 (𝑥 × 𝑦) ∈ V → (∃𝑧 ∈ ran (𝑥 ∈ 𝐽, 𝑦 ∈ 𝐾 ↦ (𝑥 × 𝑦))(𝑝 ∈ 𝑧 ∧ 𝑧 ⊆ 𝑆) ↔ ∃𝑥 ∈ 𝐽 ∃𝑦 ∈ 𝐾 (𝑝 ∈ (𝑥 × 𝑦) ∧ (𝑥 × 𝑦) ⊆ 𝑆)))
1610, 15ax-mp 5 . . . 4 (∃𝑧 ∈ ran (𝑥 ∈ 𝐽, 𝑦 ∈ 𝐾 ↦ (𝑥 × 𝑦))(𝑝 ∈ 𝑧 ∧ 𝑧 ⊆ 𝑆) ↔ ∃𝑥 ∈ 𝐽 ∃𝑦 ∈ 𝐾 (𝑝 ∈ (𝑥 × 𝑦) ∧ (𝑥 × 𝑦) ⊆ 𝑆))
1716ralbii 3118 . . 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 1572   ∈ wcel 2151  ∀wral 3086  ∃wrex 3096  Vcvv 3456   ⊆ wss 3902   × cxp 5659  ran crn 5662  ‘cfv 6573  (class class class)co 7462   ∈ cmpo 7464  topGenctg 17678   ×t ctx 23979
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-10 2184  ax-11 2201  ax-12 2220  ax-ext 2741  ax-sep 5258  ax-nul 5269  ax-pow 5337  ax-pr 5401  ax-un 7794
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2105  df-mo 2571  df-eu 2601  df-clab 2748  df-cleq 2761  df-clel 2845  df-nfc 2919  df-ne 2966  df-ral 3087  df-rex 3097  df-rab 3419  df-v 3458  df-sbc 3745  df-csb 3854  df-ss 3903  df-dif 4052  df-in 4096  df-un 4156  df-nul 4284  df-if 4488  df-pw 4564  df-sn 4591  df-pr 4593  df-op 4844  df-uni 4876  df-iun 4961  df-br 5112  df-opab 5177  df-mpt 5196  df-id 5556  df-xp 5667  df-rel 5668  df-cnv 5669  df-co 5670  df-dm 5671  df-rn 5672  df-res 5673  df-ima 5674  df-iota 6527  df-fun 6575  df-fn 6576  df-f 6577  df-fv 6581  df-ov 7465  df-oprab 7466  df-mpo 7467  df-1st 8046  df-2nd 8047  df-topgen 17684  df-tx 23981
This theorem is used by:  txcls  24023  txcnpi  24027  txdis  24051  txindis  24053  txdis1cn  24054  txlly  24055  txnlly  24056  txtube  24059  txcmplem1  24060  hausdiag  24064  tx1stc  24069  qustgplem  24540  txomap  34594  cvmlift2lem10  36310
  Copyright terms: Public domain W3C validator