geometric_gibbs_prefix_weight
def
For natural numbers N and j and real number q, the prefix weight geometric_gibbs_prefix_weight N q j is the sum of geometric_gibbs N q i over all indices i : Fin N with (i : ℕ) < j.
Statement
noncomputable def geometric_gibbs_prefix_weight (N : ℕ) (q : ℝ) (j : ℕ) : ℝ
- Defined in
- arXiv:2610.35433
- Verified
- 27 Nov 2026
- Axioms
- none listed
- Built on 1
- geometric_gibbsFor parameter 0 < q < 1 and dimension N, the geometric Gibbs distribution g_i is (1-q) * q^i / (1-q^N) for i ∈ Fin N.
- Used by 1
- geometric_thermo_diffFor natural numbers N and j, real number q, and population vectors x and y on Fin N, the thermomajorization prefix difference…
Read back from the Lean
Given natural numbers N and j and a real number q, geometric_gibbs_prefix_weight N q j is defined as the sum over all i : Fin N such that (i : ℕ) < j of geometric_gibbs N q i.
Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.
Lean source view module on GitHub
/-- Cumulative Gibbs weight of the first j levels as a sum. -/ noncomputable def geometric_gibbs_prefix_weight (N : ℕ) (q : ℝ) (j : ℕ) : ℝ := ∑ i ∈ Finset.filter (fun (i : Fin N) => (i : ℕ) < j) Finset.univ, geometric_gibbs N q i