Zulip Chat Archive

Stream: general

Topic: mathlib overview


Rob Lewis (Jun 26 2020 at 08:59):

So we have this mathlib overview on the website that's now six months old. Mathlib has grown 40% in that time, surely there's something to be added. Do we have someone responsible for keeping that page up to date?

Patrick Massot (Jun 26 2020 at 09:00):

This is not the only issue, we also need to think harder about the integration with https://leanprover-community.github.io/undergrad.html.

Patrick Massot (Jun 26 2020 at 09:00):

I think we should use the infrastructure of the undergrad list also in the general list.

Patrick Massot (Jun 26 2020 at 09:01):

One possibility would be to add a tag "undergrad" to https://github.com/leanprover-community/leanprover-community.github.io/blob/newsite/data/overview.yaml somehow.

Patrick Massot (Jun 26 2020 at 09:02):

But I fear it would make that file more complicated, whereas it was designed to be very easy to edit.

Patrick Massot (Jun 26 2020 at 09:02):

We could also have another yaml file for advanced stuff, but combine both sources when we want to see everything.

Patrick Massot (Jun 26 2020 at 09:03):

But of course the easiest thing to do is to simply keep two lists, both based on the same kind of yaml.

Patrick Massot (Jun 26 2020 at 09:04):

There would be duplication between the yaml files, but this is not necessarily bad. The non-undergrad file wouldn't have empty entries, and it would refer directly to the general versions (uniform spaces...).

Patrick Massot (Jun 26 2020 at 09:07):

Note that we have a clear deadline for people who find motivation in deadlines: it would be nice to clean this up before LFTCM

Rob Lewis (Jun 26 2020 at 09:07):

That all sounds great. I think the exact details are less important than establishing a routine of keeping it updated, in whatever form it appears.

Patrick Massot (Jun 26 2020 at 09:14):

The details are important because we need someone to work on the infrastructure and port the current list before we can hope to maintain it.

Patrick Massot (Jun 26 2020 at 09:14):

And I really need to come back to sphere eversions now that my 5 Heine PR are in the pipeline.

Patrick Massot (Jul 11 2020 at 15:44):

With the workshop coming really soon, I've had a go at refactoring the mathlib overview. It's mostly the same technology as the undergrad overview, based on overview.yaml which has no formal relation to the original file renamed undergrad.yaml. Those two databases have too different points of view to be reconciled in a sane and convenient way. It also uses theories_index.yaml to link to our detailed theory pages. Note that I took the opportunity to explore using a flat webpage view instead of fancy accordions.

Patrick Massot (Jul 11 2020 at 15:45):

Hopefully I didn't remove anything that was on the old page. Of course any such list of topics has weird classification issues, but I hope it's useful anyway.

Patrick Massot (Jul 11 2020 at 15:46):

What would be very useful would be to have a look and quickly add missing stuff (quickly means before Monday).

Johan Commelin (Jul 11 2020 at 16:14):

@Patrick Massot Wow! That seems like you did quite a lot of YaMLing! Thank you so much :thank_you: :tada: :octopus:

Heather Macbeth (Jul 11 2020 at 19:20):

This looks great! A couple of minor points: (1) mathlib has the definition and basic properties of analytic functions; (2) links in the line "Measures and integral calculus" are broken.

Patrick Massot (Jul 11 2020 at 20:08):

Thanks Heather, the measure theory part was completely broken due to an indentation issue.

Patrick Massot (Jul 11 2020 at 20:08):

I added fractional ideals and analytic functions that I missed.

Patrick Massot (Jul 11 2020 at 20:10):

A much less urgent question is how people compare this flat view to the fancy view of the undergrad page. Of course both could be tweaked in various ways, the main is to decide whether we should hide stuff by default or display everything at once.

Johan Commelin (Jul 11 2020 at 20:14):

I think this version is very clear.

Kyle Miller (Jul 11 2020 at 21:27):

That's nice! I like the flat view because it's less clicking to get a full overview.

It reminds me of the Guide pages from Mathematica's documentation. (Speaking of which, it would be cool if there were Mathematica-style documentation for mathlib. Each definition there has a short description, details and options, many categories of examples, related definitions, and links to related tutorials and guides. Though I understand this would be a tremendous undertaking!)

Kevin Buzzard (Jul 11 2020 at 21:38):

I think all the infrastructure is there to make this though. You can just add better docs for your favourite theorem, definition or tactic if you're in the mood.

Bryan Gin-ge Chen (Jul 11 2020 at 21:56):

Yes, and doc-only PRs are very welcome!

Scott Morrison (Jul 12 2020 at 00:02):

Thanks, @Patrick Massot! I made a PR explaining how to contribute updates to this page.


Last updated: Dec 20 2023 at 11:08 UTC