Introduction
In his foundational 1989 paper, Erik Sandewall addresses a critical gap in Knowledge Representation and Reasoning: the intersection of formal logic and the continuous physics of the real world. While classical AI planning often treats the world as a sequence of discrete states, real-world parameters like velocity and temperature evolve continuously. Sandewall introduces Filter Preferential Entailment to reason about actions in "almost continuous" environments, where smooth physical laws are punctuated by discrete events or discontinuities.
The Challenge of Continuous Physics
The core difficulty lies in "preferential entailment"—selecting the most plausible scenario from a set of mathematically possible models. Traditional approaches, such as Chronological Minimization of Discontinuities (CMD), assume that the world remains static unless a change is forced. However, when combining general physical laws with specific observations, standard minimization can yield "non-standard" models: physically nonsensical behaviors that satisfy the logic but violate common sense.
Filter Preferential Entailment
Sandewall proposes a temporal logic where fluents (parameters) are treated as piecewise continuous functions of real-valued time. Differential equations are integrated into the logic to describe the evolution of these parameters.
The key innovation is a two-step reasoning process:
- Minimization: First, the system identifies the "simplest" physical developments based solely on the laws of nature.
- Filtering: It then eliminates any developments that do not align with observed data.
This separation ensures that $Filter(Observations, Min(Laws))$ is prioritized over $Min(Laws \cup Observations)$. By minimizing the physics first, the system considers only "natural" behaviors before attempting to fit them to observations, thereby avoiding "coincidental" models where objects behave oddly just to satisfy a data point.
Handling Intentional Actions
To reason about agents, the logic must distinguish between spontaneous natural events (e.g., a ball bouncing) and intentional actions (e.g., an agent opening a door). Sandewall introduces Masking Relations, which allow the logic to "waive" the minimization requirement for actions. This prevents the system from preferring models where an agent acts as late as possible simply to minimize the duration of a discontinuity.
The Covered Shaft Scenario
As a theoretical proof-of-concept, Sandewall uses the Covered Shaft Scenario. In this thought experiment, objects move within a horizontal range, and an agent must decide when to open a lid (the "shaft") to catch one. The logic successfully:
- Identifies the intended plans without redundant actions.
- Corrects the timing of actions within a continuous timeframe, ensuring the plan is physically sound according to the underlying differential equations.
Conclusion and Future Work
Filter Preferential Entailment provides a robust framework for reasoning in complex physical worlds. While it successfully avoids many "non-standard" models, Sandewall notes that "coincident" models—where a plan works only due to a highly specific physical fluke—may still persist. Future work remains in translating these semantics into computationally efficient proof theories for real-time robotics and handling high-frequency or chaotic physical systems.
Summary updated