Scientific code for Training and Inference Dynamics of PLDR-LLMs: Row-Map Collapse, Renormalization, and Predictive Reduction, by Burc Gokden.
- Monograph: arXiv Paper.
- Code: GitHub repository.
- Numerical evidence: Hugging Face dataset.
- Citation: CITATION.cff.
This repository provides selected Lean developments, scientific implementations, numerical reducers, experiment producers, protocols and tests. No private manuscript checkout is required. The chapter guide links the monograph's subjects to the stable scientific namespaces.
The scientific suites were checked with Python 3.14.6 and the dependencies in
requirements-checks.txt. The evidence reader uses only the Python standard
library and supports Python 3.11 or later. Native acquisition has additional
producer-specific dependencies and requires supplied model/corpus assets.
Use a fresh Python 3.14.6 virtual environment and install the CPU PyTorch build before the remaining dependencies:
python3 -m pip install torch==2.12.1+cpu --index-url https://download.pytorch.org/whl/cpu
python3 -m pip install -r requirements-checks.txt
python3 scripts/verify_scientific_manifest.py
python3 scripts/check_formal_manifest.py
python3 scripts/run_scientific_checks.py
python3 scripts/check_process_boundaries.py
python3 scripts/check_campaign_budget.py
python3 scripts/check_resource_execution.py
lake build
python3 scripts/check_lean.pyLean is pinned to leanprover/lean4:v4.33.0-rc1 and Mathlib to
9c0c555bde5a8277cd36dc4dc6dfe2a5a77a2b11. Lake obtains the public pinned
packages. lake exe cache get can supply the dependency cache before building.
check_lean.py --dependency-cache PATH can use an existing matching third-party
cache and rebuilds all owned modules from source. It exports the referenced
types and permits only propext, Classical.choice and Quot.sound as
transitive axiom dependencies, with negative controls. The statement manifest
records partial coverage; compilation does not establish all analytical or
native-program assumptions in the monograph.
The test runner discovers the shipped scientific tests. Publication builders,
renderers and their dependent fixtures are excluded explicitly in
provenance/export-disposition.json, rather than counted as passes. Mixed
source modules retain separable numerical functions. Only the documented
entry points are supported as command-line workflows. Older source utilities
have narrower support, recorded in provenance/supported-programs.json.
The scientific manifest binds prepared file contents independently of Git
history. Its base checkout head is not the identity of uncommitted changes.
Validation output is written beneath validation/ and build/.
Follow the dataset card's pinned HTTPS download recipe
to obtain regular evidence files with Git LFS, then run sha256sum -c SHA256SUMS
inside that checkout. The supported public dataset revision is
f03c292a227e58a03d145d478103f587d98a8c8a (about 53.7 MB compressed objects).
The reader itself needs only the Python standard library. Keep extraction and
validation outputs outside the dataset root; pointer-only clones and Hub cache
directories do not satisfy its strict inventory and integrity contract.
All readers and verification code reside here; the dataset contains only
records, indexes, dictionaries and metadata.
python3 scripts/verify_evidence.py --data-repo /path/to/data-repo
python3 scripts/read_evidence.py --data-repo /path/to/data-repo --list
python3 scripts/verify_evidence.py --data-repo /path/to/data-repo --extract /tmp/pldr-evidenceThe dataset preserves reported numerical values, complete outcome grids, controls, source-selection identities and uncertainty summaries. Local path metadata is normalized and exported records have new hashes. The coverage index distinguishes numerical summaries, printed table values and raw inputs that are not included. Integrity checking is not independent replication.
The statement index also records destinations in the published arXiv v1 PDF, bound to that artifact's SHA-256. The published-PDF check verifies all 263 destinations and their PDF pages while retaining the original-build metadata.
Use CITATION.cff or GitHub's Cite this repository menu
for the preferred monograph citation, which identifies arXiv version 1.
For reproducible code use, also record the exact Git commit and
scientific-manifest.json payload SHA-256. Manuscript and software versions
are separate identifiers.
python3 scripts/run_source.py rg scripts/run_synthetic_rg.py --output /tmp/synthetic-rg.json
python3 scripts/run_source.py model scripts/check_consuming_bridge.py --output /tmp/consuming.json
python3 scripts/run_source.py model scripts/run_cache_state_transfer.py --validate-worker--data-root PATH on run_source.py sets PLDR_DATA_ROOT; family inputs then
resolve beneath FAMILY/research/. MODEL_RG_DATA_ROOT, PLDR_ROW_DATA_ROOT
and PLDR_RG_DATA_ROOT select family roots directly. PLDR_REFINEDWEB_ROOT
selects a read-only corpus. The documented data and code roles
are acquisition roles resolved by companion_paths, not machine mounts.
Large arrays, weights, optimizer states and corpus tokens are external inputs.
Execution instructions specify the thirty-cell raw-cache reconstruction and its hash-bound input graph. Resource accounting distinguishes bounded process supervision from cumulative campaign admission. Bounded dispatch checks do not run model forwards or training. Single-pass consumption of distinct registered RefinedWeb target blocks is the primary training law. Repeated-corpus controls retain their separate interpretation.
License and attribution notices accompany the retained materials. The root
license does not override third-party terms. Pinned native architecture and
tokenizer assets retain their upstream identities in vendor/native/.
Runtime diagnostics and native cache-position semantics are documented in docs/COMPATIBILITY.md.
Power Law Graph Attention and PLDR-LLMs: Mathematical Foundations, Training Dynamics, and Predictive Inference, by Burc Gokden, is commercially published. Its Book Companion provides book-specific code, correspondence and edition-to-release guidance. This repository's existing paper/monograph citation retains its original scope.
RELEASE.md documents the CPU release gate, immutable inputs, execution records, separate Lean/GPU scopes and preparation of reviewed tags.
The dataset index provides the supported descriptive record identities.
Normalized metadata uses pldr-data: identities for indexed public evidence,
pldr-code: identities for shipped source files, and explicitly unavailable
identities for raw inputs that are not distributed. Consult the dataset
public-references.json catalogue for their meaning. These identifiers are
not local filesystem paths. Original acquisition hashes are retained in
normalization.json; derived records are not new acquisition authorizations.
Historical source and data releases retain their original byte identities. Current normalized exports are documentation and analysis evidence. Reconstructing an original acquisition requires its exact raw inputs and the matching historical software release. Unsupported historical aliases are not silently resolved.
Runtime code and data locations are selected through the documented root
environment variables. Workflows needing additional raw inputs use
PLDR_NAMED_INPUTS, the path to a caller-supplied JSON file mapping the requested semantic
input names to existing absolute paths. Missing inputs fail explicitly.
Archived publication-verification utilities additionally request generated-evidence
and publication-source explicitly when needed. These are external inputs, not
files promised by this source checkout. The potential-study verifier writes its
execution record to the required --execution-output destination.
Relative output names inside campaign specifications describe files generated by the public experiment producers within a caller-selected run directory. They are part of the experiment interface, not links to files included in this checkout or claims that the corresponding raw run has been distributed.