Self-Formalisation of Higher-Order Logic Semantics, Soundness, and a Verified Implementation

被引:23
作者
Kumar, Ramana [1 ]
Arthan, Rob [2 ]
Myreen, Magnus O. [3 ]
Owens, Scott [4 ]
机构
[1] Univ Cambridge, Comp Lab, Pembroke St, Cambridge CB2 3QG, England
[2] Univ Oxford, Dept Comp Sci, Oxford, England
[3] Chalmers Univ Technol, CSE Dept, S-41296 Gothenburg, Sweden
[4] Univ Kent, Sch Comp, Canterbury CT2 7NZ, Kent, England
基金
英国工程与自然科学研究理事会;
关键词
HOL; Higher-order logic; Verification; Interactive theorem proving; Theorem proving; Consistency; Semantics; Self-formalisation; Self-verification; HOL; VERIFICATION; TRANSLATION;
D O I
10.1007/s10817-015-9357-x
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
We present a mechanised semantics for higher-order logic (HOL), and a proof of soundness for the inference system, including the rules for making definitions, implemented by the kernel of the HOL Light theorem prover. Our work extends Harrison's verification of the inference system without definitions. Soundness of the logic extends to soundness of a theorem prover, because we also show that a synthesised implementation of the kernel in CakeML refines the inference system. Apart from adding support for definitions and synthesising an implementation, we improve on Harrison's work by making our model of HOL parametric on the universe of sets, and we prove soundness for an improved principle of constant specification in the hope of encouraging its adoption. Our semantics supports defined constants directly via a context, and we find this approach cleaner than our previous work formalising Wiedijk's Stateless HOL.
引用
收藏
页码:221 / 259
页数:39
相关论文
共 34 条
[1]  
Anand A., FORMALLY VERIFIED PR, P27
[2]  
Andrews P.B, 2002, INTRO MATH LOGIC TYP, V27
[3]  
[Anonymous], 1940, J. Symb. Log., DOI DOI 10.2307/2266170
[4]  
Arthan R., HOL CONSTANT DEFINIT, P531
[5]  
Arthan Rob, HOL FORMALISED SEMAN
[6]  
Barras B, 2010, J FORMALIZ REASON, V3, P29
[7]  
Bertot Y., SHORT PRESENTATION C, P12
[8]  
Godel K, 1931, MONATSHEFTE MATH PHY, V38, P173, DOI DOI 10.1007/BF01700692
[9]  
Gordon M, 2000, FOUNDAT COMPUT, P169
[10]  
Harrison J, 2006, LECT NOTES ARTIF INT, V4130, P177