restructure-solutions

Official

Structure Lean solutions for clarity.

Authorleanprover
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill restructures a Lean file of a human-eval problem that contains multiple solution variants, ensuring each solution becomes self-contained with its own Implementation, Tests, and Verification sections, while preserving the original Prompt section at the end for reference.

Core Features & Use Cases

  • Isolates each solution variant into a dedicated section group containing Implementation, Tests, and Verification.
  • Maintains the original Prompt section at the end.
  • Automatically numbers sections when there are multiple solutions to improve readability and maintainability.
  • Preserves existing imports, opens, and options at the top of the file; keeps helper lemmas in the first Verification section where they are first needed.

Quick Start

Restructure a Lean file with multiple solutions so that each solution is self-contained with Implementation, Tests, and Verification sections.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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: restructure-solutions
Download link: https://github.com/leanprover/human-eval-lean/archive/main.zip#restructure-solutions

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 510,000+ vetted skills library on demand.