freespek / ssf-mc

EF project Exploring Automatic Model-Checking of the Ethereum specification
Apache License 2.0
4 stars 0 forks source link

Add `helpers.py` definitions in TLA+ #10

Closed thpani closed 3 months ago

thpani commented 3 months ago

Add the definitions from helpers.py in TLA+.

All operators are more or less a verbatim translation following Translation.md

For recursive operators, we introduce a naive recursive translation (with prefix TLC_), and a fold-based translation for Apalache. The non-recursive versions are obviously more free-form and probably deserve additional scrutiny.

@Kukovec @konnov for review