Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

(OA.4) and Cardano, OA p. 11 — φ′(k) = 0 ⇔ k³ + 3k = 2τ for k ≠ 0; φ minimal at 0 and τ on [0, τ]; k* is the unique real root, k* ≥ 0

Proved
DistFreePricing.Maximin.eq_OA_4_cardano

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

cardanocubic-equationp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1robust-pricing

The stationarity cubic and its Cardano root. For τ≥0\tau\ge0τ≥0 let φ(k)=(1−k/τ)(1−11+k2)\varphi(k)=(1-k/\tau)\big(1-\frac1{1+k^2}\big)φ(k)=(1−k/τ)(1−1+k21​) (defined for τ>0\tau>0τ>0) and

k∗(τ)=τ+τ2+13+τ−τ2+13.k^*(\tau)=\sqrt[3]{\tau+\sqrt{\tau^2+1}}+\sqrt[3]{\tau-\sqrt{\tau^2+1}}.k∗(τ)=3τ+τ2+1​​+3τ−τ2+1​​.

Then:

  1. if τ>0\tau>0τ>0, a point k≠0k\ne0k=0 is a stationary point of φ\varphiφ exactly when it solves the cubic (OA.4):
φ′(k)=0  ⟺  k3+3k=2τ;\varphi'(k)=0\iff k^3+3k=2\tau ;φ′(k)=0⟺k3+3k=2τ;
  1. if τ>0\tau>0τ>0, φ\varphiφ is minimized over [0,τ][0,\tau][0,τ] at k=0k=0k=0 and at k=τk=\tauk=τ: φ(0)≤φ(k)\varphi(0)\le\varphi(k)φ(0)≤φ(k) and φ(τ)≤φ(k)\varphi(\tau)\le\varphi(k)φ(τ)≤φ(k) for 0≤k≤τ0\le k\le\tau0≤k≤τ;
  2. k∗k^*k∗ solves the cubic: (k∗)3+3k∗=2τ(k^*)^3+3k^*=2\tau(k∗)3+3k∗=2τ;
  3. k∗k^*k∗ is its only real root: every k∈Rk\in\mathbb Rk∈R with k3+3k=2τk^3+3k=2\tauk3+3k=2τ equals k∗k^*k∗;
  4. k∗≥0k^*\ge0k∗≥0.

The safety factor k∗k^*k∗ of the robust price p∗=μ−k∗σp^*=\mu-k^*\sigmap∗=μ−k∗σ is thereby identified as the unique interior critical point of the lower-bound function φ\varphiφ.

Formalization Note The derivative is Lean's deriv of k↦φ(k)k\mapsto\varphi(k)k↦φ(k) for the fixed τ\tauτ.

Differences from the source:

  • encoding: τ ≥ 0 (Assumption (P)); φ(k) = (1 − kσ/(μ − c))(1 − 1/(1+k²)) → the stationarity and minimization clauses assume 0 < t; φ is written with k/τ; reason: φ divides by μ − c, i.e. by τ, so it is undefined at τ = 0; kσ/(μ − c) = k/τ
  • reading: "(The function ϕ(k) is minimized at k = 0 or k = (µ−c)/σ.)" → for 0 ≤ k ≤ τ: φ(0) ≤ φ(k) and φ(τ) ≤ φ(k); reason: minimized over [0, τ], the range of k in (OA.3); on ℝ φ is unbounded below (φ(k) → −∞ as k → +∞)
  • encoding: k* = ∛(τ + √(τ²+1)) + ∛(τ − √(τ²+1)) → kStar τ = (√(τ²+1) + τ)^(1/3) − (√(τ²+1) − τ)^(1/3) with positive bases; reason: the real cube root is odd, so the two expressions are the same real number; Real.rpow of a negative base is not the real cube root
Preamble
import Mathlib
import Definitions.Def_DistFreePricing_Maximin_Setting
Formal statement
namespace DistFreePricing.Maximin

open MeasureTheory

/-- (OA.4) and Cardano's root (proof of Theorem 1(b), OA p. 11), for `τ ≥ 0`: when `τ > 0` the
non-zero stationary points of `φ` are the real roots of `k³ + 3k = 2τ`, and `φ` is minimized over
`[0, τ]` at `k = 0` and at `k = τ`; `k*(τ)` is the unique real root of the cubic, and `k* ≥ 0`. -/
theorem eq_OA_4_cardano (t : ℝ) (ht : 0 ≤ t) :
    (0 < t → ∀ k : ℝ, k ≠ 0 → (deriv (phi t) k = 0 ↔ k ^ 3 + 3 * k = 2 * t)) ∧
    (0 < t → ∀ k : ℝ, 0 ≤ k → k ≤ t → phi t 0 ≤ phi t k ∧ phi t t ≤ phi t k) ∧
    kStar t ^ 3 + 3 * kStar t = 2 * t ∧
    (∀ k : ℝ, k ^ 3 + 3 * k = 2 * t → k = kStar t) ∧
    0 ≤ kStar t := by sorry

end DistFreePricing.Maximin
Source
Chen, Hu, Perakis, Distribution-Free Pricing, accepted manuscript (MSOM, doi:10.1287/msom.2021.1055), (OA.4) and the Cardano sentence, proof of Theorem 1(b), OA p. 11
Human review
  • Endorsed by Shuze Chen · Oct 23, 2026

    Confirmed by the moderator at approval.

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