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

Theorem tgidm 23260
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 6886 . . . . 5 (topGen‘𝐵) ∈ V
2 eltg3 23242 . . . . 5 ((topGen‘𝐵) ∈ V → (𝑥 ∈ (topGen‘(topGen‘𝐵)) ↔ ∃𝑦(𝑦 ⊆ (topGen‘𝐵) ∧ 𝑥 = ∪ 𝑦)))
31, 2ax-mp 5 . . . 4 (𝑥 ∈ (topGen‘(topGen‘𝐵)) ↔ ∃𝑦(𝑦 ⊆ (topGen‘𝐵) ∧ 𝑥 = ∪ 𝑦))
4 uniiun 5016 . . . . . . . . . 10 ∪ 𝑦 = ∪ 𝑧 ∈ 𝑦 𝑧
5 simpr 490 . . . . . . . . . . . . 13 ((𝐵 ∈ 𝑉 ∧ 𝑦 ⊆ (topGen‘𝐵)) → 𝑦 ⊆ (topGen‘𝐵))
65sselda 3930 . . . . . . . . . . . 12 (((𝐵 ∈ 𝑉 ∧ 𝑦 ⊆ (topGen‘𝐵)) ∧ 𝑧 ∈ 𝑦) → 𝑧 ∈ (topGen‘𝐵))
7 eltg4i 23240 . . . . . . . . . . . 12 (𝑧 ∈ (topGen‘𝐵) → 𝑧 = ∪ (𝐵 ∩ 𝒫 𝑧))
86, 7syl 18 . . . . . . . . . . 11 (((𝐵 ∈ 𝑉 ∧ 𝑦 ⊆ (topGen‘𝐵)) ∧ 𝑧 ∈ 𝑦) → 𝑧 = ∪ (𝐵 ∩ 𝒫 𝑧))
98iuneq2dv 4975 . . . . . . . . . 10 ((𝐵 ∈ 𝑉 ∧ 𝑦 ⊆ (topGen‘𝐵)) → ∪ 𝑧 ∈ 𝑦 𝑧 = ∪ 𝑧 ∈ 𝑦 ∪ (𝐵 ∩ 𝒫 𝑧))
104, 9eqtrid 2807 . . . . . . . . 9 ((𝐵 ∈ 𝑉 ∧ 𝑦 ⊆ (topGen‘𝐵)) → ∪ 𝑦 = ∪ 𝑧 ∈ 𝑦 ∪ (𝐵 ∩ 𝒫 𝑧))
11 iuncom4 4959 . . . . . . . . 9 ∪ 𝑧 ∈ 𝑦 ∪ (𝐵 ∩ 𝒫 𝑧) = ∪ ∪ 𝑧 ∈ 𝑦 (𝐵 ∩ 𝒫 𝑧)
1210, 11eqtrdi 2811 . . . . . . . 8 ((𝐵 ∈ 𝑉 ∧ 𝑦 ⊆ (topGen‘𝐵)) → ∪ 𝑦 = ∪ ∪ 𝑧 ∈ 𝑦 (𝐵 ∩ 𝒫 𝑧))
13 inss1 4181 . . . . . . . . . . . 12 (𝐵 ∩ 𝒫 𝑧) ⊆ 𝐵
1413rgenw 3080 . . . . . . . . . . 11 ∀𝑧 ∈ 𝑦 (𝐵 ∩ 𝒫 𝑧) ⊆ 𝐵
15 iunss 5002 . . . . . . . . . . 11 (∪ 𝑧 ∈ 𝑦 (𝐵 ∩ 𝒫 𝑧) ⊆ 𝐵 ↔ ∀𝑧 ∈ 𝑦 (𝐵 ∩ 𝒫 𝑧) ⊆ 𝐵)
1614, 15mpbir 234 . . . . . . . . . 10 ∪ 𝑧 ∈ 𝑦 (𝐵 ∩ 𝒫 𝑧) ⊆ 𝐵
1716a1i 11 . . . . . . . . 9 (𝑦 ⊆ (topGen‘𝐵) → ∪ 𝑧 ∈ 𝑦 (𝐵 ∩ 𝒫 𝑧) ⊆ 𝐵)
18 eltg3i 23241 . . . . . . . . 9 ((𝐵 ∈ 𝑉 ∧ ∪ 𝑧 ∈ 𝑦 (𝐵 ∩ 𝒫 𝑧) ⊆ 𝐵) → ∪ ∪ 𝑧 ∈ 𝑦 (𝐵 ∩ 𝒫 𝑧) ∈ (topGen‘𝐵))
1917, 18sylan2 605 . . . . . . . 8 ((𝐵 ∈ 𝑉 ∧ 𝑦 ⊆ (topGen‘𝐵)) → ∪ ∪ 𝑧 ∈ 𝑦 (𝐵 ∩ 𝒫 𝑧) ∈ (topGen‘𝐵))
2012, 19eqeltrd 2860 . . . . . . 7 ((𝐵 ∈ 𝑉 ∧ 𝑦 ⊆ (topGen‘𝐵)) → ∪ 𝑦 ∈ (topGen‘𝐵))
21 eleq1 2848 . . . . . . 7 (𝑥 = ∪ 𝑦 → (𝑥 ∈ (topGen‘𝐵) ↔ ∪ 𝑦 ∈ (topGen‘𝐵)))
2220, 21syl5ibrcom 250 . . . . . 6 ((𝐵 ∈ 𝑉 ∧ 𝑦 ⊆ (topGen‘𝐵)) → (𝑥 = ∪ 𝑦 → 𝑥 ∈ (topGen‘𝐵)))
2322expimpd 459 . . . . 5 (𝐵 ∈ 𝑉 → ((𝑦 ⊆ (topGen‘𝐵) ∧ 𝑥 = ∪ 𝑦) → 𝑥 ∈ (topGen‘𝐵)))
2423exlimdv 1966 . . . 4 (𝐵 ∈ 𝑉 → (∃𝑦(𝑦 ⊆ (topGen‘𝐵) ∧ 𝑥 = ∪ 𝑦) → 𝑥 ∈ (topGen‘𝐵)))
253, 24biimtrid 245 . . 3 (𝐵 ∈ 𝑉 → (𝑥 ∈ (topGen‘(topGen‘𝐵)) → 𝑥 ∈ (topGen‘𝐵)))
2625ssrdv 3936 . 2 (𝐵 ∈ 𝑉 → (topGen‘(topGen‘𝐵)) ⊆ (topGen‘𝐵))
27 bastg 23246 . . 3 (𝐵 ∈ 𝑉 → 𝐵 ⊆ (topGen‘𝐵))
28 tgss 23248 . . 3 (((topGen‘𝐵) ∈ V ∧ 𝐵 ⊆ (topGen‘𝐵)) → (topGen‘𝐵) ⊆ (topGen‘(topGen‘𝐵)))
291, 27, 28sylancr 599 . 2 (𝐵 ∈ 𝑉 → (topGen‘𝐵) ⊆ (topGen‘(topGen‘𝐵)))
3026, 29eqssd 3947 1 (𝐵 ∈ 𝑉 → (topGen‘(topGen‘𝐵)) = (topGen‘𝐵))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1570  ∃wex 1812   ∈ wcel 2145  ∀wral 3076  Vcvv 3450   ∩ cin 3897   ⊆ wss 3898  𝒫 cpw 4556  ∪ cuni 4866  ∪ ciun 4950  ‘cfv 6527  topGenctg 17570
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2732  ax-sep 5248  ax-nul 5259  ax-pow 5326  ax-pr 5390  ax-un 7734
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-dif 3901  df-un 3903  df-in 3905  df-ss 3915  df-nul 4279  df-if 4482  df-pw 4558  df-sn 4584  df-pr 4586  df-op 4590  df-uni 4867  df-iun 4952  df-br 5103  df-opab 5167  df-mpt 5186  df-id 5542  df-xp 5653  df-rel 5654  df-cnv 5655  df-co 5656  df-dm 5657  df-iota 6483  df-fun 6529  df-fv 6535  df-topgen 17576
This theorem is used by:  tgss3  23266  txbasval  23887
  Copyright terms: Public domain W3C validator