From 0f1814bcbaafbd93d7c7587eef8826a80b65477f Mon Sep 17 00:00:00 2001 From: Enrico Tassi Date: Wed, 22 May 2019 17:52:19 +0200 Subject: [function] always open a proof when used with `wf` or `measure` --- .../02-specification-language/10215-rm-maybe-open-proof.rst | 5 +++++ doc/sphinx/language/gallina-extensions.rst | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 doc/changelog/02-specification-language/10215-rm-maybe-open-proof.rst (limited to 'doc') diff --git a/doc/changelog/02-specification-language/10215-rm-maybe-open-proof.rst b/doc/changelog/02-specification-language/10215-rm-maybe-open-proof.rst new file mode 100644 index 0000000000..53828db951 --- /dev/null +++ b/doc/changelog/02-specification-language/10215-rm-maybe-open-proof.rst @@ -0,0 +1,5 @@ +- Function always opens a proof when used with a ``measure`` or ``wf`` + annotation, see Description of the changes, with possible link to + :ref:`advanced-recursive-functions` of the updated documentation + (`#10215 `_, + by Enrico Tassi). diff --git a/doc/sphinx/language/gallina-extensions.rst b/doc/sphinx/language/gallina-extensions.rst index 8c5ad785e4..c93984661e 100644 --- a/doc/sphinx/language/gallina-extensions.rst +++ b/doc/sphinx/language/gallina-extensions.rst @@ -737,7 +737,7 @@ used by ``Function``. A more precise description is given below. decreases at each recursive call of :token:`term`. The order must be well-founded. Parameters of the function are bound in :token:`term`. - Depending on the annotation, the user is left with some proof + If the annotation is ``measure`` or ``fw``, the user is left with some proof obligations that will be used to define the function. These proofs are: proofs that each recursive call is actually decreasing with respect to the given criteria, and (if the criteria is `wf`) a proof -- cgit v1.2.3