Generate executable code together with formal proofs certifying safety and correctness properties in Isabelle/HOL or Coq. Use when building verified software, safety-critical systems, or when formal guarantees are required. Produces code with accompanying proofs for memory safety, bounds checking, functional correctness, invariant preservation, and termination. Supports extraction to OCaml/Haskell/SML and integration with existing codebases.
93
92%
Does it follow best practices?
Impact
92%
1.01xAverage score across 3 eval scenarios
Passed
No known issues
Isabelle memory safety & code extraction
safe_nth bounds lemma
100%
100%
safe_nth option type
100%
100%
safe_div None for zero
100%
100%
safe_div correctness lemma
100%
100%
safe_head non-empty proof
100%
100%
export_code syntax
83%
100%
export_code targets functions
100%
100%
Theory structure
100%
100%
Proof summary document
100%
100%
Safety via option types
100%
100%
Proof completion markers
100%
100%
Coq extraction customization & Program framework
Coq Extraction command
100%
100%
Extraction Language OCaml
0%
0%
Extract Inductive nat
66%
100%
Extract Constant arithmetic
50%
100%
Specification function
40%
40%
Termination proof mechanism
100%
50%
Correctness theorem
100%
100%
Require Extraction import
100%
50%
Extraction notes file
100%
100%
No Isabelle syntax
100%
100%
Refinement-based workflow & invariant preservation
Abstract specification
83%
100%
Concrete implementation
100%
100%
Refinement/correctness proof
100%
100%
BST invariant predicate
100%
100%
Invariant preservation proof
100%
100%
Code extraction command
100%
100%
Correct extraction syntax
100%
100%
Design notes refinement steps
100%
100%
BST datatype definition
100%
100%
Ordering in invariant
100%
100%
0f00a4f
Table of Contents
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.