Exact Lean source
PCTPurificationFrame
formalization/Cloning/PCTPurificationFrame.lean
Source hash: acfe13c04770440d32c47d475e7643a28d846aafe9a0c0e959a67e0fe02dc578
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.PCTTensorFrame
2
3/-! Existence of physical purification frames through every unit vector and
4the exact normalized local-state formula in that frame. -/
5noncomputable section
6open scoped BigOperators InnerProductSpace ComplexOrder Topology
7open Cloning.InfiniteTraceClass
8namespace Cloning.PCT
9open GeneralCoherent
10set_option maxHeartbeats 1000000
11set_option backward.isDefEq.respectTransparency false
12set_option linter.unusedSectionVars false
13variable {C : Type*} [Fintype C] [DecidableEq C]
14
15/-- Any normalized purification is the first vector of an actual full
16orthonormal frame; the frame is constructed by finite-dimensional completion. -/
17theorem exists_purification_frame {s : ℕ} (hcard : Fintype.card C = s + 1)
18 (ψ : Register C) (hψ : ‖ψ‖ = 1) :
19 ∃ b : OrthonormalBasis (Fin (s + 1)) ℂ (Register C), b 0 = ψ := by
20 classical
21 letI : FiniteDimensional ℂ (Register C) :=
22 (registerBasis C).toOrthonormalBasis.toBasis.finiteDimensional_of_finite
23 have hc : Module.finrank ℂ (Register C) = Fintype.card (Fin (s + 1)) := by
24 rw [Module.finrank_eq_card_basis (registerBasis C).toOrthonormalBasis.toBasis]
25 simpa using hcard
26 let v : Fin (s + 1) → Register C := fun _ => ψ
27 have hv : Orthonormal ℂ (({0} : Set (Fin (s + 1))).restrict v) := by
28 rw [orthonormal_iff_ite]
29 intro i j
30 have hi : i = j := Subtype.ext (i.property.trans j.property.symm)
31 simp only [hi, ite_true, Set.restrict_apply, v, inner_self_eq_norm_sq_to_K, hψ]
32 norm_num
33 obtain ⟨b, hb⟩ := hv.exists_orthonormalBasis_extension_of_card_eq hc
34 exact ⟨b, hb 0 (Set.mem_singleton 0)⟩
35
36/-- The physical tangent vector lies in the orthogonal complement of the
37reference purification. -/
38def frameTangent {s : ℕ} (u : Fin (s + 1) → Register C) (z : Fin s → ℂ) :
39 Register C := ∑ i, z i • u i.succ
40
41theorem frameTangent_orthogonal {s : ℕ} {u : Fin (s + 1) → Register C}
42 (hu : Orthonormal ℂ u) (z : Fin s → ℂ) :
43 ⟪u 0, frameTangent u z⟫_ℂ = 0 := by
44 have hn (i : Fin s) : (0 : Fin (s + 1)) ≠ i.succ := by
45 intro h
46 have hv := congrArg Fin.val h
47 simp at hv
48 simp [frameTangent, inner_sum, inner_smul_right, orthonormal_iff_ite.mp hu, hn]
49
50/-- The actual vector being integrated has exactly the manuscript's local
51purification form `(ψ + Z/√L)/√(1+‖z‖²/L)`. -/
52theorem frameParticle_eq_normalized {s : ℕ} (u : Fin (s + 1) → Register C)
53 (z : Fin s → ℂ) (L : ℕ) :
54 frameParticle u z L = (1 / (Real.sqrt (1 + energy z / L) : ℂ)) •
55 (u 0 + (1 / (Real.sqrt (L : ℝ) : ℂ)) • frameTangent u z) := by
56 rw [frameParticle, Fin.sum_univ_succ, smul_add, frameTangent, Finset.smul_sum]
57 simp only [oneParticle_zero, oneParticle_succ, smul_smul]
58 simp only [Finset.smul_sum, smul_smul]
59 congr 1
60 apply Finset.sum_congr rfl
61 intro i hi
62 congr 1
63 simp only [div_eq_mul_inv]
64 ring
65
66theorem frameParticle_norm {s : ℕ} {u : Fin (s + 1) → Register C}
67 (hu : Orthonormal ℂ u) (z : Fin s → ℂ) (L : ℕ) :
68 ‖frameParticle u z L‖ = 1 := by
69 let v : Register (Fin (s + 1)) := ⟨oneParticle z L, memℓp_gen (by
70 simp only [ENNReal.toReal_ofNat]; exact (hasSum_fintype _).summable)⟩
71 have he : frameParticle u z L = hu.orthogonalFamily.linearIsometry v := by
72 rw [OrthogonalFamily.linearIsometry_apply, tsum_fintype]
73 rfl
74 rw [he, LinearIsometry.norm_map]
75 have hv : ‖v‖ ^ (2 : ℕ) = 1 := by
76 calc
77 _ = ∑ j, ‖oneParticle z L j‖ ^ (2 : ℕ) := by
78 simpa only [ENNReal.toReal_ofNat, Real.rpow_two, tsum_fintype] using
79 lp.norm_rpow_eq_tsum (by norm_num : 0 < (2 : ENNReal).toReal) v
80 _ = 1 := oneParticle_norm_sq_sum z L
81 nlinarith [norm_nonneg v]
82
83end Cloning.PCT