lean-monad-proofs

Community

Master Lean 4 monad proof patterns.

Authorkim-em
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides expert guidance and tactical advice for navigating complex proof patterns in Lean 4, specifically when dealing with monads like Option and Except.

Core Features & Use Cases

  • Monad Proof Strategies: Offers detailed explanations and solutions for common pitfalls in Option/Except monad proofs, do-notation unfolding, and bind handling.
  • Loop Invariants: Explains how to handle for/while loops in specifications and prove properties about them, including the critical distinction between pure functions and partial definitions.
  • Use Case: When stuck on a Lean 4 proof involving Except.bind or Option.pure, consult this Skill for the precise tactic sequence or lemma to apply.

Quick Start

Use the lean-monad-proofs skill to understand how to correctly use Except.mapError in simp sets.

Dependency Matrix

Required Modules

None required

Components

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-monad-proofs
Download link: https://github.com/kim-em/lean-zip/archive/main.zip#lean-monad-proofs

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.