interval.min function

calcula minimos