lean_loogle
Search the Mathlib library for theorems and definitions by type signature, constant name, or pattern.
Instructions
Search Mathlib by type signature via loogle.lean-lang.org.
Examples: `Real.sin`, `"comm"`, `(?a → ?b) → List ?a → List ?b`,
`_ * (_ ^ _)`, `|- _ < _ → _ + 1 < _ + 1`
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Type pattern, constant, or name substring | |
| num_results | No | Max results |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | No | List of Loogle results |