Offline · exact source
Exact Lean source

TensorCloningGlobalCovarianceState

formalization/Cloning/TensorCloningGlobalCovarianceState.lean

Source hash: dd5db1cddf9a343bbfc84b80132518238eaa3f2cf45b07769622c65d289b842c

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.TensorGibbsState
2import Cloning.TensorPartitionHighest
3 
4/-! The canonical maximally mixed sector replacement state. It is invariant
5under every unitary action, including sectors of arbitrary tensor degree. -/
6noncomputable section
7open scoped BigOperators InnerProductSpace Matrix Classical
8namespace Cloning.TensorCloning
9open Cloning.PCT Cloning.TensorLie Cloning.InfiniteTraceClass
10set_option backward.isDefEq.respectTransparency false
11set_option maxHeartbeats 800000
12local instance (n d : ℕ) : FiniteDimensional ℂ (TensorRegister n (Fin d)) :=
13  (registerBasis (Fin n → Fin d)).toOrthonormalBasis.toBasis.finiteDimensional_of_finite
14 
15def partitionInvariantState {d : ℕ} (mu : Fin d → ℕ) (hmu : Antitone mu) :
16    DensityState (cyclicSector (partitionHighestTensor mu hmu)) :=
17  sectorGibbsState (partitionHighestTensor mu hmu) mu (partitionHighestTensor_cartan mu hmu)
18    (partitionHighestTensor_raising_zero mu hmu) (partitionHighestTensor_norm mu hmu)
19    (fun _ => 1) (fun _ => zero_lt_one)
20 
21theorem partitionInvariantState_op {d : ℕ} (mu : Fin d → ℕ) (hmu : Antitone mu) :
22    (partitionInvariantState mu hmu).op =
23      (((Module.finrank ℂ (cyclicSector (partitionHighestTensor mu hmu)) : ℝ)⁻¹ : ℝ) : ℂ) • 1 := by
24  have hop : sectorGibbsOperator (partitionHighestTensor mu hmu) mu
25      (partitionHighestTensor_cartan mu hmu) (partitionHighestTensor_raising_zero mu hmu)
26      (fun _ => 1) = 1 := by
27    simp only [sectorGibbsOperator, Complex.ofReal_one, Matrix.diagonal_one, cyclicTensorOperator_one]
28  have hZ : sectorPartitionFunction (partitionHighestTensor mu hmu) mu
29      (partitionHighestTensor_cartan mu hmu) (partitionHighestTensor_raising_zero mu hmu)
30      (fun _ => 1) = (Module.finrank ℂ (cyclicSector (partitionHighestTensor mu hmu)) : ℝ) := by
31    rw [sectorPartitionFunction_eq_linearMapTrace _ _ _ _ _ (fun _ => zero_le_one), hop]
32    change (LinearMap.trace ℂ _ (LinearMap.id : cyclicSector (partitionHighestTensor mu hmu) →ₗ[ℂ] _)).re = _
33    rw [LinearMap.trace_id]
34    simp only [Complex.natCast_re]
35  change _ • sectorGibbsOperator _ _ _ _ _ = _
36  rw [hop, hZ]
37 
38end Cloning.TensorCloning