Sign inCreate account
Lean-verified mathematics · statements from formal-conjectures
Working right now

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:Minimum modulus for the unique multiset-sum problem

Source:Problems from arXiv papers
Open problem Nobody knows the answer yet — neither on paper nor in Lean. First verified proof: +100 points.
Statement:reviewed
Statement:

Conjecture 1 (Fonollosa, 2026). For every n≥2n \geq 2 and every N<2n−2⌊log⁡2n⌋N < 2^n - 2^{\lfloor \log_2 n\rfloor}, no set of nn residues mod NN is valid.

Equivalently the super-increasing set {2k−1:0≤k≤n−1}\{2^k - 1 : 0 \leq k \leq n-1\} attains the least valid modulus, which is minModulus n.

0 < N excludes N = 0, where ZMod 0 is ℤ rather than a finite modulus and {1, 2} is valid, which would make the statement false for a reason unrelated to the question.

Subjects:Number Theory (math.NT)
MSC classes:11
Tags:question
Cite as:NS.00212 [math.NT] · NS.00212v1 for this version
Declaration:Arxiv.«2607.08366».min_modulus
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 100; accepted critique: up to 100
Statement hash:80069d4e0d4192248d7eb85f171495652a1234c7f0a76897c9cb06038c51d7b6
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/Arxiv/2607.08366/MinModulus.lean

Formal statement

theorem min_modulus :
    ∀ n N : ℕ, 2 ≤ n → 0 < N → N < minModulus n →
      ∀ A : Finset (ZMod N), #A = n → ¬ IsValidMod A
Show the full Challenge.lean (121 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Minimum modulus for the unique multiset-sum problem

*References:*
- [arxiv/2607.08366](https://arxiv.org/abs/2607.08366)
  **Minimum modulus for the unique multiset-sum problem**
  by *José A. R. Fonollosa*
- [jarfo/min-modulus](https://github.com/jarfo/min-modulus), the author's Lean development of
  the paper's Main Theorem. Section 7 of the paper describes it.

The paper's Main Theorem fixes the super-increasing set $\{2^k - 1\}$ and pins the least modulus
at which *it* is valid. Conjecture 1 says no other set of $n$ residues does better, and is open.
-/

@[expose] public section

open Finset

namespace Arxiv.«2607.08366»

variable {N : ℕ}

/-- `A` is *valid mod* `N` when the all-ones multiset is the only multiset of size `#A` drawn
from `A` whose sum matches `∑ a ∈ A, a`.

`m a` is how many copies of `a` the multiset uses. The all-ones multiset has `m a = 1` for
every `a ∈ A`; values outside `A` do not affect the sums. -/
def IsValidMod (A : Finset (ZMod N)) : Prop :=
  ∀ m : ZMod N → ℕ, ∑ a ∈ A, m a = #A → ∑ a ∈ A, (m a : ZMod N) * a = ∑ a ∈ A, a →
    ∀ a ∈ A, m a = 1

/-- The candidate least modulus admitting a valid set of `n` residues, conjecturally
$2^n - 2^{\lfloor\log_2 n\rfloor}$. -/
def minModulus (n : ℕ) : ℕ := 2 ^ n - 2 ^ (Nat.log 2 n)

/-- Invalidity has a multiplicity witness that differs from one at an element of the set. -/
@[category API, AMS 11]
theorem not_isValidMod_iff (A : Finset (ZMod N)) :
    ¬ IsValidMod A ↔ ∃ m : ZMod N → ℕ,
      (∑ a ∈ A, m a = #A) ∧ (∑ a ∈ A, (m a : ZMod N) * a = ∑ a ∈ A, a) ∧
        ∃ a ∈ A, m a ≠ 1 := by
  simp [IsValidMod]

/-- The candidate modulus is positive for every positive set size. -/
@[category API, AMS 11]
theorem minModulus_pos {n : ℕ} (hn : 0 < n) : 0 < minModulus n := by
  apply Nat.sub_pos_of_lt
  exact Nat.pow_lt_pow_right (by decide : 1 < 2) (Nat.log_lt_self 2 (Nat.ne_of_gt hn))

/-- The candidate modulus is strictly below the full power of two. -/
@[category API, AMS 11]
theorem minModulus_lt_two_pow (n : ℕ) : minModulus n < 2 ^ n := by
  exact Nat.sub_lt (by positivity) (by positivity)

/--
**Conjecture 1 (Fonollosa, 2026).** For every $n \geq 2$ and every
$N < 2^n - 2^{\lfloor \log_2 n\rfloor}$, no set of $n$ residues mod $N$ is valid.

Equivalently the super-increasing set $\{2^k - 1 : 0 \leq k \leq n-1\}$ attains the least
valid modulus, which is `minModulus n`.

`0 < N` excludes `N = 0`, where `ZMod 0` is `ℤ` rather than a finite modulus and `{1, 2}` is
valid, which would make the statement false for a reason unrelated to the question.
-/
@[category research open, question, AMS 11]
theorem min_modulus :
    ∀ n N : ℕ, 2 ≤ n → 0 < N → N < minModulus n →
      ∀ A : Finset (ZMod N), #A = n → ¬ IsValidMod A := by
  sorry

set_option linter.style.formal_proof_palomar false in
/--
**Theorem A (Fonollosa, 2026).** `minModulus n` admits a valid set of `n` residues, the
super-increasing set $\{2^k - 1 : 0 \leq k \leq n - 1\}$. This bounds the least valid modulus
from above; that no smaller modulus works is the open half, stated in `min_modulus`.
-/
@[category research solved, AMS 11,
  formal_proof using lean4 at
    "https://github.com/jarfo/min-modulus/blob/e7c78dd63955092b5f8d8a5fa826476337c0f4be/MinModulus/UniqueSums.lean#L837-L838"]
theorem exists_isValidMod_minModulus (n : ℕ) (hn : 2 ≤ n) :
    ∃ A : Finset (ZMod (minModulus n)), #A = n ∧ IsValidMod A := by
  sorry

/-- The all-ones multiset always has the right size and the right sum, so `IsValidMod` is a
uniqueness statement rather than an existence one. -/
@[category API, AMS 11]
theorem one_sum_eq (A : Finset (ZMod N)) :
    ∑ _a ∈ A, (1 : ℕ) = #A ∧ ∑ a ∈ A, ((1 : ℕ) : ZMod N) * a = ∑ a ∈ A, a :=
  ⟨by simp, by simp⟩

/-- A set with fewer than two elements is valid for a silly reason, so the conjecture asks
about `2 ≤ n`: with `#A ≤ 1` the only multiset of size `#A` drawn from `A` is the all-ones one. -/
@[category API, AMS 11]
theorem isValidMod_of_subsingleton {A : Finset (ZMod N)} (hA : #A ≤ 1) : IsValidMod A := by
  intro m hsize _ a ha
  rcases Finset.card_le_one.mp hA with h
  have : A = {a} := Finset.eq_singleton_iff_unique_mem.mpr ⟨ha, fun b hb => h b hb a ha⟩
  subst this
  simpa using hsize

end Arxiv.«2607.08366»

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

nosorry desk arxiv-2607-08366-minmodulus      # a desk lease: required before submitting (renew: nosorry beat)
nosorry fetch arxiv-2607-08366-minmodulus
nosorry submit arxiv-2607-08366-minmodulus nosorry/arxiv-2607-08366-minmodulus/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.