From ecd5b02db67b07fdc7c14d7ae7f0e0fd1034809c Mon Sep 17 00:00:00 2001 From: Claudio Sacerdoti Coen Date: Thu, 2 Aug 2012 20:03:52 +0000 Subject: [PATCH] ... --- matita/matita/lib/extraction.ma | 3 +++ 1 file changed, 3 insertions(+) diff --git a/matita/matita/lib/extraction.ma b/matita/matita/lib/extraction.ma index bb6af07e0..a1c49f8f0 100644 --- a/matita/matita/lib/extraction.ma +++ b/matita/matita/lib/extraction.ma @@ -155,6 +155,9 @@ coinductive stream: Type[0] ≝ scons : nat → stream → stream. let corec div (n:nat) : stream ≝ scons n (div (S n)). +definition rtest2 : nat → stream → nat ≝ + λm,s. match s with [ scons n l ⇒ m + n ]. + (* let rec mkterm (n:nat) : nat ≝ match n with -- 2.39.2