lean-dependent-types
CommunityTackle Lean 4's complex type system.
Software Engineering#theorem proving#lean 4#visibility#dependent types#rewriting#recursion#type theory
Authorkim-em
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps developers overcome common and complex errors encountered when working with Lean 4's dependent type system, including recursion limits, visibility issues, and subtle rewrite failures.
Core Features & Use Cases
- Recursion Depth Errors: Provides solutions for
congrandrw/▸hitting max recursion depth on nested structures likeProdandList.ofFn. - Visibility and Namespacing: Clarifies how to correctly define and access definitions across different files using
protectedand proper namespace management. - Rewrite Strategy: Guides on using
.transfor transitive equality andcongrArgfor large constant rewrites to avoid type mismatches and recursion issues.
Quick Start
Use the lean-dependent-types skill to resolve a "motive is not type correct" error in Lean 4.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: lean-dependent-types Download link: https://github.com/kim-em/lean-zip/archive/main.zip#lean-dependent-types Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.