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

Missing keywords #8

Open
fblanqui opened this issue Feb 3, 2023 · 2 comments
Open

Missing keywords #8

fblanqui opened this issue Feb 3, 2023 · 2 comments

Comments

@fblanqui
Copy link

fblanqui commented Feb 3, 2023

Hi Michael. Would it be possible to accept the keywords "#REQUIRE" and "injective", even if you do nothing with them? This would help using kocheck with currently produced dk files without having to modify them beforehand.

@01mf02
Copy link
Owner

01mf02 commented Feb 3, 2023

Hi Frédéric, I have done the first part, namely to parse pragmas, including #REQUIRE, in 83c394a.

Regarding injective, I was thinking about supporting private at the same time. However, I am currently having trouble to recall the details of the syntax of the Dedukti standard. Can you enlighten me which of the following commands are correct?

  1. private def a: b.
  2. private def a := b.
  3. private thm a: b := c.

(I have the impression that the standard rules out all of those, but I do not recall why ...)

@fblanqui
Copy link
Author

fblanqui commented Feb 3, 2023

I think that only 1 makes really sense as declaring a as private allows to pattern match on a but not use a directly. Private symbols are constant (have no definition) usually.

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

No branches or pull requests

2 participants