Resource Aware ML, Version 1.4.2, July 2018 Typechecking module ... Typecheck successful. Stack-based typecheck successful. Analyzing function iter ... Trying degree: 1 == iter : ['a -> 'a; 'a; nat] -> 'a Non-zero annotations of the argument: 9.00 <-- (*, *, [S(*)]) 3.00 <-- (*, *, []) Non-zero annotations of result: Simplified bound: 3.00 + 9.00*M where M is the number of S-nodes of the 3rd component of the argument -- Mode: upper Metric: steps Degree: 1 Run time: 0.01 seconds #Constraints: 28 ==== Analyzing function compS ... Trying degree: 1 == compS : [nat -> 'a; nat] -> 'a Non-zero annotations of the argument: 5.00 <-- (*, []) Non-zero annotations of result: Simplified bound: 5.00 -- Mode: upper Metric: steps Degree: 1 Run time: 0.01 seconds #Constraints: 11 ==== Analyzing function id ... Trying degree: 1 == id : 'a -> 'a Non-zero annotations of the argument: 1.00 <-- * Non-zero annotations of result: Simplified bound: 1.00 -- Mode: upper Metric: steps Degree: 1 Run time: 0.00 seconds #Constraints: 2 ==== Analyzing function iterid ... Trying degree: 1, 2, 3 A bound for iterid could not be derived. The linear program is infeasible. -- Mode: upper Metric: steps Degree: 3 Run time: 0.06 seconds #Constraints: 199 ====