Commit 2021-04-28 19:37 b9c80c92
View on Github →chore(*): use sq
as convention for "squared" (#7368)
This PR establishes sq x
as the notation for x ^ 2
. See this Zulip conversation.
A breakdown of the refactor:
- All instances of
square
andsqr
are changed tosq
(except wheresquare
means something other than "to the second power") - All instances of
pow_two
are changed tosq
, though many are kept are aliases - All instances of
sum_of_two_squares
are changed tosq_add_sq
n.b. I did NOT alter any instances of: squarefree
sum_of_four_squares
fpow_two
orrpow_two
Estimated changes
added theorem euclidean_geometry.dist_sq_eq_dist_sq_add_dist_sq_sub_two_mul_dist_mul_dist_mul_cos_angle
deleted theorem euclidean_geometry.dist_square_eq_dist_square_add_dist_square_iff_angle_eq_pi_div_two
deleted theorem euclidean_geometry.dist_square_eq_dist_square_add_dist_square_sub_two_mul_dist_mul_dist_mul_cos_angle
deleted theorem inner_product_geometry.norm_add_square_eq_norm_square_add_norm_square_iff_angle_eq_pi_div_two
added theorem inner_product_geometry.norm_sub_sq_eq_norm_sq_add_norm_sq_sub_two_mul_norm_mul_norm_mul_cos_angle