How the books stay consistent
Every deposit, borrow, withdrawal, repayment, or liquidation changes Project 0's records. Aristotle proved that three things still hold after each one, in any order, and after interest is added.
The records stay valid. Totals change by exactly the amount of each operation, no more and no less. And the value of a share never goes down.

The results
Project 0 Rust
Five operations, one set of books
Each operation has its own proof. A combined proof covers all five together.
5
Operations proved
31
Proved results
| Area | What’s proved |
|---|---|
| Deposit | The amount is recorded and paid exactly, including how it rounds. |
| Withdrawal | Normal and full withdrawals update the accounts correctly and pass every safety check. |
| Borrow | The loan, the debt, and any fees are recorded correctly. |
| Repayment | Both ways of repaying reduce or close the debt correctly. |
| Liquidation | A liquidation always leaves the account healthier, but never takes more than it needs to. Fees and all four accounting entries are included. |
| Joint accounting | Across any mix of operations and interest updates, the records stay valid, totals match every operation exactly, and share values never go down. |
Each result lists the conditions it depends on.
Built on
Solana
What the proof covers
The program's own math
Aristotle used the same fixed-width numbers and rounding as Project 0's code on Solana.
Any order
Users can deposit, borrow, withdraw, repay, and get liquidated in any order, with interest added in between. The proof covers all of it.
What it assumes
We proved this for Project 0's records as Aristotle modeled them. We didn't check that model against the live accounts on chain.
What it leaves out
Token transfers, transaction rollback, memory limits, rate limits across transactions, the full flash-loan flow, and whether trades are profitable.
