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

Theorem tgidm 22465
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 6901 . . . . 5 (topGen‘𝐵) ∈ V
2 eltg3 22447 . . . . 5 ((topGen‘𝐵) ∈ V → (𝑥 ∈ (topGen‘(topGen‘𝐵)) ↔ ∃𝑦(𝑦 ⊆ (topGen‘𝐵) ∧ 𝑥 = 𝑦)))
31, 2ax-mp 5 . . . 4 (𝑥 ∈ (topGen‘(topGen‘𝐵)) ↔ ∃𝑦(𝑦 ⊆ (topGen‘𝐵) ∧ 𝑥 = 𝑦))
4 uniiun 5060 . . . . . . . . . 10 𝑦 = 𝑧𝑦 𝑧
5 simpr 486 . . . . . . . . . . . . 13 ((𝐵𝑉𝑦 ⊆ (topGen‘𝐵)) → 𝑦 ⊆ (topGen‘𝐵))
65sselda 3981 . . . . . . . . . . . 12 (((𝐵𝑉𝑦 ⊆ (topGen‘𝐵)) ∧ 𝑧𝑦) → 𝑧 ∈ (topGen‘𝐵))
7 eltg4i 22445 . . . . . . . . . . . 12 (𝑧 ∈ (topGen‘𝐵) → 𝑧 = (𝐵 ∩ 𝒫 𝑧))
86, 7syl 17 . . . . . . . . . . 11 (((𝐵𝑉𝑦 ⊆ (topGen‘𝐵)) ∧ 𝑧𝑦) → 𝑧 = (𝐵 ∩ 𝒫 𝑧))
98iuneq2dv 5020 . . . . . . . . . 10 ((𝐵𝑉𝑦 ⊆ (topGen‘𝐵)) → 𝑧𝑦 𝑧 = 𝑧𝑦 (𝐵 ∩ 𝒫 𝑧))
104, 9eqtrid 2785 . . . . . . . . 9 ((𝐵𝑉𝑦 ⊆ (topGen‘𝐵)) → 𝑦 = 𝑧𝑦 (𝐵 ∩ 𝒫 𝑧))
11 iuncom4 5004 . . . . . . . . 9 𝑧𝑦 (𝐵 ∩ 𝒫 𝑧) = 𝑧𝑦 (𝐵 ∩ 𝒫 𝑧)
1210, 11eqtrdi 2789 . . . . . . . 8 ((𝐵𝑉𝑦 ⊆ (topGen‘𝐵)) → 𝑦 = 𝑧𝑦 (𝐵 ∩ 𝒫 𝑧))
13 inss1 4227 . . . . . . . . . . . 12 (𝐵 ∩ 𝒫 𝑧) ⊆ 𝐵
1413rgenw 3066 . . . . . . . . . . 11 𝑧𝑦 (𝐵 ∩ 𝒫 𝑧) ⊆ 𝐵
15 iunss 5047 . . . . . . . . . . 11 ( 𝑧𝑦 (𝐵 ∩ 𝒫 𝑧) ⊆ 𝐵 ↔ ∀𝑧𝑦 (𝐵 ∩ 𝒫 𝑧) ⊆ 𝐵)
1614, 15mpbir 230 . . . . . . . . . 10 𝑧𝑦 (𝐵 ∩ 𝒫 𝑧) ⊆ 𝐵
1716a1i 11 . . . . . . . . 9 (𝑦 ⊆ (topGen‘𝐵) → 𝑧𝑦 (𝐵 ∩ 𝒫 𝑧) ⊆ 𝐵)
18 eltg3i 22446 . . . . . . . . 9 ((𝐵𝑉 𝑧𝑦 (𝐵 ∩ 𝒫 𝑧) ⊆ 𝐵) → 𝑧𝑦 (𝐵 ∩ 𝒫 𝑧) ∈ (topGen‘𝐵))
1917, 18sylan2 594 . . . . . . . 8 ((𝐵𝑉𝑦 ⊆ (topGen‘𝐵)) → 𝑧𝑦 (𝐵 ∩ 𝒫 𝑧) ∈ (topGen‘𝐵))
2012, 19eqeltrd 2834 . . . . . . 7 ((𝐵𝑉𝑦 ⊆ (topGen‘𝐵)) → 𝑦 ∈ (topGen‘𝐵))
21 eleq1 2822 . . . . . . 7 (𝑥 = 𝑦 → (𝑥 ∈ (topGen‘𝐵) ↔ 𝑦 ∈ (topGen‘𝐵)))
2220, 21syl5ibrcom 246 . . . . . 6 ((𝐵𝑉𝑦 ⊆ (topGen‘𝐵)) → (𝑥 = 𝑦𝑥 ∈ (topGen‘𝐵)))
2322expimpd 455 . . . . 5 (𝐵𝑉 → ((𝑦 ⊆ (topGen‘𝐵) ∧ 𝑥 = 𝑦) → 𝑥 ∈ (topGen‘𝐵)))
2423exlimdv 1937 . . . 4 (𝐵𝑉 → (∃𝑦(𝑦 ⊆ (topGen‘𝐵) ∧ 𝑥 = 𝑦) → 𝑥 ∈ (topGen‘𝐵)))
253, 24biimtrid 241 . . 3 (𝐵𝑉 → (𝑥 ∈ (topGen‘(topGen‘𝐵)) → 𝑥 ∈ (topGen‘𝐵)))
2625ssrdv 3987 . 2 (𝐵𝑉 → (topGen‘(topGen‘𝐵)) ⊆ (topGen‘𝐵))
27 bastg 22451 . . 3 (𝐵𝑉𝐵 ⊆ (topGen‘𝐵))
28 tgss 22453 . . 3 (((topGen‘𝐵) ∈ V ∧ 𝐵 ⊆ (topGen‘𝐵)) → (topGen‘𝐵) ⊆ (topGen‘(topGen‘𝐵)))
291, 27, 28sylancr 588 . 2 (𝐵𝑉 → (topGen‘𝐵) ⊆ (topGen‘(topGen‘𝐵)))
3026, 29eqssd 3998 1 (𝐵𝑉 → (topGen‘(topGen‘𝐵)) = (topGen‘𝐵))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 397   = wceq 1542  wex 1782  wcel 2107  wral 3062  Vcvv 3475  cin 3946  wss 3947  𝒫 cpw 4601   cuni 4907   ciun 4996  cfv 6540  topGenctg 17379
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 1914  ax-6 1972  ax-7 2012  ax-8 2109  ax-9 2117  ax-10 2138  ax-11 2155  ax-12 2172  ax-ext 2704  ax-sep 5298  ax-nul 5305  ax-pow 5362  ax-pr 5426  ax-un 7720
This theorem depends on definitions:  df-bi 206  df-an 398  df-or 847  df-3an 1090  df-tru 1545  df-fal 1555  df-ex 1783  df-nf 1787  df-sb 2069  df-mo 2535  df-eu 2564  df-clab 2711  df-cleq 2725  df-clel 2811  df-nfc 2886  df-ne 2942  df-ral 3063  df-rex 3072  df-rab 3434  df-v 3477  df-dif 3950  df-un 3952  df-in 3954  df-ss 3964  df-nul 4322  df-if 4528  df-pw 4603  df-sn 4628  df-pr 4630  df-op 4634  df-uni 4908  df-iun 4998  df-br 5148  df-opab 5210  df-mpt 5231  df-id 5573  df-xp 5681  df-rel 5682  df-cnv 5683  df-co 5684  df-dm 5685  df-iota 6492  df-fun 6542  df-fv 6548  df-topgen 17385
This theorem is referenced by:  tgss3  22471  txbasval  23092
  Copyright terms: Public domain W3C validator