Sign inCreate account
Lean-verified mathematics · statements from formal-conjectures
[Imported from formal-conjectures on 23 Nov 2026]

Title:Mathoverflow 339137

Source:MathOverflow · mathoverflow.net/questions/339137
Open problem Nobody knows the answer yet — neither on paper nor in Lean. First verified proof: +100 points.
Statement:reviewed
Statement:

Let P(x),Q(x)∈R[x]P(x), Q(x) ∈ ℝ[x] be two monic polynomials with non-negative coefficients. If R(x)=P(x)Q(x)R(x) = P(x)Q(x) is a 0,10,1 polynomial (coefficients only from {0,1}\{0,1\}), then P(x)P(x) and Q(x)Q(x) are also 0,10, 1 polynomials.

Subjects:Commutative Algebra (math.AC)
MSC classes:12
Cite as:NS.04326 [math.AC] · NS.04326v1 for this version
Declaration:Mathoverflow339137.mathoverflow_339137
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 100, later ones: 10; accepted critique: up to 60
Statement hash:61eb0ee4aff4f01f6940e8337fb81ed5e32ad8d7758519dd7bb5b3637c622918
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/Mathoverflow/339137.lean

Formal statement

theorem mathoverflow_339137 (P Q R : ℝ[X]) (hP: P.Monic) (hQ : Q.Monic)
    (hp : ∀ c ∈ P.coeffs, 0 ≤ c) (hq : ∀ c ∈ Q.coeffs, 0 ≤ c)
    (h : R = P * Q) (hR : IsZeroOne R) :
    IsZeroOne P ∧ IsZeroOne Q
Show the full Challenge.lean (75 lines) — definitions included
module

public import FormalConjecturesUtil
public import FormalConjectures.GreensOpenProblems.«28»

/-!
# Mathoverflow 339137

Why do polynomials with coefficients 0,1
 like to have only factors with 0,1
 coefficients?

*Reference:* [mathoverflow/339137](https://mathoverflow.net/questions/339137)
asked by user [*Sil*](https://mathoverflow.net/users/136794/sil)
-/

@[expose] public section

open scoped Polynomial
namespace Mathoverflow339137

/--
The predicate that all coefficients of a polynomial are either zero or one.
`P.coeffs` is the finite set of all *nonzero* coefficients of the polynomial `P`.
So `IsZeroOne P` means that every nonzero coefficient of `P` is equal to 1.
Note that zero coefficients are not included in `P.coeffs`.
-/
def IsZeroOne (P : ℝ[X]) := P.coeffs ⊆ {1}

-- TODO(lezeau): add statement that coefficients must at least lie in `[0, 1]`

/--
Let $P(x), Q(x) ∈ ℝ[x]$ be two monic polynomials with non-negative coefficients.
If $R(x) = P(x)Q(x)$ is a $0,1$ polynomial (coefficients only from $\{0,1\}$), then $P(x)$ and $Q(x)$
are also $0, 1$ polynomials.
-/
@[category research open, AMS 12]
theorem mathoverflow_339137 (P Q R : ℝ[X]) (hP: P.Monic) (hQ : Q.Monic)
    (hp : ∀ c ∈ P.coeffs, 0 ≤ c) (hq : ∀ c ∈ Q.coeffs, 0 ≤ c)
    (h : R = P * Q) (hR : IsZeroOne R) :
    IsZeroOne P ∧ IsZeroOne Q := by
  sorry

/--
Green's Open Problem 28 is the probabilistic reformulation of Mathoverflow 339137.

Suppose that $X, Y$ are two finitely-supported independent random variables taking integer values,
and such that $X + Y$ is uniformly distributed on its range. Are $X$ and $Y$ themselves uniformly
distributed on their ranges?

Mathematically, this equivalence is established via Probability Generating Functions (PGFs),
shifting the support to $\mathbb{N}$, and appropriately scaling the coefficients.
-/
@[category textbook, AMS 60]
theorem mathoverflow_339137_probabilistic :
    type_of% Mathoverflow339137.mathoverflow_339137 ↔ type_of% Green28.green_28 := by
  sorry

end Mathoverflow339137

To prove it: keep every definition of Challenge.lean unchanged and prove Mathoverflow339137.mathoverflow_339137 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_mathoverflow_339137 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.

nosorry fetch mathoverflow-339137
nosorry submit mathoverflow-339137 nosorry/mathoverflow-339137/Solution.lean --wait

Formal variants

Other formal statements attached to the same informal problem (weaker, stronger, special cases). Each is scored separately.

Contributions

No contributions yet — be the first. Submit a proof or a finding.

Research in progress

People working on this problem share their repository and a summary of what they have tried — dead ends included. Read these before starting, build on them, and credit them in prior work when you submit.

Nobody has shared research on this problem yet.

Sign in to share your research.

Statement review

Is the formal statement faithful to the problem? Too weak, too strong, already solved in the literature? An accepted critique creates a new statement version; proofs of the previous version are re-checked and their points adjusted.

Sign in to open a critique.