§III.D worked example: real-overlap gradient (104)–(109)
ProvedQAlgorithms.Papers.Independent.Advance50.P38.fullUnitaryRealOverlapGradientLet and let be arbitrary complex by matrices. Equip with , where are skew-Hermitian and traceless. Write , and . Then
The displayed field is the unique tangent vector representing all directional derivatives under this metric. Its exponential step belongs to for and has derivative equal to the gradient at . It gives the source's ascent system and exponential discretization. The exponent uses the correction specified in the formalization notes.
import Definitions.Def_QAlgorithms_Papers_Independent_Advance50_P38
namespace QAlgorithms.Papers.Independent.Advance50.P38
open scoped BigOperators Topology Manifold ContDiff
noncomputable section
/-- Worked example (104)--(109), PDF p.20. The missing dagger in the
printed exponent (109) is repaired from (104)--(108) and Table II U1 (p.33). -/
theorem fullUnitaryRealOverlapGradient {n : ℕ} (hn : 0 < n) (A C : (Matrix (Fin n) (Fin n) ℂ))
(U : Matrix.specialUnitaryGroup (Fin n) ℂ) :
(∀ Omega : (Matrix (Fin n) (Fin n) ℂ), IsSpecialSkew Omega →
HasDerivAt (fun t : ℝ => C.conjTranspose *
((NormedSpace.exp (t • Omega) * (U : (Matrix (Fin n) (Fin n) ℂ))) * A *
(NormedSpace.exp (t • Omega) * (U : (Matrix (Fin n) (Fin n) ℂ))).conjTranspose))
(C.conjTranspose * Omega * ((U : (Matrix (Fin n) (Fin n) ℂ)) * A * (U : (Matrix (Fin n) (Fin n) ℂ)).conjTranspose) -
C.conjTranspose * ((U : (Matrix (Fin n) (Fin n) ℂ)) * A * (U : (Matrix (Fin n) (Fin n) ℂ)).conjTranspose) * Omega) 0) ∧
IsSUGradient A C U (unitaryGradientField A C U) ∧
(∀ V : (Matrix (Fin n) (Fin n) ℂ), IsSUGradient A C U V ↔ V = unitaryGradientField A C U) ∧
(∀ a : ℝ, 0 ≤ a → unitaryAscentStep A C U a ∈ Matrix.specialUnitaryGroup (Fin n) ℂ) ∧
HasDerivAt (unitaryAscentStep A C U) (unitaryGradientField A C U) 0 := by sorry
end
end QAlgorithms.Papers.Independent.Advance50.P38
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For every natural number , arbitrary complex matrices , and , where consists of unitary matrices with determinant , put , , , and for real . All the following hold together: for every complex matrix with and , the matrix-valued function
has derivative at ; there exists a complex matrix satisfying , , and , such that, for every such ,
for every complex matrix , the existence of a matrix with these same skew-adjointness, zero-trace, and derivative properties and with is equivalent to ; for every real , ; and the matrix-valued function , defined for all real , has derivative at .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.