A Characterization of Basic Feasible Functionals Through Higher-Order Rewriting and Tuple Interpretations
The class of type-two basic feasible functionals ($\mathtt{BFF}_2$) is the analogue of $\mathtt{FP}$ (polynomial time functions) for type-2 functionals, that is, functionals that can take (first-order) functions as arguments. $\mathtt{BFF}_2$ can be defined through Oracle Turing machines with running time bounded by second-order polynomials. On the other hand, higher-order term rewriting provides an elegant formalism for expressing higher-order computation. We address the problem of characterizing $\mathtt{BFF}_2$ by higher-order term rewriting. Various kinds of interpretations for first-order term rewriting have been introduced in the literature for proving termination and characterizing first-order complexity classes. In this paper, we consider a recently introduced notion of cost-size interpretations for higher-order term rewriting and see second order rewriting as ways of computing type-2 functionals. We then prove that the class of functionals represented by higher-order terms admitting polynomially bounded cost-size interpretations exactly corresponds to $\mathtt{BFF}_2$.
Authors
- Cynthia Kop (ORCID: https://orcid.org/0000-0002-6337-2544)
- Ugo Dal Lago (ORCID: https://orcid.org/0000-0001-9200-070X)
- Patrick Baillot (ORCID: https://orcid.org/0009-0002-9364-1140)
- Deivid Vale (ORCID: https://orcid.org/0000-0003-1350-3478)
Publication Details
- Journal
- Logical Methods in Computer Science
- Published
- 2025-11-05
- DOI
- https://doi.org/10.46298/lmcs-21(4:19)2025
- Primary Topic
- Logic, programming, and type systems
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Nederlandse Organisatie voor Wetenschappelijk Onderzoek