aboutsummaryrefslogtreecommitdiff
path: root/doc/sphinx/proof-engine
diff options
context:
space:
mode:
authorEmilio Jesus Gallego Arias2020-11-18 23:25:17 +0100
committerEmilio Jesus Gallego Arias2020-11-26 21:21:55 +0100
commit50af46a596af607493ce46da782389e8a82e8354 (patch)
tree39f3b35a0a14148467819ed437ca36da8a8c2d2b /doc/sphinx/proof-engine
parent2ac3d11f6f1332250e918ef628eca3b788b3550a (diff)
[attributes] [doc] Documentation review by Théo.
Co-authored-by: <Théo Zimmermann <theo.zimmermann@inria.fr>
Diffstat (limited to 'doc/sphinx/proof-engine')
-rw-r--r--doc/sphinx/proof-engine/vernacular-commands.rst15
1 files changed, 9 insertions, 6 deletions
diff --git a/doc/sphinx/proof-engine/vernacular-commands.rst b/doc/sphinx/proof-engine/vernacular-commands.rst
index b8160b7966..08534c9e07 100644
--- a/doc/sphinx/proof-engine/vernacular-commands.rst
+++ b/doc/sphinx/proof-engine/vernacular-commands.rst
@@ -1152,10 +1152,11 @@ Controlling Typing Flags
anymore but it still affects the reduction of the term. Unchecked fixpoints are
printed by :cmd:`Print Assumptions`.
-.. attr:: typing(guarded)
+.. attr:: typing(guarded{? = {| yes | no } })
+ :name: typing(guarded)
Similar to :flag:`Guard Checking`, but on a per-declaration
- basis. Takes ``yes/no`` as parameters, i.e. ``typing(guarded=no)``.
+ basis. Disable guard checking locally with ``typing(guarded=no)``.
.. flag:: Positivity Checking
@@ -1164,10 +1165,11 @@ Controlling Typing Flags
break the consistency of the system, use at your own risk. Unchecked
(co)inductive types are printed by :cmd:`Print Assumptions`.
-.. attr:: typing(positive)
+.. attr:: typing(positive{? = {| yes | no } })
+ :name: typing(positive)
Similar to :flag:`Positivity Checking`, but on a per-declaration basis.
- Takes ``yes/no`` as parameters, i.e. ``typing(positive=no)``.
+ Disable positivity checking locally with ``typing(positive=no)``.
.. flag:: Universe Checking
@@ -1177,10 +1179,11 @@ Controlling Typing Flags
:cmd:`Print Assumptions`. It has the same effect as `-type-in-type` command line
argument (see :ref:`command-line-options`).
-.. attr:: typing(universes)
+.. attr:: typing(universes{? = {| yes | no } })
+ :name: typing(universes)
Similar to :flag:`Universe Checking`, but on a per-declaration basis.
- Takes ``yes/no`` as parameters, i.e. ``typing(universes=no)``.
+ Disable universe checking locally with ``typing(universe=no)``.
.. cmd:: Print Typing Flags