Proving syntactic properties of exceptions in an ordered logical framework

被引:0
|
作者
Polakow, J [1 ]
Yi, K
机构
[1] Carnegie Mellon Univ, Dept Comp Sci, Pittsburgh, PA 15213 USA
[2] Korea Adv Inst Sci & Technol, Dept Comp Sci, ROPAS, Taejon, South Korea
关键词
D O I
暂无
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We formally prove the stackability and linearity of exception handlers with ML-style semantics using a novel proof technique via an ordered logical framework (OLF). We first transform exceptions into continuation-passing-style (CPS) terms and formalize the exception properties as a judgement on the CPS terms. Then, rather than directly proving that the properties hold for terms, we prove our theorem for the representations of the CPS terms and transform in OLF. We rely upon the correctness of our representations to transfer the results back to the actual CPS terms and transform. Our work can be seen as two-fold: we present a theoretical justification of using the stack mechanism to implement exceptions of ML-like semantics; and we demonstrate the value of an ordered logical framework as a conceptual tool in the theoretical study of programming languages.
引用
收藏
页码:61 / 77
页数:17
相关论文
共 50 条
  • [1] Logical errors on proving theorem
    Sari, C. K.
    Waluyo, M.
    Ainur, C. M.
    Darmaningsih, E. N.
    [J]. 1ST INTERNATIONAL CONFERENCE OF EDUCATION ON SCIENCES, TECHNOLOGY, ENGINEERING, AND MATHEMATICS (ICE-STEM), 2018, 948
  • [2] Syntactic awareness in logical dynamics
    Grossi, Davide
    Velazquez-Quesada, Fernando R.
    [J]. SYNTHESE, 2015, 192 (12) : 4071 - 4105
  • [3] Syntactic awareness in logical dynamics
    Davide Grossi
    Fernando R. Velázquez-Quesada
    [J]. Synthese, 2015, 192 : 4071 - 4105
  • [4] A logical framework to prove properties of ALPHA programs
    Bouge, L
    Cachera, D
    [J]. IEEE INTERNATIONAL CONFERENCE ON APPLICATION-SPECIFIC SYSTEMS, ARCHITECTURES AND PROCESSORS, PROCEEDINGS, 1997, : 187 - 198
  • [5] 2 CASES OF ISOELECTRIC EEGS (APPARENT EXCEPTIONS PROVING THE RULE)
    VISSER, SL
    [J]. ELECTROENCEPHALOGRAPHY AND CLINICAL NEUROPHYSIOLOGY, 1969, 27 (02): : 215 - &
  • [6] THE DEBATE ON THE LOGICAL NATURE OF SYNTACTIC CONNECTIONS
    GOBBER, G
    [J]. RIVISTA DI FILOSOFIA NEO-SCOLASTICA, 1986, 78 (01) : 34 - 71
  • [7] LOGICAL, SYNTACTIC, AND MORPHOLOGICAL NOTIONS OF SUBJECT
    HSIEH, H
    [J]. LINGUA, 1979, 48 (04) : 329 - 353
  • [8] STUDENTS' LOGICAL STRUCTURE FROM EXPLORING TO PROVING
    Tang, Shu-Jyh
    Hsieh, Chia-Jui
    Hsieh, Feng-Jui
    [J]. PROCEEDINGS OF THE 36TH CONFERENCE OF THE INTERNATIONAL GROUP FOR PSYCHOLOGY OF MATHEMATICS EDUCATION, VOL. 4: OPPORTUNITIES TO LEARN IN MATHEMATICS EDUCATION, 2012, : 324 - 324
  • [9] Resolution theorem proving: A logical point of view
    Leitsch, A
    [J]. LOGIC COLLOQUIM 01, PROCEEDINGS, 2005, 20 : 3 - 42
  • [10] METHODS FOR PROVING COMPLETENESS VIA LOGICAL REDUCTIONS
    STEWART, IA
    [J]. THEORETICAL COMPUTER SCIENCE, 1993, 118 (02) : 193 - 229