cs.LOOct 26, 2026

Formal Explanations for Linear Temporal Logic over Finite Traces

Authors: Valeria Fionda, Antonio Ielo, Francesco Ricca

Organizations: University of Calabria, Italy

Abstract

Linear Temporal Logic over Finite Traces (LTLf) is widely used in Artificial Intelligence to specify desired temporal behavior and determine whether finite traces satisfy or violate it. Explaining these outcomes is essential for debugging and trust. However, existing approaches typically capture either sufficient reasons or counterfactual causes, without clarifying their relationship. We introduce a native characterization of abductive (AXps) and contrastive (CXps) explanations directly over finite traces, based on locking and unlocking time-indexed events. We prove its equivalence to the classifier-based formulation, and show that CXps coincide with a recently proposed temporal causality semantics for LTLf. This characterization enables an efficient implementation based on the enumeration of minimal unsatisfiable cores and minimal correction sets of ASP programs. Experiments on real-world event logs demonstrate the effectiveness of the approach.

Figures & tables

Explore similar work

CardsList
  1. Infinite Trace Objectives with Finite Trace Techniques: Translating LTL to LTLf+

    Aug 3, 2026Christoph Weinhuber, Maximilian Prokop, Giuseppe De Giacomo +1Temporal ReasoningFormal Verification

  2. Learning Linear Temporal Specifications from Demonstrations with Uncertainty

    Jul 12, 2026Parastou Fahim, Constantino Lagoa, Rômulo Meira-G'oesFormal VerificationLearning from Demonstration

  3. Truth as a Trajectory: What Internal Representations Reveal About Large Language Model Reasoning

    Mar 1, 2026Hamed Damirchi, Ignacio Meza De la Jara, Ehsan Abbasnejad +3LLM InterpretabilityRepresentation Geometry in Language Models