name: research description: Find whether a theorem/concept exists in Mathlib and locate building blocks for a new theorem.
Research Mode
Find whether a theorem/concept exists in Mathlib, and locate the building blocks needed for a new theorem.
Research topic: $ARGUMENTS
Procedure
- Use
lean_leansearch,lean_loogle,lean_leanfinderto search for the concept. - Use
lean_local_searchto check what already exists in this project. - For each relevant result, use
lean_hover_infoand/orlean_declaration_fileto get the full signature and source location. - Always cite results with
file_path:line_numberformat so they are alt+clickable in VSCode. - Summarize findings: what exists, what's missing, and what building blocks are available.
Output
A structured summary with clickable references. No code edits in this mode.