AFTD Auto-Formalizing Theoretical Domains

HermitianMat.ker

defimported Lean

The kernel of a Hermitian matrix A as a submodule of Euclidean space, defined by LinearMap.ker A.toMat.toEuclideanLin. Equivalently, the zero-eigenspace.

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open HermitianMat in
variable {ฮฑ R ๐•œ : Type*} {m n : Type*} in
variable [Star R] [TrivialStar R] in
variable [RCLike ๐•œ] in
variable [Fintype n] [DecidableEq n] (A : HermitianMat n ๐•œ) in
noncomputable def HermitianMat.ker : Submodule ๐•œ (EuclideanSpace ๐•œ n)
Defined in
QuantumInfo, `HermitianMat.ker`
Lean proof
By Alex Meiburg, from github.com/leanprover-community/physlib at e411c6e89692 (Copyright (c) 2025 Alex Meiburg. All rights reserved, Apache-2.0). Compiled here against leanprover/lean4:v4.33.1, Mathlib v4.33.1; written for leanprover/lean4:v4.34.1.
Verified
16 Oct 2026
Axioms
none listed
Built on 66
Used by 13

Lean source view module on GitHub

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open HermitianMat in
variable {ฮฑ R ๐•œ : Type*} {m n : Type*} in
variable [Star R] [TrivialStar R] in
variable [RCLike ๐•œ] in
variable [Fintype n] [DecidableEq n] (A : HermitianMat n ๐•œ) in
/-- The kernel of a Hermitian matrix `A` as a submodule of Euclidean space, defined by `LinearMap.ker A.toMat.toEuclideanLin`. Equivalently, the zero-eigenspace. -/
noncomputable def HermitianMat.ker : Submodule ๐•œ (EuclideanSpace ๐•œ n) :=
  LinearMap.ker A.lin.toLinearMap
See it in the graphDiscuss this resultChallenge it