Popular treatments of Bell's theorem always suggest that the triangle wave is *the* predicted correlation function according to local realism - as opposed to QM's cosine wave. In fact it is only one of many possible predictions. But maybe there is a good sense in which it is the best which local realism has to offer. Problem: figure out a meaningul sense and prove the resulting theorem...
Article The triangle wave versus the cosine (how to optimally approx...