Skip to main content

Showing 1–27 of 27 results for author: Kop, C

Searching in archive cs. Search in all archives.
.
  1. arXiv:2406.19379  [pdf, other

    cs.LO

    Higher-Order Constrained Dependency Pairs for (Universal) Computability

    Authors: Liye Guo, Kasper Hagens, Cynthia Kop, Deivid Vale

    Abstract: Dependency pairs constitute a series of very effective techniques for the termination analysis of term rewriting systems. In this paper, we adapt the static dependency pair framework to logically constrained simply-typed term rewriting systems (LCSTRSs), a higher-order formalism with logical constraints built in. We also propose the concept of universal computability, which enables a form of open-… ▽ More

    Submitted 27 June, 2024; originally announced June 2024.

  2. arXiv:2406.18493  [pdf, other

    cs.LO

    A weakly monotonic, logically constrained, HORPO-variant

    Authors: Cynthia Kop

    Abstract: In this short paper, we present a simple variant of the recursive path ordering, specified for Logically Constrained Simply Typed Rewriting Systems (LCSTRSs). This is a method for curried systems, without lambda but with partially applied function symbols, which can deal with logical constraints. As it is designed for use in the dependency pair framework, it is defined as reduction pair, allowing… ▽ More

    Submitted 26 June, 2024; originally announced June 2024.

    Comments: Technical report detailing an adaptation of the method in https://link.springer.com/chapter/10.1007/978-3-031-57267-8_13

  3. arXiv:2401.12385  [pdf, ps, other

    cs.LO cs.CC

    On Basic Feasible Functionals and the Interpretation Method

    Authors: Patrick Baillot, Ugo Dal Lago, Cynthia Kop, Deivid Vale

    Abstract: The class of basic feasible functionals $(\mathtt{BFF})$ is the analog of $\mathtt{FP}$ (polynomial time functions) for type-2 functionals, that is, functionals that can take (first-order) functions as arguments. $\mathtt{BFF}$ 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 form… ▽ More

    Submitted 25 January, 2024; v1 submitted 22 January, 2024; originally announced January 2024.

    ACM Class: F.1.3

  4. arXiv:2307.13519  [pdf, other

    cs.LO

    Higher-Order LCTRSs and Their Termination

    Authors: Liye Guo, Cynthia Kop

    Abstract: Logically constrained term rewriting systems (LCTRSs) are a program analyzing formalism with native support for data types which are not (co)inductively defined. As a first-order formalism, LCTRSs have accommodated only analysis of imperative programs so far. In this paper, we present a higher-order variant of the LCTRS formalism, which can be used to analyze functional programs. Then we study the… ▽ More

    Submitted 25 July, 2023; originally announced July 2023.

    Comments: Presented at WST 2023

  5. arXiv:2307.13426  [pdf, other

    cs.LO

    Complexity Analysis for Call-by-Value Higher-Order Rewriting

    Authors: Cynthia Kop, Deivid Vale

    Abstract: In this short paper, we consider a form of higher-order rewriting with a call-by-value evaluation strategy so as to model call-by-value programs. We briefly present a cost-size semantics to call-by-value rewriting: a class of algebraic interpretations that map terms to tuples that bound both the reductions' cost and the size of normal forms.

    Submitted 25 July, 2023; originally announced July 2023.

    Comments: Presented at WST 2023

    MSC Class: 68Q55; 68Q15 ACM Class: F.4.1

  6. Certifying Higher-Order Polynomial Interpretations

    Authors: Niels van der Weide, Deivid Vale, Cynthia Kop

    Abstract: Higher-order rewriting is a framework in which one can write higher-order programs and study their properties. One such property is termination: the situation that for all inputs, the program eventually halts its execution and produces an output. Several tools have been developed to check whether higher-order rewriting systems are terminating. However, develo** such tools is difficult and can be… ▽ More

    Submitted 5 August, 2023; v1 submitted 23 February, 2023; originally announced February 2023.

    Comments: This new version fixes typos in the introduction, adds a reference to the published version, and adds the \hideLipics command so the temporary lipics logo isn't shown. No textual content was added or removed in this version

  7. arXiv:2206.15202  [pdf, other

    cs.LO cs.SC

    Tuple Interpretations and Applications to Higher-Order Runtime Complexity

    Authors: Cynthia Kop, Deivid Vale

    Abstract: Tuple interpretations are a class of algebraic interpretation that subsumes both polynomial and matrix interpretations as it does not impose simple termination and allows non-linear interpretations. It was developed in the context of higher-order rewriting to study derivational complexity of algebraic functional systems. In this short paper, we continue our journey to study the complexity of highe… ▽ More

    Submitted 30 June, 2022; originally announced June 2022.

    ACM Class: F.4.1

  8. arXiv:2105.01112  [pdf, other

    cs.SC cs.LO

    Tuple Interpretations for Higher-Order Rewriting

    Authors: Deivid Vale, Cynthia Kop

    Abstract: We develop a class of algebraic interpretations for many-sorted and higher-order term rewriting systems that takes type information into account. Specifically, base-type terms are mapped to \emph{tuples} of natural numbers and higher-order terms to functions between those tuples. Tuples may carry information relevant to the type; for instance, a term of type $\mathsf{nat}$ may be associated to a p… ▽ More

    Submitted 3 May, 2021; originally announced May 2021.

  9. Cons-free Programs and Complexity Classes between LOGSPACE and PTIME

    Authors: Neil D. Jones, Siddharth Bhaskar, Cynthia Kop, Jakob Grue Simonsen

    Abstract: Programming language concepts are used to give some new perspectives on a long-standing open problem: is logspace = ptime ?

    Submitted 6 August, 2020; originally announced August 2020.

    Comments: In Proceedings VPT/HCVS 2020, arXiv:2008.02483

    Journal ref: EPTCS 320, 2020, pp. 65-79

  10. arXiv:1904.09859  [pdf, other

    cs.LO

    Polymorphic Higher-order Termination

    Authors: Łukasz Czajka, Cynthia Kop

    Abstract: We generalise the termination method of higher-order polynomial interpretations to a setting with impredicative polymorphism. Instead of using weakly monotonic functionals, we interpret terms in a suitable extension of System F-omega. This enables a direct interpretation of rewrite rules which make essential use of impredicative polymorphism. In addition, our generalisation eases the applicability… ▽ More

    Submitted 22 April, 2019; originally announced April 2019.

    Comments: author copy of a paper accepted for FSCD 2019, with an extended appendix

  11. arXiv:1902.06733  [pdf, other

    cs.LO cs.PL

    A static higher-order dependency pair framework

    Authors: Carsten Fuhs, Cynthia Kop

    Abstract: We revisit the static dependency pair method for proving termination of higher-order term rewriting and extend it in a number of ways: (1) We introduce a new rewrite formalism designed for general applicability in termination proving of higher-order rewriting, Algebraic Functional Systems with Meta-variables. (2) We provide a syntactically checkable soundness criterion to make the method applica… ▽ More

    Submitted 4 April, 2019; v1 submitted 15 February, 2019; originally announced February 2019.

    Comments: Extended version of a paper which is to appear in the proceedings of ESOP 2019 (28th European Symposium on Programming). arXiv admin note: text overlap with arXiv:1805.09390

  12. arXiv:1805.09390  [pdf, other

    cs.LO

    The unified higher-order dependency pair framework

    Authors: Carsten Fuhs, Cynthia Kop

    Abstract: In recent years, two higher-order extensions of the powerful dependency pair approach for termination analysis of first-order term rewriting have been defined: the static and the dynamic approach. Both approaches offer distinct advantages and disadvantages. However, a grand unifying theory is thus far missing, and both approaches lack the modularity present in the dependency pair framework commonl… ▽ More

    Submitted 23 May, 2018; originally announced May 2018.

  13. arXiv:1711.03433  [pdf, ps, other

    cs.PL cs.LO

    h: A Plank for Higher-order Attribute Contraction Schemes

    Authors: Cynthia Kop, Kristoffer Rose

    Abstract: We present and formalize h, a core (or "plank") calculus that can serve as the foundation for several compiler specification languages, notably CRSX (Combinatory Reductions Systems with eXtensions), HACS (Higher-order Attribute Contraction Schemes), and TransScript. We discuss how the h ty** and formation rules introduce the necessary restrictions to ensure that rewriting is well-defined, even i… ▽ More

    Submitted 9 November, 2017; originally announced November 2017.

    Comments: workshop proceedings for HOR 2016

  14. arXiv:1711.03424  [pdf, other

    cs.LO cs.CC cs.PL

    Cons-free Programming with Immutable Functions

    Authors: Cynthia Kop

    Abstract: We investigate the power of non-determinism in purely functional programming languages with higher-order types. Specifically, we set out to characterise the hierarchy NP $\subseteq$ NEXP $\subseteq$ NEXP$^{(2)}$ $\subseteq \cdots \subseteq$ NEXP$^{(k)}$ $\subseteq \cdots$ solely in terms of higher-typed, purely functional programs. Although the work is incomplete, we present an initial approach us… ▽ More

    Submitted 9 November, 2017; originally announced November 2017.

    Comments: workshop proceedings for DICE 2017

  15. arXiv:1711.03415  [pdf, other

    cs.LO cs.CC

    Non-deterministic Characterisations

    Authors: Cynthia Kop

    Abstract: In this paper, we extend Jones' result -- that cons-free programming with $k^{th}$-order data and a call-by-value strategy characterises EXP$^k$TIME -- to a more general setting, including pattern-matching and non-deterministic choice. We show that the addition of non-determinism is unexpectedly powerful in the higher-order setting. Nevertheless, we can obtain a non-deterministic parallel to Jones… ▽ More

    Submitted 9 November, 2017; originally announced November 2017.

    Comments: workshop proceedings for WST 2016

  16. arXiv:1711.03407  [pdf, ps, other

    cs.LO cs.CC

    Higher-order Cons-free Interpreters

    Authors: Cynthia Kop, Jakob Grue Simonsen

    Abstract: Constructor rewriting systems are said to be cons-free if any constructor term occurring in the rhs of a rule must be a subterm of the lhs of the rule. Roughly, such systems cannot build new data structures during their evaluation. In earlier work by several authors, (typed) cons-free systems have been used to characterise complexity classes such as polynomial or exponential time or space by varyi… ▽ More

    Submitted 9 November, 2017; originally announced November 2017.

    Comments: workshop proceedings for HOR 2016

  17. arXiv:1711.03399  [pdf, ps, other

    cs.LO cs.CC

    On First-order Cons-free Term Rewriting and PTIME

    Authors: Cynthia Kop

    Abstract: In this paper, we prove that (first-order) cons-free term rewriting with a call-by-value reduction strategy exactly characterises the class of PTIME-computable functions. We use this to give an alternative proof of the result by Carvalho and Simonsen which states that cons-free term rewriting with linearity constraints characterises this class.

    Submitted 13 November, 2017; v1 submitted 9 November, 2017; originally announced November 2017.

    Comments: workshop proceedings for DICE 2016

  18. arXiv:1702.02397  [pdf, other

    cs.LO

    Quasi-reductivity of Logically Constrained Term Rewriting Systems

    Authors: Cynthia Kop

    Abstract: This paper considers quasi-reductivity - essentially, the property that an evaluation cannot get "stuck" due to a missing case in pattern matching - in the context of term rewriting with logical constraints.

    Submitted 8 February, 2017; originally announced February 2017.

    Comments: arXiv admin note: text overlap with arXiv:1409.0166

  19. arXiv:1701.05382  [pdf, other

    cs.CC cs.LO

    The Power of Non-Determinism in Higher-Order Implicit Complexity

    Authors: Cynthia Kop, Jakob Grue Simonsen

    Abstract: We investigate the power of non-determinism in purely functional programming languages with higher-order types. Specifically, we consider cons-free programs of varying data orders, equipped with explicit non-deterministic choice. Cons-freeness roughly means that data constructors cannot occur in function bodies and all manipulation of storage space thus has to happen indirectly using the call stac… ▽ More

    Submitted 30 January, 2017; v1 submitted 19 January, 2017; originally announced January 2017.

    Comments: pre-edition version of a paper accepted for publication at ESOP'17

  20. Complexity Hierarchies and Higher-order Cons-free Term Rewriting

    Authors: Cynthia Kop, Jakob Grue Simonsen

    Abstract: Constructor rewriting systems are said to be cons-free if, roughly, constructor terms in the right-hand sides of rules are subterms of the left-hand sides; the computational intuition is that rules cannot build new data structures. In programming language research, cons-free languages have been used to characterize hierarchies of computational complexity classes; in term rewriting, cons-free first… ▽ More

    Submitted 4 August, 2017; v1 submitted 30 November, 2016; originally announced November 2016.

    Comments: extended version of a paper submitted to FSCD 2016. arXiv admin note: substantial text overlap with arXiv:1604.08936

    Journal ref: Logical Methods in Computer Science, Volume 13, Issue 3 (August 7, 2017) lmcs:2573

  21. arXiv:1604.08936  [pdf, other

    cs.CC

    Complexity Hierarchies and Higher-Order Cons-Free Rewriting

    Authors: Cynthia Kop, Jakob Grue Simonsen

    Abstract: Constructor rewriting systems are said to be cons-free if, roughly, constructor terms in the right-hand sides of rules are subterms of constructor terms in the left-hand side; the computational intuition is that rules cannot build new data structures. It is well-known that cons-free programming languages can be used to characterize computational complexity classes, and that cons-free first-order t… ▽ More

    Submitted 29 April, 2016; originally announced April 2016.

    Comments: Extended version (with appendices) of a paper published in FSCD 2016

    ACM Class: F.1.3; F.4.2

  22. arXiv:1601.03206  [pdf, other

    cs.LO

    Termination of LCTRSs

    Authors: Cynthia Kop

    Abstract: Logically Constrained Term Rewriting Systems (LCTRSs) provide a general framework for term rewriting with constraints. We discuss a simple dependency pair approach to prove termination of LCTRSs. We see that existing techniques transfer to the constrained setting in a natural way.

    Submitted 13 January, 2016; originally announced January 2016.

    Comments: proceedings for WST 2013

  23. Complexity of Conditional Term Rewriting

    Authors: Cynthia Kop, Aart Middeldorp, Thomas Sternagel

    Abstract: We propose a notion of complexity for oriented conditional term rewrite systems satisfying certain restrictions. This notion is realistic in the sense that it measures not only successful computations, but also partial computations that result in a failed rule application. A transformation to unconditional context-sensitive rewrite systems is presented which reflects this complexity notion, as wel… ▽ More

    Submitted 22 March, 2017; v1 submitted 25 October, 2015; originally announced October 2015.

    Comments: This is an extended and improved version of "Conditional Complexity" as published in the proceedings of RTA 2015. It has been submitted for journal publication in LMCS

    ACM Class: F.4.2

    Journal ref: Logical Methods in Computer Science, Volume 13, Issue 1 (February 6, 2017) lmcs:3123

  24. arXiv:1409.0166  [pdf, other

    cs.LO

    Verifying Procedural Programs via Constrained Rewriting Induction

    Authors: Carsten Fuhs, Cynthia Kop, Naoki Nishida

    Abstract: This paper aims to develop a verification method for procedural programs via a transformation into Logically Constrained Term Rewriting Systems (LCTRSs). To this end, we extend transformation methods based on integer TRSs to handle arbitrary data types, global variables, function calls and arrays, as well as encode safety checks. Then we adapt existing rewriting induction methods to LCTRSs and pro… ▽ More

    Submitted 25 February, 2017; v1 submitted 30 August, 2014; originally announced September 2014.

    ACM Class: D.2.4; I.2.3

  25. arXiv:1404.7695  [pdf, other

    cs.LO

    First-Order Formative Rules

    Authors: Carsten Fuhs, Cynthia Kop

    Abstract: This paper discusses the method of formative rules for first-order term rewriting, which was previously defined for a higher-order setting. Dual to the well-known usable rules, formative rules allow drop** some of the term constraints that need to be solved during a termination proof. Compared to the higher-order definition, the first-order setting allows for significant improvements of the tech… ▽ More

    Submitted 30 April, 2014; originally announced April 2014.

    Comments: Extended version of a paper which is to appear in the proceedings of RTA-TLCA 2014 (Joint 25th International Conference on Rewriting Techniques and Applications and 12th International Conference on Typed Lambda Calculi and Applications)

  26. Dynamic Dependency Pairs for Algebraic Functional Systems

    Authors: Cynthia Kop, Femke van Raamsdonk

    Abstract: We extend the higher-order termination method of dynamic dependency pairs to Algebraic Functional Systems (AFSs). In this setting, simply typed lambda-terms with algebraic reduction and separate β-steps are considered. For left-linear AFSs, the method is shown to be complete. For so-called local AFSs we define a variation of usable rules and an extension of argument filterings. All these techniqu… ▽ More

    Submitted 15 June, 2012; v1 submitted 11 May, 2012; originally announced May 2012.

    ACM Class: F4.1,F4.2

    Journal ref: Logical Methods in Computer Science, Volume 8, Issue 2 (June 19, 2012) lmcs:668

  27. arXiv:1203.5754  [pdf, other

    cs.LO

    Polynomial Interpretations for Higher-Order Rewriting

    Authors: Carsten Fuhs, Cynthia Kop

    Abstract: The termination method of weakly monotonic algebras, which has been defined for higher-order rewriting in the HRS formalism, offers a lot of power, but has seen little use in recent years. We adapt and extend this method to the alternative formalism of algebraic functional systems, where the simply-typed lambda-calculus is combined with algebraic reduction. Using this theory, we define higher-orde… ▽ More

    Submitted 26 March, 2012; originally announced March 2012.