Exact Lean source
TensorLANEmbeddingSchur
formalization/Cloning/TensorLANEmbeddingSchur.lean
Source hash: 103f6092a77335c472f02443cd0d567c613824a37e13b3c608c625de42a21d6f
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.TensorLANEmbeddingTotal
2import Cloning.TensorSchurMultiplicityDecomposition
3import Cloning.TensorSchurDecompositionIsometry
4import Cloning.MixedChannelsSectorInstrument
5import Cloning.MixedChannelsFiniteSelector
6
7/-! Genuine mixed channels assembled from the exhaustive recursive physical
8Schur decomposition and the concrete all-input sector/Fock channels. -/
9noncomputable section
10open scoped BigOperators InnerProductSpace Classical
11namespace Cloning.TensorLAN
12open Cloning.PCT Cloning.TensorLie Cloning.InfiniteTraceClass MeasureTheory Cloning.Hybrid
13set_option maxHeartbeats 1000000
14set_option backward.isDefEq.respectTransparency false
15local instance (n d : ℕ) : FiniteDimensional ℂ (TensorRegister n (Fin d)) :=
16 (registerBasis (Fin n → Fin d)).toOrthonormalBasis.toBasis.finiteDimensional_of_finite
17
18abbrev SchurCopy (n d : ℕ) := Fin (recursivePhysicalDecomposition n d).length
19
20def copyToFock (n d R : ℕ) (i : SchurCopy n d) :
21 QuantumChannel ((recursivePhysicalDecomposition n d).get i).CanonicalSector (RootFock d) :=
22 let H := (recursivePhysicalDecomposition n d).get i
23 sectorToFockTotal (partitionHighestTensor H.weight H.weight_antitone) H.weight R
24
25/-- Reverse transport lands in the actual physical copy through its proved
26canonical isometric embedding. -/
27def fockToCopy (n d R : ℕ) (i : SchurCopy n d) :
28 QuantumChannel (RootFock d) (TensorRegister n (Fin d)) :=
29 let H := (recursivePhysicalDecomposition n d).get i
30 (QuantumChannel.ofIsometry H.canonicalEmbedding).comp
31 (fockToSectorTotal (partitionHighestTensor H.weight H.weight_antitone) H.weight R
32 (partitionHighestTensor_norm H.weight H.weight_antitone))
33
34variable {X : Type*} [MeasurableSpace X] {ν : Measure X}
35
36/-- Measure the actual complete physical sector sum, use its sector channel,
37and emit the prescribed probability density for the classical label. All
38quantum and classical trace normalization is derived. -/
39def schurForward (n d R : ℕ) (g : SchurCopy n d → X → ℝ)
40 (hg : ∀ i, Integrable (g i) ν) (hg0 : ∀ i x, 0 ≤ g i x)
41 (hprob : ∀ i, ∫ x, g i x ∂ν = 1) :
42 QuantumToHybrid (TensorRegister n (Fin d)) (RootFock d) ν :=
43 QuantumToHybrid.ofHilbertSum
44 (fun i : SchurCopy n d => ((recursivePhysicalDecomposition n d).get i).canonicalEmbedding)
45 (canonicalSectorHilbertSum (recursivePhysicalDecomposition n d)
46 (recursivePhysicalDecomposition_is_decomposition n d).1
47 (recursivePhysicalDecomposition_is_decomposition n d).2)
48 (copyToFock n d R) g hg hg0 hprob
49
50theorem schurForward_apply (n d R : ℕ) (g : SchurCopy n d → X → ℝ)
51 (hg : ∀ i, Integrable (g i) ν) (hg0 : ∀ i x, 0 ≤ g i x)
52 (hprob : ∀ i, ∫ x, g i x ∂ν = 1) (A : TraceClass (TensorRegister n (Fin d))) :
53 (schurForward n d R g hg hg0 hprob).map A =
54 ∑ i : SchurCopy n d, prepareL1 (g i) (hg i)
55 ((copyToFock n d R i).toLinearMap
56 (conjugationLinearMap
57 ((recursivePhysicalDecomposition n d).get i).canonicalEmbedding.toContinuousLinearMap.adjoint A)) :=
58 QuantumToHybrid.ofHilbertSum_apply _ _ _ _ _ _ _ A
59
60/-- The additional outcome is an explicit physical replacement state for
61classical data outside the represented cell family. -/
62def copyReverseWithFallback (n d R : ℕ) (ρ : DensityState (TensorRegister n (Fin d))) :
63 Option (SchurCopy n d) → QuantumChannel (RootFock d) (TensorRegister n (Fin d))
64 | none => QuantumChannel.ofContraction 0 (by intro x; simp) ρ
65 | some i => fockToCopy n d R i
66
67/-- Any proved classical cell selector now yields a genuine reverse mixed
68channel on all hybrid inputs, with the actual physical output register. -/
69def schurReverse (n d R : ℕ) (ρ : DensityState (TensorRegister n (Fin d)))
70 (χ : Option (SchurCopy n d) → X → ℝ)
71 (hχ : ∀ i, AEStronglyMeasurable (χ i) ν)
72 (hχ0 : ∀ i x, 0 ≤ χ i x) (hχsum : ∀ x, ∑ i, χ i x = 1) :
73 HybridToQuantum (RootFock d) (TensorRegister n (Fin d)) ν :=
74 HybridToQuantum.finiteSelector χ hχ hχ0 hχsum (copyReverseWithFallback n d R ρ)
75
76end Cloning.TensorLAN