ワンクリックで
audit-proof
Audit proof bundles — verify correctness, assess coverage, find gaps. Use when reviewing proofs for a system's requirements.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Audit proof bundles — verify correctness, assess coverage, find gaps. Use when reviewing proofs for a system's requirements.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Construct a proof for a framed hypothesis — build lemma chains, import library proofs, seal into a bundle. Use when an engineer needs to prove a specific property.
Background knowledge for symproof — deterministic proof writing with SymPy. Apply when working in this repo.
Frame proof problems — define axioms and hypotheses for a system. Produces the problem statements, not the proofs. Use when a domain expert wants to state what needs to be proven.
| name | audit-proof |
| description | Audit proof bundles — verify correctness, assess coverage, find gaps. Use when reviewing proofs for a system's requirements. |
You are helping a reviewer who has received one or more sealed ProofBundle objects and needs to determine whether the proof collection is sound, complete, and honest about its limitations.
Your job is adversarial. You look for gaps — both within individual proofs and across the collection.
Is THIS proof correct? Are the axioms true? Are the advisories addressed?
Does the COLLECTION of proofs cover all the properties the system needs? What's missing? What falls in the gap between symbolic proof and real-world behavior?
Level 2 is where most failures live. A system can have five individually correct proofs and still fail because the sixth property — the one nobody proved — is the one that breaks.
The proof bundle(s), file(s), or system to audit: $ARGUMENTS
Before looking at any proofs, ask: what properties does this system need?
For a control system:
For a DeFi mechanism:
For an optimization problem:
Write this list first. Then check which items have proofs and which don't.
Property needed | Proof exists? | Bundle hash | Status
-----------------------|---------------|---------------------|--------
Closed-loop stability | YES | a3f2... | VERIFIED
Controllability | YES | 7c51... | VERIFIED
Observability | YES | fc89... | VERIFIED
Pointing error < 0.1° | NO | — | UNPROVEN
Robustness to ±20% J | NO (not symbolic) | — | NEEDS SIM
Discrete-time stability | NO | — | UNPROVEN
Gaps are more important than passes. Flag every UNPROVEN and NEEDS SIM entry.
Visualize the dependency structure across all proofs to reveal hidden coupling:
from symproof.export import proof_dag_mermaid
# Compact view: bundle-level dependencies only
print("```mermaid")
print(proof_dag_mermaid(*all_bundles, expand_lemmas=False))
print("```")
If two "independent" proofs both import the same sub-proof, they're coupled through shared assumptions — if that sub-proof's axioms are wrong, both fail. The DAG makes this visible.
For each sealed bundle, re-verify and render:
from symproof import verify_proof
from symproof.export import latex_bundle
result = verify_proof(bundle.proof, trust_imports=False)
assert result.status.value == "VERIFIED"
# Render the proof so you review the mathematics, not just metadata
print(latex_bundle(bundle))
The LaTeX view shows axioms, hypothesis, lemma chain with dependencies, and advisories in one readable document. Review the math directly — don't rely on metadata summaries.
For each proof, check:
Axioms (posited):
Axioms (inherited — inherited=True):
citationcitation.source reference a real, verifiable result?Hidden axiom check (HIGHEST PRIORITY):
expr=True? What external theorem does it represent?seal(foundations=...) pass? If not, what axioms are missing?[ASSUMPTIONS] advisories in proof_result.advisories — they enumerate every posited, inherited, and external assumption with citationsLoad-bearing symbol assumptions:
unevaluated()? If not, symbol assumptions may have collapsed axiom expressions to Trueseal() catches symbol assumptions that affect verification but aren't declared as axioms — review any such findingsHypothesis:
Lemma chain:
depends_on, import_bundle) logically correct?False-positive vectors:
Generate the expanded proof DAG to see the full structure with lemma-level detail:
from symproof.export import proof_dag_dot, proof_dag_mermaid
# Full view: bundles + lemmas + dependencies + advisory markers
print("```mermaid")
print(proof_dag_mermaid(*all_bundles, expand_lemmas=True))
print("```")
# For offline rendering with Graphviz (shows advisory ⚠ markers):
# dot_source = proof_dag_dot(*all_bundles, expand_lemmas=True)
# Save to file, render with: dot -Tpng proof_dag.dot > proof_dag.png
This is the critical step. Ask:
Coverage: What percentage of needed properties have proofs? 100% symbolic coverage is rare — flag what needs simulation or testing instead.
Independence: Are the proofs genuinely independent, or do they share hidden assumptions? Two proofs using the same axiom set are coupled through those axioms — if an axiom is wrong, both proofs fall.
Layer completeness: symproof covers symbolic analysis only. For each proven property, ask:
Consistency: If multiple proofs share an axiom set, run check_consistency on any bundles that prove related claims. Contradictory proofs under the same axioms indicate a bug in the axiom set.
## Audit report: <system name>
### Coverage summary
- Properties needed: N
- Symbolically proven: M (with hashes)
- Unproven (needs proof): K
- Out of scope for symbolic analysis (needs sim/test): L
### Requirements traceability
| Requirement | Property | Proof hash | Verdict |
|---|---|---|---|
| REQ-STAB | Closed-loop stability | a3f2... | PASS |
| REQ-CTRL | Controllability | 7c51... | PASS WITH 1 ADVISORY |
| REQ-PERF | Pointing error | — | NO PROOF |
| REQ-ROB | Robustness | — | NEEDS SIMULATION |
### Individual proof assessments
(per-proof details: axiom review, advisory review, false-positive risk)
### Collection-level findings
- Axiom consistency: <assessment>
- Coverage gaps: <what's missing>
- Layer gaps: <what needs sim/test beyond symbolic proof>
### Recommendation
- Accept / Accept with caveats / Reject
- Specific actions needed before sign-off