Resource Aware ML, Version 1.4.2, July 2018 Typechecking module ... Typecheck successful. Stack-based typecheck successful. Analyzing function eq_var ... Trying degree: 1 == eq_var : [var; var] -> bool Non-zero annotations of the argument: 9.00 <-- ([], []) Non-zero annotations of result: Simplified bound: 9.00 -- Mode: upper Metric: steps Degree: 1 Run time: 0.01 seconds #Constraints: 16 ==== Analyzing function eq_fun ... Trying degree: 1 == eq_fun : [funct; funct] -> bool Non-zero annotations of the argument: 9.00 <-- ([], []) Non-zero annotations of result: Simplified bound: 9.00 -- Mode: upper Metric: steps Degree: 1 Run time: 0.00 seconds #Constraints: 16 ==== Analyzing function eval1 ... Trying degree: 1 == eval1 : exp -> int Non-zero annotations of the argument: 14.00 <-- [Eadd(*)] 14.00 <-- [Emult(*)] 14.00 <-- [Ediv(*)] 8.00 <-- [] Non-zero annotations of result: Simplified bound: 8.00 + 14.00*K + 14.00*M + 14.00*N where K is the number of Ediv-nodes of the argument M is the number of Emult-nodes of the argument N is the number of Eadd-nodes of the argument -- Mode: upper Metric: steps Degree: 1 Run time: 0.03 seconds #Constraints: 162 ====