Skip to main content

Showing 1–24 of 24 results for author: Gallagher, J P

Searching in archive cs. Search in all archives.
.
  1. Regular Path Clauses and Their Application in Solving Loops

    Authors: Bishoksan Kafle, John P. Gallagher, Manuel V. Hermenegildo, Maximiliano Klemen, Pedro López-García, José F. Morales

    Abstract: A well-established approach to reasoning about loops during program analysis is to capture the effect of a loop by extracting recurrences from the loop; these express relationships between the values of variables, or program properties such as cost, on successive loop iterations. Recurrence solvers are capable of computing closed forms for some recurrences, thus deriving precise relationships capt… ▽ More

    Submitted 9 September, 2021; originally announced September 2021.

    Comments: In Proceedings HCVS 2021, arXiv:2109.03988

    ACM Class: B.5.2

    Journal ref: EPTCS 344, 2021, pp. 22-35

  2. arXiv:2108.00739  [pdf, ps, other

    cs.LO cs.PL

    Analysis and Transformation of Constrained Horn Clauses for Program Verification

    Authors: Emanuele De Angelis, Fabio Fioravanti, John P. Gallagher, Manuel V. Hermenegildo, Alberto Pettorossi, Maurizio Proietti

    Abstract: This paper surveys recent work on applying analysis and transformation techniques that originate in the field of constraint logic programming (CLP) to the problem of verifying software systems. We present specialisation-based techniques for translating verification problems for different programming languages, and in general software systems, into satisfiability problems for constrained Horn claus… ▽ More

    Submitted 2 August, 2021; originally announced August 2021.

    Comments: Under consideration in Theory and Practice of Logic Programming (TPLP)

  3. arXiv:2008.02937  [pdf, ps, other

    cs.PL cs.LO cs.SC

    An Experiment Combining Specialization with Abstract Interpretation

    Authors: John P. Gallagher, Robert Glück

    Abstract: It was previously shown that control-flow refinement can be achieved by a program specializer incorporating property-based abstraction, to improve termination and complexity analysis tools. We now show that this purpose-built specializer can be reconstructed in a more modular way, and that the previous results can be achieved using an off-the-shelf partial evaluation tool, applied to an abstract i… ▽ More

    Submitted 6 August, 2020; originally announced August 2020.

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

    Journal ref: EPTCS 320, 2020, pp. 155-158

  4. arXiv:2008.02931  [pdf, other

    cs.PL cs.LO cs.SC

    From Big-Step to Small-Step Semantics and Back with Interpreter Specialisation

    Authors: John P. Gallagher, Manuel Hermenegildo, Bishoksan Kafle, Maximiliano Klemen, Pedro López García, José Morales

    Abstract: We investigate representations of imperative programs as constrained Horn clauses. Starting from operational semantics transition rules, we proceed by writing interpreters as constrained Horn clause programs directly encoding the rules. We then specialise an interpreter with respect to a given source program to achieve a compilation of the source language to Horn clauses (an instance of the first… ▽ More

    Submitted 6 August, 2020; originally announced August 2020.

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

    Journal ref: EPTCS 320, 2020, pp. 50-64

  5. Polyvariant Program Specialisation with Property-based Abstraction

    Authors: John P. Gallagher

    Abstract: In this paper we show that property-based abstraction, an established technique originating in software model checking, is a flexible method of controlling polyvariance in program specialisation in a standard online specialisation algorithm. Specialisation is a program transformation that transforms a program with respect to given constraints that restrict its behaviour. Polyvariant specialisation… ▽ More

    Submitted 20 August, 2019; originally announced August 2019.

    Comments: In Proceedings VPT 2019, arXiv:1908.06723

    Journal ref: EPTCS 299, 2019, pp. 34-48

  6. arXiv:1907.13272  [pdf, ps, other

    cs.PL

    Towards a General Framework for Static Cost Analysis of Parallel Logic Programs

    Authors: Maximiliano Klemen, Pedro Lopez-Garcia, John P. Gallagher, Jose F. Morales, Manuel V. Hermenegildo

    Abstract: The estimation and control of resource usage is now an important challenge in an increasing number of computing systems. In particular, requirements on timing and energy arise in a wide variety of applications such as internet of things, cloud computing, health, transportation, and robots. At the same time, parallel computing, with (heterogeneous) multi-core platforms in particular, has become the… ▽ More

    Submitted 30 July, 2019; originally announced July 2019.

    Comments: 19 pages, 3 tables; submitted to ICLP'19, accepted as technical communication

    Report number: CLIP-1/2019.0

  7. arXiv:1907.12345  [pdf, other

    cs.PL

    Control-Flow Refinement by Partial Evaluation, and its Application to Termination and Cost Analysis

    Authors: Jesús J. Doménech, John P. Gallagher, Samir Genaim

    Abstract: Control-flow refinement refers to program transformations whose purpose is to make implicit control-flow explicit, and is used in the context of program analysis to increase precision. Several techniques have been suggested for different programming models, typically tailored to improving precision for a particular analysis. In this paper we explore the use of partial evaluation of Horn clauses as… ▽ More

    Submitted 31 July, 2019; v1 submitted 29 July, 2019; originally announced July 2019.

    Comments: Paper presented at the 35th International Conference on Logic Programming (ICLP 2019), Las Cruces, New Mexico, USA, 20-25 September 2019, 18 pages

  8. arXiv:1901.01062  [pdf, other

    cs.SE

    Detecting and Diagnosing Energy Issues for Mobile Applications

    Authors: Xueliang Li, Yuming Yang, Yepang liu, John P. Gallagher, Kaishun Wu

    Abstract: Energy efficiency is an important criterion to judge the quality of mobile apps, but one third of our randomly sampled apps suffer from energy issues that can quickly drain battery power. To understand these issues, we conducted an empirical study on 27 well-maintained apps such as Chrome and Firefox, whose issue tracking systems are publicly accessible. Our study revealed that the main root cause… ▽ More

    Submitted 22 March, 2019; v1 submitted 4 January, 2019; originally announced January 2019.

  9. arXiv:1804.05989  [pdf, other

    cs.LO

    An iterative approach to precondition inference using constrained Horn clauses

    Authors: Bishoksan Kafle, John P. Gallagher, Graeme Gange, Peter Schachte, Harald Sondergaard, Peter J. Stuckey

    Abstract: We present a method for automatic inference of conditions on the initial states of a program that guarantee that the safety assertions in the program are not violated. Constrained Horn clauses (CHCs) are used to model the program and assertions in a uniform way, and we use standard abstract interpretations to derive an over-approximation of the set of unsafe initial states. The precondition then i… ▽ More

    Submitted 16 April, 2018; originally announced April 2018.

    Comments: Paper presented at the 34nd International Conference on Logic Programming (ICLP 2018), Oxford, UK, July 14 to July 17, 2018 18 pages, LaTeX

  10. arXiv:1803.08668   

    cs.LO cs.FL cs.PL

    Proceedings Third Workshop on Models for Formal Analysis of Real Systems and Sixth International Workshop on Verification and Program Transformation

    Authors: John P. Gallagher, Rob van Glabbeek, Wendelin Serwe

    Abstract: This volume contains the joint proceedings of MARS 2018, the third workshop on Models for Formal Analysis of Real Systems, and VPT 2018, the sixth international workshop on Verification and Program Transformation, held together on April 20, 2018 in Thessaloniki, Greece, as part of ETAPS 2018, the European Joint Conferences on Theory and Practice of Software. MARS emphasises modelling over verifi… ▽ More

    Submitted 23 March, 2018; originally announced March 2018.

    Journal ref: EPTCS 268, 2018

  11. arXiv:1803.01448  [pdf, other

    cs.LO

    Tree dimension in verification of constrained Horn clauses

    Authors: Bishoksan Kafle, John P. Gallagher, Pierre Ganty

    Abstract: In this paper, we show how the notion of tree dimension can be used in the verification of constrained Horn clauses (CHCs). The dimension of a tree is a numerical measure of its branching complexity and the concept here applies to Horn clause derivation trees. Derivation trees of dimension zero correspond to derivations using linear CHCs, while trees of higher dimension arise from derivations usin… ▽ More

    Submitted 6 March, 2018; v1 submitted 4 March, 2018; originally announced March 2018.

    Comments: Under consideration for publication in Theory and Practice of Logic Programming (TPLP)

  12. arXiv:1708.07854   

    cs.PL cs.LO

    Pre-proceedings of the 27th International Symposium on Logic-Based Program Synthesis and Transformation (LOPSTR 2017)

    Authors: Fabio Fioravanti, John P. Gallagher

    Abstract: This volume constitutes the pre-proceedings of the 27th International Symposium on Logic-Based Program Synthesis and Transformation (LOPSTR 2016), held on 10-12th October 2017 in Namur, Belgium, and co-located with the 19th International Symposium on Principles and Practice of Declarative Programming (PPDP 2017). After discussion at the symposium papers will go through a second round of refereeing… ▽ More

    Submitted 31 August, 2017; v1 submitted 24 August, 2017; originally announced August 2017.

    Comments: Papers selected for presentation at LOPSTR 2017

  13. arXiv:1608.05248  [pdf, other

    cs.SE

    A Source-level Energy Optimization Framework for Mobile Applications

    Authors: Xueliang Li, John P. Gallagher

    Abstract: Energy efficiency can have a significant influence on user experience of mobile devices such as smartphones and tablets. Although energy is consumed by hardware, software optimization plays an important role in saving energy, and thus software developers have to participate in the optimization process. The source code is the interface between the developer and hardware resources. In this paper, we… ▽ More

    Submitted 18 August, 2016; originally announced August 2016.

    Comments: 10 pages. arXiv admin note: substantial text overlap with arXiv:1605.05234

  14. Solving non-linear Horn clauses using a linear Horn clause solver

    Authors: Bishoksan Kafle, John P. Gallagher, Pierre Ganty

    Abstract: In this paper we show that checking satisfiability of a set of non-linear Horn clauses (also called a non-linear Horn clause program) can be achieved using a solver for linear Horn clauses. We achieve this by interleaving a program transformation with a satisfiability checker for linear Horn clauses (also called a solver for linear Horn clauses). The program transformation is based on the notion o… ▽ More

    Submitted 15 July, 2016; originally announced July 2016.

    Comments: In Proceedings HCVS2016, arXiv:1607.04033

    ACM Class: F.3.1

    Journal ref: EPTCS 219, 2016, pp. 33-48

  15. arXiv:1607.04033   

    cs.LO cs.PL

    Proceedings 3rd Workshop on Horn Clauses for Verification and Synthesis

    Authors: John P. Gallagher, Philipp Rümmer

    Abstract: This volume contains the proceedings of HCVS 2016, the Third Workshop on Horn Clauses for Verification and Synthesis which was held on April 3, 2016 in Eindhoven, The Netherlands as a satellite event of the European Joint Conferences on Theory and Practice of Software (ETAPS 2016). Many program verification and synthesis problems of interest can be modeled directly using Horn clauses and many rece… ▽ More

    Submitted 14 July, 2016; originally announced July 2016.

    Journal ref: EPTCS 219, 2016

  16. ENTRA: Whole-Systems Energy Transparency

    Authors: Kerstin Eder, John P. Gallagher, Pedro Lopez-Garcia, Henk Muller, Zorana Bankovic, Kyriakos Georgiou, Remy Haemmerle, Manuel V. Hermenegildo, Bishoksan Kafle, Steve Kerrison, Maja Kirkeby, Maximiliano Klemen, Xueliang Li, Umer Liqat, Jeremy Morse, Morten Rhiger, Mads Rosendahl

    Abstract: Promoting energy efficiency to a first class system design goal is an important research challenge. Although more energy-efficient hardware can be designed, it is software that controls the hardware; for a given system the potential for energy savings is likely to be much greater at the higher levels of abstraction in the system stack. Thus the greatest savings are expected from energy-aware softw… ▽ More

    Submitted 18 June, 2016; v1 submitted 13 June, 2016; originally announced June 2016.

    Comments: Revised preprint submitted to MICPRO on 27 May 2016, 23 pages, 3 figures

  17. arXiv:1605.05234  [pdf, other

    cs.SE

    An Energy-Aware Programming Approach for Mobile Application Development Guided by a Fine-Grained Energy Model

    Authors: Xueliang Li, John P. Gallagher

    Abstract: Energy efficiency has a significant influence on user experience of battery-driven devices such as smartphones and tablets. It is shown that software optimization plays an important role in reducing energy consumption of system. However, in mobile devices, the conventional nature of compiler considers not only energy-efficiency but also limited memory usage and real-time response to user inputs, w… ▽ More

    Submitted 17 May, 2016; originally announced May 2016.

    Comments: arXiv admin note: substantial text overlap with arXiv:1510.04165

  18. Interpolant Tree Automata and their Application in Horn Clause Verification

    Authors: Bishoksan Kafle, John P. Gallagher

    Abstract: This paper investigates the combination of abstract interpretation over the domain of convex polyhedra with interpolant tree automata, in an abstraction-refinement scheme for Horn clause verification. These techniques have been previously applied separately, but are combined in a new way in this paper. The role of an interpolant tree automaton is to provide a generalisation of a spurious counterex… ▽ More

    Submitted 10 July, 2016; v1 submitted 25 January, 2016; originally announced January 2016.

    Comments: In Proceedings VPT 2016, arXiv:1607.01835

    Journal ref: EPTCS 216, 2016, pp. 104-117

  19. Decomposition by tree dimension in Horn clause verification

    Authors: Bishoksan Kafle, John P. Gallagher, Pierre Ganty

    Abstract: In this paper we investigate the use of the concept of tree dimension in Horn clause analysis and verification. The dimension of a tree is a measure of its non-linearity - for example a list of any length has dimension zero while a complete binary tree has dimension equal to its height. We apply this concept to trees corresponding to Horn clause derivations. A given set of Horn clauses P can be tr… ▽ More

    Submitted 11 December, 2015; originally announced December 2015.

    Comments: In Proceedings VPT 2015, arXiv:1512.02215

    ACM Class: Verification

    Journal ref: EPTCS 199, 2015, pp. 1-14

  20. arXiv:1511.03595  [pdf, other

    cs.FL

    Optimised determinisation and completion of finite tree automata

    Authors: John P. Gallagher, Mai Ajspur, Bishoksan Kafle

    Abstract: Determinisation and completion of finite tree automata are important operations with applications in program analysis and verification. However, the complexity of the classical procedures for determinisation and completion is high. They are not practical procedures for manipulating tree automata beyond very small ones. In this paper we develop an algorithm for determinisation and completion of fin… ▽ More

    Submitted 1 November, 2017; v1 submitted 11 November, 2015; originally announced November 2015.

  21. Inferring Parametric Energy Consumption Functions at Different Software Levels: ISA vs. LLVM IR

    Authors: Umer Liqat, Kyriakos Georgiou, Steve Kerrison, Pedro Lopez-Garcia, John P. Gallagher, Manuel V. Hermenegildo, Kerstin Eder

    Abstract: The static estimation of the energy consumed by program executions is an important challenge, which has applications in program optimization and verification, and is instrumental in energy-aware software development. Our objective is to estimate such energy consumption in the form of functions on the input data sizes of programs. We have developed a tool for experimentation with static analysis wh… ▽ More

    Submitted 4 November, 2015; originally announced November 2015.

    Comments: 22 pages, 4 figures, 2 tables

    ACM Class: F.3.2; D.3.4; D.2.8

  22. arXiv:1510.04165  [pdf, other

    cs.OH

    Fine-Grained Energy Modeling for the Source Code of a Mobile Application

    Authors: Xueliang Li, John P. Gallagher

    Abstract: Energy efficiency has a significant influence on user experience of battery-driven devices such as smartphones and tablets. The goal of an energy model for source code is to lay a foundation for the application of energy-saving techniques during software development. The challenge is to relate hardware energy consumption to high-level application code, considering the complex run-time context and… ▽ More

    Submitted 18 May, 2016; v1 submitted 14 October, 2015; originally announced October 2015.

    Comments: 10 pages

  23. Convex polyhedral abstractions, specialisation and property-based predicate splitting in Horn clause verification

    Authors: Bishoksan Kafle, John P. Gallagher

    Abstract: We present an approach to constrained Horn clause (CHC) verification combining three techniques: abstract interpretation over a domain of convex polyhedra, specialisation of the constraints in CHCs using abstract interpretation of query-answer transformed clauses, and refinement by splitting predicates. The purpose of the work is to investigate how analysis and transformation tools developed for c… ▽ More

    Submitted 2 December, 2014; originally announced December 2014.

    Comments: In Proceedings HCVS 2014, arXiv:1412.0825

    Journal ref: EPTCS 169, 2014, pp. 53-67

  24. arXiv:1405.3883  [pdf, ps, other

    cs.PL

    Analysis and Transformation Tools for Constrained Horn Clause Verification

    Authors: John P. Gallagher, Bishoksan Kafle

    Abstract: Several techniques and tools have been developed for verification of properties expressed as Horn clauses with constraints over a background theory (CHC). Current CHC verification tools implement intricate algorithms and are often limited to certain subclasses of CHC problems. Our aim in this work is to investigate the use of a combination of off-the-shelf techniques from the literature in analysi… ▽ More

    Submitted 15 May, 2014; originally announced May 2014.

    Comments: To appear in Theory and Practice of Logic Programming (TPLP)