From 81ca7521b39937cf79056465e18b4666ce1f34ff Mon Sep 17 00:00:00 2001 From: Claudio Sacerdoti Coen Date: Mon, 10 Sep 2007 08:34:41 +0000 Subject: [PATCH] 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. --- matita/tests/dependent_type_inference.ma | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 matita/tests/dependent_type_inference.ma 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 -- 2.39.2