Learn

Reference articles on algebraic verification, smart contract invariants, compile-time proofs, WASM compilation targets, and the Form language. Each article answers a specific question about verified smart contract development.

Verification

What is algebraic verification for smart contracts?
How invariants are expressed as algebraic identities and proven by the compiler through arithmetic reasoning. How this differs from model checking, fuzzing, and symbolic execution.
How do I formally verify a smart contract?
Four approaches to formal verification: model checking, theorem proving, abstract interpretation, and algebraic verification. Step-by-step walkthrough of verifying a Token form.
What are smart contract invariants and why do they matter?
Conservation of funds, access control, state machine correctness. Real-world exploits caused by invariant violations: Ronin ($600M), Wormhole ($326M), Beanstalk ($182M).
What is compile-time verification for smart contracts?
Compile-time versus runtime versus post-deployment verification. How proven invariants are erased from WASM output. Comparison with Solidity require statements and modifiers.

Platform

What is a Form in Formagine?
The Form primitive defined precisely: state, invariants, transitions. How a Form maps to an algebraic structure. How Forms differ from Solidity contracts, Rust structs, and Move resources.
What are WASM smart contracts and why use them?
WASM as a compilation target. Advantages over EVM bytecode. Which chains support WASM: CosmWasm, Near, Stylus, Polkadot. The advantage of compiling from a verification-native language.
Can I create verified smart contracts without writing code?
The dropdown-based form builder. Select contract type, define state, pick invariants, choose chain, compile. Constraint propagation ensures all combinations are valid and verified.
Is there an alternative to smart contract audits?
Compiler-verified forms as a categorically different approach to contract security. What compiler verification covers and what it does not. Honest comparison with the audit model.

Form Templates

Chain Targets

Resources