Suppose
The Lean theorem squaredDistances_iff proves that points with exactly these distances exist if and only if positive_semidefinite_gram_realization from the equiangular lines archive to obtain vectors with Gram matrix
For a 3–4–5 triangle, the squared distances are 9, 16 and 25. Anchoring at the right angle gives triangle345_iff.
Run these commands from this directory with Git, curl, Elan and sha256sum. The configuration pins Lean 4.35.0-rc3 and Mathlib 5e0c4e5239cb0a2d86d68a884bf52cfd963fce22.
curl -fLsS \
https://raw.githubusercontent.com/HuggingMath/TheoremOS/84e40d87325052a6489f9e9225b666c622f2c405/accepted/annals_equiangular_lines_fixed_angle/Submission/Helpers.lean \
-o ArchivedEquiangularHelpers.lean
sha256sum -c - <<'EOF'
2b0ee3d08d6293710ee2348a00f8bd72e702332e7e05af0af61a434c6476e57f ArchivedEquiangularHelpers.lean
EOF
lake update --keep-toolchain
lake exe cache get
lake build ArchivedEquiangularHelpers
lake env lean EuclideanDistanceTable.leanBoth theorems passed on Linux and depend on propext, Classical.choice and Quot.sound. Lean source · Archive reuse terms