Offline · exact source
Exact Lean source

TensorGibbsHeightBasis

formalization/Cloning/TensorGibbsHeightBasis.lean

Source hash: 47611c0fabf9e62064a0befc8f044eb7e2986c35d3e17e4a511d40414a5b9734

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.TensorGibbsTrace
2import Cloning.TensorPBWCutoffBasis
3 
4/-! Exact occupation bases of each physical height space, obtained from the
5proved cutoff basis. -/
6noncomputable section
7open scoped BigOperators InnerProductSpace
8namespace Cloning.TensorLie
9open Cloning.PCT
10set_option maxHeartbeats 1200000
11set_option backward.isDefEq.respectTransparency false
12variable {n d : ℕ}
13local instance : FiniteDimensional ℂ (TensorRegister n (Fin d)) :=
14  (registerBasis (Fin n → Fin d)).toOrthonormalBasis.toBasis.finiteDimensional_of_finite
15 
16abbrev ExactHeightOccupation (d H : ℕ) :=
17  {k : HeightOccupation d H // occupationHeight k.val = H}
18 
19def canonicalHeightVector (Ω : TensorRegister n (Fin d)) (mu : Fin d → ℕ) (H : ℕ)
20    (k : ExactHeightOccupation d H) : sectorHeightSpace Ω H :=
21  ⟨⟨normalizedLoweringWord Ω mu (canonicalWord k.val.val),
22    cyclicCutoff_le_cyclicSector Ω _
23      (normalizedLoweringWord_mem_cyclicCutoff Ω mu _ (R := (H : ℤ)) (by
24        rw [canonicalWord_height]; exact_mod_cast k.val.property))⟩, by
25    change normalizedLoweringWord Ω mu (canonicalWord k.val.val) ∈ cyclicHeightSpace Ω H
26    rw [normalizedLoweringWord_eq_scale]
27    exact Submodule.smul_mem _ _ (Submodule.subset_span
28      ⟨canonicalWord k.val.val, (canonicalWord_height _).trans k.property, rfl⟩)⟩
29 
30theorem span_canonicalHeightVector_eq_top (Ω : TensorRegister n (Fin d))
31    (mu : Fin d → ℕ) (H : ℕ)
32    (hgap : ∀ a : PositiveRoot d, 0 < (mu a.val.1 : ℝ) - mu a.val.2) :
33    Submodule.span ℂ (Set.range (canonicalHeightVector Ω mu H)) = ⊤ := by
34  apply (Submodule.span_range_subtype_eq_top_iff (sectorHeightSpace Ω H) _).mpr
35  apply (Submodule.map_injective_of_injective (cyclicSector Ω).injective_subtype)
36  rw [Submodule.map_span]
37  have hs : (sectorHeightSpace Ω H).map (cyclicSector Ω).subtype = cyclicHeightSpace Ω H := by
38    rw [sectorHeightSpace, Submodule.map_comap_eq]
39    rw [Submodule.range_subtype, inf_eq_right]
40    exact (cyclicHeightSpace_le_cutoff Ω H).trans (cyclicCutoff_le_cyclicSector Ω _)
41  rw [hs]
42  simp only [← Set.range_comp, Function.comp_def]
43  change Submodule.span ℂ (Set.range (fun k : ExactHeightOccupation d H =>
44    normalizedLoweringWord Ω mu (canonicalWord k.val.val))) = _
45  rw [span_normalizedLoweringWord_eq Ω mu hgap, cyclicHeightSpace_eq_span_canonical]
46  congr 1
47  ext x
48  constructor
49  · rintro ⟨k, rfl⟩
50    exact ⟨k.val, k.property, rfl⟩
51  · rintro ⟨k, hk, rfl⟩
52    exact ⟨⟨k,hk⟩, rfl⟩
53 
54def canonicalHeightBasis (Ω : TensorRegister n (Fin d)) (mu : Fin d → ℕ) (H : ℕ)
55    (hgap : ∀ a : PositiveRoot d, 0 < (mu a.val.1 : ℝ) - mu a.val.2)
56    (hli : LinearIndependent ℂ (fun k : HeightOccupation d H =>
57      normalizedLoweringWord Ω mu (canonicalWord k.val))) :
58    Module.Basis (ExactHeightOccupation d H) ℂ (sectorHeightSpace Ω H) :=
59  Module.Basis.mk
60    (LinearIndependent.of_comp (v := canonicalHeightVector Ω mu H)
61      ((cyclicSector Ω).subtype.comp (sectorHeightSpace Ω H).subtype)
62      (hli.comp (fun k : ExactHeightOccupation d H => k.val) Subtype.val_injective))
63    (span_canonicalHeightVector_eq_top Ω mu H hgap).ge
64 
65@[simp] theorem canonicalHeightBasis_coe (Ω : TensorRegister n (Fin d))
66    (mu : Fin d → ℕ) (H : ℕ)
67    (hgap : ∀ a : PositiveRoot d, 0 < (mu a.val.1 : ℝ) - mu a.val.2)
68    (hli : LinearIndependent ℂ (fun k : HeightOccupation d H =>
69      normalizedLoweringWord Ω mu (canonicalWord k.val))) (k : ExactHeightOccupation d H) :
70    ((canonicalHeightBasis Ω mu H hgap hli k : cyclicSector Ω) : TensorRegister n (Fin d)) =
71      normalizedLoweringWord Ω mu (canonicalWord k.val.val) := by
72  rw [canonicalHeightBasis, Module.Basis.mk_apply]
73  rfl
74 
75end Cloning.TensorLie