extreme value theorem. There are any references about extreme value theorem in here. you can look below.