]> matita.cs.unibo.it Git - helm.git/commitdiff
xxx
authorEnrico Tassi <enrico.tassi@inria.fr>
Tue, 3 Jun 2008 08:12:38 +0000 (08:12 +0000)
committerEnrico Tassi <enrico.tassi@inria.fr>
Tue, 3 Jun 2008 08:12:38 +0000 (08:12 +0000)
helm/software/matita/tests/diabolic_fix.ma [new file with mode: 0644]

diff --git a/helm/software/matita/tests/diabolic_fix.ma b/helm/software/matita/tests/diabolic_fix.ma
new file mode 100644 (file)
index 0000000..0b0583e
--- /dev/null
@@ -0,0 +1,30 @@
+(**************************************************************************)
+(*       ___                                                              *)
+(*      ||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                  *)
+(*                                                                        *)
+(**************************************************************************)
+
+include "nat/nat.ma".
+
+definition f :=
+ λs1,s2:nat.
+   let rec aux (s3:nat → nat) (x:nat) on x :=
+     match x with
+     [ O ⇒ s3 (S x)
+     | S m ⇒ aux2 s3 m] 
+    and aux2 (s3:nat → nat) (x:nat) on x :=
+     match x with
+     [ O ⇒ s3 x
+     | S m ⇒ aux s3 m]
+    in aux.
+    
+definition g :=
+ λw.  
\ No newline at end of file