Logo: to the web site of Uppsala University

uu.sePublications from Uppsala University
Change search
Link to record
Permanent link

Direct link
Weber, Tjark
Publications (10 of 18) Show all publications
Esen, Z., Rümmer, P. & Weber, T. (2026). Sound and Complete Invariant-Based Heap Encodings. Paper presented at OOPSLA, Oakland, CA, USA, October, 2026. Proceedings of the ACM on Programming Languages, 10(OOPSLA1), 794-822, Article ID 120.
Open this publication in new window or tab >>Sound and Complete Invariant-Based Heap Encodings
2026 (English)In: Proceedings of the ACM on Programming Languages, E-ISSN 2475-1421, Vol. 10, no OOPSLA1, p. 794-822, article id 120Article in journal (Refereed) Published
Abstract [en]

Verification of programs operating on heap-allocated data structures, for instance lists or trees, poses significant challenges due to the potentially unbounded size of such data structures. We present time-indexed heap invariants, a novel invariant-based heap encoding leveraging uninterpreted predicates and prophecy variables to reduce verification of heap-manipulating programs to verification of programs over integers only. Our encoding of heap is general and agnostic to specific data structures. To the best of our knowledge, our approach is the first heap invariant-based method that achieves both soundness and completeness. We provide formal proofs establishing the correctness of our encodings. Through an experimental evaluation, we demonstrate that time-indexed heap invariants significantly extend the capability of existing verification tools, allowing automatic verification of programs with heap that were previously out of reach for state-of-the-art tools.

Place, publisher, year, edition, pages
Association for Computing Machinery (ACM), 2026
Keywords
Software Verification, Heap Memory, Invariant-Based, Program Transformation, Horn Clauses, Time-Indexed Heap Invariants, Space Invariants
National Category
Computer Sciences
Identifiers
urn:nbn:se:uu:diva-554455 (URN)10.1145/3798228 (DOI)001785356800001 ()2-s2.0-105037760971 (Scopus ID)
Conference
OOPSLA, Oakland, CA, USA, October, 2026
Available from: 2025-04-13 Created: 2025-04-13 Last updated: 2026-06-29Bibliographically approved
Esen, Z., Rümmer, P. & Weber, T. (2025). Finding Universally Quantified Heap Invariants by Horn Clause Transformations. In: Fundamentals of Software Engineering - 11th IFIP WG 2.2 International Conference, FSEN 2025, Västerås, Sweden, April 7-8, 2025, Proceedings: . Paper presented at FSEN 2025 - Fundamentals of Software Engineering, Västerås, Sweden, April 7-8, 2025 (pp. 42-60). Springer
Open this publication in new window or tab >>Finding Universally Quantified Heap Invariants by Horn Clause Transformations
2025 (English)In: Fundamentals of Software Engineering - 11th IFIP WG 2.2 International Conference, FSEN 2025, Västerås, Sweden, April 7-8, 2025, Proceedings, Springer, 2025, p. 42-60Conference paper, Published paper (Refereed)
Abstract [en]

A common approach in software verification is to encode a program as a set of Constrained Horn Clauses (CHCs), which are then processed and solved automatically by a CHC solver. To streamline this verification approach for the case of programs operating on mutable linked data-structures, we have in earlier work proposed a theory of heaps, defined within the SMT-LIB framework, which enables us to represent programs as CHCs with minimal loss of structural information. By preserving high-level program information in the encoding, the theory of heaps enables CHC solvers to apply various internal techniques for handling program heap; among others, to encode the heap further using the theory of arrays, to apply shape analysis, or to translate to a heap-less program with the help of invariants. This paper explores the third option, developing transformation rules that rewrite a set of CHCs into an equisatisfiable set of CHCs with additional predicates representing heap invariants. The proposed method generalises the notion of space invariants, which were previously introduced for verifying Java programs, by lifting the entire transformation process to the CHC level. The paper defines the transformation rules, provides detailed correctness proofs, and discusses the strengths and limitations of the approach. We also outline possible extensions of the method.

Place, publisher, year, edition, pages
Springer, 2025
National Category
Computer Sciences
Research subject
Computer Science
Identifiers
urn:nbn:se:uu:diva-554454 (URN)10.1007/978-3-031-87054-5_4 (DOI)001525057300004 ()2-s2.0-105001355372 (Scopus ID)978-3-031-87053-8 (ISBN)978-3-031-87054-5 (ISBN)
Conference
FSEN 2025 - Fundamentals of Software Engineering, Västerås, Sweden, April 7-8, 2025
Available from: 2025-04-13 Created: 2025-04-13 Last updated: 2025-09-26Bibliographically approved
Torstensson, O. & Weber, T. (2023). Hammering Floating-Point Arithmetic. In: Sattler, U Suda, M (Ed.), FRONTIERS OF COMBINING SYSTEMS, FROCOS 2023: . Paper presented at 14th International Symposium on Frontiers of Combining Systems (FroCoS), SEP 20-22, 2023, Czech Tech Univ, Prague, CZECH REPUBLIC (pp. 217-235). Springer Nature, 14279
Open this publication in new window or tab >>Hammering Floating-Point Arithmetic
2023 (English)In: FRONTIERS OF COMBINING SYSTEMS, FROCOS 2023 / [ed] Sattler, U Suda, M, Springer Nature, 2023, Vol. 14279, p. 217-235Conference paper, Published paper (Refereed)
Abstract [en]

