Offline · exact source
Exact Lean source

TensorFlatProjectorGibbsState

formalization/Cloning/TensorFlatProjectorGibbsState.lean

Source hash: b037617d43fee5a8e9f8feec96fd6404193c31eb88affb77f24dafde9b842e03

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.TensorFlatProjectorGibbs
2import Cloning.TensorCloningTransitionCovariance
3 
4/-! Exact flat-state fidelity for the actual compatible physical transition channel. -/
5noncomputable section
6open scoped BigOperators InnerProductSpace ComplexOrder Matrix
7namespace Cloning.TensorLie
8open Cloning.PCT Cloning.InfiniteTraceClass Cloning.InfiniteFiniteCorner Cloning.Hybrid
9open Cloning.TensorCloning Cloning.YoungDimensionRatio
10set_option maxHeartbeats 1800000
11set_option synthInstance.maxHeartbeats 200000
12set_option backward.isDefEq.respectTransparency false
13variable {d r : ℕ}
14local instance (n d : ℕ) : FiniteDimensional ℂ (TensorRegister n (Fin d)) :=
15  (registerBasis (Fin n → Fin d)).toOrthonormalBasis.toBasis.finiteDimensional_of_finite
16 
17def nonnegativePartitionGibbsPositive (mu : Fin d → ℕ) (hmu : Antitone mu)
18    (p : Fin d → ℝ) (hp : ∀ a, 0 ≤ p a) :
19    PositiveTraceClass (cyclicSector (partitionHighestTensor mu hmu)) :=
20  ⟨sectorGibbsDensity _ mu (partitionHighestTensor_cartan mu hmu)
21    (partitionHighestTensor_raising_zero mu hmu) p,
22    sectorGibbsDensity_nonneg_of_nonneg _ _ _ _ p hp⟩
23 
24/-- The general physical Gibbs normalization specializes to the constructed
25rank-flat support state at every padded partition. -/
26theorem nonnegativePartitionGibbsPositive_pad_rankFlat (mu : Fin r → ℕ) (hmu : Antitone mu)
27    (k : ℕ) (hr : 0 < r) :
28    nonnegativePartitionGibbsPositive (padPartition mu k) (padPartition_antitone mu hmu k)
29      (rankFlatSpectrum r k) (rankFlatSpectrum_nonneg r k) = rankFlatSectorState mu hmu k := by
30  let eta := padPartition mu k
31  let heta : Antitone eta := padPartition_antitone mu hmu k
32  let Z := physicalSectorCharacter eta (rankFlatSpectrum r k)
33  have hZ : 0 < Z := by
34    dsimp [Z,eta]
35    rw [physicalSectorCharacter_rankFlat mu hmu k]
36    exact div_pos (Nat.cast_pos.mpr (partitionDimension_pos mu hmu)) (pow_pos (Nat.cast_pos.mpr hr) _)
37  have he := congrArg (ofMatrix (partitionBasis eta heta)) (partitionActionMatrix_rankFlat mu hmu k)
38  have hm : partitionActionMatrix eta heta (Matrix.diagonal (fun a => (rankFlatSpectrum r k a : ℂ))) =
39      matrixOf (partitionBasis eta heta) (sectorGibbsOperator (partitionHighestTensor eta heta) eta
40        (partitionHighestTensor_cartan eta heta) (partitionHighestTensor_raising_zero eta heta)
41        (rankFlatSpectrum r k)) := by
42    ext i j
43    exact partitionActionMatrix_apply _ _ _ i j
44  rw [hm, basis_ofMatrix_matrixOf] at he
45  change sectorGibbsOperator (partitionHighestTensor eta heta) eta (partitionHighestTensor_cartan eta heta) (partitionHighestTensor_raising_zero eta heta) (rankFlatSpectrum r k) =
46    ofMatrix (partitionBasis eta heta) ((Z : ℂ) • rankFlatSectorDensity mu hmu k) at he
47  rw [basis_ofMatrix_smul] at he
48  have hz : sectorPartitionFunction (partitionHighestTensor eta heta) eta
49      (partitionHighestTensor_cartan eta heta) (partitionHighestTensor_raising_zero eta heta)
50      (rankFlatSpectrum r k) = Z := by
51    simp only [Z, physicalSectorCharacter, dif_pos heta]
52  apply Subtype.ext
53  apply Subtype.ext
54  change (((sectorPartitionFunction (partitionHighestTensor eta heta) eta (partitionHighestTensor_cartan eta heta) (partitionHighestTensor_raising_zero eta heta) (rankFlatSpectrum r k))⁻¹ : ℝ) : ℂ) •
55    sectorGibbsOperator (partitionHighestTensor eta heta) eta (partitionHighestTensor_cartan eta heta) (partitionHighestTensor_raising_zero eta heta) (rankFlatSpectrum r k) = ofMatrix (partitionBasis eta heta) (rankFlatSectorDensity mu hmu k)
56  rw [hz, he]
57  have hc : ((Z⁻¹ : ℝ) : ℂ) * (Z : ℂ) = 1 := by
58    rw [← Complex.ofReal_mul, inv_mul_cancel₀ hZ.ne', Complex.ofReal_one]
59  convert congrArg (fun c : ℂ => c • ofMatrix (partitionBasis eta heta)
60      (rankFlatSectorDensity mu hmu k)) hc using 1 <;> simp only [smul_smul, one_smul]
61 
62 
63end Cloning.TensorLie