Generating Bijections between HOAS and the Natural Numbers

J. Boyland
{"title":"Generating Bijections between HOAS and the Natural Numbers","authors":"J. Boyland","doi":"10.4204/EPTCS.34.4","DOIUrl":null,"url":null,"abstract":"A provably correct bijection between higher-order abstract syntax (HOAS) and the natural numbers enables one to define a “not equals” relationship between ter ms and also to have an adequate encoding of sets of terms, and maps from one term family to another. Sets and maps are useful in many situations and are preferably provided in a library of some sort. I have released a map and set library for use with Twelf which can be used with any type for which a bijection to the natural numbers exists. Since creating such bijections is tedious and error-prone, I have created a “bijection generator” that generates such bijections automatically together wit h proofs of correctness, all in the context of Twelf.","PeriodicalId":262518,"journal":{"name":"International Workshop on Logical Frameworks and Meta-Languages: Theory and Practice","volume":"28 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2010-09-14","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"International Workshop on Logical Frameworks and Meta-Languages: Theory and Practice","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.4204/EPTCS.34.4","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2

Abstract

A provably correct bijection between higher-order abstract syntax (HOAS) and the natural numbers enables one to define a “not equals” relationship between ter ms and also to have an adequate encoding of sets of terms, and maps from one term family to another. Sets and maps are useful in many situations and are preferably provided in a library of some sort. I have released a map and set library for use with Twelf which can be used with any type for which a bijection to the natural numbers exists. Since creating such bijections is tedious and error-prone, I have created a “bijection generator” that generates such bijections automatically together wit h proofs of correctness, all in the context of Twelf.
在HOAS和自然数之间产生双射
高阶抽象语法(HOAS)和自然数之间可证明正确的双射使人们能够定义两个词之间的“不等于”关系,并且还具有足够的术语集编码,并从一个术语族映射到另一个术语族。集合和映射在许多情况下都很有用,最好在某种类型的库中提供。我已经发布了一个map和set库,用于12,它可以用于任何类型,对于自然数存在双射。由于创建这样的双射很繁琐而且容易出错,所以我创建了一个“双射生成器”,它可以自动生成这样的双射,并提供正确性证明,所有这些都在12的上下文中进行。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信