Exact Lean source
TensorFlatProjectorCouplingPadding
formalization/Cloning/TensorFlatProjectorCouplingPadding.lean
Source hash: 83c500ff892ac4453d30150760179deccae52b2565d7f57a81b3288417cc6b88
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
definition
Cloning.TensorLie.paddedFlatCouplingtheorem Cloning.TensorLie.paddedFlatCoupling_map_fsttheorem Cloning.TensorLie.paddedFlatCoupling_map_sndtheorem Cloning.TensorLie.pmf_pair_sum_rowtheorem Cloning.TensorLie.pmf_pair_sum_coltheorem Cloning.TensorLie.paddedFlatCoupling_rowtheorem Cloning.TensorLie.paddedFlatCoupling_coltheorem Cloning.TensorLie.paddedFlatCoupling_support1import Cloning.TensorFlatProjectorRankLaw
2import Cloning.YoungFlatFidelityBounds
3
4/-! Exact lifting of flat Young couplings into arbitrary ambient rank. -/
5noncomputable section
6open scoped BigOperators Classical
7namespace Cloning.TensorLie
8open Cloning.YoungGeneral Cloning.YoungFlat
9set_option backward.isDefEq.respectTransparency false
10set_option maxHeartbeats 1000000
11
12def paddedFlatCoupling {r n m : ℕ} (J : PMF (Shape r n × Shape r m)) (k : ℕ) :
13 PMF (Shape (r+k) n × Shape (r+k) m) :=
14 J.map (fun z ↦ (padShape z.1 k, padShape z.2 k))
15
16theorem paddedFlatCoupling_map_fst {r n m : ℕ} (J : PMF (Shape r n × Shape r m)) (k : ℕ)
17 (hr : 0<r) (hfst : J.map Prod.fst=tensorFlatYoungPMF n r hr) :
18 (paddedFlatCoupling J k).map Prod.fst=tensorRankFlatYoungPMF n r k hr := by
19 rw [tensorRankFlatYoungPMF_eq_map hr, ← hfst]
20 simp only [paddedFlatCoupling, PMF.map_comp, Function.comp_def]
21
22theorem paddedFlatCoupling_map_snd {r n m : ℕ} (J : PMF (Shape r n × Shape r m)) (k : ℕ)
23 (hr : 0<r) (hsnd : J.map Prod.snd=tensorFlatYoungPMF m r hr) :
24 (paddedFlatCoupling J k).map Prod.snd=tensorRankFlatYoungPMF m r k hr := by
25 rw [tensorRankFlatYoungPMF_eq_map hr, ← hsnd]
26 simp only [paddedFlatCoupling, PMF.map_comp, Function.comp_def]
27
28theorem pmf_pair_sum_row {α β : Type*} [Fintype α] [Fintype β] (J : PMF (α×β)) (a : α) :
29 (∑ b, (J (a,b)).toReal)=(J.map Prod.fst a).toReal := by
30 rw [PMF.map_apply, tsum_fintype, Fintype.sum_prod_type, Finset.sum_comm]
31 simp only [Finset.sum_ite_eq, Finset.mem_univ, if_true]
32 exact (ENNReal.toReal_sum (fun b _ ↦ PMF.apply_ne_top J (a,b))).symm
33
34theorem pmf_pair_sum_col {α β : Type*} [Fintype α] [Fintype β] (J : PMF (α×β)) (b : β) :
35 (∑ a, (J (a,b)).toReal)=(J.map Prod.snd b).toReal := by
36 rw [PMF.map_apply, tsum_fintype, Fintype.sum_prod_type]
37 simp only [Finset.sum_ite_eq, Finset.mem_univ, if_true]
38 exact (ENNReal.toReal_sum (fun a _ ↦ PMF.apply_ne_top J (a,b))).symm
39
40theorem paddedFlatCoupling_row {r n m : ℕ} (J : PMF (Shape r n × Shape r m)) (k : ℕ)
41 (hr : 0<r) (hfst : J.map Prod.fst=tensorFlatYoungPMF n r hr) (μ : Shape (r+k) n) :
42 (∑ ν, (paddedFlatCoupling J k (μ,ν)).toReal)=(tensorRankFlatYoungPMF n r k hr μ).toReal := by
43 rw [pmf_pair_sum_row, paddedFlatCoupling_map_fst J k hr hfst]
44
45theorem paddedFlatCoupling_col {r n m : ℕ} (J : PMF (Shape r n × Shape r m)) (k : ℕ)
46 (hr : 0<r) (hsnd : J.map Prod.snd=tensorFlatYoungPMF m r hr) (ν : Shape (r+k) m) :
47 (∑ μ, (paddedFlatCoupling J k (μ,ν)).toReal)=(tensorRankFlatYoungPMF m r k hr ν).toReal := by
48 rw [pmf_pair_sum_col, paddedFlatCoupling_map_snd J k hr hsnd]
49
50theorem paddedFlatCoupling_support {r n m : ℕ} (J : PMF (Shape r n × Shape r m)) (k : ℕ)
51 (μ : Shape (r+k) n) (ν : Shape (r+k) m) (h : paddedFlatCoupling J k (μ,ν)≠0) :
52 ∃ a : Shape r n, ∃ b : Shape r m, padShape a k=μ ∧ padShape b k=ν := by
53 by_contra hh
54 apply h
55 rw [paddedFlatCoupling, PMF.map_apply, tsum_fintype]
56 apply Finset.sum_eq_zero
57 intro z _
58 apply if_neg
59 intro he
60 exact hh ⟨z.1,z.2,(congrArg Prod.fst he).symm,(congrArg Prod.snd he).symm⟩
61
62end Cloning.TensorLie