{
  "id": "7160",
  "ident": "NS.07160",
  "slug": "constants-7a--c7a-lower-bound",
  "title": "Tao's Optimization Constant 7a / The Irrationality Measure of $\\pi$ · c7a_lower_bound",
  "status": "textbook",
  "statement_status": "reviewed",
  "statement_md": "The sharp lower bound, given by Dirichlet's theorem [D1842]. This bound\nholds for every irrational real number.",
  "subjects": [
    "math.NT",
    "msc:11"
  ],
  "tags": [],
  "collection": "constants",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Constant7a.c7a_lower_bound",
  "statement_lean": "theorem c7a_lower_bound : 2 ≤ C7a := two_le_irrationalityExponent irrational_pi\n\n/-- The first known upper bound, proved by Mahler in [M1953]. This was the first proof that\n$C_{7a}$ is finite, or equivalently that $\\pi$ is not a Liouville number. -/\n@[category research solved, AMS 11]\ntheorem c7a_le_42 : C7a ≤ 42",
  "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# Tao's Optimization Constant 7a / The Irrationality Measure of $\\pi$\n\n*References:*\n- [Tao's Optimization Constant 7a](https://teorth.github.io/optimizationproblems/constants/7a.html)\n- [D1842] Dirichlet, L. G. P., *Verallgemeinerung eines Satzes aus der Lehre von den\n  Kettenbrüchen nebst einigen Anwendungen auf die Theorie der Zahlen*. Sitzungsberichte der\n  Preussischen Akademie der Wissenschaften (1842), 93–95.\n- [M1953] Mahler, K., *On the approximation of $\\pi$*. Nederl. Akad. Wetensch. Proc. Ser. A\n  **56** = Indag. Math. **15** (1953), 30–42.\n- [R1955] Roth, K. F., [*Rational approximations to algebraic\n  numbers*](https://doi.org/10.1112/S0025579300000644). Mathematika **2** (1955), 1–20.\n- [RV1993] Rhin, G. and Viola, C., [*On the irrationality measure of\n  $\\zeta(2)$*](https://doi.org/10.5802/aif.1322). Ann. Inst. Fourier **43** (1993), 85–109.\n- [ZZ2020] Zeilberger, D. and Zudilin, W., *The irrationality measure of $\\pi$ is at most\n  $7.103205334137\\ldots$*. Moscow J. Comb. Number Theory **9** (2020), 407–419.\n  [arXiv:1912.06345](https://arxiv.org/abs/1912.06345)\n- [OAI2026] OpenAI, [*The irrationality exponent of $\\pi$ is\n  2*](https://github.com/openai/math/blob/main/preprints/The-irrationality-exponent-of-pi-is-2-September-24-2026/paper.pdf),\n  2026.\n-/\n\n@[expose] public section\n\nnamespace Constant7a\n\nopen Real ENNReal Set NNReal\n\n/-- The irrationality exponent of a real number. -/\nnoncomputable def irrationalityExponent (x : ℝ) : ℝ≥0∞ :=\n  sSup ((↑) '' {p : ℝ≥0 | LiouvilleWith p x})\n\n/-- The irrationality exponent of a rational number is one. -/\n@[category API, AMS 11]\ntheorem irrationalityExponent_ratCast (x : ℚ) : irrationalityExponent x = 1 := by\n  unfold irrationalityExponent\n  apply le_antisymm\n  · simp only [sSup_le_iff, mem_image, mem_ofPred_eq, forall_exists_index, and_imp,\n      forall_apply_eq_imp_iff₂, coe_le_one_iff]\n    intro _ h\n    simpa using (LiouvilleWith.irrational h).mt\n  · apply le_sSup\n    simp only [mem_image, mem_ofPred_eq, ENNReal.coe_eq_one, exists_eq_right, NNReal.coe_one]\n    exact liouvilleWith_one x\n\n@[category API, AMS 11]\ntheorem le_irrationalityExponent_iff (x : ℝ) (y : ℝ≥0∞) :\n    y ≤ irrationalityExponent x ↔ ∀ z : ℝ≥0, z < y → LiouvilleWith z x := by\n  rw [irrationalityExponent, le_sSup_iff_forall_lt]\n  refine ⟨fun h z zy ↦ ?_, fun h z zy ↦ ?_⟩\n  · obtain ⟨a, ha, za⟩ := h z zy\n    simp only [mem_image, mem_ofPred_eq] at ha\n    obtain ⟨r, hr, ra⟩ := ha\n    apply LiouvilleWith.mono hr\n    simp only [NNReal.coe_le_coe]\n    suffices (z : ℝ≥0∞) ≤ r by simpa\n    grind\n  · simp only [mem_image, mem_ofPred_eq, exists_exists_and_eq_and]\n    rcases eq_or_ne y ⊤ with rfl | hy\n    · simp_all only [coe_lt_top, forall_const, true_and]\n      refine ⟨z.toNNReal + 1, ?_⟩\n      rw [coe_add, ENNReal.coe_one, coe_toNNReal zy.ne]\n      exact lt_add_right zy.ne one_ne_zero\n    obtain ⟨a, za, ay⟩ := DenselyOrdered.dense z y zy\n    refine ⟨a.toNNReal, ?_, ?_⟩\n    · apply h\n      rwa [ENNReal.coe_toNNReal (by grind)]\n    · rwa [ENNReal.coe_toNNReal (by grind)]\n\n@[category API, AMS 11]\ntheorem irrationalityExponent_eq_top_iff (x : ℝ) : irrationalityExponent x = ⊤ ↔ Liouville x := by\n  simp_rw [← ENNReal.not_lt_top, not_lt, le_irrationalityExponent_iff, ← forall_liouvilleWith_iff,\n    coe_lt_top, forall_const]\n  exact ⟨fun h p ↦ (h p.toNNReal).mono <| le_coe_toNNReal p, fun h z ↦ h z⟩\n\n/-- Every irrational real number has irrationality exponent at least two by Dirichlet's\napproximation theorem [D1842]. -/\n@[category textbook, AMS 11]\ntheorem two_le_irrationalityExponent {x : ℝ} (hx : Irrational x) :\n    2 ≤ irrationalityExponent x := by\n  sorry\n\n/-- Every algebraic real number has irrationality exponent at most two. For irrational algebraic\nnumbers, this is Roth's theorem [R1955]. -/\n@[category research solved, AMS 11]\ntheorem irrationalityExponent_of_algebraic {x : ℝ} (hx : IsAlgebraic ℚ x) :\n    irrationalityExponent x ≤ 2 := by\n  sorry\n\n/-- **Tao's Optimization Constant 7a / The irrationality measure of $\\pi$**. -/\n@[optimization_constant \"7a\"]\nnoncomputable def C7a : ℝ≥0∞ := irrationalityExponent π\n\n/-- The sharp lower bound, given by Dirichlet's theorem [D1842]. This bound\nholds for every irrational real number. -/\n@[category textbook, AMS 11]\ntheorem c7a_lower_bound : 2 ≤ C7a := two_le_irrationalityExponent irrational_pi\n\n/-- The first known upper bound, proved by Mahler in [M1953]. This was the first proof that\n$C_{7a}$ is finite, or equivalently that $\\pi$ is not a Liouville number. -/\n@[category research solved, AMS 11]\ntheorem c7a_le_42 : C7a ≤ 42 := by\n  sorry\n\n/-- An intermediate upper bound proved by Rhin and Viola in [RV1993]. It follows from an effective\nirrationality measure for $\\zeta(2) = \\pi^2 / 6$. -/\n@[category research solved, AMS 11]\ntheorem c7a_lt_14_797075 : C7a < 14.797075 := by\n  sorry\n\n/-- The best upper bound before [OAI2026], proved by Zeilberger and Zudilin in [ZZ2020]. -/\n@[category research solved, AMS 11]\ntheorem c7a_upper_bound : C7a < 7.103205334138 := by\n  sorry\n\nset_option linter.style.formal_proof_palomar false in\n/-- The irrationality measure of $\\pi$ is exactly $2$, proved by OpenAI in [OAI2026]. -/\n@[category research solved, AMS 11, formal_proof using lean4 at\n  \"https://github.com/openai/math/blob/main/lean/ComparatorChallenges/PiExponent.lean\"]\ntheorem c7a_eq_two : C7a = 2 := by\n  sorry\n\nend Constant7a\n",
  "statement_hash": "e5a40a498e08efd389b5ec5637d3ee5bc7e722fbdbdb0d7d882384560107b316",
  "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."
}