Something like this:
```
extr = [minima, maxima] + [f(x) for x in soln if x in self]
return Interval(Min(extr), Max(extr))
```
?