cs.LGAug 17, 2026

Backward through Time, Algebraically

Authors: Konstantinos Kogkalidis

Abstract

Linear temporal logic is a modal extension of propositional logic that allows one to state how a system should behave over time. Its canonical domain is the booleans, but discretely-valued judgements are of little use in steering softly-valued systems (neural policies, adaptive controllers, sequence models, etc). In such cases, the goal formula's (dis)satisfaction becomes a training signal, and differentiability becomes a prime concern. Candidate differentiable semantics abound, but navigating them is tricky. Implementations, where available, are shallow embeddings, demanding an upfront commitment to a single semantic algebra and its (usually implicit) conduct. The paper casts the reader as a functional programmer asked to come to terms with this predicament, and refusing. Out of that refusal comes an evaluation engine that is algebra-generic and amenable to differentiation, together with an executable specification of the algebras it can accept. Various algebras are implemented and audited for their behavior, both forward and backward. Each algebra turns out to be a choice of which direction to disappoint, and how. Everything described (and more) is part of the PyTorch library telos, to be found at https://github.com/konstantinosKokos/telos.

Figures & tables

Explore similar work

CardsList
  1. sLTN: Structural Logic Tensor Networks

    Aug 11, 2026Davide Rinaldi, Luciano SerafiniTensor NetworksLogic Tensor Networks

  2. First-Order Temporal Logic Tensor Networks

    Jun 29, 2026Luca Boscarato, Ivan Donadello, Alessandro Artale +2Tensor NetworksLogic Tensor Networks

  3. Differentiable Ternary Temporal Logic Semantics with Polynomial Surrogate Networks

    Oct 3, 2026Ryan Matheu, Sai Sandeep Damera, John S. Baras +1Temporal LogicDifferentiable Logic