Formal Verification Startup Sequent Raises $2.2M to Ensure Code Compliance with Safety Rules

Associated Writers

Formal verification startup Sequent Inc. announced today the successful acquisition of $2.2 million in funding aimed at bringing its Alan proof platform out of early access.

Established in London in January, Sequent provides a platform that harnesses artificial intelligence to establish mathematical proofs ensuring that code adheres to the safety parameters defined by its developers. The decentralized exchange Curve Finance has become its inaugural paying client.

Curve Finance also played a pivotal role in Sequent’s inception. Charles Cooper, the Chief Executive and a key figure in developing Vyper—one of the primary programming languages for Ethereum—accidentally introduced a vulnerability into the Vyper compiler in 2021. While the issue was resolved within a few months, existing programs on the blockchain could not be updated, leaving legacy Curve pools and other projects vulnerable, culminating in an attack that resulted in the loss of over $50 million in July 2023. Link to the attack details.

In response to this incident, Ramana Kumar, who now serves as Sequent’s Chief Technology Officer and was previously an AI safety researcher at Google DeepMind, volunteered to assist in proving the correctness of the Vyper compiler. Kumar is a co-creator of CakeML, a compiler proven to be correct down to the machine instruction level.

Cooper emphasizes that the implications of this experience extend beyond the cryptocurrency sector, cautioning that “smart contracts have demonstrated that anything susceptible to exploitation will inevitably be exploited.” He noted that banks, governments, and organizations with legacy systems have traditionally safeguarded their code through obscurity, a tactic now undermined by AI-driven cyber threats.

The Alan platform currently operates with Vyper smart contracts, with support for Solidity and Solana in the pipeline, and general software support for Rust, C, TypeScript, and Python to follow.

For the time being, engineers utilizing Alan can specify rules for their code—such as “no user can withdraw more than their balance”—in natural language, delegating the task of deriving a mathematical proof to AI. Each AI-generated proof undergoes rigorous verification via HOL4, a checker Kumar has been refining for over a decade.

In a recent application for two-coin StableSwap pools containing standard tokens, Alan successfully demonstrated that no user could withdraw more than a predetermined limit from depositors, regardless of their actions or their order. This analysis also identified minor accounting and rounding discrepancies, none of which violated the specified limits. The founders are now engaged in verifying the Vyper compiler itself, as the prior Curve proof did not encompass the compiler that contained the 2021 vulnerability.

The newly acquired funding will not only support AI computing expenses but also facilitate hiring in engineering, sales, and marketing. Individual subscriptions to Alan are priced at $99 per month, while auditor plans start at $200 per month, and team plans commence at $500 per month.

The pre-seed funding round was co-led by Frachtis and Metaplanet Holdings OÜ, the latter being the investment firm of Jaan Tallinn, co-founder of Skype, who previously led Anthropic PBC’s Series A round in 2021. According to Frachtis founder Xavier Meegan, the cryptocurrency sector is a strategic starting point due to the “billions already at risk.”

[gspeech type=full]

Share This Article
Leave a comment