SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2305.08676 · IJCAI · 2023

An Ensemble Approach for Automated Theorem Proving Based on Efficient Name Invariant Graph Neural Representations

Ndivhuwo Makondo, Akihiro Kishimoto, Radu Marinescu, Ibrahim Abdelaziz, Achille Fokoue, Shajith Ikbal, Guilherme Lima, Maxwell Crouse

arXiv · PDF · Open in the Atlas

Code that ran

11 of 16 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; 1 honoured the contract we drafted, 0 violated it and 10 have no contract verdict; 0 failures of our instrument; 5 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; 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/2305.08676.json · badge: /api/ran/2305.08676.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
ibm/TRAIL canonical (classifier label)
classifier basis: census
11 ran · 5 no recorded run
FunctionStatusWhere it lives
build_feed_forward_net Ran
ran on a synthesized input
ibm/TRAIL/code/game/base_nnet.py
code served (permissive licence) · get_code("903ad981b8a5694f")
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 Sequential. 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
import torch.nn as nn

torch.manual_seed(0)

ARGS = {
    'input_feature_size': 4,
    'layers': [4, 8, 8],
    'dropout_p': 0.2,
    'residual_first_layer': True,
}
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 Sequential — a Sequential output has no array shape of its own; none is 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
get_details Ran
ran on a synthesized input
ibm/TRAIL/code/build_reference_results.py
code served (permissive licence) · get_code("f2360e06575a4cf6")
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 os

# Analyze the function to understand what it needs:
# - row: a sequence (list or tuple) that needs different lengths based on is_valid_file
# - is_valid_file: a boolean

# When is_valid_file is True:
#   row[4] = abs_file (path string)
#   row[5] = conjecture
#   row[7] = num_steps
#   row[8] = score
#   row[9] = time
#   So row needs at least 10 elements

# When is_valid_file is False:
#   row[3] = abs_file (path string)
#   row[4] = conjecture
#   row[6] = num_steps
#   row[7] = score
#   row[8] = time
#   So row needs at least 9 elements

# Create a row for is_valid_file=True case (needs indices 0-9)
row_valid = [
    "dummy0",
    "dummy1",
    "dummy2",
    "dummy3",
    "/path/to/file.txt",  # row[4] - abs_file
    "conjecture_data",     # row[5] - conjecture
    "dummy6",
    42,                    # row[7] - num_steps
    0.95,                  # row[8] - score
    1.23                   # row[9] - time
]

# Create a row for is_valid_file=False case (needs indices 0-8)
row_invalid = [
    "dummy0",
    "dummy1",
    "dummy2",
    "/path/to/another_file.txt",  # row[3] - abs_file
    "another_conjecture",          # row[4] - conjecture
    "dummy5",
     35,                           # row[6] - num_steps
    0.87,                          # row[7] - score
    2.34                           # row[8] - time
]

ARGS = {
    "row": row_valid,
    "is_valid_file": True
}
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 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
get_difficulty_buckets Ran
ran on a synthesized input
ibm/TRAIL/code/game/randmodel.py
code served (permissive licence) · get_code("96c8dbd06172268f")
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 int, shape (6,) 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
import pandas as pd

# Construct valid arguments for get_difficulty_buckets

# data should be a list of data points where each point has at least 3 elements
# and the 3rd element (index 2) is the difficulty value
data = [
    (1, 2, 0.1),
    (3, 4, 0.5),
    (5, 6, 0.3),
    (7, 8, 0.9),
    (9, 10, 0.2),
    (11, 12, 0.7),
]

# buckets is the number of quantile buckets to create
buckets = 3

