Back to browse
GitHub Repository

LLM-driven property checker for code, backed by Lean 4 and Mathlib

22 starsPython

Formal – LLM-driven property checker, backed by Lean 4 and Mathlib

by yamafaktory·Apr 13, 2026·1 point·0 comments

AI Analysis

●●●BangerBig BrainWizardry

LLM generates Lean 4 theorems from your code—formal verification without the PhD.

Strengths
  • Combines LLM property extraction with mechanically sound Lean 4 proof checking.
  • Honest about limitations—clearly states what 'verified' actually means here.
  • Works with any LLM backend—Claude, GPT-4, Gemini, or local models.
Weaknesses
  • Only checks pure functions—side effects, I/O, and DB calls are excluded.
  • LLM selects which properties to verify; important edge cases could be missed.
Target Audience

Developers working with functional code who want formal verification

Similar To

Coq · Isabelle · TLA+

Similar Projects