From: Claudio Sacerdoti Coen Date: Tue, 5 Jul 2005 15:08:59 +0000 (+0000) Subject: Another "hard" test that used to fail. X-Git-Tag: V_0_7_1~83 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=6ef888abc44eab4f05077d0f4b600f1c1239dcb3;p=helm.git Another "hard" test that used to fail. --- diff --git a/helm/matita/tests/match_inference.ma b/helm/matita/tests/match_inference.ma index 5cfa19cc9..afb2513ee 100644 --- a/helm/matita/tests/match_inference.ma +++ b/helm/matita/tests/match_inference.ma @@ -29,3 +29,10 @@ definition r : True \def match (le_n O) with [ le_n \Rightarrow I | (le_S y p') \Rightarrow I ]. + +inductive Prod (A,B:Set): Set \def +pair : A \to B \to Prod A B. + +definition fst : \forall A,B:Set. (Prod A B) \to A \def +\lambda A,B:Set. \lambda p:(Prod A B). match p with +[(pair a b) \Rightarrow a].