Cookies
O website necessita de alguns cookies e outros recursos semelhantes para funcionar. Caso o permita, o INESC TEC irá utilizar cookies para recolher dados sobre as suas visitas, contribuindo, assim, para estatísticas agregadas que permitem melhorar o nosso serviço. Ver mais
Aceitar Rejeitar
  • Menu
Sobre

Sobre

Actividades académicas:

  • Professora Auxiliar  DCC-FCUP
  • Investigadora no CRACS, INESC-TEC
  • Membro do Steering Committee da Conferência FSCD (Publicity Chair)
  • Membro do Steering Committee do Workshop Linearity
  • Membro do corpo editorial da revista MSCS 
  • Membro do corpo editorial da revista IFCoLog FLAP 
  • Membro executivo da IFCoLog
 Graud Académicos:
  • Doutoramento em Ciência de Computadores, Universidade do Porto (2007)
  • Mestrado em Informática, Universidade do Porto (2001)     
  • Licenciatura em Ciência de Computadores, Universidade do Porto (1999) 
 Tópicos de Investigação:
  • Linearidade, Lambda Calculus, Teoria de Tipos
  • Specificações Formais, Modelos de Controlo de Acesso

Tópicos
de interesse
Detalhes

Detalhes

  • Nome

    Sandra Alves
  • Cargo

    Investigador Sénior
  • Desde

    01 março 2015
Publicações

2025

Extending the Quantitative Pattern-Matching Paradigm

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

Publicação
PROGRAMMING LANGUAGES AND SYSTEMS, APLAS 2024

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) lambda-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 lambda-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.

2025

A quantitative approach to global state composition

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

Publicação
MATHEMATICAL STRUCTURES IN COMPUTER SCIENCE

Abstract
We show that recent approaches to quantitative analysis based on non-idempotent typing systems can be extended to programming languages with effects. In particular, we consider two cases: the weak open call-by-name (CBN) and call-by-value (CBV) variants of the $\lambda$ -calculus, equipped with operations to write and read from a global state. In order to capture quantitative information with respect to time and space for both CBN and CBV, we design for each of them a quantitative type system based on a (tight) multi-type system. One key observation of this work is how CBN and CBV influence the composition of state types. That is, each type system is developed by taking into account how each language manages the global state: in CBN, the composition of state types is almost straightforward, since function application does not require evaluation of its argument; in CBV, however, the interaction between functions and arguments makes the composition of state types more subtle since only values can be passed as actual arguments. The main contribution of this paper is the design of type systems capturing quantitative information about effectful CBN and CBV programming languages. Indeed, we develop type systems that are qualitatively and quantitatively sound and complete.

2024

Proceedings 13th International Workshop on Developments in Computational Models, DCM 2023, Rome, Italy, 2 July 2023

Autores
Alves, S; Mackie, I;

Publicação
DCM

Abstract

2024

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

Autores
Alves, S; Cockx, J;

Publicação
TyDe@ICFP

Abstract

2024

Preface

Autores
Alves S.; Mackie I.;

Publicação
Electronic Proceedings in Theoretical Computer Science Eptcs

Abstract

Teses
supervisionadas

2023

Quantitative Types for Programming Languages

Autor
Jorge Miguel Soares Ramos

Instituição
UP-FCUP

2022

Quantitative Types for Programming Languages

Autor
Jorge Miguel Soares Ramos

Instituição
UP-FCUP

2022

Linear Rank Quantitative Types

Autor
Fábio Daniel Martins Reis

Instituição
UP-FCUP

2021

Typed Port-Graphs for Access Control Verification

Autor
Jorge Paulino Iglésias

Instituição
UP-FCUP

2021

PortGraphs for Access Control Verification

Autor
Jorge Paulino Iglésias

Instituição
UP-FCUP