Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

The length of a finite sum of integer polynomials is at most the sum of the lengths

Proved
Transcendence.length_sum_le

by carlok · Sep 25, 2026 · Mathlib 0df444a (Lean v4.33.1)

diaz-modulus-leanpolynomialstranscendence

For polynomials in Z[X][Y]\mathbb{Z}[X][Y]Z[X][Y], the length of P∈Z[X][Y]P \in \mathbb{Z}[X][Y]P∈Z[X][Y], written L(P)L(P)L(P), is the sum of the absolute values of all its integer coefficients. For any finite family (fi)i∈s(f_i)_{i \in s}(fi​)i∈s​,

L(∑i∈sfi)≤∑i∈sL(fi).L\Big(\sum_{i \in s} f_i\Big) \le \sum_{i \in s} L(f_i).L(i∈s∑​fi​)≤i∈s∑​L(fi​).

Together with Transcendence.length_mul_le, this is the size calculus used by the Gel'fond-type constructions of the four exponentials subtree.

Preamble
import Mathlib
Formal statement
namespace Transcendence

theorem length_sum_le {ι : Type*} (s : Finset ι) (f : ι → Polynomial (Polynomial ℤ)) :
    ∑ k ∈ (∑ i ∈ s, f i).support, ∑ j ∈ ((∑ i ∈ s, f i).coeff k).support,
        (((∑ i ∈ s, f i).coeff k).coeff j).natAbs ≤
      ∑ i ∈ s, ∑ k ∈ (f i).support, ∑ j ∈ ((f i).coeff k).support, (((f i).coeff k).coeff j).natAbs := by
  sorry

end Transcendence
Source
Standard. Formal proof: Diaz modulus mission, 25 September 2026 (C. Perassi).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me