Skip to content

refactor(Semantics): build Iₚ and PostSupp on mathlib LawfulMonad#19

Merged
hawkrobe merged 2 commits into
mainfrom
fix/lawful-monad-instances
May 30, 2026
Merged

refactor(Semantics): build Iₚ and PostSupp on mathlib LawfulMonad#19
hawkrobe merged 2 commits into
mainfrom
fix/lawful-monad-instances

Conversation

@hawkrobe
Copy link
Copy Markdown
Owner

Register Iₚ (= ReaderT I Option) and PostSupp as Monad/LawfulMonad instances instead of hand-rolling pure/bind with free-floating law theorems. Adds dseq_test (right identity) to complete the (DRS S, ⨟, test ⊤) monoid.

@hawkrobe hawkrobe merged commit 0c7d7fa into main May 30, 2026
1 check passed
@hawkrobe hawkrobe deleted the fix/lawful-monad-instances branch May 30, 2026 00:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant