Repository navigation
formal-mathfin v1.7.0
This release takes the corpus from 658 to 671 theorems, 655 of them delivery-ready, still with no sorries and only the three standard axioms.
Itô's formula for adapted coefficients now covers every C² f and time-dependent f(t, x), at each fixed t ≤ T, with unbounded continuous adapted σ and b (#345, closes #309). In each case the stochastic integral is the limit in probability of left-point Riemann sums. For unbounded σ the integral is built by gluing clipped integrals, with no stopping times; its paths are a.s. continuous, it equals the L² integral when σ is bounded, and it is adapted to the natural filtration of B (#347). Not yet proved: that it is a local martingale, and the formula as an identity of processes rather than at each fixed t.
The contract language now separates payoffs from the models that price them. The same option terms are priced in Black–Scholes and in the binomial tree (#349). In the tree every contract is integrable, so composed instruments such as the capped call are priced by composition. One contract, europeanCall K T, has values in the n-step Cox–Ross–Rubinstein tree that converge to its Black–Scholes value whenever |r|√T < σ. This covers the call only and gives no rate. In the tree, under no-arbitrage, a contract paying g of the spot at maturity is also worth the cost of its hedge: on every path its discounted payoff is its value plus the gains of a predictable strategy in the discounted spot (#351). The strategy is shown to exist; there is no explicit delta formula yet.
There are six worked examples in MathFinExamples/Applications/, each using the library rather than growing it (#348, closing #334–#339): put–call parity on the contract layer turned into a check on quoted prices, a binomial pricing sheet, a Gaussian VaR/ES risk report with diversification, a bootstrapped curve that reprices its inputs, default correlation in the one-factor model, and the two-asset minimum-variance portfolio. The gaps they exposed are filled in the library: ES as the mean beyond VaR for a continuous law, and the one-factor model as a Bernoulli mixture. Every example now exhibits a model for its statements, through gaussianPair, a jointly Gaussian pair with any means, volatilities and correlation (#350).
Mathlib (0434c03), BrownianMotion (a7ad7af) and Lean (v4.33.0-rc1) are unchanged.