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

Theorem tgidm 21585
Description: The topology generator function is idempotent. (Contributed by NM, 18-Jul-2006.) (Revised by Mario Carneiro, 2-Sep-2015.)
Assertion
Ref Expression
tgidm (𝐵𝑉 → (topGen‘(topGen‘𝐵)) = (topGen‘𝐵))

Proof of Theorem tgidm
Dummy variables 𝑥 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 fvex 6658 . . . . 5 (topGen‘𝐵) ∈ V
2 eltg3 21567 . . . . 5 ((topGen‘𝐵) ∈ V → (𝑥 ∈ (topGen‘(topGen‘𝐵)) ↔ ∃𝑦(𝑦 ⊆ (topGen‘𝐵) ∧ 𝑥 = 𝑦)))
31, 2ax-mp 5 . . . 4 (𝑥 ∈ (topGen‘(topGen‘𝐵)) ↔ ∃𝑦(𝑦 ⊆ (topGen‘𝐵) ∧ 𝑥 = 𝑦))
4 uniiun 4945 . . . . . . . . . 10 𝑦 = 𝑧𝑦 𝑧
5 simpr 488 . . . . . . . . . . . . 13 ((𝐵𝑉𝑦 ⊆ (topGen‘𝐵)) → 𝑦 ⊆ (topGen‘𝐵))
65sselda 3915 . . . . . . . . . . . 12 (((𝐵𝑉𝑦 ⊆ (topGen‘𝐵)) ∧ 𝑧𝑦) → 𝑧 ∈ (topGen‘𝐵))
7 eltg4i 21565 . . . . . . . . . . . 12 (𝑧 ∈ (topGen‘𝐵) → 𝑧 = (𝐵 ∩ 𝒫 𝑧))
86, 7syl 17 . . . . . . . . . . 11 (((𝐵𝑉𝑦 ⊆ (topGen‘𝐵)) ∧ 𝑧𝑦) → 𝑧 = (𝐵 ∩ 𝒫 𝑧))
98iuneq2dv 4905 . . . . . . . . . 10 ((𝐵𝑉𝑦 ⊆ (topGen‘𝐵)) → 𝑧𝑦 𝑧 = 𝑧𝑦 (𝐵 ∩ 𝒫 𝑧))
104, 9syl5eq 2845 . . . . . . . . 9 ((𝐵𝑉𝑦 ⊆ (topGen‘𝐵)) → 𝑦 = 𝑧𝑦 (𝐵 ∩ 𝒫 𝑧))
11 iuncom4 4889 . . . . . . . . 9 𝑧𝑦 (𝐵 ∩ 𝒫 𝑧) = 𝑧𝑦 (𝐵 ∩ 𝒫 𝑧)
1210, 11eqtrdi 2849 . . . . . . . 8 ((𝐵𝑉𝑦 ⊆ (topGen‘𝐵)) → 𝑦 = 𝑧𝑦 (𝐵 ∩ 𝒫 𝑧))
13 inss1 4155 . . . . . . . . . . . 12 (𝐵 ∩ 𝒫 𝑧) ⊆ 𝐵
1413rgenw 3118 . . . . . . . . . . 11 𝑧𝑦 (𝐵 ∩ 𝒫 𝑧) ⊆ 𝐵
15 iunss 4932 . . . . . . . . . . 11 ( 𝑧𝑦 (𝐵 ∩ 𝒫 𝑧) ⊆ 𝐵 ↔ ∀𝑧𝑦 (𝐵 ∩ 𝒫 𝑧) ⊆ 𝐵)
1614, 15mpbir 234 . . . . . . . . . 10 𝑧𝑦 (𝐵 ∩ 𝒫 𝑧) ⊆ 𝐵
1716a1i 11 . . . . . . . . 9 (𝑦 ⊆ (topGen‘𝐵) → 𝑧𝑦 (𝐵 ∩ 𝒫 𝑧) ⊆ 𝐵)
18 eltg3i 21566 . . . . . . . . 9 ((𝐵𝑉 𝑧𝑦 (𝐵 ∩ 𝒫 𝑧) ⊆ 𝐵) → 𝑧𝑦 (𝐵 ∩ 𝒫 𝑧) ∈ (topGen‘𝐵))
1917, 18sylan2 595 . . . . . . . 8 ((𝐵𝑉𝑦 ⊆ (topGen‘𝐵)) → 𝑧𝑦 (𝐵 ∩ 𝒫 𝑧) ∈ (topGen‘𝐵))
2012, 19eqeltrd 2890 . . . . . . 7 ((𝐵𝑉𝑦 ⊆ (topGen‘𝐵)) → 𝑦 ∈ (topGen‘𝐵))
21 eleq1 2877 . . . . . . 7 (𝑥 = 𝑦 → (𝑥 ∈ (topGen‘𝐵) ↔ 𝑦 ∈ (topGen‘𝐵)))
2220, 21syl5ibrcom 250 . . . . . 6 ((𝐵𝑉𝑦 ⊆ (topGen‘𝐵)) → (𝑥 = 𝑦𝑥 ∈ (topGen‘𝐵)))
2322expimpd 457 . . . . 5 (𝐵𝑉 → ((𝑦 ⊆ (topGen‘𝐵) ∧ 𝑥 = 𝑦) → 𝑥 ∈ (topGen‘𝐵)))
2423exlimdv 1934 . . . 4 (𝐵𝑉 → (∃𝑦(𝑦 ⊆ (topGen‘𝐵) ∧ 𝑥 = 𝑦) → 𝑥 ∈ (topGen‘𝐵)))
253, 24syl5bi 245 . . 3 (𝐵𝑉 → (𝑥 ∈ (topGen‘(topGen‘𝐵)) → 𝑥 ∈ (topGen‘𝐵)))
2625ssrdv 3921 . 2 (𝐵𝑉 → (topGen‘(topGen‘𝐵)) ⊆ (topGen‘𝐵))
27 bastg 21571 . . 3 (𝐵𝑉𝐵 ⊆ (topGen‘𝐵))
28 tgss 21573 . . 3 (((topGen‘𝐵) ∈ V ∧ 𝐵 ⊆ (topGen‘𝐵)) → (topGen‘𝐵) ⊆ (topGen‘(topGen‘𝐵)))
291, 27, 28sylancr 590 . 2 (𝐵𝑉 → (topGen‘𝐵) ⊆ (topGen‘(topGen‘𝐵)))
3026, 29eqssd 3932 1 (𝐵𝑉 → (topGen‘(topGen‘𝐵)) = (topGen‘𝐵))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399   = wceq 1538  wex 1781  wcel 2111  wral 3106  Vcvv 3441  cin 3880  wss 3881  𝒫 cpw 4497   cuni 4800   ciun 4881  cfv 6324  topGenctg 16703
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770  ax-sep 5167  ax-nul 5174  ax-pow 5231  ax-pr 5295  ax-un 7441
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2598  df-eu 2629  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-ral 3111  df-rex 3112  df-rab 3115  df-v 3443  df-sbc 3721  df-dif 3884  df-un 3886  df-in 3888  df-ss 3898  df-nul 4244  df-if 4426  df-pw 4499  df-sn 4526  df-pr 4528  df-op 4532  df-uni 4801  df-iun 4883  df-br 5031  df-opab 5093  df-mpt 5111  df-id 5425  df-xp 5525  df-rel 5526  df-cnv 5527  df-co 5528  df-dm 5529  df-iota 6283  df-fun 6326  df-fv 6332  df-topgen 16709
This theorem is referenced by:  tgss3  21591  txbasval  22211
  Copyright terms: Public domain W3C validator