Anton Setzer
Current Organizations / Institutes
The organizations/institutes from the scholar's latest article
Anton Setzer has a total of 48 co-authors. Here are the top co-authors by number of shared publications:
Peter Dybjer
4 shared publications- Alexander Berenstein
Universidad de los Andes
3 shared publications - Damir D. Dzhafarov
Department of Mathematics, University of Connecticut, Storrs, Connecticut 06269
3 shared publications David Thibodeau
McGill University
3 shared publications- Faron Moller
Swansea University, Swansea, United Kingdom
3 shared publications - Fredrik Nordvall Forsberg
Department of Computer and Information Sciences University of Strathclyde Glasogw Scotland
3 shared publications
Latest Publications
- Open Access
- 16 October 2026
- Published by Springer Nature
- p. 130-149
Formal Assurance for Railway Signalling: Expanding SAT Proof Checking to Certify Z3’s Inequality-Based SMT Proofs for ERTMS
Safety-critical railway systems such as Railway interlockings and the European Rail Traffic Management System (ERTMS) require strong, independently checkable guarantees of correctness. This requirement is reinforced by the new standard governing the use of software in the railway domain, EN50716 [18], which firmly promotes formal verification as part of an end-to-end assurance process. Many modern railway verification workflows rely on SMT solvers, such as Z3, to discharge safety properties expressed in propositional logic or its suitable extensions. In this paper, we show how a Z3-based verification toolchain can be extended with proof checking via independent validation of the solver’s output, thereby increasing trust in the overall verification process. To this end, we present a bespoke proof-checking framework for railway verification, capable of handling propositional logic, as well as inequality reasoning based on the Farkas lemma. The latter plays a major role in ERTMS logic, where positioning constraints are often expressed as linear inequalities. We demonstrate the application of the Farkas lemma through a small case study, showcasing the effectiveness of the tool. The methodology developed for handling Farkas certificates can serve as a foundation for incorporating additional SMT reasoning rules. The proof-checking framework has been formally specified in Rocq, with the checker extracted from the formalisation. This approach has been developed together with our industrial partner. It is concise, tailored to their framework, and independent from other larger proof checking mechanisms.
- 16 October 2026
- Published by Springer Nature
- p. 130-149
Open AccessFormal Assurance for Railway Signalling: Expanding SAT Proof Checking to Certify Z3’s Inequality-Based SMT Proofs for ERTMS
Safety-critical railway systems such as Railway interlockings and the European Rail Traffic Management System (ERTMS) require strong, independently checkable guarantees of correctness. This requirement is reinforced by the new standard governing the use of software in the railway domain, EN50716 [18], which firmly promotes formal verification as part of an end-to-end assurance process. Many modern railway verification workflows rely on SMT solvers, such as Z3, to discharge safety properties expressed in propositional logic or its suitable extensions. In this paper, we show how a Z3-based verification toolchain can be extended with proof checking via independent validation of the solver’s output, thereby increasing trust in the overall verification process. To this end, we present a bespoke proof-checking framework for railway verification, capable of handling propositional logic, as well as inequality reasoning based on the Farkas lemma. The latter plays a major role in ERTMS logic, where positioning constraints are often expressed as linear inequalities. We demonstrate the application of the Farkas lemma through a small case study, showcasing the effectiveness of the tool. The methodology developed for handling Farkas certificates can serve as a foundation for incorporating additional SMT reasoning rules. The proof-checking framework has been formally specified in Rocq, with the checker extracted from the formalisation. This approach has been developed together with our industrial partner. It is concise, tailored to their framework, and independent from other larger proof checking mechanisms.
- Open Access
- 6 February 2026
- Published by Cambridge University Press (CUP) in The Journal of Symbolic Logic
- Vol. 90 (4) , f1-f3
JSL volume 90 issue 4 Cover and Front matter
- 6 February 2026
- Published by Cambridge University Press (CUP) in The Journal of Symbolic Logic
- Vol. 90 (4) , f1-f3
Open AccessJSL volume 90 issue 4 Cover and Front matter
- Open Access
- 15 December 2023
- Published by Association for Computing Machinery (ACM)
- p. 1-11
A simulator of Solidity-style smart contracts in the theorem prover Agda
This paper extends the previous paper [6] by implementing two blockchain simulators of Solidity-style smart contracts – a simple and a complex one, using the interactive theorem prover Agda. In the previous article [6], we built a simple and complex abstract model of Solidity-style smart contracts in Agda. These models had many features, such as calling different smart contracts, supporting the ability to call different smart contracts, and providing simple and complex instructions. Because of the use of coalgebras for representing smart contracts they supported loops and conditionals, using the support of those features for coalgebraic programs in Agda. The complex model supported gas costs and pure functions, similar to the Solidity language. In this paper, we implement and design interfaces which allow to interactively interact with users in the simple and complex models. This makes use of the fact that Agda is as well a dependently typed programming language. Therefore we can write interactive programs which are running in the same language in which we will in a future next step verify smart contracts, avoiding the translation of programs which could be a source of errors. The simple blockchain simulator we have created can call other contracts, transfer funds to specific contracts, and update contracts. The complex blockchain simulator has in addition features that can deal with more complex blockchain instructions, support gas costs, and evaluate and update pure functions.
- 15 December 2023
- Published by Association for Computing Machinery (ACM)
- p. 1-11
Open AccessA simulator of Solidity-style smart contracts in the theorem prover Agda
This paper extends the previous paper [6] by implementing two blockchain simulators of Solidity-style smart contracts – a simple and a complex one, using the interactive theorem prover Agda. In the previous article [6], we built a simple and complex abstract model of Solidity-style smart contracts in Agda. These models had many features, such as calling different smart contracts, supporting the ability to call different smart contracts, and providing simple and complex instructions. Because of the use of coalgebras for representing smart contracts they supported loops and conditionals, using the support of those features for coalgebraic programs in Agda. The complex model supported gas costs and pure functions, similar to the Solidity language. In this paper, we implement and design interfaces which allow to interactively interact with users in the simple and complex models. This makes use of the fact that Agda is as well a dependently typed programming language. Therefore we can write interactive programs which are running in the same language in which we will in a future next step verify smart contracts, avoiding the translation of programs which could be a source of errors. The simple blockchain simulator we have created can call other contracts, transfer funds to specific contracts, and update contracts. The complex blockchain simulator has in addition features that can deal with more complex blockchain instructions, support gas costs, and evaluate and update pure functions.
- Open Access
- 21 February 2023
- Published by Cambridge University Press (CUP) in The Journal of Symbolic Logic
- Vol. 88 (1) , f1-f3
JSL volume 88 issue 1 Cover and Front matter
Manuscripts should be submitted using EditFlow at https://ef.msp.org/submit/asl_jsl, where instructions directed specifi cally at using the system can also be found. Authors should keep a complete copy of their submission and all electronic fi les from which it was created. They should also consult the more general guidelines for the submission of manuscripts at https://aslonline.org/journals/the-journal-of-symbolic-logic/submission-guidelines/. These instructions include the Association's standards about previous publication and plagiarism as well as information about copyrights and electronic copies of published papers. No print off prints will be supplied but authors will receive a link to a freely accessible electronic pdf of their published article. Print off prints may be purchased if required.
- 21 February 2023
- Published by Cambridge University Press (CUP) in The Journal of Symbolic Logic
- Vol. 88 (1) , f1-f3
Open AccessJSL volume 88 issue 1 Cover and Front matter
Manuscripts should be submitted using EditFlow at https://ef.msp.org/submit/asl_jsl, where instructions directed specifi cally at using the system can also be found. Authors should keep a complete copy of their submission and all electronic fi les from which it was created. They should also consult the more general guidelines for the submission of manuscripts at https://aslonline.org/journals/the-journal-of-symbolic-logic/submission-guidelines/. These instructions include the Association's standards about previous publication and plagiarism as well as information about copyrights and electronic copies of published papers. No print off prints will be supplied but authors will receive a link to a freely accessible electronic pdf of their published article. Print off prints may be purchased if required.
- Open Access
- 17 November 2022
- Published by Cambridge University Press (CUP) in The Journal of Symbolic Logic
- Vol. 87 (4) , f1-f3
JSL volume 87 issue 4 Cover and Front matter
Manuscripts should be submitted using EditFlow at https://ef.msp.org/submit/asl_jsl, where instructions directed specifi cally at using the system can also be found. Authors should keep a complete copy of their submission and all electronic fi les from which it was created. They should also consult the more general guidelines for the submission of manuscripts at https://aslonline.org/journals/the-journal-of-symbolic-logic/submission-guidelines/. These instructions include the Association's standards about previous publication and plagiarism as well as information about copyrights and electronic copies of published papers. No print offprints will be supplied but authors will receive a link to a freely accessible electronic pdf of their published article. Print offprints may be purchased if required.
- 17 November 2022
- Published by Cambridge University Press (CUP) in The Journal of Symbolic Logic
- Vol. 87 (4) , f1-f3
Open AccessJSL volume 87 issue 4 Cover and Front matter
Manuscripts should be submitted using EditFlow at https://ef.msp.org/submit/asl_jsl, where instructions directed specifi cally at using the system can also be found. Authors should keep a complete copy of their submission and all electronic fi les from which it was created. They should also consult the more general guidelines for the submission of manuscripts at https://aslonline.org/journals/the-journal-of-symbolic-logic/submission-guidelines/. These instructions include the Association's standards about previous publication and plagiarism as well as information about copyrights and electronic copies of published papers. No print offprints will be supplied but authors will receive a link to a freely accessible electronic pdf of their published article. Print offprints may be purchased if required.
- 11 August 2020
- Published by Springer Nature
- p. 299-343
An Upper Bound for the Proof-Theoretic Strength of Martin-Löf Type Theory with W-type and One Universe
- 11 August 2020
- Published by Springer Nature
- p. 299-343
An Upper Bound for the Proof-Theoretic Strength of Martin-Löf Type Theory with W-type and One Universe
- 26 August 2018
- Published by Springer Nature
- p. 89-107
Developing GUI Applications in a Verified Setting
- 26 August 2018
- Published by Springer Nature
- p. 89-107
Developing GUI Applications in a Verified Setting
- Open Access
Modelling Bitcoin in Agda
We present two models of the block chain of Bitcoin in the interactive theorem prover Agda. The first one is based on a simple model of bank accounts, while having transactions with multiple inputs and outputs. The second model models transactions, which refer directly to unspent transaction outputs, rather than user accounts. The resulting blockchain gives rise to a transaction tree. That model is formalised using an extended form of induction-recursion, one of the unique features of Agda. The set of transaction trees and transactions is defined inductively, while simultaneously recursively defining the list of unspent transaction outputs. Both structures model standard transactions, coinbase transactions, transaction fees, the exact message to be signed by those spending money in a transaction, block rewards, blocks, and the blockchain, and the second structure models as well maturation time for coinbase transactions and Merkle trees. Hashing and cryptographic operations and their correctness are dealt with abstractly by postulating corresponding operations. An indication is given how the correctness of this model could be specified and proven in Agda.
Open AccessModelling Bitcoin in Agda
We present two models of the block chain of Bitcoin in the interactive theorem prover Agda. The first one is based on a simple model of bank accounts, while having transactions with multiple inputs and outputs. The second model models transactions, which refer directly to unspent transaction outputs, rather than user accounts. The resulting blockchain gives rise to a transaction tree. That model is formalised using an extended form of induction-recursion, one of the unique features of Agda. The set of transaction trees and transactions is defined inductively, while simultaneously recursively defining the list of unspent transaction outputs. Both structures model standard transactions, coinbase transactions, transaction fees, the exact message to be signed by those spending money in a transaction, block rewards, blocks, and the blockchain, and the second structure models as well maturation time for coinbase transactions and Merkle trees. Hashing and cryptographic operations and their correctness are dealt with abstractly by postulating corresponding operations. An indication is given how the correctness of this model could be specified and proven in Agda.
- Open Access
- 13 September 2017
- Published by Open Publishing Association in Electronic Proceedings in Theoretical Computer Science
- Vol. 258 (258) , 36-51
Trace and Stable Failures Semantics for CSP-Agda
- 13 September 2017
- Published by Open Publishing Association in Electronic Proceedings in Theoretical Computer Science
- Vol. 258 (258) , 36-51
Open AccessTrace and Stable Failures Semantics for CSP-Agda