• DocumentCode
    2646807
  • Title

    Debugging formal specifications using simple counterstrategies

  • Author

    Könighofer, Robert ; Hofferek, Georg ; Bloem, Roderick

  • Author_Institution
    Inst. for Appl. Inf. Process. & Commun. (IAIK), Graz Univ. of Technol., Graz, Austria
  • fYear
    2009
  • fDate
    15-18 Nov. 2009
  • Firstpage
    152
  • Lastpage
    159
  • Abstract
    Deriving a formal specification from an informal design intent is an error-prone process. The resulting specification may be incomplete, unrealizable, or in conflict with the design intent. We propose a debugging method for incorrect specifications that does not need an implementation. We show that we can explain conflicts with the design intent by explaining unrealizability. Our approach for explaining unrealizability is based on counterstrategies. Since counterstrategies may be large, we propose several ways to simplify them. First, we simplify the specification itself by removing both requirements and variables that do not contribute to the problem. Second, we heuristically search for a countertrace, i.e., a single input trace that suffices to demonstrate unrealizability. Finally, we present the countertrace or the counterstrategy to the user in extensive form as a graph and implicitly as an interactive game. We present experimental results for specifications given as GR(1) formulas.
  • Keywords
    errors; formal specification; program debugging; GR formulas; debugging formal specifications; error prone process; extensive form graph; simple counterstrategies; single input trace; Computer errors; Debugging; Design engineering; Formal specifications; Information processing; Protocols; Safety;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Formal Methods in Computer-Aided Design, 2009. FMCAD 2009
  • Conference_Location
    Austin, TX
  • Print_ISBN
    978-1-4244-4966-8
  • Electronic_ISBN
    978-1-4244-4966-8
  • Type

    conf

  • DOI
    10.1109/FMCAD.2009.5351127
  • Filename
    5351127