lean_leanfinder
Search mathlib semantically by mathematical meaning or proof state. Returns relevant theorems from selected mathlib versions.
Instructions
Limit: 10req/30s. Semantic search by mathematical meaning via Lean Finder.
Examples: "commutativity of addition on natural numbers",
"I have h : n < m and need n + 1 < m + 1", proof state text.
The `version` argument selects which mathlib snapshot to query
(v4.19.0, v4.24.0, or v4.28.0). Default: v4.28.0.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Mathematical concept or proof state | |
| version | No | Mathlib version index to search | v4.28.0 |
| num_results | No | Max results |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | No | List of Lean Finder results |