MystenLabs / sui

Sui, a next-generation smart contract platform with high throughput, low latency, and an asset-oriented programming model powered by the Move programming language
https://sui.io
Apache License 2.0
6.27k stars 11.21k forks source link

Revive the Move prover #20339

Open cos opened 6 days ago

cos commented 6 days ago

Description

This PR adds back the Sui Move prover with significant changes and enhancements.

The most important change is that the prover no longer uses special syntax. The specifications are now given via special functions, macros, naming conventions and annotations. This has several advantages, including:

The prover now supports:

AMM example: https://github.com/kunalabs-io/sui-smart-contracts/pull/9

Features/Changes

Test plan


Release notes

The changes should not affect any of the existing functionality. We still recommend extensive testing as we made some changes to the compiler to support spec_only and related.

vercel[bot] commented 6 days ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sui-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 21, 2024 5:04pm
3 Skipped Deployments | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **multisig-toolkit** | ⬜️ Ignored ([Inspect](https://vercel.com/mysten-labs/multisig-toolkit/27pP3F1kLwMwTR3gzEBZMW84UWHV)) | [Visit Preview](https://multisig-toolkit-git-fork-asymptotic-code-re-c4f062-mysten-labs.vercel.app) | | Nov 21, 2024 5:04pm | | **sui-kiosk** | ⬜️ Ignored ([Inspect](https://vercel.com/mysten-labs/sui-kiosk/Es9QqrMEs9vcJotfNz5UpJcugYao)) | [Visit Preview](https://sui-kiosk-git-fork-asymptotic-code-reviveprover-mysten-labs.vercel.app) | | Nov 21, 2024 5:04pm | | **sui-typescript-docs** | ⬜️ Ignored ([Inspect](https://vercel.com/mysten-labs/sui-typescript-docs/6KPr7dw4BRA5HsF68K9XB8hEtNnh)) | [Visit Preview](https://sui-typescript-docs-git-fork-asymptotic-code-7a1fdb-mysten-labs.vercel.app) | | Nov 21, 2024 5:04pm |