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

    • Research Radar
    • Discoveries
      • Emmanuelle Charpentier
      • Adrian Constantin
      • Monika Henzinger
      • Ferenc Krausz
      • Wolfgang Lutz
      • Walter Pohl
      • Christa Schleper
      • Anton Zeilinger
    • scilog Magazine
    • Awards
      • FWF Wittgenstein Awards
      • FWF START Awards
    • 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
    • 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
        • Elise Richter
        • Elise Richter PEEK
        • 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 Biodiversa+
        • 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
        • netidee SCIENCE
        • Herzfelder Foundation Projects
        • Quantum Austria
        • Rückenwind Funding Bonus
        • Zero Emissions Award
      • International Collaborations
        • Belgium/Flanders
        • Germany
        • France
        • Italy/South Tyrol
        • Japan
        • 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
        • Accounting for Approved Funds
        • Labor and Social Law
        • Project Management
      • Project Phase Ad Personam
        • Accounting for Approved Funds
        • Labor and Social Law
        • Project Management
      • Expiring Programs
        • 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
    • Twitter, 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

  

FORTissimo: Automating the First-Order Theory of Rewriting

FORTissimo: Automating the First-Order Theory of Rewriting

Aart Middeldorp (ORCID: 0000-0001-7366-8464)
  • Grant DOI 10.55776/P30301
  • Funding program Principal Investigator Projects
  • Status ended
  • Start September 1, 2017
  • End February 28, 2022
  • Funding amount € 345,321
  • Project website
  • E-mail

Disciplines

Computer Sciences (80%); Mathematics (20%)

Keywords

    Term Rewriting, First-Order Theory, Automata Theory, Automation, Formalization, Certification

Abstract Final report

Term rewriting is an abstract model of computation in which one can formally reason about computer programs written in a declarative programming language, for instance to infer that a program always computes a result (termination) or that different executions of the program yield the same result (confluence). To achieve this, a program is translated into a rewrite system that basically consists of rules for replacing expressions by equivalent but often simpler expressions. In this project we consider a syntactically restricted class of rewrite systems in which every property that can be expressed in the first-order theory of rewriting (first-order logic with rewrite relations as predicate symbols) is decidable. This includes properties like termination and confluence. The decision procedure was developed in the late 1980s and uses tree automata that operate on terms. A first implementation of the decision procedure was recently conducted by Franziska Rapp during her master thesis. The resulting tool FORT (First-Order Rewriting Tool) is equipped with a convenient synthesis mode to generate rewrite systems that satisfy a given property. Like any complex piece of software, FORT is likely to contain bugs. Formally proving its correctness is not an option because such a proof, if at all possible, is of limited value as FORT will further develop. Instead, to improve trust in FORT, one aim of this project is the certification of the output of FORT. This involves reproving the correctness of the tree automata constructions used in the decision procedure in an interactive proof assistant, resulting in a formalized tree automata library. Furthermore, suitable certificates have to be developed that can be produced by FORT and checked by the certifier that is obtained from the library via code generation. A second aim of the project is to improve the performance of FORT by adopting and developing state-of-the-art tree automata techniques. Parallel programming techniques will result in a further efficiency gain. Moreover, there are many different ways to transform a given formula into tree automata operation, all producing the same result but with a great variation in computation time and space. Techniques to find an efficient transformation will also be investigated. A final aim of the project is to improve the expressiveness of FORT by adding new features like support for properties that refer to two or more rewrite systems or the generation of witnesses. A better understanding of the limitations of FORT is also on the agenda. The expected outcome of the project is a highly efficient and trustworthy tool for the first-order theory of rewriting, ideally suited for educational purposes. Moreover, a comprehensive formalized tree automata library will be available for other developments.

FORTissimo: Automating the First-Order Theory of Rewriting Term rewriting is an abstract model of computation in which one can formally reason about computer programs written in a declarative programming language, for instance to infer that a program always computes a result (termination) or that different executions of the program yield the same result (confluence). To achieve this, a program is translated into a rewrite system that basically consists of rules for replacing expressions by equivalent but often simpler expressions. In this project we considered a syntactically restricted class of rewrite systems in which every property that can be expressed in the first-order theory of rewriting (first-order logic with rewrite relations as predicate symbols) is decidable. This includes properties like termination and confluence. The decision procedure was developed in the late 1980s and uses tree automata that operate on terms. An implementation of the decision procedure in the software tool FORT was the starting point of the project. Three new tools (FORT-h, FORT-s, FORTify) have been developed in the course of this project. These can be downloaded from the project website, where also a convenient web interface can be found. Like any complex piece of software, FORT is likely to contain bugs. To improve trust in FORT, we formalised a new variant of the underlying decision procedure in the proof assistant Isabelle. Compared to the original decision procedure, the new variant supports a richer language (e.g. properties involving multiple rewrite systems can be formulated) and handles a larger class of rewrite systems. We developed a formal language in which the key steps performed by the decision procedure can be expressed naturally. A new incarnation of FORT in Haskell, FORT-h, outputs certificates in this language. These certificates are checked for correctness by FORTify, a new and trustworthy program that is obtained from the Isabelle formalisation.

