A New Method of Verification of Functional Programs
Andrew M. Mironov

TL;DR
This paper introduces a novel approach for verifying functional programs over strings by analyzing their state diagrams, demonstrated through a sorting program example.
Contribution
It presents a new method that reduces FP verification to state diagram analysis, enabling property verification through composition of functional programs.
Findings
Verification reduces to state diagram analysis
Method successfully applied to sorting program
Provides a new framework for FP property verification
Abstract
In the paper the problem of verification of functional programs (FPs) over strings is considered, where specifications of properties of FPs are defined by other FPs, and a FP S1 meets a specification defined by another FP S2 iff a composition of functions defined by the FPs S1 and S2 is equal to the constant 1. We introduce a concept of a state diagram of a FP, and reduce the verification problem to the problem of an analysis of the state diagrams of FPs. The proposed approach is illustrated by the example of verification of a sorting program.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Testing and Debugging Techniques · Logic, programming, and type systems · Web Application Security Vulnerabilities
