Offline · exact source
Exact Lean source

TensorLANEmbeddingStateBounds

formalization/Cloning/TensorLANEmbeddingStateBounds.lean

Source hash: 722a2b3458684573213f646841400d8a8f26b4d5011a34f7db3a36b1469ff5e3

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.TensorLANEmbeddingSectorUniform
2import Cloning.TensorGibbsSchurBridge
3 
4/-! Uniform state normalization and the universal error bound for every
5physical sector, including labels outside the typical window. -/
6noncomputable section
7open scoped BigOperators Topology Classical InnerProductSpace ComplexOrder
8open Filter NormedSpace
9namespace Cloning.TensorLAN
10open Cloning.PCT Cloning.TensorLie Cloning.InfiniteTraceClass Cloning.MultimodeCoherent
11open Cloning.TensorLocalUnitary Cloning.PCTLocalChart
12set_option backward.isDefEq.respectTransparency false
13set_option maxHeartbeats 1000000
14variable {d : ℕ}
15local instance (n d : ℕ) : FiniteDimensional ℂ (TensorRegister n (Fin d)) :=
16  (registerBasis (Fin n → Fin d)).toOrthonormalBasis.toBasis.finiteDimensional_of_finite
17 
18theorem rootDisplacedThermal_nonneg (p : Fin d → ℝ) (hp : ∀ a, 0 < p a)
19    (hord : StrictAnti p) (z : PositiveRoot d → ℂ) :
20    0 ≤ (rootDisplacedThermal p z).1 :=
21  (displacementChannel (rootFockAmplitude z)).toPositiveTracePreservingMap.map_nonneg _
22    (rootThermalState_nonneg p hp hord)
23 
24theorem rootDisplacedThermal_norm (p : Fin d → ℝ) (hp : ∀ a, 0 < p a)
25    (hord : StrictAnti p) (z : PositiveRoot d → ℂ) :
26    ‖rootDisplacedThermal p z‖ = 1 := by
27  rw [rootDisplacedThermal,
28    (displacementChannel (rootFockAmplitude z)).toPositiveTracePreservingMap.norm_map_of_nonneg _
29      (rootThermalState_nonneg p hp hord),
30    TraceClass.norm_eq_trace_re_of_nonneg _ (rootThermalState_nonneg p hp hord)]
31  change (traceCLM (rootThermalState p)).re = 1
32  rw [rootThermalState_trace p hp hord]
33  rfl
34 
35theorem partitionPhysicalGibbs_nonneg (mu : Fin d → ℕ) (hmu : Antitone mu)
36    (r p : Fin d → ℝ) (hr : ∀ a, 0 < r a) (z : PositiveRoot d → ℂ) :
37    0 ≤ (partitionPhysicalGibbs mu hmu r p z).1 := by
38  unfold partitionPhysicalGibbs sectorDisplacedGibbs
39  apply PositiveTracePreservingMap.map_nonneg
40  exact sectorGibbsDensity_nonneg _ _ _ _ (partitionHighestTensor_norm mu hmu) r hr
41 
42theorem partitionPhysicalGibbs_norm (mu : Fin d → ℕ) (hmu : Antitone mu)
43    (r p : Fin d → ℝ) (hr : ∀ a, 0 < r a) (z : PositiveRoot d → ℂ) :
44    ‖partitionPhysicalGibbs mu hmu r p z‖ = 1 := by
45  unfold partitionPhysicalGibbs sectorDisplacedGibbs
46  rw [PositiveTracePreservingMap.norm_map_of_nonneg _ _
47    (sectorGibbsDensity_nonneg _ _ _ _ (partitionHighestTensor_norm mu hmu) r hr),
48    TraceClass.norm_eq_trace_re_of_nonneg _
49      (sectorGibbsDensity_nonneg _ _ _ _ (partitionHighestTensor_norm mu hmu) r hr)]
50  change (traceCLM (sectorGibbsDensity (partitionHighestTensor mu hmu) mu
51    (partitionHighestTensor_cartan mu hmu) (partitionHighestTensor_raising_zero mu hmu) r)).re = 1
52  rw [sectorGibbsDensity_trace _ _ _ _ (partitionHighestTensor_norm mu hmu) r hr]
53  rfl
54 
55theorem physicalGibbsForwardError_le_two (mu : Fin d → ℕ) (hmu : Antitone mu)
56    (r p : Fin d → ℝ) (hr : ∀ a, 0 < r a) (hp : ∀ a, 0 < p a)
57    (hord : StrictAnti p) (z : PositiveRoot d → ℂ) (Q : ℕ) :
58    physicalGibbsForwardError mu hmu r p z z Q ≤ 2 := by
59  unfold physicalGibbsForwardError
60  apply (norm_sub_le _ _).trans
61  rw [(sectorToFockTotal (partitionHighestTensor mu hmu) mu Q).toPositiveTracePreservingMap.norm_map_of_nonneg _
62      (partitionPhysicalGibbs_nonneg mu hmu r p hr z),
63    partitionPhysicalGibbs_norm mu hmu r p hr z, rootDisplacedThermal_norm p hp hord z]
64  norm_num
65 
66theorem physicalGibbsReverseError_le_two (mu : Fin d → ℕ) (hmu : Antitone mu)
67    (r p : Fin d → ℝ) (hr : ∀ a, 0 < r a) (hp : ∀ a, 0 < p a)
68    (hord : StrictAnti p) (z : PositiveRoot d → ℂ) (Q : ℕ) :
69    physicalGibbsReverseError mu hmu r p z z Q ≤ 2 := by
70  unfold physicalGibbsReverseError
71  apply (norm_sub_le _ _).trans
72  rw [(fockToSectorTotal (partitionHighestTensor mu hmu) mu Q
73      (partitionHighestTensor_norm mu hmu)).toPositiveTracePreservingMap.norm_map_of_nonneg _
74      (rootDisplacedThermal_nonneg p hp hord z),
75    rootDisplacedThermal_norm p hp hord z, partitionPhysicalGibbs_norm mu hmu r p hr z]
76  norm_num
77 
78end Cloning.TensorLAN