equal
deleted
inserted
replaced
16 "Apl(n,m)" == "App(0,n,m)" |
16 "Apl(n,m)" == "App(0,n,m)" |
17 |
17 |
18 inductive |
18 inductive |
19 domains "lambda" <= "redexes" |
19 domains "lambda" <= "redexes" |
20 intrs |
20 intrs |
21 Lambda_Var " n:nat ==> Var(n):lambda" |
21 Lambda_Var " n \\<in> nat ==> Var(n):lambda" |
22 Lambda_Fun " u:lambda ==> Fun(u):lambda" |
22 Lambda_Fun " u \\<in> lambda ==> Fun(u):lambda" |
23 Lambda_App "[|u:lambda; v:lambda|]==> Apl(u,v):lambda" |
23 Lambda_App "[|u \\<in> lambda; v \\<in> lambda|]==> Apl(u,v):lambda" |
24 type_intrs "redexes.intrs@bool_typechecks" |
24 type_intrs "redexes.intrs@bool_typechecks" |
25 |
25 |
26 primrec |
26 primrec |
27 "unmark(Var(n)) = Var(n)" |
27 "unmark(Var(n)) = Var(n)" |
28 "unmark(Fun(u)) = Fun(unmark(u))" |
28 "unmark(Fun(u)) = Fun(unmark(u))" |