Skip to content

RH-CRYPTO-26 / RH-05: exact finite-field count-to-find negative-control gym - #64

Draft
patrickdugan wants to merge 5 commits into
mainfrom
research/rh-crypto26-count-to-find-20261122
Draft

patrickdugan wants to merge 5 commits into
mainfrom
research/rh-crypto26-count-to-find-20261122

Conversation

@patrickdugan

Copy link
Copy Markdown
Contributor

Adds

An exact affine finite-field gym where each two-variable equation has p solutions over F_p². The count stays constant while lexicographic first-witness search ranges from 1 to p²-p+1; an explicit algebraic solver constructs a witness in one query. Computes the exact worst-case bound and negative-hypergeometric random-query expectation, verifies counts by exhaustive enumeration, and scores explicit point-query sequences.

Scientific boundary

This is a finite exact control that demonstrates why a point-count estimate does not imply a cheap given search procedure. It does not establish hardness for affine systems, Semaev, cryptographic signatures, or stronger GRH. Independent units, source hashes, evidence classification and confirmation-phase sealing are recorded.

Reproduction

PYTHONPATH=src python -m pytest -q tests/test_rh_count_to_find.py
PYTHONPATH=src python scripts/verify_rh_count_to_find.py --phase dev --output output/rh_count_to_find/dev.json

Draft pending external CI.

Comment on lines +22 to +39
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install EvalMath test requirements
run: python -m pip install -e ".[test]"
- name: Exact finite domain tests
run: python -m pytest -q tests/test_rh_count_to_find.py
- name: Generate development-only receipt
run: PYTHONPATH=src python scripts/verify_rh_count_to_find.py --phase dev --output output/rh_count_to_find/dev.json
- uses: actions/upload-artifact@v4
with:
name: rh-count-to-find-development
path: output/rh_count_to_find/dev.json
if-no-files-found: error

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants