Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Definitions for The operational meaning of min- and max-entropy

Definition
QAlgorithms_Papers_Independent_Advance50_P12

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

prove2quantum

The objects the formalized statements of The operational meaning of min- and max-entropy (arXiv:0807.1338) are stated in. Each was checked against the paper by a blind read-back and a moderator.

  • purificationComplement: PDF p.2, Definition 2: the AC marginal of the canonical purification with C=A times B and coefficients (sqrt rho)((a,b),c). The AB marginal is rho for a density matrix. The conjugation and the traced-out B are explicit.
  • purificationMaxEntropy: PDF p.2, (6): conditional max entropy by purification duality, without using Theorem 3's fidelity formula. The frozen Support50.P21.hMax instead denotes unconditional log-rank entropy, which the source distinguishes in footnote 7.
  • completelyMixedDensity: PDF pp.6,10: mixed density I_A/d_A; positive dimension is imposed at use. Distinct from the frozen QAlgorithms.uniformState, a pure uniform ket.
  • entangledKet: PDF p.7, (28): a maximally entangled unit vector on A and an isomorphic copy A'.
  • targetOverlap: PDF p.9, Theorem 2 and Remark 1: optimal SQUARED root fidelity with a specified pure target; optimization is over all CPTP maps B to A'.
  • qCorr: PDF p.9, Theorem 2: dimension-scaled maximal achievable singlet fraction. The output register is A', not B, so no comparison of input dimensions is needed.
  • qDecpl: PDF pp.6,10, (22): dimension-scaled decoupling accuracy, optimized over all normalized reference states, rather than just the actual B marginal.
  • pSecr: PDF p.5, before (19): the independent classical ensemble expression for secrecy, max_sigma (sum_x sqrt(p_x) F(rho_x,sigma)) squared. It is dimension-scaled and can exceed one.
  • ClassicalOnFirst: PDF pp.7–8: Hermitian operator classical in the fixed first-register basis. The same coordinate basis is used for rho and for the restricted dual optimizer.
  • EntropyPrimalFeasible: PDF p.8, (29): the primal operator is PSD and not trace-normalized. The frozen SDP.PrimalFeasible models scalar trace-inequality constraints, not this operator-valued entropy constraint.
  • EntropyDualFeasible: PDF p.8, (29): the dual partial trace is equality to the identity. The frozen SDP.DualFeasible instead models a vector of nonnegative scalar multipliers for a different SDP; it is not this operator constraint.
  • UnitalCP: PDF p.7: unital CP maps on the entire operator algebra. The existential linear map bundles complex linearity; positivity covers every finite ancilla.
Definition code
import Mathlib
import Definitions.Def_QAlgorithms_Defs_QuantumInformation
import Definitions.Def_QAlgorithms_Defs_Channel
import Definitions.Def_QAlgorithms_Defs_Measurement
import Definitions.Def_QAlgorithms_Defs_MatrixMapPositivity
import Definitions.Def_QAlgorithms_Papers_Independent_Dependency50_P07
import Definitions.Def_QAlgorithms_Papers_Independent_Dependency50_P35
import Definitions.Def_QAlgorithms_Papers_Independent_Information100_P67
import Definitions.Def_QAlgorithms_Papers_Independent_Renew46_P35
import Definitions.Def_QAlgorithms_Papers_Independent_Support50_P23

/-! Koenig, Renner and Schaffner, arXiv:0807.1338v2.
All page numbers are PDF pages; logarithms are binary. Finite nonempty index
sets are arbitrary chosen orthonormal bases, with no qubit restriction.
Compilation is pending the separate mechanical handoff. -/

noncomputable section

namespace QAlgorithms.Papers.Independent.Advance50.P12

open QAlgorithms
open scoped Matrix ComplexConjugate ComplexOrder ENNReal

attribute [local instance] Classical.propDecidable Classical.decEq

open QAlgorithms.Papers.Independent.Dependency50.P07 (CQData cqDensity)
open QAlgorithms.Papers.Independent.Dependency50.P35 (maxRelative elog marginalAB)
open QAlgorithms.Papers.Independent.Information100.P67 (conditionalMinEntropy)
open QAlgorithms.Papers.Independent.Renew46.P35 (traceAdjoint)
open QAlgorithms.Papers.Independent.Support50.P23 (exp2Extended independentProduct)

