gpd-formalize-rung

Generate Lean 4 formalization scaffolds for theorem rungs.

Updated May 1, 2026
One-click install
npx skills add https://github.com/Unified-Field-Theory-Research/finite-capacity-causal-geometry --skill gpd-formalize-rung
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gpd-formalize-rung
Source: https://github.com/Unified-Field-Theory-Research/finite-capacity-causal-geometry/tree/main/.agents/skills/gpd-formalize-rung
Command: npx skills add https://github.com/Unified-Field-Theory-Research/finite-capacity-causal-geometry --skill gpd-formalize-rung

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires Lean, and includes scripts (resource) components.

What problem does it solve?

This Skill helps automate the creation of Lean 4 formalization scaffolds for stable theorem rungs, making the process of translating theorems into Lean-compatible formalizations more efficient.

Core Features & Use Cases

  • Automated Scaffold Creation: Generates Lean 4 formalization scaffolds for theorems, with explicit hypotheses, parameters, and proof obligations.
  • Customizable: Allows for specifying a theorem rung by name or obligation to create the appropriate formalization.
  • Use Case: Suppose you have a complex theorem rung with numerous assumptions and proof obligations. Using this Skill, you can generate a formalization scaffold that outlines the structure of the Lean proof, streamlining the process and making it easier to get started.

Quick Start

Use the gpd-formalize-rung skill to generate a Lean formalization scaffold for a stable theorem rung with the following command:

cargo run --quiet --manifest-path rust/cclab_accel/Cargo.toml --bin cclab -- skill formalize-rung --project-dir . --obligation OBL-000

Frequently Asked Questions about gpd-formalize-rung

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate Lean 4 formalization scaffolds for theorem proof obligations?

You can generate Lean 4 formalization scaffolds by automating the creation of explicit hypotheses, parameters, and proof obligations from specified theorem rungs. This streamlines translating complex theorems into Lean-compatible formats.

What is a theorem rung in formal methods and Lean 4?

In formal methods, a theorem rung represents a specific step or proof obligation within a formalized mathematical structure. It serves as the named input basis for generating a corresponding Lean 4 formalization scaffold with associated assumptions.

Do I need a Rust runtime and Lean 4 installed to formalize theorem rungs?

Yes, formalizing theorem rungs requires both a Rust runtime and Lean 4. The Rust binary executes the scaffold generation commands, while Lean 4 provides the necessary environment for the output formalization.

How do I specify a theorem obligation when creating a Lean formalization scaffold?

You specify a theorem obligation by passing its identifier, such as OBL-000, via the command line arguments. The tool then uses this named rung to generate the corresponding Lean 4 formalization structure.

What's the best way to structure complex Lean 4 proofs with multiple assumptions?

The best way to structure complex Lean 4 proofs is to generate a formalization scaffold first. This approach explicitly defines all necessary hypotheses, parameters, and proof obligations upfront, providing a clear outline before manual verification.