Optimization correctness verifier
Verify correctness of compiler optimizations using formal methodsFrom its SKILL.md
npx -y skills add a5c-ai/babysitter --skill optimization-correctness-verifierAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
SKILL.md
1.3 KB, 145 tokens by cl100k_base, as published. Nobody here has run it
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
- Optimization Specification: Define source and target patterns
- Precondition Identification: Identify required preconditions
- Verification: Check semantic equivalence
- Counterexample Analysis: Analyze any counterexamples
- Refinement: Refine optimization if needed
Tools/Libraries
- Alive2
- CompCert
- SMT solvers
- Vellvm
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.