diff options
author | Théo Zimmermann <theo.zimmermann@univ-paris-diderot.fr> | 2018-04-13 11:05:48 +0200 |
---|---|---|
committer | Maxime Dénès <mail@maximedenes.fr> | 2018-04-14 15:44:29 +0200 |
commit | 3cc6a433d025996ea4a61969517d45ffbc9fd8a9 (patch) | |
tree | 6846570d84758373da6bffa36b3bb8e285703aa4 /doc/sphinx/addendum/program.rst | |
parent | 14f44c0e23c413314adf23ed1059acc5cd1fef2f (diff) |
[sphinx] Fix many warnings.
Including cross-reference TODOs.
I took down the number of warnings from 300 to 50.
Diffstat (limited to 'doc/sphinx/addendum/program.rst')
-rw-r--r-- | doc/sphinx/addendum/program.rst | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/sphinx/addendum/program.rst b/doc/sphinx/addendum/program.rst index eb50e52dc..a2940881d 100644 --- a/doc/sphinx/addendum/program.rst +++ b/doc/sphinx/addendum/program.rst @@ -135,7 +135,8 @@ support types, avoiding uses of proof-irrelevance that would come up when reasoning with equality on the subset types themselves. The next two commands are similar to their standard counterparts -Definition (see Section `TODO-1.3.2-Definition`_) and Fixpoint (see Section `TODO-1.3.4-Fixpoint`_) +Definition (see Section :ref:`gallina_def`) and Fixpoint +(see Section :ref:`TODO-1.3.4-Fixpoint`) in that they define constants. However, they may require the user to prove some goals to construct the final definitions. @@ -174,7 +175,7 @@ Program Definition .. TODO refer to production in alias -See also: Sections `TODO-6.10.1-Opaque`_, `TODO-6.10.2-Transparent`_, `TODO-8.7.5-unfold`_ +See also: Sections :ref:`vernac-controlling-the-reduction-strategies`, :tacn:`unfold` .. _program_fixpoint: @@ -196,7 +197,7 @@ The optional order annotation follows the grammar: + :g:`wf R x` which is equivalent to :g:`measure x (R)`. The structural fixpoint operator behaves just like the one of |Coq| (see -Section `TODO-1.3.4-Fixpoint`_), except it may also generate obligations. It works +Section :ref:`TODO-1.3.4-Fixpoint`), except it may also generate obligations. It works with mutually recursive definitions too. .. coqtop:: reset none |