-
Notifications
You must be signed in to change notification settings - Fork 8
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
1237 let the user select a prover #1263
Conversation
bf4fd9a
to
1a0ac07
Compare
1a0ac07
to
635641b
Compare
when trying to prove the goal in |
That's odd. Have you restarted the rails server after switching the branch to 1237-let_the_user_select_a_prover? |
yes. But I forgot to restart sidekiq - that solved the problem. Is there a simple way to do all these restarts with one command? |
Yes, you can stop invoker and start it again.
from the ontohub directory. Whenever we need to restart the web server and sidekiq, we simply hit Crtl+C and start invoker again. |
when I prove |
when I select several provers at once (i.e. for a CASL goal: leo, eprover, darwin, SPASS, Vampire, leoII,...), I get in the job queue:
If I select just one prover (SPASS), the theorem gets proven immediately. |
Yes, this seems to be a problem in hets, because it returns: "usedTime": {
"seconds": -1,
"components": { "hours": -1, "mins": 59, "secs": 59 }
} I can change ontohub to save 0 seconds if hets gives us a negative value. |
aha, the problem is not with selecting multiple provers, but with selecting leo. If leo is among the provers, the error occurs. |
That's too bad, I don't have leo on my machine. Could you please post the outputs of
This should attempt to prove |
selecting QucikCheck leads to |
problem with leo solved. I has installed leo, but not ocaml. There should be a proper Ubuntu package for leo... |
the interactive Isabelle provers (with jedit, emacs etc.) should be removed from the list, because it is an own project to integrate them into Ontohub (see #136). I think Hets should provide some flag whether the prover is automatic or interactive. |
after selecting Isabellesledgehammer from the list of provers, I get a new prover in the list: Isabelle (sledgehammer), while Isabellesledgehammer remains in the list. Same with LeoII and Leo II. |
When I prove the goals in http://develop.ontohub.org/sandbox/Family2.het and select Pellet and Fact, I get a "THM", but the link links to a SPASS proof of a CASL theorem in strict_partial_order. Due to #1277, I could only reproduce this locally. |
in order to provide more details: here is the list of theorems that I have:
Now, the link http://localhost:3000/repositories/default/ontologies/23/theorems/1278/proof_attempts/1 shows the correct ontology (FamilyBase), but "Proof attempt of asymmetric", where "asymmetric" is linked to http://localhost:3000/repositories/default/ontologies/23/theorems/1252, which actually does not exist, because it is a theorem id of strict_partial_order coupled with the ontology id of FamilyBase. It exists at http://localhost:3000/repositories/default/ontologies/20/theorems/1252/proof_attempts/1 |
Actually, for all new theorems that I prove, when displaying the proof details with the proof_attempts URL, I always get the proof details of theorem 1252 (asymmetric). |
I added #1280 for it.
I added #1281 for it.
I don't understand this. Maybe you could show it in the meeting today?
I'm working on it in the next branch (not pushed yet). There each ProofAttempt gets a locid and those are used for the links. Locally, this is working fine in the new branch. |
299ec76
to
c159434
Compare
c159434
to
9837c27
Compare
385121f
to
ae18542
Compare
This classes allow to (asynchronously) make many proof attempts sequentially. In a later phase, this will be reconstructed to work in parallel.
ae18542
to
062415b
Compare
This branch is now based on staging. |
jenkins, test this please |
|
||
def new | ||
render template: 'proofs/new' | ||
end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
two new methods do not make sense
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed by 6a2fc9d
👍 |
1237 let the user select a prover
Changes Unknown when pulling 62aa918 on 1237-let_the_user_select_a_prover into * on staging*. |
This shall fix #1237. This branch allows the user to select multiple available provers for proving. For each prover, a proof attempt is made. Those proof attempts are processed sequentially.
Possibly important notes
prove/
route has been replaced byproofs/
to use the REST conventionThis branch is based on the branch of #1262 (introduce_hets_options) instead of staging. It might be easier to review that one first.