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

Theorem isbasis2g 23272
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 23271 . 2 (𝐵 ∈ 𝐶 → (𝐵 ∈ TopBases ↔ ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 (𝑥 ∩ 𝑦) ⊆ ∪ (𝐵 ∩ 𝒫 (𝑥 ∩ 𝑦))))
2 dfss3 3897 . . . 4 ((𝑥 ∩ 𝑦) ⊆ ∪ (𝐵 ∩ 𝒫 (𝑥 ∩ 𝑦)) ↔ ∀𝑧 ∈ (𝑥 ∩ 𝑦)𝑧 ∈ ∪ (𝐵 ∩ 𝒫 (𝑥 ∩ 𝑦)))
3 elin 4093 . . . . . . . . . 10 (𝑤 ∈ (𝐵 ∩ 𝒫 (𝑥 ∩ 𝑦)) ↔ (𝑤 ∈ 𝐵 ∧ 𝑤 ∈ 𝒫 (𝑥 ∩ 𝑦)))
4 velpw 4561 . . . . . . . . . . 11 (𝑤 ∈ 𝒫 (𝑥 ∩ 𝑦) ↔ 𝑤 ⊆ (𝑥 ∩ 𝑦))
54anbi2i 635 . . . . . . . . . 10 ((𝑤 ∈ 𝐵 ∧ 𝑤 ∈ 𝒫 (𝑥 ∩ 𝑦)) ↔ (𝑤 ∈ 𝐵 ∧ 𝑤 ⊆ (𝑥 ∩ 𝑦)))
63, 5bitri 278 . . . . . . . . 9 (𝑤 ∈ (𝐵 ∩ 𝒫 (𝑥 ∩ 𝑦)) ↔ (𝑤 ∈ 𝐵 ∧ 𝑤 ⊆ (𝑥 ∩ 𝑦)))
76anbi2i 635 . . . . . . . 8 ((𝑧 ∈ 𝑤 ∧ 𝑤 ∈ (𝐵 ∩ 𝒫 (𝑥 ∩ 𝑦))) ↔ (𝑧 ∈ 𝑤 ∧ (𝑤 ∈ 𝐵 ∧ 𝑤 ⊆ (𝑥 ∩ 𝑦))))
8 an12 658 . . . . . . . 8 ((𝑧 ∈ 𝑤 ∧ (𝑤 ∈ 𝐵 ∧ 𝑤 ⊆ (𝑥 ∩ 𝑦))) ↔ (𝑤 ∈ 𝐵 ∧ (𝑧 ∈ 𝑤 ∧ 𝑤 ⊆ (𝑥 ∩ 𝑦))))
97, 8bitri 278 . . . . . . 7 ((𝑧 ∈ 𝑤 ∧ 𝑤 ∈ (𝐵 ∩ 𝒫 (𝑥 ∩ 𝑦))) ↔ (𝑤 ∈ 𝐵 ∧ (𝑧 ∈ 𝑤 ∧ 𝑤 ⊆ (𝑥 ∩ 𝑦))))
109exbii 1880 . . . . . 6 (∃𝑤(𝑧 ∈ 𝑤 ∧ 𝑤 ∈ (𝐵 ∩ 𝒫 (𝑥 ∩ 𝑦))) ↔ ∃𝑤(𝑤 ∈ 𝐵 ∧ (𝑧 ∈ 𝑤 ∧ 𝑤 ⊆ (𝑥 ∩ 𝑦))))
11 eluni 4869 . . . . . 6 (𝑧 ∈ ∪ (𝐵 ∩ 𝒫 (𝑥 ∩ 𝑦)) ↔ ∃𝑤(𝑧 ∈ 𝑤 ∧ 𝑤 ∈ (𝐵 ∩ 𝒫 (𝑥 ∩ 𝑦))))
12 df-rex 3087 . . . . . 6 (∃𝑤 ∈ 𝐵 (𝑧 ∈ 𝑤 ∧ 𝑤 ⊆ (𝑥 ∩ 𝑦)) ↔ ∃𝑤(𝑤 ∈ 𝐵 ∧ (𝑧 ∈ 𝑤 ∧ 𝑤 ⊆ (𝑥 ∩ 𝑦))))
1310, 11, 123bitr4i 306 . . . . 5 (𝑧 ∈ ∪ (𝐵 ∩ 𝒫 (𝑥 ∩ 𝑦)) ↔ ∃𝑤 ∈ 𝐵 (𝑧 ∈ 𝑤 ∧ 𝑤 ⊆ (𝑥 ∩ 𝑦)))
1413ralbii 3108 . . . 4 (∀𝑧 ∈ (𝑥 ∩ 𝑦)𝑧 ∈ ∪ (𝐵 ∩ 𝒫 (𝑥 ∩ 𝑦)) ↔ ∀𝑧 ∈ (𝑥 ∩ 𝑦)∃𝑤 ∈ 𝐵 (𝑧 ∈ 𝑤 ∧ 𝑤 ⊆ (𝑥 ∩ 𝑦)))
152, 14bitri 278 . . 3 ((𝑥 ∩ 𝑦) ⊆ ∪ (𝐵 ∩ 𝒫 (𝑥 ∩ 𝑦)) ↔ ∀𝑧 ∈ (𝑥 ∩ 𝑦)∃𝑤 ∈ 𝐵 (𝑧 ∈ 𝑤 ∧ 𝑤 ⊆ (𝑥 ∩ 𝑦)))
16152ralbii 3137 . 2 (∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 (𝑥 ∩ 𝑦) ⊆ ∪ (𝐵 ∩ 𝒫 (𝑥 ∩ 𝑦)) ↔ ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 ∀𝑧 ∈ (𝑥 ∩ 𝑦)∃𝑤 ∈ 𝐵 (𝑧 ∈ 𝑤 ∧ 𝑤 ⊆ (𝑥 ∩ 𝑦)))
171, 16bitrdi 290 1 (𝐵 ∈ 𝐶 → (𝐵 ∈ TopBases ↔ ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 ∀𝑧 ∈ (𝑥 ∩ 𝑦)∃𝑤 ∈ 𝐵 (𝑧 ∈ 𝑤 ∧ 𝑤 ⊆ (𝑥 ∩ 𝑦))))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401  ∃wex 1811   ∈ wcel 2144  ∀wral 3076  ∃wrex 3086   ⊆ wss 3895   ∩ cin 4089  𝒫 cpw 4556  ∪ cuni 4866  TopBasesctb 23269
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-ext 2732
This proof depends on definitions:  df-bi 210  df-an 402  df-tru 1572  df-ex 1812  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-ss 3896  df-in 4091  df-pw 4558  df-uni 4867  df-bases 23270
This theorem is used by:  isbasis3g  23273  basis2  23275  fiinbas  23276  tgclb  23294  topbas  23296  restbas  23482  txbas  23892  blbas  24755
  Copyright terms: Public domain W3C validator