首页 > 最新文献

Electronic Proceedings in Theoretical Computer Science最新文献

英文 中文
Linear Contextual Metaprogramming and Session Types 线性上下文元编程和会话类型
Q4 Computer Science Pub Date : 2024-04-05 DOI: 10.4204/EPTCS.401.1
Pedro Ângelo, Atsushi Igarashi, V. Vasconcelos
We explore the integration of metaprogramming in a call-by-value linear lambda-calculus and sketch its extension to a session type system. We build on a model of contextual modal type theory with multi-level contexts, where contextual values, closing arbitrary terms over a series of variables, may then be boxed and transmitted in messages. Once received, one such value may then be unboxed (with a let-box construct) and locally applied before being run. We present a series of examples where servers prepare and ship code on demand via session typed messages.
我们探索了元编程在逐值调用线性λ演算中的整合,并勾画了其在会话类型系统中的扩展。我们以具有多级上下文的上下文模态类型理论模型为基础,其中的上下文值(在一系列变量上关闭任意项)可以被装箱并在消息中传输。收到信息后,这样的值就可以解压缩(使用让箱结构),并在运行前进行本地应用。我们介绍了一系列服务器通过会话类型消息按需准备和发送代码的示例。
{"title":"Linear Contextual Metaprogramming and Session Types","authors":"Pedro Ângelo, Atsushi Igarashi, V. Vasconcelos","doi":"10.4204/EPTCS.401.1","DOIUrl":"https://doi.org/10.4204/EPTCS.401.1","url":null,"abstract":"We explore the integration of metaprogramming in a call-by-value linear lambda-calculus and sketch its extension to a session type system. We build on a model of contextual modal type theory with multi-level contexts, where contextual values, closing arbitrary terms over a series of variables, may then be boxed and transmitted in messages. Once received, one such value may then be unboxed (with a let-box construct) and locally applied before being run. We present a series of examples where servers prepare and ship code on demand via session typed messages.","PeriodicalId":30085,"journal":{"name":"Electronic Proceedings in Theoretical Computer Science","volume":"94 11","pages":""},"PeriodicalIF":0.0,"publicationDate":"2024-04-05","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"140736059","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Behavioural Types for Heterogeneous Systems (Position Paper) 异构系统的行为类型(立场文件)
Q4 Computer Science Pub Date : 2024-04-05 DOI: 10.4204/EPTCS.401.4
Simon Fowler, Philipp Haller, Roland Kuhn, Sam Lindley, A. Scalas, V. Vasconcelos
Behavioural types provide a promising way to achieve lightweight, language-integrated verification for communication-centric software. However, a large barrier to the adoption of behavioural types is that the current state of the art expects software to be written using the same tools and typing discipline throughout a system, and has little support for components over which a developer has no control. This position paper describes the outcomes of a working group discussion at Dagstuhl Seminar 24051 (Next-Generation Protocols for Heterogeneous Systems). We propose a methodology for integrating multiple behaviourally-typed components, written in different languages. Our proposed approach involves an extensible protocol description language, a session IR that can describe data transformations and boundary monitoring and which can be compiled into program-specific session proxies, and finally a session middleware to aid session establishment. We hope that this position paper will stimulate discussion on one of the most pressing challenges facing the widespread adoption of behavioural typing.
行为类型为实现以通信为中心的软件的轻量级、语言集成验证提供了一种可行的方法。然而,采用行为类型的一大障碍是,目前的技术水平希望软件在整个系统中使用相同的工具和类型规范来编写,而对于开发人员无法控制的组件却几乎没有支持。本立场文件介绍了工作组在达格施图尔 24051 研讨会(异构系统的下一代协议)上的讨论成果。我们提出了一种方法,用于集成用不同语言编写的多种行为类型组件。我们提出的方法包括一种可扩展的协议描述语言、一种会话 IR(可描述数据转换和边界监控,并可编译成特定程序的会话代理),以及一种帮助建立会话的会话中间件。我们希望这篇立场文件能激发对广泛采用行为类型所面临的最紧迫挑战之一的讨论。
{"title":"Behavioural Types for Heterogeneous Systems (Position Paper)","authors":"Simon Fowler, Philipp Haller, Roland Kuhn, Sam Lindley, A. Scalas, V. Vasconcelos","doi":"10.4204/EPTCS.401.4","DOIUrl":"https://doi.org/10.4204/EPTCS.401.4","url":null,"abstract":"Behavioural types provide a promising way to achieve lightweight, language-integrated verification for communication-centric software. However, a large barrier to the adoption of behavioural types is that the current state of the art expects software to be written using the same tools and typing discipline throughout a system, and has little support for components over which a developer has no control. This position paper describes the outcomes of a working group discussion at Dagstuhl Seminar 24051 (Next-Generation Protocols for Heterogeneous Systems). We propose a methodology for integrating multiple behaviourally-typed components, written in different languages. Our proposed approach involves an extensible protocol description language, a session IR that can describe data transformations and boundary monitoring and which can be compiled into program-specific session proxies, and finally a session middleware to aid session establishment. We hope that this position paper will stimulate discussion on one of the most pressing challenges facing the widespread adoption of behavioural typing.","PeriodicalId":30085,"journal":{"name":"Electronic Proceedings in Theoretical Computer Science","volume":"76 3","pages":""},"PeriodicalIF":0.0,"publicationDate":"2024-04-05","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"140740759","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Interactive Formal Specification for Mathematical Problems of Engineers 工程师数学问题的交互式形式化规范
Q4 Computer Science Pub Date : 2024-04-04 DOI: 10.4204/EPTCS.400.8
Walther Neuper
The paper presents the second part of a precise description of the prototype that has been developed in the course of the ISAC project over the last two decades. This part describes the"specify-phase", while the first part describing the"solve-phase"is already published. In the specify-phase a student interactively constructs a formal specification. The ISAC prototype implements formal specifications as established in theoretical computer science, however, the input language for the construction avoids requiring users to have knowledge of logic; this makes the system useful for various engineering faculties (and also for high school). The paper discusses not only ISAC's design of the specify-phase in detail, but also gives a brief introduction to implementation with the aim of advertising the re-use of formal frameworks (inclusive respective front-ends) with their generic tools for language definition and their rich pool of software components for formal mathematics.
本文是对 ISAC 项目在过去二十年中开发的原型进行精确描述的第二部分。这一部分描述的是 "指定阶段",而描述 "求解阶段 "的第一部分已经发表。在 "指定阶段",学生以交互方式构建一个正式说明。ISAC 原型实现了理论计算机科学中确立的形式规范,但构建的输入语言不要求用户具备逻辑知识;这使得该系统适用于各种工程系(也适用于高中)。本文不仅详细讨论了 ISAC 的指定阶段设计,还简要介绍了实现方法,目的是宣传形式框架(包括各自的前端)及其通用语言定义工具和丰富的形式数学软件组件库的重复使用。
{"title":"Interactive Formal Specification for Mathematical Problems of Engineers","authors":"Walther Neuper","doi":"10.4204/EPTCS.400.8","DOIUrl":"https://doi.org/10.4204/EPTCS.400.8","url":null,"abstract":"The paper presents the second part of a precise description of the prototype that has been developed in the course of the ISAC project over the last two decades. This part describes the\"specify-phase\", while the first part describing the\"solve-phase\"is already published. In the specify-phase a student interactively constructs a formal specification. The ISAC prototype implements formal specifications as established in theoretical computer science, however, the input language for the construction avoids requiring users to have knowledge of logic; this makes the system useful for various engineering faculties (and also for high school). The paper discusses not only ISAC's design of the specify-phase in detail, but also gives a brief introduction to implementation with the aim of advertising the re-use of formal frameworks (inclusive respective front-ends) with their generic tools for language definition and their rich pool of software components for formal mathematics.","PeriodicalId":30085,"journal":{"name":"Electronic Proceedings in Theoretical Computer Science","volume":"17 3","pages":""},"PeriodicalIF":0.0,"publicationDate":"2024-04-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"140741380","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Proceedings 12th International Workshop on Theorem proving components for Educational software 第 12 届教育软件定理证明组件国际研讨会论文集
Q4 Computer Science Pub Date : 2024-04-04 DOI: 10.4204/eptcs.400.0
Julien Narboux, Walther Neuper, Pedro Quaresma
The ThEdu series pursues the smooth transition from an intuitive way of doing mathematics at secondary school to a more formal approach to the subject in STEM education, while favouring software support for this transition by exploiting the power of theorem-proving technologies. What follows is a brief description of how the present volume contributes to this enterprise. The 12th International Workshop on Theorem Proving Components for Educational Software(ThEdu'23), was a satellite event of the 29th international Conference on Automated Deduction (CADE 2023), July 1-4, 2023, Rome, Italy. ThEdu'23 was very successful, with one invited talk, by Yves Bertot (Inria, France),"The challenges of using Type Theory to teach Mathematics", and seven regular contributions. An open call for papers was then issued, to which eight contributions were submitted. Seven submissions have been accepted by our reviewers, who jointly produced at least three careful reports on each of the contributions. The resulting revised papers are collected in the present volume. We, the volume editors, hope that this collection of papers will further promote the development of theorem-proving based software, and that it will allow to improve the mutual understanding between computer scientists, mathematicians and stakeholders in education. PC Chairs:Julien Narboux (University of Strasbourg, France); Walther Neuper (JKU, Johannes Kepler University, Linz, Austria); Pedro Quaresma (University of Coimbra, Portugal)
ThEdu 系列旨在实现中学数学教学从直观方法到 STEM 教育中更正规方法的平稳过渡,同时利用定理求解技术的强大功能为这一过渡提供软件支持。下面将简要介绍本卷如何为这项事业做出贡献。第12届教育软件定理证明组件国际研讨会(ThEdu'23)是第29届自动演绎国际会议(CADE 2023)的卫星会议,于2023年7月1-4日在意大利罗马举行。ThEdu'23非常成功,Yves Bertot(法国英瑞亚公司)做了题为 "使用类型理论教授数学的挑战 "的特邀演讲,另有七篇常规论文。随后又公开征集论文,共收到 8 篇投稿。我们的审稿人接受了 7 篇投稿,他们共同为每篇投稿撰写了至少三份认真的报告。经过修订的论文收录在本卷中。我们,本卷的编辑,希望这本论文集能进一步促进基于定理证明的软件的发展,并能增进计算机科学家、数学家和教育界相关人士之间的相互理解。PC 主席:Julien Narboux(法国斯特拉斯堡大学);Walther Neuper(奥地利林茨约翰内斯-开普勒大学 JKU);Pedro Quaresma(葡萄牙科英布拉大学)
{"title":"Proceedings 12th International Workshop on Theorem proving components for Educational software","authors":"Julien Narboux, Walther Neuper, Pedro Quaresma","doi":"10.4204/eptcs.400.0","DOIUrl":"https://doi.org/10.4204/eptcs.400.0","url":null,"abstract":"The ThEdu series pursues the smooth transition from an intuitive way of doing mathematics at secondary school to a more formal approach to the subject in STEM education, while favouring software support for this transition by exploiting the power of theorem-proving technologies. What follows is a brief description of how the present volume contributes to this enterprise. The 12th International Workshop on Theorem Proving Components for Educational Software(ThEdu'23), was a satellite event of the 29th international Conference on Automated Deduction (CADE 2023), July 1-4, 2023, Rome, Italy. ThEdu'23 was very successful, with one invited talk, by Yves Bertot (Inria, France),\"The challenges of using Type Theory to teach Mathematics\", and seven regular contributions. An open call for papers was then issued, to which eight contributions were submitted. Seven submissions have been accepted by our reviewers, who jointly produced at least three careful reports on each of the contributions. The resulting revised papers are collected in the present volume. We, the volume editors, hope that this collection of papers will further promote the development of theorem-proving based software, and that it will allow to improve the mutual understanding between computer scientists, mathematicians and stakeholders in education. PC Chairs:Julien Narboux (University of Strasbourg, France); Walther Neuper (JKU, Johannes Kepler University, Linz, Austria); Pedro Quaresma (University of Coimbra, Portugal)","PeriodicalId":30085,"journal":{"name":"Electronic Proceedings in Theoretical Computer Science","volume":"7 5","pages":""},"PeriodicalIF":0.0,"publicationDate":"2024-04-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"140745058","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
A Coq Library of Sets for Teaching Denotational Semantics 用于指称语义学教学的 Coq 集合库
Q4 Computer Science Pub Date : 2024-04-04 DOI: 10.4204/EPTCS.400.6
Qinxiang Cao, Xiwei Wu, Yalun Liang
Sets and relations are very useful concepts for defining denotational semantics. In the Coq proof assistant, curried functions to Prop are used to represent sets and relations, e.g. A ->Prop, A ->B ->Prop, A ->B ->C ->Prop, etc. Further, the membership relation can be encoded by function applications, e.g. X a represents a in X if X: A ->Prop. This is very convenient for developing formal definitions and proofs for professional users, but it makes propositions more difficult to read for non-professional users, e.g. students of a program semantics course. We develop a small Coq library of sets and relations so that standard math notations can be used when teaching denotational semantics of simple imperative languages. This library is developed using Coq's type class system. It brings about zero proof-term overhead comparing with the existing formalization of sets.
集合和关系是定义指称语义非常有用的概念。在 Coq 证明助手中,Prop 的卷曲函数用于表示集合和关系,例如 A ->Prop, A ->B ->Prop, A ->B ->C ->Prop 等。此外,成员关系也可以通过函数应用来编码,例如 X a 表示 X 中的 a,如果 X.A ->Prop:这对于为专业用户开发形式化定义和证明非常方便,但对于非专业用户,如程序语义学课程的学生来说,这使得命题更难阅读。我们开发了一个小型的集合和关系 Coq 库,以便在教授简单命令式语言的指称语义时使用标准数学符号。这个库是使用 Coq 的类型类系统开发的。与现有的集合形式化相比,它的证明期开销为零。
{"title":"A Coq Library of Sets for Teaching Denotational Semantics","authors":"Qinxiang Cao, Xiwei Wu, Yalun Liang","doi":"10.4204/EPTCS.400.6","DOIUrl":"https://doi.org/10.4204/EPTCS.400.6","url":null,"abstract":"Sets and relations are very useful concepts for defining denotational semantics. In the Coq proof assistant, curried functions to Prop are used to represent sets and relations, e.g. A ->Prop, A ->B ->Prop, A ->B ->C ->Prop, etc. Further, the membership relation can be encoded by function applications, e.g. X a represents a in X if X: A ->Prop. This is very convenient for developing formal definitions and proofs for professional users, but it makes propositions more difficult to read for non-professional users, e.g. students of a program semantics course. We develop a small Coq library of sets and relations so that standard math notations can be used when teaching denotational semantics of simple imperative languages. This library is developed using Coq's type class system. It brings about zero proof-term overhead comparing with the existing formalization of sets.","PeriodicalId":30085,"journal":{"name":"Electronic Proceedings in Theoretical Computer Science","volume":"36 7","pages":""},"PeriodicalIF":0.0,"publicationDate":"2024-04-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"140742851","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
The challenges of using Type Theory to teach Mathematics 使用类型理论教授数学所面临的挑战
Q4 Computer Science Pub Date : 2024-04-04 DOI: 10.4204/eptcs.400.1
Yves Bertot
{"title":"The challenges of using Type Theory to teach Mathematics","authors":"Yves Bertot","doi":"10.4204/eptcs.400.1","DOIUrl":"https://doi.org/10.4204/eptcs.400.1","url":null,"abstract":"","PeriodicalId":30085,"journal":{"name":"Electronic Proceedings in Theoretical Computer Science","volume":"6 11","pages":""},"PeriodicalIF":0.0,"publicationDate":"2024-04-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"140745064","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Proceedings 15th Workshop on Programming Language Approaches to Concurrency and Communication-cEntric Software 第 15 届并发和通信功能软件编程语言方法研讨会论文集
Q4 Computer Science Pub Date : 2024-04-04 DOI: 10.4204/eptcs.401.0
Diana Costa, Raymond Hu
This volume contains the proceedings of PLACES 2024, the 15th edition of the Workshop on Programming Language Approaches to Concurrency and Communication-cEntric Software. The PLACES workshop series offers a forum for researchers from different fields to exchange new ideas about the challenges of modern and future programming, where concurrency and distribution are the norm rather than a marginal concern. PLACES 2024 was held on 6 April 2024 in Luxembourg City, Luxembourg. The programme included keynote talks by Mariangiola Dezani-Ciancaglini and Peter M"uller, presentations of five research papers, and three talks about preliminary or already-published work that could foster interesting discussion during the workshop. These proceedings contain the five accepted research papers, the abstracts of the keynote talks, and a list of the other contributions.
本卷收录了 PLACES 2024 的论文集,即第 15 届并发和通信-环境软件编程语言方法研讨会的论文集。PLACES 系列研讨会为来自不同领域的研究人员提供了一个论坛,让他们就现代和未来编程所面临的挑战交流新思路。PLACES 2024于2024年4月6日在卢森堡的卢森堡市举行。会议日程包括 Mariangiola Dezani-Ciancaglini 和 Peter M"uller 的主题演讲、五篇研究论文的介绍,以及三篇关于初步或已发表工作的演讲,这些工作可在研讨会期间促进有趣的讨论。本论文集包含五篇已被录用的研究论文、主题演讲摘要以及其他论文清单。
{"title":"Proceedings 15th Workshop on Programming Language Approaches to Concurrency and Communication-cEntric Software","authors":"Diana Costa, Raymond Hu","doi":"10.4204/eptcs.401.0","DOIUrl":"https://doi.org/10.4204/eptcs.401.0","url":null,"abstract":"This volume contains the proceedings of PLACES 2024, the 15th edition of the Workshop on Programming Language Approaches to Concurrency and Communication-cEntric Software. The PLACES workshop series offers a forum for researchers from different fields to exchange new ideas about the challenges of modern and future programming, where concurrency and distribution are the norm rather than a marginal concern. PLACES 2024 was held on 6 April 2024 in Luxembourg City, Luxembourg. The programme included keynote talks by Mariangiola Dezani-Ciancaglini and Peter M\"uller, presentations of five research papers, and three talks about preliminary or already-published work that could foster interesting discussion during the workshop. These proceedings contain the five accepted research papers, the abstracts of the keynote talks, and a list of the other contributions.","PeriodicalId":30085,"journal":{"name":"Electronic Proceedings in Theoretical Computer Science","volume":"41 3","pages":""},"PeriodicalIF":0.0,"publicationDate":"2024-04-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"140743633","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
WebPie: A Tiny Slice of Dependent Typing WebPie:依赖输入法的小小切片
Q4 Computer Science Pub Date : 2024-04-04 DOI: 10.4204/EPTCS.400.2
Christophe Scholliers
Dependently typed programming languages have become increasingly relevant in recent years. They have been adopted in industrial strength programming languages and have been extremely successful as the basis for theorem provers. There are however, very few entry level introductions to the theory of language constructs for dependently typed languages, and even less sources on didactical implementations. In this paper, we present a small dependently typed programming language called WebPie. The main features of the language are inductive types, recursion and case matching. While none of these features are new, we believe this article can provide a step forward towards the understanding and systematic construction of dependently typed languages for researchers new to dependent types.
近年来,依赖类型编程语言变得越来越重要。它们已被工业编程语言所采用,并作为定理证明器的基础取得了巨大成功。然而,关于依赖类型语言的语言构造理论的入门级介绍很少,关于教学实现的资料就更少了。在本文中,我们介绍了一种名为 WebPie 的小型依赖类型编程语言。该语言的主要特点是归纳类型、递归和大小写匹配。虽然这些特性都不是新的,但我们相信本文可以为初涉依赖类型的研究人员提供一个了解和系统构建依赖类型语言的平台。
{"title":"WebPie: A Tiny Slice of Dependent Typing","authors":"Christophe Scholliers","doi":"10.4204/EPTCS.400.2","DOIUrl":"https://doi.org/10.4204/EPTCS.400.2","url":null,"abstract":"Dependently typed programming languages have become increasingly relevant in recent years. They have been adopted in industrial strength programming languages and have been extremely successful as the basis for theorem provers. There are however, very few entry level introductions to the theory of language constructs for dependently typed languages, and even less sources on didactical implementations. In this paper, we present a small dependently typed programming language called WebPie. The main features of the language are inductive types, recursion and case matching. While none of these features are new, we believe this article can provide a step forward towards the understanding and systematic construction of dependently typed languages for researchers new to dependent types.","PeriodicalId":30085,"journal":{"name":"Electronic Proceedings in Theoretical Computer Science","volume":"19 3","pages":""},"PeriodicalIF":0.0,"publicationDate":"2024-04-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"140742614","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Teaching Higher-Order Logic Using Isabelle 使用伊莎贝尔教授高阶逻辑
Q4 Computer Science Pub Date : 2024-04-04 DOI: 10.4204/EPTCS.400.5
Simon Tobias Lund, Jørgen Villadsen
We present a formalization of higher-order logic in the Isabelle proof assistant, building directly on the foundational framework Isabelle/Pure and developed to be as small and readable as possible. It should therefore serve as a good introduction for someone looking into learning about higher-order logic and proof assistants, without having to study the much more complex Isabelle/HOL with heavier automation. To showcase our development and approach we explain a sample proof, describe the axioms and rules of our higher-order logic, and discuss our experience with teaching the subject in a classroom setting.
我们介绍了 Isabelle 证明助手中的高阶逻辑形式化,它直接建立在基础框架 Isabelle/Pure 的基础上,开发得尽可能小巧、可读性强。因此,它可以作为学习高阶逻辑和证明助手的入门工具,而无需学习更复杂、自动化程度更高的 Isabelle/HOL。为了展示我们的开发和方法,我们解释了一个样本证明,描述了我们的高阶逻辑的公理和规则,并讨论了我们在课堂教学中的经验。
{"title":"Teaching Higher-Order Logic Using Isabelle","authors":"Simon Tobias Lund, Jørgen Villadsen","doi":"10.4204/EPTCS.400.5","DOIUrl":"https://doi.org/10.4204/EPTCS.400.5","url":null,"abstract":"We present a formalization of higher-order logic in the Isabelle proof assistant, building directly on the foundational framework Isabelle/Pure and developed to be as small and readable as possible. It should therefore serve as a good introduction for someone looking into learning about higher-order logic and proof assistants, without having to study the much more complex Isabelle/HOL with heavier automation. To showcase our development and approach we explain a sample proof, describe the axioms and rules of our higher-order logic, and discuss our experience with teaching the subject in a classroom setting.","PeriodicalId":30085,"journal":{"name":"Electronic Proceedings in Theoretical Computer Science","volume":"28 12","pages":""},"PeriodicalIF":0.0,"publicationDate":"2024-04-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"140746158","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Sliced Online Model Checking for Optimizing the Beam Scheduling Problem in Robotic Radiation Therapy 优化机器人放射治疗中光束调度问题的切片在线模型检查
Q4 Computer Science Pub Date : 2024-03-27 DOI: 10.4204/EPTCS.399.9
Lars Beckers, S. Gerlach, Ole Lubke, Alexander Schlaefer, Sibylle Schupp
In robotic radiation therapy, high-energy photon beams from different directions are directed at a target within the patient. Target motion can be tracked by robotic ultrasound and then compensated by synchronous beam motion. However, moving the beams may result in beams passing through the ultrasound transducer or the robot carrying it. While this can be avoided by pausing the beam delivery, the treatment time would increase. Typically, the beams are delivered in an order which minimizes the robot motion and thereby the overall treatment time. However, this order can be changed, i.e., instead of pausing beams, other feasible beam could be delivered. We address this problem of dynamically ordering the beams by applying a model checking paradigm to select feasible beams. Since breathing patterns are complex and change rapidly, any offline model would be too imprecise. Thus, model checking must be conducted online, predicting the patient's current breathing pattern for a short amount of time and checking which beams can be delivered safely. Monitoring the treatment delivery online provides the option to reschedule beams dynamically in order to avoid pausing and hence to reduce treatment time. While human breathing patterns are complex and may change rapidly, we need a model which can be verified quickly and use approximation by a superposition of sine curves. Further, we simplify the 3D breathing motion into separate 1D models. We compensate the simplification by adding noise inside the model itself. In turn, we synchronize between the multiple models representing the different spatial directions, the treatment simulation, and corresponding verification queries. Our preliminary results show a 16.02 % to 37.21 % mean improvement on the idle time compared to a static beam schedule, depending on an additional safety margin. Note that an additional safety margin around the ultrasound robot can decrease idle times but also compromises plan quality by limiting the range of available beam directions. In contrast, the approach using online model checking maintains the plan quality. Further, we compare to a naive machine learning approach that does not achieve its goals while being harder to reason about.
在机器人放射治疗中,来自不同方向的高能光子束被射向患者体内的靶点。机器人超声波可追踪目标运动,然后通过同步光束运动进行补偿。不过,光束移动可能会导致光束穿过超声换能器或携带换能器的机器人。虽然可以通过暂停光束传输来避免这种情况,但治疗时间会增加。通常情况下,光束的传输顺序可以最大限度地减少机器人的运动,从而缩短整体治疗时间。然而,这种顺序是可以改变的,也就是说,可以不暂停光束传输,而是传输其他可行的光束。我们通过应用模型检查范例来选择可行的光束,从而解决了光束动态排序的问题。由于呼吸模式复杂多变,任何离线模型都不够精确。因此,模型检查必须在线进行,在短时间内预测患者当前的呼吸模式,并检查哪些光束可以安全投射。在线监测治疗过程可以动态地重新安排光束,以避免暂停,从而缩短治疗时间。人类的呼吸模式非常复杂且变化迅速,因此我们需要一个可以快速验证的模型,并使用正弦曲线叠加的近似方法。此外,我们还将三维呼吸运动简化为单独的一维模型。我们通过在模型内部添加噪声来补偿简化。反过来,我们在代表不同空间方向的多个模型、治疗模拟和相应的验证查询之间进行同步。我们的初步结果显示,与静态光束计划相比,空闲时间平均缩短了 16.02% 至 37.21%,具体取决于额外的安全系数。需要注意的是,在超声波机器人周围增加安全系数可以减少空闲时间,但同时也会限制可用光束方向的范围,从而影响计划质量。相比之下,使用在线模型检查的方法能保持计划质量。此外,我们还将其与天真的机器学习方法进行了比较,后者无法实现其目标,同时也更难进行推理。
{"title":"Sliced Online Model Checking for Optimizing the Beam Scheduling Problem in Robotic Radiation Therapy","authors":"Lars Beckers, S. Gerlach, Ole Lubke, Alexander Schlaefer, Sibylle Schupp","doi":"10.4204/EPTCS.399.9","DOIUrl":"https://doi.org/10.4204/EPTCS.399.9","url":null,"abstract":"In robotic radiation therapy, high-energy photon beams from different directions are directed at a target within the patient. Target motion can be tracked by robotic ultrasound and then compensated by synchronous beam motion. However, moving the beams may result in beams passing through the ultrasound transducer or the robot carrying it. While this can be avoided by pausing the beam delivery, the treatment time would increase. Typically, the beams are delivered in an order which minimizes the robot motion and thereby the overall treatment time. However, this order can be changed, i.e., instead of pausing beams, other feasible beam could be delivered. We address this problem of dynamically ordering the beams by applying a model checking paradigm to select feasible beams. Since breathing patterns are complex and change rapidly, any offline model would be too imprecise. Thus, model checking must be conducted online, predicting the patient's current breathing pattern for a short amount of time and checking which beams can be delivered safely. Monitoring the treatment delivery online provides the option to reschedule beams dynamically in order to avoid pausing and hence to reduce treatment time. While human breathing patterns are complex and may change rapidly, we need a model which can be verified quickly and use approximation by a superposition of sine curves. Further, we simplify the 3D breathing motion into separate 1D models. We compensate the simplification by adding noise inside the model itself. In turn, we synchronize between the multiple models representing the different spatial directions, the treatment simulation, and corresponding verification queries. Our preliminary results show a 16.02 % to 37.21 % mean improvement on the idle time compared to a static beam schedule, depending on an additional safety margin. Note that an additional safety margin around the ultrasound robot can decrease idle times but also compromises plan quality by limiting the range of available beam directions. In contrast, the approach using online model checking maintains the plan quality. Further, we compare to a naive machine learning approach that does not achieve its goals while being harder to reason about.","PeriodicalId":30085,"journal":{"name":"Electronic Proceedings in Theoretical Computer Science","volume":"17 7","pages":""},"PeriodicalIF":0.0,"publicationDate":"2024-03-27","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"140375734","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
期刊
Electronic Proceedings in Theoretical Computer Science
全部 Acc. Chem. Res. ACS Applied Bio Materials ACS Appl. Electron. Mater. ACS Appl. Energy Mater. ACS Appl. Mater. Interfaces ACS Appl. Nano Mater. ACS Appl. Polym. Mater. ACS BIOMATER-SCI ENG ACS Catal. ACS Cent. Sci. ACS Chem. Biol. ACS Chemical Health & Safety ACS Chem. Neurosci. ACS Comb. Sci. ACS Earth Space Chem. ACS Energy Lett. ACS Infect. Dis. ACS Macro Lett. ACS Mater. Lett. ACS Med. Chem. Lett. ACS Nano ACS Omega ACS Photonics ACS Sens. ACS Sustainable Chem. Eng. ACS Synth. Biol. Anal. Chem. BIOCHEMISTRY-US Bioconjugate Chem. BIOMACROMOLECULES Chem. Res. Toxicol. Chem. Rev. Chem. Mater. CRYST GROWTH DES ENERG FUEL Environ. Sci. Technol. Environ. Sci. Technol. Lett. Eur. J. Inorg. Chem. IND ENG CHEM RES Inorg. Chem. J. Agric. Food. Chem. J. Chem. Eng. Data J. Chem. Educ. J. Chem. Inf. Model. J. Chem. Theory Comput. J. Med. Chem. J. Nat. Prod. J PROTEOME RES J. Am. Chem. Soc. LANGMUIR MACROMOLECULES Mol. Pharmaceutics Nano Lett. Org. Lett. ORG PROCESS RES DEV ORGANOMETALLICS J. Org. Chem. J. Phys. Chem. J. Phys. Chem. A J. Phys. Chem. B J. Phys. Chem. C J. Phys. Chem. Lett. Analyst Anal. Methods Biomater. Sci. Catal. Sci. Technol. Chem. Commun. Chem. Soc. Rev. CHEM EDUC RES PRACT CRYSTENGCOMM Dalton Trans. Energy Environ. Sci. ENVIRON SCI-NANO ENVIRON SCI-PROC IMP ENVIRON SCI-WAT RES Faraday Discuss. Food Funct. Green Chem. Inorg. Chem. Front. Integr. Biol. J. Anal. At. Spectrom. J. Mater. Chem. A J. Mater. Chem. B J. Mater. Chem. C Lab Chip Mater. Chem. Front. Mater. Horiz. MEDCHEMCOMM Metallomics Mol. Biosyst. Mol. Syst. Des. Eng. Nanoscale Nanoscale Horiz. Nat. Prod. Rep. New J. Chem. Org. Biomol. Chem. Org. Chem. Front. PHOTOCH PHOTOBIO SCI PCCP Polym. Chem.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1