Exact Lean source
PhysicalFlatConverseHaar
formalization/Cloning/PhysicalFlatConverseHaar.lean
Source hash: dcdfd03b9f217022c1a255ccbc8332180ca156be6f24944d0f2d1c5610235a24
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
theorem
Cloning.PhysicalFlatConverse.continuous_tensorOperatortheorem Cloning.PhysicalFlatConverse.continuous_partitionActionMatrixtheorem Cloning.PhysicalFlatConverse.partitionActionMatrix_onetheorem Cloning.PhysicalFlatConverse.partitionActionMatrix_unitarytheorem Cloning.PhysicalFlatConverse.partitionActionMatrix_unitary_commutant_scalardefinition Cloning.PhysicalFlatConverse.partitionTwirltheorem Cloning.PhysicalFlatConverse.continuous_partitionSandwichtheorem Cloning.PhysicalFlatConverse.integrable_partitionSandwichtheorem Cloning.PhysicalFlatConverse.partitionTwirl_invarianttheorem Cloning.PhysicalFlatConverse.partitionTwirl_scalartheorem Cloning.PhysicalFlatConverse.trace_partitionTwirltheorem Cloning.PhysicalFlatConverse.partitionTwirl_eq1import Cloning.PhysicalFlatConverseCommutant
2import Cloning.TensorFlatProjectorMatrix
3import Cloning.PCTPurificationChannelHaar
4
5/-! Literal Haar averaging on a physical highest-weight sector is the
6trace-normalized identity. Scalarity follows from the differentiated actual
7unitary action, including every repeated copy of a Schur label separately. -/
8noncomputable section
9open scoped BigOperators InnerProductSpace Matrix Topology Matrix.Norms.L2Operator
10open MeasureTheory
11namespace Cloning.PhysicalFlatConverse
12open Cloning.TensorLie Cloning.PCT Cloning.PCTPurificationChannel
13set_option backward.isDefEq.respectTransparency false
14set_option maxHeartbeats 700000
15variable {d : ℕ}
16
17local instance (n d : ℕ) : FiniteDimensional ℂ (TensorRegister n (Fin d)) :=
18 (registerBasis (Fin n → Fin d)).toOrthonormalBasis.toBasis.finiteDimensional_of_finite
19
20theorem continuous_tensorOperator (n d : ℕ) :
21 Continuous (tensorOperator n : Matrix (Fin d) (Fin d) ℂ → _) := by
22 change Continuous (fun X => registerMatrixCLM (tensorPower n X))
23 apply (registerMatrixCLM (I := Fin n → Fin d)).continuous.comp
24 unfold tensorPower
25 fun_prop
26
27theorem continuous_partitionActionMatrix (mu : Fin d → ℕ) (hmu : Antitone mu) :
28 Continuous (partitionActionMatrix mu hmu) := by
29 have hc : Continuous (partitionTensorAction mu hmu) := by
30 change Continuous (fun X => cyclicTensorOperator _ _ _ _ X)
31 simp_rw [← sectorCompression_tensorOperator _ _ _ _]
32 exact (sectorCompression (cyclicSector (partitionHighestTensor mu hmu))).continuous.comp
33 (continuous_tensorOperator (∑ a, mu a) d)
34 apply continuous_pi
35 intro i
36 apply continuous_pi
37 intro j
38 simp only [partitionActionMatrix_apply]
39 exact continuous_const.inner (hc.clm_apply continuous_const)
40
41@[simp] theorem partitionActionMatrix_one (mu : Fin d → ℕ) (hmu : Antitone mu) :
42 partitionActionMatrix mu hmu (1 : Matrix (Fin d) (Fin d) ℂ) = 1 := by
43 unfold partitionActionMatrix partitionTensorAction
44 rw [cyclicTensorOperator_one]
45 exact LinearMap.toMatrix_id _
46
47theorem partitionActionMatrix_unitary (mu : Fin d → ℕ) (hmu : Antitone mu)
48 (U : unitary (Matrix (Fin d) (Fin d) ℂ)) :
49 (partitionActionMatrix mu hmu U)ᴴ * partitionActionMatrix mu hmu U = 1 := by
50 rw [← partitionActionMatrix_star, ← partitionActionMatrix_mul]
51 rw [show (U : Matrix (Fin d) (Fin d) ℂ)ᴴ * U = 1 from Unitary.star_mul_self_of_mem U.property,
52 partitionActionMatrix_one]
53
54/-- Schur scalarity for the actual matrix action, with no commutant premise
55beyond commutation with the literal physical unitary matrices. -/
56theorem partitionActionMatrix_unitary_commutant_scalar
57 (mu : Fin d → ℕ) (hmu : Antitone mu)
58 (M : Matrix (PartitionIndex mu hmu) (PartitionIndex mu hmu) ℂ)
59 (hcomm : ∀ U : unitary (Matrix (Fin d) (Fin d) ℂ),
60 M * partitionActionMatrix mu hmu U = partitionActionMatrix mu hmu U * M) :
61 ∃ c : ℂ, M = c • (1 : Matrix (PartitionIndex mu hmu) (PartitionIndex mu hmu) ℂ) := by
62 let B := (partitionBasis mu hmu).toBasis
63 let T := (Matrix.toLin B B M).toContinuousLinearMap
64 have hT : ∀ U : unitary (Matrix (Fin d) (Fin d) ℂ),
65 T * partitionTensorAction mu hmu U = partitionTensorAction mu hmu U * T := by
66 intro U
67 apply ContinuousLinearMap.coe_injective
68 apply (LinearMap.toMatrix B B).injective
69 simp only [ContinuousLinearMap.coe_mul, LinearMap.toMatrix_mul, T,
70 LinearMap.coe_toContinuousLinearMap, LinearMap.toMatrix_toLin]
71 exact hcomm U
72 obtain ⟨c,hc⟩ := cyclicTensorOperator_unitary_commutant_scalar
73 (partitionHighestTensor mu hmu) (fun a => (mu a : ℂ))
74 (partitionHighestTensor_cartan mu hmu) (partitionHighestTensor_raising_zero mu hmu)
75 (partitionHighestTensor_norm mu hmu) T hT
76 refine ⟨c, ?_⟩
77 have hh := congrArg (fun F => LinearMap.toMatrix B B (F : _ →L[ℂ] _).toLinearMap) hc
78 simpa only [T, LinearMap.coe_toContinuousLinearMap, LinearMap.toMatrix_toLin,
79 ContinuousLinearMap.coe_smul, map_smul, ContinuousLinearMap.coe_id, LinearMap.toMatrix_id] using hh
80
81variable [Nonempty (Fin d)]
82
83def partitionTwirl (mu : Fin d → ℕ) (hmu : Antitone mu)
84 (M : Matrix (PartitionIndex mu hmu) (PartitionIndex mu hmu) ℂ) :=
85 ∫ U : unitary (Matrix (Fin d) (Fin d) ℂ),
86 partitionActionMatrix mu hmu U * M * (partitionActionMatrix mu hmu U)ᴴ ∂unitaryHaar
87
88theorem continuous_partitionSandwich (mu : Fin d → ℕ) (hmu : Antitone mu)
89 (M : Matrix (PartitionIndex mu hmu) (PartitionIndex mu hmu) ℂ) :
90 Continuous (fun U : unitary (Matrix (Fin d) (Fin d) ℂ) =>
91 partitionActionMatrix mu hmu U * M * (partitionActionMatrix mu hmu U)ᴴ) := by
92 have h : Continuous (fun U : unitary (Matrix (Fin d) (Fin d) ℂ) =>
93 partitionActionMatrix mu hmu U) :=
94 (continuous_partitionActionMatrix mu hmu).comp continuous_subtype_val
95 exact (h.mul continuous_const).mul h.star
96
97theorem integrable_partitionSandwich (mu : Fin d → ℕ) (hmu : Antitone mu)
98 (M : Matrix (PartitionIndex mu hmu) (PartitionIndex mu hmu) ℂ) :
99 Integrable (fun U : unitary (Matrix (Fin d) (Fin d) ℂ) =>
100 partitionActionMatrix mu hmu U * M * (partitionActionMatrix mu hmu U)ᴴ) unitaryHaar :=
101 (continuous_partitionSandwich mu hmu M).integrable_of_hasCompactSupport
102 (HasCompactSupport.of_compactSpace _)
103
104theorem partitionTwirl_invariant (mu : Fin d → ℕ) (hmu : Antitone mu)
105 (M : Matrix (PartitionIndex mu hmu) (PartitionIndex mu hmu) ℂ)
106 (V : unitary (Matrix (Fin d) (Fin d) ℂ)) :
107 partitionActionMatrix mu hmu V * partitionTwirl mu hmu M *
108 (partitionActionMatrix mu hmu V)ᴴ = partitionTwirl mu hmu M := by
109 have hh := (matrixSandwichCLM (partitionActionMatrix mu hmu V)).integral_comp_comm
110 (integrable_partitionSandwich mu hmu M)
111 change (∫ U : unitary (Matrix (Fin d) (Fin d) ℂ),
112 partitionActionMatrix mu hmu V * (partitionActionMatrix mu hmu U * M *
113 (partitionActionMatrix mu hmu U)ᴴ) * (partitionActionMatrix mu hmu V)ᴴ ∂unitaryHaar) =
114 partitionActionMatrix mu hmu V * partitionTwirl mu hmu M *
115 (partitionActionMatrix mu hmu V)ᴴ at hh
116 rw [← hh]
117 have he (U : unitary (Matrix (Fin d) (Fin d) ℂ)) :
118 partitionActionMatrix mu hmu V * (partitionActionMatrix mu hmu U * M *
119 (partitionActionMatrix mu hmu U)ᴴ) * (partitionActionMatrix mu hmu V)ᴴ =
120 partitionActionMatrix mu hmu (V*U) * M * (partitionActionMatrix mu hmu (V*U))ᴴ := by
121 simp only [Submonoid.coe_mul, partitionActionMatrix_mul, Matrix.conjTranspose_mul]
122 noncomm_ring
123 simp_rw [he]
124 exact integral_mul_left_eq_self (μ := unitaryHaar)
125 (fun U : unitary (Matrix (Fin d) (Fin d) ℂ) =>
126 partitionActionMatrix mu hmu U * M * (partitionActionMatrix mu hmu U)ᴴ) V
127
128theorem partitionTwirl_scalar (mu : Fin d → ℕ) (hmu : Antitone mu)
129 (M : Matrix (PartitionIndex mu hmu) (PartitionIndex mu hmu) ℂ) :
130 ∃ c : ℂ, partitionTwirl mu hmu M = c • (1 : Matrix (PartitionIndex mu hmu) _ ℂ) := by
131 apply partitionActionMatrix_unitary_commutant_scalar
132 intro U
133 have hh := congrArg (fun X => X * partitionActionMatrix mu hmu U)
134 (partitionTwirl_invariant mu hmu M U)
135 simpa only [Matrix.mul_assoc, partitionActionMatrix_unitary, Matrix.mul_one] using hh.symm
136
137theorem trace_partitionTwirl (mu : Fin d → ℕ) (hmu : Antitone mu)
138 (M : Matrix (PartitionIndex mu hmu) (PartitionIndex mu hmu) ℂ) :
139 (partitionTwirl mu hmu M).trace = M.trace := by
140 let tr := (Matrix.traceLinearMap (PartitionIndex mu hmu) ℂ ℂ).toContinuousLinearMap
141 have hh := tr.integral_comp_comm (integrable_partitionSandwich mu hmu M)
142 change (∫ U : unitary (Matrix (Fin d) (Fin d) ℂ),
143 (partitionActionMatrix mu hmu U * M * (partitionActionMatrix mu hmu U)ᴴ).trace ∂unitaryHaar) =
144 (partitionTwirl mu hmu M).trace at hh
145 rw [← hh]
146 have he (U : unitary (Matrix (Fin d) (Fin d) ℂ)) :
147 (partitionActionMatrix mu hmu U * M * (partitionActionMatrix mu hmu U)ᴴ).trace = M.trace := by
148 rw [Matrix.trace_mul_cycle, partitionActionMatrix_unitary, Matrix.one_mul]
149 simp_rw [he]
150 simp
151
152/-- Exact physical sector Haar average, not merely an assumed invariant form. -/
153theorem partitionTwirl_eq (mu : Fin d → ℕ) (hmu : Antitone mu)
154 (M : Matrix (PartitionIndex mu hmu) (PartitionIndex mu hmu) ℂ) :
155 partitionTwirl mu hmu M = (M.trace / (partitionDimension mu hmu : ℂ)) •
156 (1 : Matrix (PartitionIndex mu hmu) _ ℂ) := by
157 obtain ⟨c,hc⟩ := partitionTwirl_scalar mu hmu M
158 have ht := trace_partitionTwirl mu hmu M
159 rw [hc,Matrix.trace_smul,Matrix.trace_one,Fintype.card_fin,smul_eq_mul] at ht
160 have hd : (partitionDimension mu hmu : ℂ) ≠ 0 :=
161 Nat.cast_ne_zero.mpr (ne_of_gt (partitionDimension_pos mu hmu))
162 rw [hc, ← ht, mul_div_cancel_right₀ _ hd]
163
164end Cloning.PhysicalFlatConverse