AFTD Auto-Formalizing Theoretical Domains

Matrix.unitary_kron

defimported Lean

Matrix.unitary_kron

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open Matrix in
variable {α : Type*} [NonUnitalNonAssocSemiring α] [StarRing α] in
variable {α β : Type*} [DecidableEq α] [Fintype α] [DecidableEq β] [Fintype β] in
open Kronecker in
def Matrix.unitary_kron (a : 𝐔[α]) (b : 𝐔[β]) : 𝐔[α × β]
Defined in
QuantumInfo, `Matrix.unitary_kron`
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
17 Oct 2026
Axioms
none listed
Built on 1

Lean source view module on GitHub

set_option quotPrecheck false
local notation "𝐔[" n "]" => Matrix.unitaryGroup n ℂ

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open Matrix in
variable {α : Type*} [NonUnitalNonAssocSemiring α] [StarRing α] in
variable {α β : Type*} [DecidableEq α] [Fintype α] [DecidableEq β] [Fintype β] in
open Kronecker in
def Matrix.unitary_kron (a : 𝐔[α]) (b : 𝐔[β]) : 𝐔[α × β] :=
  ⟨_, kron_unitary a b⟩
See it in the graphDiscuss this resultChallenge it