Skip to main content
Glama

lean_hammer_premise

Generate premise suggestions for automation tactics at specific goal positions in Lean theorem proving, providing lemma names for use with simp, aesop, or as hints.

Instructions

Limit: 3req/30s. Get premise suggestions for automation tactics at a goal position.

Returns lemma names to try with `simp only [...]`, `aesop`, or as hints.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_pathYesAbsolute path to Lean file
lineYesLine number (1-indexed)
columnYesColumn number (1-indexed)
num_resultsNoMax results

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/oOo0oOo/lean-lsp-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server