Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 4.3 — explicit oblique-projection formulas for the optimal adjustment aaa and pure hedge ξ\xiξ, pointwise in Rd\mathbb R^dRd

Proved
NumInvQH.Oblique.theorem_4_3

by mikedeng1 · Oct 21, 2026 · Mathlib 0df444a (Lean v4.33.1)

mean-varianceoblique-projectionp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1pseudoinversequadratic-hedging

Throughout, X+X^{+}X+ denotes the Moore–Penrose pseudoinverse of a real matrix XXX: the unique matrix satisfying XX+X=XXX^{+}X=XXX+X=X, X+XX+=X+X^{+}XX^{+}=X^{+}X+XX+=X+, (XX+)T=XX+(XX^{+})^{\mathsf T}=XX^{+}(XX+)T=XX+, (X+X)T=X+X(X^{+}X)^{\mathsf T}=X^{+}X(X+X)T=X+X (the paper writes X−1X^{-1}X−1). R(⋅)R(\cdot)R(⋅) is the column space and N(⋅)N(\cdot)N(⋅) the null space of a matrix.

Fix the pointwise data of the hedging problem at one time and state: a matrix C=c~S⋆∈Rd×dC=\tilde c^{S\star}\in\mathbb R^{d\times d}C=c~S⋆∈Rd×d that is symmetric positive semidefinite (the modified second characteristic of the price process SSS), vectors b=bS⋆b=b^{S\star}b=bS⋆, s=S−≠0s=S_-\neq0s=S−​=0 and u=c~SV⋆∈R(C)u=\tilde c^{SV\star}\in R(C)u=c~SV⋆∈R(C) in Rd\mathbb R^dRd, and a scalar v=V−v=V_-v=V−​. Strategies ϑ\varthetaϑ are row vectors. Let

Ξa=arg min⁡ϑs=−1{ϑCϑT−2ϑb},Ξξ=arg min⁡ϑs=v{ϑCϑT−2ϑu}\Xi_a=\operatorname*{arg\,min}_{\vartheta s=-1}\{\vartheta C\vartheta^{\mathsf T}-2\vartheta b\},\qquad \Xi_\xi=\operatorname*{arg\,min}_{\vartheta s=v}\{\vartheta C\vartheta^{\mathsf T}-2\vartheta u\}Ξa​=ϑs=−1argmin​{ϑCϑT−2ϑb},Ξξ​=ϑs=vargmin​{ϑCϑT−2ϑu}

be the sets of all minimizers in (4.3) and (4.7), and put

m=I−ssTsTs,p=(mCm)+,a=bTp−sTsTs(I−Cp),ξ=uTp+v sTsTs(I−Cp).m=I-\frac{ss^{\mathsf T}}{s^{\mathsf T}s},\quad p=(mCm)^{+},\quad a=b^{\mathsf T}p-\frac{s^{\mathsf T}}{s^{\mathsf T}s}(I-Cp),\quad \xi=u^{\mathsf T}p+v\,\frac{s^{\mathsf T}}{s^{\mathsf T}s}(I-Cp).m=I−sTsssT​,p=(mCm)+,a=bTp−sTssT​(I−Cp),ξ=uTp+vsTssT​(I−Cp).

Then:

  1. Ξa\Xi_aΞa​ is non-empty if and only if b∈R(C)+R(s)b\in R(C)+R(s)b∈R(C)+R(s). In this case Ξa=a+N(C)∩N(sT)\Xi_a=a+N(C)\cap N(s^{\mathsf T})Ξa​=a+N(C)∩N(sT) and aaa is the minimum-norm element of Ξa\Xi_aΞa​.
  2. Ξξ=ξ+N(C)∩N(sT)\Xi_\xi=\xi+N(C)\cap N(s^{\mathsf T})Ξξ​=ξ+N(C)∩N(sT), and ξ\xiξ is the minimum-norm element of Ξξ\Xi_\xiΞξ​.
  3. If s∈R(C)s\in R(C)s∈R(C), then
a=bTC+−(1+bTC+s)sTC+sTC+s,ξ=uTC++(v−uTC+s)sTC+sTC+s.a=b^{\mathsf T}C^{+}-\bigl(1+b^{\mathsf T}C^{+}s\bigr)\frac{s^{\mathsf T}C^{+}}{s^{\mathsf T}C^{+}s},\qquad \xi=u^{\mathsf T}C^{+}+\bigl(v-u^{\mathsf T}C^{+}s\bigr)\frac{s^{\mathsf T}C^{+}}{s^{\mathsf T}C^{+}s}.a=bTC+−(1+bTC+s)sTC+ssTC+​,ξ=uTC++(v−uTC+s)sTC+ssTC+​.
  1. If s∉R(C)s\notin R(C)s∈/R(C), let mˉ=I−CC+\bar m=I-CC^{+}mˉ=I−CC+, α=sTmˉsTmˉs\alpha=\dfrac{s^{\mathsf T}\bar m}{s^{\mathsf T}\bar ms}α=sTmˉssTmˉ​ and r=αbr=\alpha br=αb. Then
a=(b−rs)TC+−(1+(b−rs)TC+s)α,ξ=uTC++(v−uTC+s)α,a=(b-rs)^{\mathsf T}C^{+}-\bigl(1+(b-rs)^{\mathsf T}C^{+}s\bigr)\alpha,\qquad \xi=u^{\mathsf T}C^{+}+\bigl(v-u^{\mathsf T}C^{+}s\bigr)\alpha,a=(b−rs)TC+−(1+(b−rs)TC+s)α,ξ=uTC++(v−uTC+s)α,

and αs=1\alpha s=1αs=1, αC=0\alpha C=0αC=0.

