Regina-Field-Toolkit

Regina Field Toolkit (Sequence-Based Release)

This toolkit provides feature extraction and analysis utilities for studying structural properties of prime numbers using the Regina Field framework.

Legacy Version

For the previous digit-based feature extraction approach, see:

README_legacy.md


Overview

The toolkit computes structural features derived from prime step sequences, including:

These features define an embedding of primes into a curvature–entropy feature space, which is used for structural analysis of prime distributions.


Feature Extraction

Script: extract_sequence_features.py

This script processes a CSV of candidate numbers and computes:


Input Format

The input CSV must contain a column named:

Candidate

Each row should contain an integer value.


Usage

python extract_sequence_features.py --input known_primes.csv --output enriched_output.csv

Output

The output CSV will include:

Candidate, MotifSum, Entropy, Curvature, ...

This output is compatible with downstream Regina Field analysis pipelines.


Methodology Summary

The sequence-based approach differs from earlier versions by operating on prime step sequences rather than digit patterns.

Key aspects include:

This produces a structured representation of primes in feature space.


Important Note on Versions

This release introduces a sequence-based feature extraction method.

Previous versions of the toolkit used a digit-based approach.
Those versions are preserved for transparency but are not used in current analyses.


Relation to Regina Field Paper

The results presented in:

The Regina Field: Discrete Entropy-State Structure in Prime Distributions and Its Relationship to Prime Counting Error

were generated using this version of the toolkit.


Changelog

v2.0-sequence-regime

v1.x (legacy)


License

License: MIT


Contact

middlebrookstech@gmail.com