Offline · exact source
Exact Lean source

TensorFlatProjectorSectorSupport

formalization/Cloning/TensorFlatProjectorSectorSupport.lean

Source hash: 51ceaea9f8376ed4fd196faa51f06ffa536587425f608b3bd348f3de589fedeb

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.TensorFlatProjectorRestriction
2 
3/-! Exact support operators and ranks on physical cyclic sectors. -/
4noncomputable section
5open scoped BigOperators InnerProductSpace
6namespace Cloning.TensorLie
7open Cloning.PCT
8set_option maxHeartbeats 1200000
9set_option synthInstance.maxHeartbeats 200000
10set_option backward.isDefEq.respectTransparency false
11variable {n r k : ℕ}
12local instance (n d : ℕ) : FiniteDimensional ℂ (TensorRegister n (Fin d)) :=
13  (registerBasis (Fin n → Fin d)).toOrthonormalBasis.toBasis.finiteDimensional_of_finite
14 
15/-- The adjoint coordinate restriction preserves the smaller cyclic sector. -/
16theorem coordinateTensorEmbedding_adjoint_mem (Ω : TensorRegister n (Fin r))
17    (x : cyclicSector (coordinateTensorEmbedding n r k Ω)) :
18    (coordinateTensorEmbedding n r k).toContinuousLinearMap.adjoint x ∈ cyclicSector Ω := by
19  obtain ⟨y,hy,he⟩ := coordinateTensorProjection_mem_image Ω x.property
20  change coordinateTensorEmbedding n r k y =
21    coordinateTensorEmbedding n r k ((coordinateTensorEmbedding n r k).toContinuousLinearMap.adjoint x) at he
22  rw [← (coordinateTensorEmbedding n r k).injective he]
23  exact hy
24 
25theorem coordinateSectorEmbedding_adjoint_coe (Ω : TensorRegister n (Fin r))
26    (x : cyclicSector (coordinateTensorEmbedding n r k Ω)) :
27    ((coordinateSectorEmbedding (k := k) Ω).toContinuousLinearMap.adjoint x : TensorRegister n (Fin r)) =
28      (coordinateTensorEmbedding n r k).toContinuousLinearMap.adjoint x := by
29  let y : cyclicSector Ω := ⟨_,coordinateTensorEmbedding_adjoint_mem Ω x⟩
30  have he : (coordinateSectorEmbedding (k := k) Ω).toContinuousLinearMap.adjoint x = y := by
31    apply ext_inner_left ℂ
32    intro z
33    rw [ContinuousLinearMap.adjoint_inner_right]
34    change ⟪coordinateTensorEmbedding n r k (z : TensorRegister n (Fin r)),
35      (x : TensorRegister n (Fin (r+k)))⟫_ℂ =
36        ⟪(z : TensorRegister n (Fin r)),
37          (coordinateTensorEmbedding n r k).toContinuousLinearMap.adjoint x⟫_ℂ
38    exact (ContinuousLinearMap.adjoint_inner_right
39      (coordinateTensorEmbedding n r k).toContinuousLinearMap
40      (z : TensorRegister n (Fin r)) (x : TensorRegister n (Fin (r+k)))).symm
41  exact congrArg Subtype.val he
42 
43/-- The restricted physical rank-r matrix is exactly the range projection
44of the actual rank-r cyclic-sector inclusion. -/
45theorem coordinateSectorEmbedding_support
46    (Ω : TensorRegister n (Fin r)) (mu : Fin r → ℕ)
47    (hweight : ∀ a, collectiveGenerator n a a Ω = (mu a : ℂ) • Ω)
48    (hraise : ∀ a b, a < b → collectiveGenerator n a b Ω = 0) :
49    cyclicTensorOperator (coordinateTensorEmbedding n r k Ω)
50      (fun a => (padPartition mu k a : ℂ))
51      (coordinateTensorEmbedding_highest Ω mu hweight hraise).1
52      (coordinateTensorEmbedding_highest Ω mu hweight hraise).2
53      (coordinateSupportMatrix r k) =
54    (coordinateSectorEmbedding (k := k) Ω).toContinuousLinearMap.comp
55      (coordinateSectorEmbedding (k := k) Ω).toContinuousLinearMap.adjoint := by
56  apply ContinuousLinearMap.ext
57  intro x
58  apply Subtype.ext
59  change tensorOperator n (coordinateSupportMatrix r k) (x : TensorRegister n (Fin (r+k))) =
60    coordinateTensorEmbedding n r k
61      (((coordinateSectorEmbedding (k := k) Ω).toContinuousLinearMap.adjoint x : cyclicSector Ω) :
62        TensorRegister n (Fin r))
63  rw [coordinateSectorEmbedding_adjoint_coe, ← coordinateTensorProjection_eq_tensorOperator]
64  rfl
65 
66/-- Its rank, equivalently its trace, is the actual support-sector dimension. -/
67theorem trace_coordinateSector_support
68    (Ω : TensorRegister n (Fin r)) (mu : Fin r → ℕ)
69    (hweight : ∀ a, collectiveGenerator n a a Ω = (mu a : ℂ) • Ω)
70    (hraise : ∀ a b, a < b → collectiveGenerator n a b Ω = 0) :
71    LinearMap.trace ℂ (cyclicSector (coordinateTensorEmbedding n r k Ω))
72      (cyclicTensorOperator (coordinateTensorEmbedding n r k Ω)
73        (fun a => (padPartition mu k a : ℂ))
74        (coordinateTensorEmbedding_highest Ω mu hweight hraise).1
75        (coordinateTensorEmbedding_highest Ω mu hweight hraise).2
76        (coordinateSupportMatrix r k)).toLinearMap =
77      (Module.finrank ℂ (cyclicSector Ω) : ℂ) := by
78  rw [coordinateSectorEmbedding_support Ω mu hweight hraise]
79  let J := (coordinateSectorEmbedding (k := k) Ω).toContinuousLinearMap
80  change LinearMap.trace ℂ _ (J.toLinearMap.comp J.adjoint.toLinearMap) = _
81  rw [LinearMap.trace_comp_comm']
82  have he : J.adjoint.comp J = 1 :=
83    (ContinuousLinearMap.norm_map_iff_adjoint_comp_self J).mp (coordinateSectorEmbedding Ω).norm_map
84  change LinearMap.trace ℂ _ (J.adjoint.comp J).toLinearMap = _
85  rw [he]
86  exact LinearMap.trace_id ℂ (cyclicSector Ω)
87 
88end Cloning.TensorLie