Zulip Chat Archive
Stream: new members
Topic: How to search a theorem
Xipan Xiao (May 15 2025 at 00:28):
I know that if f: A → B between commutative rings satisfies the following conditions:
- All element of a submonoid S of A are sent to units;
- ker f is exactly the zero divisors of elements of S;
- All elements of B can be written as f(x)/f(s) for some x in A and s in S.
then f is just the localizationA → S^{-1}A. I looked through theLocalizationandIsLocalizationnamespaces quickly but didn't find a match yet. Is there a trick, or some general guidance, for such kind of theorem searches? Or even is there atheorem searcherso that I can input my hypothesis types, and it returns the matches? I guess thatexact?is the thing I needed, but are there anything else?
Matt Diamond (May 15 2025 at 02:19):
is there a
theorem searcher
Matt Diamond (May 15 2025 at 02:19):
Loogle sounds the closest to what you're asking for, in terms of searching by types
... though honestly I don't have much experience with the others, so maybe they do the same thing
Kevin Buzzard (May 15 2025 at 04:53):
What you write is the definition of docs#IsLocalization and the API for that is all you need. If you want more precise help then you should ask a more precise question with a #mwe . In particular your use of the phrase "f is just..." needs clarification formally.
Justin Asher (May 15 2025 at 05:09):
Matt Diamond said:
is there a
theorem searcher
I also recently setup www.leanexplore.com. Would be happy for any feedback! Am still working on optimizing the search algorithm.
Kevin Buzzard (May 15 2025 at 05:14):
(brief feedback -- I used it once so far and it worked great!)
Justin Asher (May 15 2025 at 05:19):
Here is your query, for reference, @Xipan Xiao. It seems to point you to an instance of the desired class that Kevin mentioned.
Bolton Bailey (May 15 2025 at 06:04):
For the reference of others, there is also a draft blog post at blog#75 containing a write up of various search engines. (Apparently this was reviewed months ago, but I didn't notice or address the comments until now, sorry about that)
Last updated: Dec 20 2025 at 21:32 UTC