Exact Lean source
TensorCloningKernelLabels
formalization/Cloning/TensorCloningKernelLabels.lean
Source hash: d9c733bc1bdd8d0b1a50413bdfbd212702c8033e1b97a289f5076b80d9ebfb9a
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.TensorCloningKernel
2
3/-! Exact recovery of the randomized physical Young-label kernel from the
4copy-level global cloning channel. -/
5noncomputable section
6open scoped BigOperators Classical ENNReal
7namespace Cloning.TensorCloning
8open Cloning.TensorLie Cloning.TensorLAN Cloning.YoungGeneral Cloning.YoungCompatibility
9set_option backward.isDefEq.respectTransparency false
10set_option maxHeartbeats 800000
11
12theorem integerCopyLabel_isYoung (n d : ℕ) (i : SchurCopy n (d+1)) :
13 IsYoung (n : ℤ) (integerCopyLabel n d i) := by
14 let H := (recursivePhysicalDecomposition n (d+1)).get i
15 refine ⟨fun a ↦ Int.natCast_nonneg _, ?_, ?_⟩
16 · intro a b hab
17 change (H.weight b : ℤ) ≤ (H.weight a : ℤ)
18 exact_mod_cast H.weight_antitone hab
19 · change (∑ a, (H.weight a : ℤ)) = (n : ℤ)
20 exact_mod_cast H.weight_sum
21
22/-- No valid output partition triggers the extra copy-selection fallback. -/
23theorem exists_copy_integer_label (n d : ℕ) (ν : Fin (d+1) → ℤ)
24 (hν : IsYoung (n : ℤ) ν) : ∃ j : SchurCopy n (d+1), integerCopyLabel n d j = ν := by
25 let μ : Fin (d+1) → ℕ := fun i ↦ (ν i).toNat
26 have hm : Antitone μ := fun i j hij ↦ Int.toNat_le_toNat (hν.2.1 hij)
27 have hs : ∑ i, μ i = n := by
28 apply Int.ofNat_inj.mp
29 push_cast
30 simpa only [μ, Int.toNat_of_nonneg (hν.1 _)] using hν.2.2
31 obtain ⟨j, hj⟩ := exists_copy_weight μ hm hs
32 refine ⟨j, ?_⟩
33 funext i
34 simp only [integerCopyLabel, hj, μ, Int.toNat_of_nonneg (hν.1 i)]
35
36theorem universalCopyPMF_label (n m d : ℕ) (i : SchurCopy n (d+1)) :
37 (universalCopyPMF n m d i).map (integerCopyLabel m d) =
38 fallbackKernel ((m : ℝ)/(n : ℝ)) (n : ℤ) (m : ℤ) (integerCopyLabel n d i) := by
39 let P := fallbackKernel ((m : ℝ)/(n : ℝ)) (n : ℤ) (m : ℤ) (integerCopyLabel n d i)
40 change (P.bind (uniformFiberPMF (integerCopyLabel m d) (fallbackCopy m d))).map
41 (integerCopyLabel m d) = P
42 rw [PMF.map_bind]
43 have he : P.bind (fun a ↦ (uniformFiberPMF (integerCopyLabel m d) (fallbackCopy m d) a).map
44 (integerCopyLabel m d)) = P.bind PMF.pure := by
45 apply PMF.ext
46 intro a
47 rw [PMF.bind_apply, PMF.bind_apply]
48 apply tsum_congr
49 intro ν
50 by_cases hν : P ν = 0
51 · simp [hν]
52 · have hv := fallbackKernel_support_isYoung ((m : ℝ)/(n : ℝ)) n m
53 (by omega) (integerCopyLabel n d i) (integerCopyLabel_isYoung n d i) ν hν
54 rw [uniformFiberPMF_label _ _ ν (exists_copy_integer_label m d ν hv)]
55 rw [he, PMF.bind_pure]
56
57end Cloning.TensorCloning