Reciprocal natural weights in the extended nonnegative reals #
For finitely many coordinates, the weight of d with reciprocal natural weights r is the
real sum of ratios ∑ i, d i / r i whenever d ≤ r. The bound permits zero weights: their
exponents must also be zero, so they contribute zero to both sums. This identifies extended
nonnegative weights with ordinary real ratios without requiring every weight to be positive.
On a product κ × ι of blocks indexed by κ, the weight giving the coordinate (h, i₀ h) of
each block the reciprocal natural weight (d h)⁻¹ and every other coordinate the weight 0 is
the sum ∑ h, n (h, i₀ h) / d h.
theorem
Finsupp.weight_ite_inv_natCast_eq_sum_div
{κ : Type u_2}
{ι : Type u_3}
[Fintype κ]
[Finite ι]
[DecidableEq ι]
(i₀ : κ → ι)
(d : κ → ℕ)
(n : κ × ι →₀ ℕ)
:
On blocks κ × ι, the weight that is (d h)⁻¹ at the coordinate (h, i₀ h) of each block
and 0 elsewhere is the sum ∑ h, n (h, i₀ h) / d h in ℝ≥0∞.