Exact Lean source
TensorSchurDecomposition
formalization/Cloning/TensorSchurDecomposition.lean
Source hash: 4241fbc08fae9924bbf5c15dac45d5344fb7b18c6f2c9f5c0e4abf5234e97fff
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
definition
Cloning.TensorLie.physicalSectorListSpantheorem Cloning.TensorLie.physicalSector_le_listSpantheorem Cloning.TensorLie.physicalSectorListSpan_le_ifftheorem Cloning.TensorLie.exists_physical_cyclic_decompositiontheorem Cloning.TensorLie.physicalSectorListSpan_eq_iSuptheorem Cloning.TensorLie.physicalSectorList_orthogonalFamilytheorem Cloning.TensorLie.exists_tensor_cyclic_decomposition1import Cloning.TensorSchurDecompositionData
2
3/-! Exhaustive finite orthogonal decomposition into actual irreducible highest sectors. -/
4noncomputable section
5open scoped BigOperators InnerProductSpace
6namespace Cloning.TensorLie
7open Cloning.PCT
8set_option maxHeartbeats 1000000
9set_option backward.isDefEq.respectTransparency false
10variable {n d : ℕ}
11
12local instance : FiniteDimensional ℂ (TensorRegister n (Fin d)) :=
13 (registerBasis (Fin n → Fin d)).toOrthonormalBasis.toBasis.finiteDimensional_of_finite
14
15/-- Finite orthogonal sector sums, allowing repeated partition labels. -/
16noncomputable def physicalSectorListSpan : List (PhysicalHighestTensor n d) → Submodule ℂ (TensorRegister n (Fin d))
17 | [] => ⊥
18 | H :: L => H.sector ⊔ physicalSectorListSpan L
19
20theorem physicalSector_le_listSpan {L : List (PhysicalHighestTensor n d)}
21 {H : PhysicalHighestTensor n d} (hH : H ∈ L) : H.sector ≤ physicalSectorListSpan L := by
22 induction L with
23 | nil => simp at hH
24 | cons K L ih =>
25 rcases List.mem_cons.mp hH with rfl | hH
26 · exact le_sup_left
27 · exact (ih hH).trans le_sup_right
28
29theorem physicalSectorListSpan_le_iff (L : List (PhysicalHighestTensor n d))
30 (W : Submodule ℂ (TensorRegister n (Fin d))) :
31 physicalSectorListSpan L ≤ W ↔ ∀ H ∈ L, H.sector ≤ W := by
32 induction L with
33 | nil => simp [physicalSectorListSpan]
34 | cons H L ih => simp only [physicalSectorListSpan, sup_le_iff, ih, List.forall_mem_cons]
35
36/-- Repeatedly extracting an actual highest tensor strictly lowers the
37remaining dimension and exhausts every invariant physical subspace. -/
38theorem exists_physical_cyclic_decomposition
39 (W : Submodule ℂ (TensorRegister n (Fin d)))
40 (hW : ∀ a b x, x ∈ W → collectiveGenerator n a b x ∈ W) :
41 ∃ L : List (PhysicalHighestTensor n d),
42 L.Pairwise (fun H K => H.sector ⟂ K.sector) ∧ physicalSectorListSpan L = W := by
43 classical
44 have aux : ∀ k : ℕ, ∀ W : Submodule ℂ (TensorRegister n (Fin d)),
45 Module.finrank ℂ W = k →
46 (∀ a b x, x ∈ W → collectiveGenerator n a b x ∈ W) →
47 ∃ L : List (PhysicalHighestTensor n d),
48 L.Pairwise (fun H K => H.sector ⟂ K.sector) ∧ physicalSectorListSpan L = W := by
49 intro k
50 induction k using Nat.strong_induction_on with
51 | h k ih =>
52 intro W hdim hW
53 by_cases hz : W = ⊥
54 · exact ⟨[], by simp, hz.symm⟩
55 · obtain ⟨H, hH⟩ := exists_physicalHighestTensor_le W hW hz
56 let R : Submodule ℂ (TensorRegister n (Fin d)) := H.sectorᗮ ⊓ W
57 have hR : ∀ a b x, x ∈ R → collectiveGenerator n a b x ∈ R := by
58 intro a b x hx
59 exact ⟨generatorInvariant_orthogonal H.sector
60 (fun a b y hy => H.generator_invariant a b hy) a b hx.1, hW a b x hx.2⟩
61 have hRne : R ≠ W := by
62 intro he
63 have hm : H.vector ∈ R := by rw [he]; exact hH H.vector_mem
64 have hi := (H.sector.mem_orthogonal H.vector).mp hm.1 H.vector H.vector_mem
65 have hv : H.vector = 0 := inner_self_eq_zero.mp hi
66 have hn := H.norm_one
67 simp only [hv, norm_zero, zero_ne_one] at hn
68 have hlt : Module.finrank ℂ R < k := by
69 rw [← hdim]
70 exact Submodule.finrank_lt_finrank_of_lt
71 (lt_iff_le_and_ne.mpr ⟨inf_le_right, hRne⟩)
72 obtain ⟨L, hLorth, hLspan⟩ := ih (Module.finrank ℂ R) hlt R rfl hR
73 refine ⟨H :: L, List.pairwise_cons.mpr ⟨?_, hLorth⟩, ?_⟩
74 · intro K hK
75 have hKR : K.sector ≤ R := (physicalSector_le_listSpan hK).trans (le_of_eq hLspan)
76 exact (Submodule.isOrtho_orthogonal_right H.sector).mono_right
77 (hKR.trans inf_le_left)
78 · rw [physicalSectorListSpan, hLspan]
79 exact Submodule.sup_orthogonal_inf_of_hasOrthogonalProjection hH
80 exact aux (Module.finrank ℂ W) W rfl hW
81
82theorem physicalSectorListSpan_eq_iSup (L : List (PhysicalHighestTensor n d)) :
83 physicalSectorListSpan L = ⨆ i : Fin L.length, (L.get i).sector := by
84 apply le_antisymm
85 · apply (physicalSectorListSpan_le_iff L _).mpr
86 intro H hH
87 obtain ⟨i, rfl⟩ := List.mem_iff_get.mp hH
88 exact le_iSup (fun j : Fin L.length => (L.get j).sector) i
89 · apply iSup_le
90 intro i
91 exact physicalSector_le_listSpan (List.get_mem L i)
92
93theorem physicalSectorList_orthogonalFamily (L : List (PhysicalHighestTensor n d))
94 (hL : L.Pairwise (fun H K => H.sector ⟂ K.sector)) :
95 OrthogonalFamily ℂ (fun i : Fin L.length => (L.get i).sector)
96 (fun i => (L.get i).sector.subtypeₗᵢ) := by
97 apply OrthogonalFamily.of_pairwise
98 intro i j hij
99 rcases lt_or_gt_of_ne hij with hij | hji
100 · exact hL.rel_get_of_lt hij
101 · exact (hL.rel_get_of_lt hji).symm
102
103/-- The full physical tensor register is exhausted by finitely many orthogonal
104actual highest sectors. Labels are partitions, with multiplicities retained. -/
105theorem exists_tensor_cyclic_decomposition (n d : ℕ) :
106 ∃ L : List (PhysicalHighestTensor n d),
107 OrthogonalFamily ℂ (fun i : Fin L.length => (L.get i).sector)
108 (fun i => (L.get i).sector.subtypeₗᵢ) ∧
109 (⨆ i : Fin L.length, (L.get i).sector) = ⊤ := by
110 obtain ⟨L, hLorth, hLspan⟩ := exists_physical_cyclic_decomposition
111 (⊤ : Submodule ℂ (TensorRegister n (Fin d))) (fun _ _ _ _ => Submodule.mem_top)
112 exact ⟨L, physicalSectorList_orthogonalFamily L hLorth,
113 (physicalSectorListSpan_eq_iSup L).symm.trans hLspan⟩
114
115end Cloning.TensorLie