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

Syntax error for output of hammer #144

Open
skogsbaer opened this issue Aug 11, 2022 · 2 comments
Open

Syntax error for output of hammer #144

skogsbaer opened this issue Aug 11, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@skogsbaer
Copy link

hammer outputs:

Reconstructing the proof...
Tactic srun eauto succeeded.
Replace the hammer tactic with:
	srun eauto use: binds_neq_shrink unfold: term_subst, subst, prop_subst.

But when pasting the srun ... command into my proof script, I get a syntax error:

Error: Syntax error: [ltac_use_default] expected after [tactic] (in [tactic_command]).

Version: CoqHammer 1.3.2 for Coq 8.15

@lukaszcz lukaszcz added the bug Something isn't working label Jun 14, 2023
@sakekasi
Copy link

I also ran into this issue. I was able to get around this issue by writing a script that converts srun eauto use: binds_neq_shrink unfold: term_subst, subst, prop_subst. to srun (eauto) use: binds_neq_shrink unfold: term_subst, subst, prop_subst.

Adding parens seems to fix the issue

@lukaszcz
Copy link
Owner

I recall this worked with an older version of Coq. Something must've changed with Coq's parsing algorithm. I may investigate it sometime, when I find the time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants