aboutsummaryrefslogtreecommitdiff
path: root/doc/sphinx/proof-engine
diff options
context:
space:
mode:
authorPaolo G. Giarrusso2020-01-27 21:38:26 +0100
committerPaolo G. Giarrusso2020-01-27 23:24:03 +0100
commit9e1a30ce69b3ebdd8f1617d7c3a0b92641c771fd (patch)
treea230adbaf8195be2b8c565fe3430f85cf4b5085f /doc/sphinx/proof-engine
parent614643e6fb1b5029d1c2bf50cd51f95d621010cf (diff)
Fix off-by-one in docs of `first num last` (fix #11463)
Diffstat (limited to 'doc/sphinx/proof-engine')
-rw-r--r--doc/sphinx/proof-engine/ssreflect-proof-language.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/sphinx/proof-engine/ssreflect-proof-language.rst b/doc/sphinx/proof-engine/ssreflect-proof-language.rst
index 853ddfd6dc..6d3259bb4d 100644
--- a/doc/sphinx/proof-engine/ssreflect-proof-language.rst
+++ b/doc/sphinx/proof-engine/ssreflect-proof-language.rst
@@ -2229,7 +2229,7 @@ tactics to *permute* the subgoals generated by a tactic.
If :token:`num`\'s value is :math:`k`,
this tactic rotates the :math:`n` subgoals :math:`G_1` , …, :math:`G_n`
- in focus. The first subgoal becomes :math:`G_k` and the circular order
+ in focus. The first subgoal becomes :math:`G_{k + 1 \bmod n}` and the circular order
of subgoals remains unchanged.
Finally, the tactics ``last`` and ``first`` combine with the branching syntax