]> matita.cs.unibo.it Git - helm.git/commitdiff
...
authorEnrico Tassi <enrico.tassi@inria.fr>
Tue, 10 Jul 2007 08:15:09 +0000 (08:15 +0000)
committerEnrico Tassi <enrico.tassi@inria.fr>
Tue, 10 Jul 2007 08:15:09 +0000 (08:15 +0000)
matita/tests/bad_induction.ma [new file with mode: 0644]

diff --git a/matita/tests/bad_induction.ma b/matita/tests/bad_induction.ma
new file mode 100644 (file)
index 0000000..b009e18
--- /dev/null
@@ -0,0 +1,27 @@
+(**************************************************************************)
+(*       ___                                                              *)
+(*      ||M||                                                             *)
+(*      ||A||       A project by Andrea Asperti                           *)
+(*      ||T||                                                             *)
+(*      ||I||       Developers:                                           *)
+(*      ||T||         The HELM team.                                      *)
+(*      ||A||         http://helm.cs.unibo.it                             *)
+(*      \   /                                                             *)
+(*       \ /        This file is distributed under the terms of the       *)
+(*        v         GNU General Public License Version 2                  *)
+(*                                                                        *)
+(**************************************************************************)
+
+set "baseuri" "cic:/matita/nat/bad_induction".
+
+include "nat/nat.ma".
+
+include "logic/equality.ma".
+
+axiom bad_ind : ∀P : nat -> Prop. ∀n.(n = O -> P n) -> (∀n.P n -> P (S n)) -> P n.
+
+theorem absurd: ∀n. n = O.
+  intros.
+  letin P ≝ (λx:nat. n = O).
+  apply (bad_ind P n); simplify; intros; autobatch.
+qed.
\ No newline at end of file