  We show that the Hardy nonlocality condition is equivalent to the violation
of the CHSH inequality with additional constraints. We adapt the geometrical
optimization of the violation of the CHSH inequality to these additional
constraints and show that the Hardy condition is equivalent to optimizing the
length difference of two sides in a triangle. Furthermore, we discuss the
effects of the different constraints.
