Sign of an oriented product
ProvedQuantumLTF.Membership.sgn_mul_orientedlearning-theoryquantum-computing
For a nonzero real orientation coefficient , multiplication by either preserves the sign convention (when is positive) or reverses it (when is negative).
Preamble
import Mathlib import Definitions.Def_QuantumLTF_Membership_sgn
Formal statement
theorem QuantumLTF.Membership.sgn_mul_oriented (a x : ℝ) (ha : a ≠ 0) :
(if sgn a = 1 then sgn (a * x) = sgn x
else sgn (a * x) = sgn (-x)) := by sorrySource
Supporting lemma for Section 3 of Fast Quantum Algorithms for Learning Linear Threshold Functions