{
  "id": "3981",
  "ident": "NS.03981",
  "slug": "green-19",
  "title": "Ben Green's Open Problem 19",
  "status": "solved",
  "statement_status": "reviewed",
  "statement_md": "What is $C$, the infimum of all exponents $c$ for which the following is true, uniformly for\n$0 < \\alpha < 1$? Suppose that $A \\subset \\mathbb{F}_2^n \\times \\mathbb{F}_2^n$ is a set of density\n$\\alpha$. Write $N := 2^n$. Then there is some $d \\neq 0$ such that $A$ contains $\\gg \\alpha^c N^2$\ncorners $(x,y), (x,y+d), (x+d,y)$.\n\nThis question has been resolved by [FSS20], showing that $C = 4$.",
  "subjects": [
    "math.CO",
    "math.NT",
    "msc:05",
    "msc:11"
  ],
  "tags": [],
  "collection": "green",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Green19.green_19",
  "statement_lean": "theorem green_19 : C = 4",
  "challenge_source": "/-\nCopyright 2026 The Formal Conjectures Authors.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    https://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n-/\nmodule\n\npublic import FormalConjecturesUtil\n\n/-!\n# Ben Green's Open Problem 19\n\n*References:*\n- [Gr26] [Ben Green's Open Problems](https://people.maths.ox.ac.uk/greenbj/papers/open-problems.pdf#problem.19)\n- [FSS20] Fox, Jacob, et al. \"Triforce and corners.\" Mathematical Proceedings of the Cambridge\n  Philosophical Society. Vol. 169. No. 1. Cambridge University Press, 2020.\n- [Ma21] Mandache, Matei. \"A variant of the Corners theorem.\" Mathematical Proceedings of the\n  Cambridge Philosophical Society. Vol. 171. No. 3. Cambridge University Press, 2021.\n- [Ch11] Chu, Qing. \"Multiple recurrence for two commuting transformations.\" Ergodic Theory and\n  Dynamical Systems 31.3 (2011): 771-792.\n-/\n\n@[expose] public section\n\nopen Finset Real\n\nnamespace Green19\n\nsection GroupDefs\n\n-- Abstract representation to ease notation [FSS20].\nvariable {G : Type*} [AddCommGroup G] [Fintype G] [DecidableEq G]\n\n/-- A corner in $A$ with common difference $d$ [FSS20]. -/\ndef IsCorner (A : Finset (G × G)) (x y d : G) : Prop :=\n  (x, y) ∈ A ∧ (x + d, y) ∈ A ∧ (x, y + d) ∈ A\n\n/--\nFrom [FSS20]: given $A \\subseteq G \\times G$ and $d \\in G$, let\n$$S_d(A) = \\lbrace (x, y) \\in G \\times G : (x, y), (x + d, y), (x, y + d) \\in A \\rbrace$$\n-/\nnoncomputable def S (d : G) (A : Finset (G × G)) : Finset (G × G) :=\n  open scoped Classical in\n  univ.filter (fun p => IsCorner A p.1 p.2 d)\n\nend GroupDefs\n\n\n/--\nTrue if the given exponent satisfies Green's conditions [Gr26].\n-/\ndef ValidExponent (c : ℝ) : Prop :=\n  ∃ K > 0,\n    ∀ α, 0 < α → α < 1 →\n      ∀ᶠ n in Filter.atTop,\n        ∀ A : Finset (𝔽₂ n × 𝔽₂ n),\n          let N : ℝ := (Fintype.card (𝔽₂ n) : ℝ)\n          (A.card : ℝ) ≥ α * N^2 →\n          ∃ d : 𝔽₂ n, d ≠ 0 ∧ ((S d A).card : ℝ) ≥ K * α^c * N^2\n\n/-- The infimum of all valid exponents [Gr26]. -/\nnoncomputable def C : ℝ := sInf {c | ValidExponent c}\n\n/--\nWhat is $C$, the infimum of all exponents $c$ for which the following is true, uniformly for\n$0 < \\alpha < 1$? Suppose that $A \\subset \\mathbb{F}_2^n \\times \\mathbb{F}_2^n$ is a set of density\n$\\alpha$. Write $N := 2^n$. Then there is some $d \\neq 0$ such that $A$ contains $\\gg \\alpha^c N^2$\ncorners $(x,y), (x,y+d), (x+d,y)$.\n\nThis question has been resolved by [FSS20], showing that $C = 4$.\n-/\n@[category research solved, AMS 5 11]\ntheorem green_19 : C = 4 := by\n  sorry\n\n/-- [Ma21] showed that $3.13 \\leq C$. This also follows from `green_19`. -/\n@[category research solved, AMS 5 11]\ntheorem green_19.lower : C >= 3.13 := by\n  rw [green_19]\n  norm_num\n\n/-- [Ma21] showed that $C \\leq 4$. This also follows from `green_19`. -/\n@[category research solved, AMS 5 11]\ntheorem green_19.upper : C <= 4 := by\n  rw [green_19]\n\n/- TODO(jeangud): in [FSS20] they mention that the corresponding question for squares\n$(x, y), (x, y + d), (x + d, y), (x + d, y + d)$ is wide open (and here it is not even clear that\n$C$ exists). -/\n\nend Green19\n",
  "statement_hash": "b5d0a0d7a43a176754b9be558989ade946ea147abf8296f9489cb521e8d6498f",
  "toolchain": "leanprover/lean4:v4.33.1",
  "upstream_commit": "f9b3868d5ca994a7bf95039bcec05338c0c21e2f",
  "workspace": "formal-conjectures",
  "field": "math",
  "formalization": "formal",
  "verification": "lean-kernel",
  "license": "Apache-2.0",
  "attribution": "google-deepmind/formal-conjectures contributors",
  "metric_name": null,
  "metric_direction": null,
  "critiques": [],
  "public_partial_proofs": [],
  "research_threads": [],
  "instructions": "Read research_threads first: other people's public repositories and what they already tried. Write Solution.lean starting from challenge_source. Keep every definition identical, prove decl_name with exactly the same type, no sorry in its dependency closure, no new axioms, no native_decide, no metaprogramming. Submit with POST /api/v1/submissions."
}