Lean4 induction sequence bounds

From XuShuwenn/RedAct · View interactive version

Lean4 induction sequence bounds is an AI agent skill from the GitHub repository XuShuwenn/RedAct. Finalize Lean4 proofs for recursive sequences and inequality bounds by proving a closed form or a stronger inductive invariant, while respecting strict file-prefix and build constraints.

How to use this skill

Skill file

Lean4 Induction for Recursive Sequence Bounds

Use this skill to complete Lean4 proofs that establish bounds on recursively-defined sequences. It focuses on two robust strategies—closed-form identification and stronger inductive invariants—and on safely editing within template constraints while compiling with no warnings.

When to Use

Activate this skill when:

Core Workflow

  1. Inspect and Respect Constraints
  1. Discover Available Tools
  1. Choose a Robust Proof Strategy
  1. Implement Carefully
  1. Type and Algebra Hygiene
  1. Finalize and Verify

Verification

Before finalizing:

Success criteria:

Common Pitfalls and How to Avoid Them

Optional Script Usage

The included script can help validate that your file prefix remains unchanged.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.