NLA-lib Explorer

NLAlib.hiddenRotationOracle

Library Β· def

The hidden-rotation oracle of \mathbf{A} = \mathbf{U}\mathbf{D}\mathbf{U}^{\mathsf{H}}: the query \mathbf{x} returns (\mathbf{A}\mathbf{x}, \mathbf{U}^{\mathsf{H}}\mathbf{x}), the product and the query in the hidden coordinates. It is stronger than the matrix–vector oracle, which is its first component (QueryAlgorithm.comapResponse Prod.fst). [Shamir2026, Theorem 1], the oracle (2) there.

NLAlib.hiddenRotationOracle.{u_1, u_2} {π•œ : Type u_1} {n : Type u_2} [Fintype n]
  [NonUnitalNonAssocSemiring π•œ] [Star π•œ] (U D : Matrix n n π•œ) (x : n β†’ π•œ) : (n β†’ π•œ) Γ— (n β†’ π•œ)

Full source on GitHub

Import NLAlib.LowerBounds.QueryModel.HiddenRotation.