Exact Lean source
TensorPositiveSpectrumCompressionFidelity
formalization/Cloning/TensorPositiveSpectrumCompressionFidelity.lean
Source hash: 803257d7abe542085233902e819aa812f5bef1f3a02342ac7cc0f19d7723e9eb
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.
In the dependency map: Projector optimum
Paper ↔ Lean correspondence in this module
Declarations in this module
1import Cloning.TensorRankCartanCompression
2import Cloning.TensorPositiveSpectrumCompressionMatrix
3
4/-! The complete exact rank-compression identity for arbitrary supported
5spectra: actual Gibbs densities, actual Cartan channels, and actual fidelity.
6No flat-spectrum assumption or supplied representation identity remains. -/
7noncomputable section
8open scoped BigOperators InnerProductSpace Matrix ComplexOrder
9namespace Cloning.TensorLie
10open Cloning.PCT Cloning.InfiniteTraceClass Cloning.Hybrid
11set_option backward.isDefEq.respectTransparency false
12set_option maxHeartbeats 1500000
13variable {r d : ℕ}
14local instance (n d : ℕ) : FiniteDimensional ℂ (TensorRegister n (Fin d)) :=
15 (registerBasis (Fin n → Fin d)).toOrthonormalBasis.toBasis.finiteDimensional_of_finite
16
17/-- Root fidelity of the actual Cartan output with the actual normalized
18Gibbs target. It is normalized when the partition function is positive;
19at zero partition function the density is the zero operator. -/
20def nonnegativeCartanGibbsFidelity (mu nu : Fin d→ℕ) (hmu : Antitone mu) (hnu : Antitone nu)
21 (p : Fin d→ℝ) (hp : ∀a,0≤p a) : ℝ :=
22 ((nonnegativePartitionGibbsPositive mu hmu p hp).map
23 (physicalCartanChannel mu nu hmu hnu).toPositiveTracePreservingMap).rootFidelity
24 (nonnegativePartitionGibbsPositive (fun a=>mu a+nu a)
25 (sumPartition_antitone mu nu hmu hnu) p hp)
26
27theorem nonnegativeCartanGibbsFidelity_eq_matrix
28 (mu nu : Fin d→ℕ) (hmu : Antitone mu) (hnu : Antitone nu)
29 (p : Fin d→ℝ) (hp : ∀a,0≤p a) :
30 nonnegativeCartanGibbsFidelity mu nu hmu hnu p hp =
31 Cloning.MatrixFidelity.fidelity
32 ((physicalCartanMatrixChannel mu nu hmu hnu).toFun (partitionGibbsMatrix mu hmu p))
33 (partitionGibbsMatrix (fun a=>mu a+nu a) (sumPartition_antitone mu nu hmu hnu) p) := by
34 unfold nonnegativeCartanGibbsFidelity
35 rw [←partitionMatrixState_partitionGibbsMatrix mu hmu p hp,
36 ←partitionMatrixState_partitionGibbsMatrix (fun a=>mu a+nu a)
37 (sumPartition_antitone mu nu hmu hnu) p hp,
38 physicalCartanChannel_partitionMatrix_fidelity]
39
40/-- Equation `exact-sector-factorization` for arbitrary positive supported
41spectra, in fact for every nonnegative spectrum. The coefficient is exactly
42the proved Weyl crossing-dimension product `sqrt(R_mu/R_(mu+nu))`. -/
43theorem nonnegativeCartanGibbsFidelity_padSpectrum
44 (mu nu : Fin r→ℕ) (hmu : Antitone mu) (hnu : Antitone nu) (k : ℕ)
45 (p : Fin r→ℝ) (hp : ∀a,0≤p a) :
46 nonnegativeCartanGibbsFidelity (padPartition mu k) (padPartition nu k)
47 (padPartition_antitone mu hmu k) (padPartition_antitone nu hnu k)
48 (padSpectrum p k) (padSpectrum_nonneg p hp k) =
49 Real.sqrt (Cloning.YoungDimensionRatio.dimensionRatio r k (fun a=>(mu a:ℝ)) /
50 Cloning.YoungDimensionRatio.dimensionRatio r k (fun a=>((mu a+nu a:ℕ):ℝ))) *
51 nonnegativeCartanGibbsFidelity mu nu hmu hnu p hp := by
52 rw [nonnegativeCartanGibbsFidelity_eq_matrix,nonnegativeCartanGibbsFidelity_eq_matrix,
53 partitionGibbsMatrix_padSpectrum mu hmu k p hp,
54 partitionGibbsMatrix_padSpectrum_sum mu nu hmu hnu k p hp,
55 physicalCartanMatrixChannel_rank_fidelity mu nu hmu hnu k _ _
56 (partitionGibbsMatrix_posSemidef mu hmu p hp)
57 (partitionGibbsMatrix_posSemidef _ (sumPartition_antitone mu nu hmu hnu) p hp),
58 rankCartanRatio_eq_dimensionRatio]
59
60end Cloning.TensorLie