Hugging Face has officially added native support for Lean files, aiming to turn the platform into a place for "sharing verifiable research." Team member Caleb Fahlgren gave a demo of the feature, which means formal math proofs can now be viewed and verified directly on the platform.

Three core capabilities: syntax highlighting, theorem outline and Statements view

According to details released by the Hugging Face team, the native Lean support covers three main capabilities.

  • Syntax highlighting for Lean files;
  • A table-of-contents outline that lets users click through to any theorem in a file;
  • A new Statements view that displays docstrings, collapses proof content and renders mathematical formulas.

The Hugging Face team announced it is building the platform into a place for "sharing verifiable research" and has officially launched native support for Lean files.

GitHub data: Lean's ranking jumps, but mostly thanks to AI agents

GitHub Language Trends data for November 2026 shows Lean climbing from 28th to 6th in the ranking by share of PRs. The author who published the data noted that the shift stems mainly from clusters of AI agents submitting thousands of Lean proof PRs in bulk to public math challenge repositories (such as P vs NP and the open-problems agent desk), not from real growth in human Lean development, and whether the ranking holds is open to question.

The same data shows Rust rising from 4th to 3rd with a 10.22% share of PRs, up 7.67 percentage points year on year, overtaking JavaScript; a year ago Rust ranked 10th, and five years ago it ranked 15th. TypeScript (25.42%) and Python (17.84%) held the top two spots, up 6.99 and 2.85 percentage points respectively year on year.

LanguageShare of PRsYoY changeRanking change
TypeScript25.42%+6.99pp1st
Python17.84%+2.85pp2nd
Rust10.22%+7.67pp4th to 3rd
Lean——28th to 6th

Formal math meets AI as a new hot spot

Hugging Face's native Lean support echoes the phenomenon of AI agents submitting Lean proof PRs in bulk on GitHub. On one hand, the platform lowers the barrier to viewing and verifying formal math results; on the other, AI agents are taking a large part in submitting proofs to math challenge repositories. Together they show that the combination of formal math and AI is becoming a new hot direction.

What to watch

Hugging Face's Lean support is now officially live, but how the platform will handle proof PRs submitted in bulk by AI agents and how it will ensure verification quality remain to be seen. The sustainability of Lean's ranking in GitHub language trends also depends on whether AI agents keep up their submission behavior.