Formal Verification of Discrete Integration Properties from First Principles

We define a recursive discrete integral over finite integer lists and verify its principal properties in Scala Stainless. At every valid position, the integral equals the initial value plus the corresponding prefix sum; its final value equals the initial value plus the total sum; and consecutive differences recover the corresponding input values. We prove pointwise, final-value, and length agreement between recursive lookup and the accumulated-list representation. We also verify that positive input values imply a strictly increasing integral, while a positive consecutive integral gap implies that the corresponding input value is positive. Together, these results characterize the discrete integral as a length-preserving cumulative-sum construction with verified representation agreement and value recovery.

Authors

Publication Details

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

Formal Verification of Discrete Integration Properties from First Principles

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

Formal Verification of Discrete Integration Properties from First Principles

Thiago Henrique Ramos da Mata
article en

Abstract

We define a recursive discrete integral over finite integer lists and verify its principal properties in Scala Stainless. At every valid position, the integral equals the initial value plus the corresponding prefix sum; its final value equals the initial value plus the total sum; and consecutive differences recover the corresponding input values. We prove pointwise, final-value, and length agreement between recursive lookup and the accumulated-list representation. We also verify that positive input values imply a strictly increasing integral, while a positive consecutive integral gap implies that the corresponding input value is positive. Together, these results characterize the discrete integral as a length-preserving cumulative-sum construction with verified representation agreement and value recovery.

Zenodo (CERN European Organization for Nuclear Research)
Openalex Percentile: Top 8%
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.