A Coq Implementation of the Program Algebra in Jifeng He’s New Roadmap for Linking Theories of Programming

  • Rundong Mu
  • , Qin Li*
  • *Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingChapterpeer-review

1 Scopus citations

Abstract

Jifeng He has proposed a roadmap for linking theories of programming and presents an algebra of programs capable of generating both denotational and operational representations from the refinement relation. In this paper, we implement this algebra of programs and its refinement relation using the interactive theorem prover Coq. Encoding the algebra into CIC (Calculus of Inductive Constructions), the main formalism in Coq, facilitates machine-aided interactive proving for the properties of programs using predefined algebraic laws. The implementation of the algebra for finite programs enables us to prove that every finite program can be reduced to the normal form and to check the refinement between two finite programs. The implementation of the algebra for infinite programs supports formalizing recursive programs with one variable and checking the refinement between one finite and one infinite program. Then, we present examples of proving the refinement relationship between two finite programs and a finite program and an infinite program.

Original languageEnglish
Title of host publicationLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
PublisherSpringer Science and Business Media Deutschland GmbH
Pages395-412
Number of pages18
DOIs
StatePublished - 2023

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume14080 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Keywords

  • Coq
  • Program algebra
  • Refinement
  • Unifying theories of programming

Fingerprint

Dive into the research topics of 'A Coq Implementation of the Program Algebra in Jifeng He’s New Roadmap for Linking Theories of Programming'. Together they form a unique fingerprint.

Cite this