Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 919 Bytes

README.md

File metadata and controls

13 lines (10 loc) · 919 Bytes

Tests related to generalizing monadic binds and do-notation to universe polymorphic monads in Lean 4.

TODO

  • A lot more examples with trickier inference situations:
    • Stress on universe inference in occurrences of Prod rather than MProd
    • Complex combinators like for in do, try catch, etc
    • Polymorphic monad operations based on eg. [MonadRef m], [MonadEnv m], [MonadLift m m']
    • "Auto-lifting"
  • Generalizing the output type to cover more complex bind instances
  • Alternate approach: consider trying is_monadic