Exact Lean source
PCTLocalChartInverse
formalization/Cloning/PCTLocalChartInverse.lean
Source hash: f20f2ac38043846d7dd2d1e738f02e31b1ee1d939942ffe15546051d332a2c20
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.PCTLocalChart.inclusiondefinition Cloning.PCTLocalChart.diagonalCLMdefinition Cloning.PCTLocalChart.generatorCLMdefinition Cloning.PCTLocalChart.hermitianParttheorem Cloning.PCTLocalChart.inclusion_applytheorem Cloning.PCTLocalChart.diagonalCLM_applytheorem Cloning.PCTLocalChart.generatorCLM_applytheorem Cloning.PCTLocalChart.chart_eq_hermitianParttheorem Cloning.PCTLocalChart.rawChart_hasStrictFDerivAt_zerotheorem Cloning.PCTLocalChart.chart_hasStrictFDerivAt_zerodefinition Cloning.PCTLocalChart.localInversetheorem Cloning.PCTLocalChart.localInverse_zerotheorem Cloning.PCTLocalChart.eventually_chart_localInversetheorem Cloning.PCTLocalChart.localInverse_hasStrictFDerivAt_zero1import Cloning.PCTLocalChartAlgebra
2
3/-! The actual exponential chart has identity derivative and therefore an
4exact local inverse. This concerns finite-dimensional matrix geometry only;
5it does not construct mixed-state LAN channels. -/
6noncomputable section
7open scoped Matrix ComplexOrder Matrix.Norms.L2Operator Topology BigOperators RightActions
8open Matrix NormedSpace Filter
9namespace Cloning.PCTLocalChart
10set_option backward.isDefEq.respectTransparency false
11set_option maxHeartbeats 1200000
12variable {A : Type*} [Fintype A] [DecidableEq A]
13
14local instance : NormedAlgebra ℝ (Matrix A A ℂ) :=
15 NormedAlgebra.restrictScalars ℝ ℂ (Matrix A A ℂ)
16
17local instance : FiniteDimensional ℝ (Hermitian A) :=
18 FiniteDimensional.of_injective (selfAdjoint.submodule ℝ (Matrix A A ℂ)).subtype
19 Subtype.val_injective
20
21local instance : CompleteSpace (Hermitian A) := FiniteDimensional.complete ℝ (Hermitian A)
22
23def inclusion : Hermitian A →L[ℝ] Matrix A A ℂ :=
24 (selfAdjoint.submodule ℝ (Matrix A A ℂ)).subtypeL
25
26def diagonalCLM : Hermitian A →L[ℝ] Matrix A A ℂ :=
27 (diagonalPart (A := A)).toContinuousLinearMap.comp inclusion
28
29def generatorCLM (p : A → ℝ) : Hermitian A →L[ℝ] Matrix A A ℂ :=
30 (generator p).toContinuousLinearMap.comp inclusion
31
32def hermitianPart : Matrix A A ℂ →L[ℝ] Hermitian A :=
33 (selfAdjointPart ℝ (A := Matrix A A ℂ)).toContinuousLinearMap
34
35@[simp] lemma inclusion_apply (H : Hermitian A) : inclusion H = (H : Matrix A A ℂ) := rfl
36@[simp] lemma diagonalCLM_apply (H : Hermitian A) :
37 diagonalCLM H = diagonalPart (H : Matrix A A ℂ) := rfl
38@[simp] lemma generatorCLM_apply (p : A → ℝ) (H : Hermitian A) :
39 generatorCLM p H = generator p H := rfl
40
41lemma chart_eq_hermitianPart (p : A → ℝ) (H : Hermitian A) :
42 chart p H = hermitianPart (rawChart p H) := by
43 apply Subtype.ext
44 exact ((rawChart_hermitian p H).isSelfAdjoint.coe_selfAdjointPart_apply ℝ).symm
45
46/-- The explicit commutator identity makes the differential exactly the
47inclusion of the Hermitian tangent space. -/
48theorem rawChart_hasStrictFDerivAt_zero (p : A → ℝ) (hp : Function.Injective p) :
49 HasStrictFDerivAt (rawChart p) inclusion (0 : Hermitian A) := by
50 have hg : HasStrictFDerivAt (fun H : Hermitian A => NormedSpace.exp (generator p H))
51 (generatorCLM p) 0 := by
52 have he : HasStrictFDerivAt NormedSpace.exp (1 : Matrix A A ℂ →L[ℝ] Matrix A A ℂ)
53 ((generatorCLM p) 0) := by simpa using (hasStrictFDerivAt_exp_zero (𝕂 := ℝ)
54 (𝔸 := Matrix A A ℂ))
55 have h := he.comp (0 : Hermitian A) (generatorCLM p).hasStrictFDerivAt
56 simpa using h
57 have hgn : HasStrictFDerivAt (fun H : Hermitian A => NormedSpace.exp (-generator p H))
58 (-generatorCLM p) 0 := by
59 have he : HasStrictFDerivAt NormedSpace.exp (1 : Matrix A A ℂ →L[ℝ] Matrix A A ℂ)
60 ((-generatorCLM p) 0) := by simpa using (hasStrictFDerivAt_exp_zero (𝕂 := ℝ)
61 (𝔸 := Matrix A A ℂ))
62 have h := he.comp (0 : Hermitian A) (-generatorCLM p).hasStrictFDerivAt
63 simpa using h
64 have hd : HasStrictFDerivAt (fun H : Hermitian A => base p + diagonalPart H)
65 diagonalCLM 0 := (diagonalCLM (A := A)).hasStrictFDerivAt.const_add (base p)
66 have h := ((hg.mul' hd).mul' hgn).sub_const (base p)
67 convert h using 1
68 ext H : 1
69 simp only [ContinuousLinearMap.add_apply, ContinuousLinearMap.smul_apply,
70 ContinuousLinearMap.neg_apply, Pi.mul_apply, ZeroMemClass.coe_zero, map_zero, exp_zero, add_zero, one_mul, mul_one,
71 generatorCLM_apply, diagonalCLM_apply, inclusion_apply, neg_zero, exp_zero,
72 smul_eq_mul, op_smul_eq_mul, one_mul, mul_one, mul_neg]
73 change (H : Matrix A A ℂ) =
74 -(base p * generator p H) + (diagonalPart H + generator p H * base p)
75 have he := generator_commutator p hp (H : Matrix A A ℂ)
76 calc
77 (H : Matrix A A ℂ) = diagonalPart H + generator p H * base p -
78 base p * generator p H := he.symm
79 _ = _ := by abel
80
81/-- In the actual Hermitian chart, the derivative is a continuous linear
82equivalence: the identity. -/
83theorem chart_hasStrictFDerivAt_zero (p : A → ℝ) (hp : Function.Injective p) :
84 HasStrictFDerivAt (chart p) ((ContinuousLinearEquiv.refl ℝ (Hermitian A)).toContinuousLinearMap) 0 := by
85 have h := (hermitianPart (A := A)).hasStrictFDerivAt.comp 0
86 (rawChart_hasStrictFDerivAt_zero p hp)
87 convert h using 1
88 · funext H
89 exact chart_eq_hermitianPart p H
90 · ext H : 1
91 apply Subtype.ext
92 exact (H.2.coe_selfAdjointPart_apply ℝ).symm
93
94/-- A chosen local inverse supplied by the inverse function theorem. -/
95def localInverse (p : A → ℝ) (hp : Function.Injective p) : Hermitian A → Hermitian A :=
96 (chart_hasStrictFDerivAt_zero p hp).localInverse (chart p)
97 (ContinuousLinearEquiv.refl ℝ (Hermitian A)) 0
98
99@[simp] theorem localInverse_zero (p : A → ℝ) (hp : Function.Injective p) :
100 localInverse p hp 0 = 0 := by
101 simpa [localInverse] using (chart_hasStrictFDerivAt_zero p hp).localInverse_apply_image
102
103theorem eventually_chart_localInverse (p : A → ℝ) (hp : Function.Injective p) :
104 ∀ᶠ X in 𝓝 (0 : Hermitian A), chart p (localInverse p hp X) = X := by
105 simpa [localInverse] using (chart_hasStrictFDerivAt_zero p hp).eventually_right_inverse
106
107theorem localInverse_hasStrictFDerivAt_zero (p : A → ℝ) (hp : Function.Injective p) :
108 HasStrictFDerivAt (localInverse p hp) ((ContinuousLinearEquiv.refl ℝ (Hermitian A)).toContinuousLinearMap) 0 := by
109 simpa [localInverse] using (chart_hasStrictFDerivAt_zero p hp).to_localInverse
110
111end Cloning.PCTLocalChart