Skip to main content

Showing 1–14 of 14 results for author: Genaim, S

Searching in archive cs. Search in all archives.
.
  1. Termination Analysis of Programs with Multiphase Control-Flow

    Authors: Jesús J. Domenech, Samir Genaim

    Abstract: Programs with multiphase control-flow are programs where the execution passes through several (possibly implicit) phases. Proving termination of such programs (or inferring corresponding runtime bounds) is often challenging since it requires reasoning on these phases separately. In this paper we discuss techniques for proving termination of such programs, in particular: (1) using multiphase rankin… ▽ More

    Submitted 9 September, 2021; originally announced September 2021.

    Comments: In Proceedings HCVS 2021, arXiv:2109.03988

    Journal ref: EPTCS 344, 2021, pp. 13-21

  2. arXiv:1908.02078  [pdf, ps, other

    cs.PL cs.LO

    A Transformational Approach to Resource Analysis with Typed-norms Inference

    Authors: Elvira Albert, Samir Genaim, Raúl Gutiérrez, Enrique Martin-Martin

    Abstract: In order to automatically infer the resource consumption of programs, analyzers track how data sizes change along program's execution. Typically, analyzers measure the sizes of data by applying norms which are map**s from data to natural numbers that represent the sizes of the corresponding data. When norms are defined by taking type information into account, they are named typed-norms. This art… ▽ More

    Submitted 6 August, 2019; originally announced August 2019.

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

  3. 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

  4. arXiv:1811.07340  [pdf, ps, other

    cs.PL

    Multiphase-Linear Ranking Functions and their Relation to Recurrent Sets

    Authors: Amir M. Ben-Amram, Jesús J. Doménech, Samir Genaim

    Abstract: Multiphase ranking functions (M$Φ$RFs) are tuples $\langle f_1,\ldots,f_d \rangle$ of linear functions that are often used to prove termination of loops in which the computation progresses through a number of "phases". Our work provides new insights regarding such functions for loops described by a conjunction of linear constraints (Single-Path Constraint loops). The decision problem existence of… ▽ More

    Submitted 13 January, 2019; v1 submitted 18 November, 2018; originally announced November 2018.

  5. arXiv:1703.07547  [pdf, ps, other

    cs.PL cs.LO

    On Multiphase-Linear Ranking Functions

    Authors: Amir M. Ben-Amram, Samir Genaim

    Abstract: Multiphase ranking functions ($\mathit{MΦRFs}$) were proposed as a means to prove the termination of a loop in which the computation progresses through a number of "phases", and the progress of each phase is described by a different linear ranking function. Our work provides new insights regarding such functions for loops described by a conjunction of linear constraints (single-path loops). We pro… ▽ More

    Submitted 23 March, 2017; v1 submitted 22 March, 2017; originally announced March 2017.

    Comments: typos corrected

  6. arXiv:1702.00364  [pdf, other

    cs.SE cs.PL

    EasyInterface: A toolkit for rapid development of GUIs for research prototype tools

    Authors: Jesús Doménech, Samir Genaim, Einar Broch Johnsen, Rudolf Schlatte

    Abstract: In this paper we describe EasyInterface, an open-source toolkit for rapid development of web-based graphical user interfaces (GUIs). This toolkit addresses the need of researchers to make their research prototype tools available to the community, and integrating them in a common environment, rapidly and without being familiar with web programming or GUI libraries in general. If a tool can be execu… ▽ More

    Submitted 1 February, 2017; originally announced February 2017.

    Comments: Preprint of a FASE'17 paper

  7. arXiv:1504.05018  [pdf, ps, other

    cs.PL cs.LO

    Complexity of Bradley-Manna-Sipma Lexicographic Ranking Functions

    Authors: Amir M. Ben-Amram, Samir Genaim

    Abstract: In this paper we turn the spotlight on a class of lexicographic ranking functions introduced by Bradley, Manna and Sipma in a seminal CAV 2005 paper, and establish for the first time the complexity of some problems involving the inference of such functions for linear-constraint loops (without precondition). We show that finding such a function, if one exists, can be done in polynomial time in a wa… ▽ More

    Submitted 20 April, 2015; originally announced April 2015.

    Comments: Technical report for a corresponding CAV'15 paper

  8. arXiv:1503.06974  [pdf, other

    cs.DC

    Challenges and Recommendations for Preparing HPC Applications for Exascale

    Authors: Erika Abraham, Costas Bekas, Ivona Brandic, Samir Genaim, Einar Broch Johnsen, Ivan Kondov, Sabri Pllana, Achim Streit

    Abstract: While the HPC community is working towards the development of the first Exaflop computer (expected around 2020), after reaching the Petaflop milestone in 2008 still only few HPC applications are able to fully exploit the capabilities of Petaflop systems. In this paper we argue that efforts for preparing HPC applications for Exascale should start before such systems become available. We identify ch… ▽ More

    Submitted 9 June, 2015; v1 submitted 24 March, 2015; originally announced March 2015.

    Comments: 18th International Conference on Network-Based Information Systems (NBiS 2015). 2-4 September 2015 in Tamkang, Taiwan

  9. arXiv:1306.6526  [pdf, ps, other

    cs.PL

    Inference of Field-Sensitive Reachability and Cyclicity

    Authors: Damiano Zanardini, Samir Genaim

    Abstract: In heap-based languages, knowing that a variable x points to an acyclic data structure is useful for analyzing termination: this information guarantees that the depth of the data structure to which x points is greater than the depth of the structure pointed to by x.fld, and allows bounding the number of iterations of a loop which traverses the data structure on fld. In general, proving termination… ▽ More

    Submitted 19 May, 2014; v1 submitted 27 June, 2013; originally announced June 2013.

    Comments: 38 pages + appendix

    ACM Class: D.2.4; F.3.1; F.3.2; F.4.1; I.2.2

  10. Proving Termination Starting from the End

    Authors: Pierre Ganty, Samir Genaim

    Abstract: We present a novel technique for proving program termination which introduces a new dimension of modularity. Existing techniques use the program to incrementally construct a termination proof. While the proof keeps changing, the program remains the same. Our technique goes a step further. We show how to use the current partial proof to partition the transition relation into those behaviors known t… ▽ More

    Submitted 19 February, 2013; originally announced February 2013.

    Comments: 16 pages

  11. arXiv:1208.4041  [pdf

    cs.PL cs.LO

    Ranking Functions for Linear-Constraint Loops

    Authors: Amir M. Ben-Amram, Samir Genaim

    Abstract: In this paper we study the complexity of the problems: given a loop, described by linear constraints over a finite set of variables, is there a linear or lexicographical-linear ranking function for this loop? While existence of such functions implies termination, these problems are not equivalent to termination. When the variables range over the rationals (or reals), it is known that both problems… ▽ More

    Submitted 9 July, 2013; v1 submitted 20 August, 2012; originally announced August 2012.

    Comments: 51 pages, extended and revised version of the POPL'13 paper

    ACM Class: F.2.0; F.3.1

  12. Reachability-based Acyclicity Analysis by Abstract Interpretation

    Authors: Samir Genaim, Damiano Zanardini

    Abstract: In programming languages with dynamic use of memory, such as Java, knowing that a reference variable x points to an acyclic data structure is valuable for the analysis of termination and resource usage (e.g., execution time or memory consumption). For instance, this information guarantees that the depth of the data structure to which x points is greater than the depth of the data structure pointed… ▽ More

    Submitted 13 February, 2013; v1 submitted 11 June, 2012; originally announced June 2012.

    Comments: 38 pages (included proofs)

    MSC Class: 68Qxx ACM Class: D.1.5; D.2.4

    Journal ref: Theoretical Computer Science, 474(0), pages 60-79, 2013. Elsevier

  13. arXiv:cs/0405101  [pdf, ps, other

    cs.PL

    Worst-Case Groundness Analysis Using Definite Boolean Functions

    Authors: Samir Genaim, Michael Codish, Jacob M. Howe

    Abstract: This note illustrates theoretical worst-case scenarios for groundness analyses obtained through abstract interpretation over the abstract domains of definite (Def) and positive (Pos) Boolean functions. For Def, an example is given for which any Def-based abstract interpretation for groundness analysis follows a chain which is exponential in the number of argument positions as well as in the numb… ▽ More

    Submitted 26 May, 2004; originally announced May 2004.

    Comments: Appeared in Theory and Practice of Logic Programming, vol. 1, no. 5, 2001

    ACM Class: D.1.6; D.3.2

    Journal ref: Theory and Practice of Logic Programming, vol. 1, no. 5, 2001

  14. arXiv:cs/0312023  [pdf, ps, other

    cs.PL

    Inferring Termination Conditions for Logic Programs using Backwards Analysis

    Authors: Samir Genaim, Michael Codish

    Abstract: This paper focuses on the inference of modes for which a logic program is guaranteed to terminate. This generalises traditional termination analysis where an analyser tries to verify termination for a specified mode. Our contribution is a methodology in which components of traditional termination analysis are combined with backwards analysis to obtain an analyser for termination inference. We id… ▽ More

    Submitted 12 December, 2003; originally announced December 2003.

    ACM Class: D.1.6,F.3.1