ARGS = {
    "data": data,
    "buckets": buckets,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, pandas, torch — 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 int, shape (6,) — shape (6,) 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
get_min Ran
ran on a synthesized input
ibm/TRAIL/code/game/attention_nnet.py
code served (permissive licence) · get_code("5e7025246a80e512")
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

torch.manual_seed(0)

# The function get_min takes a dtype parameter and returns torch.finfo(dtype).min
# torch.finfo() works with floating point dtypes like torch.float32, torch.float64, etc.

ARGS = {
    "dtype": torch.float32
}
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 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
get_renaming_suffix Ran
ran on a synthesized input
ibm/TRAIL/code/analysis.py
code served (permissive licence) · get_code("4e412f5914a861cf")
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 os
import re
import zlib

# The function takes a problem_file (string path) and iteration (int)
# It splits the path, sanitizes the filename, and creates a suffix string
# No special objects needed - just basic types

ARGS = {
    "problem_file": "/path/to/some_problem_file.txt",
    "iteration": 42
}
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
getrval Ran
ran on a synthesized input
ibm/TRAIL/code/guide_trail.py
code served (permissive licence) · get_code("1759d41d47f4d4f1")
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 os
import tempfile
import shutil

# Create a temporary directory structure for testing
test_dir = tempfile.mkdtemp()

# Create a subdirectory to use as the path argument
path = os.path.join(test_dir, 'test_episode')
os.makedirs(path, exist_ok=True)

# Create one of the expected files so the function can find it
# This makes the function return 'SOLVED'
solved_file = os.path.join(path, 'episodeResult.gz')
with open(solved_file, 'w') as f:
    f.write('')

ARGS = {
    'path': path
}
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 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
identity Ran
ran, honoured the contract we drafted
ibm/TRAIL/code/game/base_nnet.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from dholzmueller/universal_double_descent, is pointer only (licence: NONE) · get_code("9910e2fc297f8665")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from dholzmueller/universal_double_descent, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

maybe0x Ran
ran on a synthesized input
ibm/TRAIL/code/game/attention_nnet.py
code served (permissive licence) · get_code("0c4d833c2761e859")
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 Tensor, ndim 1, dtype family float, shape (4,) 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)

# The function maybe0x(x) returns None if x is None, else x[0]
# So x needs to be either None or subscriptable with [0]

# Test case 1: x is None
x_none = None

# Test case 2: x is a list/indexable object
x_list = [42, 99, 100]

# Test case 3: x is a tensor
x_tensor = torch.randn(5, 4)

# Test case 4: x is a numpy array
x_numpy = np.array([[1, 2, 3], [4, 5, 6]])

# Use one of these as the argument
ARGS = {
    "x": x_tensor
}
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 Tensor, ndim 1, dtype family float, shape (4,) — shape (4,) 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
open_commands Ran
ran on a synthesized input
ibm/TRAIL/code/guide_trail.py
code served (permissive licence) · get_code("2ec1e1d66a3f1ffd")
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 sys
import os
import tempfile

# Create a temporary directory for testing
test_dir = tempfile.mkdtemp()

# Create the required files in the test directory
commands_file = os.path.join(test_dir, 'commands')
command_responses_file = os.path.join(test_dir, 'command_responses')

# Pre-create the files so they exist when the function tries to open them
with open(commands_file, 'w') as f:
    f.write('')
with open(command_responses_file, 'w') as f:
    f.write('')

ARGS = {
    'dir': test_dir,
    'writeCommands': False
}
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 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
rename_expr Ran
ran on a synthesized input
ibm/TRAIL/code/analysis.py
code served (permissive licence) · get_code("237e2cc97c12f3d0")
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 MockLogicExpr. 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 os
import re
import zlib

class MockLogicExpr:
    """Mock logic expression object with a rename method"""
    def __init__(self):
        self.suffix = None
    
    def rename(self, suffix):
        """Returns a new instance with the suffix applied"""
        new_expr = MockLogicExpr()
        new_expr.suffix = suffix
        return new_expr

# Create arguments for rename_expr
logic_expr = MockLogicExpr()
problem_file = "/home/user/test_problem_2024.txt"
iteration = 5

ARGS = {
    "logic_expr": logic_expr,
    "problem_file": problem_file,
    "iteration": iteration
}
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 MockLogicExpr — a MockLogicExpr output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a MockLogicExpr 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
rename_problem Ran
ran on a synthesized input
ibm/TRAIL/code/analysis.py
code served (permissive licence) · get_code("9245aba7c9e17c49")
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. 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 os
import re
import zlib

