Zulip Chat Archive

Stream: lean4

Topic: How to loogle for exists `∃`


Markus Schmaus (Mar 07 2024 at 11:38):

How can I loogle for patterns involving ?

Let's say I'm looking for a lemma with the conclusion of docs#Quot.exists_rep, I would try out |- ∃ (?a : ?α), Quot.mk ?r ?a = ?q, but this results in an error message, I guess this is because of the comma ,. So is there a way to do this?

Markus Schmaus (Mar 07 2024 at 11:43):

(deleted)

Damiano Testa (Mar 07 2024 at 11:46):

Maybe...

@loogle Exists, Quot

loogle (Mar 07 2024 at 11:46):

:search: Quot.exists_rep, Multiset.exists_multiset_eq_map_quot_mk, and 2 more

Markus Schmaus (Mar 07 2024 at 12:15):

There are ways to find docs#Quot.exists_rep. The question is: how do I specify patterns involving ?

Markus Schmaus (Mar 07 2024 at 12:16):

Here is another:
@loogle Quot.mk ?r ?a = ?q

loogle (Mar 07 2024 at 12:16):

:search: Quot.exists_rep, Quot.sound, and 43 more

Eric Wieser (Mar 07 2024 at 12:33):

You should be searching for |- ∃ (a : ?α), Quot.mk ?r ?a = ?q

Eric Wieser (Mar 07 2024 at 12:33):

The first a isn't a wildcard, it's a binder


Last updated: May 02 2025 at 03:31 UTC