Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Definitions for Reversing Unknown Quantum Transformations: Universal Quantum Circuit for Inverting General Unitary Operations

Definition
QAlgorithms_Papers_Independent_Extend50_P26

by Gohan · Oct 29, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

The objects the formalized statements of Reversing Unknown Quantum Transformations: Universal Quantum Circuit for Inverting General Unitary Operations (arXiv:1810.06944) are stated in. Each was checked against the paper by a blind read-back and a moderator.

  • InversionBasis: PDF p.4, Eq.(4): n teeth ordered newest output/input first; order zero is scalar.
  • unitaryChoi: PDF p.4, Choi definition: unnormalized |A>> <<A| in output-first coordinates.
  • inverseChoi: PDF p.4, Eq.(4): Choi operator of the inverse channel, never inverse of a Choi matrix.
  • slotTensor: PDF p.4, Eq.(4): tensor of k independently specified slot Choi operators. Slot zero is the newest slot; identical forward calls are obtained by a constant family.
  • endpoints: PDF p.4: insert external output/input endpoints around the k open channel slots.
  • inversionLink: PDF p.4, link product: contract slot indices with the slot Choi operator. The two identical index orders implement the partial transpose in the link product.
  • InversionComb: PDF p.4, quantum-comb constraints: positive recursive prefixes and causal traces. The k-use circuit is a (k+1)-comb; its fixed channels may retain finite memory.
  • groupSlotPairs: PDF p.3, Fig.4: regroup the k slot outputs and inputs into two collective wires.
  • CollectiveChannel: PDF p.3, Fig.4: a CPTP channel on the collective k-qudit slot.
  • Parallel: PDF pp.3–4: parallel superchannel, with arbitrary memory and pre/postprocessing. Positivity and normalization on every collective CPTP slot describe a single channel supermap; splitting that collective slot into k tensor factors leaves no intervening gates.
  • GeneralProcess: PDF pp.3–4: the general process-matrix class, including indefinite causal order. Normalization is tested on arbitrary independent CPTP channels in all k slots. Positivity is the complete-positivity requirement, also with ancillary extensions.
  • CircuitClass: PDF p.4, Table I: the three classes of deterministic completions.
  • InversionCompletion: PDF p.4: deterministic admissibility in the specified circuit class.
  • HeraldedInversionBranch: PDF p.4, Eq.(4): a heralded positive branch dominated by a deterministic completion. The complementary branch C-S is positive; no success or invertibility is assumed.
  • UniversalInverseBranch: PDF pp.1–4: a fixed branch inverts every SU(d) oracle with the same input-independent p. Choi equality includes arbitrary reference-entangled inputs. Only forward U is inserted.
  • Attainable: PDF p.4: the attainable success probabilities. The protocol is chosen before U. The budget counts k open forward-call slots; unused calls can be discarded.
  • FiniteFeasible: PDF p.4, Eq.(4): success constraints at an explicitly specified finite family.
  • adaptiveInversionProbability: PDF p.3, Theorem 1: number of complete attempts, with d-1 calls in the last attempt.
Definition code
import Mathlib
import Definitions.Def_QAlgorithms_Defs_Information
import Definitions.Def_QAlgorithms_Papers_Independent_Dependency50_P26

/-!
Exact heralded universal inversion, arXiv:1810.06944v3, PDF pp.1–5.
The paper-local Choi coordinates are output first. Recursive comb coordinates are
newest output/input first. A k-query protocol has k+1 teeth; its k open slots
are filled only with forward channels. The general-process class is normalized
on arbitrary independent CPTP slot channels, not just on repeated unitaries.
No numerical Table I cell is promoted to an exact value.
-/

noncomputable section

open QAlgorithms
open scoped BigOperators Matrix ComplexConjugate ComplexOrder

attribute [local instance] Classical.decEq Classical.propDecidable

namespace QAlgorithms.Papers.Independent.Extend50.P26

-- Reuse the accepted unnormalized output-first CPTP predicate, without an alias.
open QAlgorithms.Papers.Independent.Dependency50.P26 (ChannelChoi)

/-- PDF p.4, Eq.(4): n teeth ordered newest output/input first; order zero is scalar. -/
def InversionBasis (d : ℕ) : ℕ → Type
  | 0 => Unit
  | n + 1 => Fin d × (Fin d × InversionBasis d n)

/-- Finite coordinate bases, including the scalar empty prefix. -/
instance inversionBasisFintype (d : ℕ) : (n : ℕ) → Fintype (InversionBasis d n)
  | 0 => inferInstanceAs (Fintype Unit)
  | n + 1 => letI := inversionBasisFintype d n
             inferInstanceAs (Fintype (Fin d × (Fin d × InversionBasis d n)))

/-- PDF p.4, Choi definition: unnormalized |A>> <<A| in output-first coordinates. -/
def unitaryChoi {d : ℕ} (A : Matrix (Fin d) (Fin d) ℂ) : (Matrix (Fin d × Fin d) (Fin d × Fin d) ℂ) :=
  fun a b => A a.1 a.2 * conj (A b.1 b.2)

/-- PDF p.4, Eq.(4): Choi operator of the inverse channel, never inverse of a Choi matrix. -/
def inverseChoi {d : ℕ} (U : (Matrix.specialUnitaryGroup (Fin d) ℂ)) : (Matrix (Fin d × Fin d) (Fin d × Fin d) ℂ) := unitaryChoi U.valᴴ

/-- PDF p.4, Eq.(4): tensor of k independently specified slot Choi operators.
Slot zero is the newest slot; identical forward calls are obtained by a constant family. -/
def slotTensor (d : ℕ) : (k : ℕ) → (Fin k → (Matrix (Fin d × Fin d) (Fin d × Fin d) ℂ)) → (Matrix (InversionBasis d k) (InversionBasis d k) ℂ)
  | 0, _ => 1
  | n + 1, J => fun a b =>
      J 0 (a.1, a.2.1) (b.1, b.2.1) *
        slotTensor d n (fun j => J j.succ) a.2.2 b.2.2

/-- PDF p.4: insert external output/input endpoints around the k open channel slots. -/
def endpoints (d : ℕ) : (k : ℕ) → Fin d → Fin d → InversionBasis d k → InversionBasis d (k+1)
  | 0, o, i, _ => (o, i, ())
  | n + 1, o, i, x => (o, x.1, endpoints d n x.2.1 i x.2.2)

