What problem does it solve?
This Skill provides a structured approach and best practices for creating and validating Zstandard (Zstd) specification files within the Lean programming language environment, ensuring correctness and maintainability.
Core Features & Use Cases
- Standardized File Structure: Outlines the expected layout for Zstd specification files.
- Naming Conventions: Defines clear patterns for predicates, theorems, and helper functions.
- Predicate Design: Guides on creating decidable predicates and structuring them for clarity.
- Proof Difficulty Scoping: Offers strategies for managing proof complexity, from immediate proofs to deferring with
sorry.
- Theorem Validation: Emphasizes rigorous validation of theorem statements with concrete examples before investing significant proof effort.
- Use Case: A developer needs to formally specify a new Zstd compression feature in Lean. They can use this Skill to quickly set up the specification file, adhere to established naming conventions, and understand how to approach the formal proofs required for correctness.
Quick Start
Use the lean-zstd-spec-pattern skill to create a new Zstd specification file following the standard structure and naming conventions.