Research institution(s)
  • Universität Innsbruck - 100%
International project participants
  • Irene Durand, Université Bordeaux I - France
  • Mizuhito Ogawa, Japan Advanced Institute of Science and Technology - Japan
  • Richard Mayr, University of Edinburgh - United Kingdom

Research Output

  • 27 Citations
  • 14 Publications
  • 1 Datasets & models
  • 1 Scientific Awards
  • 1 Fundings
Publications
  • 2021
    Title A verified decision procedure for the first-order theory of rewriting for linear variable-separated rewrite systems
    DOI 10.1145/3437992.3439918
    Type Conference Proceeding Abstract
    Author Lochmann A
    Pages 250-263
    Link Publication
  • 2021
    Title Certifying Proofs in the First-Order Theory of Rewriting
    DOI 10.1007/978-3-030-72013-1_7
    Type Book Chapter
    Author Mitterwallner F
    Publisher Springer Nature
    Pages 127-144
  • 2021
    Title Formalized Signature Extension Results for Confluence, Commutation and Unique Normal Forms
    Type Conference Proceeding Abstract
    Author Lochmann A
    Conference 10th International Workshop on Confluence (IWC 2021)
    Pages 127 - 144
    Link Publication
  • 2022
    Title Formalized Signature Extension Results for Equivalence
    Type Conference Proceeding Abstract
    Author Lochmann A
    Conference 11th International Workshop on Confluence (IWC 2022)
    Pages 42 - 47
    Link Publication
  • 2022
    Title First-Order Theory of Rewriting
    Type Journal Article
    Author Felgenhauer B
    Journal Archive of Formal Proofs
    Link Publication
  • 2022
    Title Reducing Rewrite Properties to Properties on Ground Terms
    Type Journal Article
    Author Lochmann A
    Journal Archive of Formal Proofs
    Link Publication
  • 2023
    Title First-Order Theory of Rewriting for Linear Variable-Separated Rewrite Systems: Automation, Formalization, Certification
    DOI 10.1007/s10817-023-09661-7
    Type Journal Article
    Author Middeldorp A
    Journal Journal of Automated Reasoning
    Pages 14
    Link Publication
  • 2020
    Title Formalized Proofs of the Infinity and Normal Form Predicates in the First-Order Theory of Rewriting
    DOI 10.1007/978-3-030-45237-7_11
    Type Book Chapter
    Author Lochmann A
    Publisher Springer Nature
    Pages 178-194
  • 2019
    Title On optimal and near-optimal shapes of external shading of windows in apartment buildings
    DOI 10.1371/journal.pone.0212710
    Type Journal Article
    Author Stevanovic S
    Journal PLOS ONE
    Link Publication
  • 2019
    Title A verified ground confluence tool for linear variable-separated rewrite systems in Isabelle/HOL
    DOI 10.1145/3293880.3294098
    Type Conference Proceeding Abstract
    Author Felgenhauer B
    Pages 132-143
    Link Publication
  • 2018
    Title Minsky Machines
    Type Journal Article
    Author Felgenhauer B
    Journal Archive of Formal Proofs
    Link Publication
  • 2018
    Title Towards a Verified Decision Procedure for Confluence of Ground Term Rewrite Systems in Isabelle/HOL
    Type Conference Proceeding Abstract
    Author Felgenhauer B
    Conference 7th International Workshop on Confluence (IWC 2018)
    Pages 46 - 50
    Link Publication
  • 2018
    Title FORT 2.0
    DOI 10.1007/978-3-319-94205-6_6
    Type Book Chapter
    Author Rapp F
    Publisher Springer Nature
    Pages 81-88
  • 2018
    Title Unknot Recognition Through Quantifier Elimination
    DOI 10.48550/arxiv.1803.00413
    Type Preprint
    Author Meesum S
Datasets & models
  • 2019 Link
    Title Confluence Problems Database: new problems
    Type Database/Collection of data
    Public Access
    Link Link
Scientific Awards
  • 2019
    Title 1st place at International Confluence Competition
    Type Medal
    Level of Recognition Continental/International
Fundings
  • 2022
    Title International Joint Project
    Type Research grant (including intramural programme)
    Start of Funding 2022
    Funder Austrian Science Fund (FWF)

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
  • Twitter, 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
  • Social Media Directory
  • © Österreichischer Wissenschaftsfonds FWF
© Österreichischer Wissenschaftsfonds FWF