Back to skills
SKILL.md
Optimization Correctness Verifier
ASecurityVerify correctness of compiler optimizations using formal methods
- 1,760 stars
- 0 votes
- 0 copies
- 3 views
- Added September 2, 2026
Security analysis
100/100npx -y skills add a5c-ai/babysitter --skill optimization-correctness-verifier --agent claude-codeAre you the author of Optimization Correctness Verifier?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/a5c-ai-optimization-correctness-verifier-babysitter)---
name: optimization-correctness-verifier
description: Verify correctness of compiler optimizations using formal methods
allowed-tools:
- Bash
- Read
- Write
- Edit
- Glob
- Grep
metadata:
specialization: computer-science
domain: science
category: compiler-optimization
phase: 6
graph:
domains: [domain:computer-science]
specializations: [specialization:theoretical-computer-science]
skillAreas: [skill-area:compiler-implementation, skill-area:language-design, skill-area:graph-algorithms]
workflows: [workflow:research-grant-lifecycle]
roles: [role:research-engineer, role:computational-scientist]
---
# Optimization Correctness Verifier
## Purpose
Provides expert guidance on verifying semantic preservation of compiler optimizations.
## Capabilities
- Semantic preservation checking
- Alive2-style verification
- Bisimulation proof construction
- Counterexample generation
- Optimization refinement suggestions
- Undefined behavior handling
## Usage Guidelines
1. **Optimization Specification**: Define source and target patterns
2. **Precondition Identification**: Identify required preconditions
3. **Verification**: Check semantic equivalence
4. **Counterexample Analysis**: Analyze any counterexamples
5. **Refinement**: Refine optimization if needed
## Tools/Libraries
- Alive2
- CompCert
- SMT solvers
- Vellvm
Attribution
Related skills
View all in ai-agents →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.