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

Theorem baspartn 21851
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 4535 . . . . . . . . 9 (𝑥𝑃𝑥 ∈ 𝒫 𝑥)
31, 2elind 4108 . . . . . . . 8 (𝑥𝑃𝑥 ∈ (𝑃 ∩ 𝒫 𝑥))
4 elssuni 4851 . . . . . . . 8 (𝑥 ∈ (𝑃 ∩ 𝒫 𝑥) → 𝑥 (𝑃 ∩ 𝒫 𝑥))
53, 4syl 17 . . . . . . 7 (𝑥𝑃𝑥 (𝑃 ∩ 𝒫 𝑥))
6 inidm 4133 . . . . . . . . 9 (𝑥𝑥) = 𝑥
7 ineq2 4121 . . . . . . . . 9 (𝑥 = 𝑦 → (𝑥𝑥) = (𝑥𝑦))
86, 7eqtr3id 2792 . . . . . . . 8 (𝑥 = 𝑦𝑥 = (𝑥𝑦))
98pweqd 4532 . . . . . . . . . 10 (𝑥 = 𝑦 → 𝒫 𝑥 = 𝒫 (𝑥𝑦))
109ineq2d 4127 . . . . . . . . 9 (𝑥 = 𝑦 → (𝑃 ∩ 𝒫 𝑥) = (𝑃 ∩ 𝒫 (𝑥𝑦)))
1110unieqd 4833 . . . . . . . 8 (𝑥 = 𝑦 (𝑃 ∩ 𝒫 𝑥) = (𝑃 ∩ 𝒫 (𝑥𝑦)))
128, 11sseq12d 3934 . . . . . . 7 (𝑥 = 𝑦 → (𝑥 (𝑃 ∩ 𝒫 𝑥) ↔ (𝑥𝑦) ⊆ (𝑃 ∩ 𝒫 (𝑥𝑦))))
135, 12syl5ibcom 248 . . . . . 6 (𝑥𝑃 → (𝑥 = 𝑦 → (𝑥𝑦) ⊆ (𝑃 ∩ 𝒫 (𝑥𝑦))))
14 0ss 4311 . . . . . . . 8 ∅ ⊆ (𝑃 ∩ 𝒫 (𝑥𝑦))
15 sseq1 3926 . . . . . . . 8 ((𝑥𝑦) = ∅ → ((𝑥𝑦) ⊆ (𝑃 ∩ 𝒫 (𝑥𝑦)) ↔ ∅ ⊆ (𝑃 ∩ 𝒫 (𝑥𝑦))))
1614, 15mpbiri 261 . . . . . . 7 ((𝑥𝑦) = ∅ → (𝑥𝑦) ⊆ (𝑃 ∩ 𝒫 (𝑥𝑦)))
1716a1i 11 . . . . . 6 (𝑥𝑃 → ((𝑥𝑦) = ∅ → (𝑥𝑦) ⊆ (𝑃 ∩ 𝒫 (𝑥𝑦))))
1813, 17jaod 859 . . . . 5 (𝑥𝑃 → ((𝑥 = 𝑦 ∨ (𝑥𝑦) = ∅) → (𝑥𝑦) ⊆ (𝑃 ∩ 𝒫 (𝑥𝑦))))
1918ralimdv 3101 . . . 4 (𝑥𝑃 → (∀𝑦𝑃 (𝑥 = 𝑦 ∨ (𝑥𝑦) = ∅) → ∀𝑦𝑃 (𝑥𝑦) ⊆ (𝑃 ∩ 𝒫 (𝑥𝑦))))
2019ralimia 3081 . . 3 (∀𝑥𝑃𝑦𝑃 (𝑥 = 𝑦 ∨ (𝑥𝑦) = ∅) → ∀𝑥𝑃𝑦𝑃 (𝑥𝑦) ⊆ (𝑃 ∩ 𝒫 (𝑥𝑦)))
2120adantl 485 . 2 ((𝑃𝑉 ∧ ∀𝑥𝑃𝑦𝑃 (𝑥 = 𝑦 ∨ (𝑥𝑦) = ∅)) → ∀𝑥𝑃𝑦𝑃 (𝑥𝑦) ⊆ (𝑃 ∩ 𝒫 (𝑥𝑦)))
22 isbasisg 21844 . . 3 (𝑃𝑉 → (𝑃 ∈ TopBases ↔ ∀𝑥𝑃𝑦𝑃 (𝑥𝑦) ⊆ (𝑃 ∩ 𝒫 (𝑥𝑦))))
2322adantr 484 . 2 ((𝑃𝑉 ∧ ∀𝑥𝑃𝑦𝑃 (𝑥 = 𝑦 ∨ (𝑥𝑦) = ∅)) → (𝑃 ∈ TopBases ↔ ∀𝑥𝑃𝑦𝑃 (𝑥𝑦) ⊆ (𝑃 ∩ 𝒫 (𝑥𝑦))))
2421, 23mpbird 260 1 ((𝑃𝑉 ∧ ∀𝑥𝑃𝑦𝑃 (𝑥 = 𝑦 ∨ (𝑥𝑦) = ∅)) → 𝑃 ∈ TopBases)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399  wo 847   = wceq 1543  wcel 2110  wral 3061  cin 3865  wss 3866  c0 4237  𝒫 cpw 4513   cuni 4819  TopBasesctb 21842
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2016  ax-8 2112  ax-9 2120  ax-ext 2708
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-tru 1546  df-fal 1556  df-ex 1788  df-sb 2071  df-clab 2715  df-cleq 2729  df-clel 2816  df-ral 3066  df-rab 3070  df-v 3410  df-dif 3869  df-in 3873  df-ss 3883  df-nul 4238  df-pw 4515  df-uni 4820  df-bases 21843
This theorem is referenced by:  kelac2lem  40592
  Copyright terms: Public domain W3C validator