Exact Lean source
TensorFlatProjectorState
formalization/Cloning/TensorFlatProjectorState.lean
Source hash: 688f3bfd28ed335532e868951da2ed44aa1f3c706f91daa5f4fd7bbd1615f124
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.TensorLie.partitionSupportOperatortheorem Cloning.TensorLie.rankSectorEmbedding_adjoint_transporttheorem Cloning.TensorLie.partitionSupportOperator_eq_rangeProjectiontheorem Cloning.TensorLie.trace_partitionSupportOperatortheorem Cloning.TensorLie.tensorOperator_smuldefinition Cloning.TensorLie.rankFlatSpectrumtheorem Cloning.TensorLie.rankFlatSpectrum_nonnegtheorem Cloning.TensorLie.sectorGibbsOperator_rankFlattheorem Cloning.TensorLie.physicalSectorCharacter_rankFlat1import Cloning.TensorFlatProjectorSectorSupport
2
3/-! Actual rank-r support projections and flat-sector densities in ambient dimension r+k. -/
4noncomputable section
5open scoped BigOperators InnerProductSpace
6namespace Cloning.TensorLie
7open Cloning.PCT
8set_option maxHeartbeats 1200000
9set_option synthInstance.maxHeartbeats 200000
10set_option backward.isDefEq.respectTransparency false
11variable {r : ℕ}
12local instance (n d : ℕ) : FiniteDimensional ℂ (TensorRegister n (Fin d)) :=
13 (registerBasis (Fin n → Fin d)).toOrthonormalBasis.toBasis.finiteDimensional_of_finite
14
15/-- The literal polynomial action of the coordinate support projection. -/
16def partitionSupportOperator (mu : Fin r → ℕ) (hmu : Antitone mu) (k : ℕ) :=
17 cyclicTensorOperator
18 (partitionHighestTensor (padPartition mu k) (padPartition_antitone mu hmu k))
19 (fun a => (padPartition mu k a : ℂ))
20 (partitionHighestTensor_cartan _ _) (partitionHighestTensor_raising_zero _ _)
21 (coordinateSupportMatrix r k)
22
23theorem rankSectorEmbedding_adjoint_transport (mu : Fin r → ℕ) (hmu : Antitone mu) (k : ℕ)
24 (x : cyclicSector (partitionHighestTensor (padPartition mu k) (padPartition_antitone mu hmu k))) :
25 (rankSectorEmbedding mu hmu k).toContinuousLinearMap.adjoint x =
26 (coordinateSectorEmbedding (k := k) (partitionHighestTensor mu hmu)).toContinuousLinearMap.adjoint
27 (rankHighestIsometry mu hmu k x) := by
28 apply ext_inner_left ℂ
29 intro z
30 rw [ContinuousLinearMap.adjoint_inner_right, ContinuousLinearMap.adjoint_inner_right]
31 change ⟪rankSectorEmbedding mu hmu k z,x⟫_ℂ =
32 ⟪coordinateSectorEmbedding (k := k) (partitionHighestTensor mu hmu) z,
33 rankHighestIsometry mu hmu k x⟫_ℂ
34 rw [← (rankHighestIsometry mu hmu k).inner_map_map, rankHighestIsometry_embedding]
35
36/-- The support operator is the range projection of the constructed rank inclusion. -/
37theorem partitionSupportOperator_eq_rangeProjection (mu : Fin r → ℕ) (hmu : Antitone mu) (k : ℕ) :
38 partitionSupportOperator mu hmu k =
39 (rankSectorEmbedding mu hmu k).toContinuousLinearMap.comp
40 (rankSectorEmbedding mu hmu k).toContinuousLinearMap.adjoint := by
41 apply ContinuousLinearMap.ext
42 intro x
43 apply (rankHighestIsometry mu hmu k).injective
44 have he := highestCyclicIsometry_tensorOperator
45 (partitionHighestTensor (padPartition mu k) (padPartition_antitone mu hmu k))
46 (rankEmbeddedHighest mu hmu k) (fun a => (padPartition mu k a : ℂ))
47 (partitionHighestTensor_cartan _ _) (rankEmbeddedHighest_weight mu hmu k)
48 (partitionHighestTensor_raising_zero _ _) (rankEmbeddedHighest_raise mu hmu k)
49 (partitionHighestTensor_norm _ _) (rankEmbeddedHighest_norm mu hmu k)
50 (coordinateSupportMatrix r k) x
51 change rankHighestIsometry mu hmu k (partitionSupportOperator mu hmu k x) = _ at he
52 rw [he]
53 change cyclicTensorOperator (coordinateTensorEmbedding _ r k (partitionHighestTensor mu hmu))
54 (fun a => (padPartition mu k a : ℂ))
55 (coordinateTensorEmbedding_highest (partitionHighestTensor mu hmu) mu
56 (partitionHighestTensor_cartan mu hmu) (partitionHighestTensor_raising_zero mu hmu)).1
57 (coordinateTensorEmbedding_highest (partitionHighestTensor mu hmu) mu
58 (partitionHighestTensor_cartan mu hmu) (partitionHighestTensor_raising_zero mu hmu)).2
59 (coordinateSupportMatrix r k) (rankHighestIsometry mu hmu k x) =
60 rankHighestIsometry mu hmu k
61 (rankSectorEmbedding mu hmu k ((rankSectorEmbedding mu hmu k).toContinuousLinearMap.adjoint x))
62 have hs := coordinateSectorEmbedding_support (k := k)
63 (partitionHighestTensor mu hmu) mu (partitionHighestTensor_cartan mu hmu)
64 (partitionHighestTensor_raising_zero mu hmu)
65 have hsx := congrArg (fun T => T (rankHighestIsometry mu hmu k x)) hs
66 apply hsx.trans
67 change coordinateSectorEmbedding (k := k) (partitionHighestTensor mu hmu)
68 ((coordinateSectorEmbedding (k := k) (partitionHighestTensor mu hmu)).toContinuousLinearMap.adjoint
69 (rankHighestIsometry mu hmu k x)) = _
70 exact (congrArg (coordinateSectorEmbedding (k := k) (partitionHighestTensor mu hmu))
71 (rankSectorEmbedding_adjoint_transport mu hmu k x).symm).trans
72 (rankHighestIsometry_embedding mu hmu k _).symm
73
74/-- Exact rank of the physical ambient support projector. -/
75theorem trace_partitionSupportOperator (mu : Fin r → ℕ) (hmu : Antitone mu) (k : ℕ) :
76 LinearMap.trace ℂ _ (partitionSupportOperator mu hmu k).toLinearMap =
77 (partitionDimension mu hmu : ℂ) := by
78 rw [partitionSupportOperator_eq_rangeProjection]
79 let J := (rankSectorEmbedding mu hmu k).toContinuousLinearMap
80 change LinearMap.trace ℂ _ (J.toLinearMap.comp J.adjoint.toLinearMap) = _
81 rw [LinearMap.trace_comp_comm']
82 have he : J.adjoint.comp J = 1 :=
83 (ContinuousLinearMap.norm_map_iff_adjoint_comp_self J).mp (rankSectorEmbedding mu hmu k).norm_map
84 change LinearMap.trace ℂ _ (J.adjoint.comp J).toLinearMap = _
85 rw [he]
86 exact LinearMap.trace_id ℂ _
87
88/-- Literal homogeneous scaling of the tensor operator, including c=0. -/
89theorem tensorOperator_smul {n d : ℕ} (c : ℂ) (X : Matrix (Fin d) (Fin d) ℂ) :
90 tensorOperator n (c • X) = c^n • tensorOperator n X := by
91 ext x w
92 simp only [tensorOperator_apply, Matrix.smul_apply, smul_eq_mul, Finset.prod_mul_distrib,
93 Finset.prod_const, Finset.card_univ, Fintype.card_fin, ContinuousLinearMap.smul_apply,
94 lp.coeFn_smul, Pi.smul_apply]
95 simp only [Finset.mul_sum, mul_assoc]
96
97def rankFlatSpectrum (r k : ℕ) : Fin (r+k) → ℝ := fun a =>
98 if a.val < r then 1/(r:ℝ) else 0
99
100theorem rankFlatSpectrum_nonneg (r k : ℕ) (a : Fin (r+k)) : 0 ≤ rankFlatSpectrum r k a := by
101 unfold rankFlatSpectrum
102 split_ifs <;> positivity
103
104/-- The ambient flat operator is the actual supported identity, with tensor normalization. -/
105theorem sectorGibbsOperator_rankFlat (mu : Fin r → ℕ) (hmu : Antitone mu) (k : ℕ) :
106 sectorGibbsOperator
107 (partitionHighestTensor (padPartition mu k) (padPartition_antitone mu hmu k))
108 (padPartition mu k) (partitionHighestTensor_cartan _ _) (partitionHighestTensor_raising_zero _ _)
109 (rankFlatSpectrum r k) =
110 (((1/(r:ℝ))^(∑ a,mu a) : ℝ) : ℂ) • partitionSupportOperator mu hmu k := by
111 have hm : Matrix.diagonal (fun a => (rankFlatSpectrum r k a : ℂ)) =
112 ((1/(r:ℝ):ℝ):ℂ) • coordinateSupportMatrix r k := by
113 rw [coordinateSupportMatrix, ← Matrix.diagonal_smul]
114 congr 1
115 funext a
116 simp only [rankFlatSpectrum, Pi.smul_apply, smul_eq_mul]
117 split_ifs <;> simp
118 apply ContinuousLinearMap.ext
119 intro x
120 apply Subtype.ext
121 change tensorOperator _ (Matrix.diagonal _) (x : TensorRegister (∑ a,padPartition mu k a) (Fin (r+k))) =
122 (((1/(r:ℝ))^(∑ a,mu a) : ℝ) : ℂ) • tensorOperator _ (coordinateSupportMatrix r k) (x : TensorRegister (∑ a,padPartition mu k a) (Fin (r+k)))
123 rw [hm, tensorOperator_smul, ContinuousLinearMap.smul_apply]
124 simp only [sum_padPartition, Complex.ofReal_pow]
125
126/-- Exact ambient flat character: support dimension divided by r^N. -/
127theorem physicalSectorCharacter_rankFlat (mu : Fin r → ℕ) (hmu : Antitone mu) (k : ℕ) :
128 physicalSectorCharacter (padPartition mu k) (rankFlatSpectrum r k) =
129 (partitionDimension mu hmu : ℝ) / (r:ℝ)^(∑ a,mu a) := by
130 simp only [physicalSectorCharacter, dif_pos (padPartition_antitone mu hmu k)]
131 rw [sectorPartitionFunction_eq_linearMapTrace _ _ _ _ _ (rankFlatSpectrum_nonneg r k),
132 sectorGibbsOperator_rankFlat]
133 change (LinearMap.trace ℂ _ ((((1/(r:ℝ))^(∑ a,mu a) : ℝ) : ℂ) •
134 (partitionSupportOperator mu hmu k).toLinearMap)).re = _
135 rw [map_smul, trace_partitionSupportOperator]
136 simp only [smul_eq_mul]
137 have hc : ((((1/(r:ℝ))^(∑ a,mu a) : ℝ) : ℂ) *
138 (partitionDimension mu hmu : ℂ)).re =
139 (1/(r:ℝ))^(∑ a,mu a) * (partitionDimension mu hmu : ℝ) := by norm_cast
140 rw [hc, one_div_pow]
141 ring
142
143end Cloning.TensorLie