From cfbf6967182e68d4f8f93e4f0d64f1c1d036720a Mon Sep 17 00:00:00 2001 From: Gaƫtan Gilbert Date: Sat, 25 Apr 2020 18:36:07 +0200 Subject: Doc: extend example for induction a bit This makes it show the shape of the induction hypothesis in the second goal instead of just saying "subgoal 2 is S n <= S n". --- doc/sphinx/proof-engine/tactics.rst | 1 + 1 file changed, 1 insertion(+) (limited to 'doc') diff --git a/doc/sphinx/proof-engine/tactics.rst b/doc/sphinx/proof-engine/tactics.rst index 7da453b7af..8df9b54725 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: -- cgit v1.2.3