{
  "id": "7580",
  "ident": "NS.07580",
  "slug": "papers-zagiermzv--zagier-upper-bound",
  "title": "Zagier's Conjecture on Multiple Zeta Values · zagier_upper_bound",
  "status": "solved",
  "statement_status": "reviewed",
  "statement_md": "**Upper bound** [Te02, DG05]\n\nThe dimension of the $\\mathbb{Q}$-vector space of MZVs of weight $n$ is at most $d_n$.",
  "subjects": [
    "math.NT",
    "msc:11"
  ],
  "tags": [],
  "collection": "papers",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "ZagierMZV.zagier_upper_bound",
  "statement_lean": "theorem zagier_upper_bound :\n    ∀ n : ℕ, Module.finrank ℚ (mzvSpanOfWeight n) ≤ zagierDim n",
  "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# Zagier's Conjecture on Multiple Zeta Values\n\n*References:*\n- [Za94] Zagier, Don. \"Values of zeta functions and their applications.\"\n  First European Congress of Mathematics Paris, July 6–10, 1992: Vol. II: Invited Lectures (Part 2). Basel: Birkhäuser Basel, 1994.\n- [Co18] Combariza, Germán AG. \"A few conjectures about the multiple zeta values.\"\n  ACM Communications in Computer Algebra 52.1 (2018): 11-20.\n- [Te02] T. Terasoma. Mixed Tate motives and multiple zeta values. Invent. Math., 149(2):339–369, 2002.\n- [DG05] P. Deligne and A. Goncharov. Groupes fondamentaux motiviques de Tate mixte. Ann. Sci.\n  Ecole Norm. Sup. (4), 38(1):1–56, 2005.\n- [OEIS A000931](https://oeis.org/A000931)\n-/\n\n@[expose] public section\n\n-- TODO(jgd) There are additional conjectures in Co18 which would be nice to formalize.\n\nnamespace ZagierMZV\n\nopen Finset BigOperators\n\n/--\nThe multiple zeta value $\\zeta(s_1, s_2, \\ldots, s_k)$, defined as\n$$\\zeta(s_1, \\ldots, s_k) = \\sum_{n_1 > n_2 > \\cdots > n_k > 0}\n\\frac{1}{n_1^{s_1} n_2^{s_2} \\cdots n_k^{s_k}}.$$\nThe argument is a list of positive natural numbers. The value is well-defined (i.e. the series\nconverges) when the first entry is at least 2, but we define it for all inputs.\nFor the empty list, `multiZeta [] = 1` (the empty product convention).\n-/\nnoncomputable def multiZeta : List ℕ → ℝ\n  | [] => 1\n  | s :: rest => ∑' n : ℕ, (1 / (n + 1 : ℝ) ^ s) * multiZeta.aux rest n\nwhere\n  /-- Auxiliary function for `multiZeta`: computes the inner sum\n  $\\sum_{n_2 > \\cdots > n_k > 0, n_2 < \\text{bound}} \\frac{1}{n_2^{s_2} \\cdots n_k^{s_k}}$. -/\n  aux : List ℕ → ℕ → ℝ\n  | [], _ => 1\n  | s :: rest, bound => ∑ m ∈ Finset.range bound, (1 / (m + 1 : ℝ) ^ s) * aux rest m\n\n/-- The *weight* of an MZV index $(s_1, \\ldots, s_k)$ is $s_1 + \\cdots + s_k$. -/\ndef weight (s : List ℕ) : ℕ := s.sum\n\n/--\nAn MZV index is *admissible* if it is either empty or if the first entry is at least 2\nand all entries are positive. The empty list convention ensures $\\mathcal{Z}_0 = \\mathbb{Q}$.\n-/\ndef AdmissibleIndex : List ℕ → Prop\n  | [] => True\n  | s₁ :: rest => 1 < s₁ ∧ ∀ sᵢ ∈ rest, 0 < sᵢ\n\n/-- The set of all MZV values of weight $n$. -/\ndef mzvSetOfWeight (n : ℕ) : Set ℝ :=\n  multiZeta '' {s | AdmissibleIndex s ∧ weight s = n}\n\n/-- The $\\mathbb{Q}$-submodule of $\\mathbb{R}$ spanned by all MZVs of weight $n$. -/\nnoncomputable def mzvSpanOfWeight (n : ℕ) : Submodule ℚ ℝ :=\n  Submodule.span ℚ (mzvSetOfWeight n)\n\n/--\nThe conjectured Zagier dimension sequence $d_n$, defined by $d_0 = 1$, $d_1 = 0$, $d_2 = 1$,\nand $d_n = d_{n-2} + d_{n-3}$ for $n \\geq 3$.\n-/\ndef zagierDim : ℕ → ℕ\n  | 0 => 1\n  | 1 => 0\n  | 2 => 1\n  | (n + 3) => zagierDim (n + 1) + zagierDim n\n\n/--\n**Zagier's conjecture**\n\nThe $\\mathbb{Q}$-dimension of the vector space spanned by all multiple zeta values\nof weight $n$ equals $d_n$, where $d_n$ is the Zagier dimension sequence\nsatisfying $d_0 = 1$, $d_1 = 0$, $d_2 = 1$, and $d_n = d_{n-2} + d_{n-3}$ for $n \\geq 3$.\n-/\n@[category research open, question, AMS 11]\ntheorem zagier_conjecture :\n    ∀ n : ℕ, Module.finrank ℚ (mzvSpanOfWeight n) = zagierDim n := by\n  sorry\n\n/--\n**Upper bound** [Te02, DG05]\n\nThe dimension of the $\\mathbb{Q}$-vector space of MZVs of weight $n$ is at most $d_n$.\n-/\n@[category research solved, AMS 11]\ntheorem zagier_upper_bound :\n    ∀ n : ℕ, Module.finrank ℚ (mzvSpanOfWeight n) ≤ zagierDim n := by\n  sorry\n\n-- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n-- Tests\n-- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n\n/-- The first few values of $d_n$ are $1, 0, 1, 1, 1, 2, 2, 3, 4, 5, 7, 9, \\ldots$ -/\n@[category test, AMS 11]\ntheorem zagierDim_first_values :\n    [zagierDim 0, zagierDim 1, zagierDim 2, zagierDim 3, zagierDim 4,\n     zagierDim 5, zagierDim 6, zagierDim 7, zagierDim 8, zagierDim 9] =\n    [1, 0, 1, 1, 1, 2, 2, 3, 4, 5] := by\n  decide\n\n/-- There is no admissible index of weight 1 (since $s_1 \\geq 2$ is required). -/\n@[category test, AMS 11]\ntheorem no_admissible_weight_one (s : List ℕ) (h : AdmissibleIndex s) : weight s ≠ 1 := by\n  cases s with\n  | nil =>\n    unfold weight\n    simp\n  | cons s₁ rest =>\n    unfold weight\n    simp only [List.sum_cons]\n    unfold AdmissibleIndex at h\n    obtain ⟨h1, h2⟩ := h\n    omega\n\n/-- $\\mathcal{Z}_0 = \\mathbb{Q}$, so $\\dim_\\mathbb{Q}(\\mathcal{Z}_0) = 1$. -/\n@[category test, AMS 11]\ntheorem dim_mzv_weight_zero : Module.finrank ℚ (mzvSpanOfWeight 0) = 1 := by\n  have h_set : mzvSetOfWeight 0 = {1} := by\n    ext x\n    simp only [mzvSetOfWeight, Set.mem_image, Set.mem_ofPred_eq, Set.mem_singleton_iff]\n    constructor\n    · rintro ⟨s, ⟨h_adm, hw⟩, rfl⟩\n      cases s with\n      | nil =>\n        rfl\n      | cons s₁ rest =>\n        unfold weight at hw\n        simp only [List.sum_cons] at hw\n        unfold AdmissibleIndex at h_adm\n        obtain ⟨h1, h2⟩ := h_adm\n        omega\n    · rintro rfl\n      refine ⟨[], ⟨by simp [AdmissibleIndex], by rfl⟩, by rfl⟩\n  rw [mzvSpanOfWeight, h_set]\n  exact finrank_span_singleton (by norm_num)\n\n/-- $\\mathcal{Z}_1 = \\emptyset$, so $\\dim_\\mathbb{Q}(\\mathcal{Z}_1) = 0$. -/\n@[category test, AMS 11]\ntheorem dim_mzv_weight_one : Module.finrank ℚ (mzvSpanOfWeight 1) = 0 := by\n  have h_set : mzvSetOfWeight 1 = ∅ := by\n    ext x\n    simp only [mzvSetOfWeight, Set.mem_image, Set.mem_ofPred_eq, Set.mem_empty_iff_false]\n    constructor\n    · rintro ⟨s, ⟨h_adm, hw⟩, rfl⟩\n      exact no_admissible_weight_one s h_adm hw\n    · rintro h\n      exact h.elim\n  rw [mzvSpanOfWeight, h_set, Submodule.span_empty, finrank_bot]\n\n@[category test, AMS 11]\ntheorem multiZeta_empty : multiZeta [] = 1 := by\n  simp [multiZeta]\n\n/-- Euler's identity: $\\zeta(2) = \\pi^2/6$. -/\n@[category test, AMS 11]\ntheorem multiZeta_two : multiZeta [2] = Real.pi ^ 2 / 6 := by\n  have h1 : multiZeta [2] = ∑' n : ℕ, 1 / (n + 1 : ℝ) ^ 2 := by\n    unfold multiZeta\n    simp only [multiZeta.aux, mul_one]\n  rw [h1]\n  have h2 := hasSum_zeta_two\n  have h3 : HasSum (fun n : ℕ => 1 / (n + 1 : ℝ) ^ 2) (Real.pi ^ 2 / 6) := by\n    have h4 : (fun n : ℕ => 1 / ((n + 1 : ℕ) : ℝ) ^ 2) = (fun n : ℕ => 1 / (n + 1 : ℝ) ^ 2) := by\n      ext n\n      push_cast\n      rfl\n    rw [← h4]\n    have := (hasSum_nat_add_iff' 1).mpr h2\n    have h_eval : Real.pi ^ 2 / 6 - ∑ i ∈ range 1, 1 / (i : ℝ) ^ 2 = Real.pi ^ 2 / 6 := by\n      simp only [sum_range_one, Nat.cast_zero, zero_pow two_ne_zero, div_zero, sub_zero]\n    rwa [h_eval] at this\n  exact h3.tsum_eq\n\n/-- Euler's identity for $\\zeta(4) = \\pi^4/90$. -/\n@[category test, AMS 11]\ntheorem multiZeta_four : multiZeta [4] = Real.pi ^ 4 / 90 := by\n  have h1 : multiZeta [4] = ∑' n : ℕ, 1 / (n + 1 : ℝ) ^ 4 := by\n    unfold multiZeta\n    simp only [multiZeta.aux, mul_one]\n  rw [h1]\n  have h2 := hasSum_zeta_four\n  have h3 : HasSum (fun n : ℕ => 1 / (n + 1 : ℝ) ^ 4) (Real.pi ^ 4 / 90) := by\n    have h4 : (fun n : ℕ => 1 / ((n + 1 : ℕ) : ℝ) ^ 4) = (fun n : ℕ => 1 / (n + 1 : ℝ) ^ 4) := by\n      ext n\n      push_cast\n      rfl\n    rw [← h4]\n    have := (hasSum_nat_add_iff' 1).mpr h2\n    have h_four : 4 ≠ 0 := by decide\n    have h_eval : Real.pi ^ 4 / 90 - ∑ i ∈ range 1, 1 / (i : ℝ) ^ 4 = Real.pi ^ 4 / 90 := by\n      simp only [sum_range_one, Nat.cast_zero, zero_pow h_four, div_zero, sub_zero]\n    rwa [h_eval] at this\n  exact h3.tsum_eq\n\nend ZagierMZV\n",
  "statement_hash": "68fdccd8b50d58601cf501611aecb95d9225597d9d285d99f62cbdeeefe54c85",
  "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."
}