variable {A B C D X : Type}
variable [Fintype A] [Fintype B] [Fintype C] [Fintype D] [Fintype X]
variable [DecidableEq A] [DecidableEq B] [DecidableEq C] [DecidableEq D] [DecidableEq X]

/-- PDF p.2, Definition 2: the AC marginal of the canonical purification
with C=A times B and coefficients (sqrt rho)((a,b),c). The AB marginal is rho
for a density matrix. The conjugation and the traced-out B are explicit. -/
def purificationComplement (rho : Matrix (A × B) (A × B) ℂ) :
    Matrix (A × (A × B)) (A × (A × B)) ℂ :=
  fun x y => ∑ b, (cfc Real.sqrt rho) (x.1, b) x.2 *
    conj ((cfc Real.sqrt rho) (y.1, b) y.2)

/-- PDF p.2, (6): conditional max entropy by purification duality, without using
Theorem 3's fidelity formula. The frozen Support50.P21.hMax instead denotes
unconditional log-rank entropy, which the source distinguishes in footnote 7. -/
def purificationMaxEntropy (rho : Matrix (A × B) (A × B) ℂ) : EReal :=
  -conditionalMinEntropy (purificationComplement rho)

/-- PDF pp.6,10: mixed density I_A/d_A; positive dimension is imposed at use.
Distinct from the frozen QAlgorithms.uniformState, a pure uniform ket. -/
def completelyMixedDensity (A : Type) [Fintype A] [DecidableEq A] : Matrix A A ℂ :=
  (Fintype.card A : ℂ)⁻¹ • 1

/-- PDF p.7, (28): a maximally entangled unit vector on A and an isomorphic copy A'. -/
def entangledKet (A : Type) [Fintype A] [DecidableEq A] : EuclideanSpace ℂ (A × A) :=
  WithLp.toLp 2 fun x => if x.1 = x.2 then
    ((Real.sqrt (Fintype.card A : ℝ))⁻¹ : ℂ) else 0

/-- PDF p.9, Theorem 2 and Remark 1: optimal SQUARED root fidelity with a
specified pure target; optimization is over all CPTP maps B to A'. -/
def targetOverlap (rho : Matrix (A × B) (A × B) ℂ)
    (psi : EuclideanSpace ℂ (A × A)) : ℝ :=
  sSup {v : ℝ | ∃ f : Superop B A, IsChannel f ∧
    v = rootFidelity (idTensorSuperop f rho) (pureDensity psi) ^ 2}

/-- PDF p.9, Theorem 2: dimension-scaled maximal achievable singlet fraction.
The output register is A', not B, so no comparison of input dimensions is needed. -/
def qCorr (rho : Matrix (A × B) (A × B) ℂ) : ℝ :=
  (Fintype.card A : ℝ) * targetOverlap rho (entangledKet A)

/-- PDF pp.6,10, (22): dimension-scaled decoupling accuracy, optimized over
all normalized reference states, rather than just the actual B marginal. -/
def qDecpl (rho : Matrix (A × B) (A × B) ℂ) : ℝ :=
  (Fintype.card A : ℝ) * sSup {v : ℝ | ∃ sigma : Matrix B B ℂ,
    IsDensityMatrix sigma ∧
    v = rootFidelity rho (Matrix.kronecker (completelyMixedDensity A) sigma) ^ 2}

/-- PDF p.5, before (19): the independent classical ensemble expression for
secrecy, max_sigma (sum_x sqrt(p_x) F(rho_x,sigma)) squared.
It is dimension-scaled and can exceed one. -/
def pSecr (e : CQData X B) : ℝ :=
  sSup {v : ℝ | ∃ sigma : Matrix B B ℂ, IsDensityMatrix sigma ∧
    v = (∑ x, Real.sqrt (e.prob x) * rootFidelity (e.state x) sigma) ^ 2}

/-- PDF pp.7–8: Hermitian operator classical in the fixed first-register basis.
The same coordinate basis is used for rho and for the restricted dual optimizer. -/
def ClassicalOnFirst (rho : Matrix (A × B) (A × B) ℂ) : Prop :=
  rho.IsHermitian ∧ ∀ a a2 b b2, a ≠ a2 → rho (a, b) (a2, b2) = 0

