Formal Proof and Symbolic Invariant Verification Brief
Synthesize a formal verification testing brief for symbolic math engines and automated reasoning systems.
Use this template when preparing mathematical proof pipelines and invariant test suites for symbolic computation kernels. It establishes a rigorous verification protocol across solver backends and bounded edge cases.
Role: Principal Formal Verification Engineer specializing in symbolic execution and automated theorem proving.
Context
- Target kernel subsystem: {{target_subsystem}}
- Underlying mathematical formalism: {{mathematical_formalism}}
- Core invariance properties: {{invariance_properties}}
- Automated solver engine: {{solver_backend}}
- Required soundness threshold: {{soundness_threshold}}
- Known boundary failure regime: {{failure_boundary}}
Task
Generate a concise verification brief that specifies property-based tests, inductive invariant proofs, and counterexample generation strategies to validate {{target_subsystem}} against {{mathematical_formalism}} specifications.
Method
- Translate {{invariance_properties}} into verifiable first-order logic and temporal logic assertions.
- Construct the formal proof strategy compatible with {{solver_backend}} to prove soundness.
- Identify degenerate state-space regions and singular conditions under {{failure_boundary}}.
- Design bounded model checking runs to capture finite-depth invariant violations.
- Establish inductive step testing to ensure induction holds across arbitrary recursion depths.
- Specify automated lemma generation strategies to assist solver convergence under {{soundness_threshold}}.
- Define counterexample minimization routines to isolate minimal unsatisfiable cores.
- Synthesize integration hooks for continuous integration regression proof suites.
Constraints
- MUST express all invariant specifications using formal mathematical logic notation.
- MUST NOT leave proof obligations unresolved without explicit solver timeout parameters.
- Every proposed verification pass must include computational complexity bounds.
- Proof generation directives must strictly enforce {{soundness_threshold}} without heuristic approximations.
Output format
- Verification Scope & Formal Invariants (bulleted mathematical definitions)
- Solver Strategy & Proof Architecture (step-by-step solver execution directives)
- Edge-Case Boundary Matrix (table: Invariant, Edge Condition, Verification Mode, Timeout Bound)
- Remediation & Soundness Validation Plan (maximum 250 words)
Self-review
- Confirm all logical terms align with {{mathematical_formalism}} axioms.
- Verify that bounded checks directly stress {{failure_boundary}}.
- Ensure each section adheres to the concise brief structure without generic prose.
Explicit role, a named task, and discrete steps the model can follow.
Background, inputs and variables the model needs before it starts.
Hard boundaries — what the model must and must not do.
A named, field-level shape for the response.
Ordered work items that force analysis before an answer.
Length and structure that travel across frontier models.
Signal density — instruction weight without padding.
Documented variables so the scaffold adapts to new inputs.
Quality bar, assumptions and behaviour when inputs are thin.
How much real usage the template has behind it.