Linearity bounds for APN functions

Christof Beierle, Lukas Kölsch

Let F:𝔽2n_{2}^{n}→𝔽2n_{2}^{n} be almost perfect nonlinear and N=2nN=2^{n}. Its linearity L is the largest absolute Walsh coefficient of a nonzero component. For n≥5n\ge 5, L≤N−6L\le N-6; for even n, also L≤N−N/4−2L\le N-\sqrt{N}/4-2. For odd n≥5n\ge 5, if p is either floor(N\sqrt{N}) or ceil(N\sqrt{N}), 2s2^{s} is its exact power-of-two divisor and s≥5s\ge 5, then L≤N−2(s−2)−2L\le N-2^{(s-2)}-2. For n≥4n\ge 4, arrange all N(N−1)N(N-1) absolute coefficients in decreasing order with multiplicity. Every valid rank⁡k\operatorname{rank} k satisfies Lk≤N/k⋅(1+(2(k−1)−1)/N)L_{k}\le N/\sqrt{k}\cdot \sqrt{(1+(2^{(k-1)}-1)/N)}, with L2≤2L_{2}\le 2 floor(N/3N/3)<2N/32N/3 and L4≤N/2L_{4}\le N/2. If L=(1−ε)NL=(1-\varepsilon )N with 0<ε<10<\varepsilon <1, then L2/N≤ε/2+(ε−3ε2/4+1/N)L_{2}/N\le \varepsilon /2+\sqrt{(\varepsilon -3\varepsilon ^{2}/4+1/N)}. If q counts nonplateaued nonzero components, odd n and q>0q>0 give L2≤N(1+(q(N−1)))L^{2}\le N(1+\sqrt{(q(N-1))}); even n and 1/2≤C<11/2\le C<1 give L≤CNL\le CN whenever q≤(4C−C2−1)N/4+1q\le (4C-C^{2}-1)N/4+1.

What was already known

Czerwinski and Pott proved L≤N−4L\le N-4 for every APN function in dimension n≥3n\ge 3. Thornburgh improved this to N−6N-6 in even dimensions n≥4n\ge 4. Quadratic APN functions already satisfy L≤N/2L\le N/2, but a uniform constant C<1C<1 for all APN functions remains open. The new N−6N-6 odd-dimensional bound and the growing even-dimensional additive gap address general APN functions; stronger bounds in particular small dimensions remain separately known.

How the result developed

  1. 16 Oct 2026 · Manuscript date [1]

    Christof Beierle and Lukas Kölsch reported the AI-assisted result in this manuscript.

  2. 1 Nov 2026 · Registry verification recorded [2]

    Palomar recorded a successful mechanical check of the linearity bounds and the ranked Walsh-coefficient bounds for almost perfect nonlinear maps.

Follow new evidence and revisions to this result.

Get email updates

Download contribution history

Contribution Assessment

AI involvementAI-centered
ImportanceNotable
Human understandingExplained

AI involvement

Beierle and Kölsch say the contributions of GPT-6 Astra and Codex included proposing and strengthening mathematical statements, developing and simplifying proofs. Beierle directed the initial investigations and selected results to pursue. Both authors worked with the tools to improve the results and reviewed and revised the joint manuscript.

Importance

The work improves general upper bounds on APN linearity and controls the largest few Walsh coefficients and the effect of nonplateaued components. These are quantitative advances in the combinatorics underlying cryptographic Boolean functions. They leave the dimension-independent proportional linearity bound open.

Technical verification

The pinned formalization reports that Lean, NanoDa and con-ron accepted the exported proof. Its five selected statements match Theorems 1.1–1.3, Proposition 3.7 and Equation (4.5) of the second manuscript version. The recorded axioms are propext, Classical.choice and Quot.sound. The authors reviewed the formal statements and metadata. Formal applies to these five conclusions; it does not certify every statement in the article. The kernel checks are source-reported.

Formal checking

The pinned formalization reports that Lean, NanoDa and con-ron accepted the exported proof. Its five selected statements match Theorems 1.1–1.3, Proposition 3.7 and Equation (4.5) of the second manuscript version. The recorded axioms are propext, Classical.choice and Quot.sound. The authors reviewed the formal statements and metadata. Formal applies to these five conclusions; it does not certify every statement in the article. The kernel checks are source-reported.

Checker
Lean, NanoDa and con-ron
Scope
Let F:𝔽2n_{2}^{n}→𝔽2n_{2}^{n} be almost perfect nonlinear and N=2nN=2^{n}. Its linearity L is the largest absolute Walsh coefficient of a nonzero component. For n≥5n\ge 5, L≤N−6L\le N-6; for even n, also L≤N−N/4−2L\le N-\sqrt{N}/4-2. For odd n≥5n\ge 5, if p is either floor(N\sqrt{N}) or ceil(N\sqrt{N}), 2s2^{s} is its exact power-of-two divisor and s≥5s\ge 5, then L≤N−2(s−2)−2L\le N-2^{(s-2)}-2. For n≥4n\ge 4, arrange all N(N−1)N(N-1) absolute coefficients in decreasing order with multiplicity. Every valid rank⁡k\operatorname{rank} k satisfies Lk≤N/k⋅(1+(2(k−1)−1)/N)L_{k}\le N/\sqrt{k}\cdot \sqrt{(1+(2^{(k-1)}-1)/N)}, with L2≤2L_{2}\le 2 floor(N/3N/3)<2N/32N/3 and L4≤N/2L_{4}\le N/2. If L=(1−ε)NL=(1-\varepsilon )N with 0<ε<10<\varepsilon <1, then L2/N≤ε/2+(ε−3ε2/4+1/N)L_{2}/N\le \varepsilon /2+\sqrt{(\varepsilon -3\varepsilon ^{2}/4+1/N)}. If q counts nonplateaued nonzero components, odd n and q>0q>0 give L2≤N(1+(q(N−1)))L^{2}\le N(1+\sqrt{(q(N-1))}); even n and 1/2≤C<11/2\le C<1 give L≤CNL\le CN whenever q≤(4C−C2−1)N/4+1q\le (4C-C^{2}-1)N/4+1.
Basis
Reported by the linked checker

Formal checking

Both authors report reviewing and revising the final manuscript; their formalization account separately records human review of the exact challenge statements and metadata.

Checker
Christof Beierle and Lukas Kölsch
Scope
Mathematical exposition and formal statement alignment
Basis
Reported by the linked checker

Human understanding

Beierle and Kölsch explain the proof mechanisms in the introduction and Sections 3–5: small-support exclusions and integer moment constraints, affine-subspace bounds for ordered Walsh coefficients, and fourth-moment estimates for nonplateaued components. Their contribution statement records that both reviewed and revised the final mathematical manuscript. This documents an explanation of the assessed bounds; their stated Lean review covers the formal statements and metadata.

Other useful sources

View revision history
· addition

Added the research timeline.

· addition

Added a source excerpt documenting AI involvement.

· publication

Original primary-source disclosure establishes central AI proof and statement development beyond formalization.