Offline · exact source
Exact Lean source

TensorRankOneTransition

formalization/Cloning/TensorRankOneTransition.lean

Source hash: 4907d3f488ac8fd1f874bf8f0bd1f98582d9606da6c5e3e86703359ed274a80b

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.TensorRankOneCopy
2import Cloning.TensorCloningTransitionCovariance
3import Cloning.TensorRankOneCoupling
4 
5/-! Every physical one-row copy transition gives the same Werner output. -/
6noncomputable section
7open scoped BigOperators InnerProductSpace Classical
8namespace Cloning.TensorLie
9open Cloning.PCT Cloning.TensorCloning Cloning.InfiniteTraceClass Cloning.TensorLAN Cloning.GeneralSymmetricOccupation
10set_option maxHeartbeats 1400000
11set_option backward.isDefEq.respectTransparency false
12local instance {n d : ℕ} : FiniteDimensional ℂ (TensorRegister n (Fin d)) :=
13  (registerBasis (Fin n → Fin d)).toOrthonormalBasis.toBasis.finiteDimensional_of_finite
14 
15theorem partitionTransition_singleRow_highest_werner
16    (D n m L : ℕ) (hD : 0<D) (mu nu : Fin D→ℕ) (hm : Antitone mu) (hn : Antitone nu)
17    (hmu : ∀i,mu i=if i.val=0 then n else 0)
18    (hnu : ∀i,nu i=if i.val=0 then m else 0) (hnm : n≤m)
19    (hL : (∑i,nu i)=L) (hsize : (∑i,mu i)≤L)
20    (Ψ : TensorRegister L (Fin D)) (hΨ : ‖Ψ‖=1)
21    (htΨ : collectiveGenerator L ⟨0,hD⟩ ⟨0,hD⟩ Ψ=(L:ℂ) • Ψ)
22    (F : cyclicSector (partitionHighestTensor nu hn) →ₗᵢ[ℂ] TensorRegister L (Fin D))
23    (hF : ∀w,F ⟨loweringWord _ w,loweringWord_mem_cyclicSector _ w⟩=loweringWord Ψ w) :
24    conjugationLinearMap F.toContinuousLinearMap
25      ((partitionTransitionChannel mu nu hm hn).toLinearMap
26        (vectorProjector ⟨partitionHighestTensor mu hm,highest_mem_cyclicSector _⟩))=
27      pureWernerOutput (s:=D-1) (by simp; omega : Fintype.card (Fin D)=(D-1)+1)
28        (registerBasis (Fin D) ⟨0,hD⟩) ((registerBasis _).orthonormal.norm_eq_one _)
29        (inputSlots (∑i,mu i) L hsize) := by
30  let tau : Fin D→ℕ := fun i=>nu i-mu i
31  have htau (i : Fin D) : tau i=if i.val=0 then m-n else 0 := by
32    dsimp only [tau]
33    rw [hmu,hnu]
34    split_ifs <;> simp
35  have hrow : ∀i,mu i≤nu i := by
36    intro i
37    rw [hmu,hnu]
38    split_ifs <;> omega
39  have hata : Antitone tau := by
40    intro i j hij
41    rw [htau,htau]
42    split_ifs with hj hi hi
43    · exact le_refl _
44    · have : i.val=0 := by have := Fin.le_iff_val_le_val.mp hij; omega
45      contradiction
46    · exact Nat.zero_le _
47    · exact le_refl _
48  have he : (fun i=>mu i+tau i)=nu := funext fun i=>Nat.add_sub_of_le (hrow i)
49  let P (v : {v : Fin D→ℕ // Antitone v}) : Prop :=
50    ∀ (L : ℕ) (hL : (∑i,v.val i)=L) (hsize : (∑i,mu i)≤L)
51      (Ψ : TensorRegister L (Fin D)) (hΨ : ‖Ψ‖=1)
52      (htΨ : collectiveGenerator L ⟨0,hD⟩ ⟨0,hD⟩ Ψ=(L:ℂ) • Ψ)
53      (F : cyclicSector (partitionHighestTensor v.val v.property) →ₗᵢ[ℂ] TensorRegister L (Fin D))
54      (hF : ∀w,F ⟨loweringWord _ w,loweringWord_mem_cyclicSector _ w⟩=loweringWord Ψ w),
55      conjugationLinearMap F.toContinuousLinearMap
56        ((partitionTransitionChannel mu v.val hm v.property).toLinearMap
57          (vectorProjector ⟨partitionHighestTensor mu hm,highest_mem_cyclicSector _⟩))=
58        pureWernerOutput (s:=D-1) (by simp; omega : Fintype.card (Fin D)=(D-1)+1)
59          (registerBasis (Fin D) ⟨0,hD⟩) ((registerBasis _).orthonormal.norm_eq_one _)
60          (inputSlots (∑i,mu i) L hsize)
61  have hbase : P ⟨fun i=>mu i+tau i,sumPartition_antitone mu tau hm hata⟩ := by
62    intro L hL hsize Ψ hΨ htΨ F hF
63    dsimp only at hL
64    rw [Finset.sum_add_distrib] at hL
65    subst L
66    rw [partitionTransitionChannel_add]
67    exact cartan_singleRow_highest_werner_of_wordmap D n (m-n) hD mu tau hm hata
68      hmu htau Ψ hΨ htΨ F hF
69  have hab : (⟨fun i=>mu i+tau i,sumPartition_antitone mu tau hm hata⟩ :
70      {v : Fin D→ℕ // Antitone v})=⟨nu,hn⟩ := Subtype.ext he
71  exact (Eq.mp (congrArg P hab) hbase) L hL hsize Ψ hΨ htΨ F hF
72 
73theorem canonicalEmbedding_loweringWord {N D : ℕ} (H : PhysicalHighestTensor N D)
74    (w : List (PositiveRoot D)) :
75    H.canonicalEmbedding ⟨loweringWord _ w,loweringWord_mem_cyclicSector _ w⟩=
76      loweringWord H.vector w := by
77  change (H.canonicalIsometry ⟨loweringWord _ w,loweringWord_mem_cyclicSector _ w⟩ :
78    TensorRegister N (Fin D))=loweringWord H.vector w
79  exact highestCyclicIsometry_loweringWord
80    (partitionHighestTensor H.weight H.weight_antitone) H.vector (fun i=>(H.weight i:ℂ))
81    (partitionHighestTensor_cartan H.weight H.weight_antitone) H.cartan
82    (partitionHighestTensor_raising_zero H.weight H.weight_antitone) H.raising
83    (partitionHighestTensor_norm H.weight H.weight_antitone) H.norm_one w
84 
85theorem physical_singleRow_transition_highest_werner {n m D : ℕ}
86    (hD : 0<D) (H : PhysicalHighestTensor n D) (K : PhysicalHighestTensor m D)
87    (hH : ∀i,H.weight i=if i.val=0 then n else 0)
88    (hK : ∀i,K.weight i=if i.val=0 then m else 0) (hnm : n≤m) :
89    conjugationLinearMap K.canonicalEmbedding.toContinuousLinearMap
90      ((partitionTransitionChannel H.weight K.weight H.weight_antitone K.weight_antitone).toLinearMap
91        (vectorProjector (⟨partitionHighestTensor H.weight H.weight_antitone,
92          highest_mem_cyclicSector _⟩ : H.CanonicalSector)))=
93      pureWernerOutput (s:=D-1) (by simp; omega : Fintype.card (Fin D)=(D-1)+1)
94        (registerBasis (Fin D) ⟨0,hD⟩) ((registerBasis _).orthonormal.norm_eq_one _)
95        (inputSlots n m hnm) := by
96  have htop : collectiveGenerator m ⟨0,hD⟩ ⟨0,hD⟩ K.vector=(m:ℂ) • K.vector := by
97    simpa only [hK,ite_true] using K.cartan ⟨0,hD⟩
98  have hh := partitionTransition_singleRow_highest_werner D n m m hD H.weight K.weight
99    H.weight_antitone K.weight_antitone hH hK hnm K.weight_sum
100    (by simpa only [H.weight_sum] using hnm) K.vector K.norm_one htop K.canonicalEmbedding
101    (canonicalEmbedding_loweringWord K)
102  simpa only [H.weight_sum] using hh
103 
104theorem copyTransition_oneRow_highest_werner {n m k : ℕ}
105    (i : SchurCopy n (1+k)) (j : SchurCopy m (1+k)) (hnm : n≤m)
106    (hi : ((recursivePhysicalDecomposition n (1+k)).get i).weight=
107      padPartition (fun _ : Fin 1=>n) k)
108    (hj : ((recursivePhysicalDecomposition m (1+k)).get j).weight=
109      padPartition (fun _ : Fin 1=>m) k) :
110    (copyTransition n m (1+k) i j).toLinearMap
111      (vectorProjector (⟨partitionHighestTensor
112        ((recursivePhysicalDecomposition n (1+k)).get i).weight
113        ((recursivePhysicalDecomposition n (1+k)).get i).weight_antitone,
114        highest_mem_cyclicSector _⟩ : ((recursivePhysicalDecomposition n (1+k)).get i).CanonicalSector))=
115      pureWernerOutput (s:=k) (by simp; omega : Fintype.card (Fin (1+k))=k+1)
116        (registerBasis (Fin (1+k)) 0) ((registerBasis _).orthonormal.norm_eq_one _)
117        (inputSlots n m hnm) := by
118  have hrow (N : ℕ) (a : Fin (1+k)) : padPartition (fun _ : Fin 1=>N) k a=
119      if a.val=0 then N else 0 := by
120    induction a using Fin.addCases with
121    | left a =>
122      rw [padPartition_left]
123      have ha : a.val=0 := by omega
124      simp only [Fin.val_castAdd,ha,ite_true]
125    | right a =>
126      rw [padPartition_right]
127      simp only [Fin.val_natAdd]
128      rw [if_neg (by omega)]
129  simpa only [copyTransition,QuantumChannel.comp,QuantumChannel.ofIsometry,
130    PositiveTracePreservingMap.comp,LinearMap.comp_apply,Nat.add_sub_cancel_left] using
131    physical_singleRow_transition_highest_werner (n:=n) (m:=m) (D:=1+k) (by omega)
132    ((recursivePhysicalDecomposition n (1+k)).get i)
133    ((recursivePhysicalDecomposition m (1+k)).get j)
134    (fun a=>by rw [hi,hrow]) (fun a=>by rw [hj,hrow]) hnm
135 
136end Cloning.TensorLie