class MockLogicExpr:
    """Mock logic expression that supports rename method"""
    def __init__(self, name):
        self.name = name
    
    def rename(self, suffix):
        """Return a new MockLogicExpr with renamed suffix"""
        return MockLogicExpr(f"{self.name}{suffix}")

# Create mock logic expressions
conjecture = MockLogicExpr("conjecture")
negated_conjectures = [
    [MockLogicExpr("neg_conj_1_1"), MockLogicExpr("neg_conj_1_2")],
    [MockLogicExpr("neg_conj_2_1")]
]
axioms = [
    MockLogicExpr("axiom_1"),
    MockLogicExpr("axiom_2"),
    MockLogicExpr("axiom_3")
]

problem_file = "/path/to/problem_file.txt"
iteration = 5

ARGS = {
    "conjecture": conjecture,
    "negated_conjectures": negated_conjectures,
    "axioms": axioms,
    "problem_file": problem_file,
    "iteration": iteration
}
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 tuple — a tuple output has no array shape of its own; none is 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
backup_result Not yet run
unverified (harvested, no recorded run)
ibm/TRAIL/code/guide_trail_ida.py
code served (permissive licence) · get_code("804c5c329a1f42cf")
How it ran

no invocation recorded.

compute_ignoring_paddedcells Not yet run
unverified (harvested, no recorded run)
ibm/TRAIL/code/game/attention_nnet.py
code served (permissive licence) · get_code("ae25f69c667ae455")
How it ran

no invocation recorded.

convToCNF Not yet run
unverified (harvested, no recorded run)
ibm/TRAIL/code/cnfconv.py
code served (permissive licence) · get_code("ec74becf7fa19ea6")
How it ran

no invocation recorded.

simplified_convToCNF Not yet run
unverified (harvested, no recorded run)
ibm/TRAIL/code/cnfconv.py
code served (permissive licence) · get_code("438f93d7e856d3c0")
How it ran

no invocation recorded.

simplified_tffToCNF Not yet run
unverified (harvested, no recorded run)
ibm/TRAIL/code/cnfconv.py
code served (permissive licence) · get_code("e8cf1e06b400025f")
How it ran

no invocation recorded.

Also present in other papers' code

Of 16 samples lifted from this paper's linked repositories, 16 carry a function identity and 0 do not. Of the 16 distinct functions with an identity, 1 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 1 the same month, 1 later) and 15 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.

FunctionAlso present inEarliest-datedOthers named
identity 69 other papers
35 dated earlier, 1 the same month, 32 later, 1 same year, order not determinable · 5 only as an assembly brick
1706.07296 (2017-06)
A Minimal Developmental Model Can Increase Evolvability in Soft Robots
1802.09419 (2018-02)
Stochastic Hyperparameter Optimization through Hypernetworks
1804.06055 (2018-04)
Co-occurrence Feature Learning from Skeleton Data for Action Recognition and Detection with Hierarchical Aggregation
and 66 more not named here

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

Using reinforcement learning for automated theorem proving has recently received much attention. Current approaches use representations of logical statements that often rely on the names used in these statements and, as a result, the models are generally not transferable from one domain to another. The size of these representations and whether to include the whole theory or part of it are other important decisions that affect the performance of these approaches as well as their runtime efficiency. In this paper, we present NIAGRA; an ensemble Name InvAriant Graph RepresentAtion. NIAGRA addresses this problem by using 1) improved Graph Neural Networks for learning nameinvariant formula representations that is tailored for their unique characteristics and 2) an efficient ensemble approach for automated theorem proving. Our experimental evaluation shows state-of-the-art performance on multiple datasets from different domains with improvements up to 10% compared to the best learning-based approaches. Furthermore, transfer learning experiments show that our approach significantly outperforms other learningbased approaches by up to 28%.

For agents

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

get_harvested_code_for_paper("2305.08676")
get_code_for_paper("2305.08676")
have("2305.08676")

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

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

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

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

Connect an agent — have() is free.