首页 > 最新文献

International Conference on Formal Structures for Computation and Deduction最新文献

英文 中文
A Lower Bound of the Number of Rewrite Rules Obtained by Homological Methods 用同调方法得到的重写规则数的下界
Pub Date : 2020-02-27 DOI: 10.46298/lmcs-18(3:36)2022
Mirai Ikebuchi
It is well-known that some equational theories such as groups or booleanalgebras can be defined by fewer equational axioms than the original axioms.However, it is not easy to determine if a given set of axioms is the smallestor not. Malbos and Mimram investigated a general method to find a lower boundof the cardinality of the set of equational axioms (or rewrite rules) that isequivalent to a given equational theory (or term rewriting systems), usinghomological algebra. Their method is an analog of Squier's homology theory onstring rewriting systems. In this paper, we develop the homology theory forterm rewriting systems more and provide a better lower bound under a strongernotion of equivalence than their equivalence. The author also implemented aprogram to compute the lower bounds, and experimented with 64 complete TRSs.
众所周知,一些等式理论,如群或布尔代数,可以用比原始公理更少的等式公理来定义。然而,要确定一组公理是否是最小的非公理并不容易。Malbos和Mimram研究了一种通用方法,利用同调代数找到等价于给定方程理论(或项重写系统)的一组方程公理(或重写规则)的基数的下界。他们的方法类似于Squier关于字符串重写系统的同调理论。本文进一步发展了项重写系统的同调理论,并给出了一个比它们的等价更强的等价概念下的下界。作者还编写了一个计算下界的程序,并在64个完整的trs上进行了实验。
{"title":"A Lower Bound of the Number of Rewrite Rules Obtained by Homological Methods","authors":"Mirai Ikebuchi","doi":"10.46298/lmcs-18(3:36)2022","DOIUrl":"https://doi.org/10.46298/lmcs-18(3:36)2022","url":null,"abstract":"It is well-known that some equational theories such as groups or boolean\u0000algebras can be defined by fewer equational axioms than the original axioms.\u0000However, it is not easy to determine if a given set of axioms is the smallest\u0000or not. Malbos and Mimram investigated a general method to find a lower bound\u0000of the cardinality of the set of equational axioms (or rewrite rules) that is\u0000equivalent to a given equational theory (or term rewriting systems), using\u0000homological algebra. Their method is an analog of Squier's homology theory on\u0000string rewriting systems. In this paper, we develop the homology theory for\u0000term rewriting systems more and provide a better lower bound under a stronger\u0000notion of equivalence than their equivalence. The author also implemented a\u0000program to compute the lower bounds, and experimented with 64 complete TRSs.","PeriodicalId":284975,"journal":{"name":"International Conference on Formal Structures for Computation and Deduction","volume":"76 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2020-02-27","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"123823640","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}
引用次数: 3
Symbolic Execution Game Semantics 符号执行博弈语义
Pub Date : 2020-02-21 DOI: 10.4230/LIPIcs.FSCD.2020.27
Yu-Yang Lin, N. Tzevelekos
We present a framework for symbolically executing and model checking higher-order programs with external (open) methods. We focus on the client-library paradigm and in particular we aim to check libraries with respect to any definable client. We combine traditional symbolic execution techniques with operational game semantics to build a symbolic execution semantics that captures arbitrary external behaviour. We prove the symbolic semantics to be sound and complete. This yields a bounded technique by imposing bounds on the depth of recursion and callbacks. We provide an implementation of our technique in the K framework and showcase its performance on a custom benchmark based on higher-order coding errors such as reentrancy bugs.
我们提出了一个用外部(开放)方法符号化执行和模型检查高阶程序的框架。我们关注的是客户端-库范式,特别是针对任何可定义的客户端来检查库。我们将传统的符号执行技术与操作游戏语义结合起来,构建一个符号执行语义来捕获任意的外部行为。我们证明了符号语义是健全的和完备的。通过对递归和回调的深度施加限制,这产生了一种有界技术。我们在K框架中提供了我们的技术的实现,并在基于高阶编码错误(如重入错误)的自定义基准上展示了它的性能。
{"title":"Symbolic Execution Game Semantics","authors":"Yu-Yang Lin, N. Tzevelekos","doi":"10.4230/LIPIcs.FSCD.2020.27","DOIUrl":"https://doi.org/10.4230/LIPIcs.FSCD.2020.27","url":null,"abstract":"We present a framework for symbolically executing and model checking higher-order programs with external (open) methods. We focus on the client-library paradigm and in particular we aim to check libraries with respect to any definable client. We combine traditional symbolic execution techniques with operational game semantics to build a symbolic execution semantics that captures arbitrary external behaviour. We prove the symbolic semantics to be sound and complete. This yields a bounded technique by imposing bounds on the depth of recursion and callbacks. We provide an implementation of our technique in the K framework and showcase its performance on a custom benchmark based on higher-order coding errors such as reentrancy bugs.","PeriodicalId":284975,"journal":{"name":"International Conference on Formal Structures for Computation and Deduction","volume":"25 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2020-02-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"115487085","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}
引用次数: 3
String Diagrams for Optics 光学弦图
Pub Date : 2020-02-01 DOI: 10.4230/LIPIcs.FSCD.2020.17
G. Boisseau
Optics are a data representation for compositional data access, with lenses as a popular special case. Hedges has presented a diagrammatic calculus for lenses, but in a way that does not generalize to other classes of optic. We present a calculus that works for all optics, not just lenses; this is done by embedding optics into their presheaf category, which naturally features string diagrams. We apply our calculus to the common case of lenses, extend it to effectful lenses, and explore how the laws of optics manifest in this setting.
光学是组合数据访问的一种数据表示,透镜是一种流行的特殊情况。赫奇斯提出了透镜的图解演算,但在某种程度上不能推广到其他类型的光学。我们提出的微积分适用于所有光学器件,而不仅仅是透镜;这是通过将光学嵌入到它们的presheaf类别中来实现的,这自然以弦图为特征。我们将微积分应用于透镜的常见情况,并将其扩展到有效透镜,并探索光学定律如何在这种情况下体现出来。
{"title":"String Diagrams for Optics","authors":"G. Boisseau","doi":"10.4230/LIPIcs.FSCD.2020.17","DOIUrl":"https://doi.org/10.4230/LIPIcs.FSCD.2020.17","url":null,"abstract":"Optics are a data representation for compositional data access, with lenses as a popular special case. Hedges has presented a diagrammatic calculus for lenses, but in a way that does not generalize to other classes of optic. We present a calculus that works for all optics, not just lenses; this is done by embedding optics into their presheaf category, which naturally features string diagrams. We apply our calculus to the common case of lenses, extend it to effectful lenses, and explore how the laws of optics manifest in this setting.","PeriodicalId":284975,"journal":{"name":"International Conference on Formal Structures for Computation and Deduction","volume":"39 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2020-02-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"116588654","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}
引用次数: 14
Pointers in Recursion: Exploring the Tropics 递归中的指针:探索热带
Paulin Jacobé de Naurois
We translate the usual class of partial/primitive recursive functions to a pointer recursion framework, accessing actual input values via a pointer reading unit-cost function. These pointer recursive functions classes are proven equivalent to the usual partial/primitive recursive functions. Complexity-wise, this framework captures in a streamlined way most of the relevant sub-polynomial classes. Pointer recursion with the safe/normal tiering discipline of Bellantoni and Cook corresponds to polylogtime computation. We introduce a new, non-size increasing tiering discipline, called tropical tiering. Tropical tiering and pointer recursion, used with some of the most common recursion schemes, capture the classes logspace, logspace/polylogtime, ptime, and NC. Finally, in a fashion reminiscent of the safe recursive functions, tropical tiering is expressed directly in the syntax of the function algebras, yielding the tropical recursive function algebras.
我们将通常的部分/原始递归函数类转换为指针递归框架,通过指针读取单位成本函数访问实际输入值。这些指针递归函数类已被证明等同于通常的部分/基本递归函数。在复杂性方面,这个框架以一种流线型的方式捕获了大多数相关的次多项式类。指针递归与Bellantoni和Cook的安全/正常分层原则对应于多对数时间计算。我们引入了一种新的,不增加尺寸的分层原则,称为热带分层。热带分层和指针递归与一些最常见的递归方案一起使用,它们捕获logspace、logspace/polylogtime、ptime和NC类。最后,以一种类似于安全递归函数的方式,热带分层直接用函数代数的语法表示,从而产生热带递归函数代数。
{"title":"Pointers in Recursion: Exploring the Tropics","authors":"Paulin Jacobé de Naurois","doi":"10.4204/EPTCS.298.3","DOIUrl":"https://doi.org/10.4204/EPTCS.298.3","url":null,"abstract":"We translate the usual class of partial/primitive recursive functions to a pointer recursion framework, accessing actual input values via a pointer reading unit-cost function. These pointer recursive functions classes are proven equivalent to the usual partial/primitive recursive functions. Complexity-wise, this framework captures in a streamlined way most of the relevant sub-polynomial classes. Pointer recursion with the safe/normal tiering discipline of Bellantoni and Cook corresponds to polylogtime computation. We introduce a new, non-size increasing tiering discipline, called tropical tiering. Tropical tiering and pointer recursion, used with some of the most common recursion schemes, capture the classes logspace, logspace/polylogtime, ptime, and NC. Finally, in a fashion reminiscent of the safe recursive functions, tropical tiering is expressed directly in the syntax of the function algebras, yielding the tropical recursive function algebras.","PeriodicalId":284975,"journal":{"name":"International Conference on Formal Structures for Computation and Deduction","volume":"7 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2019-08-14","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"116769959","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}
引用次数: 4
Dependency Pairs Termination in Dependent Type Theory Modulo Rewriting 依赖类型论模重写中的依赖对终止
Pub Date : 2019-06-24 DOI: 10.4230/LIPIcs.FSCD.2019.9
F. Blanqui, G. Genestier, O. Hermant
Dependency pairs are a key concept at the core of modern automated termination provers for first-order term rewriting systems. In this paper, we introduce an extension of this technique for a large class of dependently-typed higher-order rewriting systems. This extends previous resultsby Wahlstedt on the one hand and the first author on the other hand to strong normalization and non-orthogonal rewriting systems. This new criterion is implemented in the type-checker Dedukti.
依赖对是现代一阶项重写系统自动终止证明器的核心概念。在本文中,我们将该技术扩展到一类大的依赖类型高阶重写系统。这将Wahlstedt和第一作者之前的结果推广到强归一化和非正交重写系统。这个新标准在类型检查器Dedukti中实现。
{"title":"Dependency Pairs Termination in Dependent Type Theory Modulo Rewriting","authors":"F. Blanqui, G. Genestier, O. Hermant","doi":"10.4230/LIPIcs.FSCD.2019.9","DOIUrl":"https://doi.org/10.4230/LIPIcs.FSCD.2019.9","url":null,"abstract":"Dependency pairs are a key concept at the core of modern automated termination provers for first-order term rewriting systems. In this paper, we introduce an extension of this technique for a large class of dependently-typed higher-order rewriting systems. This extends previous resultsby Wahlstedt on the one hand and the first author on the other hand to strong normalization and non-orthogonal rewriting systems. This new criterion is implemented in the type-checker Dedukti.","PeriodicalId":284975,"journal":{"name":"International Conference on Formal Structures for Computation and Deduction","volume":"23 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2019-06-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"122945483","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}
引用次数: 12
Probabilistic Rewriting: Normalization, Termination, and Unique Normal Forms 概率重写:归一化、终止和唯一范式
Pub Date : 2019-06-24 DOI: 10.4230/LIPIcs.FSCD.2019.19
C. Faggian
While a mature body of work supports the study of rewriting systems, even infinitary ones, abstract tools for Probabilistic Rewriting are still limited. Here, we investigate questions such as uniqueness of the result (unique limit distribution) and normalizing strategies (is there a strategy to find a result with *greatest probability* ?). The goal is to have tools to analyze the operational properties of probabilistic calculi such as probabilistic lambda-calculi, whose evaluation is also non-deterministic, where non-determinism arises from a choice between several redexes. We investigate how the asymptotic behavior of different rewrite sequences starting from the same term compare w.r.t. normal forms, propose a robust analogue of the notion of "unique normal form", and we develop methods to study and compare strategies. Our approach is that of Abstract Rewrite Systems, i.e. we search for general properties of probabilistic rewriting, which hold independently of the specific nature of the objects.
虽然一个成熟的工作体支持重写系统的研究,甚至是无限的,抽象的工具的概率重写仍然有限。在这里,我们研究了诸如结果的唯一性(唯一极限分布)和规范化策略(是否存在找到*最大概率*的结果的策略?)等问题。目标是有工具来分析概率演算的操作特性,例如概率λ演算,它的求值也是不确定的,其中不确定性来自于在几个索引之间的选择。我们研究了从同一项开始的不同重写序列的渐近行为如何比较w.r.t.范式,提出了“唯一范式”概念的鲁棒模拟,并开发了研究和比较策略的方法。我们的方法是抽象重写系统,即我们寻找概率重写的一般性质,它独立于对象的特定性质。
{"title":"Probabilistic Rewriting: Normalization, Termination, and Unique Normal Forms","authors":"C. Faggian","doi":"10.4230/LIPIcs.FSCD.2019.19","DOIUrl":"https://doi.org/10.4230/LIPIcs.FSCD.2019.19","url":null,"abstract":"While a mature body of work supports the study of rewriting systems, even infinitary ones, abstract tools for Probabilistic Rewriting are still limited. Here, we investigate questions such as uniqueness of the result (unique limit distribution) and normalizing strategies (is there a strategy to find a result with *greatest probability* ?). The goal is to have tools to analyze the operational properties of probabilistic calculi such as probabilistic lambda-calculi, whose evaluation is also non-deterministic, where non-determinism arises from a choice between several redexes. \u0000We investigate how the asymptotic behavior of different rewrite sequences starting from the same term compare w.r.t. normal forms, propose a robust analogue of the notion of \"unique normal form\", and we develop methods to study and compare strategies. Our approach is that of Abstract Rewrite Systems, i.e. we search for general properties of probabilistic rewriting, which hold independently of the specific nature of the objects.","PeriodicalId":284975,"journal":{"name":"International Conference on Formal Structures for Computation and Deduction","volume":"30 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2019-06-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"127725090","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}
引用次数: 10
Proof Nets for First-Order Additive Linear Logic 一阶可加线性逻辑的证明网
Pub Date : 2019-06-18 DOI: 10.4230/LIPICS.FSCD.2019.22
W. Heijltjes, Dominic J. D. Hughes, Lutz Straßburger
We present canonical proof nets for first-order additive linear logic, the fragment of linear logic with sum, product, and first-order universal and existential quantification. We present two versions of our proof nets. One, witness nets, retains explicit witnessing information to existential quantification. For the other, unification nets, this information is absent but can be reconstructed through unification. Unification nets embody a central contribution of the paper: first-order witness information can be left implicit, and reconstructed as needed. Witness nets are canonical for first-order additive sequent calculus. Unification nets in addition factor out any inessential choice for existential witnesses. Both notions of proof net are defined through coalescence, an additive counterpart to multiplicative contractibility, and for witness nets an additional geometric correctness criterion is provided. Both capture sequent calculus cut-elimination as a one-step global composition operation.
我们给出了一阶可加线性逻辑、线性逻辑片段的和、积、一阶全称和存在量化的标准证明网。我们提出了两个版本的证明网。一种是目击者网,它保留了明确的目击信息以实现存在的量化。对于另一种统一网络,这种信息是缺失的,但可以通过统一来重建。统一网络体现了本文的核心贡献:一阶证人信息可以保留隐式,并根据需要重建。见证网是一阶加性序演算的典型。此外,统一网排除了存在主义证人的任何不必要的选择。证明网的两个概念都是通过合并来定义的,这是乘法可缩性的加法对应,并且为见证网提供了一个额外的几何正确性准则。两者都将演算切割消除捕获为一步全局组合操作。
{"title":"Proof Nets for First-Order Additive Linear Logic","authors":"W. Heijltjes, Dominic J. D. Hughes, Lutz Straßburger","doi":"10.4230/LIPICS.FSCD.2019.22","DOIUrl":"https://doi.org/10.4230/LIPICS.FSCD.2019.22","url":null,"abstract":"We present canonical proof nets for first-order additive linear logic, the fragment of linear logic with sum, product, and first-order universal and existential quantification. \u0000 \u0000We present two versions of our proof nets. One, witness nets, retains explicit witnessing information to existential quantification. For the other, unification nets, this information is absent but can be reconstructed through unification. Unification nets embody a central contribution of the paper: first-order witness information can be left implicit, and reconstructed as needed. \u0000 \u0000Witness nets are canonical for first-order additive sequent calculus. Unification nets in addition factor out any inessential choice for existential witnesses. Both notions of proof net are defined through coalescence, an additive counterpart to multiplicative contractibility, and for witness nets an additional geometric correctness criterion is provided. \u0000 \u0000Both capture sequent calculus cut-elimination as a one-step global composition operation.","PeriodicalId":284975,"journal":{"name":"International Conference on Formal Structures for Computation and Deduction","volume":"73 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2019-06-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"125309636","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}
引用次数: 3
On the Taylor Expansion of Probabilistic lambda-terms 关于概率项的泰勒展开式
Pub Date : 2019-04-21 DOI: 10.4230/LIPIcs.FSCD.2019.13
Ugo Dal Lago, Thomas Leventis
We generalise Ehrhard and Regnier’s Taylor expansion from pure to probabilistic λ -terms through notions of probabilistic resource terms and explicit Taylor expansion. We prove that the Taylor expansion is adequate when seen as a way to give semantics to probabilistic λ terms, and that there is a precise correspondence with probabilistic Böhm trees, as introduced by the second author.
我们通过概率资源项和显式泰勒展开式的概念,将Ehrhard和Regnier的泰勒展开式从纯λ项推广到概率λ项。我们证明了泰勒展开式是充分的,当被视为一种给概率λ项提供语义的方式时,并且与第二作者介绍的概率Böhm树有精确的对应关系。
{"title":"On the Taylor Expansion of Probabilistic lambda-terms","authors":"Ugo Dal Lago, Thomas Leventis","doi":"10.4230/LIPIcs.FSCD.2019.13","DOIUrl":"https://doi.org/10.4230/LIPIcs.FSCD.2019.13","url":null,"abstract":"We generalise Ehrhard and Regnier’s Taylor expansion from pure to probabilistic λ -terms through notions of probabilistic resource terms and explicit Taylor expansion. We prove that the Taylor expansion is adequate when seen as a way to give semantics to probabilistic λ terms, and that there is a precise correspondence with probabilistic Böhm trees, as introduced by the second author.","PeriodicalId":284975,"journal":{"name":"International Conference on Formal Structures for Computation and Deduction","volume":"36 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2019-04-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"133927991","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}
引用次数: 5
Cubical Syntax for Reflection-Free Extensional Equality 无反射扩展等式的三次语法
Pub Date : 2019-04-18 DOI: 10.4230/LIPIcs.FSCD.2019.31
Jonathan Sterling, C. Angiuli, Daniel Gratzer
We contribute XTT, a cubical reconstruction of Observational Type Theory which extends Martin-Lof's intensional type theory with a dependent equality type that enjoys function extensionality and a judgmental version of the unicity of identity types principle (UIP): any two elements of the same equality type are judgmentally equal. Moreover, we conjecture that the typing relation can be decided in a practical way. In this paper, we establish an algebraic canonicity theorem using a novel cubical extension (independently proposed by Awodey) of the logical families or categorical gluing argument inspired by Coquand and Shulman: every closed element of boolean type is derivably equal to either 'true' or 'false'.
我们贡献了XTT,一个观测类型理论的立方体重构,它扩展了Martin-Lof的内蕴类型理论,具有函数外延性的依赖相等类型和一个判断版本的单位类型唯一性原则(UIP):任何两个相同相等类型的元素都是判断相等的。此外,我们推测,可以用一种实用的方法确定类型关系。本文利用Coquand和Shulman启发的逻辑族或范畴粘接论证的一个新的三次推广(Awodey独立提出),建立了一个代数正则性定理:布尔型的每一个闭元素都可导等于“真”或“假”。
{"title":"Cubical Syntax for Reflection-Free Extensional Equality","authors":"Jonathan Sterling, C. Angiuli, Daniel Gratzer","doi":"10.4230/LIPIcs.FSCD.2019.31","DOIUrl":"https://doi.org/10.4230/LIPIcs.FSCD.2019.31","url":null,"abstract":"We contribute XTT, a cubical reconstruction of Observational Type Theory which extends Martin-Lof's intensional type theory with a dependent equality type that enjoys function extensionality and a judgmental version of the unicity of identity types principle (UIP): any two elements of the same equality type are judgmentally equal. Moreover, we conjecture that the typing relation can be decided in a practical way. In this paper, we establish an algebraic canonicity theorem using a novel cubical extension (independently proposed by Awodey) of the logical families or categorical gluing argument inspired by Coquand and Shulman: every closed element of boolean type is derivably equal to either 'true' or 'false'.","PeriodicalId":284975,"journal":{"name":"International Conference on Formal Structures for Computation and Deduction","volume":"1 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2019-04-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"116250125","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}
引用次数: 18
Modular specification of monads through higher-order presentations 通过高阶表示对单子进行模块化规范
Pub Date : 2019-03-03 DOI: 10.4230/LIPIcs.FSCD.2019.6
B. Ahrens, A. Hirschowitz, Ambroise Lafont, M. Maggesi
In their work on second-order equational logic, Fiore and Hur have studied presentations of simply typed languages by generating binding constructions and equations among them. To each pair consisting of a binding signature and a set of equations, they associate a category of "models", and they give a monadicity result which implies that this category has an initial object, which is the language presented by the pair. In the present work, we propose, for the untyped setting, a variant of their approach where monads and modules over them are the central notions. More precisely, we study, for monads over sets, presentations by generating ("higher-order") operations and equations among them. We consider a notion of 2-signature which allows to specify a monad with a family of binding operations subject to a family of equations, as is the case for the paradigmatic example of the lambda calculus, specified by its two standard constructions (application and abstraction) subject to beta- and eta-equalities. Such a 2-signature is hence a pair (Sigma,E) of a binding signature Sigma and a family E of equations for Sigma. This notion of 2-signature has been introduced earlier by Ahrens in a slightly different context. We associate, to each 2-signature (Sigma,E), a category of "models of (Sigma,E)"; and we say that a 2-signature is "effective" if this category has an initial object; the monad underlying this (essentially unique) object is the "monad specified by the 2-signature". Not every 2-signature is effective; we identify a class of 2-signatures, which we call "algebraic", that are effective. Importantly, our 2-signatures together with their models enjoy "modularity": when we glue (algebraic) 2-signatures together, their initial models are glued accordingly. We provide a computer formalization for our main results.
在二阶方程逻辑的工作中,Fiore和Hur通过生成绑定结构和它们之间的方程来研究简单类型语言的表示。对于由绑定签名和一组方程组成的每一对,他们将一个“模型”类别关联起来,并给出一个单一性结果,该结果表明该类别具有一个初始对象,即这对所呈现的语言。在目前的工作中,我们建议,对于非类型设置,他们的方法的一种变体,其中单体和模块在它们之上是中心概念。更准确地说,我们通过生成(“高阶”)运算和其中的方程来研究集合上的单子的表示。我们考虑了一个2-签名的概念,它允许指定具有一系列约束操作的单子,这些操作服从于一系列方程,就像lambda演算的范例一样,由其两个标准结构(应用和抽象)指定,服从于beta和eta等式。因此,这样的双签名是一对(Sigma,E)绑定签名Sigma和Sigma的方程组E族。之前,Ahrens在一个稍微不同的环境中引入了双签名的概念。我们将每个2签名(Sigma,E)与一类“(Sigma,E)模型”联系起来;我们说一个双签名是“有效的”如果这个类别有一个初始对象;这个(本质上唯一的)对象的单子是“由2签名指定的单子”。不是每个双签名都有效;我们确定了一类有效的2-签名,我们称之为“代数”。重要的是,我们的2-签名及其模型享有“模块化”:当我们将(代数)2-签名粘合在一起时,它们的初始模型也相应地粘合在一起。我们为我们的主要结果提供了一个计算机形式化。
{"title":"Modular specification of monads through higher-order presentations","authors":"B. Ahrens, A. Hirschowitz, Ambroise Lafont, M. Maggesi","doi":"10.4230/LIPIcs.FSCD.2019.6","DOIUrl":"https://doi.org/10.4230/LIPIcs.FSCD.2019.6","url":null,"abstract":"In their work on second-order equational logic, Fiore and Hur have studied presentations of simply typed languages by generating binding constructions and equations among them. To each pair consisting of a binding signature and a set of equations, they associate a category of \"models\", and they give a monadicity result which implies that this category has an initial object, which is the language presented by the pair. \u0000In the present work, we propose, for the untyped setting, a variant of their approach where monads and modules over them are the central notions. More precisely, we study, for monads over sets, presentations by generating (\"higher-order\") operations and equations among them. We consider a notion of 2-signature which allows to specify a monad with a family of binding operations subject to a family of equations, as is the case for the paradigmatic example of the lambda calculus, specified by its two standard constructions (application and abstraction) subject to beta- and eta-equalities. Such a 2-signature is hence a pair (Sigma,E) of a binding signature Sigma and a family E of equations for Sigma. This notion of 2-signature has been introduced earlier by Ahrens in a slightly different context. \u0000We associate, to each 2-signature (Sigma,E), a category of \"models of (Sigma,E)\"; and we say that a 2-signature is \"effective\" if this category has an initial object; the monad underlying this (essentially unique) object is the \"monad specified by the 2-signature\". Not every 2-signature is effective; we identify a class of 2-signatures, which we call \"algebraic\", that are effective. \u0000Importantly, our 2-signatures together with their models enjoy \"modularity\": when we glue (algebraic) 2-signatures together, their initial models are glued accordingly. \u0000We provide a computer formalization for our main results.","PeriodicalId":284975,"journal":{"name":"International Conference on Formal Structures for Computation and Deduction","volume":"23 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2019-03-03","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"125374576","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}
引用次数: 10
期刊
International Conference on Formal Structures for Computation and Deduction
全部 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学术文献互助群
群 号:604180095
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1