Exact Lean source
TensorLocalUnitaryTaylor
formalization/Cloning/TensorLocalUnitaryTaylor.lean
Source hash: 2a16cd8128297be85e2db90e82ee042889da19bdee6dc5b053c0c86d797e965e
Full source copied without mathematical changes from the snapshot whose input hash matches the passing audit. Select a line number for a stable source pointer.
The declarations belong to the compiled inventory covered by the project’s shared axiom audit. That audit records an aggregate union, without attributing axioms to individual declarations.
Declarations in this module
definition
Cloning.TensorLocalUnitary.expOrbittheorem Cloning.TensorLocalUnitary.expOrbit_hasDerivAttheorem Cloning.TensorLocalUnitary.expOrbit_iteratedDerivtheorem Cloning.TensorLocalUnitary.expOrbit_contDifftheorem Cloning.TensorLocalUnitary.expOrbit_normtheorem Cloning.TensorLocalUnitary.exp_taylor_vector_remainder1import Cloning.TensorRootBounds
2import Mathlib.Analysis.SpecialFunctions.Exponential
3import Mathlib.Analysis.Calculus.Taylor
4
5/-! A vector-specific Taylor remainder for actual skew-adjoint exponentials.
6The bound uses the iterated generator on the chosen vector, avoiding the
7global generator norm that grows with the physical sample size. -/
8noncomputable section
9open scoped InnerProductSpace Topology BigOperators
10open NormedSpace Filter
11namespace Cloning.TensorLocalUnitary
12set_option backward.isDefEq.respectTransparency false
13set_option maxHeartbeats 1000000
14variable {H : Type*} [NormedAddCommGroup H] [InnerProductSpace ℂ H] [CompleteSpace H]
15local instance : NormedAlgebra ℝ (H →L[ℂ] H) := NormedAlgebra.restrictScalars ℝ ℂ _
16local instance : NormedAlgebra ℚ (H →L[ℂ] H) := NormedAlgebra.restrictScalars ℚ ℝ _
17
18def expOrbit (A : H →L[ℂ] H) (v : H) (t : ℝ) : H := exp (t • A) v
19
20theorem expOrbit_hasDerivAt (A : H →L[ℂ] H) (v : H) (t : ℝ) :
21 HasDerivAt (expOrbit A v) (expOrbit A (A v) t) t := by
22 have h := ((ContinuousLinearMap.apply ℂ H v).restrictScalars ℝ).hasFDerivAt.comp_hasDerivAt t
23 (hasDerivAt_exp_smul_const A t)
24 simpa only [expOrbit, ContinuousLinearMap.coe_restrictScalars, ContinuousLinearMap.apply_apply,
25 ContinuousLinearMap.mul_apply] using h
26
27theorem expOrbit_iteratedDeriv (A : H →L[ℂ] H) (v : H) (m : ℕ) :
28 iteratedDeriv m (expOrbit A v) = expOrbit A ((A ^ m) v) := by
29 induction m with
30 | zero => simp [expOrbit, iteratedDeriv_zero]
31 | succ m ih =>
32 rw [iteratedDeriv_succ, ih]
33 funext t
34 simpa only [pow_succ', ContinuousLinearMap.mul_apply] using
35 (expOrbit_hasDerivAt A ((A^m) v) t).deriv
36
37theorem expOrbit_contDiff (A : H →L[ℂ] H) (v : H) (m : ℕ) :
38 ContDiff ℝ m (expOrbit A v) := by
39 apply contDiff_nat_iff_iteratedDeriv.mpr
40 constructor
41 · intro j _
42 rw [expOrbit_iteratedDeriv]
43 exact (show Differentiable ℝ (expOrbit A ((A^j) v)) from
44 fun t => (expOrbit_hasDerivAt A ((A^j) v) t).differentiableAt).continuous
45 · intro j _
46 rw [expOrbit_iteratedDeriv]
47 exact fun t => (expOrbit_hasDerivAt A ((A^j) v) t).differentiableAt
48
49theorem expOrbit_norm (A : H →L[ℂ] H) (hA : A.adjoint = -A) (v : H) (t : ℝ) :
50 ‖expOrbit A v t‖ = ‖v‖ := by
51 apply ContinuousLinearMap.norm_map_of_mem_unitary
52 apply exp_mem_unitary_of_mem_skewAdjoint
53 change star (t • A) = -(t • A)
54 simp only [star_smul, star_trivial, ContinuousLinearMap.star_eq_adjoint, hA, smul_neg]
55
56/-- Actual exponential versus its degree-m Taylor polynomial on one vector.
57The only generator hypothesis is literal skew-adjointness; the bound is
58`‖A^(m+1) v‖ / m!`, independent of the global operator norm. -/
59theorem exp_taylor_vector_remainder
60 (A : H →L[ℂ] H) (hA : A.adjoint = -A) (v : H) (m : ℕ) :
61 ‖exp A v - ∑ j ∈ Finset.range (m+1), ((j.factorial : ℝ)⁻¹) • ((A^j) v)‖ ≤
62 ‖(A^(m+1)) v‖ / m.factorial := by
63 have hderiv (j : ℕ) (t : ℝ) (ht : t ∈ Set.Icc (0 : ℝ) 1) :
64 iteratedDerivWithin j (expOrbit A v) (Set.Icc (0 : ℝ) 1) t = expOrbit A ((A^j) v) t := by
65 rw [iteratedDerivWithin_eq_iteratedDeriv (uniqueDiffOn_Icc zero_lt_one)
66 (expOrbit_contDiff A v j).contDiffAt ht, expOrbit_iteratedDeriv]
67 have h := taylor_mean_remainder_bound (f := expOrbit A v) (a := 0) (b := 1) (x := 1)
68 (n := m) zero_le_one (expOrbit_contDiff A v (m+1)).contDiffOn
69 (by simp) (C := ‖(A^(m+1)) v‖) (by
70 intro t ht
71 rw [hderiv (m+1) t ht, expOrbit_norm A hA])
72 have hpoly : taylorWithinEval (expOrbit A v) m (Set.Icc (0 : ℝ) 1) 0 1 =
73 ∑ j ∈ Finset.range (m+1), ((j.factorial : ℝ)⁻¹) • ((A^j) v) := by
74 rw [taylor_within_apply]
75 apply Finset.sum_congr rfl
76 intro j hj
77 rw [hderiv j 0 (by simp)]
78 simp only [expOrbit, zero_smul, exp_zero, ContinuousLinearMap.one_apply,
79 sub_zero, one_pow, mul_one]
80 rw [hpoly] at h
81 simpa only [expOrbit, one_smul, sub_zero, one_pow, mul_one] using h
82
83end Cloning.TensorLocalUnitary