Merge pull request #14002 from ethereum/NunoFilipeSantos-patch-1

Update smtchecker docs to reflect the only 2 Reported Inferred Inductive Invariants
This commit is contained in:
Kamil Śliwak 2023-02-23 16:15:45 +01:00 committed by GitHub
commit 983407762c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -706,7 +706,7 @@ Reported Inferred Inductive Invariants
For properties that were proved safe with the CHC engine, For properties that were proved safe with the CHC engine,
the SMTChecker can retrieve inductive invariants that were inferred by the Horn the SMTChecker can retrieve inductive invariants that were inferred by the Horn
solver as part of the proof. solver as part of the proof.
Currently two types of invariants can be reported to the user: Currently only two types of invariants can be reported to the user:
- Contract Invariants: these are properties over the contract's state variables - Contract Invariants: these are properties over the contract's state variables
that are true before and after every possible transaction that the contract may ever run. For example, ``x >= y``, where ``x`` and ``y`` are a contract's state variables. that are true before and after every possible transaction that the contract may ever run. For example, ``x >= y``, where ``x`` and ``y`` are a contract's state variables.