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

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:Tu-Deng Conjecture

Source:Problems from papers
Known result Solved on paper; nobody has proved it in Lean here yet. First verified proof: +10 points.
Statement:reviewed
Statement:

The Tu-Deng conjecture. For k≥2k \ge 2 and a nonzero residue tt modulo 2k−12^k - 1, there are at most 2k−12^{k-1} pairs of residues (a,b)(a, b) with a+b=ta + b = t whose binary weights (of their representatives in 0,…,2k−20, \dots, 2^k - 2) sum to at most k−1k - 1.

Proved in [LLX26] and independently in [Cu26]; see also the Lean development [Lean26].

Subjects:Combinatorics (math.CO); Number Theory (math.NT); Information Theory (math.IT)
MSC classes:05, 11, 94
Cite as:NS.07541 [math.CO] · NS.07541v1 for this version
Declaration:TuDengConjecture.tu_deng_conjecture
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60
Statement hash:9447d0bc8008a089d451965aa0fb137a286446c33b2f482847e229af97a2f8d0
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/Paper/TuDengConjecture.lean

Formal statement

theorem tu_deng_conjecture (k : ℕ) (hk : 2 ≤ k) (t : ZMod (2 ^ k - 1)) (ht : t ≠ 0) :
    {p : ZMod (2 ^ k - 1) × ZMod (2 ^ k - 1) |
        p.1 + p.2 = t ∧ binaryWeight p.1.val + binaryWeight p.2.val ≤ k - 1}.ncard
      ≤ 2 ^ (k - 1)
Show the full Challenge.lean (73 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Tu-Deng Conjecture

*References:*
* [Tu, Z., Deng, Y., *A conjecture about binary strings and its applications on constructing
  Boolean functions with optimal algebraic immunity*, Des. Codes Cryptogr. **60** (2011),
  1–14](https://doi.org/10.1007/s10623-010-9413-9)
* [IACR ePrint 2009/272](https://eprint.iacr.org/2009/272)
* [LLX26] [Liu, R., Luo, H., Xie, T., *A Complete Proof for Tu-Deng Conjecture*, arXiv:2608.05187v2
  (2026)](https://arxiv.org/abs/2608.05187v2)
* [Cu26] [Cusick, T. W., *Proof of the TuDeng Conjecture*, arXiv:2608.14821
  (2026)](https://arxiv.org/abs/2608.14821)
* [Lean26] [A Lean 4 proof of the count form of the conjecture](https://github.com/ifeelok92/tu-deng-conjecture-lean-formal-proof/blob/3c00561415deedcdc56b9e803042c1d0f15f5d5b/TuDengFormal/FirstExitNat.lean#L529-L535),
  commit `3c005614`, theorem `TuDeng.FirstExit.tu_deng_conjecture_full`

For an integer $k \ge 2$, identify the residues modulo $2^k - 1$ with the integers
$0, 1, \dots, 2^k - 2$, and let $w(a)$ denote the binary weight of $a$ (the number of ones in
its binary expansion). The Tu-Deng conjecture states that for every residue $t \ne 0$,

$$\#\{(a, b) : a + b \equiv t \pmod{2^k - 1},\ w(a) + w(b) \le k - 1\} \le 2^{k-1}.$$

Tu and Deng showed that this combinatorial statement implies that their constructions of
Boolean functions (a bent class and a balanced class) achieve optimal algebraic immunity,
which is the motivation for the conjecture. They verified the conjecture numerically for
$k \le 29$ (Remark 3.1 of the ePrint version).

The conjecture is no longer open: [LLX26] and, independently, [Cu26] give complete proofs.
[Lean26] is a Lean 4 development of the same bound, stated for the count of natural-number
representatives $x < 2^k - 1$ rather than for the set of residue pairs used below.
-/

@[expose] public section

namespace TuDengConjecture

/-- The binary weight of a natural number: the number of ones in its binary expansion. -/
def binaryWeight (n : ℕ) : ℕ := (Nat.digits 2 n).sum

/--
**The Tu-Deng conjecture.** For $k \ge 2$ and a nonzero residue $t$ modulo $2^k - 1$, there
are at most $2^{k-1}$ pairs of residues $(a, b)$ with $a + b = t$ whose binary weights
(of their representatives in $0, \dots, 2^k - 2$) sum to at most $k - 1$.

Proved in [LLX26] and independently in [Cu26]; see also the Lean development [Lean26].
-/
@[category research solved, AMS 5 11 94]
theorem tu_deng_conjecture (k : ℕ) (hk : 2 ≤ k) (t : ZMod (2 ^ k - 1)) (ht : t ≠ 0) :
    {p : ZMod (2 ^ k - 1) × ZMod (2 ^ k - 1) |
        p.1 + p.2 = t ∧ binaryWeight p.1.val + binaryWeight p.2.val ≤ k - 1}.ncard
      ≤ 2 ^ (k - 1) := by
  sorry

end TuDengConjecture

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

nosorry fetch papers-tudengconjecture
nosorry submit papers-tudengconjecture nosorry/papers-tudengconjecture/Solution.lean --wait

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.