aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/sphinx/language/gallina-specification-language.rst
diff options
context:
space:
mode:
authorGravatar Théo Zimmermann <theo.zimmermann@univ-paris-diderot.fr>2018-05-21 12:15:06 +0200
committerGravatar Théo Zimmermann <theo.zimmermann@univ-paris-diderot.fr>2018-05-21 12:15:20 +0200
commit231a860fe710333cedbf83466745639849c75837 (patch)
treeadd4e07c7d436af66629ba1b64a52a30c5612cbf /doc/sphinx/language/gallina-specification-language.rst
parentd6eb4a26648817f6b034e95c02622cadf0fa65ca (diff)
Document the new nested-proof error message.
Diffstat (limited to 'doc/sphinx/language/gallina-specification-language.rst')
-rw-r--r--doc/sphinx/language/gallina-specification-language.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/sphinx/language/gallina-specification-language.rst b/doc/sphinx/language/gallina-specification-language.rst
index d17043105..76a016ff6 100644
--- a/doc/sphinx/language/gallina-specification-language.rst
+++ b/doc/sphinx/language/gallina-specification-language.rst
@@ -1260,6 +1260,12 @@ Chapter :ref:`Tactics`. The basic assertion command is:
The name you provided is already defined. You have then to choose
another name.
+ .. exn:: Nested proofs are not allowed unless you turn option Nested Proofs Allowed on.
+
+ You are asserting a new statement while already being in proof editing mode.
+ This feature, called nested proofs, is disabled by default.
+ To activate it, turn option :opt:`Nested Proofs Allowed` on.
+
The following commands are synonyms of :n:`Theorem @ident {? @binders } : type`:
.. cmdv:: Lemma @ident {? @binders } : @type