Counting a dart set by tail and by head #
The bookkeeping that turns WalkDart.sum_two_darts_fixed — the operator form of
"the walk crosses F at step k and again at step l" — into something
Mixing.mixing_sq can estimate.
Two counts of a dart set are needed. dartCount F v counts the F-darts
leaving v, and headCount F z counts those arriving at z. Both sum to
F.card, and each is at most the degree. The first is the function whose
stepIter the second crossing sees; the second is the measure the first
crossing leaves behind.
Main definitions #
Main results #
RegGraph.sum_dartCount,RegGraph.sum_headCount— both countFRegGraph.dartCount_le,RegGraph.headCount_le— at most the degreeRegGraph.sum_indicator_nbr— a sum overF-darts of a function of the head is a sum over vertices weighted byheadCountRegGraph.step_sum,RegGraph.stepIter_sum— the walk operator is linear over finite sumsRegGraph.sum_indicator_dartCount,RegGraph.sum_indicator_mul— indicator sums collapse to the two countsRegGraph.sum_two_crossings— two crossings ofF, in operator formRegGraph.sum_headCount_stepIter_le— the correlation bound: two crossingststeps apart are independent up tolam ^ t * deg * |F|geom_sum_le_inv,sum_pairs_geom_le— summing that over all position pairs costs onlym / (1 - lam)RegGraph.sum_pairs_le— the second moment: all pairs of crossings togethercard_sq_eq_add_two_mul_pairs— a squared count is the count plus twice the ordered pairscard_filter_eq_sum_prod,sum_pairs_eq_sum_Ico— index bookkeeping for the second moment
Geometric sums #
Squares and ordered pairs #
The square of a count is the count plus twice the ordered pairs. This is how
∑ N ^ 2 in the second-moment method becomes a sum over pairs of crossings,
which is what the correlation bound estimates.
A sum over ordered pairs below T, as an iterated sum.
Linearity of the walk operator #
Indicator sums #
The two-crossing identity #
Two crossings, in operator form. Summed over all starts and all label
sequences, the walks that cross F at step k and again at step l are counted
by the walk operator applied to the dart counts: the first crossing leaves the
measure headCount, and the second is seen through l - k - 1 steps of the
walk. Mixing.mixing_sq estimates exactly this expression.
Bounding the correlation #
The correlation bound. On a graph with spectral bound lam, two
crossings of F separated by t steps are almost independent: the operator
expression exceeds the independent value |F|² / n by at most
lam ^ t * deg * |F|.
The second moment. Summed over every pair of positions, the two-crossing
correlations exceed the independent value by at most m / (1 - lam) times
deg * |F|. The counts are supplied abstractly as C, since writing the
concrete one inside a sum would need the position bounds pointwise.