• Skip to content (access key 1)
  • Skip to search (access key 7)
FWF — Austrian Science Fund
  • Go to overview page Discover

    • Research Radar
      • Research Radar Archives 1974–1994
    • Discoveries
      • Emmanuelle Charpentier
      • Adrian Constantin
      • Monika Henzinger
      • Ferenc Krausz
      • Wolfgang Lutz
      • Walter Pohl
      • Christa Schleper
      • Elly Tanaka
      • Anton Zeilinger
    • Impact Stories
      • Verena Gassner
      • Wolfgang Lechner
      • Georg Winter
    • scilog Magazine
    • Austrian Science Awards
      • FWF Wittgenstein Awards
      • FWF ASTRA Awards
      • FWF START Awards
      • Award Ceremony
    • excellent=austria
      • Clusters of Excellence
      • Emerging Fields
    • In the Spotlight
      • 40 Years of Erwin Schrödinger Fellowships
      • Quantum Austria
    • Dialogs and Talks
      • think.beyond Summit
    • Knowledge Transfer Events
    • E-Book Library
  • Go to overview page Funding

    • Portfolio
      • excellent=austria
        • Clusters of Excellence
        • Emerging Fields
      • Projects
        • Principal Investigator Projects
        • Principal Investigator Projects International
        • Clinical Research
        • 1000 Ideas
        • Arts-Based Research
        • FWF Wittgenstein Award
      • Careers
        • ESPRIT
        • FWF ASTRA Awards
        • Erwin Schrödinger
        • doc.funds
        • doc.funds.connect
      • Collaborations
        • Specialized Research Groups
        • Special Research Areas
        • Research Groups
        • International – Multilateral Initiatives
        • #ConnectingMinds
      • Communication
        • Top Citizen Science
        • Science Communication
        • Book Publications
        • Digital Publications
        • Open-Access Block Grant
      • Subject-Specific Funding
        • AI Mission Austria
        • Belmont Forum
        • ERA-NET HERA
        • ERA-NET NORFACE
        • ERA-NET QuantERA
        • ERA-NET TRANSCAN
        • Alternative Methods to Animal Testing
        • European Partnership BE READY
        • European Partnership Biodiversa+
        • European Partnership BrainHealth
        • European Partnership ERA4Health
        • European Partnership ERDERA
        • European Partnership EUPAHW
        • European Partnership FutureFoodS
        • European Partnership OHAMR
        • European Partnership PerMed
        • European Partnership Water4All
        • Gottfried and Vera Weiss Award
        • LUKE – Ukraine
        • netidee SCIENCE
        • Herzfelder Foundation Projects
        • Quantum Austria
        • Rückenwind Funding Bonus
        • WE&ME Award
        • Zero Emissions Award
      • International Collaborations
        • Belgium/Flanders
        • Germany
        • France
        • Italy/South Tyrol
        • Japan
        • Korea
        • Luxembourg
        • Poland
        • Switzerland
        • Slovenia
        • Taiwan
        • Tyrol–South Tyrol–Trentino
        • Czech Republic
        • Hungary
    • Step by Step
      • Find Funding
      • Submitting Your Application
      • International Peer Review
      • Funding Decisions
      • Carrying out Your Project
      • Closing Your Project
      • Further Information
        • Integrity and Ethics
        • Inclusion
        • Applying from Abroad
        • Personnel Costs
        • PROFI
        • Final Project Reports
        • Final Project Report Survey
    • FAQ
      • Project Phase PROFI
      • Project Phase Ad Personam
      • Expiring Programs
        • Elise Richter and Elise Richter PEEK
        • FWF START Awards
  • Go to overview page About Us

    • Mission Statement
    • FWF Video
    • Values
    • Facts and Figures
    • Annual Report
    • What We Do
      • Research Funding
        • Matching Funds Initiative
      • International Collaborations
      • Studies and Publications
      • Equal Opportunities and Diversity
        • Objectives and Principles
        • Measures
        • Creating Awareness of Bias in the Review Process
        • Terms and Definitions
        • Your Career in Cutting-Edge Research
      • Open Science
        • Open-Access Policy
          • Open-Access Policy for Peer-Reviewed Publications
          • Open-Access Policy for Peer-Reviewed Book Publications
          • Open-Access Policy for Research Data
        • Research Data Management
        • Citizen Science
        • Open Science Infrastructures
        • Open Science Funding
      • Evaluations and Quality Assurance
      • Academic Integrity
      • Science Communication
      • Philanthropy
      • Sustainability
    • History
    • Legal Basis
    • Organization
      • Executive Bodies
        • Executive Board
        • Supervisory Board
        • Assembly of Delegates
        • Scientific Board
        • Juries
      • FWF Office
    • Jobs at FWF
  • Go to overview page News

    • News
    • Press
      • Logos
    • Calendar
      • Post an Event
      • FWF Informational Events
    • Job Openings
      • Enter Job Opening
    • Newsletter
  • Discovering
    what
    matters.

    FWF-Newsletter Press-Newsletter Calendar-Newsletter Job-Newsletter scilog-Newsletter

    SOCIAL MEDIA

    • LinkedIn, external URL, opens in a new window
    • , external URL, opens in a new window
    • Facebook, external URL, opens in a new window
    • Instagram, external URL, opens in a new window
    • YouTube, external URL, opens in a new window

    SCILOG

    • Scilog — The science magazine of the Austrian Science Fund (FWF)
  • elane login, external URL, opens in a new window
  • Scilog external URL, opens in a new window
  • de Wechsle zu Deutsch

  

