Left to Solve
Problems / MathOverflow (not formalized)

Feasibility of constrained multivariable diophantine equations

Open, not yet stated in LeanMathOverflow (not formalized)Number Theorydifficulty55/100

Statement

Let be day, be month and be year fields of a date. I want to find few dates of format

Is there a method to solve this type of equation or tell whether there exists a solution for this type of equation?

Here is my try: I framed this problem as solving constrained multivariable diophantine equations.

Here is the quotient when divided by 2 and is the quotient when divided by 4

subject to:

//remainder when divided by 2 is between 0 and 1

//remainder when divided by 4 is between 0 and 3

//date value is always between 1 and 31

//month value is always between 1 and 12

//year has to be a positive value

I planned to solve (how I am going to do I don't know) the above problem and obtain d, m and y values and check whether it is a proper date(leap year constraints and few months have only 30 days). What is the method to do so? Is it at least possible to say whether a feasible solution exists for problems of above format?

Posed by user3219492 · polynomials, diophantine-equations, nonlinear-optimization, integer-programming

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-270237.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-270237.lean

import Mathlib

/-!
# Feasibility of constrained multivariable diophantine equations

Source: https://mathoverflow.net/questions/270237
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_270237

-- definitions the statement needs (no sorry, no axiom)

theorem main : sorry := by
  sorry

end OMA.S_mo_270237