Index the functions as and write . We first control . Change variables to , average over , and apply Cauchy-Schwarz in , discarding the bounded factor . Expand the squared inner average with the second copy of written , then put . This yields
The right side is real and nonnegative because it arose as an average of squared absolute values. Next use and apply Cauchy-Schwarz in , discarding the bounded derivative. Expanding with a displacement in gives
Finally use and Cauchy-Schwarz in , discarding the bounded double derivative. Expansion with displacement gives
All these changes of variables are bijections without any division in .
Put , where is the torsion subgroup killed by an integer . The variables and are uniform on and , whose indices are . Since the last squared integrand is nonnegative, its restricted average is at most times the unrestricted average over the two increments. By part (i), that unrestricted average is . Hence .
To control , apply the same three eliminations in the order of slopes . The surviving has increments . The last increment is uniform, and only the first is restricted to , so the resulting bound is . Reversing the arithmetic progression by treats and respectively. This proves the four-term progression bound with torsion factors:
For a fixed finite group, this positive constant tends to zero with . In , , so . If multiplication by two and three are bijective, the sharper holds.
A dependence on torsion is necessary if a bound uniform over all finite abelian groups is intended. In , choose independent random signs . A cube with eight distinct vertices has sign product of expectation zero. Each of the twenty-eight possible collisions has probability , so the expectation of is at most . Some sign function therefore has norm at most . But with factors , every arithmetic progression is and its product is . Thus unbounded torsion obstructs uniform control of four-term progressions. The stated fixed-group bound, and the uniform cyclic-group bound needed in part (iii), are unaffected.