### Abstract

We formalise the Balog–Szemerédi–Gowers Theorem, a profound result in additive combinatorics which played a central role in Gowers's proof deriving the first effective bounds for Szemerédi's Theorem. The proof is of great mathematical interest given that it involves an interplay between different mathematical areas, namely applications of graph theory and probability theory to additive combinatorics involving algebraic objects. This interplay is what made the process of the formalisation, for which we had to develop formalisations of new background material in the aforementioned areas, more rich and technically challenging. We demonstrate how locales, Isabelle’s module system, can be employed to handle such interplays. To treat the graph-theoretic aspects of the proof, we make use of a new, more general undirected graph theory library developed recently by Chelsea Edmonds, which is both flexible and extensible. For the formalisation we followed a proof presented in the 2022 lecture notes by Timothy Gowers Introduction to Additive Combinatorics for Part III of the Mathematical Tripos taught at the University of Cambridge. In addition to the main theorem, which, following our source, is formulated for difference sets, we also give an alternative version for sumsets which required a formalisation of an auxiliary triangle inequality following a proof by Yufei Zhao from his book Graph Theory and Additive Combinatorics . We moreover formalise a few additional results in additive combinatorics that are not used in the proof of the main theorem. This is the first formalisation of the Balog–Szemerédi–Gowers Theorem in any proof assistant to our knowledge.

### License

BSD License

### Topics

- Mathematics/Combinatorics
- Mathematics/Graph theory

### Related publications

- Gowers, W. T. (2001). A new proof of Szemerédi’s theorem. GAFA Geometric And Functional Analysis, 11(3), 465–588. https://doi.org/10.1007/s00039-001-0332-9

### Session Balog_Szemeredi_Gowers

- Miscellaneous_Lemmas
- Graph_Theory_Preliminaries
- Prob_Space_Lemmas
- Sumset_Triangle_Inequality
- Additive_Combinatorics_Preliminaries
- Additive_Energy_Lower_Bounds
- Balog_Szemeredi_Gowers_Main_Proof
- Balog_Szemeredi_Gowers_Supplementary

### Depends on

- The Plünnecke-Ruzsa Inequality
- Properties of Random Graphs – Subgraph Containment
- Undirected Graph Theory

### Auto-related entries

- Khovanskii's Theorem
- Turán’s Graph Theorem
- Selected Problems from the International Mathematical Olympiad 2019

## Cite

×

Balog_Szemeredi_Gowers-AFP

    @article{Balog_Szemeredi_Gowers-AFP,
      author  = {Angeliki Koutsoukou-Argyraki and Mantas Bakšys and Chelsea Edmonds},
      title   = {The Balog–Szemerédi–Gowers Theorem},
      journal = {Archive of Formal Proofs},
      month   = {November},
      year    = {2022},
      note    = {\url{https://isa-afp.org/entries/Balog_Szemeredi_Gowers.html},
                 Formal proof development},
      ISSN    = {2150-914x},
    }

Download

## Download

× Download latest

Older releases:

- Sep 13, 2023 : Isabelle2023
- Nov 16, 2022 : Isabelle2022