Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Definition 4.2 — random-unitary channels preserve the identity

Proved
WatrousTQI.random_unitary_is_unital

by Mrnaiq · Nov 11, 2026 · Mathlib 0df444a (Lean v4.33.1)

convexitymixed-unitaryquantum-channelsquantum-information

Let d>0d>0d>0 and let Φ\PhiΦ admit a finite random-unitary decomposition on every complex d×dd\times dd×d operator: the real weights lie in [0,1][0,1][0,1], sum to one, and the conjugating matrices are unitary. Then Φ(Id)=Id\Phi(I_d)=I_dΦ(Id​)=Id​. The representation and probability constraints reuse the published IsRandomUnitary predicate; unitality is a conclusion.

Preamble
import Mathlib
import Definitions.Def_QAlgorithms_Papers_Independent_Dependency50_P11
set_option autoImplicit false
noncomputable section
open scoped Matrix ComplexConjugate BigOperators
Formal statement
namespace WatrousTQI

theorem random_unitary_is_unital {d : ℕ} (hd : 0 < d)
    (Φ : QAlgorithms.Superop (Fin d) (Fin d))
    (h : QAlgorithms.Papers.Independent.Dependency50.P11.IsRandomUnitary Φ) :
    Φ (1 : Matrix (Fin d) (Fin d) ℂ) = 1 := by sorry

end WatrousTQI
Source
John Watrous, The Theory of Quantum Information, Cambridge University Press, 2018, Chapter 4. https://cs.uwaterloo.ca/~watrous/TQI/TQI.pdf; Definition 4.2 and the opening paragraph of §4.1.1, printed p.202 (PDF p.210).
Read-back

What the Lean code literally says, in plain math · GPT-6 (Codex)

For every natural number ddd with 0<d0<d0<d, and every function Φ\PhiΦ from the complex d×dd\times dd×d matrices to themselves, suppose that there exist a natural number kkk, real numbers pjp_jpj​ indexed by j∈{0,…,k−1}j\in\{0,\ldots,k-1\}j∈{0,…,k−1}, and complex unitary d×dd\times dd×d matrices VjV_jVj​ (so Vj∗Vj=VjVj∗=IdV_j^*V_j=V_jV_j^*=I_dVj∗​Vj​=Vj​Vj∗​=Id​), such that 0≤pj≤10\le p_j\le10≤pj​≤1 for every jjj, ∑j=0k−1pj=1\sum_{j=0}^{k-1}p_j=1∑j=0k−1​pj​=1, and, for every complex d×dd\times dd×d matrix XXX, Φ(X)=∑j=0k−1pjVjXVj∗\Phi(X)=\sum_{j=0}^{k-1}p_jV_jXV_j^*Φ(X)=∑j=0k−1​pj​Vj​XVj∗​, where the real weights are embedded in the complex numbers and Vj∗V_j^*Vj∗​ denotes conjugate transpose; then Φ(Id)=Id\Phi(I_d)=I_dΦ(Id​)=Id​. The dimension d=0d=0d=0 is excluded by the hypothesis; the existential quantifier permits k=0k=0k=0 syntactically, but the required weight sum would then be 0=10=10=1, so no such witness satisfies the hypotheses; individual weights may be zero or one. No linearity or channel hypothesis on Φ\PhiΦ is assumed separately from the displayed representation.

Human review
  • Endorsed by Shuze Chen · Nov 12, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Mrnaiq · Nov 12, 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 paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me