A Two-Valued Logic for Properties of Strict Functional Programs Allowing Partial Functions

被引:1
|
作者
Sabel, David [1 ]
Schmidt-Schauss, Manfred [1 ]
机构
[1] Goethe Univ Frankfurt, Inst Informat, D-60054 Frankfurt, Germany
关键词
Verification; Functional programming; Logics; Semantics; Contextual equivalence; UNDEFINEDNESS; PROOF;
D O I
10.1007/s10817-012-9253-6
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
A typed program logic LMF for recursive specification and verification is presented. It comprises a strict functional programming language with polymorphic and recursively defined partial functions and polymorphic data types. The logic is two-valued with the equality symbol as only predicate. Quantifiers range over the values, which permits inductive proofs of properties. The semantics is based on a contextual (observational) semantics, which gives a consistent presentation of higher-order functions. Our analysis also sheds new light on the the role of partial functions and loose specifications. It is also an analysis of influence of extensions of programs on the tautologies. The main result is that universally quantified equations are conservative, which is also the base for several other conservative classes of formulas.
引用
收藏
页码:383 / 421
页数:39
相关论文
共 50 条
  • [1] A Two-Valued Logic for Properties of Strict Functional Programs Allowing Partial Functions
    David Sabel
    Manfred Schmidt-Schauß
    [J]. Journal of Automated Reasoning, 2013, 50 : 383 - 421
  • [2] SQL Nulls and Two-Valued Logic
    Libkin, Leonid
    Peterfreund, Liat
    [J]. PROCEEDINGS OF THE 42ND ACM SIGMOD-SIGACT-SIGAI SYMPOSIUM ON PRINCIPLES OF DATABASE SYSTEMS, PODS 2023, 2023, : 11 - 20
  • [3] Lossless solving of two-valued propositional logic
    Anhui Province Key Laboratory of Affective Computing and Advanced Intelligent Machine, School of Computer and Information, Hefei University of Technology, Hefei 230009, China
    不详
    [J]. Jisuanji Xuebao, 2013, 5 (1097-1114):
  • [4] Theory of truth degrees of propositions in two-valued logic
    Wang, GJ
    Fu, L
    Song, JS
    [J]. SCIENCE IN CHINA SERIES A-MATHEMATICS, 2002, 45 (09): : 1106 - 1116
  • [5] Theory of truth degrees of propositions in two-valued logic
    Guojun Wang
    Li Fu
    Jianshe Song
    [J]. Science in China Series A: Mathematics, 2002, 45 (9): : 1106 - 1116
  • [6] Theory of truth degrees of propositions in two-valued logic
    王国俊
    傅丽
    宋建社
    [J]. Science China Mathematics, 2002, (09) : 1106 - 1116
  • [7] A New Logic Optimization Algorithm of Multi-valued Logic Function Based on Two-valued Logic
    Qiu, Jianlin
    Li, Fen
    Gu, Xiang
    Chen, Li
    Chen, Yanyun
    [J]. FRONTIERS OF MANUFACTURING AND DESIGN SCIENCE II, PTS 1-6, 2012, 121-126 : 4330 - +
  • [8] The validity degree vectors of formulae in two-valued predicate logic
    Qin, Xiaoyan
    Xu, Yang
    Liu, Yi
    [J]. INTERNATIONAL JOURNAL OF COMPUTATIONAL INTELLIGENCE SYSTEMS, 2015, 8 (05) : 829 - 840
  • [9] The validity degree vectors of formulae in two-valued predicate logic
    Xiaoyan Qin
    Yang Xu
    Yi Liu
    [J]. International Journal of Computational Intelligence Systems, 2015, 8 : 829 - 840