Skip to content

project-numina/numina-lean-agent / skills/search

search

Verified

Search tools for finding Lean theorems, lemmas, and definitions in Mathlib

FileKindSize
SKILL.mdskill md1012 B
reference-hammer-premise.mdmarkdown947 B
reference-leanexplore.mdmarkdown1.4 KB
reference-leanfinder.mdmarkdown928 B
reference-leansearch.mdmarkdown860 B
reference-loogle.mdmarkdown1.2 KB
reference-state-search.mdmarkdown845 B

reference-loogle.md

View on GitHub
# loogle — Pattern Matching Search

Searches by constant name, name substring, subexpression pattern, type shape, or conclusion.

## CLI Invocation

```bash
python skills/cli/loogle.py QUERY [-n NUM_RESULTS]
```

| Argument | Required | Default | Description |
|----------|----------|---------|-------------|
| `QUERY` | yes | — | Loogle query pattern |
| `-n, --num-results` | no | 8 | Maximum number of results |

## Query Patterns

| Pattern type | Example |
|---|---|
| By constant name | `Real.sin` |
| By name substring | `"differ"` |
| By subexpression | `_ * (_ ^ _)` |
| Non-linear subexpression | `Real.sqrt ?a * Real.sqrt ?a` |
| By type shape | `(?a -> ?b) -> List ?a -> List ?b` |
| By conclusion | `\|- tsum _ = _ * tsum _` |
| By conclusion with hypotheses | `\|- _ < _ → tsum _ < tsum _` |

## Examples

```bash
python skills/cli/loogle.py "Real.sin"
python skills/cli/loogle.py "_ * (_ ^ _)" -n 10
python skills/cli/loogle.py "|- _ < _ → tsum _ < tsum _"
```

## Notes

- Use `?a`, `?b`, etc. for named metavariables that must match the same expression in multiple positions (non-linear patterns).
- Use `_` for anonymous wildcards.
- Prefix the conclusion with `|-` to anchor the search to the return type.
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 194kUpdated Claude CodeCodexVerifiedInstall