Automating the resolution of IMO 2025 Problem 1
Importado el
El foro clasificaba esta pregunta como sin respuesta en la fecha de recopilación. Esto no certifica un problema abierto de investigación; consulta las respuestas y el historial de la fuente.
Los enunciados y resúmenes están en inglés. Los conceptos de apoyo y los artículos de Wikipedia disponibles en español ayudan a comprenderlos. La fuente conserva la formulación completa y el debate.
Enunciado del problema (inglés)
The problem 1 of the 2025 IMO is the following:
A line in the plane is called sunny if it is not parallel to any of the x-axis, the y-axis, and the line .
Let be a given integer.
Determine all nonnegative integers such that there exist distinct lines in the plane satisfying both of the following:
-
for all positive integers and with , the point is on at least one of the lines; and
-
exactly of the lines are sunny.
Warning: this post will spoil the solution.
I am interested here in the possibility of solving this problem in a fully automated way using deterministic solvers of some sort.
For specific values of , I was able to solve the problem using the Satisfiability Modulo Theories tool z3 and the following program:
from z3 import *
def solve_sunny_lines(n):
s = Solver()
lines = []
is_vertical = [Bool(f"v_{i}") for i in range(n)]
m = [Real(f"m_{i}") for i in range(n)]
c = [Real(f"c_{i}") for i in range(n)]
d = [Real(f"d_{i}") for i in range(n)]
is_sunny = [Bool(f"sunny_{i}") for i in range(n)]
for i in range(n):
s.add(
is_sunny[i] ==
And(
Not(is_vertical[i]),
m[i] != 0,
m[i] != -1
)
)
points = [(a, b) for a in range(1, n+1) for b in range(1, n+1) if a + b <= n + 1]
for (a, b) in points:
on_some_line = []
for i in range(n):
vertical_case = And(is_vertical[i], a == d[i])
non_vertical_case = And(Not(is_vertical[i]), b == m[i]*a + c[i])
on_some_line.append(Or(vertical_case, non_vertical_case))
s.add(Or(*on_some_line))
possible_k = []
for k in range(n+1):
s_k = Solver()
s_k.add(s.assertions())
s_k.add(Sum([If(is_sunny[i], 1, 0) for i in range(n)]) == k)
if s_k.check() == sat:
possible_k.append(k)
return possible_k
Which gives me:
>>> solve_sunny_lines(3)
[0, 1, 3]
>>> solve_sunny_lines(4)
[0, 1, 3]
>>> solve_sunny_lines(5)
[0, 1, 3]
>>> solve_sunny_lines(6)
[0, 1, 3]
This is a good hint for conjecturing the general solution . This conjecture can be proven by induction, e.g. using geometrical arguments (there are several solutions discussed at various places, see here for instance).
Question: is there a way to fully automate the resolution of the general case using a deterministic software tool (z3 or other)?
Naïvely, the best I could think of is:
-
Solving specific cases with some SMT tool like detailed above.
-
Formulating a conjecture in the form (*) where is a predicate (which I suppose might be) definable in Presburger arithmetic (since the problem involves natural numbers and no multiplication, but as mentioned in comment there are other difficulties...)
-
Since Presburger arithmetic is complete and decidable, we could (theoretically) algorithmically show (*) to be true.
Enunciado y contexto adaptados de MathOverflow · Weier
CC BY-SA 4.0 · Formato adaptado; fórmulas matemáticas conservadas · Historial de la fuente
Fuentes y estado original
- MathOverflow Estado en la fuente : unanswered at collection
Última actividad en la pregunta :
Cobertura, fuentes y método
Este contador mide las fichas importadas, incluidas variantes distintas. No cuenta todas las preguntas matemáticas abiertas del mundo. Una ficha puede pertenecer a varias áreas y fuentes.
El repertorio no es exhaustivo ni se actualiza en tiempo real. « Abierto según la fuente » describe la clasificación observada al importar; no se ha verificado independientemente cada ficha importada. Las 32 fichas explicadas se revisaron por separado.
Formal Conjectures: se conservan solo enunciados « research open » sin prueba formal indicada; se comprueba su etiqueta en una versión concreta del repositorio. Las variantes siguen separadas. Un « sorry » no basta para establecer que el problema sigue abierto.
Erdős: se excluyen problemas resueltos, independientes o con una solución Lean, incluidos los « open (Lean) ». Se fusionan las coincidencias exactas con los enunciados principales de Formal Conjectures.
Open Problem Garden: se contrasta el índice abierto con el de resueltos; se excluyen spam, copias identificadas y algunos estados obsoletos. Los enunciados y sus definiciones se atribuyen a las páginas originales; se conservan las fórmulas y el contenido sigue bajo la GFDL. Se agrupan los duplicados reconocidos, sin resolver todas las equivalencias matemáticas.
OEIS: extracción directa de comentarios y fórmulas conjeturales, una ficha por sucesión, excluyendo resoluciones mencionadas. MathOverflow y Math Stack Exchange: preguntas clasificadas sin respuesta por su API, excluyendo publicaciones cerradas y categorías ajenas a la investigación. Se distinguen de los problemas señalados como abiertos. La colección es parcial y fechada; cada ficha atribuye autores y licencia.
Las exclusiones documentadas tienen en cuenta anuncios recientes y estados contradictorios. Una variante más fuerte o un caso particular puede seguir abierto tras resolverse otro enunciado.
Atribución: The Formal Conjectures Authors; teorth/erdosproblems y sus colaboradores; Open Problem Garden y sus colaboradores. Cada fuente conserva su licencia.
- Formal Conjectures · 1924 · Apache-2.0 / CC-BY-4.0
- Erdős Problems (teorth) · 622 · Apache-2.0
- Open Problem Garden · 404 · GFDL (source content); only title/category/link metadata imported
- OEIS · 18.857 · CC BY-SA 4.0
- MathOverflow · 19.035 · CC BY-SA (version on each entry)
- Mathematics Stack Exchange · 35 · CC BY-SA (version on each entry)