New martingale inequalities and applications to Fourier analysis. (May 2019)