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

Theorem isbasis2g 22098
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 22097 . 2 (𝐵𝐶 → (𝐵 ∈ TopBases ↔ ∀𝑥𝐵𝑦𝐵 (𝑥𝑦) ⊆ (𝐵 ∩ 𝒫 (𝑥𝑦))))
2 dfss3 3909 . . . 4 ((𝑥𝑦) ⊆ (𝐵 ∩ 𝒫 (𝑥𝑦)) ↔ ∀𝑧 ∈ (𝑥𝑦)𝑧 (𝐵 ∩ 𝒫 (𝑥𝑦)))
3 elin 3903 . . . . . . . . . 10 (𝑤 ∈ (𝐵 ∩ 𝒫 (𝑥𝑦)) ↔ (𝑤𝐵𝑤 ∈ 𝒫 (𝑥𝑦)))
4 velpw 4538 . . . . . . . . . . 11 (𝑤 ∈ 𝒫 (𝑥𝑦) ↔ 𝑤 ⊆ (𝑥𝑦))
54anbi2i 623 . . . . . . . . . 10 ((𝑤𝐵𝑤 ∈ 𝒫 (𝑥𝑦)) ↔ (𝑤𝐵𝑤 ⊆ (𝑥𝑦)))
63, 5bitri 274 . . . . . . . . 9 (𝑤 ∈ (𝐵 ∩ 𝒫 (𝑥𝑦)) ↔ (𝑤𝐵𝑤 ⊆ (𝑥𝑦)))
76anbi2i 623 . . . . . . . 8 ((𝑧𝑤𝑤 ∈ (𝐵 ∩ 𝒫 (𝑥𝑦))) ↔ (𝑧𝑤 ∧ (𝑤𝐵𝑤 ⊆ (𝑥𝑦))))
8 an12 642 . . . . . . . 8 ((𝑧𝑤 ∧ (𝑤𝐵𝑤 ⊆ (𝑥𝑦))) ↔ (𝑤𝐵 ∧ (𝑧𝑤𝑤 ⊆ (𝑥𝑦))))
97, 8bitri 274 . . . . . . 7 ((𝑧𝑤𝑤 ∈ (𝐵 ∩ 𝒫 (𝑥𝑦))) ↔ (𝑤𝐵 ∧ (𝑧𝑤𝑤 ⊆ (𝑥𝑦))))
109exbii 1850 . . . . . 6 (∃𝑤(𝑧𝑤𝑤 ∈ (𝐵 ∩ 𝒫 (𝑥𝑦))) ↔ ∃𝑤(𝑤𝐵 ∧ (𝑧𝑤𝑤 ⊆ (𝑥𝑦))))
11 eluni 4842 . . . . . 6 (𝑧 (𝐵 ∩ 𝒫 (𝑥𝑦)) ↔ ∃𝑤(𝑧𝑤𝑤 ∈ (𝐵 ∩ 𝒫 (𝑥𝑦))))
12 df-rex 3070 . . . . . 6 (∃𝑤𝐵 (𝑧𝑤𝑤 ⊆ (𝑥𝑦)) ↔ ∃𝑤(𝑤𝐵 ∧ (𝑧𝑤𝑤 ⊆ (𝑥𝑦))))
1310, 11, 123bitr4i 303 . . . . 5 (𝑧 (𝐵 ∩ 𝒫 (𝑥𝑦)) ↔ ∃𝑤𝐵 (𝑧𝑤𝑤 ⊆ (𝑥𝑦)))
1413ralbii 3092 . . . 4 (∀𝑧 ∈ (𝑥𝑦)𝑧 (𝐵 ∩ 𝒫 (𝑥𝑦)) ↔ ∀𝑧 ∈ (𝑥𝑦)∃𝑤𝐵 (𝑧𝑤𝑤 ⊆ (𝑥𝑦)))
152, 14bitri 274 . . 3 ((𝑥𝑦) ⊆ (𝐵 ∩ 𝒫 (𝑥𝑦)) ↔ ∀𝑧 ∈ (𝑥𝑦)∃𝑤𝐵 (𝑧𝑤𝑤 ⊆ (𝑥𝑦)))
16152ralbii 3093 . 2 (∀𝑥𝐵𝑦𝐵 (𝑥𝑦) ⊆ (𝐵 ∩ 𝒫 (𝑥𝑦)) ↔ ∀𝑥𝐵𝑦𝐵𝑧 ∈ (𝑥𝑦)∃𝑤𝐵 (𝑧𝑤𝑤 ⊆ (𝑥𝑦)))
171, 16bitrdi 287 1 (𝐵𝐶 → (𝐵 ∈ TopBases ↔ ∀𝑥𝐵𝑦𝐵𝑧 ∈ (𝑥𝑦)∃𝑤𝐵 (𝑧𝑤𝑤 ⊆ (𝑥𝑦))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396  wex 1782  wcel 2106  wral 3064  wrex 3065  cin 3886  wss 3887  𝒫 cpw 4533   cuni 4839  TopBasesctb 22095
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 397  df-tru 1542  df-ex 1783  df-sb 2068  df-clab 2716  df-cleq 2730  df-clel 2816  df-ral 3069  df-rex 3070  df-rab 3073  df-v 3434  df-in 3894  df-ss 3904  df-pw 4535  df-uni 4840  df-bases 22096
This theorem is referenced by:  isbasis3g  22099  basis2  22101  fiinbas  22102  tgclb  22120  topbas  22122  restbas  22309  txbas  22718  blbas  23583
  Copyright terms: Public domain W3C validator