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

Theorem tgidm 23370
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 6933 . . . . 5 (topGen‘𝐵) ∈ V
2 eltg3 23352 . . . . 5 ((topGen‘𝐵) ∈ V → (𝑥 ∈ (topGen‘(topGen‘𝐵)) ↔ ∃𝑦(𝑦 ⊆ (topGen‘𝐵) ∧ 𝑥 = ∪ 𝑦)))
31, 2ax-mp 5 . . . 4 (𝑥 ∈ (topGen‘(topGen‘𝐵)) ↔ ∃𝑦(𝑦 ⊆ (topGen‘𝐵) ∧ 𝑥 = ∪ 𝑦))
4 uniiun 5025 . . . . . . . . . 10 ∪ 𝑦 = ∪ 𝑧 ∈ 𝑦 𝑧
5 simpr 490 . . . . . . . . . . . . 13 ((𝐵 ∈ 𝑉 ∧ 𝑦 ⊆ (topGen‘𝐵)) → 𝑦 ⊆ (topGen‘𝐵))
65sselda 3915 . . . . . . . . . . . 12 (((𝐵 ∈ 𝑉 ∧ 𝑦 ⊆ (topGen‘𝐵)) ∧ 𝑧 ∈ 𝑦) → 𝑧 ∈ (topGen‘𝐵))
7 eltg4i 23350 . . . . . . . . . . . 12 (𝑧 ∈ (topGen‘𝐵) → 𝑧 = ∪ (𝐵 ∩ 𝒫 𝑧))
86, 7syl 18 . . . . . . . . . . 11 (((𝐵 ∈ 𝑉 ∧ 𝑦 ⊆ (topGen‘𝐵)) ∧ 𝑧 ∈ 𝑦) → 𝑧 = ∪ (𝐵 ∩ 𝒫 𝑧))
98iuneq2dv 4984 . . . . . . . . . 10 ((𝐵 ∈ 𝑉 ∧ 𝑦 ⊆ (topGen‘𝐵)) → ∪ 𝑧 ∈ 𝑦 𝑧 = ∪ 𝑧 ∈ 𝑦 ∪ (𝐵 ∩ 𝒫 𝑧))
104, 9eqtrid 2816 . . . . . . . . 9 ((𝐵 ∈ 𝑉 ∧ 𝑦 ⊆ (topGen‘𝐵)) → ∪ 𝑦 = ∪ 𝑧 ∈ 𝑦 ∪ (𝐵 ∩ 𝒫 𝑧))
11 iuncom4 4968 . . . . . . . . 9 ∪ 𝑧 ∈ 𝑦 ∪ (𝐵 ∩ 𝒫 𝑧) = ∪ ∪ 𝑧 ∈ 𝑦 (𝐵 ∩ 𝒫 𝑧)
1210, 11eqtrdi 2820 . . . . . . . 8 ((𝐵 ∈ 𝑉 ∧ 𝑦 ⊆ (topGen‘𝐵)) → ∪ 𝑦 = ∪ ∪ 𝑧 ∈ 𝑦 (𝐵 ∩ 𝒫 𝑧))
13 inss1 4138 . . . . . . . . . . . 12 (𝐵 ∩ 𝒫 𝑧) ⊆ 𝐵
1413rgenw 3090 . . . . . . . . . . 11 ∀𝑧 ∈ 𝑦 (𝐵 ∩ 𝒫 𝑧) ⊆ 𝐵
15 iunss 5011 . . . . . . . . . . 11 (∪ 𝑧 ∈ 𝑦 (𝐵 ∩ 𝒫 𝑧) ⊆ 𝐵 ↔ ∀𝑧 ∈ 𝑦 (𝐵 ∩ 𝒫 𝑧) ⊆ 𝐵)
1614, 15mpbir 234 . . . . . . . . . 10 ∪ 𝑧 ∈ 𝑦 (𝐵 ∩ 𝒫 𝑧) ⊆ 𝐵
1716a1i 11 . . . . . . . . 9 (𝑦 ⊆ (topGen‘𝐵) → ∪ 𝑧 ∈ 𝑦 (𝐵 ∩ 𝒫 𝑧) ⊆ 𝐵)
18 eltg3i 23351 . . . . . . . . 9 ((𝐵 ∈ 𝑉 ∧ ∪ 𝑧 ∈ 𝑦 (𝐵 ∩ 𝒫 𝑧) ⊆ 𝐵) → ∪ ∪ 𝑧 ∈ 𝑦 (𝐵 ∩ 𝒫 𝑧) ∈ (topGen‘𝐵))
1917, 18sylan2 605 . . . . . . . 8 ((𝐵 ∈ 𝑉 ∧ 𝑦 ⊆ (topGen‘𝐵)) → ∪ ∪ 𝑧 ∈ 𝑦 (𝐵 ∩ 𝒫 𝑧) ∈ (topGen‘𝐵))
2012, 19eqeltrd 2870 . . . . . . 7 ((𝐵 ∈ 𝑉 ∧ 𝑦 ⊆ (topGen‘𝐵)) → ∪ 𝑦 ∈ (topGen‘𝐵))
21 eleq1 2858 . . . . . . 7 (𝑥 = ∪ 𝑦 → (𝑥 ∈ (topGen‘𝐵) ↔ ∪ 𝑦 ∈ (topGen‘𝐵)))
2220, 21syl5ibrcom 250 . . . . . 6 ((𝐵 ∈ 𝑉 ∧ 𝑦 ⊆ (topGen‘𝐵)) → (𝑥 = ∪ 𝑦 → 𝑥 ∈ (topGen‘𝐵)))
2322expimpd 459 . . . . 5 (𝐵 ∈ 𝑉 → ((𝑦 ⊆ (topGen‘𝐵) ∧ 𝑥 = ∪ 𝑦) → 𝑥 ∈ (topGen‘𝐵)))
2423exlimdv 1970 . . . 4 (𝐵 ∈ 𝑉 → (∃𝑦(𝑦 ⊆ (topGen‘𝐵) ∧ 𝑥 = ∪ 𝑦) → 𝑥 ∈ (topGen‘𝐵)))
253, 24biimtrid 245 . . 3 (𝐵 ∈ 𝑉 → (𝑥 ∈ (topGen‘(topGen‘𝐵)) → 𝑥 ∈ (topGen‘𝐵)))
2625ssrdv 3921 . 2 (𝐵 ∈ 𝑉 → (topGen‘(topGen‘𝐵)) ⊆ (topGen‘𝐵))
27 bastg 23356 . . 3 (𝐵 ∈ 𝑉 → 𝐵 ⊆ (topGen‘𝐵))
28 tgss 23358 . . 3 (((topGen‘𝐵) ∈ V ∧ 𝐵 ⊆ (topGen‘𝐵)) → (topGen‘𝐵) ⊆ (topGen‘(topGen‘𝐵)))
291, 27, 28sylancr 599 . 2 (𝐵 ∈ 𝑉 → (topGen‘𝐵) ⊆ (topGen‘(topGen‘𝐵)))
3026, 29eqssd 3932 1 (𝐵 ∈ 𝑉 → (topGen‘(topGen‘𝐵)) = (topGen‘𝐵))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1572  ∃wex 1814   ∈ wcel 2151  ∀wral 3086  Vcvv 3456   ⊆ wss 3902   ∩ cin 4094  𝒫 cpw 4562  ∪ cuni 4875  ∪ ciun 4959  ‘cfv 6570  topGenctg 17669
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-10 2184  ax-11 2201  ax-12 2220  ax-ext 2741  ax-sep 5258  ax-nul 5269  ax-pow 5337  ax-pr 5401  ax-un 7787
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2105  df-mo 2571  df-eu 2601  df-clab 2748  df-cleq 2761  df-clel 2845  df-nfc 2919  df-ne 2966  df-ral 3087  df-rex 3097  df-rab 3419  df-v 3458  df-ss 3903  df-dif 4052  df-in 4096  df-un 4156  df-nul 4284  df-if 4488  df-pw 4564  df-sn 4591  df-pr 4593  df-op 4844  df-uni 4876  df-iun 4961  df-br 5112  df-opab 5177  df-mpt 5196  df-id 5556  df-xp 5667  df-rel 5668  df-cnv 5669  df-co 5670  df-dm 5671  df-iota 6524  df-fun 6572  df-fv 6578  df-topgen 17675
This theorem is used by:  tgss3  23376  txbasval  23997
  Copyright terms: Public domain W3C validator