• Title of article

    Using Computer Algebra techniques for the specification, verification and synthesis of recursive programs Original Research Article

  • Author/Authors

    Nikolaj Popov، نويسنده , , Tudor Jebelean، نويسنده ,

  • Issue Information
    روزنامه با شماره پیاپی سال 2009
  • Pages
    8
  • From page
    2302
  • To page
    2309
  • Abstract
    We describe an innovative method for proving total correctness of tail recursive programs having a specific structure, namely programs in which an auxiliary tail recursive function is driven by a main nonrecursive function, and only the specification of the main function is provided. The specification of the auxiliary function is obtained almost fully automatically by solving coupled linear recursive sequences with constant coefficients. The process is carried out by means of CA (Computer Algebra) and AC (Algorithmic Combinatorics) and is implemented in the Theorema system (using Mathematica). We demonstrate this method on an example involving polynomial expressions. Furthermore, we develop a method for synthesis of recursive programs for computing polynomial expressions of a fixed degree by means of “cheap” operations, e.g., additions, subtractions and multiplications. For a given polynomial expression, we define its recursive program in a schemewise manner. The correctness of the synthesized programs follows from the general correctness of the synthesis method, which is proven once for all, using the verification method presented in the first part of this paper.
  • Keywords
    Computer algebra , Program synthesis , Specification and verification
  • Journal title
    Mathematics and Computers in Simulation
  • Serial Year
    2009
  • Journal title
    Mathematics and Computers in Simulation
  • Record number

    854703