diff options
| author | Enrico Tassi | 2020-01-30 09:19:44 +0100 |
|---|---|---|
| committer | Enrico Tassi | 2020-01-30 09:19:44 +0100 |
| commit | 92a294ca53752b61b0270a719826ffc759a25e8d (patch) | |
| tree | 637fc19fd5c4ff1b54347ff7a7612ccc69bf0f2f | |
| parent | c5b2a4c5e3deacf30d53fac9dbf08b6cca759f2c (diff) | |
| parent | acfea8d9515504d4842ae5d24fc39186303d1cde (diff) | |
Merge PR #11464: Fix off-by-one in docs of `first num last` (fix #11463)
Reviewed-by: gares
| -rw-r--r-- | doc/sphinx/proof-engine/ssreflect-proof-language.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/sphinx/proof-engine/ssreflect-proof-language.rst b/doc/sphinx/proof-engine/ssreflect-proof-language.rst index 853ddfd6dc..46215f16a6 100644 --- a/doc/sphinx/proof-engine/ssreflect-proof-language.rst +++ b/doc/sphinx/proof-engine/ssreflect-proof-language.rst @@ -2222,14 +2222,14 @@ 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_{n + 1 − k}` and the + in focus. Subgoal :math:`G_{n + 1 − k}` becomes the first, and the circular order of subgoals remains unchanged. .. tacn:: first @num last 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. Subgoal :math:`G_{k + 1 \bmod n}` becomes the first, and the circular order of subgoals remains unchanged. Finally, the tactics ``last`` and ``first`` combine with the branching syntax |
