Offline · exact source
Exact Lean source

TensorCloningRetainedUniversal

formalization/Cloning/TensorCloningRetainedUniversal.lean

Source hash: e5b1e3b10b8b0ae12405812e69aa0ce2c4e648fdb2d81252cd28c1b7b14f46e8

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.TensorCloningRetainedTypical
2import Cloning.TensorCloningUniversalFrequencies
3 
4/-! Exact compact-uniform conditional fidelity for every normalized retained
5mixture of the literal universal physical transition kernel. -/
6noncomputable section
7open scoped BigOperators InnerProductSpace Classical Topology
8open Filter
9namespace Cloning.TensorCloning
10open Cloning.PCT Cloning.TensorLie Cloning.TensorLAN Cloning.InfiniteTraceClass Cloning.Hybrid
11set_option backward.isDefEq.respectTransparency false
12set_option maxHeartbeats 2400000
13set_option synthInstance.maxHeartbeats 200000
14local instance (n d : ℕ) : FiniteDimensional ℂ (TensorRegister n (Fin d)) :=
15  (registerBasis (Fin n → Fin d)).toOrthonormalBasis.toBasis.finiteDimensional_of_finite
16 
17/-- A normalized retained mixture automatically has a supported source
18component. Its genuine randomized rounding support forces the common output
19frequency, so no separate target-window assumption is needed. -/
20theorem eventually_uniform_universal_retainedCopyFidelity {d : ℕ} (hd : 1 ≤ d)
21    (K : Set (SimpleSpectrum (d+1))) (hK : IsCompact K)
22    (m : ℕ → ℕ) (γ : ℝ) (hγ : 1 < γ)
23    (hgain : Tendsto (fun n => (m n : ℝ)/n) atTop (𝓝 γ)) (ε : ℝ) (hε : 0 < ε) :
24    ∀ᶠ n in atTop, ∀ p ∈ K, ∀ j : SchurCopy (m n) (d+1),
25      ∀ (q : {i : SchurCopy n (d+1) // universalKeep n (m n) d p.eigenvalue i j} → ℝ)
26        (hq : ∀ i, 0 ≤ q i), (∑ i,q i)=1 →
27      |retainedCopyFidelity n (m n) (d+1) p.eigenvalue p.positive j
28        (fun i => universalKeep n (m n) d p.eigenvalue i j) q hq - orbitalValue γ p| < ε := by
29  rw [eventually_atTop]
30  by_contra h
31  push_neg at h
32  choose n hn p hpK j q hq hs hb using h
33  have hnlim : Tendsto n atTop atTop := tendsto_atTop_mono hn tendsto_id
34  let E := SimpleSpectrum.eigenvalue '' K
35  have hEc : IsCompact E := hK.image SimpleSpectrum.continuous_eigenvalue
36  have hEp : ∀ s ∈ E, ∀ a, 0 < s a := by
37    rintro s ⟨p,hp,rfl⟩
38    exact p.positive
39  have hEo : ∀ s ∈ E, StrictAnti s := by
40    rintro s ⟨p,hp,rfl⟩
41    exact p.strictAnti
42  obtain ⟨p₀,hp₀,φ,hφ,hconv⟩ := hEc.tendsto_subseq
43    (fun N => show (p N).eigenvalue ∈ E from ⟨p N,hpK N,rfl⟩)
44  obtain ⟨p₁,hp₁,rfl⟩ := hp₀
45  have hlim a : Tendsto (fun N => (p (φ N)).eigenvalue a) atTop (𝓝 (p₁.eigenvalue a)) :=
46    (continuous_apply a).continuousAt.tendsto.comp hconv
47  let J N := {i : SchurCopy (n (φ N)) (d+1) //
48    universalKeep (n (φ N)) (m (n (φ N))) d (p (φ N)).eigenvalue i (j (φ N))}
49  have hJ N : Nonempty (J N) := by
50    by_contra hne
51    haveI : IsEmpty (J N) := not_nonempty_iff.mp hne
52    have hh : (∑ a : J N,q (φ N) a)=1 := hs (φ N)
53    simpa using hh
54  let a₀ N : J N := Classical.choice (hJ N)
55  let μ N (i : J N) := ((recursivePhysicalDecomposition (n (φ N)) (d+1)).get i.val).weight
56  let ν N := ((recursivePhysicalDecomposition (m (n (φ N))) (d+1)).get (j (φ N))).weight
57  have hμ N (i : J N) : Antitone (μ N i) :=
58    ((recursivePhysicalDecomposition (n (φ N)) (d+1)).get i.val).weight_antitone
59  have hν N : Antitone (ν N) := ((recursivePhysicalDecomposition (m (n (φ N))) (d+1)).get (j (φ N))).weight_antitone
60  have hμlim := uniform_typical_scaled (fun N => n (φ N)) (hnlim.comp hφ.tendsto_atTop) μ
61    (fun N => (p (φ N)).eigenvalue) p₁.eigenvalue hlim
62    (Eventually.of_forall (fun N (i : J N) => i.property.1))
63  obtain ⟨_,hνlim⟩ := universalKeep_scaled_limits hd E hEc hEp hEo m γ hγ hgain
64    (fun N => n (φ N)) (hnlim.comp hφ.tendsto_atTop)
65    (fun N => (p (φ N)).eigenvalue) (fun N => ⟨p (φ N),hpK (φ N),rfl⟩)
66    p₁.eigenvalue hlim (fun N => (a₀ N).val) (fun N => j (φ N)) (fun N => (a₀ N).property)
67  have hf := partitionTransitionMixture_rootFidelity_tendsto
68    (fun N => n (φ N)) (hnlim.comp hφ.tendsto_atTop) μ ν hμ hν
69    (fun N => (p (φ N)).eigenvalue) (fun N => (p (φ N)).positive) p₁ hlim γ hγ hμlim hνlim
70    (fun N => q (φ N)) (fun N => hq (φ N)) (fun N => hs (φ N))
71  have hpconv : Tendsto (fun N => p (φ N)) atTop (𝓝 p₁) :=
72    SimpleSpectrum.isEmbedding_eigenvalue.tendsto_nhds_iff.mpr hconv
73  have ho := (continuous_orbitalValue (by linarith : 0 < γ)).continuousAt.tendsto.comp hpconv
74  have he := hf.sub ho
75  rw [sub_self] at he
76  obtain ⟨N,hN⟩ := (Metric.tendsto_nhds.mp he ε hε).exists
77  rw [Real.dist_eq,sub_zero] at hN
78  exact (not_lt_of_ge (hb (φ N))) hN
79 
80end Cloning.TensorCloning