diff options
| author | Théo Zimmermann | 2020-04-26 16:38:45 +0200 |
|---|---|---|
| committer | Théo Zimmermann | 2020-04-26 16:38:45 +0200 |
| commit | 0d34d87e373a2fe5b40d253eeb6f4eecb90ac33d (patch) | |
| tree | e50247f53c0b5932439d04c749eeeee533615147 | |
| parent | 6c15158c5ab1693868356e4b2433c7eb7b8ec3f2 (diff) | |
| parent | cfbf6967182e68d4f8f93e4f0d64f1c1d036720a (diff) | |
Merge PR #12176: Doc: extend example for induction a bit
Reviewed-by: Zimmi48
| -rw-r--r-- | doc/sphinx/proof-engine/tactics.rst | 1 |
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: |
