Skip to main content

Showing 1–12 of 12 results for author: Florido, M

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

    cs.LO

    Regular Typed Unification

    Authors: João Barbosa, Mário Florido, Vítor Santos Costa

    Abstract: Here we define a new unification algorithm for terms interpreted in semantic domains denoted by a subclass of regular types here called deterministic regular types. This reflects our intention not to handle the semantic universe as a homogeneous collection of values, but instead, to partition it in a way that is similar to data types in programming languages. We first define the new unification al… ▽ More

    Submitted 25 April, 2024; originally announced April 2024.

    Comments: 19 pages

  2. arXiv:2211.17186  [pdf, other

    cs.LO

    Linear Rank Intersection Types

    Authors: Fábio Reis, Sandra Alves, Mário Florido

    Abstract: Non-idempotent intersection types provide quantitative information about typed programs, and have been used to obtain time and space complexity measures. Intersection type systems characterize termination, so restrictions need to be made in order to make typability decidable. One such restriction consists in using a notion of finite rank for the idempotent intersection types. In this work, we defi… ▽ More

    Submitted 4 May, 2023; v1 submitted 30 November, 2022; originally announced November 2022.

  3. arXiv:2210.11105  [pdf, other

    cs.PL

    Execution Time Program Verification With Tight Bounds

    Authors: Ana Carolina Silva, Manuel Barbosa, Mario Florido

    Abstract: This paper presents a proof system for reasoning about execution time bounds for a core imperative programming language. Proof systems are defined for three different scenarios: approximations of the worst-case execution time, exact time reasoning, and less pessimistic execution time estimation using amortized analysis. We define a Hoare logic for the three cases and prove its soundness with respe… ▽ More

    Submitted 20 October, 2022; originally announced October 2022.

  4. arXiv:2208.00192  [pdf, ps, other

    cs.PL

    Typed SLD-Resolution: Dynamic Ty** for Logic Programming

    Authors: João Barbosa, Mário Florido, Vítor Santos Costa

    Abstract: The semantic foundations for logic programming are usually separated into two different approaches. The operational semantics, which uses SLD-resolution, the proof method that computes answers in logic programming, and the declarative semantics, which sees logic programs as formulas and its semantics as models. Here, we define a new operational semantics called TSLD-resolution, which stands for Ty… ▽ More

    Submitted 30 July, 2022; originally announced August 2022.

    Comments: 17 pages

  5. arXiv:2204.12376  [pdf, ps, other

    cs.LO

    Structural Rules and Algebraic Properties of Intersection Types

    Authors: Sandra Alves, Mário Florido

    Abstract: In this paper we define several notions of term expansion, used to define terms with less sharing, but with the same computational properties of terms typable in an intersection type system. Expansion relates terms typed by associative, commutative and idempotent intersections with terms typed in the Curry type system and the relevant type system, terms typed by non-idempotent intersections with t… ▽ More

    Submitted 3 May, 2022; v1 submitted 26 April, 2022; originally announced April 2022.

    Comments: 29 pages, submitted to MFPS 22

    ACM Class: F.3.1; D.3.1

  6. arXiv:2108.06562  [pdf, ps, other

    cs.PL cs.LO

    Data Type Inference for Logic Programming

    Authors: João Barbosa, Mário Florido, Vítor Santos Costa

    Abstract: In this paper we present a new static data type inference algorithm for logic programming. Without the need of declaring types for predicates, our algorithm is able to automatically assign types to predicates which, in most cases, correspond to the data types processed by their intended meaning. The algorithm is also able to infer types given data type definitions similar to data definitions in Ha… ▽ More

    Submitted 14 August, 2021; originally announced August 2021.

    Comments: Pre-proceedings paper presented at the 31st International Symposium on Logic-Based Program Synthesis and Transformation (LOPSTR 2021), Tallinn, Estonia, and Virtual, September 7-8, 2021 (arXiv:2107.10160)

    Report number: LOPSTR/2021/4

  7. A Three-Valued Semantics for Typed Logic Programming

    Authors: João Barbosa, Mário Florido, Vítor Santos Costa

    Abstract: Types in logic programming have focused on conservative approximations of program semantics by regular types, on one hand, and on type systems based on a prescriptive semantics defined for typed programs, on the other. In this paper, we define a new semantics for logic programming, where programs evaluate to true, false, and to a new semantic value called wrong, corresponding to a run-time type er… ▽ More

    Submitted 18 September, 2019; originally announced September 2019.

    Comments: In Proceedings ICLP 2019, arXiv:1909.07646

    Journal ref: EPTCS 306, 2019, pp. 36-51

  8. Non-Blocking Concurrent Imperative Programming with Session Types

    Authors: Miguel Silva, Mário Florido, Frank Pfenning

    Abstract: Concurrent C0 is an imperative programming language in the C family with session-typed message-passing concurrency. The previously proposed semantics implements asynchronous (non-blocking) output; we extend it here with non-blocking input. A key idea is to postpone message reception as much as possible by interpreting receive commands as a request for a message. We implemented our ideas as a trans… ▽ More

    Submitted 17 January, 2017; originally announced January 2017.

    Comments: In Proceedings LINEARITY 2016, arXiv:1701.04522

    Journal ref: EPTCS 238, 2017, pp. 64-72

  9. Liquid Intersection Types

    Authors: Mário Pereira, Sandra Alves, Mário Florido

    Abstract: We present a new type system combining refinement types and the expressiveness of intersection type discipline. The use of such features makes it possible to derive more precise types than in the original refinement system. We have been able to prove several interesting properties for our system (including subject reduction) and developed an inference algorithm, which we proved to be sound.

    Submitted 16 March, 2015; originally announced March 2015.

    Comments: In Proceedings ITRS 2014, arXiv:1503.04377

    Journal ref: EPTCS 177, 2015, pp. 24-42

  10. arXiv:1503.00336  [pdf, ps, other

    cs.LO

    CLP(H): Constraint Logic Programming for Hedges

    Authors: Besik Dundua, Mário Florido, Temur Kutsia, Mircea Marin

    Abstract: CLP(H) is an instantiation of the general constraint logic programming scheme with the constraint domain of hedges. Hedges are finite sequences of unranked terms, built over variadic function symbols and three kinds of variables: for terms, for hedges, and for function symbols. Constraints involve equations between unranked terms and atoms for regular hedge language membership. We study algebraic… ▽ More

    Submitted 1 March, 2015; originally announced March 2015.

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

    MSC Class: 68N17; 68Q70; 68Q55 ACM Class: D.1.6; D.3.1; F.4.1

  11. Proceedings First International Workshop on Linearity

    Authors: Mário Florido, Ian Mackie

    Abstract: This volume contains the proceedings of LINEARITY 2009: the first International Workshop on Linearity, which took place 12th September 2009 in Coimbra, Portugal. The workshop was a satellite event of CSL 2009, the 18th EACSL Annual Conference on Computer Science Logic.

    Submitted 29 March, 2010; originally announced March 2010.

    Journal ref: EPTCS 22, 2010

  12. arXiv:1001.3368  [pdf, ps, other

    cs.LO cs.PL

    Linear Recursion

    Authors: Sandra Alves, Maribel Fernández, Mário Florido, Ian Mackie

    Abstract: We define two extensions of the typed linear lambda-calculus that yield minimal Turing-complete systems. The extensions are based on unbounded recursion in one case, and bounded recursion with minimisation in the other. We show that both approaches are compatible with linearity and typeability constraints. Both extensions of the typed linear lambda-calculus are minimal, in the sense that taking ou… ▽ More

    Submitted 25 November, 2016; v1 submitted 19 January, 2010; originally announced January 2010.

    Comments: 28 pages

    ACM Class: F.4.1; F.3.3