Zulip Chat Archive

Stream: general

Topic: Formalizing topology.pi-base.org


Steven Clontz (Aug 01 2025 at 19:32):

Moving a conversation from email among myself, @Katja Berčič, and @David E. Narváez that might be useful to have open to the community:

My (naive!) vision for one day formalizing topology.pi-base.org is to have Lean code (probably depending on mathlib) for the following four models:

  • Spaces: defineinstance : TopologicalSpace S123
  • Properties: define class P123 (X : Type u) [TopologicalSpace X] : Prop
  • Theorems (each of the form P1P2...P3P1\wedge P2\wedge ... \rightarrow P3): prove theorem T123 [P1 X] [P2 X] ... : P3 X
  • Traits (space/property pairs S123:P456): prove instance : P456 S123

My motivation is internal: I want to be able to note on our web application which of our results have been formally proven vs. informally proven. But I'm quite interested in how this work might be helpful upstream to mathlib as well. E.g. a standard result like https://topology.pi-base.org/spaces/S000025/properties/P000036 is hopefully a one-liner from mathlib. But something more esoteric like https://topology.pi-base.org/theorems/T000726 would require a lot of novel code beyond mathlib, but having it in our database means it could be used by other formalization projects as needed in the future.

Does that make sense?

Aaron Liu (Aug 01 2025 at 19:36):

I remember there being previous discussion along these lines

Aaron Liu (Aug 01 2025 at 19:37):

ah yes here it is #mathlib4 > Some missing, accessible, topology results @ 💬

Kevin Buzzard (Aug 01 2025 at 20:05):

This sounds like a great idea for a standalone repo with mathlib as a dependency.

Michael Rothgang (Aug 01 2025 at 20:19):

Continuing a thread hinted at in the past thread: I think having some overview of formalised vs. unformalised implications would be really nice. The 100 and 1000+ theorem pages do something similar; I wrote some infrastructure for doing a bi-directional sync here. Happy to share what I learned!

Steven Clontz (Aug 03 2025 at 16:50):

@Kevin Buzzard absolutely. I think it should be part of https://github.com/pi-base/data/ and be represented on https://topology.pi-base.org . Actually I now remember that I very briefly played around with the idea a year ago at https://github.com/pi-base/data/pull/672

Steven Clontz (Aug 03 2025 at 16:56):

@Michael Rothgang what do you mean by "100 and 1000+ theorem pages"?

Steven Clontz (Aug 03 2025 at 17:04):

Another relevant thread that's coming to mind from before: https://leanprover.zulipchat.com/#narrow/channel/113489-new-members/topic/general.20topology.20in.20mathlib

Ruben Van de Velde (Aug 03 2025 at 17:08):

https://leanprover-community.github.io/100.html

Michael Rothgang (Aug 04 2025 at 09:47):

And https://leanprover-community.github.io/1000.html, which cross-references mathlib statements with the theorems collected at https://1000-plus.github.io/


Last updated: Dec 20 2025 at 21:32 UTC