From e464d2ad85f2a3902f911e28f06a54b7fa16d2d7 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 helm/software/matita/tests/dependent_type_inference.ma diff --git a/helm/software/matita/tests/dependent_type_inference.ma b/helm/software/matita/tests/dependent_type_inference.ma new file mode 100644 index 000000000..11a42acac --- /dev/null +++ b/helm/software/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