src/ZF/Resid/Terms.thy
changeset 11319 8b84ee2cc79c
parent 6046 2c8a8be36c94
equal deleted inserted replaced
11318:6536fb8c9fc6 11319:8b84ee2cc79c
    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))"