• DocumentCode
    2123344
  • Title

    CleanJava: A Formal Notation for Functional Program Verification

  • Author

    Cheon, Yoonsik ; Yeep, Cesar ; Vela, Melisa

  • Author_Institution
    Dept. of Comput. Sci., Univ. of Texas at El Paso, El Paso, TX, USA
  • fYear
    2011
  • fDate
    11-13 April 2011
  • Firstpage
    221
  • Lastpage
    226
  • Abstract
    Unlike a Hoare-style program verification, a functional program verification supports forward reasoning by viewing a program as a mathematical function from one program state to another and proving its correctness by essentially comparing two mathematical functions, the function computed by the program and its specification. Since it requires a minimal mathematical background and reflects the way programmers reason about the correctness of a program informally, it can be taught and practiced effectively. However, there is no formal notation supporting the functional program verification. In this paper, we propose a formal notation for writing functional program specifications for Java programs. The notation, called Clean Java, is based on the Java expression syntax and is extended with a mathematical toolkit consisting of sets and sequences. The vocabulary of Clean Java can also be enriched by introducing user-specified definitions such as user-defined mathematical functions and specification-only methods. We believe that Clean Java is a good notation for writing functional specifications and expect it to promote the use of functional program verifications by being able to specify a wide range of Java programs.
  • Keywords
    Java; formal specification; formal verification; user interfaces; CleanJava notation; Java programs; formal notation; forward reasoning; functional program specification; functional program verification; specification-only method; user-defined mathematical function; Arrays; Cognition; Concrete; Java; Mathematical model; Vocabulary; Writing; CleanJava; formal specification; formal verification; functional program verification; intended function;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Information Technology: New Generations (ITNG), 2011 Eighth International Conference on
  • Conference_Location
    Las Vegas, NV
  • Print_ISBN
    978-1-61284-427-5
  • Electronic_ISBN
    978-0-7695-4367-3
  • Type

    conf

  • DOI
    10.1109/ITNG.2011.46
  • Filename
    5945237