News for hackers. Stuff that matters.
Re:Lean 4.0.0, first official lean4 release by hackandthink on Friday September 08, 2023 @05:45AM (#37431570)
Is Lean a Category?

(like much debated: is Hask(ell) a Category)

"In this section we set up the theory so that Lean's types and functions between them can be viewed as a `LargeCategory` in our framework."

So it seems to be proven that there is a Category Lean!

https://github.com/leanprover-community/mathlib4/blob/master...

Re:Lean 4.0.0, first official lean4 release by hiker on Friday September 08, 2023 @06:35AM (#37431894)
Yes for the fragment of total and noncomputable functions which mathematicians use. For partial functions (which Lean also supports) I think the same arguments hold as for the "Haskell Category".