Offline · exact source
Exact Lean source

TensorCCR

formalization/Cloning/TensorCCR.lean

Source hash: e14ed854c6b8aa7a9439a82dbe96d2208511c95497e899595d4328e96ed3cc8e

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
1import Cloning.TensorRootBounds
2 
3/-! Normalized physical root operators and their actual local CCR defects. -/
4noncomputable section
5open scoped BigOperators InnerProductSpace
6namespace Cloning.TensorLie
7set_option maxHeartbeats 1000000
8set_option backward.isDefEq.respectTransparency false
9variable {n d : ℕ}
10 
11def normalizedAnnihilator (n : ℕ) (mu : Fin d → ℕ) (a b : Fin d) :
12    TensorRegister n (Fin d) →L[ℂ] TensorRegister n (Fin d) :=
13  (Real.sqrt ((mu a : ℝ) - mu b))⁻¹ • collectiveGenerator n a b
14 
15def normalizedCreator (n : ℕ) (mu : Fin d → ℕ) (a b : Fin d) :
16    TensorRegister n (Fin d) →L[ℂ] TensorRegister n (Fin d) :=
17  (Real.sqrt ((mu a : ℝ) - mu b))⁻¹ • collectiveGenerator n b a
18 
19theorem normalized_root_commutator (mu : Fin d → ℕ) (a b c e : Fin d) :
20    normalizedAnnihilator n mu a b * normalizedCreator n mu c e -
21      normalizedCreator n mu c e * normalizedAnnihilator n mu a b =
22    ((Real.sqrt ((mu a : ℝ) - mu b))⁻¹ *
23      (Real.sqrt ((mu c : ℝ) - mu e))⁻¹) •
24      ((if b = e then collectiveGenerator n a c else 0) -
25        (if c = a then collectiveGenerator n e b else 0)) := by
26  simp only [normalizedAnnihilator, normalizedCreator, smul_mul_smul_comm,
27    mul_comm (Real.sqrt ((mu c : ℝ) - mu e))⁻¹, ← smul_sub]
28  rw [collectiveGenerator_commutator]
29 
30theorem inv_sqrt_mul_inv_sqrt {g : ℝ} (hg : 0 < g) :
31    (Real.sqrt g)⁻¹ * (Real.sqrt g)⁻¹ = g⁻¹ := by
32  rw [← mul_inv, Real.mul_self_sqrt hg.le]
33 
34theorem normalized_diagonal_commutator (mu : Fin d → ℕ) (a b : Fin d)
35    (hgap : 0 < (mu a : ℝ) - mu b) :
36    normalizedAnnihilator n mu a b * normalizedCreator n mu a b -
37      normalizedCreator n mu a b * normalizedAnnihilator n mu a b =
38    ((mu a : ℝ) - mu b)⁻¹ •
39      (collectiveGenerator n a a - collectiveGenerator n b b) := by
40  rw [normalized_root_commutator, inv_sqrt_mul_inv_sqrt hgap]
41  simp
42 
43theorem normalizedCreator_adjoint (mu : Fin d → ℕ) (a b : Fin d) :
44    (normalizedCreator n mu a b).adjoint = normalizedAnnihilator n mu a b := by
45  rw [normalizedCreator, ← ContinuousLinearMap.star_eq_adjoint, star_smul, star_trivial,
46    ContinuousLinearMap.star_eq_adjoint, collectiveGenerator_adjoint]
47  rfl
48 
49theorem normalized_inner_adjoint (mu : Fin d → ℕ) (a b : Fin d)
50    (x y : TensorRegister n (Fin d)) :
51    ⟪normalizedCreator n mu a b x, y⟫_ℂ =
52      ⟪x, normalizedAnnihilator n mu a b y⟫_ℂ := by
53  rw [← normalizedCreator_adjoint mu a b, ContinuousLinearMap.adjoint_inner_right]
54 
55/-- The normalized same-root CCR defect is at most `2R/gap` on the actual
56cyclic cutoff; no CCR property is an input assumption. -/
57theorem normalized_diagonal_defect_norm_le
58    (Ω : TensorRegister n (Fin d)) (mu : Fin d → ℕ)
59    (hweight : ∀ a, collectiveGenerator n a a Ω = (mu a : ℂ) • Ω)
60    (r : ℕ) {x : TensorRegister n (Fin d)} (hx : x ∈ cyclicCutoff Ω r)
61    (a b : Fin d) (hgap : 0 < (mu a : ℝ) - mu b) :
62    ‖normalizedAnnihilator n mu a b (normalizedCreator n mu a b x) -
63      normalizedCreator n mu a b (normalizedAnnihilator n mu a b x) - x‖ ≤
64    (2 * r / ((mu a : ℝ) - mu b)) * ‖x‖ := by
65  have he := congrArg (fun T : TensorRegister n (Fin d) →L[ℂ] TensorRegister n (Fin d) => T x)
66    (normalized_diagonal_commutator (n := n) mu a b hgap)
67  simp only [ContinuousLinearMap.sub_apply, ContinuousLinearMap.mul_apply,
68    ContinuousLinearMap.smul_apply] at he
69  rw [he]
70  have hscalar : (((mu a : ℂ) - mu b) • x) = ((mu a : ℝ) - mu b) • x := by
71    simp only [← Complex.ofReal_natCast, ← Complex.ofReal_sub, RCLike.real_smul_eq_coe_smul (K := ℂ)]
72    rfl
73  have hid : ((mu a : ℝ) - mu b)⁻¹ •
74      (((mu a : ℂ) - mu b) • x) = x := by
75    rw [hscalar, smul_smul, inv_mul_cancel₀ (ne_of_gt hgap), one_smul]
76  have hdef : ((mu a : ℝ) - mu b)⁻¹ •
77      (collectiveGenerator n a a x - collectiveGenerator n b b x) - x =
78      ((mu a : ℝ) - mu b)⁻¹ •
79      (collectiveGenerator n a a x - collectiveGenerator n b b x -
80        ((mu a : ℂ) - mu b) • x) := by
81    symm
82    rw [smul_sub, hid]
83  rw [hdef, norm_smul, Real.norm_eq_abs, abs_of_pos (inv_pos.mpr hgap)]
84  calc
85    _ ≤ ((mu a : ℝ) - mu b)⁻¹ * ((2 * r : ℝ) * ‖x‖) :=
86      mul_le_mul_of_nonneg_left (cartan_difference_defect_norm_le Ω mu hweight r hx a b)
87        (inv_nonneg.mpr hgap.le)
88    _ = _ := by ring
89 
90end Cloning.TensorLie