{
  "id": "149",
  "ident": "NS.00149",
  "slug": "arxiv-2602-05192-firstproof4--finiteadditiveconvolution-comm",
  "title": "First Proof, Theorem 4 · finiteAdditiveConvolution_comm",
  "status": "test",
  "statement_status": "reviewed",
  "statement_md": null,
  "subjects": [
    "math.CA",
    "msc:26"
  ],
  "tags": [],
  "collection": "arxiv",
  "source_url": "https://arxiv.org/abs/2602.05192v2",
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Arxiv.«2602.05192».finiteAdditiveConvolution_comm",
  "statement_lean": "theorem finiteAdditiveConvolution_comm (n : ℕ) (p q : F[X]) :\n    p (⊞_n) q = q (⊞_n) p",
  "challenge_source": "/-\nCopyright 2026 The Formal Conjectures Authors.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    https://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n-/\nmodule\n\npublic import FormalConjecturesUtil\n\n/-!\n# First Proof, Theorem 4\n\n*Reference:* [arxiv/2602.05192v2](https://arxiv.org/abs/2602.05192v2)\n**First Proof**\nby *Mohammed Abouzaid, Andrew J. Blumberg, Martin Hairer, Joe Kileel, Tamara G. Kolda, Paul D. Nelson, Daniel Spielman, Nikhil Srivastava, Rachel Ward, Shmuel Weinberger, Lauren Williams*\n-/\n\n@[expose] public section\n\nopen Polynomial Finset ENNReal\nopen scoped Nat\n\n\nnamespace Arxiv.«2602.05192»\n\nvariable {F : Type} [Field F]\n\n/--\nDefine $p \\boxplus_n q(x)$ to be the polynomial\n$$\n(p \\boxplus_n q)(x) = \\sum_{k=0}^n c_k x^{n-k}\n$$\nwhere the coefficients $c_k$ are given by the formula:\n$$\nc_k = \\sum_{i+j=k} \\frac{(n-i)! (n-j)!}{n! (n-k)!} a_i b_j\n$$\nfor $k = 0, 1, \\dots, n$.\n -/\nnoncomputable def finiteAdditiveConvolution (n : ℕ) (p q : F[X]) : F[X] :=\n  let c := fun k => ∑ ij ∈ antidiagonal (k : ℕ),\n      ((n - ij.1)! * (n - ij.2)! : F) / (n ! * (n - k)! : F) *\n      p.coeff (n - ij.1) * q.coeff (n - ij.2)\n  ∑ k ∈ range (n + 1), c k • X^(n - k)\n\nlocal notation p \" (⊞_\"n \")\" q:65  => finiteAdditiveConvolution n p q\n\n@[category test, AMS 26]\ntheorem finiteAdditiveConvolution_comm (n : ℕ) (p q : F[X]) :\n    p (⊞_n) q = q (⊞_n) p := by\n  show ∑ a ∈_, _= ∑ a ∈_, _\n  exact sum_congr rfl fun m hm =>\n    (congr_arg₂ _) (sum_equiv (.prodComm _ _) (by simp [add_comm]) fun _ _ => by ring!) rfl\n\n@[category test, AMS 26]\ntheorem finiteAdditiveConvolution_degree (n : ℕ) (p q : ℝ[X])\n  (hp : p.degree = n) (hq : q.degree = n):\n    (p (⊞_n) q).degree = n := by\n  sorry\n\n@[category test, AMS 26]\ntheorem finiteAdditiveConvolution_monic' (n : ℕ) (p q : ℝ[X]) (hn : 0 < n)\n    (hp_deg : p.degree = n) (hq_deg : q.degree = n) (hp_monic : p.Monic) (hq_monic : q.Monic) :\n    (p (⊞_n) q).Monic := by\n  have hc0 : ∑ ij ∈ antidiagonal 0, ((n - ij.1)! * (n - ij.2)! : ℝ) / (n ! * (n - 0)! : ℝ) *\n      p.coeff (n - ij.1) * q.coeff (n - ij.2) = 1 := by\n    rw [Finset.Nat.antidiagonal_zero]\n    simp\n    have hp1 : p.coeff n = 1 := by\n      have : p.natDegree = n := natDegree_eq_of_degree_eq_some hp_deg\n      rw [← this]\n      exact hp_monic\n    have hq1 : q.coeff n = 1 := by\n      have : q.natDegree = n := natDegree_eq_of_degree_eq_some hq_deg\n      rw [← this]\n      exact hq_monic\n    rw [hp1, hq1]\n    have h_ne : (n ! : ℝ) ≠ 0 := by positivity\n    simp [h_ne]\n  -- The polynomial is ∑ k ∈ range (n+1), c(k) • X^(n-k).\n  -- Show coeff n equals 1 (from the k=0 term) and natDegree ≤ n.\n  set r := p (⊞_n) q\n  suffices h : r.coeff n = 1 ∧ r.natDegree ≤ n by\n    rw [Polynomial.Monic, Polynomial.leadingCoeff]\n    rcases Nat.eq_or_lt_of_le h.2 with heq | hlt\n    · rw [heq]; exact h.1\n    · exfalso; rw [Polynomial.coeff_eq_zero_of_natDegree_lt hlt] at h; linarith [h.1]\n  constructor\n  · -- coeff n of (∑ k ∈ range (n+1), c(k) • X^(n-k)) = c(0) = 1\n    change (finiteAdditiveConvolution n p q).coeff n = 1\n    simp only [finiteAdditiveConvolution]\n    rw [Polynomial.finsetSum_coeff]\n    conv_lhs =>\n      arg 2; ext k\n      rw [Polynomial.coeff_smul, Polynomial.coeff_X_pow]\n    simp only [smul_eq_mul]\n    -- Now: ∑ k ∈ range (n+1), c(k) * if n = n - k then 1 else 0\n    -- Only k=0 contributes (since n = n - k ↔ k = 0 for k ≤ n)\n    rw [Finset.sum_eq_single 0]\n    · -- The k=0 term: simplify n - 0 = n, if-cond = true, then use hc0\n      simp only [Nat.sub_zero, ite_true, mul_one]\n      exact hc0\n    · -- All other terms are 0\n      intro k _ hk0\n      have : n ≠ n - k := by omega\n      simp [this]\n    · -- 0 ∈ range (n+1)\n      intro h; exact absurd (Finset.mem_range.mpr (by omega)) h\n  · -- natDegree ≤ n: each term has degree ≤ n since n - k ≤ n\n    change (finiteAdditiveConvolution n p q).natDegree ≤ n\n    simp only [finiteAdditiveConvolution]\n    apply (Polynomial.natDegree_sum_le _ _).trans\n    apply Finset.sup_le\n    intro k hk\n    apply (Polynomial.natDegree_smul_le _ _).trans\n    exact (Polynomial.natDegree_X_pow_le (n - k)).trans (Nat.sub_le n k)\n\n/--\nFor a monic polynomial $p(x)=\\prod_{i\\le n}(x- \\lambda_i)$, define\n$$\\Phi_n(p):=\\sum_{i\\le n}(\\sum_{j\\neq i} \\frac1{\\lambda_i-\\lambda_j})^2$$\nand $\\Phi_n(p):=\\infty$ if $p$ has a multiple root.\n-/\nnoncomputable def Φ (p : ℝ[X]) : ℝ≥0∞ :=\n  if p.roots.Nodup then\n    let roots := p.roots.toFinset\n    (∑ i ∈ roots, (∑ j ∈ roots.erase i, 1 / (i - j)) ^ 2).toNNReal\n  else\n    ⊤\n\n/--\nA predicate that holds if $p(x)$ and $q(x)$ are monic real-rooted polynomials of\ndegree $n$, then\n$$\\frac{1}{\\Phi_n(p\\boxplus_n q)} \\ge \\frac{1}{\\Phi_n(p)}+\\frac{1}{\\Phi_n(q)}?$$\n-/\ndef FourProp (p q : ℝ[X]) (n : ℕ) : Prop :=\n    p.degree = n → p.roots.card = n → q.degree = n  → q.roots.card = n → p.Monic → q.Monic →\n    1 / Φ p + 1 / Φ q ≤ 1 / Φ (p (⊞_n) q)\n\nset_option linter.style.formal_proof_palomar false in\n/--\nIs it true that if $p(x)$ and $q(x)$ are monic real-rooted polynomials of\ndegree $n$, then\n$$\\frac{1}{\\Phi_n(p\\boxplus_n q)} \\ge \\frac{1}{\\Phi_n(p)}+\\frac{1}{\\Phi_n(q)}?$$\n\n[arxiv/2602.05192v2](https://arxiv.org/abs/2602.05192v2) contains a proof.\n-/\n@[category research solved, question, AMS 26, formal_proof using lean4 at\n\"https://github.com/frenzymath/Archon-FirstProof-Results/blob/main/FirstProof/FirstProof4/Problem4.lean\"]\ntheorem four : ∀ (p q : ℝ[X]) (n : ℕ), FourProp p q n := by\n  sorry\n\n/--\nIs it true that if $p(x)$ and $q(x)$ are monic real-rooted polynomials of\ndegree $2$, then\n$$\\frac{1}{\\Phi_2(p\\boxplus_n q)} \\ge \\frac{1}{\\Phi_2(p)}+\\frac{1}{\\Phi_2(q)}?$$\n-/\n@[category research solved, question, AMS 26]\ntheorem four_2 : ∀ (p q : ℝ[X]), FourProp p q 2 := by\n  sorry\n\n/--\nIs it true that if $p(x)$ and $q(x)$ are monic real-rooted polynomials of\ndegree $3$, then\n$$\\frac{1}{\\Phi_3(p\\boxplus_n q)} \\ge \\frac{1}{\\Phi_3(p)}+\\frac{1}{\\Phi_3(q)}?$$\n-/\n@[category research solved, question, AMS 26]\ntheorem four_3 : ∀ (p q : ℝ[X]), FourProp p q 3 := by\n  sorry\n\nend Arxiv.«2602.05192»\n",
  "statement_hash": "90091e54fe00d118079eba94c565884a3ebf7a40166f3745511f317e71d179b0",
  "toolchain": "leanprover/lean4:v4.33.1",
  "upstream_commit": "f9b3868d5ca994a7bf95039bcec05338c0c21e2f",
  "workspace": "formal-conjectures",
  "field": "math",
  "formalization": "formal",
  "verification": "lean-kernel",
  "license": "Apache-2.0",
  "attribution": "google-deepmind/formal-conjectures contributors",
  "metric_name": null,
  "metric_direction": null,
  "critiques": [],
  "public_partial_proofs": [],
  "research_threads": [],
  "instructions": "Read research_threads first: other people's public repositories and what they already tried. Write Solution.lean starting from challenge_source. Keep every definition identical, prove decl_name with exactly the same type, no sorry in its dependency closure, no new axioms, no native_decide, no metaprogramming. Submit with POST /api/v1/submissions."
}