/-Copyright (c) 2026 Carles Marín. All rights reserved.Released under Apache 2.0 license as described in the file LICENSE.Authors: Carles Marín-/module public import Formalizations.Analysis.SpecialFunctions.Dilogarithm.Basicpublic import Formalizations.Analysis.SpecialFunctions.Trigonometric.FejerJackson /-!# The Clausen function and Catalan's constant The Clausen function `Cl₂ θ = ∑_{n ≥ 1} sin(nθ) / n²` is the imaginary part of the dilogarithm on theunit circle. Its real part is the Bernoulli parabola `∑ cos(nθ)/n² = π²/6 - πθ/2 + θ²/4` on`[0, 2π]`, derived here from Mathlib's Fourier expansion of the Bernoulli polynomials. Abel summationand the Fejér–Jackson inequality give `Cl₂ θ > 0` on `(0, π)`. ## Main definitions * `Dilog.Cl₂`: the Clausen function.* `Dilog.catalanConst`: Catalan's constant `G = ∑ (-1)^k / (2k + 1)²`.* `Dilog.zetaStateRe`: the cosine series `∑ cos(nθ) / n²`. ## Main results * `Dilog.Cl₂_neg`, `Dilog.Cl₂_two_pi_sub`: symmetries.* `Dilog.Cl₂_pi_div_two`: `Cl₂ (π/2) = G`.* `Dilog.Cl₂_two_mul`: duplication `Cl₂(2θ) = 2 Cl₂(θ) - 2 Cl₂(π - θ)`; `Dilog.Cl₂_two_pi_div_three`.* `Dilog.hasSum_cos_div_sq`: the Bernoulli parabola.* `Dilog.Cl₂_pos`: `0 < Cl₂ θ` for `θ ∈ (0, π)`.* `Dilog.zetaState_never_orthogonal`: for `θ ∈ (0, 2π)` the two series `∑ cos(nθ)/n²` and `∑ sin(nθ)/n²` do not vanish together.* `Dilog.zetaState_meanEnergy_not_summable`, `Dilog.zetaState_secondMoment_not_summable`: the populations `6/(π² n²)` on the levels `n` have infinite mean energy and infinite second moment. ## References * L. Lewin, *Polylogarithms and Associated Functions*, North-Holland, 1981, Chapter 4.-/ @[expose] public section noncomputable sectionopen scoped Realopen Set namespace Dilog /-- The **Clausen function** `Cl₂(θ) = ∑_{n≥1} sin(nθ)/n²`, the imaginary part of thedilogarithm on the unit circle. -/def Cl₂ (θ : ℝ) : ℝ := ∑' n : ℕ, Real.sin ((n + 1) * θ) / ((n : ℝ) + 1) ^ 2 /-- The Clausen series converges absolutely (dominated by `∑ 1/(n+1)²`). -/theorem summable_Cl₂ (θ : ℝ) : Summable fun n : ℕ => Real.sin ((n + 1) * θ) / ((n : ℝ) + 1) ^ 2 := by rw [← summable_abs_iff] refine Summable.of_nonneg_of_le (fun n => abs_nonneg _) (fun n => ?_) summable_one_div_add_one_sq have hden : (0 : ℝ) < ((n : ℝ) + 1) ^ 2 := by positivity rw [abs_div, abs_of_pos hden] gcongr · exact Real.abs_sin_le_one _ @[simp] theorem Cl₂_zero : Cl₂ 0 = 0 := by simp [Cl₂] /-- `Cl₂(π) = 0` — every term `sin((n+1)π)` vanishes. -/@[simp] theorem Cl₂_pi : Cl₂ π = 0 := by have h : ∀ n : ℕ, Real.sin ((n + 1) * π) / ((n : ℝ) + 1) ^ 2 = 0 := by intro n have hs : Real.sin (((n + 1 : ℕ) : ℝ) * π) = 0 := Real.sin_nat_mul_pi (n + 1) rw [show ((n : ℝ) + 1) * π = ((n + 1 : ℕ) : ℝ) * π by push_cast; ring] at * rw [hs, zero_div] simp only [Cl₂] rw [tsum_congr h] exact tsum_zero /-- `Cl₂` is an odd function. -/theorem Cl₂_neg (θ : ℝ) : Cl₂ (-θ) = -Cl₂ θ := by simp only [Cl₂] rw [← tsum_neg] exact tsum_congr fun n => by rw [mul_neg, Real.sin_neg, neg_div] /-- **Catalan's constant** `G = ∑_{k≥0} (−1)^k/(2k+1)² = 0.9159…` — the value of theDirichlet beta function at `2`. Its irrationality is a famous open problem. -/def catalanConst : ℝ := ∑' k : ℕ, (-1 : ℝ) ^ k / (2 * (k : ℝ) + 1) ^ 2 /-- The defining series of Catalan's constant converges absolutely. -/theorem summable_catalanConst : Summable fun k : ℕ => (-1 : ℝ) ^ k / (2 * (k : ℝ) + 1) ^ 2 := by rw [← summable_abs_iff] refine Summable.of_nonneg_of_le (fun n => abs_nonneg _) (fun n => ?_) summable_one_div_add_one_sq have hden : (0 : ℝ) < (2 * (n : ℝ) + 1) ^ 2 := by positivity rw [abs_div, abs_of_pos hden, abs_pow, abs_neg, abs_one, one_pow] have h1 : ((n : ℝ) + 1) ^ 2 ≤ (2 * (n : ℝ) + 1) ^ 2 := by have : (0 : ℝ) ≤ (n : ℝ) := Nat.cast_nonneg n nlinarith have h2 : (0 : ℝ) < ((n : ℝ) + 1) ^ 2 := by positivity exact one_div_le_one_div_of_le h2 h1 /-- **`Cl₂(π/2) = G`** — Catalan's constant is the Clausen function at the quartercircle. (Even-indexed sines vanish, odd-indexed give the alternating series.) -/theorem Cl₂_pi_div_two : Cl₂ (π / 2) = catalanConst := by set f : ℕ → ℝ := fun n => Real.sin ((n + 1) * (π / 2)) / ((n : ℝ) + 1) ^ 2 with hf -- odd-indexed terms vanish: `sin((2k+2)·π/2) = sin((k+1)π) = 0` have hodd : ∀ k : ℕ, f (2 * k + 1) = 0 := by intro k have harg : ((2 * k + 1 : ℕ) + 1 : ℝ) * (π / 2) = ((k + 1 : ℕ) : ℝ) * π := by push_cast; ring rw [hf] simp only rw [show (((2 * k + 1 : ℕ) : ℝ) + 1) * (π / 2) = ((k + 1 : ℕ) : ℝ) * π by push_cast; ring, Real.sin_nat_mul_pi, zero_div] -- even-indexed terms: `sin((2k+1)·π/2) = cos(kπ) = (−1)^k` have heven : ∀ k : ℕ, f (2 * k) = (-1 : ℝ) ^ k / (2 * (k : ℝ) + 1) ^ 2 := by intro k have hsin : Real.sin ((2 * (k : ℝ) + 1) * (π / 2)) = (-1 : ℝ) ^ k := by rw [show (2 * (k : ℝ) + 1) * (π / 2) = (k : ℝ) * π + π / 2 by ring, Real.sin_add_pi_div_two, Real.cos_nat_mul_pi] rw [hf] simp only rw [show ((2 * k : ℕ) : ℝ) + 1 = 2 * (k : ℝ) + 1 by push_cast; ring, hsin] have hse : Summable fun k : ℕ => f (2 * k) := by rw [funext heven] exact summable_catalanConst have hso : Summable fun k : ℕ => f (2 * k + 1) := by rw [funext hodd] exact summable_zero have hsplit := tsum_even_add_odd hse hso have h1 : ∑' k : ℕ, f (2 * k) = catalanConst := by rw [funext heven] rfl have h2 : ∑' k : ℕ, f (2 * k + 1) = 0 := by rw [funext hodd] exact tsum_zero rw [Cl₂, ← hsplit, h1, h2, add_zero] /-- **The Bernoulli parabola**: for `θ ∈ [0, 2π]`,`∑_{n≥1} cos(nθ)/n² = π²/6 − πθ/2 + θ²/4` — the real part of `Li₂` on the unit circle(the weight-2 Fourier expansion of the Bernoulli polynomial `B₂`). Note the `n = 0`term of the ℕ-indexed sum is `0` by the `1/0 = 0` convention. -/theorem hasSum_cos_div_sq {θ : ℝ} (h0 : 0 ≤ θ) (h2π : θ ≤ 2 * π) : HasSum (fun n : ℕ => Real.cos (n * θ) / (n : ℝ) ^ 2) (π ^ 2 / 6 - π * θ / 2 + θ ^ 2 / 4) := by have hπ := Real.pi_pos have hx : θ / (2 * π) ∈ Icc (0 : ℝ) 1 := by constructor · positivity · rw [div_le_one (by positivity)] linarith have h := hasSum_one_div_nat_pow_mul_cos (k := 1) one_ne_zero hx have hfun : (fun n : ℕ => 1 / (n : ℝ) ^ (2 * 1) * Real.cos (2 * π * n * (θ / (2 * π)))) = fun n : ℕ => Real.cos (n * θ) / (n : ℝ) ^ 2 := by funext n rw [show 2 * π * (n : ℝ) * (θ / (2 * π)) = (n : ℝ) * θ by field_simp] rw [pow_mul, pow_one] ring rw [hfun] at h convert h using 1 -- evaluate the Bernoulli polynomial `B₂(x) = x² − x + 1/6` at `x = θ/(2π)` have hB : (Polynomial.map (algebraMap ℚ ℝ) (Polynomial.bernoulli 2)).eval (θ / (2 * π)) = (θ / (2 * π)) ^ 2 - θ / (2 * π) + 1 / 6 := by have hpoly : Polynomial.bernoulli 2 = Polynomial.monomial 2 (1 : ℚ) + Polynomial.monomial 1 (-1) + Polynomial.monomial 0 (1 / 6) := by rw [Polynomial.bernoulli] rw [Finset.sum_range_succ, Finset.sum_range_succ, Finset.sum_range_one] norm_num [bernoulli_zero, bernoulli_one, bernoulli_two] rw [hpoly] simp only [Polynomial.map_add, Polynomial.map_monomial, map_one, map_neg, map_div₀, map_ofNat, Polynomial.eval_add, Polynomial.eval_monomial] norm_num ring rw [hB] have hne : (2 * π : ℝ) ≠ 0 := by positivity field_simp ring /-! ### Positivity of `Cl₂` on `(0, π)` Abel rearrangement of the partial sums of the `Cl₂` series in terms of theFejér–Jackson sums, then `fejerSum_pos` makes every piece positive. The arrangement isasymptotics-free: every partial sum is at least `sin θ / 2`. -/ /-- Abel summation identity: the `(N+1)`-term partial sum of the `Cl₂` series equals`S_{N+1}/(N+1) + ∑_{k<N} S_{k+1}·(1/(k+1) − 1/(k+2))` in terms of the Fejér–Jacksonsums `S_M = fejerSum M`. -/private lemma cl2_partial_abel (θ : ℝ) (N : ℕ) : ∑ k ∈ Finset.range (N + 1), Real.sin (((k : ℝ) + 1) * θ) / ((k : ℝ) + 1) ^ 2 = fejerSum (N + 1) θ / ((N : ℝ) + 1) + ∑ k ∈ Finset.range N, fejerSum (k + 1) θ * (1 / ((k : ℝ) + 1) - 1 / ((k : ℝ) + 2)) := by induction N with | zero => simp [fejerSum] | succ M ih => rw [Finset.sum_range_succ, ih, Finset.sum_range_succ] have hsplit : fejerSum (M + 2) θ = fejerSum (M + 1) θ + Real.sin (((M : ℝ) + 2) * θ) / ((M : ℝ) + 2) := by unfold fejerSum rw [Finset.sum_range_succ, show (((M + 1 : ℕ) : ℝ) + 1) = (M : ℝ) + 2 by push_cast; ring] have hc1 : (((M + 1 : ℕ) : ℝ) + 1) = (M : ℝ) + 2 := by push_cast; ring rw [hc1, hsplit] have h1 : ((M : ℝ) + 1) ≠ 0 := by positivity have h2 : ((M : ℝ) + 2) ≠ 0 := by positivity field_simp ring /-- **The asymptotics-free Clausen bound** on `(0, π)`: `Cl₂ θ ≥ sin θ / 2`. Abel summation writes eachpartial sum through the Fejér–Jackson sums, all positive, and the first term alone is `sin θ / 2`. -/theorem sin_div_two_le_Cl₂ {θ : ℝ} (h0 : 0 < θ) (hπ : θ < π) : Real.sin θ / 2 ≤ Cl₂ θ := by -- every (N+1)-term partial sum is at least `sin θ / 2` have hpartial : ∀ N : ℕ, Real.sin θ / 2 ≤ ∑ k ∈ Finset.range (N + 1), Real.sin (((k : ℝ) + 1) * θ) / ((k : ℝ) + 1) ^ 2 := by intro N rw [cl2_partial_abel θ N] have hS : 0 < fejerSum (N + 1) θ / ((N : ℝ) + 1) := by have := fejerSum_pos (N + 1) (by omega) h0 hπ positivity rcases Nat.eq_zero_or_pos N with h | h · subst h have h1 : fejerSum 1 θ = Real.sin θ := by simp [fejerSum] simp only [Finset.range_zero, Finset.sum_empty, add_zero, Nat.cast_zero, zero_add] rw [h1] at hS ⊢ linarith [hS] · -- the `k = 0` summand alone is `S₁·(1 − 1/2) = sin θ / 2` have h1 : fejerSum 1 θ * (1 / ((0 : ℕ) + 1 : ℝ) - 1 / ((0 : ℕ) + 2 : ℝ)) = Real.sin θ / 2 := by simp [fejerSum] ring have hterms : ∀ k ∈ Finset.range N, 0 ≤ fejerSum (k + 1) θ * (1 / ((k : ℝ) + 1) - 1 / ((k : ℝ) + 2)) := by intro k _ apply mul_nonneg (fejerSum_pos (k + 1) (by omega) h0 hπ).le have ha : (0 : ℝ) < (k : ℝ) + 1 := by positivity have hb : (0 : ℝ) < (k : ℝ) + 2 := by positivity rw [sub_nonneg] apply one_div_le_one_div_of_le ha linarith have hsum_ge : Real.sin θ / 2 ≤ ∑ k ∈ Finset.range N, fejerSum (k + 1) θ * (1 / ((k : ℝ) + 1) - 1 / ((k : ℝ) + 2)) := by calc Real.sin θ / 2 = fejerSum (0 + 1) θ * (1 / ((0 : ℕ) + 1 : ℝ) - 1 / ((0 : ℕ) + 2 : ℝ)) := by rw [← h1] _ ≤ _ := by apply Finset.single_le_sum hterms exact Finset.mem_range.mpr h linarith -- pass to the limit of partial sums have htend := ((summable_Cl₂ θ).hasSum).tendsto_sum_nat apply ge_of_tendsto htend filter_upwards [Filter.eventually_ge_atTop 1] with N hN obtain ⟨M, rfl⟩ := Nat.exists_eq_add_of_le hN rw [add_comm 1 M] exact hpartial M /-- **Positivity of the Clausen function** on `(0, π)`: `0 < Cl₂ θ`, from `Cl₂ θ ≥ sin θ / 2`; the analyticheart of "weight-2 zeta states never reach an orthogonal state". -/theorem Cl₂_pos {θ : ℝ} (h0 : 0 < θ) (hπ : θ < π) : 0 < Cl₂ θ := by have hsin := Real.sin_pos_of_pos_of_lt_pi h0 hπ linarith [sin_div_two_le_Cl₂ h0 hπ] /-! ### The clock that never ticks The weight-2 zeta state — populations `∝ 1/n²` on equally spaced energy levels — hasautocorrelation `S(θ) = (6/π²)·Li₂(e^{−iθ})`, with real part `zetaStateRe` (the Bernoulliparabola) and imaginary part `−Cl₂`. Despite infinite mean energy and infinite energyvariance (so the Margolus–Levitin and Mandelstam–Tamm bounds say nothing), the state**never** reaches an orthogonal state: `S` has no zero on `(0, 2π)`. -/ /-- Reflection at the full circle: `Cl₂(2π − θ) = −Cl₂(θ)`. -/theorem Cl₂_two_pi_sub (θ : ℝ) : Cl₂ (2 * π - θ) = -Cl₂ θ := by simp only [Cl₂] rw [← tsum_neg] refine tsum_congr fun n => ?_ rw [show ((n : ℝ) + 1) * (2 * π - θ) = ((n + 1 : ℕ) : ℝ) * (2 * π) - ((n : ℝ) + 1) * θ by push_cast; ring, Real.sin_nat_mul_two_pi_sub, neg_div] /-- The real part of the weight-2 zeta-state autocorrelation, `∑ cos(nθ)/n²`(indexed like `Cl₂`). -/def zetaStateRe (θ : ℝ) : ℝ := ∑' n : ℕ, Real.cos (((n : ℝ) + 1) * θ) / ((n : ℝ) + 1) ^ 2 /-- At the antipode `θ = π` the real part is `−π²/12 ≠ 0` (Bernoulli parabola). -/theorem zetaStateRe_pi : zetaStateRe π = -(π ^ 2) / 12 := by have hπ := Real.pi_pos have h := hasSum_cos_div_sq (θ := π) hπ.le (by linarith) have hzero : ∑ i ∈ Finset.range 1, Real.cos ((i : ℝ) * π) / (i : ℝ) ^ 2 = 0 := by simp have h' : HasSum (fun n : ℕ => Real.cos ((n : ℝ) * π) / (n : ℝ) ^ 2) ((π ^ 2 / 6 - π * π / 2 + π ^ 2 / 4) + ∑ i ∈ Finset.range 1, Real.cos ((i : ℝ) * π) / (i : ℝ) ^ 2) := by rw [hzero, add_zero] exact h have hsh := (hasSum_nat_add_iff (f := fun n : ℕ => Real.cos ((n : ℝ) * π) / (n : ℝ) ^ 2) 1).mpr h' have hval : zetaStateRe π = π ^ 2 / 6 - π * π / 2 + π ^ 2 / 4 := by rw [zetaStateRe, ← hsh.tsum_eq] refine tsum_congr fun n => ?_ push_cast ring_nf rw [hval] ring /-- **The clock that never ticks**: the weight-2 zeta-state autocorrelation nevervanishes on `(0, 2π)` — its real part (`zetaStateRe`) and imaginary part (`−Cl₂`) arenever simultaneously zero. The quantum state with populations `∝ 1/n²` on equallyspaced levels has infinite mean energy, yet never reaches an orthogonal state. -/theorem zetaState_never_orthogonal {θ : ℝ} (h0 : 0 < θ) (h2π : θ < 2 * π) : ¬(zetaStateRe θ = 0 ∧ Cl₂ θ = 0) := by rintro ⟨hre, him⟩ have hπ := Real.pi_pos rcases lt_trichotomy θ π with h | h | h · exact absurd him (ne_of_gt (Cl₂_pos h0 h)) · subst h rw [zetaStateRe_pi] at hre nlinarith · have h1 : 0 < 2 * π - θ := by linarith have h2 : 2 * π - θ < π := by linarith have h3 := Cl₂_pos h1 h2 have h4 := Cl₂_two_pi_sub θ rw [him, neg_zero] at h4 linarith /-- The weight-2 zeta state has **infinite mean energy**: `∑ₙ pₙ Eₙ` with `pₙ = 6/(π² n²)` and`Eₙ = n` is the harmonic series up to the factor `6/π²`. -/theorem zetaState_meanEnergy_not_summable : ¬Summable fun n : ℕ => 6 / (π ^ 2 * ((n : ℝ) + 1) ^ 2) * ((n : ℝ) + 1) := by intro h have hπ : π ^ 2 ≠ 0 := by positivity have h2 : Summable fun n : ℕ => 1 / ((n + 1 : ℕ) : ℝ) := by refine (h.mul_left (π ^ 2 / 6)).congr fun n => ?_ have hn : ((n : ℝ) + 1) ≠ 0 := by positivity push_cast field_simp exact Real.not_summable_one_div_natCast ((summable_nat_add_iff 1).mp h2) /-- The weight-2 zeta state has **infinite second moment** `∑ₙ pₙ Eₙ²`, so its energyvariance is infinite too. -/theorem zetaState_secondMoment_not_summable : ¬Summable fun n : ℕ => 6 / (π ^ 2 * ((n : ℝ) + 1) ^ 2) * ((n : ℝ) + 1) ^ 2 := by intro h apply zetaState_meanEnergy_not_summable refine Summable.of_nonneg_of_le (fun n => by positivity) (fun n => ?_) h have h1 : (1 : ℝ) ≤ (n : ℝ) + 1 := by linarith [n.cast_nonneg (α := ℝ)] have hp : 0 ≤ 6 / (π ^ 2 * ((n : ℝ) + 1) ^ 2) * ((n : ℝ) + 1) := by positivity calc 6 / (π ^ 2 * ((n : ℝ) + 1) ^ 2) * ((n : ℝ) + 1) = 6 / (π ^ 2 * ((n : ℝ) + 1) ^ 2) * ((n : ℝ) + 1) * 1 := by ring _ ≤ 6 / (π ^ 2 * ((n : ℝ) + 1) ^ 2) * ((n : ℝ) + 1) * ((n : ℝ) + 1) := mul_le_mul_of_nonneg_left h1 hp _ = 6 / (π ^ 2 * ((n : ℝ) + 1) ^ 2) * ((n : ℝ) + 1) ^ 2 := by ring /-- **Duplication of the Clausen function**: `Cl₂(2θ) = 2 Cl₂(θ) − 2 Cl₂(π − θ)`, the circleshadow of `Li₂(z²) = 2(Li₂ z + Li₂(−z))` (even indices survive, odd ones cancel). -/theorem Cl₂_two_mul (θ : ℝ) : Cl₂ (2 * θ) = 2 * Cl₂ θ - 2 * Cl₂ (π - θ) := by set g : ℕ → ℝ := fun n => Real.sin ((n + 1) * θ) / ((n : ℝ) + 1) ^ 2 - Real.sin ((n + 1) * (π - θ)) / ((n : ℝ) + 1) ^ 2 with hg have hgs : Summable g := (summable_Cl₂ θ).sub (summable_Cl₂ (π - θ)) have htg : ∑' n, g n = Cl₂ θ - Cl₂ (π - θ) := by rw [hg, (summable_Cl₂ θ).tsum_sub (summable_Cl₂ (π - θ))] rfl -- `n` even: `n + 1` is odd and the two sines agree have heven : ∀ k : ℕ, g (2 * k) = 0 := by intro k simp only [hg] rw [show (((2 * k : ℕ) : ℝ) + 1) * (π - θ) = (π - (((2 * k : ℕ) : ℝ) + 1) * θ) + (k : ℝ) * (2 * π) by push_cast; ring, Real.sin_add_nat_mul_two_pi, Real.sin_pi_sub, sub_self] -- `n` odd: `n + 1 = 2 (k + 1)` and the two sines are opposite have hodd : ∀ k : ℕ, g (2 * k + 1) = Real.sin (((k : ℝ) + 1) * (2 * θ)) / ((k : ℝ) + 1) ^ 2 / 2 := by intro k simp only [hg] rw [show (((2 * k + 1 : ℕ) : ℝ) + 1) * (π - θ) = ((k + 1 : ℕ) : ℝ) * (2 * π) - ((k : ℝ) + 1) * (2 * θ) by push_cast; ring, show (((2 * k + 1 : ℕ) : ℝ) + 1) * θ = ((k : ℝ) + 1) * (2 * θ) by push_cast; ring, Real.sin_nat_mul_two_pi_sub, show ((2 * k + 1 : ℕ) : ℝ) + 1 = 2 * ((k : ℝ) + 1) by push_cast; ring] have hk : (k : ℝ) + 1 ≠ 0 := by positivity field_simp ring have hse : Summable fun k : ℕ => g (2 * k) := by rw [funext heven] exact summable_zero have hso : Summable fun k : ℕ => g (2 * k + 1) := hgs.comp_injective fun a b h => by simpa using h have hsplit := tsum_even_add_odd hse hso have hodd_sum : ∑' k : ℕ, g (2 * k + 1) = Cl₂ (2 * θ) / 2 := by rw [funext hodd, tsum_div_const, Cl₂] have key : Cl₂ θ - Cl₂ (π - θ) = Cl₂ (2 * θ) / 2 := by rw [← htg, ← hsplit, funext heven, tsum_zero, zero_add, hodd_sum] linarith /-- `Cl₂(2π/3) = (2/3) Cl₂(π/3)`: duplication at `θ = π/3`. -/theorem Cl₂_two_pi_div_three : Cl₂ (2 * π / 3) = 2 / 3 * Cl₂ (π / 3) := by have h := Cl₂_two_mul (π / 3) rw [show 2 * (π / 3) = 2 * π / 3 by ring, show π - π / 3 = 2 * π / 3 by ring] at h linarith end Dilog