lean-formal-feedback-loop

Convert Lean proof friction into categorized routes and executable witnesses.

29|8|Updated Aug 17, 2025
One-click install
npx skills add https://github.com/LFDT-Nightstream/Nightstream --skill lean-formal-feedback-loop-lfdt-nightstream
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lean-formal-feedback-loop
Source: https://github.com/LFDT-Nightstream/Nightstream/tree/main/.agents/skills/lean-formal-feedback-loop
Command: npx skills add https://github.com/LFDT-Nightstream/Nightstream --skill lean-formal-feedback-loop-lfdt-nightstream

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill reduces the time to locate and fix Rust runtime bugs by using Lean-Rust proof failures as high-signal evidence, guiding you through a repeatable feedback loop that ends with executable witnesses and conformance validation.

Core Features & Use Cases

  • Proof-friction triage for Rust defects: classifies hard proof blockers into code-first, model-first, harness-first, or theorem-first routes to decide the next change lever.
  • History-mined frog ranking: mines project history and cass signals, computes an EV-based priority, and enforces an expected-value gate for selecting the next frog candidate.
  • Conformance + artifact closure discipline: requires 7-check theorem conformance parity plus a proof-carrying artifact workflow, including witness extraction and regression evidence before claiming alignment.

Quick Start

Run the loop for a single frog by building the Lean baseline, mining cass session history, ranking the top frog candidate, attempting the proof to the first hard blocker, extracting an executable witness and regression candidate, applying exactly one route-specific change, then completing the mandatory 7-check conformance pass and emitting an artifact record.

Frequently Asked Questions about lean-formal-feedback-loop

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

FAQPage Schema
How do I find Rust runtime bugs using Lean proof failures?

To find Rust runtime bugs using Lean proof friction, run a feedback loop that classifies hard proof blockers into code-first, model-first, harness-first, or theorem-first routes, then extracts executable witnesses to pinpoint defects.

What is a proof friction triage route for Rust conformance testing?

Proof friction triage for Rust conformance testing classifies hard Lean proof blockers into code-first, model-first, harness-first, or theorem-first routes to determine the next change lever for fixing runtime defects.

How do I extract executable witnesses from Lean theorem proving blockers?

You extract executable witnesses from Lean theorem proving blockers by attempting the proof to the first hard blocker, then converting that friction into a categorized route and a regression candidate for validation.

Can I use formal verification to close conformance parity gaps for concurrent Rust subsystems?

Yes, you can close formal assurance gaps for Rust subsystems with concurrency semantics by applying a mandatory 7-check theorem conformance parity pass and emitting proof-carrying artifacts as validation evidence.

How do I rank proof blockers using expected-value gates in formal verification?

You rank proof blockers by mining project history and session signals, computing an expected-value priority, and enforcing an EV-based gate to select the next candidate frog for the Lean-Rust feedback loop.

When should I not use a Lean-Rust proof feedback loop for debugging?

You should avoid this Lean-Rust proof feedback loop when you cannot perform mandatory project-history mining or when your Rust subsystem lacks the concurrency semantics required for theorem conformance parity checks.