Sledgehammer, a component of the interactive proof assistant Isabelle/HOL, aims to increase proof automation by automatically discharging proof goals with the help of external provers. Among these provers are a group of satisfiability modulo theories (SMT) solvers with support for the SMT-LIB input language. Despite existing formalizations of IEEE floating-point arithmetic in both Isabelle/HOL and SMT-LIB, Sledgehammer employs an abstract translation of floating-point types and constants, depriving the SMT solvers of the opportunity to make use of their dedicated decision procedures for floating-point arithmetic. We show that, by extending Sledgehammer's translation from the language of Isabelle/HOL into SMT-LIB with an interpretation of floating-point types and constants, floating-point reasoning in SMT solvers can be made available to Isabelle/HOL. Our main contribution is a description and implementation of such an extension. An evaluation of the extended translation shows a significant increase of Sledgehammer's success rate on proof goals involving floating-point arithmetic.

Place, publisher, year, edition, pages
Springer Nature, 2023
Series
Lecture Notes in Artificial Intelligence, ISSN 2945-9133, E-ISSN 1611-3349 ; 14279
National Category
Computer Sciences Natural Language Processing Computer Systems
Identifiers
urn:nbn:se:uu:diva-524653 (URN)10.1007/978-3-031-43369-6_12 (DOI)001156327100012 ()978-3-031-43368-9 (ISBN)978-3-031-43369-6 (ISBN)
Conference
14th International Symposium on Frontiers of Combining Systems (FroCoS), SEP 20-22, 2023, Czech Tech Univ, Prague, CZECH REPUBLIC
Funder
Knut and Alice Wallenberg Foundation
Available from: 2024-03-08 Created: 2024-03-08 Last updated: 2025-02-01Bibliographically approved
Gengelbach, A., Åman Pohjola, J. & Weber, T. (2021). Mechanisation of Model-theoretic Conservative Extension for HOL with Ad-hoc Overloading. In: Claudio Sacerdoti Coen; Alwen Tiu (Ed.), Proceedings Fifteenth Workshop on Logical Frameworks and Meta-Languages: Theory and Practice. Paper presented at Fifteenth Workshop on Logical Frameworks and Meta-Languages: Theory and Practice (LFMTP 2020), June 29-30, 2020, Paris, France (pp. 1-17). Open Publishing Association
Open this publication in new window or tab >>Mechanisation of Model-theoretic Conservative Extension for HOL with Ad-hoc Overloading
2021 (English)In: Proceedings Fifteenth Workshop on Logical Frameworks and Meta-Languages: Theory and Practice / [ed] Claudio Sacerdoti Coen; Alwen Tiu, Open Publishing Association , 2021, p. 1-17Conference paper, Published paper (Refereed)
Abstract [en]

Definitions of new symbols merely abbreviate expressions in logical frameworks, and no new facts (regarding previously defined symbols) should hold because of a new definition. In Isabelle/HOL, definable symbols are types and constants. The latter may be ad-hoc overloaded, i.e. have different definitions for non-overlapping types. We prove that symbols that are independent of a new definition may keep their interpretation in a model extension. This work revises our earlier notion of model-theoretic conservative extension and generalises an earlier model construction. We obtain consistency of theories of definitions in higher-order logic (HOL) with ad-hoc overloading as a corollary. Our results are mechanised in the HOL4 theorem prover.

Place, publisher, year, edition, pages
Open Publishing Association, 2021
Series
Electronic Proceedings in Theoretical Computer Science (EPTCS), ISSN 2075-2180 ; 332
National Category
Algebra and Logic Computer Sciences
Identifiers
urn:nbn:se:uu:diva-430377 (URN)10.4204/EPTCS.332.1 (DOI)001035994800001 ()
Conference
Fifteenth Workshop on Logical Frameworks and Meta-Languages: Theory and Practice (LFMTP 2020), June 29-30, 2020, Paris, France
Available from: 2021-01-08 Created: 2021-01-08 Last updated: 2023-10-06Bibliographically approved
Parrow, J., Borgström, J., Eriksson, L.-H., Forsberg Gutkovas, R. & Weber, T. (2021). Modal Logics for Nominal Transition Systems. Logical Methods in Computer Science, 17(1), Article ID 5353.
Open this publication in new window or tab >>Modal Logics for Nominal Transition Systems
Show others...
2021 (English)In: Logical Methods in Computer Science, E-ISSN 1860-5974, Vol. 17, no 1, article id 5353Article in journal (Refereed) Published
Abstract [en]

