]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/tests/diabolic_fix.ma
Stuff moved from old Matita.
[helm.git] / matita / matita / tests / diabolic_fix.ma
diff --git a/matita/matita/tests/diabolic_fix.ma b/matita/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