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

Theorem eltx 21311
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 2621 . . . 4 ran (𝑥𝐽, 𝑦𝐾 ↦ (𝑥 × 𝑦)) = ran (𝑥𝐽, 𝑦𝐾 ↦ (𝑥 × 𝑦))
21txval 21307 . . 3 ((𝐽𝑉𝐾𝑊) → (𝐽 ×t 𝐾) = (topGen‘ran (𝑥𝐽, 𝑦𝐾 ↦ (𝑥 × 𝑦))))
32eleq2d 2684 . 2 ((𝐽𝑉𝐾𝑊) → (𝑆 ∈ (𝐽 ×t 𝐾) ↔ 𝑆 ∈ (topGen‘ran (𝑥𝐽, 𝑦𝐾 ↦ (𝑥 × 𝑦)))))
41txbasex 21309 . . . 4 ((𝐽𝑉𝐾𝑊) → ran (𝑥𝐽, 𝑦𝐾 ↦ (𝑥 × 𝑦)) ∈ V)
5 eltg2b 20703 . . . 4 (ran (𝑥𝐽, 𝑦𝐾 ↦ (𝑥 × 𝑦)) ∈ V → (𝑆 ∈ (topGen‘ran (𝑥𝐽, 𝑦𝐾 ↦ (𝑥 × 𝑦))) ↔ ∀𝑝𝑆𝑧 ∈ ran (𝑥𝐽, 𝑦𝐾 ↦ (𝑥 × 𝑦))(𝑝𝑧𝑧𝑆)))
64, 5syl 17 . . 3 ((𝐽𝑉𝐾𝑊) → (𝑆 ∈ (topGen‘ran (𝑥𝐽, 𝑦𝐾 ↦ (𝑥 × 𝑦))) ↔ ∀𝑝𝑆𝑧 ∈ ran (𝑥𝐽, 𝑦𝐾 ↦ (𝑥 × 𝑦))(𝑝𝑧𝑧𝑆)))
7 vex 3193 . . . . . . 7 𝑥 ∈ V
8 vex 3193 . . . . . . 7 𝑦 ∈ V
97, 8xpex 6927 . . . . . 6 (𝑥 × 𝑦) ∈ V
109rgen2w 2921 . . . . 5 𝑥𝐽𝑦𝐾 (𝑥 × 𝑦) ∈ V
11 eqid 2621 . . . . . 6 (𝑥𝐽, 𝑦𝐾 ↦ (𝑥 × 𝑦)) = (𝑥𝐽, 𝑦𝐾 ↦ (𝑥 × 𝑦))
12 eleq2 2687 . . . . . . 7 (𝑧 = (𝑥 × 𝑦) → (𝑝𝑧𝑝 ∈ (𝑥 × 𝑦)))
13 sseq1 3611 . . . . . . 7 (𝑧 = (𝑥 × 𝑦) → (𝑧𝑆 ↔ (𝑥 × 𝑦) ⊆ 𝑆))
1412, 13anbi12d 746 . . . . . 6 (𝑧 = (𝑥 × 𝑦) → ((𝑝𝑧𝑧𝑆) ↔ (𝑝 ∈ (𝑥 × 𝑦) ∧ (𝑥 × 𝑦) ⊆ 𝑆)))
1511, 14rexrnmpt2 6741 . . . . 5 (∀𝑥𝐽𝑦𝐾 (𝑥 × 𝑦) ∈ V → (∃𝑧 ∈ ran (𝑥𝐽, 𝑦𝐾 ↦ (𝑥 × 𝑦))(𝑝𝑧𝑧𝑆) ↔ ∃𝑥𝐽𝑦𝐾 (𝑝 ∈ (𝑥 × 𝑦) ∧ (𝑥 × 𝑦) ⊆ 𝑆)))
1610, 15ax-mp 5 . . . 4 (∃𝑧 ∈ ran (𝑥𝐽, 𝑦𝐾 ↦ (𝑥 × 𝑦))(𝑝𝑧𝑧𝑆) ↔ ∃𝑥𝐽𝑦𝐾 (𝑝 ∈ (𝑥 × 𝑦) ∧ (𝑥 × 𝑦) ⊆ 𝑆))
1716ralbii 2976 . . 3 (∀𝑝𝑆𝑧 ∈ ran (𝑥𝐽, 𝑦𝐾 ↦ (𝑥 × 𝑦))(𝑝𝑧𝑧𝑆) ↔ ∀𝑝𝑆𝑥𝐽𝑦𝐾 (𝑝 ∈ (𝑥 × 𝑦) ∧ (𝑥 × 𝑦) ⊆ 𝑆))
186, 17syl6bb 276 . 2 ((𝐽𝑉𝐾𝑊) → (𝑆 ∈ (topGen‘ran (𝑥𝐽, 𝑦𝐾 ↦ (𝑥 × 𝑦))) ↔ ∀𝑝𝑆𝑥𝐽𝑦𝐾 (𝑝 ∈ (𝑥 × 𝑦) ∧ (𝑥 × 𝑦) ⊆ 𝑆)))
193, 18bitrd 268 1 ((𝐽𝑉𝐾𝑊) → (𝑆 ∈ (𝐽 ×t 𝐾) ↔ ∀𝑝𝑆𝑥𝐽𝑦𝐾 (𝑝 ∈ (𝑥 × 𝑦) ∧ (𝑥 × 𝑦) ⊆ 𝑆)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wa 384   = wceq 1480  wcel 1987  wral 2908  wrex 2909  Vcvv 3190  wss 3560   × cxp 5082  ran crn 5085  cfv 5857  (class class class)co 6615  cmpt2 6617  topGenctg 16038   ×t ctx 21303
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1719  ax-4 1734  ax-5 1836  ax-6 1885  ax-7 1932  ax-8 1989  ax-9 1996  ax-10 2016  ax-11 2031  ax-12 2044  ax-13 2245  ax-ext 2601  ax-sep 4751  ax-nul 4759  ax-pow 4813  ax-pr 4877  ax-un 6914
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1038  df-tru 1483  df-ex 1702  df-nf 1707  df-sb 1878  df-eu 2473  df-mo 2474  df-clab 2608  df-cleq 2614  df-clel 2617  df-nfc 2750  df-ne 2791  df-ral 2913  df-rex 2914  df-rab 2917  df-v 3192  df-sbc 3423  df-csb 3520  df-dif 3563  df-un 3565  df-in 3567  df-ss 3574  df-nul 3898  df-if 4065  df-pw 4138  df-sn 4156  df-pr 4158  df-op 4162  df-uni 4410  df-iun 4494  df-br 4624  df-opab 4684  df-mpt 4685  df-id 4999  df-xp 5090  df-rel 5091  df-cnv 5092  df-co 5093  df-dm 5094  df-rn 5095  df-res 5096  df-ima 5097  df-iota 5820  df-fun 5859  df-fn 5860  df-f 5861  df-fv 5865  df-ov 6618  df-oprab 6619  df-mpt2 6620  df-1st 7128  df-2nd 7129  df-topgen 16044  df-tx 21305
This theorem is referenced by:  txcls  21347  txcnpi  21351  txdis  21375  txindis  21377  txdis1cn  21378  txlly  21379  txnlly  21380  txtube  21383  txcmplem1  21384  hausdiag  21388  tx1stc  21393  qustgplem  21864  txomap  29725  cvmlift2lem10  31055
  Copyright terms: Public domain W3C validator