hn_eigenvalues
def
For a natural number n and real numbers l1, l2, l3, hn_eigenvalues n l1 l2 l3 is the function on Fin (3 * n) defined by: l1 at index 0, l2 at index 1, 0 at indices strictly between 1 and 3 * n - 2, l3 at index 3 * n - 2, and -(n : ℝ) elsewhere.
Statement
def hn_eigenvalues (n : ℕ) (l1 l2 l3 : ℝ) : Fin (3 * n) → ℝ- Defined in
- arXiv:2610.18636 Section 2
- Verified
- 21 Oct 2026
- Axioms
- none listed
- Used by 1
- spectral_distances_knnn_hn_eigenvaluesLet n >= 2 and let l1, l2, l3 be real numbers such that l1 + l2 + l3 = n, l1 < 2 * n, 0 < l2, and -n < l3. Let Lam = 2 * n - l1. Then 0 <…
Read back from the Lean
The definition hn_eigenvalues takes a natural number n and three real numbers l1, l2, and l3, and returns a function from Fin (3 * n) to ℝ. Given i : Fin (3 * n), it evaluates to:
- l1 if i.val = 0,
- l2 if i.val = 1,
- 0 if i.val < 3 * n - 2 (using natural subtraction),
- l3 if i.val = 3 * n - 2,
- -(n : ℝ) otherwise.
Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.
Lean source view module on GitHub
/-- Eigenvalue sequence of H_n of length 3n in descending order. -/ def hn_eigenvalues (n : ℕ) (l1 l2 l3 : ℝ) : Fin (3 * n) → ℝ := fun i => if i.val = 0 then l1 else if i.val = 1 then l2 else if i.val < 3 * n - 2 then 0 else if i.val = 3 * n - 2 then l3 else -(n : ℝ)