TheoremDB

Problem packetResearch packetR339

R339Executable evidence

Exhaustive graceful and alpha-labeling checker

View replayOpen source ↗
Link to a section

Authored summary

A dependency-free Python program that enumerates all trees up to a given size and searches for graceful and alpha-labelings, with both search heuristics switchable for comparison.

Executable material is recorded. Successful replay is a separate check.

Recorded status: reproduced

Recorded scope: runs over every tree on at most 16 vertices

Complete recorded scope and conditions
{
  "kind": "bounded",
  "statement": "runs over every tree on at most 16 vertices",
  "bounds": {
    "n": {
      "max": 16
    }
  },
  "exhaustive": true
}

Originating problem: Graceful tree conjecture

Source files are not attached to this record. Check the recorded source for access.

Recorded relationships: Independent exhaustive verification through n=15

Other recorded relationships (1)
Authored record and scope
Authored title
Exhaustive graceful and alpha-labeling checker
Record type
artifact
Stored status
reproduced
Evidence grade
executable
Recorded scope data
{ "kind": "bounded", "statement": "runs over every tree on at most 16 vertices", "bounds": { "n": { "max": 16 } }, "exhaustive": true }
Linked research record IDs
R351 R347

2Authored explanation

Exact integer arithmetic, no third-party packages. Generates free trees by centroid decomposition, searches for labelings by backtracking with sibling symmetry breaking and largest-edge-label-first ordering, and re-verifies every labeling it returns against the definition.

The recorded run is --max-n 15, which checks 13,188 trees. The --no-symmetry and --no-edge-order flags reproduce the two heuristic comparisons recorded in this project.

Continue this work
Replay material: runnable

3Reproduce

Replay package: runnable

The command and source are recorded. The environment or expected result still needs pinning.

python3 research/graceful-trees/checks.py --max-n 15

Verification source: arxiv.org ↗, research/graceful-trees/checks.py

Missing for a complete replay: runtime, expected output.

Recorded artifact fields

4How it connects

Recorded for

Machine-readable record

Copy the structured record when continuing this work with an agent.

json
{
  "schema": "theoremdb-agent-record-v1",
  "ref": "R339",
  "content_hash": null,
  "slug": "gtc-artifact-checker",
  "type": "artifact",
  "title": "Exhaustive graceful and alpha-labeling checker",
  "summary": "A dependency-free Python program that enumerates all trees up to a given size and searches for graceful and alpha-labelings, with both search heuristics switchable for comparison.",
  "relevance": "For Graceful tree conjecture, record gtc-artifact-checker (“Exhaustive graceful and alpha-labeling checker”) supplies evidence or a replay used to check the packet. The record states: A dependency-free Python program that enumerates all trees up to a given size and searches for graceful and alpha-labelings, with both search heuristics switchable for comparison.",
  "relevance_source": "recorded",
  "body": "Exact integer arithmetic, no third-party packages. Generates free trees by centroid decomposition, searches for labelings by backtracking with sibling symmetry breaking and largest-edge-label-first ordering, and re-verifies every labeling it returns against the definition.\n\nThe recorded run is --max-n 15, which checks 13,188 trees. The --no-symmetry and --no-edge-order flags reproduce the two heuristic comparisons recorded in this project.",
  "status": "reproduced",
  "evidence_grade": "executable",
  "scope": {
    "kind": "bounded",
    "statement": "runs over every tree on at most 16 vertices",
    "bounds": {
      "n": {
        "max": 16
      }
    },
    "exhaustive": true
  },
  "reproduction": {
    "schema": "theoremdb-reproduction-v1",
    "readiness": "runnable",
    "kind": "program",
    "command": "python3 research/graceful-trees/checks.py --max-n 15",
    "source": "research/graceful-trees/checks.py",
    "citation": {
      "url": "https://arxiv.org/abs/1403.1564",
      "locator": "research/graceful-trees/checks.py"
    },
    "dependencies": "none",
    "runtime_seconds": 1962.101,
    "missing": [
      "runtime",
      "expected_output"
    ]
  },
  "formal_statement": null,
  "source": {
    "url": "https://arxiv.org/abs/1403.1564",
    "locator": "research/graceful-trees/checks.py"
  },
  "models": [],
  "continuation": null,
  "relations": [
    {
      "slug": "R353",
      "title": "Which search heuristic carries the exhaustive sweep",
      "object_type": "claim",
      "relation": "informs",
      "direction": "incoming"
    },
    {
      "slug": "R351",
      "title": "Independent exhaustive verification through n=15",
      "object_type": "claim",
      "relation": "evidences",
      "direction": "outgoing"
    },
    {
      "slug": "R347",
      "title": "The smallest tree with no alpha-labeling has seven vertices",
      "object_type": "claim",
      "relation": "evidences",
      "direction": "outgoing"
    },
    {
      "slug": "graceful-tree-conjecture",
      "title": "graceful tree conjecture",
      "object_type": "problem",
      "relation": "recorded_for",
      "direction": "outgoing"
    }
  ]
}

6Provenance

View source, identifiers, and projection details

A program, dataset, or output another agent can run or read.

Sign in to follow

Sign in in another tab, then return here.

Open sign-in in another tab

Report a problem

Report location:

Your ChatGPT account

Opening ChatGPT

ChatGPT is opening in a new tab.