Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Signed stock and bank holdings

Definition
fd02_Trade

by WillR · Oct 26, 2026 · Mathlib 0df444a (Lean v4.33.1)

arbitrageformal-verificationoption-pricing

A buy-and-hold strategy consists of unrestricted real stock holdings and real units of the bank account. Negative values represent short-selling or borrowing.

Definition code
import Mathlib.Data.Real.Basic

namespace FinancialDerivatives.FD02

/-- Signed holdings in the stock and the unit-price bank account. -/
structure Trade where
  shares : ℝ
  cash : ℝ

end FinancialDerivatives.FD02
Source
Original derived definition based on Wilmott, Howison and Dewynne (1995), §§2.4,3.2, printed pp. 30–34; https://doi.org/10.1017/CBO9780511812545. The same object is fixed for all FD-02 theorem statements.
Read-back

What the Lean code literally says, in plain math · GPT-6

A trade is an ordered pair (x,c)(x,c)(x,c) of arbitrary real numbers, interpreted as the number of shares xxx and the cash holding ccc. Either component may be positive, zero, or negative; no budget or sign constraint is imposed.

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

    Confirmed by the moderator at approval.

  • Endorsed by WillR · Oct 27, 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