Offline · exact source
Exact Lean source

MatrixFidelityJointConcavity

formalization/Cloning/MatrixFidelityJointConcavity.lean

Source hash: 2995c35e63465bd825c8e1a86a614d1daf117700692ae5ead1efff0e415724e3

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.MatrixDiscardLabel
2import Cloning.MatrixChannelFidelity
3import Cloning.MatrixFidelityScaling
4 
5/-!
6# Joint concavity from a concrete label-discarding channel
7 
8Data processing and the proved direct-sum identity imply superadditivity on
9pairs of positive matrices. Independently weighted mixtures give the usual
10strong concavity bound; equal weights give joint concavity.
11-/
12 
13noncomputable section
14open scoped BigOperators Matrix MatrixOrder ComplexOrder
15open Matrix
16namespace Cloning.MatrixFidelity
17 
18set_option backward.isDefEq.respectTransparency false
19 
20variable {ι n : Type*} [Fintype ι] [DecidableEq ι] [Fintype n] [DecidableEq n]
21 
22/-- Summing matching positive blocks can only increase their total fidelity. -/
23theorem fidelity_sum_le (A B : ι → Matrix n n ℂ)
24    (hA : ∀ i, (A i).PosSemidef) (hB : ∀ i, (B i).PosSemidef) :
25    ∑ i, fidelity (A i) (B i) ≤ fidelity (∑ i, A i) (∑ i, B i) := by
26  have h := fidelity_data_processing Cloning.Channels.discardLabelChannel
27    (blockDiagonal'_posSemidef A hA) (blockDiagonal'_posSemidef B hB)
28  change fidelity (blockDiagonal' A) (blockDiagonal' B) ≤
29    fidelity (Cloning.Channels.discardLabelMap (blockDiagonal' A))
30      (Cloning.Channels.discardLabelMap (blockDiagonal' B)) at h
31  simpa only [fidelity_blockDiagonal' A B hA hB,
32    Cloning.Channels.discardLabelMap_blockDiagonal'] using h
33 
34/-- Strong concavity with two independent nonnegative families of weights;
35normalization of the weights is not required. -/
36theorem fidelity_strong_concavity (A B : ι → Matrix n n ℂ) (p q : ι → ℝ)
37    (hA : ∀ i, (A i).PosSemidef) (hB : ∀ i, (B i).PosSemidef)
38    (hp : ∀ i, 0 ≤ p i) (hq : ∀ i, 0 ≤ q i) :
39    ∑ i, Real.sqrt (p i) * Real.sqrt (q i) * fidelity (A i) (B i) ≤
40      fidelity (∑ i, p i • A i) (∑ i, q i • B i) := by
41  have h := fidelity_sum_le (fun i => p i • A i) (fun i => q i • B i)
42    (fun i => (hA i).smul (hp i)) (fun i => (hB i).smul (hq i))
43  simpa only [fidelity_smul _ _ _ _ (hp _) (hq _) (hA _) (hB _)] using h
44 
45/-- Joint concavity for finite mixtures, including weights of arbitrary mass. -/
46theorem fidelity_joint_concavity (A B : ι → Matrix n n ℂ) (w : ι → ℝ)
47    (hA : ∀ i, (A i).PosSemidef) (hB : ∀ i, (B i).PosSemidef)
48    (hw : ∀ i, 0 ≤ w i) :
49    ∑ i, w i * fidelity (A i) (B i) ≤
50      fidelity (∑ i, w i • A i) (∑ i, w i • B i) := by
51  simpa only [Real.mul_self_sqrt (hw _)] using
52    fidelity_strong_concavity A B w w hA hB hw hw
53 
54end Cloning.MatrixFidelity