Offline · exact source
Exact Lean source

PCTRankPurificationMomentComparison

formalization/Cloning/PCTRankPurificationMomentComparison.lean

Source hash: 7347adf6e5e41dd90013b557a84307b3a343f77197fe5ccf0dcbaec6853958c4

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.PCTRankPurificationFrames
2 
3/-! Exact equality of the normalized compressed ambient Haar moment and
4the smaller-rank Haar moment, retaining all physical multiplicities. -/
5noncomputable section
6open scoped BigOperators Classical Matrix Kronecker Matrix.Norms.L2Operator
7open Matrix MeasureTheory
8namespace Cloning.PCTRankPurification
9open Cloning.TensorLie Cloning.PCTPurificationChannel
10set_option backward.isDefEq.respectTransparency false
11set_option maxHeartbeats 2200000
12variable {n r : ℕ} [NeZero r]
13local instance (k : ℕ) : NeZero (r+k) := ⟨by have := NeZero.ne r; omega⟩
14 
15variable (L : List (PhysicalHighestTensor n r))
16  (hL : OrthogonalFamily ℂ (fun i : Fin L.length => (L.get i).sector)
17    (fun i => (L.get i).sector.subtypeₗᵢ))
18  (hspan : (⨆i : Fin L.length,(L.get i).sector)=⊤)
19 
20include hL hspan in
21theorem normalizedCoordinateAction_moment (k : ℕ)
22    (N : Matrix (Fin n → Fin (r+k)) (Fin n → Fin (r+k)) ℂ) (hN : Nᴴ=N)
23    (hNE : ∀i : Fin L.length,N*(L.get i).liftEmbeddingMatrix k=
24      (rankMomentScale (L.get i).weight (L.get i).weight_antitone k : ℂ) • (L.get i).liftEmbeddingMatrix k) :
25    matrixMomentIntegral unitaryHaar
26      (fun U : unitary (Matrix (Fin (r+k)) (Fin (r+k)) ℂ) => normalizedCoordinateAction k N U)=
27      matrixMomentIntegral unitaryHaar
28        (fun V : unitary (Matrix (Fin r) (Fin r) ℂ) => tensorPower n V.val) := by
29  have hf : Integrable (fun U : unitary (Matrix (Fin (r+k)) (Fin (r+k)) ℂ) =>
30      matrixMoment (normalizedCoordinateAction k N U)) unitaryHaar := by
31    have hh := integrable_matrixMoment_mul unitaryHaar
32      (fun U : unitary (Matrix (Fin (r+k)) (Fin (r+k)) ℂ) => tensorPower n (U.val*coordinateInclusionMatrix r k))
33      (integrable_rectangularMoment n (coordinateInclusionMatrix r k))
34      ((coordinateTensorMatrix n r k)ᴴ*N) (1 : Matrix (Fin n → Fin r) (Fin n → Fin r) ℂ)
35    simpa only [tensorPower_mul,← coordinateTensorMatrix_eq_tensorPower,Matrix.mul_one,
36      normalizedCoordinateAction,Matrix.mul_assoc] using hh
37  have hg : Integrable (fun V : unitary (Matrix (Fin r) (Fin r) ℂ) =>
38      matrixMoment (tensorPower n V.val)) unitaryHaar := by
39    simpa only [Matrix.mul_one,rectangularMoment_eq_matrixMoment] using
40      integrable_rectangularMoment n (1 : Matrix (Fin r) (Fin r) ℂ)
41  apply matrixMomentIntegral_eq_of_frame_coefficients _ _ _ _ hf hg (physicalFrame L) (physicalFrame L)
42    (physicalFrame_complete L hL hspan) (physicalFrame_complete L hL hspan)
43  rintro ⟨i,a⟩ ⟨j,c⟩ ⟨s,b⟩ ⟨t,e⟩
44  simp only [physicalFrame_block]
45  by_cases his : i=s
46  · subst s
47    by_cases hjt : j=t
48    · subst t
49      simp only [normalizedCoordinateAction_block_diagonal _ _ _ hN _ (hNE _),
50        tensorPower_block_diagonal,Matrix.smul_apply,smul_eq_mul,map_mul,
51        Complex.star_def,Complex.conj_ofReal]
52      have hcoeff := normalized_rank_compressed_coefficients
53        (L.get i).weight (L.get j).weight (L.get i).weight_antitone (L.get j).weight_antitone k a b c e
54      rw [← integral_const_mul] at hcoeff
55      simpa only [Complex.star_def,mul_assoc,mul_left_comm,mul_comm] using hcoeff
56    · have hbig := embeddingMatrix_orthogonal (fun i : Fin L.length => (L.get i).coordinateLift k)
57        (coordinateLift_family_orthogonal (fun i : Fin L.length => L.get i) hL k) j t hjt
58      have hsmall := embeddingMatrix_orthogonal (fun i : Fin L.length => L.get i) hL j t hjt
59      simp only [normalizedCoordinateAction_block_orthogonal _ _ _ _ hN _ (hNE j) hbig,
60        tensorPower_block_orthogonal _ _ hsmall,Matrix.zero_apply,star_zero,mul_zero,integral_zero]
61  · have hbig := embeddingMatrix_orthogonal (fun i : Fin L.length => (L.get i).coordinateLift k)
62      (coordinateLift_family_orthogonal (fun i : Fin L.length => L.get i) hL k) i s his
63    have hsmall := embeddingMatrix_orthogonal (fun i : Fin L.length => L.get i) hL i s his
64    simp only [normalizedCoordinateAction_block_orthogonal _ _ _ _ hN _ (hNE i) hbig,
65      tensorPower_block_orthogonal _ _ hsmall,Matrix.zero_apply,zero_mul,integral_zero]
66 
67end Cloning.PCTRankPurification