Skip to main navigation Skip to search Skip to main content

Multi-perspective Correctness of Programs

  • KTH Royal Institute of Technology

Research output: Conference Article in Proceeding or Book/Report chapterArticle in proceedingsResearchpeer-review

Abstract

Traditionally, programs are formally specified and verified with respect to their computational domain, disregarding the domain in which they are to be applied. This, however, is inadequate for programs that simulate processes in a specific application domain, or programs that generate data that must conform to external, domain-specific specifications. Such programs need also to be correct with respect to their application domain. This work presents a Hoare Logic that manages two different perspectives on a program during a correctness proof: the computational view and the domain view. This enables us to specify the correctness of a program in terms of the domain without referring to the computational details, but at the same time to interpret failed proof attempts in the domain. For domain specification, we illustrate the use of description logics and base our approach on semantic lifting, an approach to interpret a program as a knowledge graph. We present a calculus that uses translations between both kinds of assertions, thus separating the concerns in specification, but enabling the use of description logic in verification.
Original languageEnglish
Title of host publicationTheoretical Aspects of Computing -- ICTAC 2025
EditorsZhiming Liu, Adnane Saoud, Heike Wehrheim
Number of pages18
Volume16237
Place of PublicationCham
PublisherSpringer Nature Switzerland
Publication date23 Nov 2025
Pages69-86
ISBN (Print)978-3-032-11176-0
ISBN (Electronic)978-3-032-11176-0
DOIs
Publication statusPublished - 23 Nov 2025
EventInternational Colloquium on Theoretical Aspects of Computing - Marrakech, Morocco
Duration: 24 Nov 202528 Nov 2025
Conference number: 22
https://ictac.isp.uni-luebeck.de/

Conference

ConferenceInternational Colloquium on Theoretical Aspects of Computing
Number22
Country/TerritoryMorocco
CityMarrakech
Period24/11/202528/11/2025
Internet address
SeriesLecture Notes in Computer Science
Volume16237

Keywords

  • Hoare logic
  • domain-specific specification
  • Description Logics
  • semantic lifting
  • knowledge graph

Fingerprint

Dive into the research topics of 'Multi-perspective Correctness of Programs'. Together they form a unique fingerprint.

Cite this