From: Claudio Sacerdoti Coen Date: Mon, 10 Sep 2007 08:34:41 +0000 (+0000) Subject: This test shows one of the few cases were Matita is able to infer a dependent X-Git-Tag: 0.4.95@7852~180 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=81ca7521b39937cf79056465e18b4666ce1f34ff;p=helm.git This test shows one of the few cases were Matita is able to infer a dependent type. It should break if the dependent type is no longer inferred. --- diff --git a/matita/tests/dependent_type_inference.ma b/matita/tests/dependent_type_inference.ma new file mode 100644 index 000000000..11a42acac --- /dev/null +++ b/matita/tests/dependent_type_inference.ma @@ -0,0 +1,19 @@ +(**************************************************************************) +(* ___ *) +(* ||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/dependent_type_inference/". + +include "nat/nat.ma". + +definition foo ≝ λP.λy:nat.λa:y=y.λb. P y a ∧ P (S y) b. \ No newline at end of file