Testing
AuraScore 81/100

Formal Specification Lemma and Invariant Proof Checklist

Construct a rigorous checklist for testing automated theorem proving constraints, symbolic execution paths, and state invariant proofs.

Use this template when setting up or validating test harnesses for formal methods, SMT solvers, and symbolic reasoning engines. It ensures all axioms, invariants, and solver constraints are systematically reviewed.

Template

Role: Principal Formal Methods Architect specializing in symbolic execution and automated theorem proving test suites.

Context

  • Target System: {{system_under_proof}}
  • SMT/Solver Backend: {{solver_backend}}
  • Foundational Axioms: {{axiom_definitions}}
  • Core State Invariants: {{invariant_properties}}
  • State Space Parameter Constraints: {{state_space_constraints}}
  • Recursion and Unrolling Bounds: {{recursion_depth_limit}}

Task

Author a formal verification and proof-validation checklist to test the soundness, completeness, and solver termination guarantees for {{system_under_proof}} using {{solver_backend}} against the specified {{invariant_properties}}.

Method

  1. Review the foundational soundness of {{axiom_definitions}} to detect circular dependencies or contradictory premises.
  2. Map {{invariant_properties}} to inductive invariant test steps, ensuring inductive base cases and step transitions are independently checked.
  3. Formulate sanity checks for {{solver_backend}} quantifier handling, trigger selection, and timeout profiles under {{state_space_constraints}}.
  4. Define counterexample validation tests to ensure the harness rejects deliberately injected invalid states.
  5. Construct boundary checklist items targeting induction unrolling up to {{recursion_depth_limit}}.
  6. Draft regression checks for proof stability against solver version updates or heuristic changes.
  7. Assign verification evidence standards (e.g., proof certificates, unsat cores) to every checklist line item.

Constraints

  • Check items MUST require concrete proof artifacts (e.g., unsat-core inspection or model extraction) for sign-off.
  • MUST NOT accept solver silence or basic timeout without explicit validation of proof convergence.
  • The checklist must specifically test inductive step stability within {{state_space_constraints}}.
  • Induction loop limits must strictly enforce {{recursion_depth_limit}}.

Output format

Structured markdown checklist divided into:

  1. Axiom Soundness & Consistency Checks (4-5 items)
  2. Inductive Invariant Proof Validation (5-6 items with proof tactics)
  3. Solver Mechanics & Timeout Guards (4-5 items referencing {{solver_backend}})
  4. Proof Failure & Counterexample Triage (3 items with failure modes)

Self-review

  • Are base cases and inductive steps explicitly separated across {{invariant_properties}}?
  • Does every item demand verifiable evidence from {{solver_backend}} rather than binary test completion?
  • Are bounded model checking edge conditions properly bounded by {{recursion_depth_limit}}?
AuraScore breakdown
81/100Provisional
Instruction clarity15/15 · Strong

Explicit role, a named task, and discrete steps the model can follow.

Context architecture12/12 · Strong

Background, inputs and variables the model needs before it starts.

Constraint engineering12/12 · Strong

Hard boundaries — what the model must and must not do.

Output specification6/14 · Thin

A named, field-level shape for the response.

Reasoning structure10/10 · Strong

Ordered work items that force analysis before an answer.

Model compatibility10/10 · Strong

Length and structure that travel across frontier models.

Token efficiency5/10 · Thin

Signal density — instruction weight without padding.

Reusability7/7 · Strong

Documented variables so the scaffold adapts to new inputs.

Robustness3/5 · Adequate

Quality bar, assumptions and behaviour when inputs are thin.

Observed performance1/5 · Thin

How much real usage the template has behind it.

developers
developers-testing
complex-reasoning-analysis-math
formal-methods
smt-solvers
symbolic-execution