I'm using CoqIDE to complete the exercises in the Software Foundations book about Coq. I can successfully compile Basics.v, resulting in Basics.vo and Basics.glob in my directory. When I try to run Induction.v, it works. When I try to compile it, it complains about tons of missing references, such as evenb
and negb_involutive
. If I copy Basics.v contents into Induction.v it compiles, but obviously this is not the way to go.
This is not a duplicate of question Coq error: The reference evenb was not found in the current environment, as I have already done those things:
Compile Basics.v. Check if Basics.vo is in the directory. Now compile Induction.v. This last step fails.
-R <path-to-sf> ""
where the double quotes empty-string mean that you can import everything in path-to-sf without writing something before it, likeRequire Basic.
However, I don't know how to write that in coqide, because it treats the quotes litterally. – Precession