πŸ›οΈ Atlasβœ’οΈFormalizations.Physics.QuantumMechanics.SpeedLimit.DominantPopulation view on GitHub β†—2 theorems
/-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, Claude (AI assistant)-/module public import Mathlib.Analysis.Normed.Group.InfiniteSumpublic import Mathlib.Analysis.Complex.Basic /-!# A dominant population keeps a state away from orthogonality For a probability distribution p on β„• and complex numbers u k of modulus one (the phases e^{βˆ’i E_kt} of a state with populations p k), 2 p j βˆ’ 1 ≀ β€–βˆ‘ p k u kβ€– for every index j, by the triangleinequality: a level that carries more than half of the population keeps the autocorrelation awayfrom zero at every time, whatever the energy moments. This is the cut-off inequality |A(t)| β‰₯Ξ±|Δ€(t)| βˆ’ (1 βˆ’ Ξ±) of Uffink, in the form of M. Andrews, Phys. Rev. A 75, 062112 (2007), Eq. (21),with the cut-off isolating one level. ## Main results * `Dilog.two_mul_sub_one_le_norm_tsum`: 2 p j βˆ’ 1 ≀ β€–βˆ‘ p k u kβ€– for phases of modulus one* `Dilog.tsum_ne_zero_of_half_lt`: the autocorrelation never vanishes when some p j > 1/2 ## References * C. MarΓ­n, *The Clock That Never Ticks: a machine-checked path from the dilogarithm to quantum  speed limits in Lean 4*, Zenodo (2026), doi:10.5281/zenodo.20675271, `thm:clock`.-/ @[expose] public section open Complex namespace Dilog /-- **The dominant-population floor.** For a probability distribution `p` and phases `u k` ofmodulus one, `2 p j - 1 ≀ β€–βˆ‘ p k u kβ€–` for every index `j`. -/theorem two_mul_sub_one_le_norm_tsum (p : β„• β†’ ℝ) (hp : βˆ€ k, 0 ≀ p k) (hs : HasSum p 1)    (u : β„• β†’ β„‚) (hu : βˆ€ k, β€–u kβ€– = 1) (j : β„•) :    2 * p j - 1 ≀ β€–βˆ‘' k, (p k : β„‚) * u kβ€– := by  have hnorm : βˆ€ k, β€–(p k : β„‚) * u kβ€– = p k := fun k ↦ by    rw [norm_mul, hu k, mul_one, Complex.norm_real, Real.norm_of_nonneg (hp k)]  have hsn : Summable fun k ↦ β€–(p k : β„‚) * u kβ€– := by    simpa only [hnorm] using hs.summable  have hsc : Summable fun k ↦ (p k : β„‚) * u k := hsn.of_norm  -- the rest of the sum, without the term `j`  set R : β„‚ := βˆ‘' k, if k = j then 0 else (p k : β„‚) * u k with hR  have hsplit : βˆ‘' k, (p k : β„‚) * u k = (p j : β„‚) * u j + R := hsc.tsum_eq_add_tsum_ite j  have hrest : βˆ‘' k, (if k = j then 0 else p k) = 1 - p j := by    have := hs.summable.tsum_eq_add_tsum_ite j    rw [hs.tsum_eq] at this    linarith  have hRle : β€–Rβ€– ≀ 1 - p j := by    have hsn' : Summable fun k ↦ β€–if k = j then (0 : β„‚) else (p k : β„‚) * u kβ€– := by      refine hsn.of_nonneg_of_le (fun k ↦ norm_nonneg _) (fun k ↦ ?_)      split_ifs      Β· rw [norm_zero]; exact norm_nonneg _      Β· exact le_rfl    calc β€–Rβ€– ≀ βˆ‘' k, β€–if k = j then (0 : β„‚) else (p k : β„‚) * u kβ€– := norm_tsum_le_tsum_norm hsn'      _ = βˆ‘' k, (if k = j then 0 else p k) := by          congr 1; funext k; split_ifs          Β· exact norm_zero          Β· exact hnorm k      _ = 1 - p j := hrest  have htri : β€–(p j : β„‚) * u jβ€– - β€–Rβ€– ≀ β€–(p j : β„‚) * u j + Rβ€– := by    have := norm_sub_norm_le ((p j : β„‚) * u j) (-R)    simpa [sub_neg_eq_add, norm_neg] using this  rw [hsplit]  rw [hnorm j] at htri  linarith /-- **A dominant population forbids orthogonality.** If some population exceeds `1/2`, theautocorrelation `βˆ‘ p k u k` never vanishes. -/theorem tsum_ne_zero_of_half_lt (p : β„• β†’ ℝ) (hp : βˆ€ k, 0 ≀ p k) (hs : HasSum p 1)    (u : β„• β†’ β„‚) (hu : βˆ€ k, β€–u kβ€– = 1) {j : β„•} (hj : 1 / 2 < p j) :    βˆ‘' k, (p k : β„‚) * u k β‰  0 := by  intro h  have := two_mul_sub_one_le_norm_tsum p hp hs u hu j  rw [h, norm_zero] at this  linarith end Dilog