Encoding Induction Proof in Dafny

  • Hongjian Jiang
  • , Yongjian Li
  • , Sijun Tan
  • , Yongxin Zhao*
  • *Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Formal verification plays an important role in proving the correctness of safety-critical systems such as cache coherence protocols and security protocols. However, it usually involves rather complicated proofs which demand profound techniques in theorem proving. These techniques are too hard for those programmers with no experience in formal verification to grasp. The induction proof is a good way to reason about the properties of systems. Our work proposes a feasible approach to encode induction proof in Dafny which helps programmers to verify the systems. First, we revisit induction proof and proof dependency. Then, we decompose the complicated proof obligation into induction proof and encode the proof dependency into Dafny. Finally, we present case studies in cache coherence protocols, loop invariants and security protocols to illustrate our approach.

Original languageEnglish
Title of host publicationProceedings - 2021 International Symposium on Theoretical Aspects of Software Engineering, TASE 2021
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages95-102
Number of pages8
ISBN (Electronic)9781665441636
DOIs
StatePublished - Aug 2021
Event15th International Symposium on Theoretical Aspects of Software Engineering, TASE 2021 - Shanghai, China
Duration: 25 Aug 202127 Aug 2021

Publication series

NameProceedings - 2021 International Symposium on Theoretical Aspects of Software Engineering, TASE 2021

Conference

Conference15th International Symposium on Theoretical Aspects of Software Engineering, TASE 2021
Country/TerritoryChina
CityShanghai
Period25/08/2127/08/21

Keywords

  • Dafny
  • Invariant
  • Proof Dependency
  • Security
  • Theorem Proving
  • loop invariants

Fingerprint

Dive into the research topics of 'Encoding Induction Proof in Dafny'. Together they form a unique fingerprint.

Cite this