bapat_sunder_matrix
For any commutative semiring R, any natural number n, and any square matrix A of size (n+1) x (n+1) over R, the Bapat-Sunder matrix of A is the (n+1) x (n+1) matrix whose (i,j) entry is A i j times the permanent of the submatrix obtained by deleting row i and column j.
Statement
def bapat_sunder_matrix {n : ℕ} {R : Type*} [CommSemiring R] (A : Matrix (Fin (n + 1)) (Fin (n + 1)) R) : Matrix (Fin (n + 1)) (Fin (n + 1)) R
- Defined in
- arXiv:2611.23269, Eq. (2)
- Verified
- 19 Nov 2026
- Axioms
- none listed
- Used by 2
- is_real_bapat_sunder_counterexampleA real square matrix A of size (n+1) x (n+1) is a positive semidefinite counterexample to the Bapat-Sunder eigenvalue conjecture if A is…
- op_1992_rank_one_no_bapat_sunder_counterexampleThere does not exist a real positive semidefinite counterexample to the Bapat-Sunder eigenvalue conjecture of rank 1.
Read back from the Lean
Given a natural number $n$, a commutative semiring $R$, and an $(n + 1) \times (n + 1)$ matrix $A$ over $R$, bapat_sunder_matrix A is defined as the $(n + 1) \times (n + 1)$ matrix over $R$ whose $(i, j)$-th entry (for $i, j \in \mathrm{Fin}(n + 1)$) is $A_{i, j}$ multiplied by the permanent of the $n \times n$ submatrix of $A$ obtained by deleting row $i$ and column $j$ (indexed via i.succAbove and j.succAbove).
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
/-- The Bapat-Sunder matrix of a square matrix A of size n + 1. -/ def bapat_sunder_matrix {n : ℕ} {R : Type*} [CommSemiring R] (A : Matrix (Fin (n + 1)) (Fin (n + 1)) R) : Matrix (Fin (n + 1)) (Fin (n + 1)) R := fun i j => A i j * (A.submatrix i.succAbove j.succAbove).permanent