Verifying a Radio Telescope Pipeline Using HaliVer: Solving Nonlinear and Quantifier Challenges

Lars B. van den Haak*, Anton Wijs, Marieke Huisman, Mark van den Brand

*Corresponding author for this work

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

1 Downloads (Pure)

Abstract

This paper describes a case study to verify memory safety of a radio telescope pipeline, which was targeted with the PADRE project of Astron, SURF and the Netherlands eScienceCenter. As performance is important for this application, the implementation of the radio telescope pipeline should run on a GPU device. Therefore, we encoded the radio telescope pipeline using the Halide scheduling language, which achieved a significant speedup. Next, we used the HaliVer tool to automatically generate formal pre- and postconditions, loop invariants and assertions, which the deductive verifier VerCors can use to prove memory safety. We identified two challenges for the automatic generation of formal annotations for a tool such as VerCors. The first challenge was related to the flattening of multi-dimensional arrays to single arrays and the second challenge concerns the use of many arrays in a program in combination with many quantifiers to specify read and write permissions. For both challenges, we propose solutions, and implemented these. Not every solution proved successful. We discuss the lessons learned and future plans to solve a core scalability issue for large optimised parallel programs.

Original languageEnglish
Title of host publicationFormal Methods for Industrial Critical Systems - 29th International Conference, FMICS 2024, Proceedings
EditorsAnne E. Haxthausen, Wendelin Serwe
PublisherSpringer
Pages152-169
Number of pages18
ISBN (Print)9783031681493
DOIs
Publication statusPublished - 21 Aug 2024
Event29th International Conference on Formal Methods for Industrial Critical Systems, FMICS 2024 - Milan, Italy
Duration: 9 Sept 202411 Sept 2024
Conference number: 29
https://fmics.inria.fr/2024/

Publication series

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

Conference

Conference29th International Conference on Formal Methods for Industrial Critical Systems, FMICS 2024
Abbreviated titleFMICS 2024
Country/TerritoryItaly
CityMilan
Period9/09/2411/09/24
Internet address

Keywords

  • 2025 OA procedure
  • Formal Verification
  • Nonlinear Integer Arithmetic
  • Permission Quantifiers
  • Scheduling Language
  • Deductive Verification

Fingerprint

Dive into the research topics of 'Verifying a Radio Telescope Pipeline Using HaliVer: Solving Nonlinear and Quantifier Challenges'. Together they form a unique fingerprint.

Cite this