harmonic_scale_weight
def
The harmonic weight sum H(θ) = ∑_{e ∈ E} w_e / down_θ(w_e).
Statement
open Classical in noncomputable def harmonic_scale_weight {α : Type*} (E : Finset α) (w : α → ℝ) (θ : ℝ) : ℝ
- Defined in
- arXiv:2611.17090, Section 3.1, Eq. (2)
- Verified
- 15 Nov 2026
- Axioms
- none listed
- Built on 1
- down_scaleDownward rounding down_θ(z) to the nearest scale in R_θ bounded by z: 0 if z ≤ 0, and 2^{θ + ⌊log₂ z - θ⌋} if z > 0.
- Used by 1
- accumulating_prefix_scalesAccumulating prefix edge lengths across dyadic scales (Lemma 7). Let E be a finite set of edges with weights w_e > 0, and for a fixed…
Read back from the Lean
For a type α, a finite set E : Finset α, a weight function w : α → ℝ, and a real parameter θ, harmonic_scale_weight E w θ is defined as the sum over all e ∈ E of w e / down_scale θ (w e).
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
open Classical in /-- Harmonic weight sum H(θ) = ∑_{e ∈ E} w_e / down_scale θ (w_e). -/ noncomputable def harmonic_scale_weight {α : Type*} (E : Finset α) (w : α → ℝ) (θ : ℝ) : ℝ := ∑ e ∈ E, w e / down_scale θ (w e)