We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I haven't tried the code yet (not sure what prompts you're using), but it looks like
math-llm/interactive.py
Lines 44 to 56 in 8b3aca2
Definition f (n : nat) : nat + nat := match Nat.even n with | true => inl (n / 2) | false => inr ((n - 1) / 2) end.
because coqtop -emacs emits no output until the end of a command. Am I reading correctly?
coqtop -emacs
You might want a fancier algorithm like https://github.com/JasonGross/coq-tools/blob/49decc81e086e64984add5944efce95186fe386a/split_file.py#L135-L156
Or you can use coqc -time to get the byte ranges of statements, a la https://github.com/JasonGross/coq-tools/blob/49decc81e086e64984add5944efce95186fe386a/split_file.py#L191-L200 (just be careful of duplicate byte ranges when you have vernacular commands inside a Qed-opaque proof).
coqc -time
Qed
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I haven't tried the code yet (not sure what prompts you're using), but it looks like
math-llm/interactive.py
Lines 44 to 56 in 8b3aca2
will hang if it gets something like, e.g.,
because
coqtop -emacs
emits no output until the end of a command. Am I reading correctly?You might want a fancier algorithm like https://github.com/JasonGross/coq-tools/blob/49decc81e086e64984add5944efce95186fe386a/split_file.py#L135-L156
Or you can use
coqc -time
to get the byte ranges of statements, a la https://github.com/JasonGross/coq-tools/blob/49decc81e086e64984add5944efce95186fe386a/split_file.py#L191-L200 (just be careful of duplicate byte ranges when you have vernacular commands inside aQed
-opaque proof).The text was updated successfully, but these errors were encountered: