aboutsummaryrefslogtreecommitdiff
path: root/CHANGES
diff options
context:
space:
mode:
authorPierre Courtieu2020-04-09 15:20:09 +0200
committerPierre Courtieu2020-04-09 15:20:09 +0200
commitd3ac65007d676d57569d764b493d4d8d6f6ed1cb (patch)
tree7b821dfe990af0d7e9734b921bad189b8705f4b3 /CHANGES
parent9196749d55413224355409d55003f7f8c8ba0f79 (diff)
Automatic "Proof using" insertion.
When "Suggest Proof Using" is set in coq, coq suggests "Proof using" annotations. We insert these annotation (by default after asking the user).
Diffstat (limited to 'CHANGES')
-rw-r--r--CHANGES23
1 files changed, 23 insertions, 0 deletions
diff --git a/CHANGES b/CHANGES
index 2b686029..cbe2e76d 100644
--- a/CHANGES
+++ b/CHANGES
@@ -45,6 +45,29 @@ and the PG Trac http://proofgeneral.inf.ed.ac.uk/trac
compilation does not stop at the first error but rather
continues as far as possible.
+*** Automatic insertion of "Proof using" annotations.
+
+ When "Suggest Proof Using" is set in coq, coq suggests "Proof
+ using" annotations when it detects there is no such annotation (or
+ a wrong one) in you proof and there should be one (i.r. you are
+ inside a section). By default PG will ask the user before
+ inserting the suggested annotation. You can customize this
+ behaviour:
+
+ (setq coq-accept-proof-using-suggestion 'always)
+ or
+ (setq coq-accept-proof-using-suggestion 'never)
+ or (default)
+ (setq coq-accept-proof-using-suggestion 'ask)
+
+ This is also settable from Coq menu.
+
+ Limitations:
+ - do not support nested proofs.
+ - always use the first suggestion (coq can provide several solutions).
+ - the proof is not replayed, which is consistent with the fact
+ that pg do not deal with async proofs.
+
*** Limited extensibility for indentation
Coq indentation mechanism is based on a fixed set of tokens and