leanprover-community / mathlib

  • Home
  • Zulip archive
  • API documentation
  • Lean web editor
  • Links

Zulip Chat Archive

Stream: PR reviews

Topic: lean4#7356 monadic theorems about mapM, foldM, etc


Eric Wieser (Mar 10 2025 at 08:42):

Posting here since some batteries contributors may also be interested in lean4#7356, which provides theorems like l.foldrM (pure <| f · ·) b = pure (l.foldr f b) for lawful monads.

This is against core rather than batteries because I plan to use it to clean up the simp set around the Id monad.


Last updated: May 02 2025 at 03:31 UTC

Theme Simple by wildflame © 2016 Powered by jekyll