We propose a general framework to allow: (a) specifying the operational semantics of a programming language; and (b) stating and proving properties about program correctness. Our framework is based on a many-sorted system of hybrid modal logic, for which we prove completeness results. We believe that our approach to program verification improves over the existing approaches within modal logic as (1) it is based on operational semantics which allows for a more natural description of the execution than Hoare's style weakest precondition used by dynamic logic; (2) being multi-sorted, it allows for a clearer encoding of semantics, with a smaller representational distance to its intended meaning.


翻译:我们提出了一个通用框架,以实现:(a)编程语言操作语义的规范;(b)程序正确性性质的陈述与证明。该框架基于多类混合模态逻辑系统,我们已为其证明了完备性结果。我们认为,我们的程序验证方法相较于模态逻辑领域现有方法有所改进,原因在于:(1)它基于操作语义,能够比动态逻辑使用的霍尔风格最弱前置条件更自然地描述程序执行;(2)作为多类系统,它能更清晰地编码语义,与其预期含义之间的表示距离更小。

0
下载
关闭预览

相关内容

通过逻辑推理赋能大语言模型:综述
专知会员服务
32+阅读 · 2025年2月24日
小型语言模型综述
专知会员服务
53+阅读 · 2024年10月29日
大型语言模型的模型压缩与高效推理:综述
专知会员服务
93+阅读 · 2024年2月17日
【AAAI2024】使用大型语言模型的生成式多模态知识检索
专知会员服务
58+阅读 · 2024年1月19日
专知会员服务
25+阅读 · 2021年6月17日
基于模型的强化学习综述
专知
42+阅读 · 2022年7月13日
语义分割中的深度学习方法全解:从FCN、SegNet到DeepLab
炼数成金订阅号
26+阅读 · 2017年7月10日
MNIST入门:贝叶斯方法
Python程序员
23+阅读 · 2017年7月3日
国家自然科学基金
8+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
Arxiv
0+阅读 · 2025年12月31日
Arxiv
0+阅读 · 2025年12月27日
VIP会员
相关VIP内容
通过逻辑推理赋能大语言模型:综述
专知会员服务
32+阅读 · 2025年2月24日
小型语言模型综述
专知会员服务
53+阅读 · 2024年10月29日
大型语言模型的模型压缩与高效推理:综述
专知会员服务
93+阅读 · 2024年2月17日
【AAAI2024】使用大型语言模型的生成式多模态知识检索
专知会员服务
58+阅读 · 2024年1月19日
专知会员服务
25+阅读 · 2021年6月17日
相关资讯
基于模型的强化学习综述
专知
42+阅读 · 2022年7月13日
语义分割中的深度学习方法全解:从FCN、SegNet到DeepLab
炼数成金订阅号
26+阅读 · 2017年7月10日
MNIST入门:贝叶斯方法
Python程序员
23+阅读 · 2017年7月3日
相关基金
国家自然科学基金
8+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
Top
微信扫码咨询专知VIP会员