In the paper, aaa is the optimal adjustment process and ξ\xiξ the pure hedge coefficient of numeraire-invariant quadratic hedging (Theorem 4.1); the theorem expresses both through oblique projections and identifies the whole solution sets.

Formalization Note The semimartingale quantities are read pointwise, at a fixed (ω,t)(\omega,t)(ω,t), as the finite-dimensional data above; the stochastic construction of Theorem 4.1 is not part of the statement. The hypothesis s≠0s\neq0s=0 is implicit in the paper (there S−≠0S_-\neq0S−​=0 because SSS admits a numeraire with positive value; without it the iff in (1) is false and sTs=0s^{\mathsf T}s=0sTs=0 is a denominator). The hypothesis u∈R(C)u\in R(C)u∈R(C) is what "in the setting of Theorem 4.1" contributes to part (2), as the proof states; the milestone range_fact_4_3 derives it from positive semidefiniteness of the joint characteristic. Of the last sentence of part (4), which interprets α\alphaα as the instantaneously risk-free fully invested portfolio, only its algebraic content αs=1\alpha s=1αs=1 and αC=0\alpha C=0αC=0 is formalised. The four parts are the conjuncts of one statement, in order; aaa and ξ\xiξ are local definitions (let). Every pseudoinverse is an explicit matrix argument together with the hypothesis that it satisfies the four Penrose equations (LocalDistanceNetwork.IsMoorePenroseInverse); since such a matrix exists and is unique, this is the same as using "the" pseudoinverse. Lean's matrix inverse ⁻¹ is never used for a matrix; it appears only for real scalars.

Preamble
import Mathlib
import Definitions.Def_LocalDistanceNetwork_GLS
import Definitions.Def_NumInvQH_Oblique_Basic

open Matrix
Formal statement
namespace NumInvQH.Oblique

/-- Theorem 4.3, read pointwise in real finite dimensions: `C` is c̃^{S⋆}, `b` is b^{S⋆}, `s` is S₋,
`u` is c̃^{SV⋆} (c̃^{VS⋆} read as a row), `v` is V₋; `p` and `Cp` are the Moore–Penrose
pseudoinverses of `mCm` and `C`. Parts (1)–(4) are the conjuncts in order; the last two equalities
of part (4) are the algebraic content of "α is the instantaneously risk-free fully invested
portfolio" (αS₋ = 1, αc̃^{S⋆} = 0). -/
theorem theorem_4_3 {d : ℕ}
    (C : Matrix (Fin d) (Fin d) ℝ) (hC : C.PosSemidef)
    (b s u : Fin d → ℝ) (v : ℝ) (hs : s ≠ 0)
    (hu : u ∈ LinearMap.range (Matrix.toLin' C))
    (p Cp : Matrix (Fin d) (Fin d) ℝ)
    (hp : LocalDistanceNetwork.IsMoorePenroseInverse
      ((1 - (s ⬝ᵥ s)⁻¹ • Matrix.vecMulVec s s) * C *
        (1 - (s ⬝ᵥ s)⁻¹ • Matrix.vecMulVec s s)) p)
    (hCp : LocalDistanceNetwork.IsMoorePenroseInverse C Cp) :
    let a := b ᵥ* p - (s ⬝ᵥ s)⁻¹ • (s ᵥ* (1 - C * p))
    let ξ := u ᵥ* p + (v * (s ⬝ᵥ s)⁻¹) • (s ᵥ* (1 - C * p))
    let Ξa := hyperArgmin C b s (-1)
    let Ξξ := hyperArgmin C u s v
    (Ξa.Nonempty ↔ b ∈ LinearMap.range (Matrix.toLin' C) ⊔ Submodule.span ℝ {s}) ∧
    (b ∈ LinearMap.range (Matrix.toLin' C) ⊔ Submodule.span ℝ {s} →
      Ξa = {x | ∃ z : Fin d → ℝ, C *ᵥ z = 0 ∧ s ⬝ᵥ z = 0 ∧ x = a + z} ∧
      IsMinNorm Ξa a) ∧
    (Ξξ = {x | ∃ z : Fin d → ℝ, C *ᵥ z = 0 ∧ s ⬝ᵥ z = 0 ∧ x = ξ + z} ∧
      IsMinNorm Ξξ ξ) ∧
    (s ∈ LinearMap.range (Matrix.toLin' C) →
      a = b ᵥ* Cp - ((1 + b ⬝ᵥ (Cp *ᵥ s)) / (s ⬝ᵥ (Cp *ᵥ s))) • (s ᵥ* Cp) ∧
      ξ = u ᵥ* Cp + ((v - u ⬝ᵥ (Cp *ᵥ s)) / (s ⬝ᵥ (Cp *ᵥ s))) • (s ᵥ* Cp)) ∧
    (s ∉ LinearMap.range (Matrix.toLin' C) →
      let mbar := 1 - C * Cp
      let α := (s ⬝ᵥ (mbar *ᵥ s))⁻¹ • (s ᵥ* mbar)
      let r := α ⬝ᵥ b
      a = (b - r • s) ᵥ* Cp - (1 + (b - r • s) ⬝ᵥ (Cp *ᵥ s)) • α ∧
      ξ = u ᵥ* Cp + (v - u ⬝ᵥ (Cp *ᵥ s)) • α ∧
      α ⬝ᵥ s = 1 ∧ α ᵥ* C = 0) := by sorry

end NumInvQH.Oblique
Source
Černý, Czichowsky & Kallsen, Numeraire-invariant quadratic hedging and mean–variance portfolio allocation, arXiv:2110.09416v4, p. 16, Theorem 4.3, eqs. (4.12)–(4.15)
Human review
  • Endorsed by Shuze Chen · Oct 21, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 21, 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