Questions tagged [coqide]

Graphical interface (IDE) for Coq. It is written in OCaml.

103 questions
0
votes
0 answers

Require Export changes requirements in every file

I'm new to Coq, and currently going through the Software Foundations series of tutorials. However, I keep finding myself struggling with getting the Require Export part working on the first try, every file seemingly requiring a new strategy to work.…
Electric Coffee
  • 11,733
  • 9
  • 70
  • 131
0
votes
0 answers

CoqIde: Show what simpl tactic is doing

Using the CoqIde, is there a way to view the steps simpl has taken? I find I do not understand how it achieved its result quite often. Example: rev (rev (n :: l')) = n :: l' -- apply simpl. rev (rev l' ++ [n]) = n :: l'
MaxWillmott
  • 2,170
  • 2
  • 23
  • 34
0
votes
0 answers

Coq : notation not printed

I defined an inductive type, minimal example below. I would like to use notations, like ~ or =. The syntax is recognized, but not printed in the goals of the top right panel. Example: Inductive num : Set := | O : num | S : num -> num. Theorem…
Tom
  • 834
  • 1
  • 14
  • 24
0
votes
1 answer

How to customize colors for Command and Tactic in ProofGeneral when using Coq in Emacs?

I want to color some specific command and tactic into different color, e.g. I want "Print" and "Locate" command to be gray, and "induction" to be some special color different from other tactics. Is this possible in ProofGeneral? If it is not…
luochen1990
  • 3,689
  • 1
  • 22
  • 37
0
votes
1 answer

How to do higher-order term rewriting in Coq?

This question is based on my question https://cs.stackexchange.com/questions/96533/how-to-transform-lambda-function-to-multi-argument-lambda-function-and-how-to-re There are two functions and two terms in that question: Functions: is:…
TomR
  • 2,696
  • 6
  • 34
  • 87
0
votes
0 answers

"Reference not found in environment" - Coq

I am working from this book http://www.seas.upenn.edu/~cis500/current/sf/lf-current/ which is an introduction to Coq and automatic theorem proving. I first completed the Basics.v file, and compiled it in the same directory, producing Basics.vo. I…
Adam
  • 9
  • 2
0
votes
1 answer

Installing CoqIDE - Update of jhbuild failed

I have Coq already installed, now I am trying to install CoqIDE on Mac. I am following the Coq wiki. The build fails at the second step. When I run sh gtk-osx-build-setup.sh This is the error I get: Checking out jhbuild (
Yasmine Shaorda
  • 383
  • 1
  • 7
0
votes
1 answer

CoqIDE in Windows will not compile

For some reason, my Coq file will not compile. I am using CoqIDE on Windows 10. When I use the Compile->Compile buffer tool, I get On the other hand, when I use the Compile->Make tool, I get The entire code for the file is given in the picture.…
LDCE
  • 11
  • 1
0
votes
1 answer

Set Printing Universes has no effect

I'm following the Universes chapter in cpdt (http://adam.chlipala.net/cpdt/html/Universes.html), which runs Set Printing Universes. to see additional comments on the types. However, I'm running CoqIde 8.6 and it has no effect. The following code Set…
user9309163
0
votes
2 answers

what is the "editId" in Coq's XML Protocol document?

In Coq's XML Protocol document (for the Add operation), a line reads ${editId}. What is the editID here? I asked this because I failed to interact with coqtop in the ideslave mode. Using coq-8.6.1/theories/FSets/FSetCompat.v as an…
Jian Wang
  • 103
  • 5
0
votes
2 answers

`Reset` not working in CoqIDE

Neither Reset . nor Reset . nor Reset Initial. works in my CoqIDE interactive sessions. The message is Error: Use CoqIDE navigation instead The only Resets I've seen to work are Reset Extraction Blacklist. and Reset…
jaam
  • 900
  • 4
  • 23
0
votes
1 answer

Coq Extraction: Permission Denied

When I execute the following commands within the CoqIDE: Extraction Language Haskell. Extraction "Code.hs" my_function. I get the following error: System error: "Code.hs: Permission denied" If I try instead: Extraction Language Haskell. Extraction…
Bruno
  • 854
  • 7
  • 21
0
votes
1 answer

CoqIDE and JAVA

I want to retrieve the result of the compilation of a file. v from coqide or coqc for treated with java, rather I have treatment of an automaton and I want to build a graphical interface of this automaton in java. Thanks for your response.
NAAS1425
  • 3
  • 5
1 2 3 4 5 6
7