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

Theorem isbasis2g 23299
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 23298 . 2 (𝐵 ∈ 𝐶 → (𝐵 ∈ TopBases ↔ ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 (𝑥 ∩ 𝑦) ⊆ ∪ (𝐵 ∩ 𝒫 (𝑥 ∩ 𝑦))))
2 dfss3 3902 . . . 4 ((𝑥 ∩ 𝑦) ⊆ ∪ (𝐵 ∩ 𝒫 (𝑥 ∩ 𝑦)) ↔ ∀𝑧 ∈ (𝑥 ∩ 𝑦)𝑧 ∈ ∪ (𝐵 ∩ 𝒫 (𝑥 ∩ 𝑦)))
3 elin 4096 . . . . . . . . . 10 (𝑤 ∈ (𝐵 ∩ 𝒫 (𝑥 ∩ 𝑦)) ↔ (𝑤 ∈ 𝐵 ∧ 𝑤 ∈ 𝒫 (𝑥 ∩ 𝑦)))
4 velpw 4565 . . . . . . . . . . 11 (𝑤 ∈ 𝒫 (𝑥 ∩ 𝑦) ↔ 𝑤 ⊆ (𝑥 ∩ 𝑦))
54anbi2i 635 . . . . . . . . . 10 ((𝑤 ∈ 𝐵 ∧ 𝑤 ∈ 𝒫 (𝑥 ∩ 𝑦)) ↔ (𝑤 ∈ 𝐵 ∧ 𝑤 ⊆ (𝑥 ∩ 𝑦)))
63, 5bitri 278 . . . . . . . . 9 (𝑤 ∈ (𝐵 ∩ 𝒫 (𝑥 ∩ 𝑦)) ↔ (𝑤 ∈ 𝐵 ∧ 𝑤 ⊆ (𝑥 ∩ 𝑦)))
76anbi2i 635 . . . . . . . 8 ((𝑧 ∈ 𝑤 ∧ 𝑤 ∈ (𝐵 ∩ 𝒫 (𝑥 ∩ 𝑦))) ↔ (𝑧 ∈ 𝑤 ∧ (𝑤 ∈ 𝐵 ∧ 𝑤 ⊆ (𝑥 ∩ 𝑦))))
8 an12 658 . . . . . . . 8 ((𝑧 ∈ 𝑤 ∧ (𝑤 ∈ 𝐵 ∧ 𝑤 ⊆ (𝑥 ∩ 𝑦))) ↔ (𝑤 ∈ 𝐵 ∧ (𝑧 ∈ 𝑤 ∧ 𝑤 ⊆ (𝑥 ∩ 𝑦))))
97, 8bitri 278 . . . . . . 7 ((𝑧 ∈ 𝑤 ∧ 𝑤 ∈ (𝐵 ∩ 𝒫 (𝑥 ∩ 𝑦))) ↔ (𝑤 ∈ 𝐵 ∧ (𝑧 ∈ 𝑤 ∧ 𝑤 ⊆ (𝑥 ∩ 𝑦))))
109exbii 1881 . . . . . 6 (∃𝑤(𝑧 ∈ 𝑤 ∧ 𝑤 ∈ (𝐵 ∩ 𝒫 (𝑥 ∩ 𝑦))) ↔ ∃𝑤(𝑤 ∈ 𝐵 ∧ (𝑧 ∈ 𝑤 ∧ 𝑤 ⊆ (𝑥 ∩ 𝑦))))
11 eluni 4873 . . . . . 6 (𝑧 ∈ ∪ (𝐵 ∩ 𝒫 (𝑥 ∩ 𝑦)) ↔ ∃𝑤(𝑧 ∈ 𝑤 ∧ 𝑤 ∈ (𝐵 ∩ 𝒫 (𝑥 ∩ 𝑦))))
12 df-rex 3091 . . . . . 6 (∃𝑤 ∈ 𝐵 (𝑧 ∈ 𝑤 ∧ 𝑤 ⊆ (𝑥 ∩ 𝑦)) ↔ ∃𝑤(𝑤 ∈ 𝐵 ∧ (𝑧 ∈ 𝑤 ∧ 𝑤 ⊆ (𝑥 ∩ 𝑦))))
1310, 11, 123bitr4i 306 . . . . 5 (𝑧 ∈ ∪ (𝐵 ∩ 𝒫 (𝑥 ∩ 𝑦)) ↔ ∃𝑤 ∈ 𝐵 (𝑧 ∈ 𝑤 ∧ 𝑤 ⊆ (𝑥 ∩ 𝑦)))
1413ralbii 3112 . . . 4 (∀𝑧 ∈ (𝑥 ∩ 𝑦)𝑧 ∈ ∪ (𝐵 ∩ 𝒫 (𝑥 ∩ 𝑦)) ↔ ∀𝑧 ∈ (𝑥 ∩ 𝑦)∃𝑤 ∈ 𝐵 (𝑧 ∈ 𝑤 ∧ 𝑤 ⊆ (𝑥 ∩ 𝑦)))
152, 14bitri 278 . . 3 ((𝑥 ∩ 𝑦) ⊆ ∪ (𝐵 ∩ 𝒫 (𝑥 ∩ 𝑦)) ↔ ∀𝑧 ∈ (𝑥 ∩ 𝑦)∃𝑤 ∈ 𝐵 (𝑧 ∈ 𝑤 ∧ 𝑤 ⊆ (𝑥 ∩ 𝑦)))
16152ralbii 3141 . 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 1812   ∈ wcel 2147  ∀wral 3080  ∃wrex 3090   ⊆ wss 3900   ∩ cin 4092  𝒫 cpw 4560  ∪ cuni 4870  TopBasesctb 23296
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-ext 2735
This proof depends on definitions:  df-bi 210  df-an 402  df-tru 1573  df-ex 1813  df-sb 2102  df-clab 2742  df-cleq 2755  df-clel 2839  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-ss 3901  df-in 4094  df-pw 4562  df-uni 4871  df-bases 23297
This theorem is used by:  isbasis3g  23300  basis2  23302  fiinbas  23303  tgclb  23321  topbas  23323  restbas  23509  txbas  23919  blbas  24782
  Copyright terms: Public domain W3C validator