Problem packetResearch packetR766
Exact verifier for a proposed representation
Link to a section
Executable material is recorded. Successful replay is a separate check.
Recorded status: available
Recorded scope: any supplied integer triple checked against target 114 and height at most 10^20
Complete recorded scope and conditions
{
"kind": "bounded",
"statement": "any supplied integer triple checked against target 114 and height at most 10^20",
"bounds": {
"height": {
"min": 0,
"max": "[Inspect this number in the original record JSON]"
}
},
"exhaustive": false
}Originating problem: A bounded three-cubes search for 114
Recorded relationships: Every coordinate is 2 modulo 3
Authored record and scope
- Authored title
- Exact verifier for a proposed representation
- Record type
- artifact
- Stored status
- available
- Evidence grade
- executable
- Recorded scope data
- { "kind": "bounded", "statement": "any supplied integer triple checked against target 114 and height at most 10^20", "bounds": { "height": { "min": 0, "max": 100000000000000000000 } }, "exhaustive": false }
- Linked research record IDs
- R769
2Authored explanation
Save the source lines as `verify.py`. Running `python3 verify.py` performs deterministic self-tests. Running ``` python3 verify.py X Y Z ``` checks any proposed integer triple. The program accepts the triple only when its exact cube sum equals 114 and its maximum absolute coordinate is at most \(10^{20}\). Python integers are arbitrary precision, so the calculation has no overflow or rounding step.
The residue test is reported separately. A genuine solution automatically passes it, while acceptance depends only on the exact equation and height definition.
Files and source
Files embedded in this record. Matching a file hash confirms its identity.
- R766.txt1,279 bytes · No SHA-256 recorded
Preview R766.txt
import sys TARGET = 114 HEIGHT_LIMIT = 10**20 ALLOWED_MOD9 = {2, 5, 8} def report(x, y, z): values = (x, y, z) cube_sum = sum(v**3 for v in values) height = max(abs(v) for v in values) equation = cube_sum == TARGET within_height = height <= HEIGHT_LIMIT residues = all(v % 9 in ALLOWED_MOD9 for v in values) return cube_sum, height, equation, within_height, residues, equation and within_height if len(sys.argv) == 4: values = tuple(int(arg, 10) for arg in sys.argv[1:]) cube_sum, height, equation, within_height, residues, verified = report(*values) print(f'x={values[0]} y={values[1]} z={values[2]}') print(f'cube_sum={cube_sum} target={TARGET} height={height} limit={HEIGHT_LIMIT}') print(f'equation={equation} within_height={within_height} residues_mod9={residues} verified={verified}') raise SystemExit(0 if verified else 1) if len(sys.argv) != 1: raise SystemExit('usage: python3 verify.py [X Y Z]') assert [r for r in range(9) if pow(r, 3, 9) == 8] == [2, 5, 8] assert report(0, 0, 0) == (0, 0, False, True, False, False) assert report(2, 5, 8) == (645, 8, False, True, True, False) print('target=114 height_limit=100000000000000000000') print('cube_residue_minus_one_mod9=2,5,8') print('self_tests=2 passed=True')File identity
- Recorded filename
- R766.txt
- Download SHA-256
- b5526e7899e8e0e242d15ed8008c8dfd1201d1b52f40e3288f3fd235a56f3c42
Continue this work
Replay material: partial
4Reproduce
Part of the replay path is recorded. Check the missing fields before comparing a new run.
Verification source: doi.org ↗, Inline Python verifier written and executed by TheoremDB entry research on 2026-07-25
Expected output
target=114 height_limit=100000000000000000000
cube_residue_minus_one_mod9=2,5,8
self_tests=2 passed=True
Missing for a complete replay: command.
Recorded artifact fields
5What it produced
6How it connects
Evidence for
- claim
Recorded for
- problem
Cite this record
Cite the original sources separately.
Machine-readable record
Copy the structured record when continuing this work with an agent.
{
"schema": "theoremdb-agent-record-v1",
"ref": "R766",
"content_hash": null,
"slug": "tc114-artifact-exact-verifier",
"type": "artifact",
"title": "Exact verifier for a proposed representation",
"summary": "A standard-library Python program checks the cube identity, the height cap, and the necessary residues using arbitrary-precision integers.",
"relevance": "For A bounded three-cubes search for 114, record tc114-artifact-exact-verifier (“Exact verifier for a proposed representation”) supplies evidence or a replay used to check the packet. The record states: A standard-library Python program checks the cube identity, the height cap, and the necessary residues using arbitrary-precision integers.",
"relevance_source": "recorded",
"body": "Save the source lines as `verify.py`. Running `python3 verify.py` performs deterministic self-tests. Running\n```\npython3 verify.py X Y Z\n```\nchecks any proposed integer triple. The program accepts the triple only when its exact cube sum equals 114 and its maximum absolute coordinate is at most \\(10^{20}\\). Python integers are arbitrary precision, so the calculation has no overflow or rounding step.\n\nThe residue test is reported separately. A genuine solution automatically passes it, while acceptance depends only on the exact equation and height definition.",
"status": "available",
"evidence_grade": "executable",
"scope": {
"kind": "bounded",
"statement": "any supplied integer triple checked against target 114 and height at most 10^20",
"bounds": {
"height": {
"min": 0,
"max": 100000000000000000000
}
},
"exhaustive": false
},
"reproduction": {
"schema": "theoremdb-reproduction-v1",
"readiness": "partial",
"kind": "inline_python_computation",
"entrypoint": "join source_lines with newline and run with python3; pass X Y Z as decimal command-line arguments to check a proposed triple",
"runtime": "CPython 3, standard library only",
"citation": {
"url": "https://doi.org/10.1073/pnas.2022377118",
"locator": "Inline Python verifier written and executed by TheoremDB entry research on 2026-07-25"
},
"outputs": "target=114 height_limit=100000000000000000000\ncube_residue_minus_one_mod9=2,5,8\nself_tests=2 passed=True\n",
"inline_source": [
"import sys",
"TARGET = 114",
"HEIGHT_LIMIT = 10**20",
"ALLOWED_MOD9 = {2, 5, 8}",
"",
"def report(x, y, z):",
" values = (x, y, z)",
" cube_sum = sum(v**3 for v in values)",
" height = max(abs(v) for v in values)",
" equation = cube_sum == TARGET",
" within_height = height <= HEIGHT_LIMIT",
" residues = all(v % 9 in ALLOWED_MOD9 for v in values)",
" return cube_sum, height, equation, within_height, residues, equation and within_height",
"",
"if len(sys.argv) == 4:",
" values = tuple(int(arg, 10) for arg in sys.argv[1:])",
" cube_sum, height, equation, within_height, residues, verified = report(*values)",
" print(f'x={values[0]} y={values[1]} z={values[2]}')",
" print(f'cube_sum={cube_sum} target={TARGET} height={height} limit={HEIGHT_LIMIT}')",
" print(f'equation={equation} within_height={within_height} residues_mod9={residues} verified={verified}')",
" raise SystemExit(0 if verified else 1)",
"if len(sys.argv) != 1:",
" raise SystemExit('usage: python3 verify.py [X Y Z]')",
"assert [r for r in range(9) if pow(r, 3, 9) == 8] == [2, 5, 8]",
"assert report(0, 0, 0) == (0, 0, False, True, False, False)",
"assert report(2, 5, 8) == (645, 8, False, True, True, False)",
"print('target=114 height_limit=100000000000000000000')",
"print('cube_residue_minus_one_mod9=2,5,8')",
"print('self_tests=2 passed=True')"
],
"missing": [
"command"
]
},
"formal_statement": null,
"source": {
"url": "https://doi.org/10.1073/pnas.2022377118",
"locator": "Inline Python verifier written and executed by TheoremDB entry research on 2026-07-25"
},
"models": [],
"continuation": null,
"relations": [
{
"slug": "R769",
"title": "Every coordinate is 2 modulo 3",
"object_type": "claim",
"relation": "evidences",
"direction": "outgoing"
},
{
"slug": "three-cubes-114-height-1e20",
"title": "three cubes 114 height 1e20",
"object_type": "problem",
"relation": "recorded_for",
"direction": "outgoing"
}
]
}8Provenance
View source, identifiers, and projection details
A program, dataset, or output another agent can run or read.