Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

GenesisDiscovery

A research tool for relations among constants and formulas for constants. The current domain searches integer relations and polynomial continued fractions (PCFs). Algebraic identities and inequalities are later goals.

A candidate has no evidence level. A relation has one level: numeric, known, proved, or checked. The current pipeline grants numeric after fresh 200 and 400 digit checks. Each check saves the actual residual. A numeric check is not a proof. Dictionary hits are possible matches. They do not grant known without an exact certificate. No result is claimed as new.

Start

Requires uv and Python 3.12.

uv sync
uv run genesis doctor
uv run genesis run configs/relations.yaml

The command prints a run ID. Use it in the report command:

uv run genesis report RUN_ID --store results/discovery.sqlite
uv run genesis dashboard

The dashboard reads all discovery.sqlite files under results/. It refreshes every 10 seconds and shows saved run states and task counts. Use --store PATH to select one database or another results directory.

The database is new-format only. An old-format database gives an error and stays unchanged. Use an empty workspace or a new --store path. Old results are not imported.

Configuration and data

  • YAML defines an experiment. The run saves the full configuration and code snapshot.
  • SQLite holds formulas, candidates, origins, checks, tasks and evidence.
  • JSON and JSONL exchange the same records without loss of numerical precision.
  • Files under results/artifacts/sha256/ hold snapshots and source files by content hash.

Back up the database and its artifacts together. See docs/storage.md for fields and encoding rules.

uv run genesis run --resume RUN_ID --store results/discovery.sqlite
uv run genesis verify CANDIDATE_ID --store results/discovery.sqlite
uv run genesis export --store results/discovery.sqlite --out export/data.jsonl --format jsonl
uv run genesis import export/data.jsonl --store fresh/discovery.sqlite
uv run genesis dashboard --store results/discovery.sqlite --out dashboard.html

Resume requires the same source, selected configuration, dependencies and check rule. The full archive retains all experiment files. Unrelated configuration files do not block resume. It retains the time budget already used. It retries unfinished tasks. A fresh verify command adds a check without changing earlier checks. A run can complete with failed or inconclusive checks. Inspect its report for those results. Rule v3 retains the zero-residual retries with up to 120 guard digits. A residual that is still zero is inconclusive. Nonzero residuals give measured digits. PCF evaluation compares half-depth and adjacent-depth convergents. Positive constant coefficients have an exact interval for the limit. Other PCF convergence checks do not supply a rigorous error bound. The interval does not bound rounding in the remaining candidate calculation. Rule v1/v2 records remain readable and unchanged.

Generators: relations, pcf_box, apery, general, fast, quadlin, cmf, and pfq3. fast supports numerator root shifts. PSLQ and LLL use the same candidate records. Configurations include controls and bounded discovery campaigns. See CMF searches and 3F2 paths.

The full dictionary text is a local research source. It is not included in this repository. See dictionary setup.

To save dictionary hints, with the parameter range recorded:

uv run genesis known CANDIDATE_ID --store results/discovery.sqlite \
  --dictionary data/known/cohen_dictionary.txt

Exact scaling certificates are available through Repository.save_scaling. They record the affine value map and replay every coefficient identity. They do not grant a relation level. Dictionary hints still require a complete certificate linking the candidate equation to its source. Target-formula proof replay and automatic literature review are not implemented. CMF and 3F2 tasks use the shared experiment driver and save exact construction audits.

Development

OMP_NUM_THREADS=1 uv run pytest
uv run ruff format .
uv run ruff check .
uv run mypy
uv run mypy --strict src/genesis/core
uv run pre-commit run --all-files

At most 48 workers are allowed. Each run has at most 32 CPU hours. A conservative wall time limit also stops long tasks. CPU time is measured on Linux. See PLAN.md for progress and AGENTS.md for project rules.

License

MIT. See LICENSE.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages