EDBT 2026 Demo / reviewers in the wild / expert
Luís Cruz-Filipe
dblp:21/4578
· DBLP profile ↗
49ranked-venue papers
35as first author
15since 2021 · last 2026
0000-0002-7866-7484ORCID · verified
Domains — the database's venue-derived domains; a paper can count in several
Theory of computation · 30 · 19 first-author · 11 since 2021Artificial intelligence and machine learning · 13 · 10 first-author · 3 since 2021Software engineering, systems software and programming languages · 12 · 8 first-author · 3 since 2021Databases, data management, data science and information retrieval · 5 · 5 first-authorComputer networks · 3 · 3 first-author · 1 since 2021Graphics, computer vision, multimedia, augmented reality and games · 2 · 1 first-author
| Year | Publication | Venue | Position |
|---|---|---|---|
| 2026 | Formalizing a Hoare Calculus for Choreographic ProgrammingabstractChoreographic programming is a paradigm where developers write the global specification (called choreography) of a communicating system, and then a correct-by-construction distributed implementation is compiled automatically. Choreographies formalize the way many practitioners think about distributed protocols, and are a natural framework in which to prove properties of such protocols. Previous work has introduced a Hoare calculus for reasoning about choreographies. In this article, we show how a formalization of that work in a theorem prover revealed several issues with the pen-and-paper development. We discuss the extent to which these issues can be fixed, and conclude with some considerations on the need for more formal verification of research results. Luís Cruz-Filipe, Thomas Wulff Heissel |
ITP | 1 |
| 2024 | Minimizing Sorting Networks at the Sub-Comparator Level
Luís Cruz-Filipe, Peter Schneider-Kamp |
LPAR | 1 |
| 2024 | Hypothetical Answers to Continuous Queries Over Data StreamsabstractAnswers to continuous queries over data streams are often delayed until some relevant input arrives through the data stream. These delays may turn answers when they arrive, obsolete to users who sometimes have to make decisions with no help whatsoever. Therefore, it can be useful to provide hypothetical answers—“given the current information, it is possible that \(X\) will become true at time \(t\) ”—instead of no information at all. In this work, we present a semantics for queries and corresponding answers that cover such hypothetical answers, together with an incremental online algorithm for updating the set of facts that are consistent with the currently available information. Our framework also works in a language supporting negation. Luís Cruz-Filipe, Graça Gaspar, Isabel Nunes |
ACM Trans. Comput. Log. | 1 |
| 2023 | Reasoning About Choreographic Programs
Luís Cruz-Filipe, Eva Graversen, Fabrizio Montesi, Marco Peressotti |
COORDINATION | 1 |
| 2023 | Modular Compilation for Higher-Order Functional ChoreographiesabstractChoreographic programming is a paradigm for concurrent and distributed software, whereby descriptions of the intended communications (choreographies) are automatically compiled into distributed code with strong safety and liveness properties (e.g., deadlock-freedom). Recent efforts tried to combine the theories of choreographic programming and higher-order functional programming, in order to integrate the benefits of the former with the modularity of the latter. However, they do not offer a satisfactory theory of compilation compared to the literature, because of important syntactic and semantic shortcomings: compilation is not modular (editing a part might require recompiling everything) and the generated code can perform unexpected global synchronisations. In this paper, we find that these shortcomings are not mere coincidences. Rather, they stem from genuine new challenges posed by the integration of choreographies and functions: knowing which participants are involved in a choreography becomes nontrivial, and divergence in applications requires rethinking how to prove the semantic correctness of compilation. We present a novel theory of compilation for functional choreographies that overcomes these challenges, based on types and a careful design of the semantics of choreographies and distributed code. The result: a modular notion of compilation, which produces code that is deadlock-free and correct (it operationally corresponds to its source choreography). Luís Cruz-Filipe, Eva Graversen, Lovro Lugovic, Fabrizio Montesi, Marco Peressotti |
ECOOP | 1 |
| 2023 | Certified Compilation of Choreographies with hacc
Luís Cruz-Filipe, Lovro Lugovic, Fabrizio Montesi |
FORTE | 1 |
| 2023 | Now It Compiles! Certified Automatic Repair of Uncompilable ProtocolsabstractChoreographic programming is a paradigm where developers write the global specification (called choreography) of a communicating system, and then a correct-by-construction distributed implementation is compiled automatically. Unfortunately, it is possible to write choreographies that cannot be compiled, because of issues related to an agreement property known as knowledge of choice. This forces programmers to reason manually about implementation details that may be orthogonal to the protocol that they are writing. Amendment is an automatic procedure for repairing uncompilable choreographies. We present a formalisation of amendment from the literature, built upon an existing formalisation of choreographic programming. However, in the process of formalising the expected properties of this procedure, we discovered a subtle counterexample that invalidates the original published and peer-reviewed pen-and-paper theory. We discuss how using a theorem prover led us to both finding the issue, and stating and proving a correct formulation of the properties of amendment. Luís Cruz-Filipe, Fabrizio Montesi |
ITP | 1 |
| 2023 | Keep me out of the loop: a more flexible choreographic projectionabstractChoreographic programming is a paradigm where programmers write global descrip- tions of distributed protocols, called choreographies, and correct implementations are au- tomatically generated by a mechanism called projection. Not all choreographies are pro- jectable, because decisions made by one process must be communicated to other processes whose behaviour depends on them – a property known as knowledge of choice. The standard formulation of knowledge of choice disallows protocols such as third-party authentication with retries, where two processes iteratively interact, and other processes wait to be notified at the end of this loop. In this work we show how knowledge of choice can be weakened, extending the class of projectable choreographies with these and other interesting behaviours. The whole development is formalised in Coq. Working with a proof assistant was crucial to our development, because of the help it provided with detecting counterintuitive edge cases that would otherwise have gone unnoticed. Luís Cruz-Filipe, Fabrizio Montesi, Robert R. Rasmussen |
LPAR | 1 |
| 2023 | A Formal Theory of Choreographic ProgrammingabstractAbstract Choreographic programming is a paradigm for writing coordination plans for distributed systems from a global point of view, from which correct-by-construction decentralised implementations can be generated automatically. Theory of choreographies typically includes a number of complex results that are proved by structural induction. The high number of cases and the subtle details in some of these proofs has led to important errors being found in published works. In this work, we formalise the theory of a choreographic programming language in Coq. Our development includes the basic properties of this language, a proof of its Turing completeness, a compilation procedure to a process language, and an operational characterisation of the correctness of this procedure. Our formalisation experience illustrates the benefits of using a theorem prover: we get both an additional degree of confidence from the mechanised proof, and a significant simplification of the underlying theory. Our results offer a foundation for the future formal development of choreographic languages. Luís Cruz-Filipe, Fabrizio Montesi, Marco Peressotti |
J. Autom. Reason. | 1 |
| 2022 | Functional Choreographic Programming
Luís Cruz-Filipe, Eva Graversen, Lovro Lugovic, Fabrizio Montesi, Marco Peressotti |
ICTAC | 1 |
| 2022 | Reconciling Communication Delays and Negation
Luís Cruz-Filipe, Graça Gaspar, Isabel Nunes |
ICTAC | 1 |
| 2022 | From Infinity to Choreographies - Extraction for Unbounded Systems
Bjørn Angel Kjær, Luís Cruz-Filipe, Fabrizio Montesi |
LOPSTR | 2 |
| 2021 | Certifying Choreography Compilation
Luís Cruz-Filipe, Fabrizio Montesi, Marco Peressotti |
ICTAC | 1 |
| 2021 | Formalising a Turing-Complete Choreographic Language in CoqabstractThe theory of choreographic languages typically includes a number of complex results that are proved by structural induction. The high number of cases and the subtle details in some of them lead to long reviewing processes, and occasionally to errors being found in published proofs. In this work, we take a published proof of Turing completeness of a choreographic language and formalise it in Coq. Our development includes formalising the choreographic language, its basic properties, Kleene’s theory of partial recursive functions, the encoding of these functions as choreographies, and a proof that this encoding is correct. With this effort, we show that theorem proving can be a very useful tool in the field of choreographic languages: besides the added degree of confidence that we get from a mechanised proof, the formalisation process led us to a significant simplification of the underlying theory. Our results offer a foundation for the future formal development of choreographic languages. Luís Cruz-Filipe, Fabrizio Montesi, Marco Peressotti |
ITP | 1 |
| 2021 | Stratification in Approximation Fixpoint Theory and Its Application to Active Integrity ConstraintsabstractApproximation fixpoint theory (AFT) is an algebraic study of fixpoints of lattice operators that unifies various knowledge representation formalisms. In AFT, stratification of operators has been studied, essentially resulting in a theory that specifies when certain types of fixpoints can be computed stratum per stratum. Recently, novel types of fixpoints related to groundedness have been introduced in AFT. In this article, we study how those fixpoints behave under stratified operators. One recent application domain of AFT is the field of active integrity constraints (AICs). We apply our extended stratification theory to AICs and find that existing notions of stratification in AICs are covered by this general algebraic definition of stratification. As a result, we obtain stratification results for a large variety of semantics for AICs. Bart Bogaerts 0001, Luís Cruz-Filipe |
ACM Trans. Comput. Log. | 2 |
| 2020 | Hypothetical Answers to Continuous Queries over Data StreamsabstractContinuous queries over data streams often delay answers until some relevant input arrives through the data stream. These delays may turn answers, when they arrive, obsolete to users who sometimes have to make decisions with no help whatsoever. Therefore, it can be useful to provide hypothetical answers – “given the current information, it is possible that X will become true at time t” – instead of no information at all. In this paper we present a semantics for queries and corresponding answers that covers such hypothetical answers, together with an online algorithm for updating the set of facts that are consistent with the currently available information. Luís Cruz-Filipe, Isabel Nunes, Graça Gaspar |
AAAI | 1 |
| 2020 | A core model for choreographic programming
Luís Cruz-Filipe, Fabrizio Montesi |
Theor. Comput. Sci. | 1 |
| 2019 | Formally Verifying the Solution to the Boolean Pythagorean Triples Problem
Luís Cruz-Filipe, João Marques-Silva 0001, Peter Schneider-Kamp |
J. Autom. Reason. | 1 |
| 2019 | Sorting networks: To the end and back again
Michael Codish, Luís Cruz-Filipe, Thorsten Ehlers, Mike Müller, Peter Schneider-Kamp |
J. Comput. Syst. Sci. | 2 |
| 2018 | Complete and Efficient DRAT Proof CheckingabstractDRAT proofs have become the standard for verifying unsatisfiability proofs emitted by modern SAT solvers. However, recent work showed that the specification of the format differs from its implementation in existing tools due to optimizations necessary for efficiency. Although such differences do not compromise soundness of DRAT checkers, the sets of correct proofs according to the specification and to the implementation are incomparable. We discuss how it is possible to design DRAT checkers faithful to the specification by carefully modifying the standard optimization techniques. We implemented such modifications in a configurable DRAT checker. Our experimental results show negligible overhead due to these modifications, suggesting that efficient verification of the DRAT specification is possible. Furthermore, we show that the differences between specification and implementation of DRAT often arise in practice. Adrian Rebola-Pardo, Luís Cruz-Filipe |
FMCAD | 2 |
| 2018 | Multiparty Classical Choreographies
Marco Carbone, Luís Cruz-Filipe, Fabrizio Montesi, Agata Murawska |
LOPSTR | 2 |
| 2018 | Fixpoint semantics for active integrity constraints
Bart Bogaerts 0001, Luís Cruz-Filipe |
Artif. Intell. | 2 |
| 2017 | Efficient Certified RAT Verification
Luís Cruz-Filipe, Marijn Heule, Warren A. Hunt Jr., Matt Kaufmann, Peter Schneider-Kamp |
CADE | 1 |
| 2017 | Procedural Choreographic Programming
Luís Cruz-Filipe, Fabrizio Montesi |
FORTE | 1 |
| 2017 | The Paths to Choreography Extraction
Luís Cruz-Filipe, Kim S. Larsen, Fabrizio Montesi |
FoSSaCS | 1 |
| 2017 | Semantics for Active Integrity Constraints Using Approximation Fixpoint TheoryabstractActive integrity constraints (AICs) constitute a formalism to associate with a database not just the constraints it should adhere to, but also how to fix the database in case one or more of these constraints are violated. The intuitions regarding which repairs are “good” given such a description are closely related to intuitions that live in various areas of non-monotonic reasoning. In this paper, we apply approximation fixpoint theory, an algebraic framework that unifies semantics of non-monotonic logics, to the field of AICs. This results in a new family of semantics for AICs, of which we study semantics and relationships to existing semantics. We argue that the AFT-well-founded semantics has some desirable properties. Bart Bogaerts 0001, Luís Cruz-Filipe |
IJCAI | 2 |
| 2017 | How to Get More Out of Your Oracles
Luís Cruz-Filipe, Kim S. Larsen, Peter Schneider-Kamp |
ITP | 1 |
| 2017 | Formally Proving the Boolean Pythagorean Triples ConjectureabstractIn 2016, Heule, Kullmann and Marek solved the Boolean Pythagorean Triples problem: is there a binary coloring of the natural numbers such that every Pythagorean triple contains an element of each color? By encoding a finite portion of this problem as a propositional formula and showing its unsatisfiability, they established that such a coloring does not exist. Subsequently, this answer was verified by a correct-by-construction checker extracted from a Coq formalization, which was able to reproduce the original proof. However, none of these works address the question of formally addressing the relationship between the propositional formula that was constructed and the mathematical problem being considered. In this work, we formalize the Boolean Pythagorean Triples problem in Coq. We recursively define a family of propositional formulas, parameterized on a natural number n, and show that unsatisfiability of this formula for any particular n implies that there does not exist a solution to the problem. We then formalize the mathematical argument behind the simplification step in the original proof of unsatisfiability and the logical argument underlying cube-and-conquer, obtaining a verified proof of Heule et al.’s solution. Luís Cruz-Filipe, Peter Schneider-Kamp |
LPAR | 1 |
| 2017 | Efficient Certified Resolution Proof Checking
Luís Cruz-Filipe, João Marques-Silva 0001, Peter Schneider-Kamp |
TACAS (1) | 1 |
| 2017 | Optimizing sorting algorithms by using sorting networksabstractAbstract In this paper, we show how the theory of sorting networks can be applied to synthesize optimized general-purpose sorting libraries. Standard sorting libraries are often based on combinations of the classic Quicksort algorithm, with insertion sort applied as base case for small, fixed, numbers of inputs. Unrolling the code for the base case by ignoring loop conditions eliminates branching, resulting in code equivalent to a sorting network. By replacing it with faster sorting networks, we can improve the performance of these algorithms. We show that by considering the number of comparisons and swaps alone we are not able to predict any real advantage of this approach. However, significant speed-ups are obtained when taking advantage of instruction level parallelism and non-branching conditional assignment instructions, both of which are common in modern CPU architectures. Furthermore, a close control of how often registers have to be spilled to memory gives us a complete explanation of the performance of different sorting networks, allowing us to choose an optimal one for each particular architecture. Our experimental results show that using code synthesized from these efficient sorting networks as the base case for Quicksort libraries results in significant real-world speed-ups. Michael Codish, Luís Cruz-Filipe, Markus E. Nebel, Peter Schneider-Kamp |
Formal Aspects Comput. | 2 |
| 2017 | Formally Proving Size Optimality of Sorting Networks
Luís Cruz-Filipe, Kim S. Larsen, Peter Schneider-Kamp |
J. Autom. Reason. | 1 |
| 2017 | Optimal-depth sorting networks
Daniel Bundala, Michael Codish, Luís Cruz-Filipe, Peter Schneider-Kamp, Jakub Závodný |
J. Comput. Syst. Sci. | 3 |
| 2016 | Active Integrity Constraints for Multi-context Systems
Luís Cruz-Filipe, Graça Gaspar, Isabel Nunes, Peter Schneider-Kamp |
EKAW | 1 |
| 2016 | Choreographies in Practice
Luís Cruz-Filipe, Fabrizio Montesi |
FORTE | 1 |
| 2016 | Sorting nine inputs requires twenty-five comparisons
Michael Codish, Luís Cruz-Filipe, Michael Frank 0002, Peter Schneider-Kamp |
J. Comput. Syst. Sci. | 2 |
| 2015 | Active Integrity Constraints: From Theory to Implementation
Luís Cruz-Filipe, Michael Franz, Artavazd Hakhverdyan, Marta Ludovico, Isabel Nunes, Peter Schneider-Kamp |
IC3K | 1 |
| 2015 | Formalizing Size-Optimal Sorting Networks: Extracting a Certified Proof Checker
Luís Cruz-Filipe, Peter Schneider-Kamp |
ITP | 1 |
| 2015 | Sorting Networks: The End Game
Michael Codish, Luís Cruz-Filipe, Peter Schneider-Kamp |
LATA | 2 |
| 2015 | Applying Sorting Networks to Synthesize Optimized Sorting Libraries
Michael Codish, Luís Cruz-Filipe, Markus E. Nebel, Peter Schneider-Kamp |
LOPSTR | 2 |
| 2015 | Optimizing a Certified Proof Checker for a Large-Scale Computer-Generated Proof
Luís Cruz-Filipe, Peter Schneider-Kamp |
CICM | 1 |
| 2014 | Information Flow within Relational Multi-context Systems
Luís Cruz-Filipe, Graça Gaspar, Isabel Nunes |
EKAW | 1 |
| 2014 | Twenty-Five Comparators Is Optimal When Sorting Nine Inputs (and Twenty-Nine for Ten)abstractThis paper describes a computer-assisted non-existence proof of 9-input sorting networks consisting of 24 comparators, hence showing that the 25-comparator sorting network found by Floyd in 1964 is optimal. As a corollary, we obtain that the 29-comparator network found by Waksman in 1969 is optimal when sorting 10 inputs. This closes the two smallest open instances of the optimal-size sorting network problem, which have been open since the results of Floyd and Knuth from 1966 proving optimality for sorting networks of up to 8 inputs. The proof involves a combination of two methodologies: one based on exploiting the abundance of symmetries in sorting networks, and the other based on an encoding of the problem to that of satisfiability of propositional logic. We illustrate that, while each of these can single-handedly solve smaller instances of the problem, it is their combination that leads to the more efficient solution that scales to handle 9 inputs. Michael Codish, Luís Cruz-Filipe, Michael Frank 0002, Peter Schneider-Kamp |
ICTAI | 2 |
| 2014 | The stream-based service-centred calculus: a foundation for service-oriented programmingabstractAbstract We give a formal account of stream-based, service-centered calculus (SSCC), a calculus for modelling service-based systems, suitable to describe both service composition (orchestration) and the protocols that services follow when invoked (conversation). The calculus includes primitives for defining and invoking services, for isolating conversations (called sessions) among clients and servers, and for orchestrating services. The calculus is equipped with a reduction and a labelled transition semantics related by an equivalence result. SSCC provides a good trade-off between expressive power for modelling and simplicity for analysis. We assess the expressive power by modelling van der Aalst workflow patterns and an automotive case study from the European project Sensoria. For analysis, we present a simple type system ensuring compatibility of client and service protocols. We also study the behavioural theory of the calculus, highlighting some axioms that capture the behaviour of the different primitives. As a final application of the theory, we define and prove correct some program transformations. These allow to start modelling a system from a typical UML Sequence Diagram, and then transform the specification to match the service-oriented programming style, thus simplifying its implementation using web services technology. Luís Cruz-Filipe, Ivan Lanese, Francisco Martins, António Ravara, Vasco Thudichum Vasconcelos |
Formal Aspects Comput. | 1 |
| 2013 | Design Patterns for Description-Logic Programs
Luís Cruz-Filipe, Graça Gaspar, Isabel Nunes |
IC3K | 1 |
| 2013 | Patterns for Interfacing between Logic Programs and Multiple OntologiesabstractOriginally proposed in the mid-90s, design patterns for software development played a key role in objectoriented programming not only in increasing software quality, but also by giving a better understanding of the power and limitations of this paradigm. Since then, several authors have endorsed a similar task for other programming paradigms, in the hope of achieving similar benefits. In this paper we discuss design patterns for hybrid semantic web systems combining several description logic knowledge bases via a logic program. We introduce eight design patterns, grouped in three categories: three elementary patterns, which are the basic building blocks; four derived patterns, built from these; and a more complex pattern, the study of which can shed some insight in future syntactic developments of the underlying framework. These patterns are extensively applied in a natural way in a large-scale example that illustrates how their usage greatly simplifies some programming tasks, at the level of both development and extension. We work in a generalization of dl-programs that supports several (possibly different) description logics, but the results presented are easily adaptable to other existing frameworks such as multi-context systems. Luís Cruz-Filipe, Isabel Nunes, Graça Gaspar |
KEOD | 1 |
| 2013 | Description Logics, Rules and Multi-context Systems
Luís Cruz-Filipe, Rita Henriques, Isabel Nunes |
LPAR | 1 |
| 2013 | Computing Repairs from Active Integrity ConstraintsabstractRepairing an inconsistent knowledge base is a well known problem for which several solutions have been proposed and implemented in the past. In this paper, we start by looking at databases with active integrity constraints - consistency requirements that also indicate how the database should be updated when they are not met - as introduced by Caroprese et al.We show that the different kinds of repairs considered by those authors can be effectively computed by searching for leaves of specific kinds of trees. Although these computations are in general not very efficient (deciding the existence of a repair for a given database with active integrity constraints is NP-complete), on average the algorithms we present make significant reductions on the number of nodes in the search tree. Finally, these algorithms also give an operational characterization of different kinds of repairs that can be used when we extend the concept of active integrity constraints to the more general setting of knowledge bases. Luís Cruz-Filipe, Graça Gaspar, Patrícia Engrácia, Isabel Nunes |
TASE | 1 |
| 2008 | Complete Axiomatization of Discrete-Measure Almost-Everywhere QuantificationabstractFollowing recent developments in the topic of generalized quantifiers, and also having in mind applications in the areas of security and artificial intelligence, a conservative enrichment of (two-sorted) first-order logic (FOL) with almost-everywhere quantification is proposed. The completeness of the axiomatization against the measure-heoretic semantics is carried out using a variant of the Lindenbaum–Henkin technique. The independence of the axioms is analysed, and the almost-everywhere quantifier is compared with related notions of generalized quantification. A suitable fragment of the logic is translated to FOL and validity is shown to be preserved. Luís Cruz-Filipe, João Rasga, Amílcar Sernadas, Cristina Sernadas |
J. Log. Comput. | 1 |
| 2007 | Reasoning about probabilistic sequential programs
Rohit Chadha, Luís Cruz-Filipe, Paulo Mateus, Amílcar Sernadas |
Theor. Comput. Sci. | 2 |