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

Theorem baspartn 22012
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 4552 . . . . . . . . 9 (𝑥𝑃𝑥 ∈ 𝒫 𝑥)
31, 2elind 4124 . . . . . . . 8 (𝑥𝑃𝑥 ∈ (𝑃 ∩ 𝒫 𝑥))
4 elssuni 4868 . . . . . . . 8 (𝑥 ∈ (𝑃 ∩ 𝒫 𝑥) → 𝑥 (𝑃 ∩ 𝒫 𝑥))
53, 4syl 17 . . . . . . 7 (𝑥𝑃𝑥 (𝑃 ∩ 𝒫 𝑥))
6 inidm 4149 . . . . . . . . 9 (𝑥𝑥) = 𝑥
7 ineq2 4137 . . . . . . . . 9 (𝑥 = 𝑦 → (𝑥𝑥) = (𝑥𝑦))
86, 7eqtr3id 2793 . . . . . . . 8 (𝑥 = 𝑦𝑥 = (𝑥𝑦))
98pweqd 4549 . . . . . . . . . 10 (𝑥 = 𝑦 → 𝒫 𝑥 = 𝒫 (𝑥𝑦))
109ineq2d 4143 . . . . . . . . 9 (𝑥 = 𝑦 → (𝑃 ∩ 𝒫 𝑥) = (𝑃 ∩ 𝒫 (𝑥𝑦)))
1110unieqd 4850 . . . . . . . 8 (𝑥 = 𝑦 (𝑃 ∩ 𝒫 𝑥) = (𝑃 ∩ 𝒫 (𝑥𝑦)))
128, 11sseq12d 3950 . . . . . . 7 (𝑥 = 𝑦 → (𝑥 (𝑃 ∩ 𝒫 𝑥) ↔ (𝑥𝑦) ⊆ (𝑃 ∩ 𝒫 (𝑥𝑦))))
135, 12syl5ibcom 244 . . . . . 6 (𝑥𝑃 → (𝑥 = 𝑦 → (𝑥𝑦) ⊆ (𝑃 ∩ 𝒫 (𝑥𝑦))))
14 0ss 4327 . . . . . . . 8 ∅ ⊆ (𝑃 ∩ 𝒫 (𝑥𝑦))
15 sseq1 3942 . . . . . . . 8 ((𝑥𝑦) = ∅ → ((𝑥𝑦) ⊆ (𝑃 ∩ 𝒫 (𝑥𝑦)) ↔ ∅ ⊆ (𝑃 ∩ 𝒫 (𝑥𝑦))))
1614, 15mpbiri 257 . . . . . . 7 ((𝑥𝑦) = ∅ → (𝑥𝑦) ⊆ (𝑃 ∩ 𝒫 (𝑥𝑦)))
1716a1i 11 . . . . . 6 (𝑥𝑃 → ((𝑥𝑦) = ∅ → (𝑥𝑦) ⊆ (𝑃 ∩ 𝒫 (𝑥𝑦))))
1813, 17jaod 855 . . . . 5 (𝑥𝑃 → ((𝑥 = 𝑦 ∨ (𝑥𝑦) = ∅) → (𝑥𝑦) ⊆ (𝑃 ∩ 𝒫 (𝑥𝑦))))
1918ralimdv 3103 . . . 4 (𝑥𝑃 → (∀𝑦𝑃 (𝑥 = 𝑦 ∨ (𝑥𝑦) = ∅) → ∀𝑦𝑃 (𝑥𝑦) ⊆ (𝑃 ∩ 𝒫 (𝑥𝑦))))
2019ralimia 3084 . . 3 (∀𝑥𝑃𝑦𝑃 (𝑥 = 𝑦 ∨ (𝑥𝑦) = ∅) → ∀𝑥𝑃𝑦𝑃 (𝑥𝑦) ⊆ (𝑃 ∩ 𝒫 (𝑥𝑦)))
2120adantl 481 . 2 ((𝑃𝑉 ∧ ∀𝑥𝑃𝑦𝑃 (𝑥 = 𝑦 ∨ (𝑥𝑦) = ∅)) → ∀𝑥𝑃𝑦𝑃 (𝑥𝑦) ⊆ (𝑃 ∩ 𝒫 (𝑥𝑦)))
22 isbasisg 22005 . . 3 (𝑃𝑉 → (𝑃 ∈ TopBases ↔ ∀𝑥𝑃𝑦𝑃 (𝑥𝑦) ⊆ (𝑃 ∩ 𝒫 (𝑥𝑦))))
2322adantr 480 . 2 ((𝑃𝑉 ∧ ∀𝑥𝑃𝑦𝑃 (𝑥 = 𝑦 ∨ (𝑥𝑦) = ∅)) → (𝑃 ∈ TopBases ↔ ∀𝑥𝑃𝑦𝑃 (𝑥𝑦) ⊆ (𝑃 ∩ 𝒫 (𝑥𝑦))))
2421, 23mpbird 256 1 ((𝑃𝑉 ∧ ∀𝑥𝑃𝑦𝑃 (𝑥 = 𝑦 ∨ (𝑥𝑦) = ∅)) → 𝑃 ∈ TopBases)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  wo 843   = wceq 1539  wcel 2108  wral 3063  cin 3882  wss 3883  c0 4253  𝒫 cpw 4530   cuni 4836  TopBasesctb 22003
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-tru 1542  df-fal 1552  df-ex 1784  df-sb 2069  df-clab 2716  df-cleq 2730  df-clel 2817  df-ral 3068  df-rab 3072  df-v 3424  df-dif 3886  df-in 3890  df-ss 3900  df-nul 4254  df-pw 4532  df-uni 4837  df-bases 22004
This theorem is referenced by:  kelac2lem  40805
  Copyright terms: Public domain W3C validator