Questions tagged [proof-general]

Proof General is a generic front-end for proof assistants, based on Emacs.

Proof General is a generic front-end for proof assistants (like Coq or Isabelle), based on the customizable text editor Emacs.

See also http://proofgeneral.inf.ed.ac.uk/

39 questions
0
votes
1 answer

Software Foundations Volume 1: Tactics: injection_ex3

Could some explain how to complete this proof? (please don't give the actual answer, just some guidance :) The exercise is from SF volume1, as stated in the title and it goes like this: (** **** Exercise: 3 stars, standard (injection_ex3) *) Example…
Felipe Balbi
  • 147
  • 7
0
votes
1 answer

Avoid printing notation in Coq with Proof General

In lecture 6 of the DeepSpec 2018, the lecturer Checks the definition of string_dec obtaining: string_dec : forall s1 s2 : string, {s1 = s2} + {s1 <> s2} Then he goes on to see the definition of +, but before, he disables in CoqIde the…
user1868607
  • 2,558
  • 1
  • 17
  • 38
0
votes
1 answer

SSreflect not working with Emacs, Coq and ProofGeneral. How to install SSreflect in MacOS?

If I do something like - From mathcomp Require Import ssreflect. it gives me the following error. Error: Cannot load mathcomp.ssreflect.ssreflect: no physical path bound to mathcomp.ssreflect But if I do this instead - Require Import ssreflect. It…
0
votes
1 answer

Browse definition in Coq-IDE

In the Isabelle proof assistant, one can click Ctrl+click on a term and the IDE redirects him to the relevant definition. Can this be done with CoqIde? With Proof-General?
user1868607
  • 2,558
  • 1
  • 17
  • 38
0
votes
1 answer

proof Lemma which based on Fixpoint definitions

Trying to prove following Lemma: I have tried unfold nth_error and nth in the goal but I cannot figure out a way to tell Coq to break the Fixpoint definition of these two functions. I have also tried to induction on n and the lists but none of them…
Boooooo
  • 157
  • 3
  • 12
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
0 answers

Tabbing gives error in proof general/emacs

I have emacs 23.3.1 on Ubuntu 12.04 LTS, with proof general 4.2. When editing coq files in the "coq Holes" mode (which is the default when I hack coq), I cannot tab. Doing so gives the error wrong type argument integer-or-marker-p nil proof…
SorcererofDM
  • 301
  • 1
  • 7
0
votes
1 answer

Customize proof-general's dark theme for Isabelle

I'm a novice in both Isabelle and Proof General. I am trying to set a dark theme in Proof General to use with Isabelle, but no matter what theme I choose (e.g. tango-dark, ample, monokai, etc.), the untouched inner syntax is highlighted in a very…
Phil
  • 5,595
  • 5
  • 35
  • 55
0
votes
1 answer

How does RegExp.exec Populate Its Results Array

I'm playing with a some regular expressions and, while looking at some of my matches, I became curious as to why a the exec function produced as many results as it did. I'm simply seeking a little clarification on the inner workings of the operation…
elucid8
  • 1,412
  • 4
  • 19
  • 40
1 2
3