• 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
      • Birgit Mitter
      • Oliver Spadiut
      • 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
        • 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

  

Open Induction, The Tree Theorem, and Simple Termination

Open Induction, The Tree Theorem, and Simple Termination

Christian Sternagel (ORCID: 0000-0001-9864-1014)
  • Grant DOI 10.55776/J3202
  • Funding program Erwin Schrödinger
  • Status ended
  • Start November 15, 2011
  • End December 14, 2014
  • Funding amount € 151,470
  • Project website

Disciplines

Computer Sciences (40%); Mathematics (60%)

Keywords

    Theorem Proving, Formalization, Open Induction, Constructive Proofs

Abstract Final report

Proving termination is an important part of program verification. To facilitate reusable and abstract results, instead of a concrete programming language, termination is usually considered relative to a mathematical model of computation, for this project, term rewriting. Nowadays, there are many tools that can prove termination of term rewriting automatically. However, these tools may contain bugs and hence the need for an independent and reliable certification of their results arises. This is done by so called certifiers, tools that can automatically check, whether a proof that was generated by a termination tool, is correct. The high reliability of such certifiers comes from the fact that they are built upon formalizations of the underlying theory using proof assistants, like Isabelle/HOL. One such formalization is IsaFoR, an Isabelle Formalization of Rewriting. Naturally, formalizations in Isabelle can only build upon facts that have already been formalized in Isabelle before. Hence, one aim of this project is to widen the body of mathematics that is available to Isabelle users. The concrete new contributions will be a formalization of (possibly infinite) trees and upon that a proof of the famous Tree Theorem by Kruskal in Isabelle. The Tree Theorem, in turn, will allow to formalize the connection between simple termination and termination: every simply terminating term rewrite system is also terminating. This result will then be used to incorporate the Knuth-Bendix order (and possibly other simplification orders) into IsaFoR, thereby increasing the number of termination proofs that can be certified automatically. However, we are not only interested in the Tree Theorem with respect to simple termination, but also in its computational content. To this end, we will formalize the principle of open induction in Isabelle, in order to be able to give an alternative and more constructive proof of the Tree Theorem. Furthermore, we will search for other theorems, where open induction could facilitate a formalized proof. Finally, open induction can also be used to define total functions. Since proof assistants based on higher-order logic (as Isabelle) rely on all defined functions being total, we will use open induction to extend Isabelle`s definitional function package by open inductively defined functions.

The main achievement of this project is a mechanized proof of the famous (at least among mathematicians) tree theorem due to Kruskal. Here, the word tree denotes a mathematical structure that is for example used to model arbitrary mathematical expressions and the syntax of arbitrary programming languages. Now the tree theorem states that for every infinite sequence of treesas would for example result from a looping computer programits elements steadily become more complex. This fact, in turn, can be employed to rule out such loops entirely for a certain class of programs, thereby proving termination. While the tree theorem was first proved in 1960 by Kruskal, we present the first mechanized proof. By which we mean that the proof was formalized inside a proof assistant, a computer program that allows for writing mathematical proofs in a stylized form and rigorously checks every intermediate step. Thus, leading to near 100 % trustability and paving the way for employing the tree theorem in other computer aided verification tools. Ultimately, this will result in highly reliable and powerful automated toolchains for proving the correctness of computer programs.Our certifier CeTA is an important step along the way to this ultimate goal. CeTA is a fully verified computer programming, again developed with the help of a proof assistant, that can certify the output of several existing termination tools (automated tools that try to prove termination of given computer programs) which are themselves written using conventional programming techniques and are thus susceptible to the same kind of errors that we want to rule out to begin with; thus the need for a certifier like CeTA. As part of this project we extended CeTAs capabilitiesmaking use of the earlier mentioned tree theorem and extrapolated a general framework that can be reused to build certifiers for other problem areas.

Research institution(s)
  • Japan Advanced Institute of Science and Technology - 100%

Research Output

  • 52 Citations
  • 26 Publications
Publications
  • 2014
    Title Certified Kruskal's Tree Theorem.
    Type Journal Article
    Author Sternagel C
  • 2014
    Title The Certification Problem Format
    DOI 10.48550/arxiv.1410.8220
    Type Preprint
    Author Sternagel C
  • 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 Certification monads.
    Type Journal Article
    Author Sternagel C
  • 2010
    Title Rezension zu: Haag Antje (2010). Versuch über die moderne Seele Chinas: Eindrücke einer Psychoanalytikerin.
    Type Journal Article
    Author Klötzbücher S
  • 2012
    Title Getting Started with Isabelle/jEdit in 2018
    DOI 10.48550/arxiv.1208.1368
    Type Preprint
    Author Sternagel C
  • 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 A Locale for Minimal Bad Sequences
    DOI 10.48550/arxiv.1208.1366
    Type Preprint
    Author Sternagel C
  • 2012
    Title Proof Pearl—A Mechanized Proof of GHC’s Mergesort
    DOI 10.1007/s10817-012-9260-7
    Type Journal Article
    Author Sternagel C
    Journal Journal of Automated Reasoning
    Pages 357-370
    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
  • 2014
    Title Imperative insertion sort.
    Type Journal Article
    Author Sternagel C
  • 2014
    Title Xml.
    Type Journal Article
    Author Sternagel C
  • 2014
    Title A New and Formalized Proof of Abstract Completion
    DOI 10.1007/978-3-319-08970-6_19
    Type Book Chapter
    Author Hirokawa N
    Publisher Springer Nature
    Pages 292-307
  • 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
  • 2013
    Title Certified HLints with Isabelle/HOLCF-Prelude.
    Type Conference Proceeding Abstract
    Author Breitner J
    Conference Proceedings of the 1st International Workshop on Haskell and Rewriting Techniques, 2013
  • 2013
    Title Formalizing Knuth-Bendix Orders and Knuth-Bendix Completion.
    Type Journal Article
    Author Sternagel C
    Journal Proceedings of the 24th International Conference on Rewriting Techniques and Applications
  • 2013
    Title Certified HLints with Isabelle/HOLCF-Prelude
    DOI 10.48550/arxiv.1306.1340
    Type Preprint
    Author Breitner J
  • 2013
    Title A Haskell Library for Term Rewriting
    DOI 10.48550/arxiv.1307.2328
    Type Preprint
    Author Felgenhauer B
  • 2013
    Title Certified Kruskal’s Tree Theorem
    DOI 10.1007/978-3-319-03545-1_12
    Type Book Chapter
    Author Sternagel C
    Publisher Springer Nature
    Pages 178-193
  • 2012
    Title Recording completion for finding and certifying proofs in equational logic.
    Type Conference Proceeding Abstract
    Author Sternagel C Et Al
    Conference Proceedings of the 1st International Workshop on Confluence
  • 2012
    Title Getting started with Isabelle/jEdit.
    Type Conference Proceeding Abstract
    Author Sternagel C
    Conference Proceedings of the Isabelle Users Workshop 2012
  • 2012
    Title A locale for minimal bad sequences.
    Type Conference Proceeding Abstract
    Author Sternagel C
    Conference Proceedings of the Isabelle Users Workshop 2012
  • 2012
    Title Well-Quasi-Orders.
    Type Journal Article
    Author Sternagel C
  • 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
  • 2012
    Title Open Induction.
    Type Journal Article
    Author Ogawa M
  • 2012
    Title A relative dependency pair framework.
    Type Conference Proceeding Abstract
    Author Sternagel C
    Conference Proceedings of the 12th Workshop on Termination

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