From: Stefano Zacchiroli Date: Mon, 2 Feb 2004 14:53:48 +0000 (+0000) Subject: fact regtest X-Git-Tag: V_0_2_3~117 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=1582072f9fce52a7f0bfabdff927744fe3f9ecbf;p=helm.git fact regtest --- diff --git a/helm/gTopLevel/tests/fix00.cic b/helm/gTopLevel/tests/fix00.cic new file mode 100644 index 000000000..f7b196c87 --- /dev/null +++ b/helm/gTopLevel/tests/fix00.cic @@ -0,0 +1,8 @@ +let rec fact = + \lambda x:nat. + [\lambda x:nat. nat] + match x:nat with + [ O \Rightarrow 1 + | (S (x: nat)) \Rightarrow (mult (S x) (fact x)) ] +in +(fact 4)