/-- PDF p.8, (29): the primal operator is PSD and not trace-normalized.
The frozen SDP.PrimalFeasible models scalar trace-inequality constraints,
not this operator-valued entropy constraint. -/
def EntropyPrimalFeasible (rho : Matrix (A × B) (A × B) ℂ) (sigma : Matrix B B ℂ) : Prop :=
  sigma.PosSemidef ∧ (Matrix.kronecker (1 : Matrix A A ℂ) sigma - rho).PosSemidef

/-- PDF p.8, (29): the dual partial trace is equality to the identity.
The frozen SDP.DualFeasible instead models a vector of nonnegative scalar
multipliers for a different SDP; it is not this operator constraint. -/
def EntropyDualFeasible (e : Matrix (A × B) (A × B) ℂ) : Prop :=
  e.PosSemidef ∧ traceLeft e = 1

/-- PDF p.7: unital CP maps on the entire operator algebra. The existential
linear map bundles complex linearity; positivity covers every finite ancilla. -/
def UnitalCP (f : Superop A B) : Prop :=
  ∃ g : Matrix A A ℂ →ₗ[ℂ] Matrix B B ℂ,
    (∀ z, f z = g z) ∧ Entanglement.IsCompletelyPositive g ∧ g 1 = 1

/-! Sanity examples for the local substrate. -/

example : completelyMixedDensity Unit = (1 : Matrix Unit Unit ℂ) := by
  simp [completelyMixedDensity]

example : entangledKet Unit ((), ()) = 1 := by
  simp [entangledKet]

example : purificationComplement (1 : Matrix (Unit × Unit) (Unit × Unit) ℂ) = 1 := by
  ext x y
  have hxy : x = y := Subsingleton.elim _ _
  subst y
  simp [purificationComplement, cfc_one, Matrix.one_apply]

example (rho : Matrix (A × B) (A × B) ℂ) (a a2 : A) (c c2 : A × B) :
    purificationComplement rho (a, c) (a2, c2) =
      ∑ b, (cfc Real.sqrt rho) (a, b) c * conj ((cfc Real.sqrt rho) (a2, b) c2) := rfl

example : ClassicalOnFirst (0 : Matrix (A × B) (A × B) ℂ) := by
  exact ⟨Matrix.isHermitian_zero, by intros; rfl⟩

example (rho : Matrix (A × B) (A × B) ℂ) :
    purificationMaxEntropy rho = -conditionalMinEntropy (purificationComplement rho) := rfl

end QAlgorithms.Papers.Independent.Advance50.P12
Source
The operational meaning of min-and max-entropy, arXiv:0807.1338v2, https://arxiv.org/abs/0807.1338v2
Read-back

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

QAlgorithms.Papers.Independent.Advance50.P12.ClassicalOnFirst

For finite index types A,BA,BA,B with decidable equality and a complex matrix ρ\rhoρ on A×BA\times BA×B, this predicate means that ρ\rhoρ is Hermitian and that, for every a,a′∈Aa,a'\in Aa,a′∈A and b,b′∈Bb,b'\in Bb,b′∈B, a≠a′a\ne a'a=a′ implies ρ(a,b),(a′,b′)=0\rho_{(a,b),(a',b')}=0ρ(a,b),(a′,b′)​=0. It imposes no positivity or trace condition. If AAA has at most one element, the off-block condition is vacuous; if either index type is empty, it also holds vacuously.

QAlgorithms.Papers.Independent.Advance50.P12.EntropyDualFeasible

For finite index types A,BA,BA,B with decidable equality and a complex matrix eee on A×BA\times BA×B, this predicate means that e⪰0e\succeq0e⪰0 and that its partial trace over AAA is exactly IBI_BIB​; explicitly,

