TheoremDB
R810artifactStatus: availableEvidence: ReproducedReplay: partialexhaustive over its scope

[#R810] Exact fixed-alphabet one-way-liveness replay

View replay

1Summary

A deterministic standard-library Python program checks singleton matrix contexts and interprets both the 3h-state four-symbol NFA and its at-most-9h-state binary decoder.

The program represents every Boolean matrix as a row-major integer. It compares a dense Boolean product, an integer-row-mask product, and direct cell extraction for the separator identity. Separate transition interpreters read the canonical four-symbol encoding and its uniform binary image, then compare both answers with the matrix-product oracle.

The default command enumerates all dimensions and word lengths stated in the bounded computation claim. It uses exact integer and Boolean operations, one process, no pseudorandom choices, no network, and no external service. A successful run prints one stable JSON document ending with `all_exact_checks_passed`.

Reproduced evidence. Recorded scope: all separator cases through h=4, one-block encodings through h=4, two-block encodings through h=3, and three-block encodings through h=2.

2Reproduce

Replay: partial

Part of the replay path is recorded. Check the missing fields before comparing a new run.

python3 tools/two_way_nfa_fixed_alphabet_replay.py
Entry point
tools/two_way_nfa_fixed_alphabet_replay.py
Runtime
CPython 3.9.6, standard library only
Dependencies
[ { "name": "CPython standard library", "license": "Python-2.0" } ]
Recorded runtime
179.75

Verification source: Repository file tools/two_way_nfa_fixed_alphabet_replay.py, source SHA-256 c27470826ecc9ad0af3fab2b4da557e8fbb65458026fe6cb03d04236f39b5467

Expected output

{
  "stdout_sha256": "6e54a03586dbf06927bfe7024c35332b0fefe34d26089e9ebf7cec5d6e1fefc2",
  "case_checksum_sha256": "5ba55e6f801be821d62ac69d290ef19aeaef384e59a9e896ab3b237a7ded5327",
  "separator_matrix_cell_cases": 1053250,
  "encoded_matrix_words": 332574,
  "binary_decoded_matrix_words": 332574,
  "three_block_matrix_words": 4104,
  "total_exact_cases": 1385824,
  "result": "all_exact_checks_passed"
}

Missing for a complete replay: source.

3What it produced

Peak resident bytes observed
15,679,488
Source license
CC0-1.0
Source sha256
c27470826ecc9ad0af3fab2b4da557e8fbb65458026fe6cb03d04236f39b5467
Source line count
466
Initial check plan impression id
tdbri2:b5fa933737858fa727205cc881b3483a5d55be5545b79f8aa4c544c3dc1abe9e
Refined check plan impression id
tdbri2:d5cfef3f741a14edf95e87f19f735cc94e53e9fb28479b872ce4e5b300eaef7d
Binary check plan impression id
tdbri2:0e474f8059477cff87bdf0097434780c2eea4aa9a473142fdb88fa1fe90716bc
Binary check plan response sha256
559710a6f96edc1850f9f85617a7bdcf6b0e200cad1e59801e55b047321f0c32

Time bound

wall clock seconds5 minutescpu seconds4 minutesaction on exceedingterminate and report the incomplete run

Memory bound

maximum resident bytes268,435,456resident check interval cases65,536action on exceedingterminate and report the incomplete run

Execution

date2026-07-28processorApple M4operating systemDarwin 25.2.0 arm64processes1threads1networknoneexternal servicesnonerandomnessnoneprecisionexact integer and Boolean arithmeticstoragerepository source and transient JSON stdout

4How it connects

Recorded for

5Agent packet

A compact handoff with the evidence boundary, replay manifest, and relation pointers.

View structured packet
json
{
  "schema": "theoremdb-agent-record-v1",
  "ref": "R810",
  "content_hash": null,
  "slug": "twnfa-artifact-fixed-alphabet-exact-replay",
  "type": "artifact",
  "title": "Exact fixed-alphabet one-way-liveness replay",
  "summary": "A deterministic standard-library Python program checks singleton matrix contexts and interprets both the 3h-state four-symbol NFA and its at-most-9h-state binary decoder.",
  "relevance": "For Polynomial determinization of two-way finite automata, record twnfa-artifact-fixed-alphabet-exact-replay (“Exact fixed-alphabet one-way-liveness replay”) supplies evidence or a replay used to check the packet. The record states: A deterministic standard-library Python program checks singleton matrix contexts and interprets both the 3h-state four-symbol NFA and its at-most-9h-state binary decoder.",
  "relevance_source": "recorded",
  "body": "The program represents every Boolean matrix as a row-major integer. It compares a dense Boolean product, an integer-row-mask product, and direct cell extraction for the separator identity. Separate transition interpreters read the canonical four-symbol encoding and its uniform binary image, then compare both answers with the matrix-product oracle.\n\nThe default command enumerates all dimensions and word lengths stated in the bounded computation claim. It uses exact integer and Boolean operations, one process, no pseudorandom choices, no network, and no external service. A successful run prints one stable JSON document ending with `all_exact_checks_passed`.",
  "status": "available",
  "evidence_grade": "executable",
  "scope": {
    "kind": "bounded",
    "statement": "all separator cases through h=4, one-block encodings through h=4, two-block encodings through h=3, and three-block encodings through h=2",
    "bounds": {
      "separator_h": {
        "min": 1,
        "max": 4
      },
      "one_block_h": {
        "min": 1,
        "max": 4
      },
      "two_block_h": {
        "min": 1,
        "max": 3
      },
      "three_block_h": {
        "min": 1,
        "max": 2
      }
    },
    "exhaustive": true
  },
  "reproduction": {
    "schema": "theoremdb-reproduction-v1",
    "readiness": "partial",
    "kind": "python_exact_boolean_matrix_and_nfa_replay",
    "command": "python3 tools/two_way_nfa_fixed_alphabet_replay.py",
    "entrypoint": "tools/two_way_nfa_fixed_alphabet_replay.py",
    "runtime": "CPython 3.9.6, standard library only",
    "citation": {
      "locator": "Repository file tools/two_way_nfa_fixed_alphabet_replay.py, source SHA-256 c27470826ecc9ad0af3fab2b4da557e8fbb65458026fe6cb03d04236f39b5467"
    },
    "dependencies": [
      {
        "name": "CPython standard library",
        "license": "Python-2.0"
      }
    ],
    "outputs": {
      "stdout_sha256": "6e54a03586dbf06927bfe7024c35332b0fefe34d26089e9ebf7cec5d6e1fefc2",
      "case_checksum_sha256": "5ba55e6f801be821d62ac69d290ef19aeaef384e59a9e896ab3b237a7ded5327",
      "separator_matrix_cell_cases": 1053250,
      "encoded_matrix_words": 332574,
      "binary_decoded_matrix_words": 332574,
      "three_block_matrix_words": 4104,
      "total_exact_cases": 1385824,
      "result": "all_exact_checks_passed"
    },
    "runtime_seconds": 179.75,
    "missing": [
      "source"
    ]
  },
  "formal_statement": null,
  "source": {
    "url": null,
    "locator": "Repository file tools/two_way_nfa_fixed_alphabet_replay.py, source SHA-256 c27470826ecc9ad0af3fab2b4da557e8fbb65458026fe6cb03d04236f39b5467"
  },
  "relations": [
    {
      "slug": "R814",
      "title": "The separator and encoded NFAs pass 1,385,824 unique finite inputs",
      "object_type": "claim",
      "relation": "evidences",
      "direction": "outgoing"
    },
    {
      "slug": "two-way-nfa-polynomial-determinization",
      "title": "two way nfa polynomial determinization",
      "object_type": "problem",
      "relation": "recorded_for",
      "direction": "outgoing"
    }
  ]
}

6Provenance

View source, identifiers, and projection details
Project
two-way-nfa-polynomial-determinization-research
Locator
Repository file tools/two_way_nfa_fixed_alphabet_replay.py, source SHA-256 c27470826ecc9ad0af3fab2b4da557e8fbb65458026fe6cb03d04236f39b5467
License
CC0-1.0
Public record
R810
Stable alias
twnfa-artifact-fixed-alphabet-exact-replay
Projection
Reproduction fields are derived from the immutable record.

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

Report a problem

Your ChatGPT account

Opening ChatGPT

ChatGPT is opening in a new tab.