AFTD Auto-Formalizing Theoretical Domains

Matrix.UpperTriangular

abbrevimported Lean

The subtype of upper triangular matrices.

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open scoped InnerProductSpace in
open Module in
abbrev Matrix.UpperTriangular (n R) [LT n] [CommRing R]
Defined in
Physlib, `Matrix.UpperTriangular`
Lean proof
By Gordon Hsu, from github.com/leanprover-community/physlib at e411c6e89692 (Copyright (c) 2025 Gordon Hsu. 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
09 Oct 2026
Axioms
none listed
Used by 3
  • Matrix.schurTriangulationBasisThe change of basis that induces the upper triangular form A.schurTriangulation of a matrix A over an algebraically closed field.
  • Matrix.schurTriangulationAuxThis is LinearMap.SchurTriangulationAux adapted for matrices in the Euclidean space.
  • Matrix.schurTriangulationThe upper triangular form induced by A.schurTriangulationUnitary to which a matrix A over an algebraically closed field is unitarily…

Lean source view module on GitHub

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open scoped InnerProductSpace in
open Module in
/-- The subtype of upper triangular matrices. -/
abbrev Matrix.UpperTriangular (n R) [LT n] [CommRing R] := { A : Matrix n n R // A.IsUpperTriangular }
See it in the graphDiscuss this resultChallenge it