Exact Lean source
TensorCloningAchievabilityProbability
formalization/Cloning/TensorCloningAchievabilityProbability.lean
Source hash: c3ee2853e51890a3b42733ccce08a26a2ca6e44fc0801280a5d57a0efe9bf359
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
theorem
Cloning.TensorCloning.tensorYoungPMF_sum_eq_copiesdefinition Cloning.TensorCloning.copyTypicaldefinition Cloning.TensorCloning.copyBadMasstheorem Cloning.TensorCloning.copyBadMass_nonnegtheorem Cloning.TensorCloning.copyBadMass_eq_tailtheorem Cloning.TensorCloning.copyBadMass_tendsto_zerotheorem Cloning.TensorCloning.copyBadMass_fixed_tendsto_zero1import Cloning.TensorCloningChannel
2import Cloning.TensorLANEmbeddingSchurWeights
3import Cloning.TensorLANEmbeddingTypical
4
5/-! The exact actual-copy law inherits the proved physical Young concentration.
6These are genuine Schur-copy probabilities, without a character-law premise. -/
7noncomputable section
8open scoped BigOperators Classical Topology ENNReal
9open Filter
10namespace Cloning.TensorCloning
11open Cloning.TensorLie Cloning.TensorLAN Cloning.YoungGeneral
12set_option backward.isDefEq.respectTransparency false
13set_option maxHeartbeats 1200000
14
15theorem tensorYoungPMF_sum_eq_copies (n d : ℕ) (p : Fin d → ℝ)
16 (hp : ∀ a, 0 ≤ p a) (hs : ∑ a, p a = 1) (f : Shape d n → ℝ) :
17 (∑ μ : Shape d n, (tensorYoungPMF n d p hp hs μ).toReal * f μ) =
18 ∑ i : SchurCopy n d, knownCopyWeight n d p i * f ((recursivePhysicalDecomposition n d).get i).shape := by
19 have he (μ : Shape d n) : (tensorYoungPMF n d p hp hs μ).toReal =
20 ∑ i : SchurCopy n d, if ((recursivePhysicalDecomposition n d).get i).shape = μ then
21 knownCopyWeight n d p i else 0 := by
22 rw [tensorYoungPMF_eq_map_copies, PMF.map_apply, tsum_fintype,
23 ENNReal.toReal_sum (by
24 intro i _
25 split_ifs
26 · exact (physicalCopyPMF n d p hp hs).apply_ne_top i
27 · exact ENNReal.zero_ne_top)]
28 apply Finset.sum_congr rfl
29 intro i _
30 simp only [eq_comm (a := μ)]
31 split_ifs <;> simp [knownCopyWeight]
32 simp_rw [he, Finset.sum_mul]
33 rw [Finset.sum_comm]
34 apply Finset.sum_congr rfl
35 intro i _
36 simp only [ite_mul, zero_mul]
37 simp
38
39def copyTypical (n d : ℕ) (p : Fin d → ℝ) (i : SchurCopy n d) : Prop :=
40 TypicalLabel n p ((recursivePhysicalDecomposition n d).get i).weight
41
42def copyBadMass (n d : ℕ) (p : Fin d → ℝ) : ℝ :=
43 ∑ i : SchurCopy n d, if copyTypical n d p i then 0 else knownCopyWeight n d p i
44
45theorem copyBadMass_nonneg (n d : ℕ) (p : Fin d → ℝ) : 0 ≤ copyBadMass n d p := by
46 apply Finset.sum_nonneg
47 intro i _
48 split_ifs
49 · exact le_rfl
50 · exact knownCopyWeight_nonneg n d p i
51
52theorem copyBadMass_eq_tail (n d : ℕ) (p : Fin d → ℝ)
53 (hp : ∀ a, 0 ≤ p a) (hs : ∑ a, p a = 1) :
54 copyBadMass n d p = tailProbability (tensorYoungPMF n d p hp hs) p (shrinkingRadius n) := by
55 have he := tensorYoungPMF_sum_eq_copies n d p hp hs (fun μ =>
56 if ∃ a, (n : ℝ)*shrinkingRadius n ≤ |((μ a).val : ℝ)-n*p a| then 1 else 0)
57 simp only [mul_ite, mul_one, mul_zero] at he
58 rw [tailProbability, he]
59 apply Finset.sum_congr rfl
60 intro i _
61 have hh : copyTypical n d p i ↔
62 ¬ ∃ a, (n : ℝ)*shrinkingRadius n ≤
63 |((((recursivePhysicalDecomposition n d).get i).shape a).val : ℝ)-n*p a| := by
64 simp only [copyTypical, TypicalLabel, not_exists, not_le, PhysicalHighestTensor.shape]
65 rw [hh]
66 split_ifs <;> simp_all
67
68/-- Copy probabilities concentrate for every moving ordered spectrum. -/
69theorem copyBadMass_tendsto_zero {d : ℕ} (p : ℕ → Fin d → ℝ)
70 (hp : ∀ n a, 0 ≤ p n a) (hs : ∀ n, ∑ a, p n a = 1)
71 (horder : ∀ n, Antitone (p n)) :
72 Tendsto (fun n => copyBadMass n d (p n)) atTop (𝓝 0) := by
73 simp_rw [copyBadMass_eq_tail _ _ _ (hp _) (hs _)]
74 exact tensorYoungPMF_tail_tendsto_zero p hp hs horder
75
76/-- Arbitrary divergent sample subsequences retain the actual physical tail
77estimate, with no restriction on the growth rate. -/
78theorem copyBadMass_fixed_tendsto_zero {d : ℕ} (p : Fin d → ℝ)
79 (hp : ∀ a, 0 ≤ p a) (hs : ∑ a, p a = 1) (horder : Antitone p)
80 (n : ℕ → ℕ) (hn : Tendsto n atTop atTop) :
81 Tendsto (fun k => copyBadMass (n k) d p) atTop (𝓝 0) :=
82 (copyBadMass_tendsto_zero (fun _ => p) (fun _ => hp) (fun _ => hs) (fun _ => horder)).comp hn
83
84end Cloning.TensorCloning