Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make truthsInAt polymorphic (and consider renaming it) #29

Open
m4lvin opened this issue Dec 15, 2022 · 0 comments
Open

make truthsInAt polymorphic (and consider renaming it) #29

m4lvin opened this issue Dec 15, 2022 · 0 comments

Comments

@m4lvin
Copy link
Member

m4lvin commented Dec 15, 2022

Currently truthsInAt is only provided in Explicit.K. Ideally it should work on all pointed models/structures for K and S5.

For S5 models we can do this:

truthsInAt :: KripkeModelS5 -> World -> [Prp]
truthsInAt m@(KrMS5 _ _ val) w = filter (apply $ apply val w) (vocabOf m)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant