Lean 4 skills for Claude enable systematic development of formal proofs in Lean 4. Benefits operations teams by automating theorem proving tasks. Connects to Lean 4 environments and integrates with Claude agents.
git clone https://github.com/cameronfreer/lean4-skills.gitLean 4 skills for Claude enable systematic development of formal proofs in Lean 4. Benefits operations teams by automating theorem proving tasks. Connects to Lean 4 environments and integrates with Claude agents.
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/cameronfreer/lean4-skillsCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
I'm working on a Lean 4 proof and need help with the following theorem: [THEOREM]. Here's what I've tried so far: [ATTEMPT]. Can you suggest a better approach or complete the proof?
# Lean 4 Theorem Proof Assistance
## Theorem to Prove
```lean
lemma vector_add_comm (v w : Vector ℕ) : v + w = w + v := sorry
```
## Current Attempt
```lean
lemma vector_add_comm (v w : Vector ℕ) : v + w = w + v := by
induction v with
| nil => rfl
| cons hd tl ih =>
rw [Vector.add_cons, Vector.add_cons]
apply ih
exact hd.add_comm
```
## Suggested Solution
```lean
lemma vector_add_comm (v w : Vector ℕ) : v + w = w + v := by
induction v with
| nil => rfl
| cons hd tl ih =>
rw [Vector.add_cons, Vector.add_cons]
apply add_comm
exact ih
```
The key insight was to use `add_comm` directly on the head elements rather than trying to apply the induction hypothesis first. This approach leverages Lean's built-in commutative addition property more effectively.AI assistant built for thoughtful, nuanced conversation
IronCalc is a spreadsheet engine and ecosystem
Service Management That Turns Chaos Into Control
Customer feedback management made simple
Enterprise workflow automation and service management platform
Automate your spreadsheet tasks with AI power
Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan