Offline · exact source
Exact Lean source

WeylSqueezerProductDisplacement

formalization/Cloning/WeylSqueezerProductDisplacement.lean

Source hash: dd218073d7d9b8422780f83b6b74aa5ef0fcb5d2e30ff2d716c6543daa4b5349

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.WeylSqueezerProduct
2 
3/-! Displacements factor on literal Fock product vectors, first on coherent
4vectors and then on the whole Hilbert spaces by continuity. -/
5noncomputable section
6open scoped BigOperators InnerProductSpace Topology
7namespace Cloning.WeylSqueezerProduct
8open Cloning.MultimodeCoherent
9set_option backward.isDefEq.respectTransparency false
10set_option maxHeartbeats 800000
11variable {a b : ℕ}
12 
13theorem coherent_ext {E : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E]
14    {T S : Fock a →L[ℂ] E}
15    (h : ∀z, T (coherentVector z)=S (coherentVector z)) : T=S := by
16  have he : (fun v => T v)=(fun v => S v) := by
17    apply coherentCombination_dense.equalizer T.continuous S.continuous
18    funext c
19    simp only [Function.comp_apply,coherentCombination,Finsupp.linearCombination_apply,
20      Finsupp.sum,map_sum,map_smul,h]
21  exact DFunLike.ext _ _ (congrFun he)
22 
23@[simp] theorem tensorVector_smul_left (c : ℂ) (x : Fock a) (y : Fock b) :
24    tensorVector (c • x) y=c • tensorVector x y := (tensorRight y).map_smul c x
25 
26@[simp] theorem tensorVector_smul_right (c : ℂ) (x : Fock a) (y : Fock b) :
27    tensorVector x (c • y)=c • tensorVector x y := (tensorLeft x).map_smul c y
28 
29@[simp] theorem tensorVector_coherent (z : Fin a → ℂ) (w : Fin b → ℂ) :
30    tensorVector (coherentVector z) (coherentVector w)=coherentVector (Fin.append z w) := by
31  ext k
32  simp only [tensorVector_apply,coherentVector_apply,Fin.prod_univ_add,
33    Fin.append_left,Fin.append_right]
34 
35theorem displacementPhase_append (z u : Fin a → ℂ) (w v : Fin b → ℂ) :
36    displacementPhase (Fin.append z w) (Fin.append u v)=
37      displacementPhase z u*displacementPhase w v := by
38  simp only [displacementPhase,Fin.prod_univ_add,Fin.append_left,Fin.append_right]
39 
40theorem append_add (z u : Fin a → ℂ) (w v : Fin b → ℂ) :
41    Fin.append z w+Fin.append u v=Fin.append (z+u) (w+v) := by
42  ext i
43  refine Fin.addCases ?_ ?_ i <;> intro j <;> simp only [Pi.add_apply,Fin.append_left,Fin.append_right]
44 
45theorem displacement_append_coherent (z : Fin a → ℂ) (w : Fin b → ℂ)
46    (u : Fin a → ℂ) (v : Fin b → ℂ) :
47    displacement (Fin.append z w) (tensorVector (coherentVector u) (coherentVector v))=
48      tensorVector (displacement z (coherentVector u)) (displacement w (coherentVector v)) := by
49  rw [tensorVector_coherent,displacement_coherentVector,displacement_coherentVector,
50    displacement_coherentVector,tensorVector_smul_left,tensorVector_smul_right,
51    tensorVector_coherent,smul_smul,displacementPhase_append,append_add]
52 
53theorem displacement_append_tensor (z : Fin a → ℂ) (w : Fin b → ℂ)
54    (x : Fock a) (y : Fock b) :
55    displacement (Fin.append z w) (tensorVector x y)=
56      tensorVector (displacement z x) (displacement w y) := by
57  have hc (u : Fin a → ℂ) :
58      (displacement (Fin.append z w)).comp (tensorLeft (coherentVector u))=
59        (tensorLeft (displacement z (coherentVector u))).comp (displacement w) := by
60    apply coherent_ext
61    intro v
62    exact displacement_append_coherent z w u v
63  have he : (displacement (Fin.append z w)).comp (tensorRight y)=
64      (tensorRight (displacement w y)).comp (displacement z) := by
65    apply coherent_ext
66    intro u
67    exact congrArg (fun T : Fock b →L[ℂ] Fock (a+b) => T y) (hc u)
68  exact congrArg (fun T : Fock a →L[ℂ] Fock (a+b) => T x) he
69 
70end Cloning.WeylSqueezerProduct