Skip to content

Tests around a universe-polymorphic implementation of do notation in Lean 4.

Notifications You must be signed in to change notification settings

lephe/lean4-hbind

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Tests around a universe-polymorphic implementation of do notation in Lean 4.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages