From 231a860fe710333cedbf83466745639849c75837 Mon Sep 17 00:00:00 2001 From: Théo Zimmermann Date: Mon, 21 May 2018 12:15:06 +0200 Subject: Document the new nested-proof error message. --- doc/sphinx/language/gallina-specification-language.rst | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- cgit v1.2.3