Offline · exact source
Exact Lean source

TensorGibbsPhysicalDisplacement

formalization/Cloning/TensorGibbsPhysicalDisplacement.lean

Source hash: d93e659917a1e64a3f80745560f5784330149019dd339d816dc5471ae7fcab97

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.TensorGibbsLocalUnitary
2import Cloning.TensorGibbsStateLimit
3import Cloning.TensorLocalUnitaryPhysicalWeyl
4import Cloning.WeylMultimodeChannel
5 
6/-! Actual physically rotated sector Gibbs states and the corresponding
7Weyl-displaced product thermal state, with exact vector-coordinate adapters. -/
8noncomputable section
9open scoped BigOperators InnerProductSpace ComplexOrder Topology Matrix.Norms.L2Operator
10open Filter NormedSpace
11namespace Cloning.TensorLie
12open Cloning.PCT Cloning.TensorLAN Cloning.TensorLocalUnitary Cloning.PCTLocalChart
13open Cloning.InfiniteTraceClass Cloning.MultimodeCoherent
14set_option maxHeartbeats 1400000
15set_option backward.isDefEq.respectTransparency false
16variable {n d : ℕ}
17local instance (n d : ℕ) : FiniteDimensional ℂ (TensorRegister n (Fin d)) :=
18  (registerBasis (Fin n → Fin d)).toOrthonormalBasis.toBasis.finiteDimensional_of_finite
19 
20def sectorDisplacedGibbs (Ω : TensorRegister n (Fin d)) (mu : Fin d → ℕ)
21    (hweight : ∀ a, collectiveGenerator n a a Ω = (mu a : ℂ) • Ω)
22    (hraise : ∀ a b, a < b → collectiveGenerator n a b Ω = 0)
23    (r p : Fin d → ℝ) (t : ℝ) (z : PositiveRoot d → ℂ) : TraceClass (cyclicSector Ω) :=
24  (QuantumChannel.ofIsometry (sectorOrbitalUnitary Ω mu hweight hraise p t z).toLinearIsometry).toLinearMap
25    (sectorGibbsDensity Ω mu hweight hraise r)
26 
27def rootDisplacedThermal (p : Fin d → ℝ) (z : PositiveRoot d → ℂ) : TraceClass (RootFock d) :=
28  (displacementChannel (rootFockAmplitude z)).toLinearMap (rootThermalState p)
29 
30theorem thermal_cutoff_mass_le_one (p : Fin d → ℝ) (hp : ∀ a, 0 < p a)
31    (hord : StrictAnti p) (R : ℕ) :
32    (∑ i : CutoffIndex d R, bosonicOccupationWeight p (cutoffOccupation d R i).val) ≤ 1 := by
33  have ht := rootThermalCutoff_error p hp hord R
34  have hn := norm_nonneg (rootThermalState p-rootThermalCutoff p R)
35  rw [ht] at hn
36  rw [(cutoffOccupation d R).sum_comp (fun k => bosonicOccupationWeight p k.val)]
37  linarith
38 
39theorem physical_cutoff_mass_le_one (Ω : TensorRegister n (Fin d)) (mu : Fin d → ℕ)
40    (hweight : ∀ a, collectiveGenerator n a a Ω = (mu a : ℂ) • Ω)
41    (hraise : ∀ a b, a < b → collectiveGenerator n a b Ω = 0)
42    (hΩ : ‖Ω‖ = 1) (p : Fin d → ℝ) (hp : ∀ a, 0 < p a) (R : ℕ)
43    (hr : CutoffReady Ω mu R) :
44    (∑ i : CutoffIndex d R, sectorOccupationWeight Ω mu hweight hraise p (cutoffOccupation d R i).val) ≤ 1 := by
45  have hh := sectorGibbsCutoff_error Ω mu hweight hraise hΩ p hp R hr.2
46  have hn := norm_nonneg (sectorGibbsDensity Ω mu hweight hraise p-sectorGibbsCutoff Ω mu hweight hraise p R)
47  rw [hh] at hn
48  linarith
49 
50theorem weighted_finite_error_le {ι : Type*} [Fintype ι] (a e : ι → ℝ)
51    (ha : ∀ i, 0 ≤ a i) (hs : (∑ i, a i) ≤ 1) (η : ℝ) (hη : 0 ≤ η) (he : ∀ i, e i ≤ η) :
52    ∑ i, a i * e i ≤ η := by
53  calc
54    _ ≤ ∑ i, a i * η := Finset.sum_le_sum (fun i _ => mul_le_mul_of_nonneg_left (he i) (ha i))
55    _ = (∑ i, a i) * η := (Finset.sum_mul _ _ _).symm
56    _ ≤ 1*η := mul_le_mul_of_nonneg_right hs hη
57    _ = η := one_mul _
58 
59theorem sector_orbital_vector_error_eq_ambient (Ω : TensorRegister n (Fin d)) (mu : Fin d → ℕ)
60    (hweight : ∀ a, collectiveGenerator n a a Ω = (mu a : ℂ) • Ω)
61    (hraise : ∀ a b, a < b → collectiveGenerator n a b Ω = 0)
62    (p : Fin d → ℝ) (t : ℝ) (z z0 : PositiveRoot d → ℂ) (R Q : ℕ)
63    (hq : CutoffReady Ω mu Q) (i : CutoffIndex d R) :
64    ‖sectorFockTransport Ω mu Q hq
65        (sectorOrbitalUnitary Ω mu hweight hraise p t z (cutoffSectorFrame Ω mu R i)) -
66      displacement (rootFockAmplitude z0) (cutoffNumberFrame d R i)‖ =
67    ‖cutoffEmbedding Ω mu Q (tensorOperator n (exp (t • orbitalGenerator p z)) (cutoffFrame Ω mu R i)) -
68      displacement (rootFockAmplitude z0) (cutoffNumberFrame d R i)‖ := by
69  rw [sectorFockTransport_eq_cutoffEmbedding, sectorOrbitalUnitary_coe]
70  rfl
71 
72theorem sector_orbital_reverse_vector_error_eq_ambient (Ω : TensorRegister n (Fin d)) (mu : Fin d → ℕ)
73    (hweight : ∀ a, collectiveGenerator n a a Ω = (mu a : ℂ) • Ω)
74    (hraise : ∀ a b, a < b → collectiveGenerator n a b Ω = 0)
75    (p : Fin d → ℝ) (t : ℝ) (z z0 : PositiveRoot d → ℂ) (R Q : ℕ)
76    (hq : CutoffReady Ω mu Q) (i : CutoffIndex d R) :
77    ‖(sectorFockTransport Ω mu Q hq).adjoint
78        (displacement (rootFockAmplitude z0) (cutoffNumberFrame d R i)) -
79      sectorOrbitalUnitary Ω mu hweight hraise p t z (cutoffSectorFrame Ω mu R i)‖ =
80    ‖(cutoffEmbedding Ω mu Q).adjoint (displacement (rootFockAmplitude z0) (cutoffNumberFrame d R i)) -
81      tensorOperator n (exp (t • orbitalGenerator p z)) (cutoffFrame Ω mu R i)‖ := by
82  change ‖((sectorFockTransport Ω mu Q hq).adjoint
83      (displacement (rootFockAmplitude z0) (cutoffNumberFrame d R i)) : TensorRegister n (Fin d)) -
84      (sectorOrbitalUnitary Ω mu hweight hraise p t z (cutoffSectorFrame Ω mu R i) : TensorRegister n (Fin d))‖ = _
85  rw [sectorFockTransport_adjoint_coe, sectorOrbitalUnitary_coe]
86  rfl
87 
88end Cloning.TensorLie