Questions tagged [coqide]

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

103 questions
1
vote
1 answer

Cannot Unify two hypotheses which are identical

I have two hypotheses in context, but when I try to apply one to another, I get the error unable to unify. I should be able to unify them. The two hypotheses are as follo IHl : forallb func l = true -> All (fun x : X => func x = true) l H1 : All…
Roquentin
  • 177
  • 2
  • 12
1
vote
1 answer

All subgoals have been satisfied, but proof cannot be focused

I finished writing a somewhat lengthy proof, but whenever I try Qed I get the error message Error: This proof is focused, but cannot be unfocused this way. Are there any other ways to unfocus the Proof? Shoudl I just use admitted, even though my…
Roquentin
  • 177
  • 2
  • 12
1
vote
0 answers

How can one have multiple panes in CoqIDE?

How does one use CoqIDE with more than 2 panes? The code can get really large and its hard to keep track of every definition etc in one pane. I googled this: http://web.cecs.pdx.edu/~apt/coq_hints.html but it wasn't too helpful...
Charlie Parker
  • 5,884
  • 57
  • 198
  • 323
1
vote
1 answer

How does one get the original keybinding for Coq?

I changed the key binding according to: https://github.com/coq/coq/wiki/Configuration-of-CoqIDE but now I can't get them back to normal. How do I them to default state? Note that Coq already changed the file and i can't figure out how to undo the…
Charlie Parker
  • 5,884
  • 57
  • 198
  • 323
1
vote
0 answers

CoqIDE: the reference was not found in the current environment

I just start to learn coq and I basically copied the code (?) from what the professor showed in the class but it never worked on my laptop! I have no idea why it keep telling me that the reference y was not found in the current environment. And…
Norma Yang
  • 11
  • 3
1
vote
1 answer

Coq XML Protocol: a likely PrintAST malfunction

I am using the XML Protocol from Coq 8.6.1. When I tried the PrintAst call, I failed to get an AST, but got an "todo" instead. Is this a malfunction or did I do something wrong? How should I get an AST from a print AST call? Here is my case: I used…
Jian Wang
  • 103
  • 5
1
vote
2 answers

CoqIDE 8.5 default font

Sorry for this trivial question --- What is CoqIDE's default font in Coq 8.5? Trying out Coq 8.6 w/ nix-shell -p coq_8_6 --run coqide changed my old CoqIDE font (and keybindings); I want them back but don't remember the font name. The exact version…
jaam
  • 900
  • 4
  • 23
1
vote
0 answers

CoqIDE: relative panel width

The default relative panel width is 50% input and 50% other panels. How to change this programmatically to e.g. 70/30? I have Coq(IDE) 8.5 on Linux
jaam
  • 900
  • 4
  • 23
1
vote
1 answer

Coqide Key Bindings Bug(?)

I'm having a bit of an odd problem... recently I've been having some odd situations arising whilst using CoqIDE, namely: I can't type the letter "v" without holding down the windows/super key. Pressing backspace moves the focus to the previous tab…
Sean S
  • 55
  • 1
  • 6
1
vote
0 answers

No syntax highlighting in CoqIde

I use OpenSuse Leap, and build Coq-8.5 from sources. But there is no syntax coloring in coqide and in preferences I can't choose Language: In console output I have only: (coqide:30790): GLib-GObject-WARNING **: The property GtkWindow:allow-grow is…
Vdimir
  • 123
  • 1
  • 5
1
vote
1 answer

How to change display style in Coq IDE to match Coqtop?

The implication connective is printed as lambda expression in my coqide (OS X El Capitan). is that the expected behavior? I would prefer to see them printed as in coqtop. I couldn't find the option/command line option to change the display style.
Falcon
  • 1,317
  • 1
  • 13
  • 30
1
vote
0 answers

Specifying coqtop path for CoqIDE Vim plugin on Windows 8.1

I am trying to make the CoqIDE Vim plugin work on Windows 8.1. When I source the plugin from Vim, I get this error message: coqtop.opt: command not found. So I looked up the plugin documentation, and found the part that seems relevent: "coqtop"…
user287393
  • 1,221
  • 8
  • 13
1
vote
1 answer

Cannot load CoqIDE plugin for vim

I'm trying to use the CoqIDE for vim plugin I found on this page. I put the coq_IDE.vim file in ~/.vim/ftplugin folder. My current .vimrc file is: set showcmd set number imap hl filetype plugin on But when I start vim CoqIDE doesn't load…
0
votes
2 answers

Is there a way to redirect Coqide messages and errors to the same output?

I have a tactic whose expected behavior is to output an error message, and I want to run it in batch mode on a series of goals and for each goal, I want to record the goal and the error message from the tactic. It seems like I can't do this with…
0
votes
0 answers

Which GTK library emits these error messages?

A snap CoqIDE installation on Debian 11.4 gives the following error messages: Unable to init server: Could not connect: Connection refused Fatal error: exception Gtk.Error("GtkMain.init: initialization failed\nml_gtk_init: initialization…
Gergely
  • 6,879
  • 6
  • 25
  • 35