Offline · exact source
Exact Lean source

WeylCharacterAlternantUniqueness

formalization/Cloning/WeylCharacterAlternantUniqueness.lean

Source hash: 46e41ce19ca3f939c3445f470a3d63471de29027168072084343e797ab6b8d0a

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.WeylCharacterAlternantDenominator
2 
3/-! Dominance and the actual Euler spectrum force support on a single Weyl
4orbit. Alternation then determines the polynomial from one coefficient. -/
5noncomputable section
6open scoped BigOperators Classical
7open MvPolynomial
8namespace Cloning.WeylCharacter
9set_option backward.isDefEq.respectTransparency false
10 
11theorem support_on_orbit_of_eigen_dominance {d : ℕ}
12    (P : MvPolynomial (Fin d) ℂ) (a : Fin d → ℕ) (ha : StrictAnti a)
13    (heigen : eulerSquares P = (∑ i, (a i : ℂ)^2) • P)
14    (hdom : ∀ m, coeff m P ≠ 0 → SubsetDominatedBy (fun i ↦ (m i : ℝ)) (fun i ↦ (a i : ℝ)))
15    (m : Fin d →₀ ℕ) (hm : coeff m P ≠ 0) :
16    ∃ σ : Equiv.Perm (Fin d), m = exponentOf (a ∘ σ) := by
17  let σ : Equiv.Perm (Fin d) := Tuple.sort (α := OrderDual ℕ) (fun i : Fin d ↦ (m i : OrderDual ℕ))
18  have hb : Antitone (fun i ↦ m (σ i)) := by
19    intro i j hij
20    exact (Tuple.monotone_sort (α := OrderDual ℕ) (fun i : Fin d ↦ (m i : OrderDual ℕ))) hij
21  have hbr : Antitone (fun i ↦ (m (σ i) : ℝ)) := by
22    intro i j hij
23    change (m (σ j) : ℝ) ≤ (m (σ i) : ℝ)
24    exact_mod_cast hb hij
25  have har : StrictAnti (fun i ↦ (a i : ℝ)) := by
26    intro i j hij
27    change (a j : ℝ) < (a i : ℝ)
28    exact_mod_cast ha hij
29  have hsq := support_eulerSquares_eigenvalue P _ heigen m hm
30  have hsqN : (∑ i, m i ^ 2) = ∑ i, a i ^ 2 := by exact_mod_cast hsq
31  have hsqR : (∑ i, (m i : ℝ)^2) = ∑ i, (a i : ℝ)^2 := by exact_mod_cast hsqN
32  have hperm : (∑ i, (m (σ i) : ℝ)^2) = ∑ i, (m i : ℝ)^2 :=
33    Equiv.sum_comp σ (fun i ↦ (m i : ℝ)^2)
34  have heq := fin_dominant_eq_of_sum_squares
35    (fun i ↦ (a i : ℝ)) (fun i ↦ (m (σ i) : ℝ)) har hbr
36    ((subsetDominatedBy_iff_permutations _ _).mp (hdom m hm) σ)
37    (by rw [hperm, hsqR])
38  refine ⟨σ.symm, ?_⟩
39  ext i
40  have hi := congrFun heq (σ.symm i)
41  simpa only [Equiv.apply_symm_apply, exponentOf_apply, Function.comp_apply,
42    Nat.cast_inj] using hi.symm
43 
44def Alternating {d : ℕ} (P : MvPolynomial (Fin d) ℂ) : Prop :=
45  ∀ σ : Equiv.Perm (Fin d), rename σ P = ((Equiv.Perm.sign σ : ℤ) : ℂ) • P
46 
47theorem sign_complex_ne_zero {d : ℕ} (σ : Equiv.Perm (Fin d)) :
48    ((Equiv.Perm.sign σ : ℤ) : ℂ) ≠ 0 := by
49  exact_mod_cast (Equiv.Perm.sign σ).ne_zero
50 
51theorem alternating_coeff_permuted {d : ℕ} (P : MvPolynomial (Fin d) ℂ)
52    (hP : Alternating P) (σ : Equiv.Perm (Fin d)) (m : Fin d →₀ ℕ) :
53    coeff m P = ((Equiv.Perm.sign σ : ℤ) : ℂ) * coeff (m.mapDomain σ) P := by
54  have h := congrArg (coeff (m.mapDomain σ)) (hP σ)
55  rw [coeff_rename_mapDomain σ σ.injective, coeff_smul, smul_eq_mul] at h
56  exact h
57 
58theorem exponentOf_comp_eq_mapDomain {d : ℕ} (a : Fin d → ℕ) (σ : Equiv.Perm (Fin d)) :
59    exponentOf (a ∘ σ) = (exponentOf a).mapDomain σ.symm := by
60  ext i
61  simp [Finsupp.mapDomain_equiv_apply, exponentOf_apply]
62 
63theorem alternating_eq_of_orbit_and_top {d : ℕ} (P Q : MvPolynomial (Fin d) ℂ)
64    (a : Fin d → ℕ) (hP : Alternating P) (hQ : Alternating Q)
65    (hsP : ∀ m, coeff m P ≠ 0 → ∃ σ : Equiv.Perm (Fin d), m = exponentOf (a ∘ σ))
66    (hsQ : ∀ m, coeff m Q ≠ 0 → ∃ σ : Equiv.Perm (Fin d), m = exponentOf (a ∘ σ))
67    (htop : coeff (exponentOf a) P = coeff (exponentOf a) Q) : P = Q := by
68  apply MvPolynomial.ext
69  intro m
70  by_cases hs : ∃ σ : Equiv.Perm (Fin d), m = exponentOf (a ∘ σ)
71  · obtain ⟨σ, rfl⟩ := hs
72    rw [exponentOf_comp_eq_mapDomain]
73    apply mul_left_cancel₀ (sign_complex_ne_zero σ.symm)
74    rw [← alternating_coeff_permuted P hP, ← alternating_coeff_permuted Q hQ, htop]
75  · have hp : coeff m P = 0 := by by_contra hp; exact hs (hsP m hp)
76    have hq : coeff m Q = 0 := by by_contra hq; exact hs (hsQ m hq)
77    rw [hp, hq]
78 
79theorem alternant_alternating {d : ℕ} (a : Fin d → ℕ) : Alternating (alternant a) := by
80  intro σ
81  rw [alternant, AlgHom.map_det]
82  have hmat : (fun i j : Fin d ↦ rename σ (X i ^ a j : MvPolynomial (Fin d) ℂ)) =
83      (show Matrix (Fin d) (Fin d) (MvPolynomial (Fin d) ℂ) from fun i j ↦ X i ^ a j).submatrix σ
84        id := by
85    ext i j
86    simp [Matrix.submatrix_apply]
87  change Matrix.det (fun i j ↦ rename σ (X i ^ a j)) = _
88  rw [hmat, Matrix.det_permute]
89  simp [Algebra.smul_def]
90 
91theorem alternant_support_orbit {d : ℕ} (a : Fin d → ℕ) (m : Fin d →₀ ℕ)
92    (hm : coeff m (alternant a) ≠ 0) :
93    ∃ σ : Equiv.Perm (Fin d), m = exponentOf (a ∘ σ) := by
94  by_contra! hh
95  apply hm
96  rw [alternant_expansion, coeff_sum]
97  apply Finset.sum_eq_zero
98  intro σ hσ
99  simp [coeff_smul, coeff_monomial, Ne.symm (hh σ.symm)]
100 
101theorem alternant_top_coeff {d : ℕ} (a : Fin d → ℕ) (ha : Function.Injective a) :
102    coeff (exponentOf a) (alternant a) = 1 := by
103  rw [alternant_expansion, coeff_sum]
104  have hneq (σ : Equiv.Perm (Fin d)) (hσ : σ ≠ 1) :
105      exponentOf (a ∘ σ.symm) ≠ exponentOf a := by
106    intro he
107    apply hσ
108    apply Equiv.ext
109    intro i
110    have hi := congrArg (fun m : Fin d →₀ ℕ ↦ m (σ i)) he
111    simp only [exponentOf_apply, Function.comp_apply, Equiv.symm_apply_apply] at hi
112    exact (ha hi).symm
113  rw [Finset.sum_eq_single 1]
114  · simp
115  · intro σ hσ hσ1
116    simp [coeff_smul, coeff_monomial, hneq σ hσ1]
117  · simp
118 
119/-- A finite spectral uniqueness theorem, with all dominance, eigenvalue,
120alternation and top coefficient hypotheses explicit. -/
121theorem eq_alternant_of_spectral_data {d : ℕ} (P : MvPolynomial (Fin d) ℂ)
122    (a : Fin d → ℕ) (ha : StrictAnti a) (hP : Alternating P)
123    (heigen : eulerSquares P = (∑ i, (a i : ℂ)^2) • P)
124    (hdom : ∀ m, coeff m P ≠ 0 → SubsetDominatedBy (fun i ↦ (m i : ℝ)) (fun i ↦ (a i : ℝ)))
125    (htop : coeff (exponentOf a) P = 1) : P = alternant a := by
126  apply alternating_eq_of_orbit_and_top P (alternant a) a hP (alternant_alternating a)
127    (support_on_orbit_of_eigen_dominance P a ha heigen hdom) (alternant_support_orbit a)
128  rw [htop, alternant_top_coeff a ha.injective]
129 
130end Cloning.WeylCharacter