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

Theorem isbasis2g 22006
Description: Express the predicate "the set 𝐵 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 22005 . 2 (𝐵𝐶 → (𝐵 ∈ TopBases ↔ ∀𝑥𝐵𝑦𝐵 (𝑥𝑦) ⊆ (𝐵 ∩ 𝒫 (𝑥𝑦))))
2 dfss3 3905 . . . 4 ((𝑥𝑦) ⊆ (𝐵 ∩ 𝒫 (𝑥𝑦)) ↔ ∀𝑧 ∈ (𝑥𝑦)𝑧 (𝐵 ∩ 𝒫 (𝑥𝑦)))
3 elin 3899 . . . . . . . . . 10 (𝑤 ∈ (𝐵 ∩ 𝒫 (𝑥𝑦)) ↔ (𝑤𝐵𝑤 ∈ 𝒫 (𝑥𝑦)))
4 velpw 4535 . . . . . . . . . . 11 (𝑤 ∈ 𝒫 (𝑥𝑦) ↔ 𝑤 ⊆ (𝑥𝑦))
54anbi2i 622 . . . . . . . . . 10 ((𝑤𝐵𝑤 ∈ 𝒫 (𝑥𝑦)) ↔ (𝑤𝐵𝑤 ⊆ (𝑥𝑦)))
63, 5bitri 274 . . . . . . . . 9 (𝑤 ∈ (𝐵 ∩ 𝒫 (𝑥𝑦)) ↔ (𝑤𝐵𝑤 ⊆ (𝑥𝑦)))
76anbi2i 622 . . . . . . . 8 ((𝑧𝑤𝑤 ∈ (𝐵 ∩ 𝒫 (𝑥𝑦))) ↔ (𝑧𝑤 ∧ (𝑤𝐵𝑤 ⊆ (𝑥𝑦))))
8 an12 641 . . . . . . . 8 ((𝑧𝑤 ∧ (𝑤𝐵𝑤 ⊆ (𝑥𝑦))) ↔ (𝑤𝐵 ∧ (𝑧𝑤𝑤 ⊆ (𝑥𝑦))))
97, 8bitri 274 . . . . . . 7 ((𝑧𝑤𝑤 ∈ (𝐵 ∩ 𝒫 (𝑥𝑦))) ↔ (𝑤𝐵 ∧ (𝑧𝑤𝑤 ⊆ (𝑥𝑦))))
109exbii 1851 . . . . . 6 (∃𝑤(𝑧𝑤𝑤 ∈ (𝐵 ∩ 𝒫 (𝑥𝑦))) ↔ ∃𝑤(𝑤𝐵 ∧ (𝑧𝑤𝑤 ⊆ (𝑥𝑦))))
11 eluni 4839 . . . . . 6 (𝑧 (𝐵 ∩ 𝒫 (𝑥𝑦)) ↔ ∃𝑤(𝑧𝑤𝑤 ∈ (𝐵 ∩ 𝒫 (𝑥𝑦))))
12 df-rex 3069 . . . . . 6 (∃𝑤𝐵 (𝑧𝑤𝑤 ⊆ (𝑥𝑦)) ↔ ∃𝑤(𝑤𝐵 ∧ (𝑧𝑤𝑤 ⊆ (𝑥𝑦))))
1310, 11, 123bitr4i 302 . . . . 5 (𝑧 (𝐵 ∩ 𝒫 (𝑥𝑦)) ↔ ∃𝑤𝐵 (𝑧𝑤𝑤 ⊆ (𝑥𝑦)))
1413ralbii 3090 . . . 4 (∀𝑧 ∈ (𝑥𝑦)𝑧 (𝐵 ∩ 𝒫 (𝑥𝑦)) ↔ ∀𝑧 ∈ (𝑥𝑦)∃𝑤𝐵 (𝑧𝑤𝑤 ⊆ (𝑥𝑦)))
152, 14bitri 274 . . 3 ((𝑥𝑦) ⊆ (𝐵 ∩ 𝒫 (𝑥𝑦)) ↔ ∀𝑧 ∈ (𝑥𝑦)∃𝑤𝐵 (𝑧𝑤𝑤 ⊆ (𝑥𝑦)))
16152ralbii 3091 . 2 (∀𝑥𝐵𝑦𝐵 (𝑥𝑦) ⊆ (𝐵 ∩ 𝒫 (𝑥𝑦)) ↔ ∀𝑥𝐵𝑦𝐵𝑧 ∈ (𝑥𝑦)∃𝑤𝐵 (𝑧𝑤𝑤 ⊆ (𝑥𝑦)))
171, 16bitrdi 286 1 (𝐵𝐶 → (𝐵 ∈ TopBases ↔ ∀𝑥𝐵𝑦𝐵𝑧 ∈ (𝑥𝑦)∃𝑤𝐵 (𝑧𝑤𝑤 ⊆ (𝑥𝑦))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  wex 1783  wcel 2108  wral 3063  wrex 3064  cin 3882  wss 3883  𝒫 cpw 4530   cuni 4836  TopBasesctb 22003
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 396  df-tru 1542  df-ex 1784  df-sb 2069  df-clab 2716  df-cleq 2730  df-clel 2817  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-in 3890  df-ss 3900  df-pw 4532  df-uni 4837  df-bases 22004
This theorem is referenced by:  isbasis3g  22007  basis2  22009  fiinbas  22010  tgclb  22028  topbas  22030  restbas  22217  txbas  22626  blbas  23491
  Copyright terms: Public domain W3C validator