Re:Lean 4.0.0, first official lean4 release
by hackandthink on Friday September 08, 2023 @05:21AM
(#37431403)
Though I did not find Topos Theory.
Re:Lean 4.0.0, first official lean4 release
by hiker on Friday September 08, 2023 @06:18AM
(#37431780)
There are definitions for sheaves, Grothendieck topologies and sites[1] which were extensively used in the Liquid Tensor Experiment[2]
[1] https://github.com/leanprover-community/mathlib4/tree/master...
[2] https://leanprover-community.github.io/blog/posts/lte-final/
Re:Lean 4.0.0, first official lean4 release
by hackandthink on Friday September 08, 2023 @09:22AM
(#37433133)
Thanks,
and there is Subobject, which looks like the subobject classifier.
https://github.com/leanprover-community/mathlib4/blob/master...
Re:Lean 4.0.0, first official lean4 release
by generalnonsense on Friday September 08, 2023 @03:01PM
(#37437894)
To clarify, this is not really related to subobject classifiers. This defines subobjects of `X` as equivalence classes of monomorphisms with target `X`.
Re:Lean 4.0.0, first official lean4 release
by riccardobrasca on Friday September 08, 2023 @09:51AM
(#37433487)
We don't have any topos theory, that's right. But all the prerequisites are there. If you're interested in working on it I strongly suggest to ask on Zulip.
Re:Lean 4.0.0, first official lean4 release
by kevinbuzzard on Tuesday September 12, 2023 @03:58AM
(#37478024)
Here's a Lean 3 development of a bunch of topos theory https://github.com/b-mehta/topos/tree/master/src , but it's not in the maths library (and now needs to be updated to Lean 4, although the community have had great success with that kind of project; one million lines of mathlib was translated from Lean 3 to Lean 4 using a combination of automation and human work)
Re:Lean 4.0.0, first official lean4 release
by generalnonsense on Friday September 08, 2023 @03:04PM
(#37437944)
As others said above, `mathlib4` has quite a lot of Sheaf theory, and in particular the category of sheaves of Sets (i.e. Types) over an arbitrary site. In this sense, it is possible to talk about Grothendieck toposes. We don't have the characterization in terms of Giraud's axioms, though.
https://github.com/leanprover-community/mathlib4/tree/master...