Exact Lean source
TensorRankOneCoupling
formalization/Cloning/TensorRankOneCoupling.lean
Source hash: dd5eb8c3833ba0b53c14ec02d19137c0b0d2dba53e49b931f9e68985def812ff
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.TensorFlatProjectorAchievability
2
3/-! The actual rank-one coupling only visits the one-row physical sectors. -/
4noncomputable section
5open scoped BigOperators Classical
6namespace Cloning.TensorCloning
7open Cloning.TensorLie Cloning.TensorLAN Cloning.YoungGeneral
8set_option maxHeartbeats 1200000
9set_option backward.isDefEq.respectTransparency false
10
11/-- Padding a one-dimensional label in a genuine physical copy determines
12its sole row from the tensor length. -/
13theorem physical_weight_eq_oneRow_of_pad_shape {n k : ℕ}
14 (H : PhysicalHighestTensor n (1+k)) (a : Shape 1 n)
15 (ha : padShape a k=H.shape) :
16 H.weight=padPartition (fun _ : Fin 1 => n) k := by
17 have he : H.weight=padPartition (fun i => (a i).val) k := by
18 exact (PhysicalHighestTensor.shape_eq_iff H (padShape a k)).mp ha.symm |>.trans
19 (padShape_val a k)
20 have hs := H.weight_sum
21 rw [he,sum_padPartition] at hs
22 have ha0 : (a 0).val=n := by simpa only [Fintype.sum_unique] using hs
23 rw [he]
24 congr 1
25 funext i
26 simpa only [Subsingleton.elim i 0] using ha0
27
28/-- No multiplicity or selected-copy premise is needed: nonzero mass in the
29literal lifted coupling forces both physical copy labels to be one-row. -/
30theorem rankOne_copyCoupling_support {n m k : ℕ}
31 (J : PMF (Shape 1 n × Shape 1 m))
32 (i : SchurCopy n (1+k)) (j : SchurCopy m (1+k))
33 (h : labelCouplingCopies (flatLabelCoupling J k) i j≠0) :
34 ((recursivePhysicalDecomposition n (1+k)).get i).weight=
35 padPartition (fun _ : Fin 1 => n) k ∧
36 ((recursivePhysicalDecomposition m (1+k)).get j).weight=
37 padPartition (fun _ : Fin 1 => m) k := by
38 have hc : paddedFlatCoupling J k (physicalCopyShape n (1+k) i,
39 physicalCopyShape m (1+k) j)≠0 := by
40 intro hz
41 apply h
42 simp only [labelCouplingCopies,uniformCopyCoupling,flatLabelCoupling,hz,
43 ENNReal.toReal_zero,zero_div]
44 obtain ⟨a,b,ha,hb⟩ := paddedFlatCoupling_support J k _ _ hc
45 exact ⟨physical_weight_eq_oneRow_of_pad_shape _ a ha,
46 physical_weight_eq_oneRow_of_pad_shape _ b hb⟩
47
48/-- The weights in the physical copy mixture sum to one. -/
49theorem flat_copyCoupling_sum {r n m : ℕ} (k : ℕ) (hr : 0<r)
50 (J : PMF (Shape r n × Shape r m))
51 (hfst : J.map Prod.fst=tensorFlatYoungPMF n r hr)
52 (hsnd : J.map Prod.snd=tensorFlatYoungPMF m r hr) :
53 (∑ z : SchurCopy n (r+k) × SchurCopy m (r+k),
54 labelCouplingCopies (flatLabelCoupling J k) z.1 z.2)=1 := by
55 rw [Fintype.sum_prod_type]
56 calc
57 _ = ∑ i, knownCopyWeight n (r+k) (rankFlatSpectrum r k) i := by
58 apply Finset.sum_congr rfl
59 intro i _
60 exact labelCouplingCopies_row (rankFlatSpectrum r k) (rankFlatSpectrum_nonneg r k)
61 (rankFlatSpectrum_sum hr) _ (fun _ _ => ENNReal.toReal_nonneg)
62 (paddedFlatCoupling_row J k hr hfst) (paddedFlatCoupling_col J k hr hsnd) i
63 _ = 1 := knownCopyWeight_sum n (r+k) (rankFlatSpectrum r k)
64 (rankFlatSpectrum_nonneg r k) (rankFlatSpectrum_sum hr)
65
66end Cloning.TensorCloning