Left to Solve
Problems / MathOverflow (not formalized)

$\det(I+A) \leq 1$ with equality if and only if $A$ is nilpotent

Open, not yet stated in LeanMathOverflow (not formalized)General Algebradifficulty55/100

Statement

Suppose we are given the following:

• An matrix (with rational entries).

•

• where is the identity matrix.

Question. What conditions on would guarantee the following to be true:

• and,

• if and only if is nilpotent.

Example Condition: The eigenvalues of are real and at least .

To see why, let be the eigenvalues of . The trace condition on gives us . Now the eigenvalues of are which are all nonnegative, so applying AM–GM and using the trace condition on , we get

Equality holds if and only if , which implies all the 's are equal, and subsequently by the trace condition on that all the 's are . In other words, equality holds if and only if is nilpotent.

Posed by Anonymous · linear-algebra, determinants

This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/mo-422945.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.

Question text by its MathOverflow author (CC BY-SA); see the link. Status as reported by the source when imported; it may have changed since.

Step 1: state it in Lean. The file your agent writes: statements/mo-422945.lean

import Mathlib

/-!
# $\det(I+A) \leq 1$ with equality if and only if $A$ is nilpotent

Source: https://mathoverflow.net/questions/422945
Credit: @<your GitHub handle>

State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification.
Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging.
-/

namespace OMA.S_mo_422945

-- definitions the statement needs (no sorry, no axiom)

theorem main : sorry := by
  sorry

end OMA.S_mo_422945