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

Theorem isbasis2g 20658
Description: Express the predicate "𝐵 is a basis for a topology." (Contributed by NM, 17-Jul-2006.)
Assertion
Ref Expression
isbasis2g (𝐵𝐶 → (𝐵 ∈ TopBases ↔ ∀𝑥𝐵𝑦𝐵𝑧 ∈ (𝑥𝑦)∃𝑤𝐵 (𝑧𝑤𝑤 ⊆ (𝑥𝑦))))
Distinct variable group:   𝑥,𝑤,𝑦,𝑧,𝐵
Allowed substitution hints:   𝐶(𝑥,𝑦,𝑧,𝑤)

Proof of Theorem isbasis2g
StepHypRef Expression
1 isbasisg 20657 . 2 (𝐵𝐶 → (𝐵 ∈ TopBases ↔ ∀𝑥𝐵𝑦𝐵 (𝑥𝑦) ⊆ (𝐵 ∩ 𝒫 (𝑥𝑦))))
2 dfss3 3578 . . . 4 ((𝑥𝑦) ⊆ (𝐵 ∩ 𝒫 (𝑥𝑦)) ↔ ∀𝑧 ∈ (𝑥𝑦)𝑧 (𝐵 ∩ 𝒫 (𝑥𝑦)))
3 elin 3779 . . . . . . . . . 10 (𝑤 ∈ (𝐵 ∩ 𝒫 (𝑥𝑦)) ↔ (𝑤𝐵𝑤 ∈ 𝒫 (𝑥𝑦)))
4 selpw 4142 . . . . . . . . . . 11 (𝑤 ∈ 𝒫 (𝑥𝑦) ↔ 𝑤 ⊆ (𝑥𝑦))
54anbi2i 729 . . . . . . . . . 10 ((𝑤𝐵𝑤 ∈ 𝒫 (𝑥𝑦)) ↔ (𝑤𝐵𝑤 ⊆ (𝑥𝑦)))
63, 5bitri 264 . . . . . . . . 9 (𝑤 ∈ (𝐵 ∩ 𝒫 (𝑥𝑦)) ↔ (𝑤𝐵𝑤 ⊆ (𝑥𝑦)))
76anbi2i 729 . . . . . . . 8 ((𝑧𝑤𝑤 ∈ (𝐵 ∩ 𝒫 (𝑥𝑦))) ↔ (𝑧𝑤 ∧ (𝑤𝐵𝑤 ⊆ (𝑥𝑦))))
8 an12 837 . . . . . . . 8 ((𝑧𝑤 ∧ (𝑤𝐵𝑤 ⊆ (𝑥𝑦))) ↔ (𝑤𝐵 ∧ (𝑧𝑤𝑤 ⊆ (𝑥𝑦))))
97, 8bitri 264 . . . . . . 7 ((𝑧𝑤𝑤 ∈ (𝐵 ∩ 𝒫 (𝑥𝑦))) ↔ (𝑤𝐵 ∧ (𝑧𝑤𝑤 ⊆ (𝑥𝑦))))
109exbii 1772 . . . . . 6 (∃𝑤(𝑧𝑤𝑤 ∈ (𝐵 ∩ 𝒫 (𝑥𝑦))) ↔ ∃𝑤(𝑤𝐵 ∧ (𝑧𝑤𝑤 ⊆ (𝑥𝑦))))
11 eluni 4410 . . . . . 6 (𝑧 (𝐵 ∩ 𝒫 (𝑥𝑦)) ↔ ∃𝑤(𝑧𝑤𝑤 ∈ (𝐵 ∩ 𝒫 (𝑥𝑦))))
12 df-rex 2918 . . . . . 6 (∃𝑤𝐵 (𝑧𝑤𝑤 ⊆ (𝑥𝑦)) ↔ ∃𝑤(𝑤𝐵 ∧ (𝑧𝑤𝑤 ⊆ (𝑥𝑦))))
1310, 11, 123bitr4i 292 . . . . 5 (𝑧 (𝐵 ∩ 𝒫 (𝑥𝑦)) ↔ ∃𝑤𝐵 (𝑧𝑤𝑤 ⊆ (𝑥𝑦)))
1413ralbii 2979 . . . 4 (∀𝑧 ∈ (𝑥𝑦)𝑧 (𝐵 ∩ 𝒫 (𝑥𝑦)) ↔ ∀𝑧 ∈ (𝑥𝑦)∃𝑤𝐵 (𝑧𝑤𝑤 ⊆ (𝑥𝑦)))
152, 14bitri 264 . . 3 ((𝑥𝑦) ⊆ (𝐵 ∩ 𝒫 (𝑥𝑦)) ↔ ∀𝑧 ∈ (𝑥𝑦)∃𝑤𝐵 (𝑧𝑤𝑤 ⊆ (𝑥𝑦)))
16152ralbii 2980 . 2 (∀𝑥𝐵𝑦𝐵 (𝑥𝑦) ⊆ (𝐵 ∩ 𝒫 (𝑥𝑦)) ↔ ∀𝑥𝐵𝑦𝐵𝑧 ∈ (𝑥𝑦)∃𝑤𝐵 (𝑧𝑤𝑤 ⊆ (𝑥𝑦)))
171, 16syl6bb 276 1 (𝐵𝐶 → (𝐵 ∈ TopBases ↔ ∀𝑥𝐵𝑦𝐵𝑧 ∈ (𝑥𝑦)∃𝑤𝐵 (𝑧𝑤𝑤 ⊆ (𝑥𝑦))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wa 384  wex 1701  wcel 1992  wral 2912  wrex 2913  cin 3559  wss 3560  𝒫 cpw 4135   cuni 4407  TopBasesctb 20615
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 1841  ax-6 1890  ax-7 1937  ax-9 2001  ax-10 2021  ax-11 2036  ax-12 2049  ax-13 2250  ax-ext 2606
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-tru 1483  df-ex 1702  df-nf 1707  df-sb 1883  df-clab 2613  df-cleq 2619  df-clel 2622  df-nfc 2756  df-ral 2917  df-rex 2918  df-v 3193  df-in 3567  df-ss 3574  df-pw 4137  df-uni 4408  df-bases 20617
This theorem is referenced by:  isbasis3g  20659  basis2  20661  fiinbas  20662  tgclb  20680  topbas  20682  restbas  20867  txbas  21275  blbas  22140
  Copyright terms: Public domain W3C validator