lean4-theorem-proving

AdvisoryAudited by VirusTotal on Apr 15, 2026.

Overview

Type: OpenClaw Skill Name: lean4-proof-lean4-theorem-proving Version: 0.1.0 The bundle is a highly professional and comprehensive toolkit designed to assist an AI agent in Lean 4 theorem proving. It includes detailed documentation for compiler-guided proof repair, axiom elimination, and Mathlib integration, referencing standard community tools like Loogle and LeanSearch. The instructions provided in SKILL.md and the reference files are strictly aligned with the mathematical domain, focusing on build-first workflows and type-checker verification. There is no evidence of malicious intent, data exfiltration, or harmful prompt injection; the bundle functions as a legitimate productivity enhancer for formal verification tasks.

Findings (0)

Artifact-based informational review of SKILL.md, metadata, install specs, static scan signals, and capability signals. ClawScan does not execute the skill or run runtime probes.

What this means

A repair run could change proof files or other files in the working tree.

Why it was flagged

The documented repair workflow applies patches and rebuilds Lean files. This is aligned with the theorem-proving purpose, but it can modify user source files.

Skill content
git apply patch.diff
lake build FILE.lean
Recommendation

Run it on a git branch or clean working tree, use the interactive repair mode when possible, and review diffs before committing.

What this means

If you run referenced scripts from another location, their behavior depends on that external installation rather than this reviewed instruction-only package.

Why it was flagged

The skill references helper scripts and command documentation that are not included in the provided manifest, so those helpers could not be reviewed here.

Skill content
Automation Scripts | 19 tools for search, verification, refactoring, repair | Plugin `scripts/` directory
Recommendation

Only run referenced helper scripts from a trusted, reviewed installation, and verify their paths before execution.

What this means

Private Lean code or compiler output may be processed by delegated model workflows during repair.

Why it was flagged

The repair process may delegate proof context to another agent/model. This is disclosed and bounded, but users should be aware that local code and compiler errors may be included in that context.

Skill content
If solvers fail → call `lean4-proof-repair` agent ... Stage 1: Haiku ... Stage 2: Sonnet ... max 24 attempts
Recommendation

Avoid running automated repair on files containing secrets, and use confirmation-based workflows for sensitive projects.