Offline · exact source
Exact Lean source

TensorGibbsDisplacedState

formalization/Cloning/TensorGibbsDisplacedState.lean

Source hash: 1dee7eaf373c26b404ee5f90511c46df6d9dc004388d51e67352361f741842dd

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.TensorGibbsDisplacedTransfer
2import Cloning.TensorGibbsThermalIdentification
3import Cloning.TensorLANEmbeddingTotal
4 
5/-! The concrete sector/Fock maps compare displaced Gibbs and product thermal
6states using derived spectral tails and literal vector compression errors. -/
7noncomputable section
8open scoped BigOperators InnerProductSpace ComplexOrder
9namespace Cloning.TensorLie
10open Cloning.PCT Cloning.InfiniteTraceClass Cloning.TensorLAN
11set_option maxHeartbeats 1400000
12set_option backward.isDefEq.respectTransparency false
13variable {n d : ℕ}
14local instance : FiniteDimensional ℂ (TensorRegister n (Fin d)) :=
15  (registerBasis (Fin n → Fin d)).toOrthonormalBasis.toBasis.finiteDimensional_of_finite
16 
17variable (Ω : TensorRegister n (Fin d)) (mu : Fin d → ℕ)
18    (hweight : ∀ a, collectiveGenerator n a a Ω = (mu a : ℂ) • Ω)
19    (hraise : ∀ a b, a < b → collectiveGenerator n a b Ω = 0)
20 
21def sectorFockTransport (Q : ℕ) (hq : CutoffReady Ω mu Q) : cyclicSector Ω →L[ℂ] RootFock d :=
22  frameTransport (sectorCutoff Ω Q) (sectorCutoffBasis Ω mu Q hq.1 hq.2)
23    (cutoffNumberFrame d Q) (cutoffNumberFrame_orthonormal d Q)
24 
25theorem sectorFockTransport_contraction (Q : ℕ) (hq : CutoffReady Ω mu Q) (x : cyclicSector Ω) :
26    ‖sectorFockTransport Ω mu Q hq x‖ ≤ ‖x‖ := frameTransport_contraction _ _ _ _ x
27 
28theorem sectorFockTransport_adjoint_contraction (Q : ℕ) (hq : CutoffReady Ω mu Q) (x : RootFock d) :
29    ‖(sectorFockTransport Ω mu Q hq).adjoint x‖ ≤ ‖x‖ := frameTransport_adjoint_contraction _ _ _ _ x
30 
31theorem sectorToFockTotal_displaced_gibbs_error (hΩ : ‖Ω‖ = 1)
32    (p t : Fin d → ℝ) (hp : ∀ a, 0 < p a) (ht : ∀ a, 0 < t a) (htord : StrictAnti t)
33    (R Q : ℕ) (hr : CutoffReady Ω mu R) (hq : CutoffReady Ω mu Q)
34    (U : cyclicSector Ω →ₗᵢ[ℂ] cyclicSector Ω) (W : RootFock d →ₗᵢ[ℂ] RootFock d) :
35    ‖(sectorToFockTotal Ω mu Q).toLinearMap
36        ((QuantumChannel.ofIsometry U).toLinearMap (sectorGibbsDensity Ω mu hweight hraise p)) -
37      (QuantumChannel.ofIsometry W).toLinearMap (rootThermalState t)‖ ≤
38      gibbsThermalCutoffError Ω mu hweight hraise p t R +
39      4 * ∑ i : CutoffIndex d R, bosonicOccupationWeight t (cutoffOccupation d R i).val *
40        ‖sectorFockTransport Ω mu Q hq (U (cutoffSectorFrame Ω mu R i)) - W (cutoffNumberFrame d R i)‖ := by
41  rw [sectorToFockTotal_eq Ω mu Q hq]
42  have hh := displaced_mixture_channel_error (sectorFockTransport Ω mu Q hq)
43    (sectorFockTransport_contraction Ω mu Q hq) (DensityState.pure (rootVacuum d) (rootVacuum_norm d)) U W
44    (sectorGibbsDensity Ω mu hweight hraise p) (sectorGibbsDensity_nonneg Ω mu hweight hraise hΩ p hp)
45    (rootThermalState t) (rootThermalState_nonneg t ht htord)
46    (cutoffSectorFrame Ω mu R) (cutoffNumberFrame d R)
47    (cutoffSectorFrame_orthonormal Ω mu R hr.2).norm_eq_one (cutoffNumberFrame_orthonormal d R).norm_eq_one
48    (fun i => sectorOccupationWeight Ω mu hweight hraise p (cutoffOccupation d R i).val)
49    (fun i => bosonicOccupationWeight t (cutoffOccupation d R i).val)
50    (fun i => bosonicOccupationWeight_nonneg t ht htord _)
51  change _ ≤ _ at hh
52  unfold gibbsThermalCutoffError gibbsThermalCoefficientError
53  dsimp only [sectorGibbsCutoff, rootThermalCutoff]
54  convert hh using 1 <;> try rfl
55  ring
56 
57theorem fockToSectorTotal_displaced_gibbs_error (hΩ : ‖Ω‖ = 1)
58    (p t : Fin d → ℝ) (hp : ∀ a, 0 < p a) (ht : ∀ a, 0 < t a) (htord : StrictAnti t)
59    (R Q : ℕ) (hr : CutoffReady Ω mu R) (hq : CutoffReady Ω mu Q)
60    (U : cyclicSector Ω →ₗᵢ[ℂ] cyclicSector Ω) (W : RootFock d →ₗᵢ[ℂ] RootFock d) :
61    ‖(fockToSectorTotal Ω mu Q hΩ).toLinearMap
62        ((QuantumChannel.ofIsometry W).toLinearMap (rootThermalState t)) -
63      (QuantumChannel.ofIsometry U).toLinearMap (sectorGibbsDensity Ω mu hweight hraise p)‖ ≤
64      gibbsThermalCutoffError Ω mu hweight hraise p t R +
65      4 * ∑ i : CutoffIndex d R, sectorOccupationWeight Ω mu hweight hraise p (cutoffOccupation d R i).val *
66        ‖(sectorFockTransport Ω mu Q hq).adjoint (W (cutoffNumberFrame d R i)) - U (cutoffSectorFrame Ω mu R i)‖ := by
67  rw [fockToSectorTotal_eq Ω mu Q hΩ hq]
68  have hh := displaced_mixture_channel_error (sectorFockTransport Ω mu Q hq).adjoint
69    (sectorFockTransport_adjoint_contraction Ω mu Q hq)
70    (DensityState.pure ⟨Ω, highest_mem_cyclicSector Ω⟩ hΩ) W U
71    (rootThermalState t) (rootThermalState_nonneg t ht htord)
72    (sectorGibbsDensity Ω mu hweight hraise p) (sectorGibbsDensity_nonneg Ω mu hweight hraise hΩ p hp)
73    (cutoffNumberFrame d R) (cutoffSectorFrame Ω mu R)
74    (cutoffNumberFrame_orthonormal d R).norm_eq_one (cutoffSectorFrame_orthonormal Ω mu R hr.2).norm_eq_one
75    (fun i => bosonicOccupationWeight t (cutoffOccupation d R i).val)
76    (fun i => sectorOccupationWeight Ω mu hweight hraise p (cutoffOccupation d R i).val)
77    (fun i => sectorOccupationWeight_nonneg Ω mu hweight hraise hΩ p hp _)
78  simp only [abs_sub_comm (bosonicOccupationWeight t _)] at hh
79  unfold gibbsThermalCutoffError gibbsThermalCoefficientError
80  dsimp only [sectorGibbsCutoff, rootThermalCutoff]
81  convert hh using 1 <;> try rfl
82  ring
83 
84end Cloning.TensorLie