∑a∈Ae(a,b),(a,b′)={1,b=b′,0,b≠b′for every b,b′∈B.\sum_{a\in A}e_{(a,b),(a,b')}= \begin{cases} 1,&b=b',\\ 0,&b\ne b' \end{cases} \qquad\text{for every }b,b'\in B.a∈A∑​e(a,b),(a,b′)​={1,0,​b=b′,b=b′​for every b,b′∈B.

There is no requirement that eee have trace one. Empty types are included: if AAA is empty and BBB is nonempty, the predicate cannot hold; if BBB is empty, both conditions hold for the unique matrix.

QAlgorithms.Papers.Independent.Advance50.P12.EntropyPrimalFeasible

For finite index types A,BA,BA,B with decidable equality, a complex matrix ρ\rhoρ on A×BA\times BA×B, and a complex matrix σ\sigmaσ on BBB, this predicate means

σ⪰0andIA⊗σ−ρ⪰0.\sigma\succeq0 \quad\text{and}\quad I_A\otimes\sigma-\rho\succeq0.σ⪰0andIA​⊗σ−ρ⪰0.

There is no trace normalization for σ\sigmaσ and no separate positivity or normalization assumption on ρ\rhoρ. Empty index types are allowed; when AAA is empty, the second condition is automatic.

QAlgorithms.Papers.Independent.Advance50.P12.UnitalCP

For finite index types A,BA,BA,B with decidable equality and any function fff from complex matrices on AAA to complex matrices on BBB, this predicate means that there exists a complex-linear map ggg agreeing with fff on every matrix, satisfying g(IA)=IBg(I_A)=I_Bg(IA​)=IB​, and having the following positivity property: for every natural number rrr, including r=0r=0r=0, and every positive semidefinite matrix XXX on {0,…,r−1}×A\{0,\ldots,r-1\}\times A{0,…,r−1}×A, the matrix on {0,…,r−1}×B\{0,\ldots,r-1\}\times B{0,…,r−1}×B with entries

Y(i,b),(j,b′)=[g ⁣((X(i,a),(j,a′))a,a′∈A)]b,b′Y_{(i,b),(j,b')}= \left[g\!\left((X_{(i,a),(j,a')})_{a,a'\in A}\right)\right]_{b,b'}Y(i,b),(j,b′)​=[g((X(i,a),(j,a′)​)a,a′∈A​)]b,b′​

is positive semidefinite. No trace-preservation condition is imposed. Empty types are allowed; if AAA is empty and BBB is nonempty, the identity condition is impossible, while empty BBB makes the unique output map satisfy the predicate.

QAlgorithms.Papers.Independent.Advance50.P12.completelyMixedDensity

For any finite type AAA with decidable equality, writing d=∣A∣d=|A|d=∣A∣, this definition gives the complex matrix d−1IAd^{-1}I_Ad−1IA​: its diagonal entries are d−1d^{-1}d−1, and its off-diagonal entries are zero. The empty type is included; then d=0d=0d=0, the scalar inverse is defined to be zero, and the result is the unique matrix on the empty index type.

QAlgorithms.Papers.Independent.Advance50.P12.entangledKet

For any finite type AAA with decidable equality, writing d=∣A∣d=|A|d=∣A∣, this definition gives the vector ΦA∈CA×A\Phi_A\in\mathbb C^{A\times A}ΦA​∈CA×A with Euclidean norm structure and coordinates

ΦA(a,a′)={(d)−1,a=a′,0,a≠a′.\Phi_A(a,a')= \begin{cases} (\sqrt d)^{-1},&a=a',\\ 0,&a\ne a'. \end{cases}ΦA​(a,a′)={(d​)−1,0,​a=a′,a=a′.​

The displayed real scalar is regarded as complex. Empty AAA is allowed; the result is then the unique zero vector on the empty index type, with the inverse of zero interpreted as zero.

QAlgorithms.Papers.Independent.Advance50.P12.pSecr

For finite index types X,BX,BX,B with decidable equality and data eee consisting of arbitrary real numbers px=e.prob(x)p_x=e.\mathrm{prob}(x)px​=e.prob(x) and arbitrary complex matrices ρx=e.state(x)\rho_x=e.\mathrm{state}(x)ρx​=e.state(x) on BBB, this definition gives

sup⁡σ⪰0tr⁡σ=1(∑x∈Xpx Re⁡tr⁡ρx σ ρx)2.\sup_{\substack{\sigma\succeq0\\\operatorname{tr}\sigma=1}} \left( \sum_{x\in X}\sqrt{p_x}\, \operatorname{Re}\operatorname{tr} \sqrt{\sqrt{\rho_x}\,\sigma\,\sqrt{\rho_x}} \right)^2.σ⪰0trσ=1​sup​(x∈X∑​px​​Retrρx​​σρx​​​)2.

The supremum is a real supremum over matrices σ\sigmaσ on BBB, and matrix square roots use real functional calculus. There is no assumption that the data are valid: the pxp_xpx​ need not be nonnegative or sum to one, and the ρx\rho_xρx​ need not be density matrices. The real square root is total and is zero on negative inputs. Empty types are included; empty XXX makes the sum zero, while empty BBB makes the feasible set empty, whose real supremum is zero.

QAlgorithms.Papers.Independent.Advance50.P12.purificationComplement

For finite index types A,BA,BA,B with decidable equality and any complex matrix ρ\rhoρ indexed by A×BA\times BA×B, let SSS be the result of applying the real square-root function to ρ\rhoρ by functional calculus. This definition produces the matrix CρC_\rhoCρ​ indexed by A×(A×B)A\times(A\times B)A×(A×B) whose entries are

(Cρ)(a,u),(a′,v)=∑b∈BS(a,b),u S(a′,b),v‾,a,a′∈A,u,v∈A×B.(C_\rho)_{(a,u),(a',v)} =\sum_{b\in B}S_{(a,b),u}\,\overline{S_{(a',b),v}}, \qquad a,a'\in A,\quad u,v\in A\times B.(Cρ​)(a,u),(a′,v)​=b∈B∑​S(a,b),u​S(a′,b),v​​,a,a′∈A,u,v∈A×B.

No Hermiticity, positivity, or normalization of ρ\rhoρ is assumed. Empty index types are allowed; an empty sum is zero.

QAlgorithms.Papers.Independent.Advance50.P12.purificationMaxEntropy

For finite index types A,BA,BA,B with decidable equality and any complex matrix ρ\rhoρ on A×BA\times BA×B, form SSS by applying the real square-root function to ρ\rhoρ through functional calculus, and define C(a,u),(a′,v)=∑b∈BS(a,b),uS(a′,b),v‾C_{(a,u),(a',v)}=\sum_{b\in B}S_{(a,b),u}\overline{S_{(a',b),v}}C(a,u),(a′,v)​=∑b∈B​S(a,b),u​S(a′,b),v​​. The defined value is the extended real number

−sup⁡{λ∈R:∃ σ on A×B,σ⪰0,tr⁡σ=1,2−λIA⊗σ−C⪰0},-\sup\left\{\lambda\in\mathbb R: \exists\,\sigma\text{ on }A\times B,\quad \sigma\succeq0,\quad \operatorname{tr}\sigma=1,\quad 2^{-\lambda}I_A\otimes\sigma-C\succeq0 \right\},−sup{λ∈R:∃σ on A×B,σ⪰0,trσ=1,2−λIA​⊗σ−C⪰0},

where real λ\lambdaλ are embedded into the extended reals before taking the supremum. No state assumptions are imposed on ρ\rhoρ, and no attainment is required. If AAA or BBB is empty, there is no such trace-one σ\sigmaσ, so the supremum is −∞-\infty−∞ and the defined value is +∞+\infty+∞.

QAlgorithms.Papers.Independent.Advance50.P12.qCorr

For finite index types A,BA,BA,B with decidable equality and any complex matrix ρ\rhoρ on A×BA\times BA×B, put d=∣A∣d=|A|d=∣A∣ and define Φ(a,a′)=(d)−1\Phi(a,a')=(\sqrt d)^{-1}Φ(a,a′)=(d​)−1 when a=a′a=a'a=a′, and zero otherwise. The defined quantity is

dsup⁡f(Re⁡tr⁡Yf (ΦΦ†) Yf)2.d\sup_f \left(\operatorname{Re}\operatorname{tr} \sqrt{\sqrt{Y_f}\,(\Phi\Phi^\dagger)\,\sqrt{Y_f}}\right)^2.dfsup​(RetrYf​​(ΦΦ†)Yf​​​)2.

Here fff ranges over maps Z↦∑j=0m−1KjZKj†Z\mapsto\sum_{j=0}^{m-1}K_j ZK_j^\daggerZ↦∑j=0m−1​Kj​ZKj†​, for any natural number mmm, with complex AAA-by-BBB matrices KjK_jKj​ satisfying ∑jKj†Kj=IB\sum_jK_j^\dagger K_j=I_B∑j​Kj†​Kj​=IB​; its action on ρ\rhoρ is blockwise, namely (Yf)(a,c),(a′,c′)=[f((ρ(a,b),(a′,b′))b,b′)]c,c′(Y_f)_{(a,c),(a',c')}=[f((\rho_{(a,b),(a',b')})_{b,b'})]_{c,c'}(Yf​)(a,c),(a′,c′)​=[f((ρ(a,b),(a′,b′)​)b,b′​)]c,c′​. The entries of ΦΦ†\Phi\Phi^\daggerΦΦ† are Φ(u)Φ(v)‾\Phi(u)\overline{\Phi(v)}Φ(u)Φ(v)​, and all square roots use real functional calculus. No assumptions are made on ρ\rhoρ. Empty types are included, inverses of zero are zero, and the supremum is the real supremum without an attainment requirement; in particular, empty AAA gives value zero.

QAlgorithms.Papers.Independent.Advance50.P12.qDecpl

For finite index types A,BA,BA,B with decidable equality and any complex matrix ρ\rhoρ on A×BA\times BA×B, writing d=∣A∣d=|A|d=∣A∣, this definition gives

dsup⁡σ⪰0tr⁡σ=1(Re⁡tr⁡ρ (d−1IA⊗σ) ρ)2,d\sup_{\substack{\sigma\succeq0\\\operatorname{tr}\sigma=1}} \left(\operatorname{Re}\operatorname{tr} \sqrt{\sqrt\rho\,\bigl(d^{-1}I_A\otimes\sigma\bigr)\,\sqrt\rho}\right)^2,dσ⪰0trσ=1​sup​(Retrρ​(d−1IA​⊗σ)ρ​​)2,

where σ\sigmaσ is indexed by BBB, all square roots are applications of the real square-root function through functional calculus, and the supremum is taken in R\mathbb RR. No positivity or normalization of ρ\rhoρ is assumed, and attainment is not required. Empty types are allowed: the inverse of zero is zero, empty AAA gives value zero, and empty BBB leaves no trace-one σ\sigmaσ, yielding the real empty supremum zero.

QAlgorithms.Papers.Independent.Advance50.P12.targetOverlap

For finite index types A,BA,BA,B with decidable equality, any complex matrix ρ\rhoρ on A×BA\times BA×B, and any vector ψ∈CA×A\psi\in\mathbb C^{A\times A}ψ∈CA×A, this definition is the real supremum of F(Y,ψψ†)F(Y,\psi\psi^\dagger)F(Y,ψψ†) over all maps fff from matrices on BBB to matrices on AAA admitting a finite representation f(Z)=∑j=0m−1KjZKj†f(Z)=\sum_{j=0}^{m-1}K_j ZK_j^\daggerf(Z)=∑j=0m−1​Kj​ZKj†​, where m∈Nm\in\mathbb Nm∈N, each KjK_jKj​ is an AAA-by-BBB complex matrix, and ∑jKj†Kj=IB\sum_jK_j^\dagger K_j=I_B∑j​Kj†​Kj​=IB​. Here YYY is specified blockwise by Y(a,c),(a′,c′)=[f((ρ(a,b),(a′,b′))b,b′)]c,c′Y_{(a,c),(a',c')}=[f((\rho_{(a,b),(a',b')})_{b,b'})]_{c,c'}Y(a,c),(a′,c′)​=[f((ρ(a,b),(a′,b′)​)b,b′​)]c,c′​, the matrix ψψ†\psi\psi^\daggerψψ† has entries ψ(u)ψ(v)‾\psi(u)\overline{\psi(v)}ψ(u)ψ(v)​, and

F(X,Z)=(Re⁡tr⁡[X Z X])2,F(X,Z)= \left(\operatorname{Re}\operatorname{tr} \left[\sqrt{\sqrt X\,Z\,\sqrt X}\right]\right)^2,F(X,Z)=(Retr[X​ZX​​])2,

with every square root interpreted through the stated real functional calculus. Neither ρ\rhoρ nor ψ\psiψ is assumed normalized or positive, and empty types and m=0m=0m=0 are included. This is a real supremum, with no attainment assertion; its empty-set value is zero.

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