Exact Lean source
GeneralCoherentCoordinates
formalization/Cloning/GeneralCoherentCoordinates.lean
Source hash: 44145b7be0110f732f3c69c8a44c1474b020bb4e9823ce066eaf7fd7cb2bb59c
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
theorem
Cloning.GeneralCoherent.word_prod_eq_profiletheorem Cloning.GeneralCoherent.finiteProductVector_applydefinition Cloning.GeneralCoherent.productVectortheorem Cloning.GeneralCoherent.productVector_normtheorem Cloning.GeneralCoherent.occupationPad_apply_of_letheorem Cloning.GeneralCoherent.occupationPad_apply_of_lttheorem Cloning.GeneralCoherent.productVector_apply_of_letheorem Cloning.GeneralCoherent.multiplicity_fromExcitation_multheorem Cloning.GeneralCoherent.oneParticle_occupation_product1import Cloning.GeneralCoherentModel
2import Cloning.GeneralCoherentMultiplicity
3import Cloning.WernerPhysicalPullback
4
5/-! Exact coefficients of arbitrary-dimensional tensor powers in multimode
6Fock space, derived from the physical occupation isometry. -/
7noncomputable section
8open scoped BigOperators InnerProductSpace Topology
9namespace Cloning.GeneralCoherent
10open GeneralSymmetricOccupation
11set_option maxHeartbeats 1000000
12set_option backward.isDefEq.respectTransparency false
13
14/-- Group the literal tensor-product coefficients by their occupation counts. -/
15theorem word_prod_eq_profile {L d : ℕ} (x : Fin d → ℂ) (w : Word L d) :
16 (∏ i, x (w i)) = ∏ a, x a ^ profile w a := by
17 simpa only [Finset.prod_const, Finset.card_univ, profile] using
18 (Fintype.prod_fiberwise' w x).symm
19
20theorem finiteProductVector_apply {s : ℕ} (z : Fin s → ℂ) (L : ℕ)
21 (q : Occupation L (s + 1)) :
22 finiteProductVector z L q = (Real.sqrt (multiplicity q : ℝ) : ℂ) *
23 ∏ a, oneParticle z L a ^ q.val a := by
24 obtain ⟨w, hw⟩ := label_surjective L (s + 1) q
25 have h := congrArg (fun v : TensorSpace L (s + 1) => v w)
26 (isometry_finiteProductVector z L)
27 dsimp only at h
28 rw [isometry_apply, hw, productTensor_apply, word_prod_eq_profile] at h
29 have hp : profile w = q.val := congrArg Subtype.val hw
30 rw [hp] at h
31 have hm : (Real.sqrt (multiplicity q : ℝ) : ℂ) ≠ 0 := by
32 exact_mod_cast (Real.sqrt_pos.mpr (by exact_mod_cast multiplicity_pos q)).ne'
33 exact (div_eq_iff hm).mp h |>.trans (mul_comm _ _)
34
35/-- Full multimode padded occupation vector of the physical normalized tensor. -/
36def productVector {s : ℕ} (z : Fin s → ℂ) (L : ℕ) : FockSpace s :=
37 occupationPad L s (finiteProductVector z L)
38
39theorem productVector_norm {s : ℕ} (z : Fin s → ℂ) (L : ℕ) :
40 ‖productVector z L‖ = 1 := by
41 rw [productVector, LinearIsometry.norm_map, finiteProductVector_norm]
42
43theorem occupationPad_apply_of_le {L s : ℕ} (v : OccupationSpace L (s + 1))
44 (k : Fin s → ℕ) (hk : (∑ i, k i) ≤ L) :
45 occupationPad L s v k = v (fromExcitation k hk) := by
46 classical
47 rw [occupationPad, OrthogonalFamily.linearIsometry_apply, tsum_fintype]
48 simp only [LinearIsometry.toSpanSingleton_apply, lp.coeFn_sum, Finset.sum_apply,
49 lp.coeFn_smul, Pi.smul_apply, numberVector, lp.single_apply, Pi.single_apply, smul_eq_mul]
50 rw [Finset.sum_eq_single (fromExcitation k hk)]
51 · simp
52 · intro q hq hne
53 have hx : k ≠ excitation q := by
54 intro h
55 exact hne (excitation_injective L s (h.symm.trans (excitation_fromExcitation k hk).symm))
56 simp [hx]
57 · simp
58
59theorem occupationPad_apply_of_lt {L s : ℕ} (v : OccupationSpace L (s + 1))
60 (k : Fin s → ℕ) (hk : L < ∑ i, k i) : occupationPad L s v k = 0 := by
61 classical
62 rw [occupationPad, OrthogonalFamily.linearIsometry_apply, tsum_fintype]
63 simp only [LinearIsometry.toSpanSingleton_apply, lp.coeFn_sum, Finset.sum_apply,
64 lp.coeFn_smul, Pi.smul_apply, numberVector, lp.single_apply, Pi.single_apply, smul_eq_mul]
65 apply Finset.sum_eq_zero
66 intro q hq
67 have hx : k ≠ excitation q := by intro h; exact (not_le_of_gt hk) (h ▸ excitation_sum_le q)
68 simp [hx]
69
70theorem productVector_apply_of_le {s : ℕ} (z : Fin s → ℂ) (L : ℕ)
71 (k : Fin s → ℕ) (hk : (∑ i, k i) ≤ L) :
72 productVector z L k =
73 (Real.sqrt (multiplicity (fromExcitation k hk) : ℝ) : ℂ) *
74 ∏ a, oneParticle z L a ^ (fromExcitation k hk).val a := by
75 rw [productVector, occupationPad_apply_of_le _ k hk, finiteProductVector_apply]
76
77/-- The multinomial multiplicity with the vacuum occupation eliminated. -/
78theorem multiplicity_fromExcitation_mul {L s : ℕ} (k : Fin s → ℕ)
79 (hk : (∑ i, k i) ≤ L) :
80 multiplicity (fromExcitation k hk) * ∏ i, (k i).factorial =
81 L.choose (∑ i, k i) * (∑ i, k i).factorial := by
82 have hm := multiplicity_mul_factorials (fromExcitation k hk)
83 simp only [fromExcitation, GeneralSymmetricOccupation.compositionEquiv, Fin.prod_univ_succ] at hm
84 have hc := Nat.choose_mul_factorial_mul_factorial hk
85 apply Nat.eq_of_mul_eq_mul_left (Nat.factorial_pos (L - ∑ i, k i))
86 calc
87 _ = multiplicity (fromExcitation k hk) *
88 ((L - ∑ i, k i).factorial * ∏ i, (k i).factorial) := by ring
89 _ = L.factorial := hm
90 _ = _ := by rw [← hc]; ring
91
92/-- All amplitude dependence in an occupation coefficient is explicit. -/
93theorem oneParticle_occupation_product {s : ℕ} (z : Fin s → ℂ) (L : ℕ)
94 (q : Occupation L (s + 1)) :
95 (∏ a, oneParticle z L a ^ q.val a) =
96 (∏ i, z i ^ excitation q i) /
97 (Real.sqrt (L : ℝ) : ℂ) ^ (∑ i, excitation q i) /
98 (Real.sqrt (1 + energy z / L) : ℂ) ^ L := by
99 simp only [oneParticle, div_pow, Finset.prod_div_distrib,
100 Finset.prod_pow_eq_pow_sum, occupation_sum]
101 rw [Fin.prod_univ_succ]
102 simp only [Fin.cons_zero, one_pow, one_mul, Fin.cons_succ, div_pow,
103 Finset.prod_div_distrib, Finset.prod_pow_eq_pow_sum, excitation]
104
105end Cloning.GeneralCoherent