# HG changeset patch # User Christian Urban # Date 1362742264 0 # Node ID 262fc2c6371bd4bbfc6f8643f29f3337964faf84 # Parent a3ea0b0f8badcd32f2520a6c38e9a9ab33cc83f9 updated diff -r a3ea0b0f8bad -r 262fc2c6371b Tests/Rec_def2.thy --- a/Tests/Rec_def2.thy Fri Mar 08 11:10:45 2013 +0000 +++ b/Tests/Rec_def2.thy Fri Mar 08 11:31:04 2013 +0000 @@ -35,7 +35,8 @@ | termi_cn: "\terminate f (map (\g. rec_exec g xs) gs); \g \ set gs. terminate g xs; length xs = n\ \ terminate (Cn n f gs) xs" | termi_pr_0: "\terminate f xs; length xs = n\ \ terminate (Pr n f g) (0 # xs)" -| termi_pr_suc: "\terminate g (x # rec_exec (Pr n f gs) (x # xs) # xs)\ +| termi_pr_suc: "\terminate (Pr n f gs) (x # xs); length xs = n; + terminate g (x # rec_exec (Pr n f gs) (x # xs) # xs)\ \ terminate (Pr n f gs) (Suc x # xs)" | termi_mn: "\length xs = n; rec_exec f (r # xs) = 0; \ i < r. terminate f (i # xs) \ rec_exec f (i # xs) > 0\ \ terminate (Mn n f) xs"