Replies: 1 comment 5 replies
-
Hi Magus, That's an interesting point. But I cannot see the figures. Could you fix them? |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
As I understand it tactics are by default only applied to the first subgoal in a given proof state. However, this can be changed by superseding the tactic with the
all:
keyword. But because of thetimeout
included when sending tactics viaeval_env.py
the tactic application fails.CoqGym/eval_env.py
Line 76 in cde1f3f
It turns out
all:
has to come beforetimout
. A simple, ad-hoc, fix is:Drawing the proof tree for a (simple) agent's proof, this seems shorten the proof search somewhat:


Any thoughts on adding support for
all:
inProofEnv
? :)As a related sidenote to this:
It also seems that checking only the first (sub)goal signature can make agent's struggle to prove certain theorems:
CoqGym/ASTactic/agent.py
Line 304 in cde1f3f
Certain proof trees can become simpler by changing this to checking the concatenation of all subgoal signatures:
But again: in these kinds of proof states using
all:
fixes this implicitally, and the result is an even shorter proof tree:Hope this makes sense :). Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions