On the Semantics of Primary Cause in Hybrid Dynamic Domains

Shakil M. Khan, Asim Mehmood, Sandra Zilles · DOI

TL;DR

This paper provides a formal mathematical framework for identifying the "primary cause" of events in hybrid systems—worlds where change happens both through discrete actions (like flipping a switch) and continuous processes (like a temperature rising). By extending the Situation Calculus, the authors propose two equivalent definitions of causation and introduce a modified "but-for" test that successfully handles the tricky problem of "preempted" causes in continuous domains.

What Problem Does This Paper Address?

In AI and philosophy, "actual causation" is the task of looking at a specific history of events (a scenario) and determining which action actually caused a particular outcome. While this is well-studied for discrete systems (e.g., "Did pressing the button cause the light to turn on?"), the real world is hybrid.

Consider a nuclear power plant: a pipe ruptures (discrete action), causing the core temperature to rise over time (continuous change) until it exceeds a safety threshold (the effect). Standard causal models, like Structural Equation Models (SEM), struggle with variables that change continuously over time or depend on the specific ordering of events.

The challenge is twofold:

  1. Continuous Change: How do you define the "moment" an action causes an effect when the effect is a threshold reached after a period of gradual change?
  2. Preemption: How do you identify a cause if another "backup" action was waiting in the wings to cause the same effect if the first one hadn't? (e.g., if the pipe hadn't ruptured, a cooling system failure would have caused the same overheat anyway).

Methods

The authors build their work on the Hybrid Temporal Situation Calculus (HTSC). This logic-based framework allows for:

  • Discrete Actions: Named events occurring at specific timestamps.
  • Continuous Fluents: Properties (like temperature) that evolve according to "State Evolution Axioms" (SEA).
  • Contexts: Discrete conditions that determine which continuous law is currently active (e.g., "If the cooling system is failed, temperature rises at 100°/sec").

The paper introduces two primary definitions:

  1. Foundational Definition: Identifies the "Achievement Situation"—the earliest point in time where the effect became true and stayed true—and traces it back to the action that enabled the specific continuous "context" leading to that state.
  2. Contribution-based Definition: Focuses on "direct actual contributors," identifying actions that initiated the change.

Crucially, the authors prove these two definitions are equivalent. To validate them, they propose a Modified But-For Test. Unlike the standard test ("If A hadn't happened, would B have happened?"), their version creates a "defused" scenario where the identified cause and any potential preempted backup causes are replaced with "no-op" actions to see if the effect still disappears.

Datasets

As a theoretical paper in formal logic and knowledge representation, this work does not use large-scale empirical datasets. Instead, it uses a running example of a Nuclear Power Plant (NPP) to provide a "Textbook Example Guided Analysis Refinement" (TEGAR). The example includes actions like rup (pipe rupture), csFailure (cooling failure), and mRad (radiation measurement) to test the logic against intuitive causal reasoning.

Key Insights and Ideas

  • The Achievement Situation: The "aha moment" here is that in hybrid systems, you can't just look at the moment an action happens. You must identify the specific situation where the continuous evolution finally pushed the system over the threshold (the achievement situation) and then look backward for the trigger.
  • Equivalence of Perspectives: The fact that a foundational "trigger" definition and a "production/contribution" definition yield the same results suggests a robust underlying semantics for hybrid causation.
  • Solving Preemption via Defusion: In hybrid domains, a backup cause could happen before or after the primary cause. The authors' "defused situation" iteratively removes primary causes until no more exist, providing a clean way to verify causation counterfactually without being tripped up by "backups."

Key Results

  • Formal Equivalence: The authors mathematically prove that their two definitions of primary temporal cause are identical.
  • Uniqueness: They prove that for any given effect in a scenario, the primary cause and the achievement situation are unique.
  • Persistence: They demonstrate that if an action is identified as a cause, it remains the cause even if the scenario continues, provided the effect itself doesn't change.
  • Logical Soundness: The modified but-for test confirms that their identified causes are indeed the ones the system is counterfactually dependent upon, once preempted actions are accounted for.

Limitations and Future Work

  • Compound Effects: The current framework focuses on "primitive" effects (e.g., one specific fluent reaching a value). It does not yet handle compound effects (e.g., "The temperature rose AND the pressure dropped").
  • Indirect Causes: The paper focuses on "primary" (direct) causes. It mentions indirect causes (actions that enabled the primary cause) but does not provide a full formal treatment for them in the hybrid context.
  • Linear Scenarios: The model assumes a linear sequence of actions. Future work could expand this to non-deterministic or multi-agent settings where actions might happen concurrently in more complex ways.

Summary updated

Abstract

Reasoning about actual causes of observed effects is fundamental to the study of rationality. This important problem has been studied since the time of Aristotle, with formal mathematical accounts emerging recently. We live in a world where change due to actions can be both discrete and continuous, that is, hybrid. Yet, despite extensive research on actual causation, only few recent studies looked into causation with continuous change. Building on recent progress, in this paper we propose two definitions of primary cause in a hybrid action-theoretic framework, namely the hybrid temporal situation calculus. One of these is foundational in nature while the other formalizes causation through contributions, which can then be verified from a counterfactual perspective using a modified ``but-for'' test. We prove that these two definitions are indeed equivalent. We then show that our definitions of causation have some intuitively justifiable properties.
BibTeX
@misc{khan2026semantics,
  author = {Shakil M. Khan and Asim Mehmood and Sandra Zilles},
  title = {{On the Semantics of Primary Cause in Hybrid Dynamic Domains}},
  year = {2026},
  eprint = {2602.14994},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2602.14994},
}
Figure