Two-state portfolio terminal payoff
Definitionfd02_terminalPayoffarbitrageformal-verificationoption-pricing
The same shares and cash holdings are held until the terminal date, with stock factors up/down and common bank growth.
Definition code
import Mathlib.Data.Real.Basic import Definitions.Def_fd02_TwoStateMarket import Definitions.Def_fd02_Trade namespace FinancialDerivatives.FD02 /-- Terminal value after the up or down stock move. -/ def terminalPayoff (m : TwoStateMarket) (t : Trade) (ω : Bool) : ℝ := match ω with | true => t.shares * m.spot * m.up + t.cash * m.growth | false => t.shares * m.spot * m.down + t.cash * m.growth end FinancialDerivatives.FD02
Source
Original derived definition based on Wilmott, Howison and Dewynne (1995), §2.4 and §10.1, printed pp. 30–31 and 180–182; 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
For any market with real spot , bank growth , and stock factors , any signed trade , and either Boolean state , the defined terminal payoff is when and when . These are the only two states and there are no sign constraints on holdings or payoffs.
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.