Offline · exact source
Exact Lean source

TensorCartanStateCovariance

formalization/Cloning/TensorCartanStateCovariance.lean

Source hash: f5e9db069095e728c0a258b6058d32d17b662818134cbaaeb9326b0df6c270bf

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.TensorCartanTensorAction
2import Cloning.TensorCartanStateProduct
3import Cloning.TensorGibbsState
4 
5/-! Exact unitary covariance of the literal physical Cartan quantum channel. -/
6noncomputable section
7open scoped BigOperators InnerProductSpace Matrix
8namespace Cloning.TensorLie
9open Cloning.PCT Cloning.InfiniteTraceClass Cloning.InfiniteFiniteCorner
10set_option maxHeartbeats 1400000
11set_option backward.isDefEq.respectTransparency false
12variable {d : ℕ}
13local instance (n d : ℕ) : FiniteDimensional ℂ (TensorRegister n (Fin d)) :=
14  (registerBasis (Fin n → Fin d)).toOrthonormalBasis.toBasis.finiteDimensional_of_finite
15 
16theorem cartanProductAction_productVector (mu nu : Fin d → ℕ) (hmu : Antitone mu) (hnu : Antitone nu)
17    (X : Matrix (Fin d) (Fin d) ℂ)
18    (x : cyclicSector (partitionHighestTensor mu hmu))
19    (y : cyclicSector (partitionHighestTensor nu hnu)) :
20    cartanProductAction mu nu hmu hnu X (cartanProductVector mu nu hmu hnu x y) =
21      cartanProductVector mu nu hmu hnu (partitionTensorAction mu hmu X x)
22        (partitionTensorAction nu hnu X y) := by
23  apply Subtype.ext
24  exact tensorOperator_tensorJoin X
25    (x : TensorRegister (∑ i, mu i) (Fin d)) (y : TensorRegister (∑ i, nu i) (Fin d))
26 
27theorem cartanProductOperator_conjugate (mu nu : Fin d → ℕ) (hmu : Antitone mu) (hnu : Antitone nu)
28    (U : Matrix (Fin d) (Fin d) ℂ) (hU : Uᴴ * U = 1)
29    (A : cyclicSector (partitionHighestTensor mu hmu) →L[ℂ]
30      cyclicSector (partitionHighestTensor mu hmu)) :
31    cartanProductOperator mu nu hmu hnu
32      (partitionTensorAction mu hmu U * A * partitionTensorAction mu hmu Uᴴ) =
33      cartanProductAction mu nu hmu hnu U * cartanProductOperator mu nu hmu hnu A *
34        cartanProductAction mu nu hmu hnu Uᴴ := by
35  have he (i : PartitionIndex mu hmu × PartitionIndex nu hnu) :
36      cartanProductOperator mu nu hmu hnu
37          (partitionTensorAction mu hmu U * A * partitionTensorAction mu hmu Uᴴ)
38          (cartanProductBasis mu nu hmu hnu i) =
39        (cartanProductAction mu nu hmu hnu U * cartanProductOperator mu nu hmu hnu A *
40          cartanProductAction mu nu hmu hnu Uᴴ) (cartanProductBasis mu nu hmu hnu i) := by
41    simp only [cartanProductBasis, productSectorBasis_apply]
42    change cartanProductOperator mu nu hmu hnu _
43        (cartanProductVector mu nu hmu hnu (partitionBasis mu hmu i.1) (partitionBasis nu hnu i.2)) =
44      (cartanProductAction mu nu hmu hnu U * cartanProductOperator mu nu hmu hnu A *
45        cartanProductAction mu nu hmu hnu Uᴴ) (cartanProductVector mu nu hmu hnu (partitionBasis mu hmu i.1) (partitionBasis nu hnu i.2))
46    simp only [ContinuousLinearMap.mul_apply, cartanProductAction_productVector,
47      cartanProductOperator_productVector]
48    congr 1
49    have hUU : U * Uᴴ = 1 := mul_eq_one_comm.mp hU
50    have hv := congrArg (fun T ↦ T (partitionBasis nu hnu i.2))
51      (cyclicTensorOperator_mul (partitionHighestTensor nu hnu) (fun a ↦ (nu a : ℂ))
52        (partitionHighestTensor_cartan nu hnu) (partitionHighestTensor_raising_zero nu hnu) U Uᴴ)
53    simpa only [hUU, cyclicTensorOperator_one, ContinuousLinearMap.one_apply,
54      ContinuousLinearMap.mul_apply] using hv
55  apply ContinuousLinearMap.ext
56  intro z
57  rw [← (cartanProductBasis mu nu hmu hnu).sum_repr z]
58  simp only [map_sum, map_smul]
59  exact Finset.sum_congr rfl (fun i hi ↦ congrArg (fun x ↦
60    ((cartanProductBasis mu nu hmu hnu).repr z i) • x) (he i))
61 
62end Cloning.TensorLie