diff options
| author | Emilio Jesus Gallego Arias | 2018-05-22 21:57:46 +0200 |
|---|---|---|
| committer | Emilio Jesus Gallego Arias | 2018-05-22 21:57:46 +0200 |
| commit | ce4387ab4538070cab550bcccc0baef3732d6a25 (patch) | |
| tree | 280c5480ceaa4824d15ba5de518eee7cc15c1f22 | |
| parent | 1f901b7696a7a13ecd3c488353d08eaa1789453b (diff) | |
| parent | 231a860fe710333cedbf83466745639849c75837 (diff) | |
Merge PR #7565: Document the new nested-proof error message.
| -rw-r--r-- | doc/sphinx/language/gallina-specification-language.rst | 6 |
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 d170431058..76a016ff64 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 |
