The squared cosine of π / 8 #
Mathlib gives cos (π / 8) = √(2 + √2) / 2 (Real.cos_pi_div_eight) and the square
cos (π / 6) ^ 2 = 3 / 4 (Real.sq_cos_pi_div_six). This module records the square
cos (π / 8) ^ 2 = 1 / 2 + √2 / 4 (Real.cos_sq_pi_div_eight), which is the entangled value of the
CHSH game.
Main results #
Real.cos_sq_pi_div_eight:cos (π / 8) ^ 2 = 1 / 2 + √2 / 4.