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

Theorem isbasis2g 22109
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 22108 . 2 (𝐵𝐶 → (𝐵 ∈ TopBases ↔ ∀𝑥𝐵𝑦𝐵 (𝑥𝑦) ⊆ (𝐵 ∩ 𝒫 (𝑥𝑦))))
2 dfss3 3914 . . . 4 ((𝑥𝑦) ⊆ (𝐵 ∩ 𝒫 (𝑥𝑦)) ↔ ∀𝑧 ∈ (𝑥𝑦)𝑧 (𝐵 ∩ 𝒫 (𝑥𝑦)))
3 elin 3908 . . . . . . . . . 10 (𝑤 ∈ (𝐵 ∩ 𝒫 (𝑥𝑦)) ↔ (𝑤𝐵𝑤 ∈ 𝒫 (𝑥𝑦)))
4 velpw 4544 . . . . . . . . . . 11 (𝑤 ∈ 𝒫 (𝑥𝑦) ↔ 𝑤 ⊆ (𝑥𝑦))
54anbi2i 623 . . . . . . . . . 10 ((𝑤𝐵𝑤 ∈ 𝒫 (𝑥𝑦)) ↔ (𝑤𝐵𝑤 ⊆ (𝑥𝑦)))
63, 5bitri 274 . . . . . . . . 9 (𝑤 ∈ (𝐵 ∩ 𝒫 (𝑥𝑦)) ↔ (𝑤𝐵𝑤 ⊆ (𝑥𝑦)))
76anbi2i 623 . . . . . . . 8 ((𝑧𝑤𝑤 ∈ (𝐵 ∩ 𝒫 (𝑥𝑦))) ↔ (𝑧𝑤 ∧ (𝑤𝐵𝑤 ⊆ (𝑥𝑦))))
8 an12 642 . . . . . . . 8 ((𝑧𝑤 ∧ (𝑤𝐵𝑤 ⊆ (𝑥𝑦))) ↔ (𝑤𝐵 ∧ (𝑧𝑤𝑤 ⊆ (𝑥𝑦))))
97, 8bitri 274 . . . . . . 7 ((𝑧𝑤𝑤 ∈ (𝐵 ∩ 𝒫 (𝑥𝑦))) ↔ (𝑤𝐵 ∧ (𝑧𝑤𝑤 ⊆ (𝑥𝑦))))
109exbii 1854 . . . . . 6 (∃𝑤(𝑧𝑤𝑤 ∈ (𝐵 ∩ 𝒫 (𝑥𝑦))) ↔ ∃𝑤(𝑤𝐵 ∧ (𝑧𝑤𝑤 ⊆ (𝑥𝑦))))
11 eluni 4848 . . . . . 6 (𝑧 (𝐵 ∩ 𝒫 (𝑥𝑦)) ↔ ∃𝑤(𝑧𝑤𝑤 ∈ (𝐵 ∩ 𝒫 (𝑥𝑦))))
12 df-rex 3072 . . . . . 6 (∃𝑤𝐵 (𝑧𝑤𝑤 ⊆ (𝑥𝑦)) ↔ ∃𝑤(𝑤𝐵 ∧ (𝑧𝑤𝑤 ⊆ (𝑥𝑦))))
1310, 11, 123bitr4i 303 . . . . 5 (𝑧 (𝐵 ∩ 𝒫 (𝑥𝑦)) ↔ ∃𝑤𝐵 (𝑧𝑤𝑤 ⊆ (𝑥𝑦)))
1413ralbii 3093 . . . 4 (∀𝑧 ∈ (𝑥𝑦)𝑧 (𝐵 ∩ 𝒫 (𝑥𝑦)) ↔ ∀𝑧 ∈ (𝑥𝑦)∃𝑤𝐵 (𝑧𝑤𝑤 ⊆ (𝑥𝑦)))
152, 14bitri 274 . . 3 ((𝑥𝑦) ⊆ (𝐵 ∩ 𝒫 (𝑥𝑦)) ↔ ∀𝑧 ∈ (𝑥𝑦)∃𝑤𝐵 (𝑧𝑤𝑤 ⊆ (𝑥𝑦)))
16152ralbii 3094 . 2 (∀𝑥𝐵𝑦𝐵 (𝑥𝑦) ⊆ (𝐵 ∩ 𝒫 (𝑥𝑦)) ↔ ∀𝑥𝐵𝑦𝐵𝑧 ∈ (𝑥𝑦)∃𝑤𝐵 (𝑧𝑤𝑤 ⊆ (𝑥𝑦)))
171, 16bitrdi 287 1 (𝐵𝐶 → (𝐵 ∈ TopBases ↔ ∀𝑥𝐵𝑦𝐵𝑧 ∈ (𝑥𝑦)∃𝑤𝐵 (𝑧𝑤𝑤 ⊆ (𝑥𝑦))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396  wex 1786  wcel 2110  wral 3066  wrex 3067  cin 3891  wss 3892  𝒫 cpw 4539   cuni 4845  TopBasesctb 22106
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1917  ax-6 1975  ax-7 2015  ax-8 2112  ax-9 2120  ax-ext 2711
This theorem depends on definitions:  df-bi 206  df-an 397  df-tru 1545  df-ex 1787  df-sb 2072  df-clab 2718  df-cleq 2732  df-clel 2818  df-ral 3071  df-rex 3072  df-rab 3075  df-v 3433  df-in 3899  df-ss 3909  df-pw 4541  df-uni 4846  df-bases 22107
This theorem is referenced by:  isbasis3g  22110  basis2  22112  fiinbas  22113  tgclb  22131  topbas  22133  restbas  22320  txbas  22729  blbas  23594
  Copyright terms: Public domain W3C validator