/-- PDF p.4, link product: contract slot indices with the slot Choi operator.
The two identical index orders implement the partial transpose in the link product. -/
def inversionLink {d k : ℕ} (S : (Matrix (InversionBasis d (k+1)) (InversionBasis d (k+1)) ℂ)) (J : (Matrix (InversionBasis d k) (InversionBasis d k) ℂ)) : (Matrix (Fin d × Fin d) (Fin d × Fin d) ℂ) :=
  fun a b => ∑ u, ∑ v,
    S (endpoints d k a.1 a.2 u) (endpoints d k b.1 b.2 v) * J u v

/-- PDF p.4, quantum-comb constraints: positive recursive prefixes and causal traces.
The k-use circuit is a (k+1)-comb; its fixed channels may retain finite memory. -/
def InversionComb (d : ℕ) : (n : ℕ) → (Matrix (InversionBasis d n) (InversionBasis d n) ℂ) → Prop
  | 0, C => C = 1
  | n + 1, C => C.PosSemidef ∧ ∃ B : (Matrix (InversionBasis d n) (InversionBasis d n) ℂ),
      InversionComb d n B ∧ traceLeft C = Matrix.kronecker (1 : Matrix (Fin d) _ ℂ) B

/-- PDF p.3, Fig.4: regroup the k slot outputs and inputs into two collective wires. -/
def groupSlotPairs (d : ℕ) : (k : ℕ) → (Fin k → Fin d) → (Fin k → Fin d) → InversionBasis d k
  | 0, _, _ => ()
  | n + 1, o, i => (o 0, i 0, groupSlotPairs d n (fun j => o j.succ) (fun j => i j.succ))

/-- PDF p.3, Fig.4: a CPTP channel on the collective k-qudit slot. -/
def CollectiveChannel {d k : ℕ} (J : (Matrix (InversionBasis d k) (InversionBasis d k) ℂ)) : Prop :=
  J.PosSemidef ∧ ∀ a b : Fin k → Fin d,
    (∑ o : Fin k → Fin d, J (groupSlotPairs d k o a) (groupSlotPairs d k o b)) =
      if a = b then 1 else 0

/-- PDF pp.3–4: parallel superchannel, with arbitrary memory and pre/postprocessing.
Positivity and normalization on every collective CPTP slot describe a single channel
supermap; splitting that collective slot into k tensor factors leaves no intervening gates. -/
def Parallel {d k : ℕ} (C : (Matrix (InversionBasis d (k+1)) (InversionBasis d (k+1)) ℂ)) : Prop :=
  C.PosSemidef ∧ ∀ J : (Matrix (InversionBasis d k) (InversionBasis d k) ℂ), CollectiveChannel J → ChannelChoi (inversionLink C J)

/-- PDF pp.3–4: the general process-matrix class, including indefinite causal order.
Normalization is tested on arbitrary independent CPTP channels in all k slots.
Positivity is the complete-positivity requirement, also with ancillary extensions. -/
def GeneralProcess {d k : ℕ} (C : (Matrix (InversionBasis d (k+1)) (InversionBasis d (k+1)) ℂ)) : Prop :=
  C.PosSemidef ∧ ∀ J : Fin k → (Matrix (Fin d × Fin d) (Fin d × Fin d) ℂ),
    (∀ j, ChannelChoi (J j)) → ChannelChoi (inversionLink C (slotTensor d k J))

/-- PDF p.4, Table I: the three classes of deterministic completions. -/
inductive CircuitClass where
  | parallel
  | adaptive
  | indefinite

/-- PDF p.4: deterministic admissibility in the specified circuit class. -/
def InversionCompletion (c : CircuitClass) (d k : ℕ) (C : (Matrix (InversionBasis d (k+1)) (InversionBasis d (k+1)) ℂ)) : Prop :=
  match c with
  | .parallel => Parallel C
  | .adaptive => InversionComb d (k+1) C
  | .indefinite => GeneralProcess C

/-- PDF p.4, Eq.(4): a heralded positive branch dominated by a deterministic completion.
The complementary branch C-S is positive; no success or invertibility is assumed. -/
def HeraldedInversionBranch (c : CircuitClass) (d k : ℕ) (S : (Matrix (InversionBasis d (k+1)) (InversionBasis d (k+1)) ℂ)) : Prop :=
  S.PosSemidef ∧ ∃ C, InversionCompletion c d k C ∧ (C-S).PosSemidef

/-- PDF pp.1–4: a fixed branch inverts every SU(d) oracle with the same input-independent p.
Choi equality includes arbitrary reference-entangled inputs. Only forward U is inserted. -/
def UniversalInverseBranch {d k : ℕ} (S : (Matrix (InversionBasis d (k+1)) (InversionBasis d (k+1)) ℂ)) (p : ℝ) : Prop :=
  ∀ U : (Matrix.specialUnitaryGroup (Fin d) ℂ),
    inversionLink S (slotTensor d k (fun _ => unitaryChoi U.val)) = (p : ℂ) • inverseChoi U

/-- PDF p.4: the attainable success probabilities. The protocol is chosen before U.
The budget counts k open forward-call slots; unused calls can be discarded. -/
def Attainable (c : CircuitClass) (d k : ℕ) (p : ℝ) : Prop :=
  0 ≤ p ∧ p ≤ 1 ∧ ∃ S : (Matrix (InversionBasis d (k+1)) (InversionBasis d (k+1)) ℂ), HeraldedInversionBranch c d k S ∧ UniversalInverseBranch S p

/-- PDF p.4, Eq.(4): success constraints at an explicitly specified finite family. -/
def FiniteFeasible (c : CircuitClass) (d k m : ℕ) (U : Fin m → (Matrix.specialUnitaryGroup (Fin d) ℂ)) (p : ℝ) : Prop :=
  0 ≤ p ∧ p ≤ 1 ∧ ∃ S : (Matrix (InversionBasis d (k+1)) (InversionBasis d (k+1)) ℂ), HeraldedInversionBranch c d k S ∧
    ∀ j, inversionLink S (slotTensor d k (fun _ => unitaryChoi (U j).val)) =
      (p : ℂ) • inverseChoi (U j)

