Hi!
This tool offers two ways to search for theorems: by label, or by hypotheses and conclusion. When searching for a theorem by hypotheses or conclusion, you can use two RegExp-inspired wildcards:
- . : replaces any Metamath constant or variable (ex: Scalar, A, i^i, ...).
- .* : replaces any sequence of space-separated Metamath variable or constants.
A few example searches that you may find useful:(i) "( ( . + . ) - . ) = ( ( . - . ) + . )" returns addsub, addsubi and addsubd.
(ii) "mod .* = 0 <->" returns:
- mod0: |- ( ( A e. RR /\ B e. RR+ ) -> ( ( A mod B ) = 0 <-> ( A / B ) e. ZZ ) )
- negmod0: |- ( ( A e. RR /\ B e. RR+ ) -> ( ( A mod B ) = 0 <-> ( -u A mod B ) = 0 ) )
- absmod0: |- ( ( A e. RR /\ B e. RR+ ) -> ( ( A mod B ) = 0 <-> ( ( abs ` A ) mod B ) = 0 ) )
(iii) You can search by hypotheses (by adding search strings prefixed by a yellow turnstile), "( . -> . )" and "." quickly finds ax-mp (despite the different ordering of hypotheses).
(iv) Searching for syl3anc, "( . /\ . /\ . ) -> ." and "( ph -> . )" as hypotheses and "( ph -> . )" as conclusion will work.
We have been using this tool internally for a few weeks now and have been enjoying it and hope it will help you find theorems more easily as well!
Auguste