# HG changeset patch # User blanchet # Date 1393847299 -3600 # Node ID 48ced935c0e5e00741f21b79e2ac64b1399c2e18 # Parent 3d40cf74726cac496e1874614cbfe382c8432704 tuning diff -r 3d40cf74726c -r 48ced935c0e5 src/HOL/BNF_Examples/Misc_Primcorec.thy --- a/src/HOL/BNF_Examples/Misc_Primcorec.thy Mon Mar 03 12:48:19 2014 +0100 +++ b/src/HOL/BNF_Examples/Misc_Primcorec.thy Mon Mar 03 12:48:19 2014 +0100 @@ -88,26 +88,26 @@ id_trees1 :: "'a bin_rose_tree mylist \ 'a bin_rose_tree mylist" and id_trees2 :: "'a bin_rose_tree mylist \ 'a bin_rose_tree mylist" where - "id_tree t = (case t of BRTree a ts ts' => BRTree a (id_trees1 ts) (id_trees2 ts'))" | + "id_tree t = (case t of BRTree a ts ts' \ BRTree a (id_trees1 ts) (id_trees2 ts'))" | "id_trees1 ts = (case ts of - MyNil => MyNil - | MyCons t ts => MyCons (id_tree t) (id_trees1 ts))" | + MyNil \ MyNil + | MyCons t ts \ MyCons (id_tree t) (id_trees1 ts))" | "id_trees2 ts = (case ts of - MyNil => MyNil - | MyCons t ts => MyCons (id_tree t) (id_trees2 ts))" + MyNil \ MyNil + | MyCons t ts \ MyCons (id_tree t) (id_trees2 ts))" primcorec trunc_tree :: "'a bin_rose_tree \ 'a bin_rose_tree" and trunc_trees1 :: "'a bin_rose_tree mylist \ 'a bin_rose_tree mylist" and trunc_trees2 :: "'a bin_rose_tree mylist \ 'a bin_rose_tree mylist" where - "trunc_tree t = (case t of BRTree a ts ts' => BRTree a (trunc_trees1 ts) (trunc_trees2 ts'))" | + "trunc_tree t = (case t of BRTree a ts ts' \ BRTree a (trunc_trees1 ts) (trunc_trees2 ts'))" | "trunc_trees1 ts = (case ts of - MyNil => MyNil - | MyCons t _ => MyCons (trunc_tree t) MyNil)" | + MyNil \ MyNil + | MyCons t _ \ MyCons (trunc_tree t) MyNil)" | "trunc_trees2 ts = (case ts of - MyNil => MyNil - | MyCons t ts => MyCons (trunc_tree t) MyNil)" + MyNil \ MyNil + | MyCons t ts \ MyCons (trunc_tree t) MyNil)" primcorec freeze_exp :: "('b \ 'a) \ ('a, 'b) exp \ ('a, 'b) exp" and