Skip to content

Add the compiled certificate checker and the corpus survey pipeline - #3

Merged
samtalki merged 4 commits into
agent/powerio-integration-reviewfrom
agent/certificate-checker
Aug 15, 2026
Merged

samtalki merged 4 commits into
agent/powerio-integration-reviewfrom
agent/certificate-checker

Conversation

@samtalki

Copy link
Copy Markdown
Member

Adds qpf-check, a one sided checker for the full angle vector readout policy, compiled from Lean through the C backend, together with the corpus survey pipeline that replaces the five case scripts.

  • PowerFlowLimits/Certificate/ holds the exact rational kernel, the QPFMODEL/QPFCERT/QPFPOLICY parsers, compile time #guard vectors, the soundness theorem accepted_no_advantage_sound, and the executable entry point. Acceptance replays the exact cut lower bound on the DC Laplacian condition number and composes it with the policy constants; rejection is INCONCLUSIVE and claims nothing.
  • scripts/qpf-cert and scripts/qpf-check wrap the PowerIO exporter and the checker. Example vectors live in test-data/certificate/.
  • The survey pipeline (run_survey.py, validate_survey.py, survey_cases.toml) retains deterministic artifacts under experiments/results with checksum and derived file gates.
  • Planarization-era modules are replaced by the TreeDecomposition and Counterexamples developments, and PaperClaims.lean pins the 17 public wrappers.

Verified locally: lake build PowerFlowLimits --wfail, the PaperClaims/Challenge builds, qpf-check accepts the retained path4 vectors, and the claim manifest gate passes.

🤖 Generated with Claude Code

samtalki and others added 2 commits August 14, 2026 11:24
qpf-check is a one sided checker for the full angle vector readout policy, compiled from Lean through the C backend. PowerFlowLimits/Certificate holds the exact rational kernel, the QPFMODEL/QPFCERT/QPFPOLICY parsers, the soundness theorem accepted_no_advantage_sound, and the executable entry point. Acceptance replays the exact cut lower bound on the DC Laplacian condition number and composes it with the policy constants; rejection is INCONCLUSIVE and claims nothing. scripts/qpf-cert and scripts/qpf-check wrap the PowerIO exporter and the checker; example vectors live in test-data/certificate.

The corpus experiments move from the five case scripts to the 78 case survey pipeline: run_survey.py, validate_survey.py, survey_cases.toml, and the retained deterministic artifacts under experiments/results. Planarization-era modules are replaced by the TreeDecomposition and Counterexamples developments, and PaperClaims.lean pins the public wrapper surface fixed in paper_claims.toml.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@samtalki
samtalki force-pushed the agent/certificate-checker branch from 6d645f8 to 2b1e1b8 Compare August 14, 2026 17:42
@samtalki
samtalki merged commit ba9112b into main Aug 15, 2026
3 checks passed
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.

1 participant