English
If o.oangle x y = π/2, then ||y|| / sin(o.oangle x (x+y)) = ||x+y||.
Русский
Если o.oangle x y = π/2, то ||y|| / sin(o.oangle x (x+y)) = ||x+y||.
LaTeX
$$$ o.oangle x y = \uparrow\left( \frac{\pi}{2} \right) \Rightarrow \frac{\|y\|}{\sin\left(o.oangle x (x+y)\right)} = \|x+y\| $$$
Lean4
/-- A side of a right-angled triangle divided by the sine of the opposite angle equals the
hypotenuse. -/
theorem norm_div_sin_oangle_add_right_of_oangle_eq_pi_div_two {x y : V} (h : o.oangle x y = ↑(π / 2)) :
‖y‖ / Real.Angle.sin (o.oangle x (x + y)) = ‖x + y‖ :=
by
have hs : (o.oangle x (x + y)).sign = 1 := by rw [oangle_sign_add_right, h, Real.Angle.sign_coe_pi_div_two]
rw [o.oangle_eq_angle_of_sign_eq_one hs, Real.Angle.sin_coe,
InnerProductGeometry.norm_div_sin_angle_add_of_inner_eq_zero (o.inner_eq_zero_of_oangle_eq_pi_div_two h)
(Or.inr (o.right_ne_zero_of_oangle_eq_pi_div_two h))]