From: Claudio Sacerdoti Coen Date: Wed, 19 Jul 2006 15:11:14 +0000 (+0000) Subject: Submitted a test for inferencing of dependent types. X-Git-Tag: 0.4.95@7852~1181 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=0aed1ab55fda7e09f29db13bc16330c7e9e8d489;p=helm.git Submitted a test for inferencing of dependent types. --- diff --git a/matita/tests/apply2.ma b/matita/tests/apply2.ma new file mode 100644 index 000000000..220eddb4b --- /dev/null +++ b/matita/tests/apply2.ma @@ -0,0 +1,24 @@ +(**************************************************************************) +(* ___ *) +(* ||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/test/apply2". + +include "nat/nat.ma". + +(* in this test the type inferred for f is dependent! *) +definition test ≝ + ∀f,x. + f O (refl_eq nat O) = O ∧ + f x (refl_eq nat x) = O. +