Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

The dagger of a matrix is the conjugate transpose

Proved
CategoryTheory.DaggerCategory.dagger_biproduct_matrix

by Bingyu Xia · Sep 30, 2026 · Mathlib 0df444a (Lean v4.33.1)

categorical-quantum-mechanics

Let C\mathcal{C}C be a dagger category with finite biproducts, and let mij:Fi→Gjm_{ij} : F_i \to G_jmij​:Fi​→Gj​ be a matrix of morphisms indexed by finite types. Then

((mij))†=((mji)†),\left(\begin{pmatrix} m_{ij} \end{pmatrix}\right)^\dagger = \begin{pmatrix} (m_{ji})^\dagger \end{pmatrix},((mij​​))†=((mji​)†​),

that is, the dagger of the matrix (mij)(m_{ij})(mij​) is the matrix whose (i,j)(i,j)(i,j) entry is (mji)†(m_{ji})^\dagger(mji​)†. Mathlib's biproduct.matrix is monomorphic in its index types, so this statement is made at Type 0.

Preamble
import Definitions.Def_CQM_DaggerCategory
import Definitions.Def_CQM_DaggerBiproduct
import Mathlib.CategoryTheory.Limits.Shapes.Biproducts
import Mathlib.CategoryTheory.Preadditive.Biproducts

open CategoryTheory Limits
open CategoryTheory.DaggerCategory
universe u v
Formal statement
theorem CategoryTheory.DaggerCategory.dagger_biproduct_matrix {C : Type u} [CategoryTheory.Category.{v, u} C] [CategoryTheory.DaggerCategory C] [CategoryTheory.Limits.HasZeroMorphisms C] {ι : Type} {κ : Type} [Finite ι] [Finite κ] {F : ι → C} {G : κ → C} [CategoryTheory.Limits.HasFiniteBiproducts C] [CategoryTheory.DaggerCategory.IsDaggerBiproduct F] [CategoryTheory.DaggerCategory.IsDaggerBiproduct G] (m : (i : ι) → (j : κ) → F i ⟶ G j) : (CategoryTheory.Limits.biproduct.matrix m)† = CategoryTheory.Limits.biproduct.matrix fun (j : κ) (i : ι) => (m i j)† := by sorry
Source
Reutter & Vicary, *Categorical Quantum Mechanics*, §2.3.3, Lemma 2.41 Lean source: https://github.com/BryceT233/Categorical-Quantum-Mechanics/blob/dd7d4573fabdb5ca8af0811c1af6396a49365b42/FQFP/CQM/Category/DaggerBiproduct.lean#L102
Human review
  • Endorsed by Shuze Chen · Sep 30, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Bingyu Xia · Sep 30, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me