Skip to content

feat(GreensOpenProblems): 32#3517

Merged
mo271 merged 10 commits intogoogle-deepmind:mainfrom
jeangud:green-32
Mar 22, 2026
Merged

feat(GreensOpenProblems): 32#3517
mo271 merged 10 commits intogoogle-deepmind:mainfrom
jeangud:green-32

Conversation

@jeangud
Copy link
Copy Markdown
Contributor

@jeangud jeangud commented Mar 11, 2026

Description

Let $p$ be a prime and let $A \subset \mathbb{Z}/p\mathbb{Z}$ be a set of size $\lfloor \sqrt{p} \rfloor$. Is there a dilate of $A$ containing a gap of length $100\sqrt{p}$?

  • Closes Green's Open Problems #32 #1588
  • Added the different variants mentioned by Green in the comments.
  • Tried making the code re-usable with HasGap, HasLargeGapDilate, and HasCosetHole which help express all the variants easily.
  • Implemented with the help of Gemini 3.1 Pro 🤖 : generating a rough first draft, and then adjusting manually for style, simplicity/modularity, and fixing various edge cases.

Testing

  • Builds successfully
$ lake build FormalConjectures/GreensOpenProblems/32.lean 
Build completed successfully (7975 jobs).

@github-actions github-actions bot added the green-problems Problems from https://people.maths.ox.ac.uk/greenbj/papers/open-problems.pdf label Mar 11, 2026
Copy link
Copy Markdown
Collaborator

@mo271 mo271 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, LGTM, just some suggestions for more tests

@mo271 mo271 added the awaiting-author The author should answer a question or perform changes. Reply when done. label Mar 21, 2026
Co-authored-by: Moritz Firsching <firsching@google.com>
@mo271 mo271 merged commit 936e528 into google-deepmind:main Mar 22, 2026
6 checks passed
@mo271
Copy link
Copy Markdown
Collaborator

mo271 commented Mar 22, 2026

Thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting-author The author should answer a question or perform changes. Reply when done. green-problems Problems from https://people.maths.ox.ac.uk/greenbj/papers/open-problems.pdf

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Green's Open Problems #32

2 participants