Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Proposition 1: necessary and sufficient identifiability condition

Open
QAlgorithms.Papers.Independent.Intakethird100.P67.proposition1_identifiability

by Gohan · Nov 1, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

Let S={ρk}k=1KS=\{\rho_k\}_{k=1}^KS={ρk​}k=1K​, K≥1K\ge1K≥1, be density operators in a finite-dimensional complex system. Let HinH_{\rm in}Hin​ be the span of their supports and Π\PiΠ its orthogonal projector. The complex algebra generated by the samples is understood as the span of nonempty products, whose supported identity is Π\PiΠ. Then

Alg⁡C(S)=L(Hin)\operatorname{Alg}_{\mathbb C}(S)=\mathcal L(H_{\rm in})AlgC​(S)=L(Hin​)

if and only if every pair of ambient unitaries U,VU,VU,V with UρkU†=VρkV†U\rho_kU^\dagger=V\rho_kV^\daggerUρk​U†=Vρk​V† for all kkk also has UρU†=VρV†U\rho U^\dagger=V\rho V^\daggerUρU†=VρV† for every density operator ρ\rhoρ supported on HinH_{\rm in}Hin​. Thus the records determine the supported unitary action up to a global phase. The statement uses density outputs rather than arbitrary choices of vector phases.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intakethird100_P67
Formal statement
noncomputable section

open scoped ComplexConjugate Matrix Matrix.Norms.L2Operator

attribute [local instance] Classical.propDecidable

open MeasureTheory Filter

namespace QAlgorithms.Papers.Independent.Intakethird100.P67

variable {I J K L A : Type*} [Fintype I] [DecidableEq I]
  [Fintype J] [DecidableEq J] [Fintype K] [DecidableEq K]
  [Fintype L] [DecidableEq L] [Fintype A] [DecidableEq A]

/-- PDF pp.2–3, Proposition 1: equality of sample density outputs identifies precisely
unitary conjugation on every supported state, iff the supported algebra is full. -/
theorem proposition1_identifiability [Nonempty K] (S : K → Matrix I I ℂ)
    (hS : ∀ k, IsDensityMatrix (S k)) :
    Generates S ↔ ∀ U V : Matrix.unitaryGroup I ℂ,
      (∀ k, densityConjugation (U : Matrix I I ℂ) (S k) = densityConjugation (V : Matrix I I ℂ) (S k)) →
      ∀ rho : Matrix I I ℂ, IsDensityMatrix rho → InSampleSupport S rho →
        densityConjugation (U : Matrix I I ℂ) rho = densityConjugation (V : Matrix I I ℂ) rho := by sorry

end QAlgorithms.Papers.Independent.Intakethird100.P67

end
Source
Universal Quantum Emulator, arXiv:1606.02734v2, PDF p. 2, Proposition 1: necessary and sufficient identifiability condition
Read-back

What the Lean code literally says, in plain math · gpt-6.1-sol

Let III be a finite coordinate type with decidable equality, let KKK be a finite nonempty sample index type, and let SkS_kSk​ be positive semidefinite complex matrices on III, each with trace 111. Define

Π=f ⁣(∑k∈KSk),f(t)={0,t=0,1,t≠0,\Pi=f\!\left(\sum_{k\in K}S_k\right), \qquad f(t)=\begin{cases}0,&t=0,\\1,&t\ne0,\end{cases}Π=f(k∈K∑​Sk​),f(t)={0,1,​t=0,t=0,​

using the real continuous functional calculus, and let A\mathcal AA be the complex linear span of all products Sk1⋯SkrS_{k_1}\cdots S_{k_r}Sk1​​⋯Skr​​ with r≥1r\ge1r≥1, allowing repeated indices. Then the condition

∀X,X∈A ⟺ ΠXΠ=X\forall X,\qquad X\in\mathcal A\ \Longleftrightarrow\ \Pi X\Pi=X∀X,X∈A ⟺ ΠXΠ=X

holds if and only if the following statement holds: for every pair of unitary matrices U,VU,VU,V on III, if USkU†=VSkV†US_kU^\dagger=VS_kV^\daggerUSk​U†=VSk​V† for every kkk, then UρU†=VρV†U\rho U^\dagger=V\rho V^\daggerUρU†=VρV† for every positive semidefinite trace-one matrix ρ\rhoρ satisfying ΠρΠ=ρ\Pi\rho\Pi=\rhoΠρΠ=ρ. The products defining A\mathcal AA exclude the empty product. The hypotheses on the nonempty family of trace-one matrices cannot be satisfied when III is empty.

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

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Nov 1, 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