Exact Lean source
TensorFlatProjectorTraceClass
formalization/Cloning/TensorFlatProjectorTraceClass.lean
Source hash: 92c027f3e4e73713842477c21398fd3795729b97f81b8a2a3f5b46c1ed34033b
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.partitionMatrixStatetheorem Cloning.TensorLie.partitionMatrixState_fidelitytheorem Cloning.TensorLie.physicalCartanMatrixChannel_positivetheorem Cloning.TensorLie.physicalCartanChannel_partitionMatrix_fidelitydefinition Cloning.TensorLie.rankFlatSectorStatetheorem Cloning.TensorLie.rankFlatSectorState_normtheorem Cloning.TensorLie.partitionActionMatrix_rankFlat1import Cloning.TensorFlatProjectorFidelity
2import Cloning.TensorCartanStateOperator
3import Cloning.HybridStates
4
5/-! Physical trace-class flat states and the exact Cartan fidelity adapter. -/
6noncomputable section
7open scoped BigOperators InnerProductSpace Matrix ComplexOrder
8namespace Cloning.TensorLie
9open Cloning.PCT Cloning.InfiniteTraceClass Cloning.InfiniteFiniteCorner Cloning.Hybrid
10set_option maxHeartbeats 1600000
11set_option backward.isDefEq.respectTransparency false
12variable {d r : ℕ}
13local instance (n d : ℕ) : FiniteDimensional ℂ (TensorRegister n (Fin d)) :=
14 (registerBasis (Fin n → Fin d)).toOrthonormalBasis.toBasis.finiteDimensional_of_finite
15
16def partitionMatrixState (mu : Fin d → ℕ) (hmu : Antitone mu)
17 (M : Matrix (PartitionIndex mu hmu) (PartitionIndex mu hmu) ℂ) (hM : M.PosSemidef) :
18 PositiveTraceClass (cyclicSector (partitionHighestTensor mu hmu)) :=
19 ⟨matrixLift (partitionBasis mu hmu) M, ofMatrix_nonneg (partitionBasis mu hmu).orthonormal hM⟩
20
21theorem partitionMatrixState_fidelity (mu : Fin d → ℕ) (hmu : Antitone mu)
22 (M N : Matrix (PartitionIndex mu hmu) (PartitionIndex mu hmu) ℂ)
23 (hM : M.PosSemidef) (hN : N.PosSemidef) :
24 (partitionMatrixState mu hmu M hM).rootFidelity (partitionMatrixState mu hmu N hN) =
25 Cloning.MatrixFidelity.fidelity M N :=
26 fidelity_ofMatrix (partitionBasis mu hmu).orthonormal hM hN
27
28theorem physicalCartanMatrixChannel_positive (mu nu : Fin d → ℕ)
29 (hmu : Antitone mu) (hnu : Antitone nu)
30 (M : Matrix (PartitionIndex mu hmu) (PartitionIndex mu hmu) ℂ) (hM : M.PosSemidef) :
31 ((physicalCartanMatrixChannel mu nu hmu hnu).toFun M).PosSemidef := by
32 rw [physicalCartanMatrixChannel_apply, Cloning.CartanChannel.sectorMap_eq_kraus _ _ _ _ (by positivity)]
33 exact Cloning.Channels.krausMap_positive _ hM
34
35/-- Actual trace-class channel fidelity agrees with its proved finite matrix formula. -/
36theorem physicalCartanChannel_partitionMatrix_fidelity (mu nu : Fin d → ℕ)
37 (hmu : Antitone mu) (hnu : Antitone nu)
38 (M : Matrix (PartitionIndex mu hmu) (PartitionIndex mu hmu) ℂ) (hM : M.PosSemidef)
39 (N : Matrix (PartitionIndex (fun a => mu a + nu a) (sumPartition_antitone mu nu hmu hnu)) _ ℂ)
40 (hN : N.PosSemidef) :
41 ((partitionMatrixState mu hmu M hM).map
42 (physicalCartanChannel mu nu hmu hnu).toPositiveTracePreservingMap).rootFidelity
43 (partitionMatrixState _ (sumPartition_antitone mu nu hmu hnu) N hN) =
44 Cloning.MatrixFidelity.fidelity ((physicalCartanMatrixChannel mu nu hmu hnu).toFun M) N := by
45 have he : (partitionMatrixState mu hmu M hM).map
46 (physicalCartanChannel mu nu hmu hnu).toPositiveTracePreservingMap =
47 partitionMatrixState _ (sumPartition_antitone mu nu hmu hnu)
48 ((physicalCartanMatrixChannel mu nu hmu hnu).toFun M)
49 (physicalCartanMatrixChannel_positive mu nu hmu hnu M hM) := by
50 apply Subtype.ext
51 change (physicalCartanChannel mu nu hmu hnu).toLinearMap (matrixLift (partitionBasis mu hmu) M) = _
52 rw [← partitionMatrixOperator_eq_matrixLift, physicalCartanChannel_partitionMatrixOperator,
53 partitionMatrixOperator_eq_matrixLift]
54 simp only [partitionMatrixState, physicalCartanMatrixChannel_apply]
55 rw [he, partitionMatrixState_fidelity]
56
57def rankFlatSectorState (mu : Fin r → ℕ) (hmu : Antitone mu) (k : ℕ) :=
58 partitionMatrixState (padPartition mu k) (padPartition_antitone mu hmu k)
59 (rankFlatSectorDensity mu hmu k) (rankFlatSectorDensity_posSemidef mu hmu k)
60
61theorem rankFlatSectorState_norm (mu : Fin r → ℕ) (hmu : Antitone mu) (k : ℕ) :
62 ‖(rankFlatSectorState mu hmu k).1‖ = 1 := by
63 rw [TraceClass.norm_eq_trace_re_of_nonneg _ (rankFlatSectorState mu hmu k).2]
64 change (trace (ofMatrix (partitionBasis _ _) (rankFlatSectorDensity mu hmu k)) _).re = _
65 rw [trace_ofMatrix (partitionBasis _ _).orthonormal, rankFlatSectorDensity_trace]
66 rfl
67
68/-- The literal rank-flat Gibbs block is its physical character times the
69constructed normalized support state, including the zero-fold tensor. -/
70theorem partitionActionMatrix_rankFlat (mu : Fin r → ℕ) (hmu : Antitone mu) (k : ℕ) :
71 partitionActionMatrix (padPartition mu k) (padPartition_antitone mu hmu k)
72 (Matrix.diagonal (fun a => (rankFlatSpectrum r k a : ℂ))) =
73 physicalSectorCharacter (padPartition mu k) (rankFlatSpectrum r k) • rankFlatSectorDensity mu hmu k := by
74 have he : partitionActionMatrix (padPartition mu k) (padPartition_antitone mu hmu k)
75 (Matrix.diagonal (fun a => (rankFlatSpectrum r k a : ℂ))) =
76 ((1/(r:ℝ))^(∑a,mu a)) •
77 partitionCoordinateProjection (padPartition mu k) (padPartition_antitone mu hmu k) := by
78 ext i j
79 rw [partitionActionMatrix_apply]
80 change ⟪partitionBasis _ _ i, sectorGibbsOperator _ _ _ _ _ (partitionBasis _ _ j)⟫_ℂ = _
81 rw [sectorGibbsOperator_rankFlat mu hmu k, ContinuousLinearMap.smul_apply, inner_smul_right]
82 simp only [Matrix.smul_apply, Complex.real_smul, partitionCoordinateProjection,
83 partitionActionMatrix_apply]
84 rfl
85 rw [he, rankFlatSectorDensity, smul_smul, physicalSectorCharacter_rankFlat mu hmu k]
86 congr 1
87 have hD : (partitionDimension mu hmu : ℝ) ≠ 0 := Nat.cast_ne_zero.mpr (partitionDimension_pos mu hmu).ne'
88 rw [one_div_pow]
89 field_simp
90
91end Cloning.TensorLie