Offline · exact source
Exact Lean source

TensorFlatProjectorLaw

formalization/Cloning/TensorFlatProjectorLaw.lean

Source hash: d6b4047a073b9fe517a635f301019e372d446d9fabcad23fb29f09f1273d13b9

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.TensorSchurDecompositionMultiplicity
2import Cloning.TensorSchurDecompositionConcentration
3import Cloning.WeylCharacterDimensionPhysical
4import Cloning.YoungGeneralMoments
5 
6/-! The actual flat-spectrum sector state and physical Young law. -/
7noncomputable section
8open scoped BigOperators InnerProductSpace Topology
9namespace Cloning.TensorLie
10open Cloning.PCT Cloning.InfiniteTraceClass Cloning.YoungGeneral
11set_option maxHeartbeats 1000000
12set_option synthInstance.maxHeartbeats 200000
13set_option backward.isDefEq.respectTransparency false
14variable {n d : ℕ}
15 
16local instance : FiniteDimensional ℂ (TensorRegister n (Fin d)) :=
17  (registerBasis (Fin n → Fin d)).toOrthonormalBasis.toBasis.finiteDimensional_of_finite
18 
19/-- Scalar one-particle input acts by its actual tensor degree. -/
20theorem sectorGibbsOperator_const
21    (Ω : TensorRegister n (Fin d)) (mu : Fin d → ℕ)
22    (hweight : ∀ a, collectiveGenerator n a a Ω = (mu a : ℂ) • Ω)
23    (hraise : ∀ a b, a < b → collectiveGenerator n a b Ω = 0) (c : ℝ) :
24    sectorGibbsOperator Ω mu hweight hraise (fun _ => c) =
25      ((c ^ n : ℝ) : ℂ) • (1 : cyclicSector Ω →L[ℂ] cyclicSector Ω) := by
26  apply ContinuousLinearMap.ext
27  intro x
28  apply Subtype.ext
29  apply lp.ext
30  funext w
31  change tensorOperator n (Matrix.diagonal (fun _ : Fin d => (c : ℂ)))
32    (x : TensorRegister n (Fin d)) w = ((c ^ n : ℝ) : ℂ) * (x : TensorRegister n (Fin d)) w
33  rw [tensorOperator_diagonal_apply]
34  simp
35 
36/-- The flat partition function is the literal sector dimension. -/
37theorem sectorPartitionFunction_const
38    (Ω : TensorRegister n (Fin d)) (mu : Fin d → ℕ)
39    (hweight : ∀ a, collectiveGenerator n a a Ω = (mu a : ℂ) • Ω)
40    (hraise : ∀ a b, a < b → collectiveGenerator n a b Ω = 0)
41    (c : ℝ) (hc : 0 ≤ c) :
42    sectorPartitionFunction Ω mu hweight hraise (fun _ => c) =
43      c ^ n * (Module.finrank ℂ (cyclicSector Ω) : ℝ) := by
44  rw [sectorPartitionFunction_eq_linearMapTrace Ω mu hweight hraise _ (fun _ => hc),
45    sectorGibbsOperator_const]
46  change (LinearMap.trace ℂ _ (((c ^ n : ℝ) : ℂ) •
47    (LinearMap.id : cyclicSector Ω →ₗ[ℂ] cyclicSector Ω))).re = _
48  rw [map_smul, LinearMap.trace_id]
49  simp only [smul_eq_mul]
50  norm_cast
51 
52/-- The actual normalized flat sector density is maximally mixed. -/
53theorem sectorGibbsState_flat_op
54    (Ω : TensorRegister n (Fin d)) (mu : Fin d → ℕ) (hΩ : ‖Ω‖ = 1)
55    (hweight : ∀ a, collectiveGenerator n a a Ω = (mu a : ℂ) • Ω)
56    (hraise : ∀ a b, a < b → collectiveGenerator n a b Ω = 0) (hd : 0 < d) :
57    (sectorGibbsState Ω mu hweight hraise hΩ (flatSpectrum d)
58      (fun _ => by unfold flatSpectrum; positivity)).op =
59      (((Module.finrank ℂ (cyclicSector Ω) : ℝ)⁻¹ : ℝ) : ℂ) • 1 := by
60  have hc : 0 < (1 / (d : ℝ)) := by positivity
61  change (((sectorPartitionFunction Ω mu hweight hraise (fun _ => 1 / (d : ℝ)))⁻¹ : ℝ) : ℂ) •
62    sectorGibbsOperator Ω mu hweight hraise (fun _ => 1 / (d : ℝ)) = _
63  rw [sectorPartitionFunction_const Ω mu hweight hraise _ hc.le,
64    sectorGibbsOperator_const, smul_smul]
65  congr 1
66  rw [← Complex.ofReal_mul]
67  congr 1
68  rw [mul_inv_rev, mul_assoc, inv_mul_cancel₀ (pow_pos hc n).ne', mul_one]
69 
70/-- The physical Young law of the maximally mixed state on `ℂ^d`. -/
71def tensorFlatYoungPMF (n d : ℕ) (hd : 0 < d) : PMF (Shape d n) :=
72  tensorYoungPMF n d (flatSpectrum d) (fun _ => by unfold flatSpectrum; positivity)
73    (flatSpectrum_sum d hd)
74 
75/-- Exact physical flat label mass: multiplicity times actual dimension,
76divided by the tensor dimension. -/
77theorem tensorFlatYoungPMF_formula (n d : ℕ) (hd : 0 < d) (mu : Shape d n)
78    (hmu : Antitone (fun a => (mu a).val)) (hsum : ∑ a, (mu a).val = n) :
79    (tensorFlatYoungPMF n d hd mu).toReal =
80      (standardCount n (fun a => (mu a).val) : ℝ) *
81        (partitionDimension (fun a => (mu a).val) hmu : ℝ) / (d : ℝ) ^ n := by
82  rw [tensorFlatYoungPMF, tensorYoungPMF_formula]
83  simp only [physicalSectorCharacter, dif_pos hmu]
84  rw [show flatSpectrum d = (fun _ => 1 / (d : ℝ)) from rfl,
85    sectorPartitionFunction_const _ _ _ _ _ (by positivity)]
86  change _ * ((1 / (d : ℝ)) ^ (∑ a, (mu a).val) *
87    (partitionDimension (fun a => (mu a).val) hmu : ℝ)) = _
88  rw [hsum, one_div_pow]
89  ring
90 
91/-- The same exact label law in the Weyl product coordinates. -/
92theorem tensorFlatYoungPMF_weyl (n d : ℕ) (hd : 0 < d) (mu : Shape d n)
93    (hmu : Antitone (fun a => (mu a).val)) (hsum : ∑ a, (mu a).val = n) :
94    (tensorFlatYoungPMF n d hd mu).toReal =
95      (standardCount n (fun a => (mu a).val) : ℝ) *
96        Cloning.WeylCharacter.dimensionProduct (fun a => (mu a).val) / (d : ℝ) ^ n := by
97  rw [tensorFlatYoungPMF_formula n d hd mu hmu hsum, partitionDimension_eq_dimensionProduct]
98 
99end Cloning.TensorLie