Add the compiled certificate checker and the corpus survey pipeline - #3
Merged
samtalki merged 4 commits intoAug 15, 2026
Merged
Conversation
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
force-pushed
the
agent/certificate-checker
branch
from
August 14, 2026 17:42
6d645f8 to
2b1e1b8
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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, theQPFMODEL/QPFCERT/QPFPOLICYparsers, compile time#guardvectors, the soundness theoremaccepted_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 isINCONCLUSIVEand claims nothing.scripts/qpf-certandscripts/qpf-checkwrap the PowerIO exporter and the checker. Example vectors live intest-data/certificate/.run_survey.py,validate_survey.py,survey_cases.toml) retains deterministic artifacts underexperiments/resultswith checksum and derived file gates.TreeDecompositionandCounterexamplesdevelopments, andPaperClaims.leanpins the 17 public wrappers.Verified locally:
lake build PowerFlowLimits --wfail, the PaperClaims/Challenge builds,qpf-checkaccepts the retained path4 vectors, and the claim manifest gate passes.🤖 Generated with Claude Code