SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2608.17087 · 2026

Backward through Time, Algebraically

Konstantinos Kogkalidis

arXiv · PDF · Open in the Atlas

Code that ran

6 of 6 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 6 failures of our instrument; 0 no recorded run), measured 2026-11-24; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2608.17087.json · badge: /api/ran/2608.17087.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
konstantinosKokos/telos canonical (classifier label)
classifier basis: census
6 ran · 0 no recorded run
FunctionStatusWhere it lives
fold Ran
ran; our contract draft was wrong, not the code
konstantinosKokos/telos/src/telos/algebras/base.py
code served (permissive licence) · get_code("029ec275f8afc5f1")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned function. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
from torch import Tensor
from typing import Callable as Fn

torch.manual_seed(0)

# The fold function takes:
# 1. fn: a function that takes two Tensors and returns a Tensor
# 2. initial: a Tensor that serves as the accumulator starting value

# The function unbinds x along the last dimension and reduces using fn
# So fn needs to combine two tensors into one

def combine_fn(a: Tensor, b: Tensor) -> Tensor:
    """Simple combining function that adds two tensors element-wise"""
    return a + b

# Create initial tensor - small accumulator value
initial_tensor = torch.tensor([[1.0, 2.0, 3.0, 4.0],
                               [5.0, 6.0, 7.0, 8.0]])

ARGS = {
    "fn": combine_fn,
    "initial": initial_tensor,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type function — a function output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a function output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
nonnegative Ran
ran; our contract draft was wrong, not the code
konstantinosKokos/telos/src/telos/algebras/gradients.py
code served (permissive licence) · get_code("71cb613c5d66455e")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned function. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
from torch import Tensor
from typing import Callable as Fn

torch.manual_seed(0)

def simple_reduce(x: Tensor) -> Tensor:
    """A simple reduction function that returns the sum along dimension 1."""
    return x.sum(dim=1)

# Create a small test tensor (batch=2, dim=4)
test_tensor = torch.randn(2, 4, requires_grad=False)

ARGS = {
    "reduce": simple_reduce
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type function — a function output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a function output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
normalized Ran
ran; our contract draft was wrong, not the code
konstantinosKokos/telos/src/telos/algebras/gradients.py
code served (permissive licence) · get_code("e076a204748632d2")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned function. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
from torch import Tensor
from typing import Callable as Fn

torch.manual_seed(0)

# Define a simple reduction function
# It takes a tensor and returns a scalar tensor (to be summed later)
def simple_reduce(x: Tensor) -> Tensor:
    # A basic reduction: sum over all dimensions
    return x.sum()

# Another example reduction that computes mean
def mean_reduce(x: Tensor) -> Tensor:
    return x.mean()

# Test with a small tensor to verify the logic
test_x = torch.randn(2, 4, requires_grad=True)

ARGS = {
    "reduce": simple_reduce
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type function — a function output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a function output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
scan Ran
ran; our contract draft was wrong, not the code
konstantinosKokos/telos/src/telos/algebras/base.py
code served (permissive licence) · get_code("f4b2bbe35013b401")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned function. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
from torch import Tensor

torch.manual_seed(0)

# Define a simple binary function that combines two tensors
def combine_fn(acc: Tensor, x: Tensor) -> Tensor:
    """
    A simple function that takes an accumulated tensor and a new tensor,
    and returns their sum. This will be used as the accumulation function.
    """
    return acc + x

# Create input tensor with shape (2, 4)
# The function unbinds along the last dimension, so we need at least 2 elements there
x = torch.randn(2, 4)

ARGS = {
    "fn": combine_fn
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type function — a function output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a function output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
shares Ran
ran; our contract draft was wrong, not the code
konstantinosKokos/telos/src/telos/algebras/gradients.py
code served (permissive licence) · get_code("7bc101ad58ceb0d2")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned function. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
from torch import Tensor
from typing import Callable as Fn

torch.manual_seed(0)

# Define a simple reduction function that takes a tensor and returns a scalar tensor
def simple_reduce(x: Tensor) -> Tensor:
    """A basic reduction that sums all elements"""
    return x.sum()

# ARGS dictionary mapping the parameter to its value
ARGS = {
    "reduce": simple_reduce
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type function — a function output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a function output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
span Ran
ran; our contract draft was wrong, not the code
konstantinosKokos/telos/src/telos/algebras/base.py
code served (permissive licence) · get_code("b9f247460705eeb1")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned function. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
from torch import Tensor
from typing import Callable as Fn

torch.manual_seed(0)

# Define a simple function that operates on tensors
# The function is called with x expanded to have shape [..., 1, n] due to x[..., None, :]
# So it should handle that extra dimension and return something broadcastable
def example_fn(x: Tensor) -> Tensor:
    # x will have shape [..., 1, n] when called from inside span's f
    # Apply some operation and return a tensor of compatible shape
    return torch.sin(x)

# Create a neutral tensor - this is used where mask is False
# It should match the shape that fn expects to broadcast with
neutral = torch.zeros(1, dtype=torch.float32)

# Create a bottom tensor - this is used in the final where clause
# Should have a compatible shape for broadcasting with fn output
bottom = torch.full((4, 4), -1.0, dtype=torch.float32)

ARGS = {
    "fn": example_fn,
    "neutral": neutral,
    "bottom": bottom,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type function — a function output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a function output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block

Also present in other papers' code

Of 6 samples lifted from this paper's linked repositories, 6 carry a function identity and 0 do not. Of the 6 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 6 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-24.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

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.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2608.17087")
get_code_for_paper("2608.17087")
have("2608.17087")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2608.17087.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2608.17087.svg)](https://syntology.ai/paper/2608.17087)

Connect an agent — have() is free.