/-- PDF p.3, Theorem 1: number of complete attempts, with d-1 calls in the last attempt. -/
def adaptiveInversionProbability (d k : ℕ) : ℝ :=
  1 - (1 - 1 / (d : ℝ)^2)^((k+1)/d)

/-! Sanity examples pin the scalar prefix, tensor convention, inversionLink, and query accounting. -/

example (d : ℕ) : InversionComb d 0 (1 : (Matrix (InversionBasis d 0) (InversionBasis d 0) ℂ)) := rfl

example (d : ℕ) : slotTensor d 0 (fun j => Fin.elim0 j) = 1 := rfl

example {d : ℕ} (A : Matrix (Fin d) (Fin d) ℂ) (a b : (Fin d × Fin d)) :
    unitaryChoi A a b = A a.1 a.2 * conj (A b.1 b.2) := rfl

example {d : ℕ} (C : (Matrix (InversionBasis d 1) (InversionBasis d 1) ℂ)) (a b : (Fin d × Fin d)) :
    inversionLink C (1 : (Matrix (InversionBasis d 0) (InversionBasis d 0) ℂ)) a b = C (a.1,a.2,()) (b.1,b.2,()) := by
  letI : Unique (InversionBasis d 0) := inferInstanceAs (Unique Unit)
  simp only [inversionLink, Fintype.sum_unique]
  simp [endpoints, Matrix.one_apply]

example : adaptiveInversionProbability 2 0 = 0 ∧ adaptiveInversionProbability 2 1 = 1/4 ∧
    adaptiveInversionProbability 2 2 = 1/4 ∧ adaptiveInversionProbability 2 3 = 7/16 := by
  norm_num [adaptiveInversionProbability]

example {d : ℕ} (U : (Matrix.specialUnitaryGroup (Fin d) ℂ)) (a b : (Fin d × Fin d)) :
    inverseChoi U a b = conj (U.val a.2 a.1) * U.val b.2 b.1 := by
  simp [inverseChoi, unitaryChoi, Matrix.conjTranspose_apply]

end QAlgorithms.Papers.Independent.Extend50.P26
Source
Reversing Unknown Quantum Transformations: Universal Quantum Circuit for Inverting General Unitary Operations, arXiv:1810.06944v3, https://arxiv.org/abs/1810.06944v3
Read-back

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

QAlgorithms.Papers.Independent.Extend50.P26.Attainable

For a class ccc, natural numbers d,kd,kd,k, and p∈Rp\in\mathbb Rp∈R, the condition says that 0≤p≤10\le p\le10≤p≤1 and there exist complex matrices S,CS,CS,C on Bk+1B_{k+1}Bk+1​ such that SSS and C−SC-SC−S are positive semidefinite, CCC satisfies the class-specific normalization below, and

ΛS(QU)=p RUfor every U∈SU(d).\Lambda_S(Q_U)=p\,R_U \quad\text{for every }U\in\mathrm{SU}(d).ΛS​(QU​)=pRU​for every U∈SU(d).

Here B0={∗}B_0=\{*\}B0​={∗}, Br+1=[d]×([d]×Br)B_{r+1}=[d]\times([d]\times B_r)Br+1​=[d]×([d]×Br​),

(QU)u,v=∏r=1kUu2r−1,u2rUv2r−1,v2r‾,(RU)(o,i),(o′,i′)=(U†)o,i(U†)o′,i′‾,(Q_U)_{u,v}=\prod_{r=1}^k U_{u_{2r-1},u_{2r}}\overline{U_{v_{2r-1},v_{2r}}}, \qquad (R_U)_{(o,i),(o',i')}=(U^\dagger)_{o,i}\overline{(U^\dagger)_{o',i'}},(QU​)u,v​=r=1∏k​Uu2r−1​,u2r​​Uv2r−1​,v2r​​​,(RU​)(o,i),(o′,i′)​=(U†)o,i​(U†)o′,i′​​,

and

ΛA(J)(o,i),(o′,i′)=∑u,v∈BkA(o,u,i),(o′,v,i′)Ju,v,\Lambda_A(J)_{(o,i),(o',i')} =\sum_{u,v\in B_k}A_{(o,u,i),(o',v,i')}J_{u,v},ΛA​(J)(o,i),(o′,i′)​=u,v∈Bk​∑​A(o,u,i),(o′,v,i′)​Ju,v​,

where endpoint insertion means concatenating ooo, the coordinates of uuu, and iii, with the recursive grouping of Bk+1B_{k+1}Bk+1​. A matrix on [d]×[d][d]\times[d][d]×[d] is normalized precisely when it is positive semidefinite and its trace over the first coordinate is the identity. For parallel, CCC is positive semidefinite and ΛC(J)\Lambda_C(J)ΛC​(J) is normalized for every positive semidefinite matrix JJJ on BkB_kBk​ whose trace over all kkk output coordinates is the identity on all kkk input coordinates. For adaptive, CCC satisfies recursive normalization: the level-zero matrix is 111, and at each level a matrix AAA is positive semidefinite with

