SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2606.15442 · 2026

The Reverse Telescoping Coordinate System for Positive Definite Matrices: Geometry, Computation, and Generative Modeling

Anindya Bhadra

arXiv · PDF · Open in the Atlas

Code that ran

5 of 5 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (1 of them constructed an object rather than computing a result; 3 honoured the contract we drafted, 0 violated it and 1 has no contract verdict; 1 failure of our instrument; 0 no recorded run), measured 2026-11-23; 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/2606.15442.json · badge: /api/ran/2606.15442.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
anindyabhadra/RT_SPD community
Papers with Code archive
5 ran · 0 no recorded run
FunctionStatusWhere it lives
RTEncoding Ran
ran on a synthesized input · constructed an object; no result was computed
anindyabhadra/RT_SPD/basic_rt/rt_core.py
code served (permissive licence) · get_code("446dbc990ab9e7b0")
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 an instance of its own class, RTEncoding: the run constructed the object and did not call it, so no result was computed. 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 numpy as np
from dataclasses import dataclass

@dataclass(frozen=True)
class RTEncoding:
    """Full output of the RT encoder."""
    x: np.ndarray
    tilde: np.ndarray
    pivots: np.ndarray

    @property
    def v(self) -> float:
        return float(self.x[0])

    @property
    def p(self) -> int:
        return int(self.tilde.shape[0])

    @property
    def d(self) -> np.ndarray:
        return self.x[1:self.p]

    @property
    def r(self) -> np.ndarray:
        return self.x[self.p:]


# Create test data
# x should be a 1D array where first element is v, next p elements are d, rest are r
# Let's say p=3, so x needs at least 4 elements (1 for v, 3 for d, rest for r)
x_data = np.array([0.5, 1.0, 2.0, 3.0, 4.0, 5.0], dtype=np.float32)

# tilde should have shape (p,) where p=3
tilde_data = np.array([10.0, 20.0, 30.0], dtype=np.float32)

# pivots can be any array
pivots_data = np.array([0, 1, 2], dtype=np.int32)

ARGS = {
    "x": x_data,
    "tilde": tilde_data,
    "pivots": pivots_data,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type RTEncoding — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a RTEncoding 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
blocks_to_r_flat Ran
ran, honoured the contract we drafted
anindyabhadra/RT_SPD/basic_rt/rt_core.py
code served (permissive licence) · get_code("eaf42ba642dd23ed")
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 ndarray, ndim 1, dtype family float, shape (11,) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape 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 numpy as np

# Construct blocks as a list of numpy arrays
# The function expects p-1 blocks, so let's use p=4 which means 3 blocks
blocks = [
    np.array([[1.0, 2.0], [3.0, 4.0]]),  # 2x2 block
    np.array([[5.0, 6.0, 7.0]]),          # 1x3 block
    np.array([8.0, 9.0, 10.0, 11.0])      # 1D array with 4 elements
]

p = 4  # We have p-1 = 3 blocks

ARGS = {
    'blocks': blocks,
    'p': p
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 1, dtype family float, shape (11,) — shape (11,) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
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
check_square Ran
ran, honoured the contract we drafted
anindyabhadra/RT_SPD/basic_rt/rt_core.py
code served (permissive licence) · get_code("4048b9686ab7eccc")
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 int, ndim 0, dtype family int, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape 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 numpy as np

# Create a small square matrix
theta = np.array([[1.0, 2.0], [3.0, 4.0]])

ARGS = {
    "theta": theta
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type int, ndim 0, dtype family int, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
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
encode_rt_full Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
anindyabhadra/RT_SPD/basic_rt/rt_core.py
code served (permissive licence) · get_code("95f2ac724a62a79e")
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) and returned RTEncoding. 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 numpy as np

# Create a small symmetric positive definite (SPD) matrix
# Using a simple construction: A @ A.T where A is random
np.random.seed(0)
A = np.random.randn(4, 4)
theta = A @ A.T  # This ensures SPD property

ARGS = {
    "theta": theta,
    "symmetrize_input": True,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type RTEncoding — a RTEncoding output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a RTEncoding 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
symmetrize Ran
ran, honoured the contract we drafted
anindyabhadra/RT_SPD/basic_rt/rt_core.py
code served (permissive licence) · get_code("0fb7c31d032456c9")
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 ndarray, ndim 2, dtype family float, shape (3, 3) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape 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 numpy as np

# Create a small square matrix for testing
theta_matrix = np.array(
    [[1.0, 2.0, 3.0],
     [4.0, 5.0, 6.0],
     [7.0, 8.0, 9.0]],
    dtype=np.float64
)

ARGS = {
    "theta": theta_matrix
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 2, dtype family float, shape (3, 3) — shape (3, 3) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
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 5 samples lifted from this paper's linked repositories, 5 carry a function identity and 0 do not. Of the 5 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 5 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-23.

Repositories linked to this paper

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

Abstract

We design a new unconstrained coordinate system where a p × p symmetric positive definite (SPD) matrix Θ is represented by a reverse telescoping map Θ(x) = RT (x), with x = (v, d, r) ∈ R × R (p-1) × R p(p-1)/2 , representing respectively the log volume or log determinant; and the shape, as encoded by log relative diagonal scales and partial covariances among the nodes. This construction results in important properties not available in other charts, e.g., matrix logarithm, such as Jacobian depending on only the log-determinant. A useful feature of our construction is x contains a lossless symbolic representation of both the matrix and its inverse. Many important computations involving a matrix and its inverse can be performed in O(p 2 ) in the transformed domain, while it is the rendering of results in matrix forms (on demand) that must incur an O(p 3 ) cost. Moreover, two unit-determinant matrices in the transformed domain can be joined by a straight line with pathwise unit determinant. For generative modeling, this allows designing a split volume-shape flow model trained by conditional flow matching for transporting the shape over the unit-determinant path, with a separate one-dimensional flow for transporting the volume or the determinant. The forbidding SPD constraint, tamed thus into a powerful guiding force, leads to the surprising insight that it is in some sense easier to design a volume-normalized shape flow for SPD compared to the unconstrained R p×p , with no intrinsic notion of volume to aid normalization, unlike the determinant of SPD matrices. We apply our construction for up to p = 200 in generative modeling of SPD matrices on a difficult synthetic bimodal target, and in generating brain connectivity networks by models trained on fMRI data; as well as in intrinsic diffusion on the SPD manifold.

For agents

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

get_harvested_code_for_paper("2606.15442")
get_code_for_paper("2606.15442")
have("2606.15442")

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

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

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

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

Connect an agent — have() is free.