Offline · exact source
Exact Lean source

PhysicalFlatConverseReduction

formalization/Cloning/PhysicalFlatConverseReduction.lean

Source hash: bca45225c36db32c7041c1ebcbafd5bf974abc6bc9fc0172ace4d773088e037f

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.PhysicalFlatPinchingOrbit
2import Cloning.InfiniteFidelityHilbertSum
3import Cloning.InfiniteFidelityTransition
4 
5/-! Every actual physical cloning channel is reduced to its positive Schur
6output blocks after the proved invariant input majorization. No covariance
7of the competing channel is assumed. -/
8noncomputable section
9open scoped BigOperators InnerProductSpace Classical ComplexOrder
10namespace Cloning.PhysicalFlatConverse
11open Cloning.PCT Cloning.TensorLie Cloning.TensorLAN Cloning.InfiniteTraceClass Cloning.Hybrid
12open Cloning.InfiniteFiniteCorner Cloning.InfiniteFidelityHilbertSum Cloning.PCTPhysicalState
13set_option backward.isDefEq.respectTransparency false
14set_option maxHeartbeats 1200000
15local instance (n d : ℕ) : FiniteDimensional ℂ (TensorRegister n (Fin d)) :=
16  (registerBasis (Fin n → Fin d)).toOrthonormalBasis.toBasis.finiteDimensional_of_finite
17 
18def schurCopyBlock (n d : ℕ) (A : TraceClass (TensorRegister n (Fin d))) (i : SchurCopy n d) :
19    TraceClass ((recursivePhysicalDecomposition n d).get i).CanonicalSector :=
20  conjugationLinearMap ((recursivePhysicalDecomposition n d).get i).canonicalEmbedding.toContinuousLinearMap.adjoint A
21 
22def schurCopyPositive (n d : ℕ) (A : PositiveTraceClass (TensorRegister n (Fin d))) (i : SchurCopy n d) :
23    PositiveTraceClass ((recursivePhysicalDecomposition n d).get i).CanonicalSector :=
24  ⟨schurCopyBlock n d A.1 i, conjugationLinearMap_nonneg _ _ A.2⟩
25 
26def schurCopyMatrix (n d : ℕ) (A : TraceClass (TensorRegister n (Fin d))) (i : SchurCopy n d) :=
27  matrixOf (partitionBasis ((recursivePhysicalDecomposition n d).get i).weight
28    ((recursivePhysicalDecomposition n d).get i).weight_antitone) (schurCopyBlock n d A i).1
29 
30theorem schurCopyMatrix_posSemidef (n d : ℕ) (A : PositiveTraceClass (TensorRegister n (Fin d)))
31    (i : SchurCopy n d) : (schurCopyMatrix n d A.1 i).PosSemidef :=
32  matrixOf_posSemidef _ (schurCopyPositive n d A i).2
33 
34theorem schurPinching_eq_orthogonalSum (n d : ℕ) (A : PositiveTraceClass (TensorRegister n (Fin d))) :
35    A.map (schurPinching n d).toPositiveTracePreservingMap =
36      orthogonalSum (fun i : SchurCopy n d => ((recursivePhysicalDecomposition n d).get i).canonicalEmbedding)
37        (schurCopyPositive n d A) := by
38  apply Subtype.ext
39  exact schurPinching_apply n d A.1
40 
41theorem rootFidelity_le_schurCopyMatrices (n d : ℕ)
42    (A B : PositiveTraceClass (TensorRegister n (Fin d))) :
43    A.rootFidelity B ≤ ∑ i : SchurCopy n d,
44      Cloning.MatrixFidelity.fidelity (schurCopyMatrix n d A.1 i) (schurCopyMatrix n d B.1 i) := by
45  have hh := schurPinching_rootFidelity n d A B
46  rw [schurPinching_eq_orthogonalSum,schurPinching_eq_orthogonalSum,
47    rootFidelity_orthogonalSum _
48      (canonicalSectorFamily_orthogonal (recursivePhysicalDecomposition n d)
49        (recursivePhysicalDecomposition_is_decomposition n d).1)
50      (fun i => partitionBasis ((recursivePhysicalDecomposition n d).get i).weight
51        ((recursivePhysicalDecomposition n d).get i).weight_antitone)] at hh
52  apply hh.trans_eq
53  apply Finset.sum_congr rfl
54  intro i _
55  exact (rootFidelity_matrixOf_basis _ (schurCopyPositive n d A i) (schurCopyPositive n d B i)).symm
56 
57theorem trace_schurCopyMatrix (n d : ℕ) (A : TraceClass (TensorRegister n (Fin d))) (i : SchurCopy n d) :
58    (schurCopyMatrix n d A i).trace = traceCLM (schurCopyBlock n d A i) := by
59  let b := partitionBasis ((recursivePhysicalDecomposition n d).get i).weight
60    ((recursivePhysicalDecomposition n d).get i).weight_antitone
61  have hh := congrArg traceCLM (matrixLift_basis_matrixOf b (schurCopyBlock n d A i))
62  change traceCLM (matrixLift b (schurCopyMatrix n d A i)) = _ at hh
63  rw [show traceCLM (matrixLift b (schurCopyMatrix n d A i)) =
64      (schurCopyMatrix n d A i).trace from trace_ofMatrix b.orthonormal _] at hh
65  exact hh
66 
67theorem sum_trace_schurCopyMatrix (n d : ℕ) (A : TraceClass (TensorRegister n (Fin d))) :
68    (∑ i : SchurCopy n d, (schurCopyMatrix n d A i).trace.re) = (traceCLM A).re := by
69  have hh := congrArg Complex.re (schurPinching_trace n d A)
70  rw [schurPinching_apply,map_sum] at hh
71  simp only [Complex.re_sum,conjugationLinearMap_isometry_trace] at hh
72  simpa only [trace_schurCopyMatrix,schurCopyBlock] using hh
73 
74/-- Actual channel images preserve Loewner domination. -/
75theorem channel_map_le {H K : Type*} [NormedAddCommGroup H] [InnerProductSpace ℂ H] [CompleteSpace H]
76    [NormedAddCommGroup K] [InnerProductSpace ℂ K] [CompleteSpace K]
77    (Φ : QuantumChannel H K) (A B : TraceClass H) (hAB : A.1 ≤ B.1) :
78    (Φ.toLinearMap A).1 ≤ (Φ.toLinearMap B).1 := by
79  have hh := Φ.toPositiveTracePreservingMap.map_nonneg (B-A) (sub_nonneg.mpr hAB)
80  rw [map_sub] at hh
81  exact sub_nonneg.mp hh
82 
83/-- Universal physical upper reduction: the same inflated input dominates
84all orbit points before applying any competing quantum channel. -/
85theorem payoff_le_schurCopyMatrices (r k : ℕ) (hr : 0 < r) (n m : ℕ)
86    (Φ : QuantumChannel (TensorRegister n (Fin (r+k))) (TensorRegister m (Fin (r+k))))
87    (U : unitary (Matrix (Fin (r+k)) (Fin (r+k)) ℂ)) :
88    letI : Nonempty (Fin (r+k)) := ⟨⟨0,Nat.lt_of_lt_of_le hr (Nat.le_add_right r k)⟩⟩
89    payoff r k hr n m Φ U ≤ ∑ i : SchurCopy m (r+k),
90      Cloning.MatrixFidelity.fidelity
91        (schurCopyMatrix m (r+k) (Φ.toLinearMap (flatInflatedInput n r k)) i)
92        (schurCopyMatrix m (r+k) (tensorState (orbitState r k hr U) m).1 i) := by
93  letI : Nonempty (Fin (r+k)) := ⟨⟨0,Nat.lt_of_lt_of_le hr (Nat.le_add_right r k)⟩⟩
94  let B : PositiveTraceClass (TensorRegister m (Fin (r+k))) :=
95    ⟨Φ.toLinearMap (flatInflatedInput n r k),
96      Φ.toPositiveTracePreservingMap.map_nonneg _ (flatInflatedInput_nonneg n r k)⟩
97  have hh := PositiveTraceClass.rootFidelity_mono_left
98    ((tensorState (orbitState r k hr U) n).map Φ.toPositiveTracePreservingMap) B
99    (tensorState (orbitState r k hr U) m)
100    (channel_map_le Φ _ _ (orbit_tensorState_le_flatInflatedInput n r k hr U))
101  exact hh.trans (rootFidelity_le_schurCopyMatrices m (r+k) B (tensorState (orbitState r k hr U) m))
102 
103end Cloning.PhysicalFlatConverse