Zulip Chat Archive

Stream: mathlib4

Topic: M types


Violeta Hernández (Jul 27 2025 at 23:41):

I'm currently trying to wrap my head around M-types in type theory. I've been having a bit of a hard time reading through https://leanprover-community.github.io/mathlib4_docs/Mathlib/Data/PFunctor/Univariate/M.html, since it seems like a large amount of the file is dedicated to setting up the type and proving its universal properties, which to me seem like they should be private material.

Violeta Hernández (Jul 27 2025 at 23:46):

Surely everything about Approx can be made private? To me it seems like it's just an implementation detail, though I might be wrong.


Last updated: Dec 20 2025 at 21:32 UTC