Causality & Control Flow

Causality has been the issue of philosophic debate since Hippocrates. It is used in formal verification and testing, e.g., to explain counterexamples or construct fault trees. Recent work defines actual causation in terms of Pearl's causality framework, but most definitions brought forward so...

Full description

Bibliographic Details
Main Authors: Robert Künnemann, Deepak Garg, Michael Backes
Format: Article
Language:English
Published: Open Publishing Association 2019-10-01
Series:Electronic Proceedings in Theoretical Computer Science
Online Access:http://arxiv.org/pdf/1910.14219v1
_version_ 1819002033499275264
author Robert Künnemann
Deepak Garg
Michael Backes
author_facet Robert Künnemann
Deepak Garg
Michael Backes
author_sort Robert Künnemann
collection DOAJ
description Causality has been the issue of philosophic debate since Hippocrates. It is used in formal verification and testing, e.g., to explain counterexamples or construct fault trees. Recent work defines actual causation in terms of Pearl's causality framework, but most definitions brought forward so far struggle with examples where one event preempts another one. A key point to capturing such examples in the context of programs or distributed systems is a sound treatment of control flow. We discuss how causal models should incorporate control flow and discover that much of what Pearl/Halpern's notion of contingencies tries to capture is captured better by an explicit modelling of the control flow in terms of structural equations and an arguably simpler definition. Inspired by causality notions in the security domain, we bring forward a definition of causality that takes these control-variables into account. This definition provides a clear picture of the interaction between control flow and causality and captures these notoriously difficult preemption examples without secondary concepts. We give convincing results on a benchmark of 34 examples from the literature.
first_indexed 2024-12-20T22:58:40Z
format Article
id doaj.art-64488f4f19de4b398fd7722989615e67
institution Directory Open Access Journal
issn 2075-2180
language English
last_indexed 2024-12-20T22:58:40Z
publishDate 2019-10-01
publisher Open Publishing Association
record_format Article
series Electronic Proceedings in Theoretical Computer Science
spelling doaj.art-64488f4f19de4b398fd7722989615e672022-12-21T19:24:03ZengOpen Publishing AssociationElectronic Proceedings in Theoretical Computer Science2075-21802019-10-01308Proc. CREST 2019324610.4204/EPTCS.308.3:2Causality & Control FlowRobert Künnemann0Deepak Garg1Michael Backes2 CISPA Helmholtz Center for Information Security MPI-SWS CISPA Helmholtz Center for Information Security Causality has been the issue of philosophic debate since Hippocrates. It is used in formal verification and testing, e.g., to explain counterexamples or construct fault trees. Recent work defines actual causation in terms of Pearl's causality framework, but most definitions brought forward so far struggle with examples where one event preempts another one. A key point to capturing such examples in the context of programs or distributed systems is a sound treatment of control flow. We discuss how causal models should incorporate control flow and discover that much of what Pearl/Halpern's notion of contingencies tries to capture is captured better by an explicit modelling of the control flow in terms of structural equations and an arguably simpler definition. Inspired by causality notions in the security domain, we bring forward a definition of causality that takes these control-variables into account. This definition provides a clear picture of the interaction between control flow and causality and captures these notoriously difficult preemption examples without secondary concepts. We give convincing results on a benchmark of 34 examples from the literature.http://arxiv.org/pdf/1910.14219v1
spellingShingle Robert Künnemann
Deepak Garg
Michael Backes
Causality & Control Flow
Electronic Proceedings in Theoretical Computer Science
title Causality & Control Flow
title_full Causality & Control Flow
title_fullStr Causality & Control Flow
title_full_unstemmed Causality & Control Flow
title_short Causality & Control Flow
title_sort causality control flow
url http://arxiv.org/pdf/1910.14219v1
work_keys_str_mv AT robertkunnemann causalitycontrolflow
AT deepakgarg causalitycontrolflow
AT michaelbackes causalitycontrolflow