∑oA(o,i,x),(o,i′,y)=δi,i′Dx,y\sum_o A_{(o,i,x),(o,i',y)}=\delta_{i,i'}D_{x,y}o∑​A(o,i,x),(o,i′,y)​=δi,i′​Dx,y​

for a recursively normalized matrix DDD one level lower. For indefinite, CCC is positive semidefinite and ΛC(J1⊗⋯⊗Jk)\Lambda_C(J_1\otimes\cdots\otimes J_k)ΛC​(J1​⊗⋯⊗Jk​) is normalized for every family of normalized matrices JrJ_rJr​, with tensor entries given by the product of the corresponding paired entries. The same S,C,pS,C,pS,C,p must work for every UUU. The definition includes d=0d=0d=0 and k=0k=0k=0, using empty index sets and empty products as applicable; it does not require p>0p>0p>0.

QAlgorithms.Papers.Independent.Extend50.P26.CircuitClass

This declaration defines a type with exactly three distinct values, named parallel, adaptive, and indefinite. The declaration itself attaches no mathematical conditions or properties to these values.

QAlgorithms.Papers.Independent.Extend50.P26.CollectiveChannel

For all natural numbers d,kd,kd,k and every complex matrix JJJ on the set BdkB_d^kBdk​ of nested sequences of kkk ordered pairs from {0,…,d−1}\{0,\ldots,d-1\}{0,…,d−1}, with Bd0={∗}B_d^0=\{\ast\}Bd0​={∗}, this condition means that JJJ is positive semidefinite and

∑o:{0,…,k−1}→{0,…,d−1}Jgdk(o,a), gdk(o,b)={1,a=b,0,a≠b\sum_{o:\{0,\ldots,k-1\}\to\{0,\ldots,d-1\}} J_{g_d^k(o,a),\,g_d^k(o,b)} = \begin{cases} 1,&a=b,\\ 0,&a\ne b \end{cases}o:{0,…,k−1}→{0,…,d−1}∑​Jgdk​(o,a),gdk​(o,b)​={1,0,​a=b,a=b​

for every pair of functions a,b:{0,…,k−1}→{0,…,d−1}a,b:\{0,\ldots,k-1\}\to\{0,\ldots,d-1\}a,b:{0,…,k−1}→{0,…,d−1}, where gdk(o,a)g_d^k(o,a)gdk​(o,a) groups the pairs (o(t),a(t))(o(t),a(t))(o(t),a(t)) in increasing order with right nesting. At k=0k=0k=0, this condition requires the sole entry of JJJ to be 111. When d=0<kd=0<kd=0<k, there are no functions a,ba,ba,b, the displayed requirement is vacuous, and the unique empty matrix satisfies the condition.

QAlgorithms.Papers.Independent.Extend50.P26.FiniteFeasible

For a class ccc, natural numbers d,k,md,k,md,k,m, a specified family Uj∈SU(d)U_j\in\mathrm{SU}(d)Uj​∈SU(d) indexed by j∈[m]j\in[m]j∈[m], and a real number ppp, the condition says that 0≤p≤10\le p\le10≤p≤1 and there exist complex matrices S,CS,CS,C on Bk+1B_{k+1}Bk+1​ such that SSS and C−SC-SC−S are positive semidefinite, CCC satisfies the class-specific normalization below, and

ΛS(QUj)=p RUjfor every j∈[m].\Lambda_S(Q_{U_j})=p\,R_{U_j} \quad\text{for every }j\in[m].ΛS​(QUj​​)=pRUj​​for every j∈[m].

Here B0={∗}B_0=\{*\}B0​={∗}, Br+1=[d]×([d]×Br)B_{r+1}=[d]\times([d]\times B_r)Br+1​=[d]×([d]×Br​), and

(QU)u,v=∏r=1kUu2r−1,u2rUv2r−1,v2r‾,(RU)(o,i),(o′,i′)=(U†)o,i(U†)o′,i′‾,ΛA(J)(o,i),(o′,i′)=∑u,v∈BkA(o,u,i),(o′,v,i′)Ju,v,(Q_U)_{u,v} =\prod_{r=1}^k U_{u_{2r-1},u_{2r}}\overline{U_{v_{2r-1},v_{2r}}}, \quad (R_U)_{(o,i),(o',i')} =(U^\dagger)_{o,i}\overline{(U^\dagger)_{o',i'}}, \quad \Lambda_A(J)_{(o,i),(o',i')} =\sum_{u,v\in B_k}A_{(o,u,i),(o',v,i')}J_{u,v},(QU​)u,v​=r=1∏k​Uu2r−1​,u2r​​Uv2r−1​,v2r​​​,(RU​)(o,i),(o′,i′)​=(U†)o,i​(U†)o′,i′​​,ΛA​(J)(o,i),(o′,i′)​=u,v∈Bk​∑​A(o,u,i),(o′,v,i′)​Ju,v​,

where (o,u,i)(o,u,i)(o,u,i) is concatenation with the recursive grouping of Bk+1B_{k+1}Bk+1​. A matrix on [d]×[d][d]\times[d][d]×[d] is normalized when it is positive semidefinite and its trace over the first coordinate is the identity. For parallel, CCC is positive semidefinite and ΛC(J)\Lambda_C(J)ΛC​(J) is normalized for every positive semidefinite JJJ whose trace over all kkk output coordinates is the identity on the kkk input coordinates. For adaptive, normalization is recursive: the level-zero matrix equals 111, and a matrix AAA at level r+1r+1r+1 is positive semidefinite and satisfies ∑oA(o,i,x),(o,i′,y)=δi,i′Dx,y\sum_oA_{(o,i,x),(o,i',y)}=\delta_{i,i'}D_{x,y}∑o​A(o,i,x),(o,i′,y)​=δi,i′​Dx,y​ for some normalized level-rrr matrix DDD. For indefinite, CCC is positive semidefinite and ΛC(J1⊗⋯⊗Jk)\Lambda_C(J_1\otimes\cdots\otimes J_k)ΛC​(J1​⊗⋯⊗Jk​) is normalized for every family of normalized matrices JrJ_rJr​, using the paired-coordinate tensor product. No distinctness, independence, or spanning condition on the supplied UjU_jUj​ is part of this definition. In particular, m=0m=0m=0 makes all inversion tests vacuous while retaining the bounds on ppp and the existence and completion conditions; d=0d=0d=0 and k=0k=0k=0 are also permitted.

QAlgorithms.Papers.Independent.Extend50.P26.GeneralProcess

For all natural numbers d,kd,kd,k and every complex matrix CCC on Bdk+1B_d^{k+1}Bdk+1​, where BdjB_d^jBdj​ is the set of right-nested sequences of jjj ordered pairs from {0,…,d−1}\{0,\ldots,d-1\}{0,…,d−1} and Bd0={∗}B_d^0=\{\ast\}Bd0​={∗}, this condition requires CCC to be positive semidefinite and quantifies over every family J0,…,Jk−1J_0,\ldots,J_{k-1}J0​,…,Jk−1​ of complex matrices indexed by pairs from {0,…,d−1}\{0,\ldots,d-1\}{0,…,d−1}. If each JtJ_tJt​ is positive semidefinite and satisfies ∑o(Jt)(o,i),(o,i′)=δi,i′\sum_o(J_t)_{(o,i),(o,i')}=\delta_{i,i'}∑o​(Jt​)(o,i),(o,i′)​=δi,i′​ for all i,i′i,i'i,i′, then the matrix

L(o,i),(o′,i′)=∑u,v∈BdkCE(o,i,u),E(o′,i′,v)∏t=0k−1(Jt)(utout,utin), (vtout,vtin)L_{(o,i),(o',i')} =\sum_{u,v\in B_d^k} C_{E(o,i,u),E(o',i',v)} \prod_{t=0}^{k-1}(J_t)_{(u_t^{\mathrm{out}},u_t^{\mathrm{in}}),\, (v_t^{\mathrm{out}},v_t^{\mathrm{in}})}L(o,i),(o′,i′)​=u,v∈Bdk​∑​CE(o,i,u),E(o′,i′,v)​t=0∏k−1​(Jt​)(utout​,utin​),(vtout​,vtin​)​

must be positive semidefinite and satisfy ∑oL(o,i),(o,i′)=δi,i′\sum_oL_{(o,i),(o,i')}=\delta_{i,i'}∑o​L(o,i),(o,i′)​=δi,i′​ for every i,i′i,i'i,i′. Here utout,utinu_t^{\mathrm{out}},u_t^{\mathrm{in}}utout​,utin​ denote the coordinates of the ttt-th pair of uuu, and E(o,i,u)E(o,i,u)E(o,i,u) inserts ooo before the flattened coordinates of uuu and iii after them, then regroups consecutive coordinates into pairs. No conjugation is applied to the factor entries in this contraction. For k=0k=0k=0, the family condition is vacuous and the product and singleton tensor entry are 111. When d=0d=0d=0, the unique empty matrix CCC satisfies the condition.

QAlgorithms.Papers.Independent.Extend50.P26.HeraldedInversionBranch

For a class ccc, natural numbers d,kd,kd,k, and a complex matrix SSS on Bk+1B_{k+1}Bk+1​, the condition says that SSS is positive semidefinite and there exists a matrix CCC on the same index set such that C−SC-SC−S is positive semidefinite and CCC satisfies the class-specific condition described here. The index sets are B0={∗}B_0=\{*\}B0​={∗} and Br+1=[d]×([d]×Br)B_{r+1}=[d]\times([d]\times B_r)Br+1​=[d]×([d]×Br​), and the contraction of CCC with a matrix JJJ on BkB_kBk​ is

ΛC(J)(o,i),(o′,i′)=∑u,v∈BkC(o,u,i),(o′,v,i′)Ju,v,\Lambda_C(J)_{(o,i),(o',i')} =\sum_{u,v\in B_k}C_{(o,u,i),(o',v,i')}J_{u,v},ΛC​(J)(o,i),(o′,i′)​=u,v∈Bk​∑​C(o,u,i),(o′,v,i′)​Ju,v​,

with (o,u,i)(o,u,i)(o,u,i) denoting concatenation followed by the recursive grouping of Bk+1B_{k+1}Bk+1​. A matrix HHH on [d]×[d][d]\times[d][d]×[d] is normalized here precisely when HHH is positive semidefinite and ∑oH(o,i),(o,i′)=δi,i′\sum_oH_{(o,i),(o,i')}=\delta_{i,i'}∑o​H(o,i),(o,i′)​=δi,i′​. For parallel, CCC must be positive semidefinite and ΛC(J)\Lambda_C(J)ΛC​(J) must be normalized for every positive semidefinite JJJ whose trace over all kkk output coordinates is the identity on the kkk input coordinates. For adaptive, CCC must satisfy recursive normalization: the level-zero matrix equals 111, and a level-(r+1)(r+1)(r+1) matrix AAA is positive semidefinite and has

∑oA(o,i,x),(o,i′,y)=δi,i′Dx,y\sum_o A_{(o,i,x),(o,i',y)}=\delta_{i,i'}D_{x,y}o∑​A(o,i,x),(o,i′,y)​=δi,i′​Dx,y​

for some recursively normalized level-rrr matrix DDD. For indefinite, CCC must be positive semidefinite and ΛC(J1⊗⋯⊗Jk)\Lambda_C(J_1\otimes\cdots\otimes J_k)ΛC​(J1​⊗⋯⊗Jk​) must be normalized for every kkk-tuple of normalized matrices on [d]×[d][d]\times[d][d]×[d]; this tensor has entries ∏r=1k(Jr)(u2r−1,u2r),(v2r−1,v2r)\prod_{r=1}^k(J_r)_{(u_{2r-1},u_{2r}),(v_{2r-1},v_{2r})}∏r=1k​(Jr​)(u2r−1​,u2r​),(v2r−1​,v2r​)​. Both d=0d=0d=0 and k=0k=0k=0 are included; the latter uses the empty tensor product 111. This condition imposes no inversion identity or success parameter on SSS.

QAlgorithms.Papers.Independent.Extend50.P26.InversionBasis

For every natural number ddd, this defines sets BdnB_d^nBdn​, for all natural numbers nnn, recursively by Bd0={∗}B_d^0=\{\ast\}Bd0​={∗} and Bdn+1={0,…,d−1}×({0,…,d−1}×Bdn)B_d^{n+1}=\{0,\ldots,d-1\}\times(\{0,\ldots,d-1\}\times B_d^n)Bdn+1​={0,…,d−1}×({0,…,d−1}×Bdn​). Thus an element consists of nnn ordered pairs of indices, stored with the indicated nesting. The case n=0n=0n=0 has exactly one element, including when d=0d=0d=0; if d=0d=0d=0 and n>0n>0n>0, the set is empty.

QAlgorithms.Papers.Independent.Extend50.P26.InversionComb

For every natural number ddd, every natural number nnn, and every complex matrix CCC on BdnB_d^nBdn​, where Bd0={∗}B_d^0=\{\ast\}Bd0​={∗} and Bdj+1={0,…,d−1}×({0,…,d−1}×Bdj)B_d^{j+1}=\{0,\ldots,d-1\}\times(\{0,\ldots,d-1\}\times B_d^j)Bdj+1​={0,…,d−1}×({0,…,d−1}×Bdj​), this defines a recursive condition. At n=0n=0n=0, it requires C=1C=1C=1, the singleton identity matrix. At n=j+1n=j+1n=j+1, it requires CCC to be positive semidefinite and requires a matrix BBB satisfying the same condition at level jjj, such that

∑o=0d−1C(o,i,x),(o,i′,y)=δi,i′Bx,yfor every i,i′∈{0,…,d−1}, x,y∈Bdj.\sum_{o=0}^{d-1}C_{(o,i,x),(o,i',y)} =\delta_{i,i'}B_{x,y} \quad \text{for every }i,i'\in\{0,\ldots,d-1\},\ x,y\in B_d^j.o=0∑d−1​C(o,i,x),(o,i′,y)​=δi,i′​Bx,y​for every i,i′∈{0,…,d−1}, x,y∈Bdj​.

Thus the partial trace over the first, outermost index is the identity on the next index tensored with BBB. Zero is allowed for both ddd and nnn; when d=0<nd=0<nd=0<n, the unique empty matrix satisfies this recursive condition.

QAlgorithms.Papers.Independent.Extend50.P26.InversionCompletion

For a class ccc, natural numbers d,kd,kd,k, and a complex matrix CCC indexed by Bk+1B_{k+1}Bk+1​, define the condition as follows. Here B0B_0B0​ is a singleton and Br+1=[d]×([d]×Br)B_{r+1}=[d]\times([d]\times B_r)Br+1​=[d]×([d]×Br​), where [d]={0,…,d−1}[d]=\{0,\ldots,d-1\}[d]={0,…,d−1}; thus elements of BrB_rBr​ can be written as tuples of length 2r2r2r. For matrices JJJ on BkB_kBk​, write

ΛC(J)(o,i),(o′,i′)=∑u,v∈BkC(o,u,i),(o′,v,i′) Ju,v,\Lambda_C(J)_{(o,i),(o',i')} = \sum_{u,v\in B_k} C_{(o,u,i),(o',v,i')}\,J_{u,v},ΛC​(J)(o,i),(o′,i′)​=u,v∈Bk​∑​C(o,u,i),(o′,v,i′)​Ju,v​,

where (o,u,i)(o,u,i)(o,u,i) means the tuple obtained by placing ooo before all coordinates of uuu and iii after them, with the recursive grouping prescribed by Bk+1B_{k+1}Bk+1​. Call a matrix HHH on [d]×[d][d]\times[d][d]×[d] normalized when it is positive semidefinite and ∑oH(o,i),(o,i′)=δi,i′\sum_o H_{(o,i),(o,i')}=\delta_{i,i'}∑o​H(o,i),(o,i′)​=δi,i′​. If ccc is parallel, the condition says that CCC is positive semidefinite and ΛC(J)\Lambda_C(J)ΛC​(J) is normalized for every positive semidefinite matrix JJJ on BkB_kBk​ satisfying

∑o∈[d]kJ(o1,i1,…,ok,ik),(o1,i1′,…,ok,ik′)=δi,i′for all i,i′∈[d]k.\sum_{\mathbf o\in[d]^k} J_{(o_1,i_1,\ldots,o_k,i_k),(o_1,i'_1,\ldots,o_k,i'_k)} =\delta_{\mathbf i,\mathbf i'} \quad\text{for all }\mathbf i,\mathbf i'\in[d]^k.o∈[d]k∑​J(o1​,i1​,…,ok​,ik​),(o1​,i1′​,…,ok​,ik′​)​=δi,i′​for all i,i′∈[d]k.

If ccc is adaptive, the condition is the following recursive normalization at level k+1k+1k+1: at level zero the matrix must equal the scalar matrix 111; at level r+1r+1r+1, a matrix AAA must be positive semidefinite and there must be a matrix DDD satisfying the level-rrr condition such that

∑o∈[d]A(o,i,x),(o,i′,y)=δi,i′Dx,y.\sum_{o\in[d]}A_{(o,i,x),(o,i',y)} =\delta_{i,i'}D_{x,y}.o∈[d]∑​A(o,i,x),(o,i′,y)​=δi,i′​Dx,y​.

If ccc is indefinite, the condition says that CCC is positive semidefinite and ΛC(J1⊗⋯⊗Jk)\Lambda_C(J_1\otimes\cdots\otimes J_k)ΛC​(J1​⊗⋯⊗Jk​) is normalized for every family of normalized matrices J1,…,JkJ_1,\ldots,J_kJ1​,…,Jk​ on [d]×[d][d]\times[d][d]×[d], where the tensor matrix has entries ∏r=1k(Jr)(u2r−1,u2r),(v2r−1,v2r)\prod_{r=1}^k(J_r)_{(u_{2r-1},u_{2r}),(v_{2r-1},v_{2r})}∏r=1k​(Jr​)(u2r−1​,u2r​),(v2r−1​,v2r​)​. There is no positivity assumption on ddd or kkk: d=0d=0d=0 uses empty index sets, and k=0k=0k=0 uses a singleton B0B_0B0​ and the empty tensor product 111.

QAlgorithms.Papers.Independent.Extend50.P26.Parallel

For all natural numbers d,kd,kd,k and every complex matrix CCC on Bdk+1B_d^{k+1}Bdk+1​, where BdjB_d^jBdj​ is the set of right-nested sequences of jjj ordered pairs of indices from {0,…,d−1}\{0,\ldots,d-1\}{0,…,d−1} and Bd0={∗}B_d^0=\{\ast\}Bd0​={∗}, this condition requires CCC to be positive semidefinite and imposes the following requirement on every complex matrix JJJ on BdkB_d^kBdk​: if JJJ is positive semidefinite and ∑oJg(o,a),g(o,b)=δa,b\sum_o J_{g(o,a),g(o,b)}=\delta_{a,b}∑o​Jg(o,a),g(o,b)​=δa,b​ for all length-kkk index functions a,ba,ba,b, where g(o,a)g(o,a)g(o,a) groups the pairs (o(t),a(t))(o(t),a(t))(o(t),a(t)), then the matrix

L(o,i),(o′,i′)=∑u,v∈BdkCE(o,i,u),E(o′,i′,v)Ju,vL_{(o,i),(o',i')} =\sum_{u,v\in B_d^k}C_{E(o,i,u),E(o',i',v)}J_{u,v}L(o,i),(o′,i′)​=u,v∈Bdk​∑​CE(o,i,u),E(o′,i′,v)​Ju,v​

is positive semidefinite and satisfies ∑oL(o,i),(o,i′)=δi,i′\sum_o L_{(o,i),(o,i')}=\delta_{i,i'}∑o​L(o,i),(o,i′)​=δi,i′​ for every i,i′i,i'i,i′. Here E(o,i,u)E(o,i,u)E(o,i,u) inserts ooo before the flattened coordinates of uuu and iii after them, then regroups consecutive coordinates into pairs; the contraction uses the entries of JJJ without conjugation. For k=0k=0k=0, the permitted JJJ is the singleton matrix with entry 111. When d=0d=0d=0, the condition holds for the unique empty matrix CCC, since the resulting matrix and its normalization equality have empty index sets.

QAlgorithms.Papers.Independent.Extend50.P26.UniversalInverseBranch

For arbitrary natural numbers d,kd,kd,k, a complex matrix SSS on Bk+1B_{k+1}Bk+1​, and a real number ppp, the condition says that the following entrywise identity holds for every d×dd\times dd×d special unitary matrix UUU, meaning every unitary UUU with determinant 111, and every o,i,o′,i′∈[d]o,i,o',i'\in[d]o,i,o′,i′∈[d]:

∑u,v∈BkS(o,u,i),(o′,v,i′)∏r=1k(Uu2r−1,u2r Uv2r−1,v2r‾)=p (U†)o,i (U†)o′,i′‾.\sum_{u,v\in B_k} S_{(o,u,i),(o',v,i')} \prod_{r=1}^{k} \left( U_{u_{2r-1},u_{2r}}\, \overline{U_{v_{2r-1},v_{2r}}} \right) = p\,(U^\dagger)_{o,i}\, \overline{(U^\dagger)_{o',i'}}.u,v∈Bk​∑​S(o,u,i),(o′,v,i′)​r=1∏k​(Uu2r−1​,u2r​​Uv2r−1​,v2r​​​)=p(U†)o,i​(U†)o′,i′​​.

Here [d]={0,…,d−1}[d]=\{0,\ldots,d-1\}[d]={0,…,d−1}, B0={∗}B_0=\{*\}B0​={∗}, Br+1=[d]×([d]×Br)B_{r+1}=[d]\times([d]\times B_r)Br+1​=[d]×([d]×Br​), and (o,u,i)(o,u,i)(o,u,i) is the tuple formed by adjoining ooo and iii to the ends of the 2k2k2k coordinates of uuu, with the prescribed recursive grouping. The sums use the displayed entries without an additional conjugation or transpose. No positive semidefiniteness or completion condition on SSS, and no bound or sign condition on ppp, is included. When k=0k=0k=0, the product is 111 and both sums have singleton index sets; when d=0d=0d=0, the asserted equality is an equality of empty matrices.

QAlgorithms.Papers.Independent.Extend50.P26.adaptiveInversionProbability

For every pair of natural numbers d,kd,kd,k, this declaration defines the real number

1−(1−1d2) ⌊(k+1)/d⌋,1-\left(1-\frac{1}{d^2}\right)^{\,\lfloor(k+1)/d\rfloor},1−(1−d21​)⌊(k+1)/d⌋,

where the exponent is natural-number division, rather than a real quotient. At d=0d=0d=0, natural-number division by zero and real division by zero both evaluate to zero, so the defined value is 000; at d=1d=1d=1, it is 111. For positive ddd with k+1<dk+1<dk+1<d, the exponent is zero and the value is 000, including the convention that a zeroth power equals 111. No restriction on ddd or kkk is a hypothesis of this definition.

QAlgorithms.Papers.Independent.Extend50.P26.endpoints

For every natural number ddd, every natural number kkk, indices o,i∈{0,…,d−1}o,i\in\{0,\ldots,d-1\}o,i∈{0,…,d−1}, and x∈Bdkx\in B_d^kx∈Bdk​, where Bd0={∗}B_d^0=\{\ast\}Bd0​={∗} and Bdj+1={0,…,d−1}×({0,…,d−1}×Bdj)B_d^{j+1}=\{0,\ldots,d-1\}\times(\{0,\ldots,d-1\}\times B_d^j)Bdj+1​={0,…,d−1}×({0,…,d−1}×Bdj​), this defines Edk(o,i,x)∈Bdk+1E_d^k(o,i,x)\in B_d^{k+1}Edk​(o,i,x)∈Bdk+1​ recursively by

Ed0(o,i,∗)=(o,i,∗),Edj+1(o,i,(u,v,x′))=(o,u,Edj(v,i,x′)).E_d^0(o,i,\ast)=(o,i,\ast),\qquad E_d^{j+1}(o,i,(u,v,x'))=(o,u,E_d^j(v,i,x')).Ed0​(o,i,∗)=(o,i,∗),Edj+1​(o,i,(u,v,x′))=(o,u,Edj​(v,i,x′)).

Thus, if xxx has flattened coordinates u0,v0,…,uk−1,vk−1u_0,v_0,\ldots,u_{k-1},v_{k-1}u0​,v0​,…,uk−1​,vk−1​, the result has flattened coordinates o,u0,v0,…,uk−1,vk−1,io,u_0,v_0,\ldots,u_{k-1},v_{k-1},io,u0​,v0​,…,uk−1​,vk−1​,i, regrouped into consecutive pairs. When d=0d=0d=0, there are no choices of the required endpoint indices o,io,io,i.

QAlgorithms.Papers.Independent.Extend50.P26.groupSlotPairs

For every natural number ddd, every natural number kkk, and every two functions o,i:{0,…,k−1}→{0,…,d−1}o,i:\{0,\ldots,k-1\}\to\{0,\ldots,d-1\}o,i:{0,…,k−1}→{0,…,d−1}, this defines an element gdk(o,i)g_d^k(o,i)gdk​(o,i) of the recursively nested set Bd0={∗}B_d^0=\{\ast\}Bd0​={∗}, Bdj+1={0,…,d−1}×({0,…,d−1}×Bdj)B_d^{j+1}=\{0,\ldots,d-1\}\times(\{0,\ldots,d-1\}\times B_d^j)Bdj+1​={0,…,d−1}×({0,…,d−1}×Bdj​), by

gd0(o,i)=∗,gdj+1(o,i)=(o(0),i(0),gdj(t↦o(t+1), t↦i(t+1))).g_d^0(o,i)=\ast,\qquad g_d^{j+1}(o,i)= \bigl(o(0),i(0),g_d^j(t\mapsto o(t+1),\,t\mapsto i(t+1))\bigr).gd0​(o,i)=∗,gdj+1​(o,i)=(o(0),i(0),gdj​(t↦o(t+1),t↦i(t+1))).

It therefore groups the coordinates into the nested sequence (o(0),i(0)),…,(o(k−1),i(k−1))(o(0),i(0)),\ldots,(o(k-1),i(k-1))(o(0),i(0)),…,(o(k−1),i(k−1)), in increasing order. At k=0k=0k=0, both input functions are empty and the output is the singleton element, including when d=0d=0d=0; when d=0<kd=0<kd=0<k, no such input functions exist.

QAlgorithms.Papers.Independent.Extend50.P26.inverseChoi

For every natural number ddd and every special unitary complex d×dd\times dd×d matrix UUU, meaning UUU is unitary and has determinant 111, this defines the matrix indexed by pairs of indices whose entries are

(Jinv(U))(o,i),(o′,i′)=(U†)o,i (U†)o′,i′‾=Ui,o‾ Ui′,o′.(J_{\mathrm{inv}}(U))_{(o,i),(o',i')} =(U^\dagger)_{o,i}\,\overline{(U^\dagger)_{o',i'}} =\overline{U_{i,o}}\,U_{i',o'}.(Jinv​(U))(o,i),(o′,i′)​=(U†)o,i​(U†)o′,i′​​=Ui,o​​Ui′,o′​.

Here U†U^\daggerU† is the conjugate transpose, and there is no dimension-dependent normalization factor. The definition includes d=0d=0d=0, where the resulting matrix has an empty index set.

QAlgorithms.Papers.Independent.Extend50.P26.inversionBasisFintype

For every natural number ddd and every natural number nnn, this supplies a finite enumeration of the recursively defined set Bd0={∗}B_d^0=\{\ast\}Bd0​={∗}, Bdj+1={0,…,d−1}×({0,…,d−1}×Bdj)B_d^{j+1}=\{0,\ldots,d-1\}\times(\{0,\ldots,d-1\}\times B_d^j)Bdj+1​={0,…,d−1}×({0,…,d−1}×Bdj​). At n=0n=0n=0 it uses the singleton enumeration; at each successor it uses the product enumeration built from the preceding enumeration and the two finite index sets. Its cardinality is d2nd^{2n}d2n; in particular, the enumeration has one element when n=0n=0n=0, and no elements when d=0<nd=0<nd=0<n.

QAlgorithms.Papers.Independent.Extend50.P26.inversionLink

For all natural numbers d,kd,kd,k, every complex matrix SSS on Bdk+1B_d^{k+1}Bdk+1​, and every complex matrix JJJ on BdkB_d^kBdk​, this defines a matrix L(S,J)L(S,J)L(S,J) indexed by {0,…,d−1}2\{0,\ldots,d-1\}^2{0,…,d−1}2, with entries

L(S,J)(o,i),(o′,i′)=∑u,v∈BdkSEdk(o,i,u), Edk(o′,i′,v) Ju,v.L(S,J)_{(o,i),(o',i')} =\sum_{u,v\in B_d^k} S_{E_d^k(o,i,u),\,E_d^k(o',i',v)}\,J_{u,v}.L(S,J)(o,i),(o′,i′)​=u,v∈Bdk​∑​SEdk​(o,i,u),Edk​(o′,i′,v)​Ju,v​.

Here Bd0={∗}B_d^0=\{\ast\}Bd0​={∗}, Bdj+1={0,…,d−1}×({0,…,d−1}×Bdj)B_d^{j+1}=\{0,\ldots,d-1\}\times(\{0,\ldots,d-1\}\times B_d^j)Bdj+1​={0,…,d−1}×({0,…,d−1}×Bdj​), and Edk(o,i,u)E_d^k(o,i,u)Edk​(o,i,u) inserts ooo before the flattened coordinates of uuu and iii after them, then regroups consecutive coordinates into pairs. The summand uses Ju,vJ_{u,v}Ju,v​ directly, without conjugating or transposing it. No positivity or normalization assumptions are imposed. For k=0k=0k=0, the sum has one term and multiplies the corresponding entry of SSS by J∗,∗J_{\ast,\ast}J∗,∗​; for d=0d=0d=0, the output matrix has an empty index set.

QAlgorithms.Papers.Independent.Extend50.P26.slotTensor

For every natural number ddd, every natural number kkk, and every family J0,…,Jk−1J_0,\ldots,J_{k-1}J0​,…,Jk−1​ of arbitrary complex matrices indexed by {0,…,d−1}2\{0,\ldots,d-1\}^2{0,…,d−1}2, this defines a matrix on BdkB_d^kBdk​, where Bd0={∗}B_d^0=\{\ast\}Bd0​={∗} and Bdj+1={0,…,d−1}×({0,…,d−1}×Bdj)B_d^{j+1}=\{0,\ldots,d-1\}\times(\{0,\ldots,d-1\}\times B_d^j)Bdj+1​={0,…,d−1}×({0,…,d−1}×Bdj​). Writing its row and column indices as nested pairs a=((ot,it))t=0k−1a=((o_t,i_t))_{t=0}^{k-1}a=((ot​,it​))t=0k−1​ and b=((ot′,it′))t=0k−1b=((o'_t,i'_t))_{t=0}^{k-1}b=((ot′​,it′​))t=0k−1​, its entry is

Tdk(J)a,b=∏t=0k−1(Jt)(ot,it),(ot′,it′).T_d^k(J)_{a,b}=\prod_{t=0}^{k-1}(J_t)_{(o_t,i_t),(o'_t,i'_t)}.Tdk​(J)a,b​=t=0∏k−1​(Jt​)(ot​,it​),(ot′​,it′​)​.

For k=0k=0k=0, the result is the identity matrix on the singleton set, with sole entry 111. No positivity or normalization is required of the factors; if d=0<kd=0<kd=0<k, the resulting matrix has an empty index set.

QAlgorithms.Papers.Independent.Extend50.P26.unitaryChoi

For every natural number ddd and every complex d×dd\times dd×d matrix AAA, this defines a matrix JAJ_AJA​ indexed by pairs from {0,…,d−1}2\{0,\ldots,d-1\}^2{0,…,d−1}2, with entries

(JA)(o,i),(o′,i′)=Ao,i Ao′,i′‾.(J_A)_{(o,i),(o',i')}=A_{o,i}\,\overline{A_{o',i'}}.(JA​)(o,i),(o′,i′)​=Ao,i​Ao′,i′​​.

There is no hypothesis that AAA is unitary and no dimension-dependent normalization factor. When d=0d=0d=0, this is the unique matrix on the empty index set.

Human review
  • Endorsed by Shuze Chen · Oct 29, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Oct 29, 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