extremal_principle_infinite_descent

Community

Derive minimal counterexamples with Lean 4.

Authorbneb
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It provides a structured approach for formalizing extremal principles and infinite-descent proofs in Lean 4, enabling termination arguments and minimal-counterexample reasoning.

Core Features & Use Cases

  • Lean 4 templates for extremal principle and infinite descent
  • Minimal-counterexample extraction using Nat.find and Nat.find_min
  • Well-founded recursion patterns with termination guarantees

Quick Start

Prove a simple theorem by assuming the smallest counterexample and deriving a contradiction in Lean 4.

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: extremal_principle_infinite_descent
Download link: https://github.com/bneb/perqed/archive/main.zip#extremal-principle-infinite-descent

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