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

firstorder causes proof tree to hang #26

Open
emichael opened this issue Nov 10, 2015 · 4 comments
Open

firstorder causes proof tree to hang #26

emichael opened this issue Nov 10, 2015 · 4 comments

Comments

@emichael
Copy link
Contributor

I can send you the code to repro the issue if you need it. htop shows minimal memory usage (out of 16GB) and 1 of 8 cores being used 100% on a single coqtop ideslave.

Even after the user clicks on another tactic in the tree, the server still hangs on trying firstorder.

@Ptival
Copy link
Owner

Ptival commented Nov 10, 2015

Is it a goal that should be solved immediately?

What happens under other Coq IDEs?

@emichael
Copy link
Contributor Author

No, it shouldn't be solved. I'll try tomorrow, but I'm sure CoqIDE would
hang, too, if you actually tried to use firstorder.

The issue is that firstorder is only ever called because the proof tree is
looking at suggestions for the next tactic.

On Monday, November 9, 2015, Valentin Robert notifications@github.com
wrote:

Is it a goal that should be solved immediately?

What happens under other Coq IDEs?


Reply to this email directly or view it on GitHub
#26 (comment).

Ellis

@Ptival
Copy link
Owner

Ptival commented Nov 10, 2015

I see. In general it is indeed a bad idea to call firstorder without a timeout (or actually, all tactics).

I'll try to look into implementing a timeout safety, I believe there was a tactical for that.

@emichael
Copy link
Contributor Author

In addition to a timeout, immediately halting all the tactics the proof tree is trying when the user selects a tactic might be a good idea.

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