coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: flavio.de.moura AT gmail.com (Flávio L. C. de Moura)
- To: coq-club <coq-club AT inria.fr>
- Cc: pierre.courtieu AT gmail.com
- Subject: Re: [Coq-Club] Proof General problem with Coq 8.4
- Date: Fri, 13 Jan 2017 07:27:54 -0300
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=flavio.de.moura AT gmail.com; spf=Pass smtp.mailfrom=flavio.de.moura AT gmail.com; spf=None smtp.helo=postmaster AT mail-qk0-f193.google.com
- Ironport-phdr: 9a23:OzyV8RQnerdyI8sARV3Y3m6z6Npsv+yvbD5Q0YIujvd0So/mwa6yZxON2/xhgRfzUJnB7Loc0qyN4vymAjZLuM/JmUtBWaQEbwUCh8QSkl5oK+++Imq/EsTXaTcnFt9JTl5v8iLzG0FUHMHjew+a+SXqvnYdFRrlKAV6OPn+FJLMgMSrzeCy/IDYbxlViDanb75/KBq7oR/fu8UIjoduN7s9wQbVr3VVfOhb2XlmLk+JkRbm4cew8p9j8yBOtP8k6sVNT6b0cbkmQLJBFDgpPHw768PttRnYUAuA/WAcXXkMkhpJGAfK8hf3VYrsvyTgt+p93C6aPdDqTb0xRD+v4btnRAPuhSwaMTMy7WPZhdFqjK9DoByvuQFxzYDXbo6bO/VxYqzTcMgGRWpYRMtdSzBND5m+YoYJEuEPPfxYr474p1YWoxu+AROjBP3uyj9PnHP5wLM13/4kEQHBwQwgBcgBvW/brNXwLqgSUOS1wLPUwjXEavNdxDPx5ojMchcjv/GMXLVwetfXx0U1CgjIkE+copH4MDyLy+8DtG+b7/d6Ve21jmIqrRx6rDaoxscpkIbJh4QVx0jL9SV43IY1JcC4R1VhbdG4F5tQsieXPJZ1TMM6W2xkpjo2x7kctZO4fCUG0oorywDDZ/CdboSF5hzuWP6MLTp5h39pYrayiwqo/US+1uHxVNO43EtJoydDj9LCrGoC1wbJ5ciCUvZ9/lmu2TKI1w3L7+FLO0E0la7CJ544wb48ioMfsUreEiLylkj6lqCWdkIj+uin7+TofK/qqYObN49xkg3+M6IuldKjAekgLAQCQ2yW9f6/2bDj50H1XqtGguEsnqXEtJ3XK9wXpqujDA9U1oYj5Qy/DzCj0NkAk3kHKEhKeAyGj4juIV3BPe73Ae26g1SrjTdr3erJM6buApXINHfDkbPhcaxh5E5bzQo/1cpf6I5MCrEdPPLzXVf8u8DfDh8gKgC73+LnCMhm2Y4FQmKOAqqZMLvIvlOS5+IvJfOMZI4PtzrnJfgl/a2msXhsklgEOKKtwJFfPHu/B7FtJ1iTSXvqmNYIV2kQ6FkQVuvv3VOGWCBSYDC+UuQ54SwhAaqpCI7CQsamh7nJnAm/l4NXYShiTBinVz/kes2hXOoWYWPBcYdajjUYWO35GMca3ha0uVqixg==
Hi Pierre,
Before answering your questions, let me give some information:
I installed Proof General from github as follows:
git clone https://github.com/ProofGeneral/PG ~/.emacs.d/lisp/PG
cd ~/.emacs.d/lisp/PG
make clean; make EMACS=/usr/local/bin/emacs
> Hi,
> Your coqtop is launched with -Q option py proofgeneral, which is not
> compatible with coq-8.4. Please give more information on your
> configuration so that we can help you:
> - Does the directory where you start proofgeneral contain a _CoqProject
> file?
No.
> - Does the file where you start proofgeneral contain some file variable
I don't think so... at least I couldn't find any. If there is some file
variable, it is created automatically during the installation process.
> - Do you have some pg related configuration in your .emacs?
Yes.
(load "~/.emacs.d/lisp/PG/generic/proof-site")
(eval-after-load "proof-script" '(progn
(define-key proof-mode-map [(C-down)]
'proof-assert-next-command-interactive)
(define-key proof-mode-map [(C-up)]
'proof-undo-last-successful-command)
))
(add-hook 'proof-goals-mode-hook
(lambda () (setq proof-eagerly-raise nil)))
(add-hook 'proof-response-mode-hook
(lambda () (setq proof-eagerly-raise nil)))
> - Do you have a .coqrc?
No
> Best regards,
> Pierre Courtieu
Thank you in advance for your help.
Best regards,
Flávio.
> 2017-01-13 1:19 GMT+01:00 Flávio L. C. de Moura
> <flavio.de.moura AT gmail.com>:
> > Hello Coq users,
> >
> > I am facing a strange problem with Proof General, and I didn't realize
> > how to solve it. When I try to process a .v file (with Coq 8.4pl4), I
> > get the following screen:
> >
> > Don't know what to do with -Q
> > Usage: coqtop <options>
> >
> > Coq options are:
> > -I dir -as coqdir map physical dir to logical coqdir
> > -I dir map directory dir to the empty logical path
> > -include dir (idem)
> > -R dir -as coqdir recursively map physical dir to logical coqdir
> > -R dir coqdir (idem)
> > -top coqdir set the toplevel name to be coqdir instead of Top
> > -notop set the toplevel name to be the empty logical path
> > -exclude-dir f exclude subdirectories named f for option -R
> >
> > -inputstate f read state from file f.coq
> > -is f (idem)
> > -nois start with an empty state
> > -outputstate f write state in file f.coq
> > -compat X.Y provides compatibility support for Coq version X.Y
> > -verbose-compat-notations be warned when using compatibility notations
> > -no-compat-notations get an error when using compatibility notations
> >
> > -load-ml-object f load ML object file f
> > -load-ml-source f load ML file f
> > -load-vernac-source f load Coq file f.v (Load f.)
> > -l f (idem)
> > -load-vernac-source-verbose f load Coq file f.v (Load Verbose f.)
> > -lv f (idem)
> > -load-vernac-object f load Coq object file f.vo
> > -require f load Coq object file f.vo and import it (Require
> > f.)
> > -compile f compile Coq file f.v (implies -batch)
> > -compile-verbose f verbosely compile Coq file f.v (implies -batch)
> >
> > -opt run the native-code version of Coq
> > -byte run the bytecode version of Coq
> >
> > -where print Coq's standard library location and exit
> > -config print Coq's configuration information and exit
> > -v print Coq version and exit
> >
> > -q skip loading of rcfile
> > -init-file f set the rcfile to f
> > -batch batch mode (exits just after arguments parsing)
> > -boot boot mode (implies -q and -batch)
> > -emacs tells Coq it is executed under Emacs
> > -noglob do not dump globalizations
> > -dump-glob f dump globalizations in file f (to be used by
> > coqdoc)
> > -with-geoproof (yes|no) to (de)activate special functions for Geoproof
> > within Coqide (default is yes)
> > -impredicative-set set sort Set impredicative
> > -force-load-proofs load opaque proofs in memory initially
> >
> > -lazy-load-proofs load opaque proofs in memory by necessity (default)
> > -dont-load-proofs see opaque proofs as axioms instead of loading them
> > -xml export XML files either to the hierarchy rooted in
> > the directory $COQ_XML_LIBRARY_ROOT (if set) or to
> > stdout (if unset)
> > -quality improve the legibility of the proof terms produced
> > by
> > some tactics
> > -h, --help print this list of options
> >
> >
> > I have opam installed, and if I switch to Coq 8.5 or 8.6, everything
> > works fine. The first line of the above screen says "Don't know what to
> > do with -Q" but I don't know how to fix this. Any help is very welcome.
> >
> > Best regards,
> > Flávio.
- [Coq-Club] Proof general problem with Coq 8.4, Flávio L. C. de Moura, 01/13/2017
- <Possible follow-up(s)>
- [Coq-Club] Proof General problem with Coq 8.4, Flávio L. C. de Moura, 01/13/2017
- Re: [Coq-Club] Proof General problem with Coq 8.4, Pierre Courtieu, 01/13/2017
- Re: [Coq-Club] Proof General problem with Coq 8.4, Flávio L. C. de Moura, 01/13/2017
- Re: [Coq-Club] Proof General problem with Coq 8.4, Pierre Courtieu, 01/13/2017
- Re: [Coq-Club] Proof General problem with Coq 8.4, Flávio L. C. de Moura, 01/13/2017
- Re: [Coq-Club] Proof General problem with Coq 8.4, Pierre Courtieu, 01/13/2017
- Re: [Coq-Club] Proof General problem with Coq 8.4, Flávio L. C. de Moura, 01/13/2017
- Re: [Coq-Club] Proof General problem with Coq 8.4, Clément Pit--Claudel, 01/16/2017
Archive powered by MHonArc 2.6.18.