Exact Lean source
OccupationCompression
formalization/Cloning/OccupationCompression.lean
Source hash: 78f7269215d271c9729cab3e04f0cd9807ebe3336ef0cacb64e22482611028a5
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.SymmetricOccupation.Fockdefinition Cloning.SymmetricOccupation.restrictCLMdefinition Cloning.SymmetricOccupation.compressiontheorem Cloning.SymmetricOccupation.compression_applydefinition Cloning.SymmetricOccupation.coordinatedefinition Cloning.SymmetricOccupation.tailKraustheorem Cloning.SymmetricOccupation.tailKraus_applytheorem Cloning.SymmetricOccupation.tailKraus_norm_sqtheorem Cloning.SymmetricOccupation.restrict_norm_sqtheorem Cloning.SymmetricOccupation.tailKraus_norm_sq_hasSumdefinition Cloning.SymmetricOccupation.occupationKraustheorem Cloning.SymmetricOccupation.occupationKraus_norm_sq_hasSum1import Cloning.SymmetricOccupation
2
3/-! Explicit rectangular occupation-compression Kraus operators. -/
4noncomputable section
5open scoped BigOperators InnerProductSpace Topology
6open Filter
7namespace Cloning.SymmetricOccupation
8set_option maxHeartbeats 1000000
9set_option synthInstance.maxHeartbeats 200000
10
11abbrev Fock := lp (fun _ : ℕ => ℂ) 2
12
13def restrictCLM (L : ℕ) : Fock →L[ℂ] OccupationSpace L :=
14 LinearMap.mkContinuous
15 { toFun := restrict L
16 map_add' := by intro x y; ext j; rfl
17 map_smul' := by intro c x; ext j; rfl }
18 1 (by intro x; simpa using restrict_norm_le L x)
19
20def compression (L : ℕ) : Fock →L[ℂ] TensorSpace L :=
21 (isometry L).toContinuousLinearMap.comp (restrictCLM L)
22
23@[simp] theorem compression_apply (L : ℕ) (x : Fock) :
24 compression L x = isometry L (restrict L x) := rfl
25
26def coordinate (j : ℕ) : Fock →L[ℂ] ℂ :=
27 LinearMap.mkContinuous
28 { toFun := fun x => x j
29 map_add' := by intro x y; rfl
30 map_smul' := by intro c x; rfl }
31 1 (by intro x; simpa using lp.norm_apply_le_norm (by norm_num : (2 : ENNReal) ≠ 0) x j)
32
33def tailKraus (L j : ℕ) : Fock →L[ℂ] TensorSpace L :=
34 if L < j then (ContinuousLinearMap.toSpanSingleton ℂ (column L 0)).comp (coordinate j) else 0
35
36@[simp] theorem tailKraus_apply (L j : ℕ) (x : Fock) :
37 tailKraus L j x = if L < j then x j • column L 0 else 0 := by
38 unfold tailKraus
39 split_ifs <;> rfl
40
41theorem tailKraus_norm_sq (L j : ℕ) (x : Fock) :
42 ‖tailKraus L j x‖ ^ 2 = if L < j then ‖x j‖ ^ 2 else 0 := by
43 rw [tailKraus_apply]
44 split_ifs <;> simp [norm_smul, column_norm]
45
46theorem restrict_norm_sq (L : ℕ) (x : Fock) :
47 ‖restrict L x‖ ^ 2 = ∑ j ∈ Finset.range (L + 1), ‖x j‖ ^ 2 := by
48 have h := lp.norm_rpow_eq_tsum (p := 2) (by norm_num) (restrict L x)
49 rw [← Fin.sum_univ_eq_sum_range]
50 simpa only [ENNReal.toReal_ofNat, Real.rpow_two, tsum_fintype, restrict_apply] using h
51
52theorem tailKraus_norm_sq_hasSum (L : ℕ) (x : Fock) :
53 HasSum (fun j => ‖tailKraus L j x‖ ^ 2) (‖x‖ ^ 2 - ‖restrict L x‖ ^ 2) := by
54 have hall : HasSum (fun j : ℕ => ‖x j‖ ^ 2) (‖x‖ ^ 2) := by
55 simpa only [ENNReal.toReal_ofNat, Real.rpow_two] using
56 lp.hasSum_norm (show 0 < (2 : ENNReal).toReal by norm_num) x
57 have hhead : HasSum (fun j : ℕ => if j ≤ L then ‖x j‖ ^ 2 else 0) (‖restrict L x‖ ^ 2) := by
58 rw [restrict_norm_sq]
59 have hs : HasSum (fun j : ℕ => if j ≤ L then ‖x j‖ ^ 2 else 0)
60 (∑ j ∈ Finset.range (L + 1), if j ≤ L then ‖x j‖ ^ 2 else 0) :=
61 hasSum_sum_of_ne_finset_zero
62 (s := Finset.range (L + 1))
63 (f := fun j : ℕ => if j ≤ L then ‖x j‖ ^ 2 else 0)
64 (by intro j hj; simp only [Finset.mem_range] at hj; simp [show ¬ j ≤ L by omega])
65 convert hs using 1
66 apply Finset.sum_congr rfl
67 intro j hj
68 simp only [Finset.mem_range] at hj
69 simp [show j ≤ L by omega]
70 convert hall.sub hhead using 1
71 ext j
72 rw [tailKraus_norm_sq]
73 split_ifs <;> simp_all <;> omega
74
75/-- The retained coherent block, followed by one vacuum-replacement operator
76for each discarded occupation. -/
77def occupationKraus (L : ℕ) : ℕ → Fock →L[ℂ] TensorSpace L
78 | 0 => compression L
79 | j + 1 => tailKraus L j
80
81theorem occupationKraus_norm_sq_hasSum (L : ℕ) (x : Fock) :
82 HasSum (fun j => ‖occupationKraus L j x‖ ^ 2) (‖x‖ ^ 2) := by
83 apply (hasSum_nat_add_iff' 1).mp
84 simpa only [occupationKraus, Finset.sum_range_one, compression_apply,
85 LinearIsometry.norm_map] using tailKraus_norm_sq_hasSum L x
86
87end Cloning.SymmetricOccupation