diff -r 87f173836d56 -r 503e5280ba72 src/HOL/Data_Structures/Define_Time_Function.thy --- a/src/HOL/Data_Structures/Define_Time_Function.thy Thu Oct 10 14:13:18 2024 +0200 +++ b/src/HOL/Data_Structures/Define_Time_Function.thy Sat Oct 12 12:45:29 2024 +0900 @@ -34,16 +34,6 @@ use \time_function\ accompanied by a \termination\ command. Limitation: The commands do not work properly in locales yet. -If \f\ is defined in a type class, one needs to set up a corresponding type class, say \T_f\, -that fixes a function \T_f\ of the corresponding type (ending in type \nat\). -For every instance of \f :: \\ one needs to create a corresponding instance of the class \T_f\. -Inside that instance one can now use \time_fun "f :: \"\ to define an instance of the function \T_f\. -For example, see the definition and instantiation of class \T_size\ in theory \Time_Funs\. -Note that we can just write \time_fun length\ because \length\ is an abbreviation for \size\ on type \list\. - -If \f\ has an argument of function type, the corresponding argument of \T_f\ is a pair -of that function argument \g\ and its corresponding time function \T_g\. - The pre-defined functions below are assumed to have constant running time. In fact, we make that constant 0. This does not change the asymptotic running time of user-defined functions using the