fill-sorry

Prove specified sorry'd lemmas iteratively in Lean using LSP tools.

2|Updated Jan 27, 2026
One-click install
npx skills add https://github.com/jeffrey-dot-li/lean-homology --skill fill-sorry
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fill-sorry
Source: https://github.com/jeffrey-dot-li/lean-homology/tree/main/.claude/skills/fill-sorry
Command: npx skills add https://github.com/jeffrey-dot-li/lean-homology --skill fill-sorry

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the process of proving lemmas in Lean, a theorem proving language, by iteratively applying tactics and using LSP tools to guide the proof.

Core Features & Use Cases

  • Iterative Proof Generation: Gradually proves sorry'd lemmas by applying tactics and checking the goal state.
  • LSP Integration: Leverages Lean's Language Server Protocol for real-time feedback and goal analysis.
  • Use Case: When faced with a complex mathematical lemma in Lean that contains a sorry placeholder, this Skill can systematically work towards a full proof.

Quick Start

Use the fill-sorry skill to prove the lemma at the current cursor position.

Frequently Asked Questions about fill-sorry

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate proving sorry'd lemmas in Lean?

Proving Lean lemmas iteratively involves applying tactics and analyzing the goal state to replace sorry placeholders. The process uses LSP tools for real-time feedback, systematically working towards a full formal verification proof.

What is the best way to use LSP for Lean theorem proving?

Lean LSP integration provides real-time feedback and goal state analysis during tactic application. This enables systematic proof completion by iteratively checking goals until the formal verification lemma is fully proven.

Do I need a Lean environment with LSP support to prove lemmas iteratively?

Yes, a Lean environment with LSP support is required to prove lemmas iteratively. The process depends on Language Server Protocol tools to analyze goal states and apply tactics for automated formal verification proof completion.

Can I target specific lemma statements for automated proof completion in Lean?

Targeting specific Lean lemma statements for automated proof completion is supported by analyzing the goal state at the current cursor position. The process applies tactics iteratively to the specified sorry'd lemma to achieve formal verification.

What are the limitations of automated tactic application for Lean formal verification?

Automated Lean tactic application for formal verification requires adherence to proof extraction principles for modularity. Complex mathematical lemmas need systematic iterative work, and the process depends entirely on a functional Lean LSP environment.