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

Theorem baspartn 22104
Description: A disjoint system of sets is a basis for a topology. (Contributed by Stefan O'Rear, 22-Feb-2015.)
Assertion
Ref Expression
baspartn ((𝑃𝑉 ∧ ∀𝑥𝑃𝑦𝑃 (𝑥 = 𝑦 ∨ (𝑥𝑦) = ∅)) → 𝑃 ∈ TopBases)
Distinct variable group:   𝑥,𝑃,𝑦
Allowed substitution hints:   𝑉(𝑥,𝑦)

Proof of Theorem baspartn
StepHypRef Expression
1 id 22 . . . . . . . . 9 (𝑥𝑃𝑥𝑃)
2 pwidg 4555 . . . . . . . . 9 (𝑥𝑃𝑥 ∈ 𝒫 𝑥)
31, 2elind 4128 . . . . . . . 8 (𝑥𝑃𝑥 ∈ (𝑃 ∩ 𝒫 𝑥))
4 elssuni 4871 . . . . . . . 8 (𝑥 ∈ (𝑃 ∩ 𝒫 𝑥) → 𝑥 (𝑃 ∩ 𝒫 𝑥))
53, 4syl 17 . . . . . . 7 (𝑥𝑃𝑥 (𝑃 ∩ 𝒫 𝑥))
6 inidm 4152 . . . . . . . . 9 (𝑥𝑥) = 𝑥
7 ineq2 4140 . . . . . . . . 9 (𝑥 = 𝑦 → (𝑥𝑥) = (𝑥𝑦))
86, 7eqtr3id 2792 . . . . . . . 8 (𝑥 = 𝑦𝑥 = (𝑥𝑦))
98pweqd 4552 . . . . . . . . . 10 (𝑥 = 𝑦 → 𝒫 𝑥 = 𝒫 (𝑥𝑦))
109ineq2d 4146 . . . . . . . . 9 (𝑥 = 𝑦 → (𝑃 ∩ 𝒫 𝑥) = (𝑃 ∩ 𝒫 (𝑥𝑦)))
1110unieqd 4853 . . . . . . . 8 (𝑥 = 𝑦 (𝑃 ∩ 𝒫 𝑥) = (𝑃 ∩ 𝒫 (𝑥𝑦)))
128, 11sseq12d 3954 . . . . . . 7 (𝑥 = 𝑦 → (𝑥 (𝑃 ∩ 𝒫 𝑥) ↔ (𝑥𝑦) ⊆ (𝑃 ∩ 𝒫 (𝑥𝑦))))
135, 12syl5ibcom 244 . . . . . 6 (𝑥𝑃 → (𝑥 = 𝑦 → (𝑥𝑦) ⊆ (𝑃 ∩ 𝒫 (𝑥𝑦))))
14 0ss 4330 . . . . . . . 8 ∅ ⊆ (𝑃 ∩ 𝒫 (𝑥𝑦))
15 sseq1 3946 . . . . . . . 8 ((𝑥𝑦) = ∅ → ((𝑥𝑦) ⊆ (𝑃 ∩ 𝒫 (𝑥𝑦)) ↔ ∅ ⊆ (𝑃 ∩ 𝒫 (𝑥𝑦))))
1614, 15mpbiri 257 . . . . . . 7 ((𝑥𝑦) = ∅ → (𝑥𝑦) ⊆ (𝑃 ∩ 𝒫 (𝑥𝑦)))
1716a1i 11 . . . . . 6 (𝑥𝑃 → ((𝑥𝑦) = ∅ → (𝑥𝑦) ⊆ (𝑃 ∩ 𝒫 (𝑥𝑦))))
1813, 17jaod 856 . . . . 5 (𝑥𝑃 → ((𝑥 = 𝑦 ∨ (𝑥𝑦) = ∅) → (𝑥𝑦) ⊆ (𝑃 ∩ 𝒫 (𝑥𝑦))))
1918ralimdv 3109 . . . 4 (𝑥𝑃 → (∀𝑦𝑃 (𝑥 = 𝑦 ∨ (𝑥𝑦) = ∅) → ∀𝑦𝑃 (𝑥𝑦) ⊆ (𝑃 ∩ 𝒫 (𝑥𝑦))))
2019ralimia 3085 . . 3 (∀𝑥𝑃𝑦𝑃 (𝑥 = 𝑦 ∨ (𝑥𝑦) = ∅) → ∀𝑥𝑃𝑦𝑃 (𝑥𝑦) ⊆ (𝑃 ∩ 𝒫 (𝑥𝑦)))
2120adantl 482 . 2 ((𝑃𝑉 ∧ ∀𝑥𝑃𝑦𝑃 (𝑥 = 𝑦 ∨ (𝑥𝑦) = ∅)) → ∀𝑥𝑃𝑦𝑃 (𝑥𝑦) ⊆ (𝑃 ∩ 𝒫 (𝑥𝑦)))
22 isbasisg 22097 . . 3 (𝑃𝑉 → (𝑃 ∈ TopBases ↔ ∀𝑥𝑃𝑦𝑃 (𝑥𝑦) ⊆ (𝑃 ∩ 𝒫 (𝑥𝑦))))
2322adantr 481 . 2 ((𝑃𝑉 ∧ ∀𝑥𝑃𝑦𝑃 (𝑥 = 𝑦 ∨ (𝑥𝑦) = ∅)) → (𝑃 ∈ TopBases ↔ ∀𝑥𝑃𝑦𝑃 (𝑥𝑦) ⊆ (𝑃 ∩ 𝒫 (𝑥𝑦))))
2421, 23mpbird 256 1 ((𝑃𝑉 ∧ ∀𝑥𝑃𝑦𝑃 (𝑥 = 𝑦 ∨ (𝑥𝑦) = ∅)) → 𝑃 ∈ TopBases)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396  wo 844   = wceq 1539  wcel 2106  wral 3064  cin 3886  wss 3887  c0 4256  𝒫 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-or 845  df-tru 1542  df-fal 1552  df-ex 1783  df-sb 2068  df-clab 2716  df-cleq 2730  df-clel 2816  df-ral 3069  df-rab 3073  df-v 3434  df-dif 3890  df-in 3894  df-ss 3904  df-nul 4257  df-pw 4535  df-uni 4840  df-bases 22096
This theorem is referenced by:  kelac2lem  40889
  Copyright terms: Public domain W3C validator