Offline · exact source
Exact Lean source

TensorSchurDecompositionMultiplicity

formalization/Cloning/TensorSchurDecompositionMultiplicity.lean

Source hash: d97e768130ff85a45a619ca56527e0ab8cce3d40f74d7827b1899fe113d74a6c

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.TensorSchurDecompositionPMF
2import Cloning.TensorSchurMultiplicityDecomposition
3import Cloning.YoungBranchingStandard
4 
5/-! Actual physical copy multiplicities equal the concrete standard-word count. -/
6noncomputable section
7open scoped BigOperators InnerProductSpace
8namespace Cloning.TensorLie
9open Cloning.YoungGeneral
10set_option maxHeartbeats 1000000
11set_option backward.isDefEq.respectTransparency false
12attribute [local instance] Classical.propDecidable
13variable {n d : ℕ}
14 
15theorem physicalCopyCount_eq_sum (L : List (PhysicalHighestTensor n d)) (mu : Fin d → ℕ) :
16    physicalCopyCount L mu = ∑ i : Fin L.length, if (L.get i).weight = mu then 1 else 0 := by
17  simp [physicalCopyCount, Finset.sum_boole]
18 
19@[simp] theorem physicalCopyCount_nil (mu : Fin d → ℕ) :
20    physicalCopyCount ([] : List (PhysicalHighestTensor n d)) mu = 0 := by
21  simp [physicalCopyCount]
22 
23@[simp] theorem physicalCopyCount_cons (H : PhysicalHighestTensor n d)
24    (L : List (PhysicalHighestTensor n d)) (mu : Fin d → ℕ) :
25    physicalCopyCount (H :: L) mu =
26      (if H.weight = mu then 1 else 0) + physicalCopyCount L mu := by
27  simp only [physicalCopyCount_eq_sum, List.length_cons, Fin.sum_univ_succ,
28    List.get_cons_zero]
29  rfl
30 
31@[simp] theorem physicalCopyCount_append (L K : List (PhysicalHighestTensor n d))
32    (mu : Fin d → ℕ) : physicalCopyCount (L ++ K) mu =
33      physicalCopyCount L mu + physicalCopyCount K mu := by
34  induction L with
35  | nil => simp
36  | cons H L ih => simp [ih, Nat.add_assoc]
37 
38/-- The predecessor count for one actual irreducible copy. Every addable row
39occurs exactly once, by the physical branching construction. -/
40theorem fundamentalBranchList_copyCount (H : PhysicalHighestTensor n d) (mu : Fin d → ℕ) :
41    physicalCopyCount (fundamentalBranchList H) mu =
42      if Antitone mu then ∑ r : Fin d,
43        if 0 < mu r then (if H.weight = removeBox mu r then 1 else 0) else 0 else 0 := by
44  by_cases hmu : Antitone mu
45  · rw [if_pos hmu]
46    have hc : physicalCopyCount (fundamentalBranchList H) mu =
47        (Finset.univ.filter (fun r : Fin d => addBox H.weight r = mu)).card := by
48      unfold physicalCopyCount
49      apply Finset.card_bij (fun i _ => (fundamentalBranchData H).rows i)
50      · intro i hi
51        apply Finset.mem_filter.mpr
52        exact ⟨Finset.mem_univ _, (fundamentalBranchData H).labels i |>.symm.trans
53          (Finset.mem_filter.mp hi).2⟩
54      · intro i hi j hj he
55        exact (fundamentalBranchData H).rows.injective he
56      · intro r hr
57        have he := (Finset.mem_filter.mp hr).2
58        obtain ⟨i, hi⟩ := ((fundamentalBranchData H).row_range r).mp (he ▸ hmu)
59        refine ⟨i, Finset.mem_filter.mpr ⟨Finset.mem_univ _, ?_⟩, hi⟩
60        exact ((fundamentalBranchData H).labels i).trans (hi ▸ he)
61    rw [hc]
62    calc
63      _ = ∑ r : Fin d, if addBox H.weight r = mu then (1 : ℕ) else 0 := by simp
64      _ = _ := by
65        apply Finset.sum_congr rfl
66        intro r _
67        by_cases hr : 0 < mu r <;> simp [addBox_eq_iff, hr]
68 
69  · rw [if_neg hmu]
70    exact physicalCopyCount_eq_zero_of_not_partition _ _ (Or.inl hmu)
71 
72/-- Refinement of a physical list obeys the same exact predecessor recurrence
73as the standard-tableau row words. -/
74theorem fundamentalRefinement_copyCount (L : List (PhysicalHighestTensor n d))
75    (mu : Fin d → ℕ) :
76    physicalCopyCount (L.flatMap fundamentalBranchList) mu =
77      if Antitone mu then ∑ r : Fin d,
78        if 0 < mu r then physicalCopyCount L (removeBox mu r) else 0 else 0 := by
79  by_cases hmu : Antitone mu
80  · rw [if_pos hmu]
81    induction L with
82    | nil => simp
83    | cons H L ih =>
84      rw [List.flatMap_cons, physicalCopyCount_append, fundamentalBranchList_copyCount,
85        if_pos hmu, ih, ← Finset.sum_add_distrib]
86      apply Finset.sum_congr rfl
87      intro r _
88      by_cases hr : 0 < mu r <;> simp [hr]
89  · rw [if_neg hmu]
90    exact physicalCopyCount_eq_zero_of_not_partition _ _ (Or.inl hmu)
91 
92/-- The physical multiplicity formula, with no representation-theoretic count
93or decomposition premise. -/
94theorem recursivePhysicalDecomposition_copyCount (n d : ℕ) (mu : Fin d → ℕ) :
95    physicalCopyCount (recursivePhysicalDecomposition n d) mu = standardCount n mu := by
96  induction n generalizing mu with
97  | zero =>
98    simp only [recursivePhysicalDecomposition_zero, physicalCopyCount_cons,
99      emptyPhysicalHighest_weight, physicalCopyCount_nil, Nat.add_zero]
100    have hs : ∀ w : Fin 0 → Fin d, IsStandardWord w := by
101      intro w k a b hab
102      simp
103    have hr : ∀ w : Fin 0 → Fin d, rowCount w = fun _ => 0 := by
104      intro w
105      funext a
106      simp [rowCount]
107    simp [standardCount_eq_sum, hs, hr]
108  | succ n ih =>
109    rw [recursivePhysicalDecomposition_succ, fundamentalRefinement_copyCount, standardCount_succ]
110    simp_rw [ih]
111 
112/-- The normalized physical Young law with exact standard-tableau multiplicity. -/
113def tensorYoungPMF (n d : ℕ) (p : Fin d → ℝ) (hp : ∀ a, 0 ≤ p a)
114    (hs : ∑ a, p a = 1) : PMF (Shape d n) :=
115  physicalYoungPMF (recursivePhysicalDecomposition n d)
116    (recursivePhysicalDecomposition_is_decomposition n d).1
117    (recursivePhysicalDecomposition_is_decomposition n d).2 p hp hs
118 
119theorem tensorYoungPMF_formula (n d : ℕ) (p : Fin d → ℝ) (hp : ∀ a, 0 ≤ p a)
120    (hs : ∑ a, p a = 1) (mu : Shape d n) :
121    (tensorYoungPMF n d p hp hs mu).toReal =
122      (standardCount n (fun a => (mu a).val) : ℝ) *
123        physicalSectorCharacter (fun a => (mu a).val) p := by
124  rw [tensorYoungPMF, physicalYoungPMF_toReal, recursivePhysicalDecomposition_copyCount]
125 
126end Cloning.TensorLie