Skip to main content

Theorems about abelian categories

Two significant results about abelian categories have recently been added to mathlib. The first is that any Grothendieck abelian category has enough injectives, and it follows from a general construction known as the small object argument. The second is the Freyd-Mitchell theorem which states that any abelian category admits a fully faithful exact functor to a category of modules.

Read more…

Basic probability in Mathlib

How do I define a probability space and two independent random variables in Lean? Should I use IsProbabilityMeasure or ProbabilityMeasure? How do I condition on an event?

This post answers these and other simple questions about how to express probability concepts using Mathlib.

Read more…