We define a general notion of transition system where states and action labels can be from arbitrary nominal sets, actions may bind names, and state predicates from an arbitrary logic define properties of states. A Hennessy-Milner logic for these systems is introduced, and proved adequate and expressively complete for bisimulation equivalence. A main technical novelty is the use of finitely supported infinite conjunctions. We show how to treat different bisimulation variants such as early, late, open and weak in a systematic way, explore the folklore theorem that state predicates can be replaced by actions, and make substantial comparisons with related work. The main definitions and theorems have been formalised in Nominal Isabelle.

National Category
Computer Sciences
Research subject
Computer Science
Identifiers
urn:nbn:se:uu:diva-383314 (URN)10.23638/LMCS-17(1:6)2021 (DOI)000658724600006 ()
Available from: 2019-05-13 Created: 2019-05-13 Last updated: 2024-07-04Bibliographically approved
Gengelbach, A. & Weber, T. (2020). Proof-theoretic Conservativity for HOL with Ad-hoc Overloading. In: Violet Ka I Pun, Volker Stolz, Adenilso da Silva Simão (Ed.), Theoretical Aspects of Computing - ICTAC 2020 - 17th International Colloquium, Macau, China, November 30 - December 4, 2020: . Paper presented at Theoretical Aspects of Computing (ICTAC), Nov 30-Dec 4, 2020, online, Macau, China (pp. 23-42). Springer, 12545
Open this publication in new window or tab >>Proof-theoretic Conservativity for HOL with Ad-hoc Overloading
2020 (English)In: Theoretical Aspects of Computing - ICTAC 2020 - 17th International Colloquium, Macau, China, November 30 - December 4, 2020 / [ed] Violet Ka I Pun, Volker Stolz, Adenilso da Silva Simão, Springer, 2020, Vol. 12545, p. 23-42Conference paper, Published paper (Refereed)
Abstract [en]

Logical frameworks are often equipped with an extensional mechanism to define new symbols. The definitional mechanism is expected to be conservative, i.e. it shall not introduce new theorems of the original language. The theorem proving framework Isabelle implements a variant of higher-order logic where constants may be ad-hoc overloaded, allowing a constant to have different definitions for non-overlapping types. In this paper we prove soundness and completeness for the logic of Isabelle/HOL with general (Henkin-style) semantics, and we prove model-theoretic and proof-theoretic conservativity for theories of definitions.

Place, publisher, year, edition, pages
Springer, 2020
Series
Lecture Notes in Computer Science, ISSN 0302-9743, E-ISSN 1611-3349
Keywords
Classical higher-order logic, Conservative theory extension, Proof-theoretic conservativity, Ad-hoc overloading, Isabelle
National Category
Computer Sciences Algebra and Logic
Research subject
Computer Science
Identifiers
urn:nbn:se:uu:diva-430371 (URN)10.1007/978-3-030-64276-1_2 (DOI)000705051400002 ()978-3-030-64276-1 (ISBN)
Conference
Theoretical Aspects of Computing (ICTAC), Nov 30-Dec 4, 2020, online, Macau, China
Available from: 2021-01-08 Created: 2021-01-08 Last updated: 2021-11-05Bibliographically approved
Bartocci, E., Beyer, D., Black, P. E., Fedyukovich, G., Garavel, H., Hartmanns, A., . . . Yamada, A. (2019). TOOLympics 2019: An overview of competitions in formal methods. In: Tools and Algorithms for the Construction and Analysis of Systems: 25 years of TACAS, Part III. Paper presented at TACAS 2019, April 6–11, Prague, Czech Republic (pp. 3-24). Springer
Open this publication in new window or tab >>TOOLympics 2019: An overview of competitions in formal methods
Show others...
2019 (English)In: Tools and Algorithms for the Construction and Analysis of Systems: 25 years of TACAS, Part III, Springer, 2019, p. 3-24Conference paper, Published paper (Refereed)
Abstract [en]

Evaluation of scientific contributions can be done in many different ways. For the various research communities working on the verification of systems (software, hardware, or the underlying involved mechanisms), it is important to bring together the community and to compare the state of the art, in order to identify progress of and new challenges in the research area. Competitions are a suitable way to do that.

