Cookies Policy
The website need some cookies and similar means to function. If you permit us, we will use those means to collect data on your visits for aggregated statistics to improve our service. Find out More
Accept Reject
  • Menu
About

About

Academic activities: 

 Academic Degrees:
  • PhD in Computer Science, University of Porto (2007)
  • MSc in Informatics, University of Porto (2001)     
  • Bsc in Computer Science, University of Porto (1999) 
 Research Topics:
  • Linearity, Lambda Calculus, Type Theory
  • Formal Specifications, Access Control Models

Interest
Topics
Details

Details

  • Name

    Sandra Alves
  • Role

    Senior Researcher
  • Since

    01st March 2015
Publications

2024

Extending the Quantitative Pattern-Matching Paradigm

Authors
Alves, S; Kesner, D; Ramos, M;

Publication
Programming Languages and Systems - 22nd Asian Symposium, APLAS 2024, Kyoto, Japan, October 22-24, 2024, Proceedings

Abstract
We show how (well-established) type systems based on non-idempotent intersection types can be extended to characterize termination properties of functional programming languages with pattern matching features. To model such programming languages, we use a (weak and closed) ?-calculus integrating a pattern matching mechanism on algebraic data types (ADTs). Remarkably, we also show that this language not only encodes Plotkin’s CBV and CBN ?-calculus as well as other subsuming frameworks, such as the bang-calculus, but can also be used to interpret the semantics of effectful languages with exceptions. After a thorough study of the untyped language, we introduce a type system based on intersection types, and we show through purely logical methods that the set of terminating terms of the language corresponds exactly to that of well-typed terms. Moreover, by considering non-idempotent intersection types, this characterization turns out to be quantitative, i.e. the size of the type derivation of a term t gives an upper bound for the number of evaluation steps from t to its normal form. © The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd. 2025.

2024

Proceedings 13th International Workshop on Developments in Computational Models

Authors
Alves, S; Mackie, I;

Publication
CoRR

Abstract

2024

Proceedings of the 9th ACM SIGPLAN International Workshop on Type-Driven Development, TyDe 2024, Milan, Italy, 6 September 2024

Authors
Alves, S; Cockx, J;

Publication
TyDe@ICFP

Abstract

2023

Quantitative Global Memory

Authors
Alves, S; Kesner, D; Ramos, M;

Publication
LOGIC, LANGUAGE, INFORMATION, AND COMPUTATION, WOLLIC 2023

Abstract
We show that recent approaches to static analysis based on quantitative typing systems can be extended to programming languages with global state. More precisely, we define a call-by-value language equipped with operations to access a global memory, together with a semantic model based on a (tight) multi-type system that captures exact measures of time and space related to evaluation of programs. We show that the type system is quantitatively sound and complete with respect to the operational semantics of the language.

2022

Report on women in logic 2020 & 2021

Authors
Alves, S; Kiefer, S; Sokolova, A;

Publication
ACM SIGLOG News

Abstract

Supervised
thesis

2023

Quantitative Types for Programming Languages

Author
Jorge Miguel Soares Ramos

Institution
UP-FCUP

2022

Quantitative Types for Programming Languages

Author
Jorge Miguel Soares Ramos

Institution
UP-FCUP

2022

Linear Rank Quantitative Types

Author
Fábio Daniel Martins Reis

Institution
UP-FCUP

2021

PortGraphs for Access Control Verification

Author
Jorge Paulino Iglésias

Institution
UP-FCUP

2021

Synthesis of Programs from Linear Types

Author
Maria Inês Melo e Sousa

Institution
UP-FCUP