Command Palette

Search for a command to run...

UnylyUnyly
Back to skills

termination-analyzer

FreeNo executable scriptsNot checked

Prove termination of algorithms and programs using ranking functions and well-founded orderings

a5c-aiby a5c-ai★ 1,947 GitHub stars

About this skill

Termination Analyzer

Purpose

Provides expert guidance on proving termination of algorithms through ranking functions, well-founded orderings, and automated analysis.

Capabilities

  • Identify ranking/variant functions automatically
  • Prove well-founded orderings
  • Handle mutual recursion
  • Detect potential non-termination
  • Generate termination certificates
  • Analyze complex control flow

Usage Guidelines

  1. Structure Analysis: Identify recursive calls and loop structures
  2. Ranking Function: Find or construct appropriate ranking function
  3. Ordering Proof: Prove well-foundedness of the ordering
  4. Certificate Generation: Generate formal termination proof
  5. Non-termination Detection: Flag potential infinite loops

Tools/Libraries

  • AProVE
  • T2
  • Ultimate Automizer
  • SMT solvers

Install termination-analyzer in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

Allowed tools

Tools this skill is permitted to call.

Bash
Read
Write
Edit
Glob
Grep

FAQ

What does the termination-analyzer skill do?

Prove termination of algorithms and programs using ranking functions and well-founded orderings

How do I install the termination-analyzer skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the termination-analyzer skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare termination-analyzer with