Exact Lean source
TensorFlatProjectorDimensions
formalization/Cloning/TensorFlatProjectorDimensions.lean
Source hash: 14a52d27990b7b7426e49d99adbe21c4aa8eace6741eca87813639911682bed4
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.padPartitiontheorem Cloning.TensorLie.padPartition_lefttheorem Cloning.TensorLie.padPartition_righttheorem Cloning.TensorLie.padPartition_antitonetheorem Cloning.TensorLie.sum_padPartitiontheorem Cloning.TensorLie.dimensionProduct_padPartitiontheorem Cloning.TensorLie.partitionDimension_pad_ratio1import Cloning.TensorFlatProjectorDimensionLimit
2import Cloning.YoungDimensionRatio
3
4/-! Exact ambient/support dimension ratios for zero-padded physical partitions. -/
5noncomputable section
6open scoped BigOperators
7namespace Cloning.TensorLie
8open Cloning.WeylCharacter Cloning.YoungDimensionRatio
9set_option maxHeartbeats 1000000
10set_option backward.isDefEq.respectTransparency false
11variable {r k : ℕ}
12
13def padPartition (mu : Fin r → ℕ) (k : ℕ) : Fin (r+k) → ℕ :=
14 Fin.append mu (fun _ => 0)
15
16@[simp] theorem padPartition_left (mu : Fin r → ℕ) (i : Fin r) :
17 padPartition mu k (Fin.castAdd k i) = mu i := Fin.append_left ..
18
19@[simp] theorem padPartition_right (mu : Fin r → ℕ) (j : Fin k) :
20 padPartition mu k (Fin.natAdd r j) = 0 := Fin.append_right ..
21
22theorem padPartition_antitone (mu : Fin r → ℕ) (hmu : Antitone mu) (k : ℕ) :
23 Antitone (padPartition mu k) := by
24 intro i j
25 induction i using Fin.addCases with
26 | left i =>
27 induction j using Fin.addCases with
28 | left j =>
29 intro hij
30 simpa only [padPartition_left] using hmu (show i ≤ j from hij)
31 | right j => simp
32 | right i =>
33 induction j using Fin.addCases with
34 | left j =>
35 intro hij
36 have hh : r+i.val ≤ j.val := hij
37 omega
38 | right j => simp
39
40@[simp] theorem sum_padPartition (mu : Fin r → ℕ) (k : ℕ) :
41 ∑ a, padPartition mu k a = ∑ a, mu a := by
42 rw [Fin.sum_univ_add]
43 simp
44
45private theorem dimensionProduct_eq_allPairs {d : ℕ} (mu : Fin d → ℕ) :
46 dimensionProduct mu = ∏ i : Fin d, ∏ j : Fin d,
47 if i < j then ((mu i : ℝ)-mu j+j.val-i.val)/((j.val:ℝ)-i.val) else 1 := by
48 rw [dimensionProduct_eq_pairProduct]
49 apply Finset.prod_congr rfl
50 intro i _
51 rw [← Finset.prod_filter]
52 congr 1
53 ext j
54 simp
55
56private theorem zero_tail_factor (i j : Fin k) :
57 (if Fin.natAdd r i < Fin.natAdd r j then
58 (((0:ℕ):ℝ)-0+(Fin.natAdd r j).val-(Fin.natAdd r i).val) /
59 (((Fin.natAdd r j).val:ℝ)-(Fin.natAdd r i).val) else 1) = 1 := by
60 split_ifs with h
61 · simp only [Nat.cast_zero, sub_zero, zero_add]
62 apply div_self
63 have hh : ((Fin.natAdd r i).val : ℝ) < (Fin.natAdd r j).val := by exact_mod_cast h
64 linarith
65 · rfl
66
67/-- The physical Weyl product factors into support and crossing roots. -/
68theorem dimensionProduct_padPartition (mu : Fin r → ℕ) (k : ℕ) :
69 dimensionProduct (padPartition mu k) =
70 dimensionProduct mu * dimensionRatio r k (fun i => (mu i : ℝ)) := by
71 rw [dimensionProduct_eq_allPairs, Fin.prod_univ_add]
72 simp_rw [Fin.prod_univ_add, padPartition_left, padPartition_right]
73 have hcross (i : Fin r) (j : Fin k) : Fin.castAdd k i < Fin.natAdd r j := by
74 change i.val < r+j.val
75 omega
76 have hback (i : Fin k) (j : Fin r) : ¬ Fin.natAdd r i < Fin.castAdd k j := by
77 change ¬ r+i.val < j.val
78 omega
79 have hsame (i j : Fin r) : (Fin.castAdd k i < Fin.castAdd k j) ↔ i < j := Iff.rfl
80 simp only [hsame, hcross, hback, if_true, if_false,
81 zero_tail_factor, Finset.prod_const_one, one_mul, mul_one]
82 simp only [Fin.val_castAdd]
83 simp only [Nat.cast_zero]
84 have htail : (∏ i : Fin k, ∏ j : Fin k,
85 if Fin.natAdd r i < Fin.natAdd r j then
86 ((0:ℝ)-0+(Fin.natAdd r j).val-(Fin.natAdd r i).val) /
87 (((Fin.natAdd r j).val:ℝ)-(Fin.natAdd r i).val) else 1) = 1 := by
88 apply Finset.prod_eq_one
89 intro i _
90 apply Finset.prod_eq_one
91 intro j _
92 simpa only [Nat.cast_zero] using zero_tail_factor (r := r) i j
93 rw [htail, mul_one, Finset.prod_mul_distrib, dimensionProduct_eq_allPairs]
94 congr 1
95 unfold dimensionRatio
96 rw [Fintype.prod_prod_type]
97 apply Finset.prod_congr rfl
98 intro i _
99 apply Finset.prod_congr rfl
100 intro j _
101 simp only [Fin.val_castAdd, Fin.val_natAdd, Nat.cast_add, Nat.cast_zero, sub_zero,
102 crossingGap]
103 congr 1
104 ring
105
106/-- The ratio uses the actual ambient and support Hilbert-space dimensions. -/
107theorem partitionDimension_pad_ratio (mu : Fin r → ℕ) (hmu : Antitone mu) (k : ℕ) :
108 (partitionDimension (padPartition mu k) (padPartition_antitone mu hmu k) : ℝ) /
109 (partitionDimension mu hmu : ℝ) = dimensionRatio r k (fun i => (mu i : ℝ)) := by
110 rw [partitionDimension_eq_dimensionProduct, partitionDimension_eq_dimensionProduct,
111 dimensionProduct_padPartition, mul_div_cancel_left₀ _ (dimensionProduct_pos mu hmu).ne']
112
113end Cloning.TensorLie