project-numina/numina-lean-agent / skills/search
search
VerifiedSearch tools for finding Lean theorems, lemmas, and definitions in Mathlib
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 1012 B |
| reference-hammer-premise.md | markdown | 947 B |
| reference-leanexplore.md | markdown | 1.4 KB |
| reference-leanfinder.md | markdown | 928 B |
| reference-leansearch.md | markdown | 860 B |
| reference-loogle.md | markdown | 1.2 KB |
| reference-state-search.md | markdown | 845 B |
reference-leanfinder.md
View on GitHub# leanfinder — Mathlib Semantic Search
Searches Mathlib theorems/definitions semantically by mathematical concept or proof state.
## CLI Invocation
```bash
python skills/cli/leanfinder.py QUERY [-n NUM_RESULTS]
```
| Argument | Required | Default | Description |
|----------|----------|---------|-------------|
| `QUERY` | yes | — | Mathematical concept, proof state, or statement definition |
| `-n, --num-results` | no | 5 | Maximum number of results |
## Examples
```bash
python skills/cli/leanfinder.py "sum of squares is non-negative"
python skills/cli/leanfinder.py "injectivity of composition"
python skills/cli/leanfinder.py "⊢ Finset.sum s f ≤ Finset.sum s g" -n 8
```
## Notes
- Best for: natural language math statements, proof states, statement fragments.
- Multiple targeted queries beat one complex query.
- For exact pattern matching, prefer `loogle`. For identifier search, prefer `leanexplore`.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| 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: 198k | Updated | Claude CodeCodex | Verified | Install |
| 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: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| 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: 194k | Updated | Claude CodeCodex | Verified | Install |