Using Formal Verification to Prove Properties of Lists Recursively Defined

We define finite integer lists recursively and verify a property calculus for their structural and arithmetic operations in Scala Stainless. The verified results establish identities for indexed access and slicing, sum and product laws under concatenation, divisibility of list products by their elements, and preservation of element bounds through append and split. We also verify shifted-list laws preserving the period and relating adjacent values to gaps, together with rotation laws preserving membership, size, sum, and element bounds. Collectively, these properties describe recursive finite sequences under decomposition, composition, aggregation, bounds, periodic shifts, and rotation.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-09-25
DOI
https://doi.org/10.5281/zenodo.22955770
Primary Topic
Logic, programming, and type systems
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
preprint

Using Formal Verification to Prove Properties of Lists Recursively Defined

Thiago Henrique Ramos da Mata
Zenodo (CERN European Organization for Nuclear Research)
Logic, programming, and type systems
preprint

Using Formal Verification to Prove Properties of Lists Recursively Defined

Thiago Henrique Ramos da Mata
preprint en

Abstract

We define finite integer lists recursively and verify a property calculus for their structural and arithmetic operations in Scala Stainless. The verified results establish identities for indexed access and slicing, sum and product laws under concatenation, divisibility of list products by their elements, and preservation of element bounds through append and split. We also verify shifted-list laws preserving the period and relating adjacent values to gaps, together with rotation laws preserving membership, size, sum, and element bounds. Collectively, these properties describe recursive finite sequences under decomposition, composition, aggregation, bounds, periodic shifts, and rotation.

Zenodo (CERN European Organization for Nuclear Research)
Logic, programming, and type systems
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.