paperproof-validator

Visualize Lean 4 proof states with hypotheses and goals.

60|13|Updated Dec 22, 2025
One-click install
npx skills add https://github.com/plurigrid/asi --skill paperproof-validator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: paperproof-validator
Source: https://github.com/plurigrid/asi/tree/main/skills/paperproof-validator
Command: npx skills add https://github.com/plurigrid/asi --skill paperproof-validator

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It translates formal Lean 4 proofs into visualizations, making proof states easier to understand.

Core Features & Use Cases

  • Proof visualization: proof trees, hypotheses, goals.
  • Metadata extraction: from Lean's InfoTree for tactics.
  • Proof correctness checks: verify final conclusions.

Quick Start

Use Paperproof with a Lean4 project to visualize theorems in a VS Code panel.

Frequently Asked Questions about paperproof-validator

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

FAQPage Schema
How do I visualize Lean 4 proofs to verify their correctness?

Visualize Lean 4 proofs by extracting proof state at each tactic step and rendering hypotheses, goals, and transitions in a paper-like format. This displays the proof structure as it develops, making verification and debugging straightforward in VS Code or a React frontend.

Can I see proof hypotheses and goals at each tactic step in Lean 4?

Yes. Proof visualization extracts metadata from Lean's InfoTree for each tactic, displaying current hypotheses, goals, and state transitions. This step-by-step breakdown helps you understand how tactics transform the proof state toward the final conclusion.

What's the best way to debug Lean 4 formal proofs during development?

Use proof visualization to inspect hypotheses and goals after each tactic executes. The paper-like rendering and VS Code integration let you track proof progress interactively, catching errors in logic or tactic application before completion.

Do I need special setup to visualize Lean 4 proofs in VS Code?

Paperproof integrates directly with a Lean server and VS Code extension, requiring only a Lean 4 project. No additional dependencies or configuration is needed beyond a standard Lean development environment.

How does proof visualization help verify formal correctness in Lean 4?

Proof visualization renders the full proof tree with hypotheses and goal transitions, letting you confirm that each tactic step logically advances toward the theorem. This visual verification catches unsound reasoning that textual proofs might obscure.

Can I export or share Lean 4 proof visualizations?

The metadata extraction and structured visual rendering produce proof states suitable for readers and documentation. Integration with React frontend and VS Code enables viewing and sharing proof visualizations in paper-like format for review and collaboration.