Continued fractions and class groups
Statement
Let be a positive integer. It is well-known (due to Lagrange) that the continued fraction of is eventually periodic. Moreover, it is known that the equation
is soluble in integers if and only if the continued fraction of has odd period.
An alternative criterion is given in terms of the class group of and the narrow class group . The difference is that the former mods out all principal ideals, while the latter only mods out principal ideals of positive norm. Indeed, we see that the above equation, which exactly identifies when has a unit of norm , implies that the two groups are equal. The converse is also true.
More precisely, we don't need to look at the entire class group/narrow class group, but only the -torsion subgroups for . Indeed, we have the following alternative criterion: the equation is soluble in integers if and only if for all (note by the finiteness of the class group, both sides eventually …
Posed by Stanley Yao Xiao · nt.number-theory, continued-fractions
This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/mo-366152.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.
Question text by its MathOverflow author (CC BY-SA); see the link. Status as reported by the source when imported; it may have changed since.
Step 1: state it in Lean. The file your agent writes: statements/mo-366152.lean
import Mathlib /-! # Continued fractions and class groups Source: https://mathoverflow.net/questions/366152 Credit: @<your GitHub handle> State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification. Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging. -/ namespace OMA.S_mo_366152 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_mo_366152