Improving Certifiers for Termination Proofs

Improving Certifiers for Termination Proofs

Rene Thiemann (ORCID: )
  • Grant DOI 10.55776/P22767
  • Funding program Principal Investigator Projects
  • Status ended
  • Start July 1, 2010
  • End September 30, 2014
  • Funding amount € 292,814
  • Project website

Disciplines

Computer Sciences (50%); Mathematics (50%)

Keywords

    Theorem Proving, Certification, Termination Analysis, Innermost Evaluation, Term Rewriting

Abstract Final report

Termination (all computation paths produce a result) is a fundamental property of programs. Although undecidable in general, much work has been spent on automated termination analysis. In this proposal, we focus on termination analysis of term rewriting, a simple yet powerful computational model that underlies much of declarative programming and automated theorem proving. Our motivation is that termination analysis of programs in other programming languages can often be done via term rewriting. For example, there are transformations from Prolog, Haskell, and Java into term rewrite systems, such that termination of the resulting rewrite system ensures termination of the original program. In the recent past, there has been a lot of progress in establishing sufficient and automatable criteria for termination of term rewrite systems. Furthermore, those criteria have been incorporated into automated tools. Most of these tools use the dependency pair framework, which allows a modular combination of termination techniques. In this framework, termination proofs are represented by proof trees where at each node some termination technique is applied. Note that current tools automatically find proof trees, which reach sizes up to several megabytes. Since every now and then faulty proofs have been generated by termination tools - where even termination proofs for nonterminating systems have been generated - it has been identified as a key challenge to independently certify the correctness of the obtained proofs. Due to the size of these proofs a manual inspection is infeasible and also error-prone. However, it can be done using interactive theorem provers like Coq, Isabelle, or PVS. These theorem provers are used to model various aspects of mathematics, programming languages, etc. in a logical system and afterwards formally verify desired properties. Certifying termination proofs is usually done in two stages: First, formally prove soundness of several termination techniques, using the theorem prover. Second, certify that each node of a proof tree resembles a correct application of some termination technique. For example, in the first stage it is proven once and for all that lexicographic path orders are reduction orders. And in the second stage it is checked for a concrete precedence and a concrete rewrite system that all rules are oriented by the corresponding lexicographic path order. Hence, we may detect faulty theorems or reveal implementation bugs in termination tools. At the moment there are three independent certifiers. Our certifier, IsaFoR/CeTA (available at http://cl- informatik.uibk.ac.at/software/ceta/) is based on Isabelle/HOL. All certifiers use the described two-stage approach to certify termination proofs. As input they expect a termination proof in a common proof format and then accept or reject that proof. With their help, both bugs in theorems of published papers and bugs in termination tools have been detected and could be fixed. The main aim of this project is to increase the applicability of our certifier IsaFoR/CeTA, which consists of an Isabelle/HOL-library on rewriting (IsaFoR) and an extracted binary certifier (CeTA). We aim for the following four goals: A) Support more termination techniques to increase the number of certifiable proofs. B) Closely couple termination tools with CeTA such that large parts of each proof can be certified, even if the proof contains termination techniques that have not been formalized. C) Prove termination of Isabelle/HOL-functions by importing proofs from termination tools via IsaFoR. This will increase the degree of automation in the interactive prover Isabelle/HOL. D) Certify implicit complexity bounds of termination proofs such that safe runtime bounds can be ensured, in addition to the certified property of termination.

For computer software which is utilized in safety critical domains (like aviation, fire alarms, medical equipment), it is of major importance that it works reliable. To this end, in this project we considered two crucial properties of programs: a program is terminating if it always returns a result and does not compute forever; and the complexity describes how long we have to wait for the result. For both properties there are analyzers available which automatically determine the complexity and the termination behavior for many programs.The major risk is that the analyzers themselves are programs which might contain errors and thus deliver wrong answers, e.g., claim termination of a non-terminating program. To minimize this risk, one can demand that the analyzers also produce certificates in addition to their answers, which contain the reasoning why the answers are correct. These certificates can then automatically be checked by some trusted certifier, where the reliability of the certifier is guaranteed by some complex formal correctness proof.Note that certification is only possible if all the applied termination and complexity techniques in the certificates are supported by the certifier, which often limits the applicability. To change this situation, in this project we formally proved correctness of several termination and complexity techniques within the proof assistant Isabelle and integrated them into our certifier. Since many termination techniques rely on confluence (all computations lead to the same result), as a side product, our certifier can now also be combined with confluence analyzers. Furthermore, we also integrated support for partial certificates, so that we can even check certificates that contain unsupported reasons. In that case, the typical answer of the certifier is that 90 % of the reasoning in the certificate could be validated.As a result of the increased applicability of the certifier, we could detect and fix several errors in state-of-the-art analyzers which remained undetected for years. This includes both implementation bugs in the analyzers as well as mistakes in published research articles, which unfortunately often only provide informal correctness proofs.

Research institution(s)
  • Universität Innsbruck - 100%
International project participants
  • Frederic Blanqui, Tsinghua University - China
  • Xavier Urbain, Ecole Nationale Superieure d Informatique pour l Industrie et l Entreprise - France
  • Alexander Krauss, Technische Universität München - Germany
  • Tobias Nipkow, Technische Universität München - Germany

Research Output

  • 152 Citations
  • 32 Publications
Publications
  • 2012
    Title A relative dependency pair framework.
    Type Conference Proceeding Abstract
    Author Sternagel C
    Conference Georg Moser, editor, Proceedings of the 13th International Workshop on Termination
  • 2012
    Title Generating linear orders for datatypes.
    Type Journal Article
    Author Thiemann R
  • 2012
    Title On the formalization of termination techniques based on multiset orderings.
    Type Journal Article
    Author Nagele J Et Al
  • 2012
    Title Executable transitive closures.
    Type Journal Article
    Author Thiemann R
  • 2015
    Title A Framework for Developing Stand-Alone Certifiers
    DOI 10.1016/j.entcs.2015.04.004
    Type Journal Article
    Author Sternagel C
    Journal Electronic Notes in Theoretical Computer Science
    Pages 51-67
    Link Publication
  • 2017
    Title Reachability, confluence, and termination analysis with state-compatible automata
    DOI 10.1016/j.ic.2016.06.011
    Type Journal Article
    Author Felgenhauer B
    Journal Information and Computation
    Pages 467-483
    Link Publication
  • 2014
    Title Formalizing Monotone Algebras for Certification of Termination and Complexity Proofs
    DOI 10.1007/978-3-319-08918-8_30
    Type Book Chapter
    Author Sternagel C
    Publisher Springer Nature
    Pages 441-455
  • 2013
    Title Computing square roots using the babylonian method.
    Type Journal Article
    Author Thiemann R
  • 2012
    Title Certification of confluence proofs using CeTA.
    Type Conference Proceeding Abstract
    Author Thiemann R
    Conference Nao Hirokawa and Aart Middeldorp, editors, Proceedings of the 1st International Workshop on Confluence
  • 2012
    Title A report on the Certification Problem Format.
    Type Conference Proceeding Abstract
    Author Thiemann R
    Conference Georg Moser, editor, Proceedings of the 13th International Workshop on Termination
  • 2012
    Title Towards the certification of complexity proofs.
    Type Conference Proceeding Abstract
    Author Thiemann R
    Conference Tobias Nipkow, Larry Paulson, and Makarius Wenzel, editors, Isabelle Users Workshop 2012
  • 2012
    Title Recording Completion for Finding and Certifying Proofs in Equational Logic
    DOI 10.48550/arxiv.1208.1597
    Type Preprint
    Author Sternagel T
  • 2012
    Title Certification of Nontermination Proofs
    DOI 10.1007/978-3-642-32347-8_18
    Type Book Chapter
    Author Sternagel C
    Publisher Springer Nature
    Pages 266-282
  • 2014
    Title Implementing field extensions of the form Q[vb].
    Type Journal Article
    Author Thiemann R
  • 2014
    Title The Certification Problem Format
    DOI 10.4204/eptcs.167.8
    Type Journal Article
    Author Sternagel C
    Journal Electronic Proceedings in Theoretical Computer Science
    Pages 61-72
    Link Publication
  • 2014
    Title Haskell's Show-class in Isabelle/HOL.
    Type Journal Article
    Author Sternagel C
  • 2014
    Title Certification of confluence proofs using CeTA.
    Type Conference Proceeding Abstract
    Author Nagele J
    Conference Takahito Aoto and Delia Kesner, editors, Proceedings of the 3rd International Workshop on Confluence
  • 2014
    Title Automated SAT encoding for termination proofs with semantic labelling and unlabelling.
    Type Conference Proceeding Abstract
    Author Bau A
    Conference Carsten Fuhs, editor, Proceedings of the 14th International Workshop on Termination
  • 2014
    Title Proving Termination of Programs Automatically with AProVE
    DOI 10.1007/978-3-319-08587-6_13
    Type Book Chapter
    Author Giesl J
    Publisher Springer Nature
    Pages 184-191
  • 2014
    Title Reachability Analysis with State-Compatible Automata
    DOI 10.1007/978-3-319-04921-2_28
    Type Book Chapter
    Author Felgenhauer B
    Publisher Springer Nature
    Pages 347-359
  • 2014
    Title Mutually recursive partial functions.
    Type Journal Article
    Author Thiemann R
  • 2014
    Title Certification of Nontermination Proofs Using Strategies and Nonlooping Derivations
    DOI 10.1007/978-3-319-12154-3_14
    Type Book Chapter
    Author Nagele J
    Publisher Springer Nature
    Pages 216-232
  • 2011
    Title Termination of Isabelle Functions via Termination of Rewriting
    DOI 10.1007/978-3-642-22863-6_13
    Type Book Chapter
    Author Krauss A
    Publisher Springer Nature
    Pages 152-167
  • 2011
    Title Generalized and Formalized Uncurrying
    DOI 10.1007/978-3-642-24364-6_17
    Type Book Chapter
    Author Sternagel C
    Publisher Springer Nature
    Pages 243-258
  • 2013
    Title Recording completion for finding and certifying proofs in equational logic.
    Type Conference Proceeding Abstract
    Author Sternagel C Et Al
    Conference Nao Hirokawa and Aart Middeldorp, editors, Proceedings of the 1st International Workshop on Confluence
  • 2013
    Title Formalizing Bounded Increase
    DOI 10.1007/978-3-642-39634-2_19
    Type Book Chapter
    Author Thiemann R
    Publisher Springer Nature
    Pages 245-260
  • 2013
    Title Formalizing Knuth-Bendix orders and Knuth-Bendix completion.
    Type Journal Article
    Author Sternagel C
  • 2014
    Title The Certification Problem Format
    DOI 10.48550/arxiv.1410.8220
    Type Preprint
    Author Sternagel C
  • 2010
    Title Loops under Strategies ... Continued
    DOI 10.48550/arxiv.1012.5563
    Type Preprint
    Author Thiemann R
  • 2010
    Title Loops under Strategies ... Continued
    DOI 10.4204/eptcs.44.4
    Type Journal Article
    Author Thiemann R
    Journal Electronic Proceedings in Theoretical Computer Science
    Pages 51-65
    Link Publication
  • 2011
    Title Modular and certied semantic labeling and unlabeling.
    Type Journal Article
    Author Sternagel C
  • 2011
    Title Executable transitive closures of finite relations.
    Type Journal Article
    Author Sternagel C

Discovering
what
matters.

Newsletter

FWF-Newsletter Press-Newsletter Calendar-Newsletter Job-Newsletter scilog-Newsletter

Contact

Austrian Science Fund (FWF)
Georg-Coch-Platz 2
(Entrance Wiesingerstraße 4)
1010 Vienna

office(at)fwf.ac.at
+43 1 505 67 40

General information

  • Job Openings
  • Jobs at FWF
  • Press
  • Philanthropy
  • scilog
  • FWF Office
  • Social Media Directory
  • LinkedIn, external URL, opens in a new window
  • , external URL, opens in a new window
  • Facebook, external URL, opens in a new window
  • Instagram, external URL, opens in a new window
  • YouTube, external URL, opens in a new window
  • Cookies
  • Whistleblowing/Complaints Management
  • Accessibility Statement
  • Data Protection
  • Acknowledgements
  • IFG-Form
  • Social Media Directory
  • © Österreichischer Wissenschaftsfonds FWF
© Österreichischer Wissenschaftsfonds FWF