Does every rational number with an odd denominator have an odd greedy expansion?
Statement
The statement is on the source page: en.wikipedia.org/wiki/rational_number.
Number theory » Computational number theory
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/wp-does-every-rational-number-with-an-odd-denominator-have-an-odd-greedy-expansion.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.
Text: Wikipedia, CC BY-SA 4.0. 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/wp-does-every-rational-number-with-an-odd-denominator-have-an-odd-greedy-expansion.lean
import Mathlib /-! # Does every rational number with an odd denominator have an odd greedy expansion? Source: https://en.wikipedia.org/wiki/rational_number 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_wp_does_every_rational_number_with_an_odd_denominator_have_an_odd_greedy_expansion -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_wp_does_every_rational_number_with_an_odd_denominator_have_an_odd_greedy_expansion