> ## Documentation Index
> Fetch the complete documentation index at: https://docs.harmonic.fun/llms.txt
> Use this file to discover all available pages before exploring further.

# Overview

> What Aristotle verifies, what a result covers, and the ways to use it.

Aristotle is a verified reasoning agent by [Harmonic](https://harmonic.fun). Give it existing code and it proves the properties you specify, or finds bugs and suggests verified fixes. Every proof is machine-checked, and every refutation comes with its evidence: a concrete counterexample, a formal proof of the negation, or both.

You describe the properties in plain English. Aristotle works directly in your C, Rust, and Verilog files and tells you exactly what it proved, what it assumed, and what it could not prove and why.

## What Aristotle can do

> [card] Verify existing code
>
> Submit your code or a hardware design and describe the properties you want checked. Aristotle can prove, for example, freedom from undefined behavior and functional properties in software, and functional, safety, and liveness properties in supported hardware designs. Proofs depend on stated preconditions and assumptions.

> [card] Find counterexamples
>
> When a property is false, Aristotle does not stop at a failed proof. For software, a concrete counterexample comes with a small program that reproduces the failure. For hardware, a concrete counterexample comes with a testbench or harness and a VCD waveform.

> [card] Fix with proof
>
> When a property is refuted, Aristotle can suggest and implement fixes and verify the revised code against the requirements you stated.

> [card] Specify in English
>
> No annotation language to learn. Write the properties you care about in the prompt or in a text file alongside your sources, and Aristotle reports exactly what it proved and what it had to assume.

## What "verified" means

> [!NOTE]
>
> A proof covers the properties you stated, under the assumptions listed in the summary. When Aristotle fixes code, the revised code is verified against the requirements you stated. If a behavior matters, state it as a requirement.

## How it works

Every submission is a **project**: a prompt plus the code to verify, such as a C source tree or a SystemVerilog design, and any file of requirements. Send your code as it is, and Aristotle writes the proofs. Projects with only Lean files aren't supported. Aristotle runs a task against the project and returns a written summary of what it proved, what it assumed, what it changed, and any counterexamples it found, along with the files it produced or edited.

Projects are conversations. You can continue one to tighten the requirements, fix what a counterexample found, or pick up from partial progress, and Aristotle keeps the context of earlier tasks. Continuing a finished project starts a new task, which uses credits. A follow-up task builds on the work of earlier tasks in the project, so it usually uses fewer credits than starting a new project.

## Reading the result

The summary and the project's **Properties** table list every property in the project: the ones you stated and any that Aristotle added along the way. Each property shows its status, such as **Proved** or **Refuted**. A property marked **Unresolved** isn't verified: the run that worked on it stopped before verifying it, or its proof failed the project's final check. Open its row for the reason. [Tracking properties](https://docs.harmonic.fun/properties.md#status) lists every status. A design or program is verified for the properties marked **Proved**, under the assumptions listed in the summary. A behavior that isn't listed as a property hasn't been verified. To verify it, continue the project and state it as a requirement.

## Ways to use Aristotle

**Web app.** Sign in at [the web app](https://aristotle.harmonic.fun), type a prompt, attach files or a folder, and follow the run from your browser. A `.zip`, `.tar.gz`, `.tgz`, or `.tar` archive of a folder attaches as that folder.

**MCP.** Add Aristotle's [MCP server](https://docs.harmonic.fun/installation.md#set-up-the-mcp) to your AI assistant, sign in, and ask it to verify your code: it uploads the project, starts the run, follows it, and reads the results.

**CLI.** Run `aristotle` from your terminal to submit projects, follow progress, download results, and manage your work.

```shell wrap theme={null}
aristotle submit "Prove that every function in this project is memory safe" --project-dir ./ring-buffer --wait
```

Continue in the same project to refine the result or resume from partial progress:

```shell wrap theme={null}
aristotle continue <project-id> "rb_push drops values when the buffer is full. Fix it and prove no value is lost." --wait
```

**CI.** Add `aristotle ci` to your pipeline to check the properties listed in your repository's `aristotle.toml`, each reported as a test. See [Verify in CI](https://docs.harmonic.fun/ci.md).

**Python SDK.** Use the `aristotlelib` package for automation and integration.

```python wrap theme={null}
import asyncio
from aristotlelib import Project

async def main():
    project = await Project.create_from_directory(
        prompt="Prove that every function in this project is memory safe",
        project_dir="./ring-buffer",
    )
    tasks, _ = await project.get_tasks(limit=1)
    await tasks[0].wait_for_completion()
    await project.get_files(destination="output.tar.gz")

asyncio.run(main())
```

## Managing projects

Archive a project to remove it from your project list. In the web app, open the project's menu in Projects and choose **Archive project**. A project with a running task can't be archived until the task finishes or you cancel it. Archived projects move to the **Archived projects** section at the end of Projects and no longer appear in `aristotle list`. Shared links to an archived project keep working.

To restore a project, choose **Unarchive project** from its menu, or open it and send a prompt.

Delete a project to remove it for good. In the web app, open the project's menu in Projects, choose **Delete project**, and confirm. A deleted project can't be restored: its tasks and results go with it, and anyone who opens a shared link to it sees that it was deleted. A project with a running task can't be deleted until the task finishes or you cancel it. The credits its tasks used still appear in your organization's billing usage. With the CLI, run `aristotle delete <project>`. Through the MCP server, ask your assistant to delete a project. Both ask you to confirm first.

## Next steps

To get started, see [MCP & CLI](https://docs.harmonic.fun/installation.md).

For a full walkthrough of each language, including example projects and current limitations, see the [C verification](https://docs.harmonic.fun/software/c.md), [Rust verification](https://docs.harmonic.fun/software/rust.md), and [Verilog verification](https://docs.harmonic.fun/hardware/verilog.md) guides.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.