“…Techniques and tools for automatic and semi-automatic resource analysis have been extensively studied. The applied methods range from deriving and analyzing recurrence relations [55,1,16,2,12,36,10,37], to abstract interpretation and static analysis [18,7,49,39], to type systems [11,56,53], to proof assistants and program logics [4,9,8,48,19,45,42], to term rewriting [6,5,47]. Many techniques focus on upper bounds on the worst-case bounds, but average-case bounds [15,35,43,54] and lower-bounds have also been studied [3,17,44].…”