Offline · exact source
Exact Lean source

WeylFockState

formalization/Cloning/WeylFockState.lean

Source hash: 330ac9961fb469bec7ae6395d1a76add0694c366e1ad15c03f444b640aa6d31b

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.HeisenbergDual
2import Mathlib.Analysis.InnerProductSpace.l2Space
3 
4/-! Partial trace of an actual Hilbert-sum vector, constructed as a convergent
5series in the trace norm. The summand vectors need not be normalized. -/
6noncomputable section
7open scoped BigOperators Topology InnerProductSpace ComplexOrder ENNReal
8 
9namespace Cloning.WeylGNS
10open InfiniteTraceClass
11set_option backward.isDefEq.respectTransparency false
12set_option maxHeartbeats 800000
13 
14variable {ι K : Type*} [NormedAddCommGroup K] [InnerProductSpace ℂ K] [CompleteSpace K]
15 
16theorem component_norm_sq_hasSum (v : lp (fun _ : ι => K) 2) :
17    HasSum (fun i => ‖v i‖ ^ 2) (‖v‖ ^ 2) := by
18  simpa only [ENNReal.toReal_ofNat, Real.rpow_two] using
19    lp.hasSum_norm (by norm_num : 0 < (2 : ℝ≥0∞).toReal) v
20 
21theorem component_projector_summable (v : lp (fun _ : ι => K) 2) :
22    Summable (fun i => vectorProjector (v i)) := by
23  apply Summable.of_norm
24  simpa only [norm_vectorProjector] using (component_norm_sq_hasSum v).summable
25 
26def componentState (v : lp (fun _ : ι => K) 2) : TraceClass K :=
27  ∑' i, vectorProjector (v i)
28 
29theorem componentState_nonneg (v : lp (fun _ : ι => K) 2) :
30    0 ≤ (componentState v).1 := by
31  change 0 ≤ inclusionCLM (componentState v)
32  rw [componentState, ContinuousLinearMap.map_tsum _ (component_projector_summable v)]
33  apply tsum_nonneg
34  intro i
35  exact (InnerProductSpace.rankOne ℂ (v i) (v i)).nonneg_iff_isPositive.mpr
36    (InnerProductSpace.isPositive_rankOne_self (v i))
37 
38theorem componentState_trace (v : lp (fun _ : ι => K) 2) :
39    traceCLM (componentState v) = (‖v‖ ^ 2 : ℝ) := by
40  rw [componentState, ContinuousLinearMap.map_tsum _ (component_projector_summable v)]
41  simp only [traceCLM_vectorProjector]
42  exact (Complex.hasSum_ofReal.mpr (component_norm_sq_hasSum v)).tsum_eq
43 
44theorem componentState_pairing (v : lp (fun _ : ι => K) 2) (A : K →L[ℂ] K) :
45    tracePairing (componentState v) A = ∑' i, ⟪v i, A (v i)⟫_ℂ := by
46  have h := (component_projector_summable v).hasSum.mapL
47    ((ContinuousLinearMap.apply ℂ ℂ A).comp tracePairingCLM)
48  change HasSum (fun i => tracePairing (vectorProjector (v i)) A)
49    (tracePairing (componentState v) A) at h
50  have he (i : ι) : tracePairing (vectorProjector (v i)) A = ⟪v i, A (v i)⟫_ℂ :=
51    tracePairing_rankOneOperator (v i) (v i) A
52  simp_rw [he] at h
53  exact h.tsum_eq.symm
54 
55end Cloning.WeylGNS