Zulip Chat Archive
Stream: Is there code for X?
Topic: A continuous function takes its minimum on ℝ × ℝ
Michael Stoll (Jun 16 2025 at 16:01):
...or, more generally, how do I get that a continuous real-valued function on a locally compact and complete space that gets large outside of a compact set has a minimum?
Sébastien Gouëzel (Jun 16 2025 at 16:15):
I typed exactly your sentence "a continuous real-valued function on a locally compact and complete space that gets large outside of a compact set has a minimum" in https://leansearch.net, and the second answer is docs#Continuous.exists_forall_le' which looks quite promising.
Sébastien Gouëzel (Jun 16 2025 at 16:15):
(or the version without a prime, a few lines below in the same file)
Michael Stoll (Jun 16 2025 at 17:17):
Thanks!
I had tried Loogle, but apparently did not hit on the right combination of search terms...
Sébastien Gouëzel (Jun 16 2025 at 17:49):
loogle is for when you can guess exactly the form of the lemma, while leansearch is more fuzzy in a sense. Both are extremely useful (to me, at least)!
Last updated: Dec 20 2025 at 21:32 UTC