A case study in programming coinductive proofs: Howe's method

被引:3
|
作者
Momigliano, Alberto [1 ]
Pientka, Brigitte [2 ]
Thibodeau, David [2 ]
机构
[1] Univ Milan, Dipartimento Informat, Milan, Italy
[2] McGill Univ, Sch Comp Sci, Montreal, PQ, Canada
关键词
SYNTACTIC LOGICAL RELATIONS; SYSTEM; TERMINATION; FRAMEWORK;
D O I
10.1017/S0960129518000415
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Bisimulation proofs play a central role in programming languages in establishing rich properties such as contextual equivalence. They are also challenging to mechanize, since they require a combination of inductive and coinductive reasoning on open terms. In this paper, we describe mechanizing the property that similarity in the call-by-name lambda calculus is a pre-congruence using Howe's method in the Beluga formal reasoning system. The development relies on three key ingredients: (1) we give a higher order abstract syntax (HOAS) encoding of lambda terms together with their operational semantics as intrinsically typed terms, thereby avoiding not only the need to deal with binders, renaming and substitutions, but keeping all typing invariants implicit; (2) we take advantage of Beluga's support for representing open terms using built-in contexts and simultaneous substitutions: this allows us to directly state central definitions such as open simulation without resorting to the usual inductive closure operation and to encode very elegantly notoriously painful proofs such as the substitutivity of the Howe relation; (3) we exploit the possibility of reasoning by coinduction in Beluga's reasoning logic. The end result is succinct and elegant, thanks to the high-level abstractions and primitives Beluga provides. We believe that this mechanization is a significant example that illustrates Beluga's strength at mechanizing challenging (co)inductive proofs using HOAS encodings.
引用
收藏
页码:1309 / 1343
页数:35
相关论文
共 50 条
  • [41] OPTIMIZING DBS-PROGRAMMING: A CASE STUDY WITH ALGORITHMGUIDED STRATEGIES IN PARKINSON'S DISEASE
    Ballesteros, V. Torres
    Shivacharan, R.
    Moore, L.
    Jagid, J.
    Luca, C.
    PARKINSONISM & RELATED DISORDERS, 2024, 122
  • [42] Symbolic association networks: A case study of orchestral programming's effect on the reputation of composers
    Braden, L. E. A.
    Park, Ju Hyun
    Lee, Jay
    SOCIAL NETWORKS, 2024, 79 : 198 - 208
  • [43] Parallel programming with VPE: A case study of an integrated visual programming environment
    Turner, SJ
    Cai, WT
    Tan, HK
    HIGH PERFORMANCE COMPUTING ON THE INFORMATION SUPERHIGHWAY - HPC ASIA '97, PROCEEDINGS, 1997, : 319 - 324
  • [44] INTEGER PROGRAMMING VERSUS CONSTRAINT PROGRAMMING: A COURSE TIMETABLING CASE STUDY
    Gulcu, Ayla
    Bulkan, Serol
    INTERNATIONAL JOURNAL OF INDUSTRIAL ENGINEERING-THEORY APPLICATIONS AND PRACTICE, 2019, 26 (03): : 301 - 316
  • [45] Surgical Operation Scheduling with Goal Programming and Constraint Programming: A Case Study
    Gur, Seyda
    Eren, Tamer
    Alakas, Haci Mehmet
    MATHEMATICS, 2019, 7 (03):
  • [46] USING MODULAR PROGRAMMING STRATEGY TO PRACTICE COMPUTER PROGRAMMING: A CASE STUDY
    Sun, Wangping
    Wang, Xin
    Sun, Xian
    2012 ASEE ANNUAL CONFERENCE, 2012,
  • [47] Parallel programming with VPE: A case study of an integrated visual programming environment
    Univ of Exeter, Exeter, United Kingdom
    Proc Conf High Perform Comput Inf Superhighway HPC Asia, (319-324):
  • [48] SOME DIFFICULTIES IN APPLYING INTERACTIVE COMPROMISE PROGRAMMING ILLUSTRATED BY A RECENT METHOD AND A CASE-STUDY
    SARMA, GV
    MEROUANI, HF
    JOURNAL OF THE OPERATIONAL RESEARCH SOCIETY, 1995, 46 (01) : 9 - 19
  • [49] A reducibility method for the weak linear bilevel programming problems and a case study in principal-agent
    Zheng, Yue
    Zhang, Guangquan
    Zhang, Zhen
    Lu, Jie
    INFORMATION SCIENCES, 2018, 454 : 46 - 58
  • [50] Improving quality control through chance constrained programming: A case study using Bailey method
    Swamy A.K.
    Sandhu K.K.
    Foxlow J.
    Swamy, Aravind Krishna (akswamy@civil.iitd.ac.in), 2018, Elsevier B.V., Singapore (11) : 128 - 137