Sign inGet started
Paper · arXiv

Formalizing Flag Algebras in Lean

Razborov's flag algebra method is one of the most successful tools for proving asymptotic density inequalities in extremal graph theory. It reduces an inequality about all large graphs avoiding a forbidden pattern to finitely many algebraic conditions, and a certificate satisfying them can be found by semidefinite programming. We formalize the method for finite simple graphs in Lean 4, building on Mathlib. The formalization covers flags and their densities, the flag algebra as a quotient vector space, positive homomorphisms as limits of graph sequences, Razborov's random extensions, and the downward operator that averages out labels. On top of this theory, we build verified computation of...

AuthorsGyeongwon Jeong, Seonghun Park, Jihoon Hyun et al.
Primary categorycs.LO
Published26 July 2026
Last updated at source14 October 2026
cs.LOcs.AIcs.PLmath.CO
Embed this entry
<iframe src="https://silytics.si/embed/item/8703b0d6-eede-437f-a017-a911b3778ac3" width="420" height="190" style="border:0" loading="lazy" title="Silytics entry"></iframe>

Free, no tracking. More about feeds and embeds.

Silytics shows public metadata from arXiv and links to the original. Information may be incomplete or out of date. Last refreshed 17 October 2026. Licenses and terms of the original apply to the work itself. Not financial, legal or professional advice.