SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2505.21825 · NeurIPS · 2025

Let Me Think! A Long Chain-of-Thought Can Be Worth Exponentially Many Short Ones

Samy Jelassi, Eran Malach, Enric Boix-Adserà, Parsa Mirtaheri, Ezra Edelman

arXiv · PDF · Open in the Atlas

Code that ran

8 of 9 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 8 have no contract verdict; 0 failures of our instrument; 1 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/2505.21825.json · badge: /api/ran/2505.21825.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
seyedparsa/let-me-think canonical (classifier label)
classifier basis not recorded on the link
8 ran · 1 no recorded run
FunctionStatusWhere it lives
best_of_n_evidence_accuracy Ran
ran on a synthesized input
seyedparsa/let-me-think/analysis/plot_prefix_accuracy.py
code served (permissive licence) · get_code("0accd97b1b7dea96")
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 float, ndim 0, dtype family float, 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 torch
import numpy as np

torch.manual_seed(0)

# Analyzing the function:
# - generations: iterable of objects, each indexable by i
# - Each gen[i] is a dict with key 'evidence' (bool) and 'works' (dict)
# - gen[i]['works'] is a dict with key 'work' (has len())
# - num_data: int, number of data points
# - sequential: int, threshold for len(task['works']['work'])

# Create sample generations data structure
num_data = 2
sequential = 5

# Create a single generation with proper structure
gen1 = []
gen2 = []

for i in range(num_data):
    task1 = {
        'evidence': True,
        'works': {
            'work': [1, 2, 3]  # length 3, which is <= sequential (5)
        }
    }
    task2 = {
        'evidence': False,
        'works': {
            'work': [1, 2, 3, 4, 5, 6, 7]  # length 7, which is > sequential (5)
        }
    }
    gen1.append(task1)
    gen2.append(task2)

generations = [gen1, gen2]

