aristotle-prover

Translate natural-language mathematical statements into Lean 4 proofs via the Harmonic Aristotle API.

2|Updated Feb 15, 2026
One-click install
npx skills add https://github.com/ZealousEar/claude-skills --skill aristotle-prover
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: aristotle-prover
Source: https://github.com/ZealousEar/claude-skills/tree/main/claude-code/aristotle-prover
Command: npx skills add https://github.com/ZealousEar/claude-skills --skill aristotle-prover

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires aristotlelib, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Translates natural-language mathematical questions into Lean 4 proofs by leveraging Harmonic's Aristotle API, enabling formal verification and counterexample discovery.

Core Features & Use Cases

  • End-to-end translation: natural-language statements are converted into formal Lean prompts and submitted for verification.
  • Counterexample support: returns a counterexample when the statement is false.
  • API-driven workflow: uses the aristotlelib-based pipeline via scripts/aristotle_submit.py with Lean context templates.

Quick Start

Provide a natural-language mathematical statement to Aristotle and receive either a Lean 4 proof or a counterexample.

Frequently Asked Questions about aristotle-prover

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

FAQPage Schema
How do I convert natural language math statements into Lean 4 proofs?

Translating natural language math statements into Lean 4 proofs involves converting them into formal Lean prompts and submitting them through the Aristotle API pipeline to receive a verified proof or counterexample.

What is formal verification for mathematical theorems in Lean 4?

Formal verification in Lean 4 validates mathematical theorems by translating natural language statements into formal code, submitting them through an API pipeline to confirm logical correctness or generate counterexamples.

Do I need an API key to use the Aristotle theorem prover?

Yes, using the Aristotle formal verification workflow requires setting the ARISTOTLE_API_KEY environment variable to authenticate API requests submitted through the aristotlelib Python package.

Does the Aristotle API return a counterexample when a math statement is false?

Yes, the Aristotle API workflow returns a counterexample instead of a Lean 4 proof when a submitted mathematical statement is proven false, helping identify logical errors in the natural language input.

Can I use Lean context templates when submitting math prompts for formal verification?

Yes, optional Lean context templates can be included when submitting math prompts through the Aristotle API pipeline, allowing you to specify formal framework constraints for the theorem prover.

What Python dependencies are required for translating math prompts into Lean 4?

The aristotlelib Python package is required to handle the end-to-end workflow from user input through translation and API submission to retrieve a verified Lean 4 proof or counterexample.