diff options
| author | coqbot-app[bot] | 2020-11-27 13:56:16 +0000 |
|---|---|---|
| committer | GitHub | 2020-11-27 13:56:16 +0000 |
| commit | 2a21e55ead07a0f1c23e78c88ab6c8f9acb56c91 (patch) | |
| tree | aedf61dd8d24780541abeea4fc1289b74bb82b4e /doc | |
| parent | 79d088f5b99855e7f109391a67fe79d0e654da36 (diff) | |
| parent | c6cabd1ff266a91022eb86caf4a99e89c0626430 (diff) | |
Merge PR #13482: Improved error message on nested proofs
Reviewed-by: Zimmi48
Ack-by: gares
Ack-by: jfehrle
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/sphinx/language/core/definitions.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/sphinx/language/core/definitions.rst b/doc/sphinx/language/core/definitions.rst index 57771c9036..ee6679a29a 100644 --- a/doc/sphinx/language/core/definitions.rst +++ b/doc/sphinx/language/core/definitions.rst @@ -173,7 +173,8 @@ 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 the Nested Proofs Allowed flag on. + .. exn:: Nested proofs are discouraged and not allowed by default. This error probably means that you forgot to close the last "Proof." with "Qed." or "Defined.". \ + If you really intended to use nested proofs, you can do so by turning the "Nested Proofs Allowed" flag on. You are asserting a new statement while already being in proof editing mode. This feature, called nested proofs, is disabled by default. |
