src/HOL/Tools/Function/partial_function.ML
changeset 41472 f6ab14e61604
parent 41117 d6379876ec4c
child 42083 e1209fc7ecdc
equal deleted inserted replaced
41471:54a58904a598 41472:f6ab14e61604
    25 structure Modes = Generic_Data
    25 structure Modes = Generic_Data
    26 (
    26 (
    27   type T = ((term * term) * thm) Symtab.table;
    27   type T = ((term * term) * thm) Symtab.table;
    28   val empty = Symtab.empty;
    28   val empty = Symtab.empty;
    29   val extend = I;
    29   val extend = I;
    30   fun merge (a, b) = Symtab.merge (K true) (a, b);
    30   fun merge data = Symtab.merge (K true) data;
    31 )
    31 )
    32 
    32 
    33 fun init fixp mono fixp_eq phi =
    33 fun init fixp mono fixp_eq phi =
    34   let
    34   let
    35     val term = Morphism.term phi;
    35     val term = Morphism.term phi;