Skip to content

Missing _CoqConfig from InteractionTrees #275

@fairflow

Description

@fairflow

I have freshly installed coq and InteractionTrees after studying the ACM paper with our little Type Theory study group. I am new to this project and also it is very many years since I've used coq in earnest.

There are several issues with in running the tutorials and examples interactively using VSCode, though most of the make targets compile correctly (make all is ok, but with some warnings). Here is an interactive mode error in tutorial/Asm.v l28: From ITreeTutorial Require Import Fin Utils_tutorial.

Cannot find a physical path bound to logical path
Fin with prefix ITreeTutorial.

However, it does seem that a _CoqConfig is missing: evidence below. Whether adding references to that would help, I am not sure. Attempts to add a physical/logical connection have so far not succeeded (in fact I am unsure which file or files to edit to achieve this).

From header of generated _CoqProject file we have

# THIS IS AN AUTOMATICALLY GENERATED FILE
# PLEASE EDIT _CoqConfig INSTEAD

From Makefile we have the target:

depgraph:
	$(COQDEP) -dumpgraph $(DEPS_DOT) $(shell cat _CoqConfig) > /dev/null 2>&1
	sed 's%\("theories/\([^"]*\)/\([^"/]*\)"\[label="\)%\1\2/\\n%' -i $(DEPS_DOT)
	dot $(DEPS_DOT) -Tjpg -o$(DEPS_OUT)

Naturally, make depgraph fails.

My setup:

Apple silicon Mac 15.4.1 (24E263)
coq              8.20.1
coq-paco    4.2.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions