Offline · exact source
Exact Lean source

ThermalWitnessGeometric

formalization/Cloning/ThermalWitnessGeometric.lean

Source hash: 908d5d7ec9fa01619afbd78bd2dd1af94a440d02ee7876fd5b3bce078c5f94a9

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.ThermalWitness
2 
3/-!
4# Thermal witnesses are scaled geometric states
5 
6The actual bounded multimode fidelity witness is a strictly positive scalar
7multiple of a normalized product-geometric trace-class state. This identifies
8its operator, not just its diagonal moments, with the thermal Gaussian object
9used by the Fourier argument.
10-/
11 
12noncomputable section
13open scoped BigOperators
14namespace Cloning.ThermalWitness
15open Cloning.InfiniteTraceClass Cloning.InfiniteOccupationStates
16set_option backward.isDefEq.respectTransparency false
17 
18/-- Geometric parameter of each thermal-witness factor. -/
19def witnessGeometricParameter {s : ℕ} (q x : Fin s → ℝ) (i : Fin s) : ℝ :=
20  Real.sqrt (q i / x i)
21 
22/-- Exact positive scalar multiplying the normalized geometric state. -/
23def witnessGeometricScale {s : ℕ} (q x : Fin s → ℝ) : ℝ :=
24  ∏ i, Real.sqrt ((1 - q i) / (1 - x i)) / (1 - witnessGeometricParameter q x i)
25 
26lemma witnessGeometricParameter_pos {s : ℕ} {q x : Fin s → ℝ}
27    (hq0 : ∀ i, 0 < q i) (hqx : ∀ i, q i < x i) (i : Fin s) :
28    0 < witnessGeometricParameter q x i :=
29  Real.sqrt_pos.mpr (div_pos (hq0 i) ((hq0 i).trans (hqx i)))
30 
31lemma witnessGeometricParameter_lt_one {s : ℕ} {q x : Fin s → ℝ}
32    (hq0 : ∀ i, 0 < q i) (hqx : ∀ i, q i < x i) (i : Fin s) :
33    witnessGeometricParameter q x i < 1 := by
34  unfold witnessGeometricParameter
35  rw [Real.sqrt_lt' (by norm_num : (0 : ℝ) < 1)]
36  simpa using (div_lt_one ((hq0 i).trans (hqx i))).mpr (hqx i)
37 
38lemma witnessGeometricScale_pos {s : ℕ} {q x : Fin s → ℝ}
39    (hq0 : ∀ i, 0 < q i) (hqx : ∀ i, q i < x i) (hx1 : ∀ i, x i < 1) :
40    0 < witnessGeometricScale q x := by
41  apply Finset.prod_pos
42  intro i _
43  apply div_pos
44  · exact Real.sqrt_pos.mpr (div_pos (sub_pos.mpr ((hqx i).trans (hx1 i)))
45      (sub_pos.mpr (hx1 i)))
46  · exact sub_pos.mpr (witnessGeometricParameter_lt_one hq0 hqx i)
47 
48/-- Exact coefficient identity, valid for every occupation vector. -/
49lemma productWitness_eq_scale_geometric {s : ℕ} {q x : Fin s → ℝ}
50    (hq0 : ∀ i, 0 < q i) (hqx : ∀ i, q i < x i) (hx1 : ∀ i, x i < 1)
51    (k : Fin s → ℕ) :
52    productWitness q x k = witnessGeometricScale q x *
53      productGeometric (witnessGeometricParameter q x) k := by
54  unfold productWitness witnessGeometricScale productGeometric
55  rw [← Finset.prod_mul_distrib]
56  apply Finset.prod_congr rfl
57  intro i _
58  rw [Thermal.witness_closed (hq0 i).le ((hqx i).trans (hx1 i))
59    ((hq0 i).trans (hqx i)).le (hx1 i)]
60  have hy : 1 - witnessGeometricParameter q x i ≠ 0 :=
61    (sub_pos.mpr (witnessGeometricParameter_lt_one hq0 hqx i)).ne'
62  unfold Thermal.geometric
63  rw [← mul_assoc, div_mul_cancel₀ _ hy]
64  rfl
65 
66variable {H : Type*} [NormedAddCommGroup H] [InnerProductSpace ℂ H] [CompleteSpace H]
67 
68/-- Equality of the actual bounded witness operator with a positive scalar
69multiple of a product-geometric state. It holds on the entire Hilbert space. -/
70lemma productWitnessOperator_eq_scale_geometric {s : ℕ}
71    (b : HilbertBasis (Fin s → ℕ) ℂ H) {q x : Fin s → ℝ}
72    (hq0 : ∀ i, 0 < q i) (hqx : ∀ i, q i < x i) (hx1 : ∀ i, x i < 1) :
73    productWitnessOperator b q x = (witnessGeometricScale q x : ℂ) •
74      (vectorMixture b (productGeometric (witnessGeometricParameter q x))).1 := by
75  apply ContinuousLinearMap.ext_on
76    (Submodule.dense_iff_topologicalClosure_eq_top.mpr b.dense_span)
77  rintro _ ⟨k, rfl⟩
78  rw [productWitnessOperator_apply_basis b hq0 hqx hx1,
79    ContinuousLinearMap.smul_apply, vectorMixture_apply_basis b _
80      (productGeometric_hasSum (fun i => (witnessGeometricParameter_pos hq0 hqx i).le)
81        (witnessGeometricParameter_lt_one hq0 hqx)).summable,
82    productWitness_eq_scale_geometric hq0 hqx hx1, Complex.ofReal_mul, smul_smul]
83 
84/-- Trace-class version of the same exact identification. -/
85lemma productWitnessTraceClass_eq_scale_geometric {s : ℕ}
86    (b : HilbertBasis (Fin s → ℕ) ℂ H) {q x : Fin s → ℝ}
87    (hq0 : ∀ i, 0 < q i) (hqx : ∀ i, q i < x i) (hx1 : ∀ i, x i < 1) :
88    vectorMixture b (productWitness q x) = (witnessGeometricScale q x : ℂ) •
89      vectorMixture b (productGeometric (witnessGeometricParameter q x)) := by
90  apply Subtype.ext
91  exact productWitnessOperator_eq_scale_geometric b hq0 hqx hx1
92 
93end Cloning.ThermalWitness