AGENT SKILL

accepted-proof-exact-retune

Extract the exact integer dependency model of an accepted Proximity Prize proof, search for the smallest strict 0.01 score step with replayable arithmetic, and formalize only the deltas that survive an independent exact check.

License 许可
MIT
最近更新
2026-10-30
Stars
★ 4
Forks
3

01 前言 Front Matter

name
accepted-proof-exact-retune
description
Extract the exact integer dependency model of an accepted Proximity Prize proof, search for the smallest strict 0.01 score step with replayable arithmetic, and formalize only the deltas that survive an independent exact check.

02 资源文件 5

03 SKILL.md 正文

Accepted proof exact retune

Use this skill when the current accepted proof architecture is fixed and the remaining question is whether a source-faithful integer parameter change can gain at least one centibit. It is not a license to treat proof constants as independent knobs.

Snapshot the accepted proof

Refresh and pin the accepted source before modeling. Then capture the actual Solution.lean import closure:

python3 scripts/snapshot_accepted_proof.py \
  --project-root /absolute/path/to/accepted-checkout \
  --entry ProximityPrize/SubmissionLower/Solution.lean \
  --submission-dir ProximityPrize/SubmissionLower \
  --output /absolute/path/to/accepted-proof-snapshot.json

The snapshot records Git state, exact score and radius, proof root, imported file hashes, direct imports, literal inventories, and simple integer bindings. A lexical literal inventory is not the mathematical model; use it to find the source of each equation and constraint.

Build the exact model

Create a JSON model following references/model-schema.md. Every constant, parameter, derived expression, constraint, and objective needs a file:line source anchor inside the captured proof closure.

Model the accepted parameter point first. The helper rejects the model unless its baseline objective equals both the snapshot score and accepted_score_centibits. Use integers only. /, floating-point literals, approximate logarithms, and unbounded calls are rejected.

Search the first strict step

python3 scripts/exact_retune.py search \
  --spec /absolute/path/to/model.json \
  --snapshot /absolute/path/to/accepted-proof-snapshot.json \
  --output /absolute/path/to/retune-receipt.json

For a maximizing track, the search chooses the smallest score at or above accepted + required_step, then the smallest exact L1 parameter distance from the accepted point. It enumerates the declared finite domain and fails before work begins if the case limit is exceeded.

Replay before using a result:

python3 scripts/exact_retune.py check \
  --receipt /absolute/path/to/retune-receipt.json

RCI loop

  1. Inspect: accepted source, proof closure, exact baseline evaluation, and first qualifying cell.
  2. Critique: find one missing coupling constraint, stale source anchor, truncated division, or parameter declared free despite being derived.
  3. Improve: add the smallest source-backed correction to the model.
  4. Verify: replay the exact receipt and independently recompute the winning cell.

If a correction removes the win, preserve the failed receipt and close that retune. Do not tune the model to recover the desired result.

Promotion boundary

An exact retune receipt is exploration evidence. Only after it survives replay should a proof author change the accepted source. Then use $fast-lean-proof-loop for the edit cycle and $lean-arklib-proofs for the full target build, axiom audit, source policy, and evaluator gate. Formalize the smallest successful delta; do not pre-build a family of speculative Lean variants.

04 同仓库更多 Skills

odinfree
odinfree/storm-ecdsa-harness

verify-research-transfer

Check whether a literature finding supports a proposed performance optimization. Read the primary figures and the implementation source, then run a cheap falsifier before writing code or benchmarks.

★ 4
odinfree
odinfree/storm-ecdsa-harness

verify-paired-native-measurements

Audit the process, sample and archive evidence behind paired native benchmarks, especially wrappers around an unchanged official client. Use before admitting benchmark results or when reviewing the controller that produced them. Ordinary unit tests do not need this.

★ 4
odinfree
odinfree/storm-ecdsa-harness

squares-in-squares-campaign

Pack n = 1..1000 unit squares into the smallest square (Kaggle "Squares in Squares", score sum L/sqrt(n) - 1). Use when improving, certifying or submitting packings, or when choosing the next search route. Covers the official-metric gates, the solver and MIS tools, the structure of the frontier, and the routes measured dead. The competition closed on 25 Oct 2026.

★ 4
odinfree
odinfree/storm-ecdsa-harness

shot-autopsy

When a candidate fails shots its parent passes, find the structural cause before any nonce search. Reconstruct the exact failing shot, localize the first divergence, repair it by paying precision, and keep the case as a permanent regression. Learned from bulengerk's ecdsa.fail rows. Use when an edited candidate fails shots its parent passed, or when counts drift between builds.

★ 4
odinfree
odinfree/storm-ecdsa-harness

send-to-claude-fable

Send a bounded task or review packet to the local Claude Code CLI on the Fable model and bring back its verdict. Use when you want an independent second opinion from a different model.

★ 4
odinfree
odinfree/storm-ecdsa-harness

rust-archive-build-binding

Prevent stale Cargo artifacts when a source archive is restored over a reused Rust target directory. Use for reproducible benchmark comparisons and for moving source archives between machines.

★ 4