The first verification competition was created in 1992 (SAT competition), shortly followed by the CASC competition in 1996. Since the year 2000, the number of dedicated verification competitions is steadily increasing. Many of these events now happen regularly, gathering researchers that would like to understand how well their research prototypes work in practice. Scientific results have to be reproducible, and powerful computers are becoming cheaper and cheaper, thus, these competitions are becoming an important means for advancing research in verification technology.

TOOLympics 2019 is an event to celebrate the achievements of the various competitions, and to understand their commonalities and differences. This volume is dedicated to the presentation of the 16 competitions that joined TOOLympics as part of the celebration of the 25𝑡ℎ anniversary of the TACAS conference.

Place, publisher, year, edition, pages
Springer, 2019
Series
Lecture Notes in Computer Science, ISSN 0302-9743, E-ISSN 1611-3349 ; 11429
National Category
Computer Sciences
Identifiers
urn:nbn:se:uu:diva-396455 (URN)10.1007/978-3-030-17502-3_1 (DOI)000681183400001 ()978-3-030-17501-6 (ISBN)
Conference
TACAS 2019, April 6–11, Prague, Czech Republic
Available from: 2019-04-04 Created: 2019-11-05 Last updated: 2022-06-28Bibliographically approved
Gengelbach, A. & Weber, T. (2018). Model-theoretic Conservative Extension of Definitional Theories. Paper presented at The 12th Workshop on Logical and Semantic Frameworks, with Applications (LSFA 2017), 23-24 September 2017, Brasília, Brazil.. Electronic Notes in Theoretical Computer Science, 338, 133-145
Open this publication in new window or tab >>Model-theoretic Conservative Extension of Definitional Theories
2018 (English)In: Electronic Notes in Theoretical Computer Science, E-ISSN 1571-0661, Vol. 338, p. 133-145Article in journal (Refereed) Published
Abstract [en]

Many logical frameworks allow extensions, i.e. the introduction of new symbols, by definitions. Different from asserting arbitrary non-logical axioms, extensions by definitions are expected to be conservative: they should entail no new theorems in the original language. The popular theorem prover Isabelle implements a variant of higher-order logic that allows ad hoc overloading of constants. In 2015, Kunčar and Popescu introduced definitional theories, which impose a non-circularity condition on constant and type definitions in this logic, and showed that this condition is sufficient for definitional extensions to preserve consistency. We strengthen and generalize this result by showing that extensions of definitional theories are model-theoretic conservative, i.e. every model of the original theory can be expanded to a model of the extended theory.

Keywords
classical higher-order logic, conservative theory extension, model-theoretic conservativity, definitional theories, ground semantics, Isabelle
National Category
Computer Sciences Algebra and Logic
Research subject
Computing Science
Identifiers
urn:nbn:se:uu:diva-368127 (URN)10.1016/j.entcs.2018.10.009 (DOI)000448882000009 ()
Conference
The 12th Workshop on Logical and Semantic Frameworks, with Applications (LSFA 2017), 23-24 September 2017, Brasília, Brazil.
Available from: 2018-12-03 Created: 2018-12-03 Last updated: 2024-07-04Bibliographically approved
Parrow, J., Weber, T., Borgström, J. & Eriksson, L.-H. (2017). Weak Nominal Modal Logic. In: Formal Techniques for Distributed Objects, Components, and Systems: . Paper presented at FORTE 2017 (pp. 179-193). Springer
Open this publication in new window or tab >>Weak Nominal Modal Logic
2017 (English)In: Formal Techniques for Distributed Objects, Components, and Systems, Springer, 2017, p. 179-193Conference paper, Published paper (Refereed)
Place, publisher, year, edition, pages
Springer, 2017
Series
Lecture Notes in Computer Science, ISSN 0302-9743 ; 10321
National Category
Computer Sciences
Research subject
Computer Science
Identifiers
urn:nbn:se:uu:diva-334579 (URN)10.1007/978-3-319-60225-7_13 (DOI)978-3-319-60224-0 (ISBN)
Conference
FORTE 2017
Funder
Swedish Research Council, 2013-4853
Available from: 2017-05-28 Created: 2017-11-24 Last updated: 2018-01-19Bibliographically approved
Weber, T., Eriksson, L.-H., Parrow, J., Borgström, J. & Gutkovas, R. (2016). Modal Logics for Nominal Transition Systems. Archive of Formal Proofs
Open this publication in new window or tab >>Modal Logics for Nominal Transition Systems
Show others...
2016 (English)In: Archive of Formal Proofs, ISSN 2150-914xArticle in journal (Refereed) Published
National Category
Computer Sciences
Identifiers
urn:nbn:se:uu:diva-300027 (URN)
Projects
UPMARC
Funder
Swedish Research Council, 2013-4853
Available from: 2016-10-25 Created: 2016-08-01 Last updated: 2019-02-25
Organisations

Search in DiVA

Show all publications