AFTD Auto-Formalizing Theoretical Domains

HermitianMat

defimported Lean

The type of Hermitian matrices, as a Subtype. Equivalent to a Matrix n n α bundled with the fact that Matrix.IsHermitian.

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
def HermitianMat (n : Type*) (α : Type*) [AddGroup α] [StarAddMonoid α]
Defined in
QuantumInfo, `HermitianMat`
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
Used by 198

Lean source view module on GitHub

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
/-- The type of Hermitian matrices, as a `Subtype`. Equivalent to a `Matrix n n α` bundled with the fact that `Matrix.IsHermitian`. -/
def HermitianMat (n : Type*) (α : Type*) [AddGroup α] [StarAddMonoid α] :=
  (selfAdjoint (Matrix n n α) : Type (max u_1 u_2))
See it in the graphDiscuss this resultChallenge it