∀ {k n : ℕ}, k ≤ n → ∀ (S₀ u d : ℝ) (ω : ℕ → Bool) (b : Bool), spotPath S₀ u d k (Function.update ω n b) = spotPath S₀ u d k ωThe spot after k flips does not see the n-th flip, for k ≤ n.
binomialPrice u d r g N S₀ is the backward-induction price of the claim that pays g(S_N) after N steps. Along a coin-flip path, the discounted tree value discountedTreeValue (the tree price with the steps left, at the spot reached, discounted and stopped at N) and the discounted spot discountedSpot S̃_k = e^{−rk} S_k are both one-step martingales under the risk-neutral up-probability: the node average q X_{n+1}(↑) + (1 − q) X_{n+1}(↓) is X_n. The first is the backward recursion binomialPrice_succ, the second is crrUpProb_mul_up_add.
These are the two inputs of the replication theorem binomialPrice_replication (Models/Binomial/MartingaleRepresentation.lean): under no-arbitrage the claim's discounted payoff is its tree price plus the gains of a predictable strategy in the discounted spot.
discountedTreeValue — the discounted tree price of the claim along a path, stopped at N.discountedSpot — the discounted spot e^{−rk} S_k.discountedTreeValue_step, discountedSpot_step — both are one-step martingales under the risk-neutral up-probability (the node-average identity; discountedSpot_step needs BinomialNoArb).discountedSpot_update_ne — under no-arbitrage and S₀ ≠ 0 the two children of a node have different discounted spots (the non-degeneracy the hedge ratio divides by).discounted price martingale, backward induction, replicating strategy, risk-neutral probability, binomial tree, delta hedging, MSC 91G20, MSC 60G42, JEL G13
Above: what it imports. Below: what imports it.
∀ {k n : ℕ}, k ≤ n → ∀ (S₀ u d : ℝ) (ω : ℕ → Bool) (b : Bool), spotPath S₀ u d k (Function.update ω n b) = spotPath S₀ u d k ωThe spot after k flips does not see the n-th flip, for k ≤ n.
∀ (S₀ u d : ℝ) (ω : ℕ → Bool), spotPath S₀ u d 0 ω = S₀
ℝ → ℝ → ℝ → (ℝ → ℝ) → ℕ → ℝ → ℕ → (ℕ → Bool) → ℝ
The discounted tree value of the claim g(S_N) along a path, stopped at N: at step n it is e^{−r(n ∧ N)} times the tree price with N − n steps left, at the spot reached by step n ∧ N.
ℝ → ℝ → ℝ → ℝ → ℕ → (ℕ → Bool) → ℝ
The discounted spot S̃_n = e^{−rn} S_n.
∀ (u d r : ℝ) (g : ℝ → ℝ) (N : ℕ) (S₀ : ℝ) (n : ℕ), PathAdaptedAt n (discountedTreeValue u d r g N S₀ n)
∀ (S₀ u d r : ℝ) (n : ℕ), PathAdaptedAt n (discountedSpot S₀ u d r n)
∀ (u d r : ℝ) (g : ℝ → ℝ) (N : ℕ) (S₀ : ℝ) (n : ℕ) (ω : ℕ → Bool), crrUpProb u d r * discountedTreeValue u d r g N S₀ (n + 1) (Function.update ω n true) + (1 - crrUpProb u d r) * discountedTreeValue u d r g N S₀ (n + 1) (Function.update ω n false) = discountedTreeValue u d r g N S₀ n ω
The discounted tree value is a one-step martingale under the risk-neutral up-probability: before N this is the backward recursion binomialPrice_succ, and from N on the process is frozen. No no-arbitrage hypothesis is needed.
∀ {u d r : ℝ}, BinomialNoArb u d r → ∀ (S₀ : ℝ) (n : ℕ) (ω : ℕ → Bool), crrUpProb u d r * discountedSpot S₀ u d r (n + 1) (Function.update ω n true) + (1 - crrUpProb u d r) * discountedSpot S₀ u d r (n + 1) (Function.update ω n false) = discountedSpot S₀ u d r n ωThe discounted spot is a one-step martingale under the risk-neutral up-probability: q u + (1 − q) d = eʳ (crrUpProb_mul_up_add).
∀ {u d r : ℝ}, BinomialNoArb u d r → ∀ {S₀ : ℝ}, S₀ ≠ 0 → ∀ (n : ℕ) (ω : ℕ → Bool), discountedSpot S₀ u d r (n + 1) (Function.update ω n true) ≠ discountedSpot S₀ u d r (n + 1) (Function.update ω n false)Under no-arbitrage and S₀ ≠ 0, the two children of a node have different discounted spots.