Exact Lean source
PCTRankPurificationMoment
formalization/Cloning/PCTRankPurificationMoment.lean
Source hash: 80f4d298a16d23d2196992e49c82958ab5641467941b8e89a98c091415c9fb24
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.PCTRankPurification.rectangularTensordefinition Cloning.PCTRankPurification.rectangularMomenttheorem Cloning.PCTRankPurification.rectangularMoment_posSemideftheorem Cloning.PCTRankPurification.partialTrace_rectangularMomentdefinition Cloning.PCTRankPurification.rectangularLeftTensortheorem Cloning.PCTRankPurification.rectangularTensor_multheorem Cloning.PCTRankPurification.rectangularMoment_muldefinition Cloning.PCTRankPurification.rectangularHaarMomenttheorem Cloning.PCTRankPurification.continuous_rectangularMomenttheorem Cloning.PCTRankPurification.integrable_rectangularMomenttheorem Cloning.PCTRankPurification.rectangularHaarMoment_posSemideftheorem Cloning.PCTRankPurification.partialTrace_rectangularHaarMomenttheorem Cloning.PCTRankPurification.rectangularHaarMoment_unitary_invariant1import Cloning.PCTRankPurificationCompletion
2import Cloning.PCTPurificationChannelHaar
3
4/-! Rectangular Haar tensor moments for a genuinely smaller purification environment. -/
5noncomputable section
6open scoped BigOperators Classical Matrix Kronecker MatrixOrder ComplexOrder Matrix.Norms.L2Operator
7open Matrix MeasureTheory
8namespace Cloning.PCTRankPurification
9open Cloning.PCTPurificationChannel Cloning.Compression
10set_option backward.isDefEq.respectTransparency false
11set_option maxHeartbeats 1000000
12local instance matrixCStar (I : Type*) [Fintype I] [DecidableEq I] :
13 CStarAlgebra (Matrix I I ℂ) where
14variable {A B : Type*} [Fintype A] [Fintype B] [DecidableEq A] [DecidableEq B]
15
16def rectangularTensor (n : ℕ) (T : Matrix A B ℂ) : (Fin n → A)×(Fin n → B) → ℂ :=
17 fun ab => tensorPower n T ab.1 ab.2
18
19def rectangularMoment (n : ℕ) (T : Matrix A B ℂ) :=
20 Matrix.vecMulVec (rectangularTensor n T) (star (rectangularTensor n T))
21
22theorem rectangularMoment_posSemidef (n : ℕ) (T : Matrix A B ℂ) :
23 (rectangularMoment n T).PosSemidef := Matrix.posSemidef_vecMulVec_self_star _
24
25theorem partialTrace_rectangularMoment (n : ℕ) (T : Matrix A B ℂ) :
26 partialTrace (rectangularMoment n T) = tensorPower n (T*Tᴴ) := by
27 rw [tensorPower_mul,tensorPower_star]
28 ext a c
29 rfl
30
31def rectangularLeftTensor (n : ℕ) (V : Matrix A A ℂ) :
32 Matrix ((Fin n → A)×(Fin n → B)) ((Fin n → A)×(Fin n → B)) ℂ :=
33 tensorPower n V ⊗ₖ (1 : Matrix (Fin n → B) (Fin n → B) ℂ)
34
35theorem rectangularTensor_mul (n : ℕ) (V : Matrix A A ℂ) (T : Matrix A B ℂ) :
36 rectangularTensor n (V*T)=rectangularLeftTensor (B := B) n V *ᵥ rectangularTensor n T := by
37 funext ⟨a,b⟩
38 rw [rectangularTensor,tensorPower_mul]
39 simp only [Matrix.mul_apply,Matrix.mulVec,dotProduct,rectangularLeftTensor,
40 Matrix.kronecker_apply,Matrix.one_apply,rectangularTensor,Fintype.sum_prod_type,
41 mul_ite,mul_one,mul_zero,ite_mul,zero_mul,Finset.sum_ite_eq,Finset.mem_univ,if_true]
42
43theorem rectangularMoment_mul (n : ℕ) (V : Matrix A A ℂ) (T : Matrix A B ℂ) :
44 rectangularMoment n (V*T)=rectangularLeftTensor (B := B) n V * rectangularMoment n T *
45 (rectangularLeftTensor (B := B) n V)ᴴ := by
46 unfold rectangularMoment
47 rw [rectangularTensor_mul,Matrix.mul_vecMulVec,Matrix.vecMulVec_mul,
48 Matrix.vecMul_conjTranspose,star_star]
49
50variable [Nonempty A]
51
52def rectangularHaarMoment (n : ℕ) (J : Matrix A B ℂ) :=
53 ∫ U : unitary (Matrix A A ℂ), rectangularMoment n ((U : Matrix A A ℂ)*J) ∂unitaryHaar
54
55theorem continuous_rectangularMoment (n : ℕ) (J : Matrix A B ℂ) :
56 Continuous (fun U : unitary (Matrix A A ℂ) => rectangularMoment n ((U : Matrix A A ℂ)*J)) := by
57 unfold rectangularMoment rectangularTensor tensorPower
58 fun_prop
59
60theorem integrable_rectangularMoment (n : ℕ) (J : Matrix A B ℂ) :
61 Integrable (fun U : unitary (Matrix A A ℂ) => rectangularMoment n ((U : Matrix A A ℂ)*J))
62 unitaryHaar :=
63 (continuous_rectangularMoment n J).integrable_of_hasCompactSupport (HasCompactSupport.of_compactSpace _)
64
65theorem rectangularHaarMoment_posSemidef (n : ℕ) (J : Matrix A B ℂ) :
66 (rectangularHaarMoment n J).PosSemidef := by
67 apply Matrix.nonneg_iff_posSemidef.mp
68 exact integral_nonneg (fun U => (rectangularMoment_posSemidef n _).nonneg)
69
70theorem partialTrace_rectangularHaarMoment (n : ℕ) (J : Matrix A B ℂ) :
71 partialTrace (rectangularHaarMoment n J) =
72 ∫ U : unitary (Matrix A A ℂ), tensorPower n ((U : Matrix A A ℂ)*(J*Jᴴ)*U.valᴴ) ∂unitaryHaar := by
73 have hh := (partialTraceCLM (A := Fin n → A) (B := Fin n → B)).integral_comp_comm
74 (integrable_rectangularMoment n J)
75 change (∫ U : unitary (Matrix A A ℂ), partialTrace (rectangularMoment n (U.val*J)) ∂unitaryHaar) =
76 partialTrace (rectangularHaarMoment n J) at hh
77 rw [← hh]
78 apply integral_congr_ae
79 filter_upwards [] with U
80 rw [partialTrace_rectangularMoment]
81 simp only [Matrix.conjTranspose_mul,Matrix.mul_assoc]
82
83theorem rectangularHaarMoment_unitary_invariant (n : ℕ) (J : Matrix A B ℂ)
84 (V : unitary (Matrix A A ℂ)) :
85 rectangularLeftTensor (B := B) n V * rectangularHaarMoment n J *
86 (rectangularLeftTensor (B := B) n V)ᴴ = rectangularHaarMoment n J := by
87 have hh := (matrixSandwichCLM (rectangularLeftTensor (B := B) n V)).integral_comp_comm
88 (integrable_rectangularMoment n J)
89 change (∫ U : unitary (Matrix A A ℂ), rectangularLeftTensor (B := B) n V *
90 rectangularMoment n (U.val*J)*(rectangularLeftTensor (B := B) n V)ᴴ ∂unitaryHaar)=
91 rectangularLeftTensor (B := B) n V*rectangularHaarMoment n J*
92 (rectangularLeftTensor (B := B) n V)ᴴ at hh
93 rw [← hh]
94 simp_rw [← rectangularMoment_mul,← Matrix.mul_assoc]
95 exact integral_mul_left_eq_self (μ := unitaryHaar)
96 (fun U : unitary (Matrix A A ℂ) => rectangularMoment n (U.val*J)) V
97
98end Cloning.PCTRankPurification