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

Theorem tgidm 21516
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 6676 . . . . 5 (topGen‘𝐵) ∈ V
2 eltg3 21498 . . . . 5 ((topGen‘𝐵) ∈ V → (𝑥 ∈ (topGen‘(topGen‘𝐵)) ↔ ∃𝑦(𝑦 ⊆ (topGen‘𝐵) ∧ 𝑥 = 𝑦)))
31, 2ax-mp 5 . . . 4 (𝑥 ∈ (topGen‘(topGen‘𝐵)) ↔ ∃𝑦(𝑦 ⊆ (topGen‘𝐵) ∧ 𝑥 = 𝑦))
4 uniiun 4973 . . . . . . . . . 10 𝑦 = 𝑧𝑦 𝑧
5 simpr 485 . . . . . . . . . . . . 13 ((𝐵𝑉𝑦 ⊆ (topGen‘𝐵)) → 𝑦 ⊆ (topGen‘𝐵))
65sselda 3964 . . . . . . . . . . . 12 (((𝐵𝑉𝑦 ⊆ (topGen‘𝐵)) ∧ 𝑧𝑦) → 𝑧 ∈ (topGen‘𝐵))
7 eltg4i 21496 . . . . . . . . . . . 12 (𝑧 ∈ (topGen‘𝐵) → 𝑧 = (𝐵 ∩ 𝒫 𝑧))
86, 7syl 17 . . . . . . . . . . 11 (((𝐵𝑉𝑦 ⊆ (topGen‘𝐵)) ∧ 𝑧𝑦) → 𝑧 = (𝐵 ∩ 𝒫 𝑧))
98iuneq2dv 4934 . . . . . . . . . 10 ((𝐵𝑉𝑦 ⊆ (topGen‘𝐵)) → 𝑧𝑦 𝑧 = 𝑧𝑦 (𝐵 ∩ 𝒫 𝑧))
104, 9syl5eq 2865 . . . . . . . . 9 ((𝐵𝑉𝑦 ⊆ (topGen‘𝐵)) → 𝑦 = 𝑧𝑦 (𝐵 ∩ 𝒫 𝑧))
11 iuncom4 4918 . . . . . . . . 9 𝑧𝑦 (𝐵 ∩ 𝒫 𝑧) = 𝑧𝑦 (𝐵 ∩ 𝒫 𝑧)
1210, 11syl6eq 2869 . . . . . . . 8 ((𝐵𝑉𝑦 ⊆ (topGen‘𝐵)) → 𝑦 = 𝑧𝑦 (𝐵 ∩ 𝒫 𝑧))
13 inss1 4202 . . . . . . . . . . . 12 (𝐵 ∩ 𝒫 𝑧) ⊆ 𝐵
1413rgenw 3147 . . . . . . . . . . 11 𝑧𝑦 (𝐵 ∩ 𝒫 𝑧) ⊆ 𝐵
15 iunss 4960 . . . . . . . . . . 11 ( 𝑧𝑦 (𝐵 ∩ 𝒫 𝑧) ⊆ 𝐵 ↔ ∀𝑧𝑦 (𝐵 ∩ 𝒫 𝑧) ⊆ 𝐵)
1614, 15mpbir 232 . . . . . . . . . 10 𝑧𝑦 (𝐵 ∩ 𝒫 𝑧) ⊆ 𝐵
1716a1i 11 . . . . . . . . 9 (𝑦 ⊆ (topGen‘𝐵) → 𝑧𝑦 (𝐵 ∩ 𝒫 𝑧) ⊆ 𝐵)
18 eltg3i 21497 . . . . . . . . 9 ((𝐵𝑉 𝑧𝑦 (𝐵 ∩ 𝒫 𝑧) ⊆ 𝐵) → 𝑧𝑦 (𝐵 ∩ 𝒫 𝑧) ∈ (topGen‘𝐵))
1917, 18sylan2 592 . . . . . . . 8 ((𝐵𝑉𝑦 ⊆ (topGen‘𝐵)) → 𝑧𝑦 (𝐵 ∩ 𝒫 𝑧) ∈ (topGen‘𝐵))
2012, 19eqeltrd 2910 . . . . . . 7 ((𝐵𝑉𝑦 ⊆ (topGen‘𝐵)) → 𝑦 ∈ (topGen‘𝐵))
21 eleq1 2897 . . . . . . 7 (𝑥 = 𝑦 → (𝑥 ∈ (topGen‘𝐵) ↔ 𝑦 ∈ (topGen‘𝐵)))
2220, 21syl5ibrcom 248 . . . . . 6 ((𝐵𝑉𝑦 ⊆ (topGen‘𝐵)) → (𝑥 = 𝑦𝑥 ∈ (topGen‘𝐵)))
2322expimpd 454 . . . . 5 (𝐵𝑉 → ((𝑦 ⊆ (topGen‘𝐵) ∧ 𝑥 = 𝑦) → 𝑥 ∈ (topGen‘𝐵)))
2423exlimdv 1925 . . . 4 (𝐵𝑉 → (∃𝑦(𝑦 ⊆ (topGen‘𝐵) ∧ 𝑥 = 𝑦) → 𝑥 ∈ (topGen‘𝐵)))
253, 24syl5bi 243 . . 3 (𝐵𝑉 → (𝑥 ∈ (topGen‘(topGen‘𝐵)) → 𝑥 ∈ (topGen‘𝐵)))
2625ssrdv 3970 . 2 (𝐵𝑉 → (topGen‘(topGen‘𝐵)) ⊆ (topGen‘𝐵))
27 bastg 21502 . . 3 (𝐵𝑉𝐵 ⊆ (topGen‘𝐵))
28 tgss 21504 . . 3 (((topGen‘𝐵) ∈ V ∧ 𝐵 ⊆ (topGen‘𝐵)) → (topGen‘𝐵) ⊆ (topGen‘(topGen‘𝐵)))
291, 27, 28sylancr 587 . 2 (𝐵𝑉 → (topGen‘𝐵) ⊆ (topGen‘(topGen‘𝐵)))
3026, 29eqssd 3981 1 (𝐵𝑉 → (topGen‘(topGen‘𝐵)) = (topGen‘𝐵))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 207  wa 396   = wceq 1528  wex 1771  wcel 2105  wral 3135  Vcvv 3492  cin 3932  wss 3933  𝒫 cpw 4535   cuni 4830   ciun 4910  cfv 6348  topGenctg 16699
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1787  ax-4 1801  ax-5 1902  ax-6 1961  ax-7 2006  ax-8 2107  ax-9 2115  ax-10 2136  ax-11 2151  ax-12 2167  ax-ext 2790  ax-sep 5194  ax-nul 5201  ax-pow 5257  ax-pr 5320  ax-un 7450
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 842  df-3an 1081  df-tru 1531  df-ex 1772  df-nf 1776  df-sb 2061  df-mo 2615  df-eu 2647  df-clab 2797  df-cleq 2811  df-clel 2890  df-nfc 2960  df-ral 3140  df-rex 3141  df-rab 3144  df-v 3494  df-sbc 3770  df-dif 3936  df-un 3938  df-in 3940  df-ss 3949  df-nul 4289  df-if 4464  df-pw 4537  df-sn 4558  df-pr 4560  df-op 4564  df-uni 4831  df-iun 4912  df-br 5058  df-opab 5120  df-mpt 5138  df-id 5453  df-xp 5554  df-rel 5555  df-cnv 5556  df-co 5557  df-dm 5558  df-iota 6307  df-fun 6350  df-fv 6356  df-topgen 16705
This theorem is referenced by:  tgss3  21522  txbasval  22142
  Copyright terms: Public domain W3C validator