I am currently going through the exercises in the file Poly.v from the book Logical Foundations. When trying to step forward to the line Example test_doit3times: doit3times minustwo 9 = 3. I get the error The reference minustwo was not found in the current environment.
I tried running make Basics.vo Induction.vo Lists.vo but that didn’t help.
I suppose I must have missed a step somewhere but I’m not sure which one it is. Any idea? Thanks in advance.
I am using version 8.13.2. By the way, I am really enjoying learning through your books. They are challenging and fun. I am so grateful that you made them publicly available.
@bcpierce For what it’s worth the cause of the error turned out to be very simple. I am using VSCode along with its Coq extension and I didn’t notice that I opened the project’s parent directory rather than the project’s directory itself. I suppose the Coq extension must look up in the opened directory for files to import and can’t find anything there.