Skip to content

2023/6/30: SMCGlobal, SMCLocal and extract#110

Draft
snowmantw wants to merge 6 commits into
affeldt-aist:masterfrom
snowmantw:smc
Draft

2023/6/30: SMCGlobal, SMCLocal and extract#110
snowmantw wants to merge 6 commits into
affeldt-aist:masterfrom
snowmantw:smc

Conversation

@snowmantw
Copy link
Copy Markdown

@snowmantw snowmantw commented Jun 29, 2023

Goal: define SMCGlobal, SMCLocal and SMCLang.

shows the difficulties to have monads in one monad? Because of the universe inconsistency issue
@snowmantw
Copy link
Copy Markdown
Author

Check StateMonad.acto (VarName -> MonadSMCLocals F P VarName).

In environment
F, P : UU0
VarName : eqType
The term "VarName -> MonadSMCLocals F P VarName" has type
 "Type@{max(Equality.type.u0,MonadSMCLocals.u0)}"
while it is expected to have type "Type@{monad_model.4448}"
(universe inconsistency: Cannot enforce MonadSMCLocals.u0 <=
monad_model.4448 because monad_model.4448 < isFunctor.axioms_.u0
<= MonadSMCLocal.axioms_.u3 <= MonadSMCLocal.type.u0 <= MonadSMCLocals.u0).

…nstances

But how to define the `extract` method for the local monad becomes a modeling problem.
See monad_model.v:2009.
@snowmantw snowmantw changed the title 2023/6/29: WIP: monad_model.v:2031 2023/6/30: SMCGlobal, SMCLocal and extract Jun 29, 2023
@affeldt-aist affeldt-aist marked this pull request as draft January 3, 2025 15:44
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