Offline · exact source
Exact Lean source

TensorLieFiltration

formalization/Cloning/TensorLieFiltration.lean

Source hash: 7f1fc0250c9d6dd5ac2cb9652a8165cf0857340807d9762172637a615d4a9710

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.TensorLieHighestWeight
2 
3/-! Actual simple-root-height support cutoffs on finite tensor registers.
4These supply concrete raising and lowering invariants for the one-row
5highest-weight tensor; no filtration-shift assumptions are used. -/
6 
7noncomputable section
8open scoped BigOperators InnerProductSpace ComplexOrder
9namespace Cloning.TensorLie
10open Cloning.PCT
11set_option maxHeartbeats 1000000
12set_option backward.isDefEq.respectTransparency false
13variable {n d : ℕ}
14 
15def wordHeight (w : Fin n → Fin (d + 1)) : ℕ := ∑ t, (w t).val
16 
17theorem wordHeight_update (w : Fin n → Fin (d + 1)) (t : Fin n) (a : Fin (d + 1)) :
18    wordHeight (Function.update w t a) + (w t).val = wordHeight w + a.val := by
19  have he := Finset.sum_congr (s₁ := (Finset.univ : Finset (Fin n))) rfl
20    (fun u _ => show (Function.update w t a u).val + (if u = t then (w t).val else 0) =
21      (w u).val + (if u = t then a.val else 0) from by
22        by_cases h : u = t
23        · subst u; simp [Nat.add_comm]
24        · simp [h])
25  simpa only [wordHeight, Finset.sum_add_distrib, Finset.sum_ite_eq',
26    Finset.mem_univ, if_true] using he
27 
28def heightCutoff (n d r : ℕ) : Submodule ℂ (TensorRegister n (Fin (d + 1))) where
29  carrier := {x | ∀ w, r < wordHeight w → x w = 0}
30  zero_mem' := by intro w _; rfl
31  add_mem' := by intro x y hx hy w hw; simp [hx w hw, hy w hw]
32  smul_mem' := by intro c x hx w hw; simp [lp.coeFn_smul, hx w hw]
33 
34theorem heightCutoff_monotone (n d : ℕ) : Monotone (heightCutoff n d) := by
35  intro r s hrs x hx w hw
36  exact hx w (hrs.trans_lt hw)
37 
38theorem highestTensor_mem_heightCutoff_zero (n d : ℕ) :
39    highestTensor n d ∈ heightCutoff n d 0 := by
40  intro w hw
41  have hn : w ≠ (fun _ => 0) := by
42    intro he
43    rw [he] at hw
44    simp [wordHeight] at hw
45  simp [highestTensor, registerBasis_apply, lp.single_apply, hn]
46 
47/-- A raising root lowers the actual height cutoff by at least one. -/
48theorem collectiveGenerator_lowers_cutoff (a b : Fin (d + 1)) (hab : a < b)
49    (r : ℕ) (x : TensorRegister n (Fin (d + 1))) (hx : x ∈ heightCutoff n d (r + 1)) :
50    collectiveGenerator n a b x ∈ heightCutoff n d r := by
51  intro w hw
52  rw [collectiveGenerator_apply]
53  apply Finset.sum_eq_zero
54  intro t _
55  by_cases ha : w t = a
56  · rw [if_pos ha]
57    apply hx
58    have hh := wordHeight_update w t b
59    rw [ha] at hh
60    have : a.val < b.val := hab
61    omega
62  · rw [if_neg ha]
63 
64theorem collectiveGenerator_zero_cutoff (a b : Fin (d + 1)) (hab : a < b)
65    (x : TensorRegister n (Fin (d + 1))) (hx : x ∈ heightCutoff n d 0) :
66    collectiveGenerator n a b x = 0 := by
67  ext w
68  rw [collectiveGenerator_apply]
69  change _ = 0
70  apply Finset.sum_eq_zero
71  intro t _
72  by_cases ha : w t = a
73  · rw [if_pos ha]
74    apply hx
75    have hh := wordHeight_update w t b
76    rw [ha] at hh
77    have : a.val < b.val := hab
78    omega
79  · rw [if_neg ha]
80 
81/-- A lowering root raises simple-root height by at most `d`. -/
82theorem collectiveGenerator_raises_cutoff (a b : Fin (d + 1))
83    (r : ℕ) (x : TensorRegister n (Fin (d + 1))) (hx : x ∈ heightCutoff n d r) :
84    collectiveGenerator n b a x ∈ heightCutoff n d (r + d) := by
85  intro w hw
86  rw [collectiveGenerator_apply]
87  apply Finset.sum_eq_zero
88  intro t _
89  by_cases hb : w t = b
90  · rw [if_pos hb]
91    apply hx
92    have hh := wordHeight_update w t a
93    rw [hb] at hh
94    have := b.isLt
95    omega
96  · rw [if_neg hb]
97 
98end Cloning.TensorLie