aboutsummaryrefslogtreecommitdiff
path: root/doc/sphinx/proof-engine
diff options
context:
space:
mode:
authorThéo Zimmermann2020-04-26 16:38:45 +0200
committerThéo Zimmermann2020-04-26 16:38:45 +0200
commit0d34d87e373a2fe5b40d253eeb6f4eecb90ac33d (patch)
treee50247f53c0b5932439d04c749eeeee533615147 /doc/sphinx/proof-engine
parent6c15158c5ab1693868356e4b2433c7eb7b8ec3f2 (diff)
parentcfbf6967182e68d4f8f93e4f0d64f1c1d036720a (diff)
Merge PR #12176: Doc: extend example for induction a bit
Reviewed-by: Zimmi48
Diffstat (limited to 'doc/sphinx/proof-engine')
-rw-r--r--doc/sphinx/proof-engine/tactics.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/sphinx/proof-engine/tactics.rst b/doc/sphinx/proof-engine/tactics.rst
index 9dcfea4fe7..a969bf5482 100644
--- a/doc/sphinx/proof-engine/tactics.rst
+++ b/doc/sphinx/proof-engine/tactics.rst
@@ -1875,6 +1875,7 @@ analysis on inductive or co-inductive objects (see :ref:`inductive-definitions`)
Lemma induction_test : forall n:nat, n = n -> n <= n.
intros n H.
induction n.
+ exact (le_n 0).
.. exn:: Not an inductive product.
:undocumented: