whatisgithub

What is lean-reinforced-concrete?

internetmaximalism/lean-reinforced-concrete — explained in plain English

Analysis updated 2026-05-18

17Audience · developerComplexity · 4/5Setup · easy

In one sentence

A pair of Claude skills that help formalize real systems in the Lean proof language and then try to break the resulting formal proofs to find hidden bugs.

Mindmap

mindmap
  root((lean skills))
    What it does
      Formalizes systems in Lean
      Verifies correctness
      Attacks formal proofs
    Tech stack
      Lean 4
      Claude Skills
    Use cases
      Protocol auditing
      Architecture comparison
      Bug hunting via proofs
    Audience
      Developers
      Security researchers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Formalize a crypto protocol, smart contract, or distributed system in Lean 4 to verify its correctness.

USE CASE 2

Compare multiple design candidates by their formally proven properties before building.

USE CASE 3

Use the security-audit skill to search an existing formal model for broken assumptions and counterexamples.

What is it built with?

Lean 4Claude Skills

How does it compare?

internetmaximalism/lean-reinforced-concrete0petru/sentimo0xblackash/cve-2026-46333
Stars171717
LanguagePythonC
Setup difficultyeasymoderatemoderate
Complexity4/53/54/5
Audiencedeveloperdeveloperresearcher

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

Requires familiarity with Claude Code skills and, to get real value, some background in formal methods or Lean.

No license is stated in the README.

So what is it?

This repository is a small collection of Claude skills, packaged instructions that extend what an AI coding assistant can do, focused on formal verification using the Lean 4 proof language. Each skill lives in its own folder with a description file and optional helper scripts. The first skill, lean-formal-audit, helps translate a real system, such as a cryptographic protocol, smart contract, distributed system, or business rule set, into formal mathematical statements in Lean, so its behavior can be proven correct or compared against alternative designs. The second skill, lean-security-audit, is described as the offensive counterpart: it takes an existing formal model built by the first skill and actively tries to break it, questioning the assumptions behind its safety proofs, generating edge case test scenarios from the specification, and searching for concrete counterexamples that disprove claimed properties. Using either skill means copying or linking its folder into a project's local Claude configuration folder, or into a user-wide folder to make it available across every project. There is no application to run and no separate installation process beyond that copy step. This fits developers and security researchers who already use Claude for coding and want structured help applying formal methods, the mathematical technique of proving software correct, to audit real systems for hidden assumptions or bugs. The two skills are meant to work together as a pair: the first builds confidence that a system's design is sound by proving properties about it, while the second actively tries to tear that confidence down by hunting for gaps in the proof, unfinished steps, or variables that were never properly constrained. Treating those gaps as bug signals rather than minor loose ends is the core idea behind the project, and it gives a team a repeatable way to stress test both the system being audited and the formal argument used to justify it.

Copy-paste prompts

Prompt 1
How do I install the lean-formal-audit skill into my project's .claude/skills folder?
Prompt 2
Explain what it means to formalize a smart contract's logic in Lean 4 for auditing.
Prompt 3
What does the lean-security-audit skill do differently from lean-formal-audit?
Prompt 4
Walk me through using these skills to compare two architecture options via formal properties.

Frequently asked questions

What is lean-reinforced-concrete?

A pair of Claude skills that help formalize real systems in the Lean proof language and then try to break the resulting formal proofs to find hidden bugs.

What license does lean-reinforced-concrete use?

No license is stated in the README.

How hard is lean-reinforced-concrete to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is lean-reinforced-concrete for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.