Offline · exact source
Exact Lean source

TensorCloningUniformBlocks

formalization/Cloning/TensorCloningUniformBlocks.lean

Source hash: 8fde1a47edeeeb48ad39736a6f8183b587ab3e5bf2e75d77022b0280dbb32d63

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.TensorCloningBlockTrimming
2import Cloning.TensorCloningRetainedUniversal
3 
4/-! The normalized actual physical output blocks are exactly the retained
5conditional mixtures used in the proved compact-uniform limit. -/
6noncomputable section
7open scoped BigOperators InnerProductSpace ComplexOrder Classical Matrix
8namespace Cloning.TensorCloning
9open Cloning.PCT Cloning.TensorLie Cloning.TensorLAN Cloning.InfiniteTraceClass Cloning.Hybrid
10set_option backward.isDefEq.respectTransparency false
11set_option maxHeartbeats 1800000
12set_option synthInstance.maxHeartbeats 200000
13local instance (n d : ℕ) : FiniteDimensional ℂ (TensorRegister n (Fin d)) :=
14  (registerBasis (Fin n → Fin d)).toOrthonormalBasis.toBasis.finiteDimensional_of_finite
15 
16theorem retainedCopyWeight_sum (n m d : ℕ) (w : SchurCopy n d → SchurCopy m d → ℝ)
17    (keep : SchurCopy n d → SchurCopy m d → Prop) (j : SchurCopy m d) :
18    (∑ i,retainedCopyWeight n m d w keep i j) = ∑ i : {i // keep i j},w i.val j :=
19  PositiveTraceClass.maskedWeight_sum (fun i => w i j) (fun i => keep i j)
20 
21theorem retainedCopyProbability_sum (n m d : ℕ) (w : SchurCopy n d → SchurCopy m d → ℝ)
22    (keep : SchurCopy n d → SchurCopy m d → Prop) (j : SchurCopy m d)
23    (hr : 0 < ∑ i : {i // keep i j},w i.val j) :
24    (∑ i : {i // keep i j},w i.val j / ∑ a : {i // keep i j},w a.val j)=1 := by
25  rw [← Finset.sum_div, div_self hr.ne']
26 
27theorem normalizedCopyBlock_rootFidelity_one (n m d : ℕ) (p : Fin d → ℝ) (hp : ∀ a, 0 < p a)
28    (w : SchurCopy n d → SchurCopy m d → ℝ) (hw : ∀ i j, 0 ≤ w i j)
29    (keep : SchurCopy n d → SchurCopy m d → Prop) (j : SchurCopy m d)
30    (hr : 0 < ∑ i : {i // keep i j},w i.val j) :
31    (normalizedCopyBlock n m d p hp 1 w hw keep j).rootFidelity
32      (copySectorState ((recursivePhysicalDecomposition m d).get j) 1 p hp) =
33    retainedCopyFidelity n m d p hp j (fun i => keep i j)
34      (fun i : {i // keep i j} => w i.val j / ∑ a : {i // keep i j},w a.val j)
35      (fun i => div_nonneg (hw i.val j) hr.le) := by
36  rw [normalizedCopyBlock_eq_mixture n m d p hp 1 (by simp) w hw keep j hr, copySectorState_one_eq]
37  simp only [copyTransitionState, copySectorState_one_eq]
38  rfl
39 
40end Cloning.TensorCloning