module
public import Mathlib
public section
/-!
# USA Mathematical Olympiad 1975, Problem 2
Let A, B, C, D be four points in Euclidean space. Write AB for the
distance from A to B, and similarly for the other pairs. Prove that
AC² + BD² + AD² + BC² ≥ AB² + CD².
-/
namespace Usa1975P2
theorem usa1975_p2
{E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E]
(A B C D : E) :
‖A - C‖ ^ 2 + ‖B - D‖ ^ 2 + ‖A - D‖ ^ 2 + ‖B - C‖ ^ 2
≥ ‖A - B‖ ^ 2 + ‖C - D‖ ^ 2 := sorry
end Usa1975P2
This problem has a complete formalized solution.