Skip to main content
Try out the RareSkills ZK AI Tutor!

Solidity

Browse all Solidity articles.

7 min read

Understanding the Spec File in Certora CVL

Understanding the Spec File in Certora CVL In the last chapter, we saw that to perform formal verification using Certora Prover, we need to provide the Prover with the following key items: Smart...

Last updated onFeb 13, 2026
Read Article

6 min read

Formally Verifying Ownable.sol

Formally Verifying Ownable.sol Ownable is an abstract contract that provides owner-based access control. When inherited, it restricts specific functions to the owner using the modifier. It has three...

Last updated onFeb 17, 2026
Read Article

5 min read

Testing msg.sender and msg.value in CVL

Testing msg.sender and msg.value in CVL Introduction In this chapter, we introduce the variable in CVL, which enables us to make rules for functions that depend on , , and other global variables in...

Last updated onFeb 13, 2026
Read Article

5 min read

Biconditional Operator

Biconditional Operator Introduction The biconditional operator enables us to assert if-and-only-if relationships between boolean values. Implication () states that if condition P is satisfied, then Q...

Last updated onFeb 13, 2026
Read Article

6 min read

Formally Verifying a Counter

Formally Verifying a Counter In the previous chapter, we learned the theoretical side of formal verification, including what it is and how it works. In this module, we’ll move beyond theory and learn...

Last updated onFeb 13, 2026
Read Article

10 min read

Implication Operator

Implication Operator Introduction The implication operator is frequently used as a substitute for the statement since it is cleaner. Consider the following example: a function that takes two unsigned...

Last updated onFeb 13, 2026
Read Article

8 min read

Introduction to Method Properties

Introduction to Method Properties Introduction In the previous chapter, we learned about parametric rules, which allow us to formally verify properties that are expected to hold regardless of which...

Last updated onFeb 13, 2026
Read Article

6 min read

Formally Verifying Address Balance

Formally Verifying Address Balance In the previous chapter, we covered how to reason about environment-dependent functions in CVL by focusing on in non-payable contexts. In those examples, access...

Last updated onFeb 13, 2026
Read Article

5 min read

Overflow and Mathint

Overflow and Mathint In CVL, the type represents unbounded integers, unlike Solidity’s fixed-size types such as . It performs arithmetic without overflow or underflow, which allows reasoning based on...

Last updated onFeb 13, 2026
Read Article

9 min read

Conditional Statements in CVL and Formally Verifying Parts of Solady and Solmate

Conditional Statements in CVL and Formally Verifying Parts of Solady and Solmate Introduction Some contract behaviors (properties) are inherently conditional, and using constructs like if/else in CVL...

Last updated onFeb 13, 2026
Read Article

4 min read

Formally verifying Initializable.sol

Formally verifying Initializable.sol This article describes how Certora formally verified the Initializable.sol OpenZeppelin contract. We assume the reader is already familiar with how this contract...

Last updated onFeb 17, 2026
Read Article

9 min read

Constructors in Cairo

Constructors in Cairo A constructor is a one-time-call function executed during contract deployment to initialize state variables, perform contract setup tasks, make cross-contract interactions and...

Last updated onDec 11, 2025
Read Article