ARGS = {
    'generations': generations,
    'num_data': num_data,
    'sequential': sequential
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float, ndim 0, dtype family float, 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
confidence_interval Ran
ran on a synthesized input
seyedparsa/let-me-think/analysis/analysis_utils.py
code served (permissive licence) · get_code("6f1fce08e48a8203")
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 tuple, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim 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
import numpy as np

torch.manual_seed(0)

# The function takes:
# - succes: number of successes (int)
# - trials: number of trials (int)
# - confidence: confidence level (float, default 0.95)
# - method: method for confidence interval (str, default 'wilson')

ARGS = {
    'succes': 42,
    'trials': 100,
    'confidence': 0.95,
    'method': 'wilson'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, statsmodels, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family float — a tuple output has no array shape of its own; none is stated
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
cost Ran
ran on a synthesized input
seyedparsa/let-me-think/analysis/plot_prefix_accuracy.py
code served (permissive licence) · get_code("f01e3b8c1bc27406")
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 torch

torch.manual_seed(0)

# The function takes three parameters: sequential, parallel, and budget_type
# Looking at the function body:
# - sequential is used in arithmetic operations (multiplication, exponentiation)
# - parallel is used in arithmetic operations (multiplication)
# - budget_type is checked against string values ('cot', 'token', 'compute')
# All parameters are numeric or strings, so we'll use simple numeric types

sequential = 5
parallel = 3
budget_type = 'token'

ARGS = {
    'sequential': sequential,
    'parallel': parallel,
    'budget_type': budget_type
}
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 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
dfs Ran
ran on a synthesized input
seyedparsa/let-me-think/utils.py
code served (permissive licence) · get_code("5a65e7c00db7acd4")
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 list, ndim 1, dtype family int; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim 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 networkx as nx
import random

# Set seed for reproducibility
random.seed(42)

# Create a small test graph using NetworkX
graph = nx.Graph()
graph.add_edges_from([
    (0, 1),
    (1, 2),
    (2, 3),
    (3, 0),
    (1, 3)
])

# Define arguments for the dfs function
ARGS = {
    "graph": graph,
    "start": 0,
    "target": None,
    "return_mistakes": True,
    "return_backtrack": True
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
networkx — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family int — a list output has no array shape of its own; none is stated
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
gen_graph Ran
ran on a synthesized input
seyedparsa/let-me-think/utils.py
code served (permissive licence) · get_code("7896ef51724bf4e8")
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 Graph. 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
import networkx as nx
import random

class Args:
    def __init__(self, graph_type, num_nodes=None, max_num_nodes=None, 
                 min_num_nodes=None, num_edges=None, depth=None, width=None, 
                 num_matchings=None, short=None, long=None, dead=None):
        self.graph_type = graph_type
        self.num_nodes = num_nodes
        self.max_num_nodes = max_num_nodes
        self.min_num_nodes = min_num_nodes
        self.num_edges = num_edges
        self.depth = depth
        self.width = width
        self.num_matchings = num_matchings
        self.short = short
        self.long = long
        self.dead = dead

# Test with 'cycle' graph type
ARGS = {
    'args': Args(
        graph_type='cycle',
        num_nodes=5,
        max_num_nodes=None,
        min_num_nodes=None,
        num_edges=None,
        depth=None,
        width=None,
        num_matchings=None,
        short=None,
        long=None,
        dead=None
    )
}

# Alternative test configurations (uncomment to test different graph types):
# ARGS = {'args': Args(graph_type='tree', num_nodes=6)}
# ARGS = {'args': Args(graph_type='component', num_nodes=8, num_edges=10)}
# ARGS = {'args': Args(graph_type='caterpillar', depth=3, width=4, num_matchings=2)}
# ARGS = {'args': Args(graph_type='comblock', depth=3, width=4)}
# ARGS = {'args': Args(graph_type='flower', depth=2, short=3, long=4, dead=2)}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
networkx, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Graph — a Graph output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Graph output the recorded ndim 1 and dtype family int 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
generate_caterpillar Ran
ran on a synthesized input
seyedparsa/let-me-think/utils.py
code served (permissive licence) · get_code("7f2ce5e7a11b0224")
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 Graph. 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
import networkx as nx

np.random.seed(0)

ARGS = {
    "depth": 3,
    "width": 4,
    "num_matchings": 2,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
networkx, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Graph — a Graph output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Graph output the recorded ndim 1 and dtype family int 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
normal_confidence_interval Ran
ran on a synthesized input
seyedparsa/let-me-think/analysis/analysis_utils.py
code served (permissive licence) · get_code("144e172757b54f0b")
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 tuple, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim 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

ARGS = {
    "mean": 5.0,
    "std": 2.5,
    "n": 100
}
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 tuple, ndim 1, dtype family float — a tuple output has no array shape of its own; none is stated
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
pres Ran
ran on a synthesized input
seyedparsa/let-me-think/analysis/analysis_utils.py
code served (permissive licence) · get_code("fd2905b20ffc6e04")
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 str. 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 re

def pres(word):
    if word == 'optimal':
        return 'Shortest-Path'
    elif word == 'path':
        return 'Path'
    elif word == 'dfs':
        return 'DFS-BT'
    elif word == 'dfs-pruned':
        return 'DFS'
    elif word == 'avg_thoughts':
        return 'Avgerage Length of Thoughts'
    elif word == 'avg_valid_thoughts':
        return 'Avgerage Length of CoTs'
    elif word == 'avg_verified_thoughts':
        return 'Avgerage Length of Verified CoTs'
    elif 'play' in word:
        teach, _, num_play = re.split('[-_]', word)
        return f'{pres(teach)} RL-{num_play}'
    elif 'walk' in word:
        _, L = re.split('[-_]', word)
        return f'Walk-{L}'
    else:
        return ' '.join([word.capitalize() for word in re.split('[-_]', word)])


ARGS = {
    'word': 'optimal'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str 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
load_generations Not yet run
unverified (harvested, no recorded run)
seyedparsa/let-me-think/analysis/plot_prefix_accuracy.py
code served (permissive licence) · get_code("51e429fe49b25ce7")
How it ran

no invocation recorded.

Also present in other papers' code

Of 9 samples lifted from this paper's linked repositories, 9 carry a function identity and 0 do not. Of the 9 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 9 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

Inference-time computation has emerged as a promising scaling axis for improving large language model reasoning. However, despite yielding impressive performance, the optimal allocation of inference-time computation remains poorly understood. A central question is whether to prioritize sequential scaling (e.g., longer chains of thought) or parallel scaling (e.g., majority voting across multiple short chains of thought). In this work, we seek to illuminate the landscape of test-time scaling by demonstrating the existence of reasoning settings where sequential scaling offers an exponential advantage over parallel scaling. These settings are based on graph connectivity problems in challenging distributions of graphs. We validate our theoretical findings with comprehensive experiments across a range of language models, including models trained from scratch for graph connectivity with different chain of thought strategies as well as large reasoning models. Our code is available at https://github.com/seyedparsa/let-me-think. * Equal contribution. † Currently at Apple.

For agents

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

get_harvested_code_for_paper("2505.21825")
get_code_for_paper("2505.21825")
have("2505.21825")

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

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

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

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

Connect an agent — have() is free.