PR #6453: the rank-moment inequality at
ProvedPr6453.moment_kappa_gtThe two rank histograms of the PR #6453 word satisfy the price inequality at the claimed saving :
where counts the productive target fields of rank and the paid calls of rank , and with a real exponent.
This is the numerical step on which the exponent of the construction rests. The pricing engine of the source bisects the difference of the two moments in ; its root is , and any strictly below that root makes the recursive call tree of the word cheaper than it is productive, which is what a time bound requires. The claimed value sits below the crossing, so the margin is against a total moment of — a relative margin of , and the inequality is a genuinely tight numerical fact rather than a formal one.
The support of the two histograms is ranks: . At rank the two sides contribute their counts with opposite signs (a deficit of ), at the inequality is reversed, and at the rank-mass surplus is ; the crossing of the two moments lies in between, and this node records that the claimed saving is still on the correct side of it.
import Definitions.Def_Pr6453_RankMoments set_option autoImplicit false
namespace Pr6453
theorem moment_kappa_gt :
moment paid (1 - (kappa : ℝ)) < moment targets (1 - (kappa : ℝ)) := by
sorry
end Pr6453