(3.2), p. 8 — per-component viscosity solutions of backward time-only systems
DefinitionMMDarkPool_Exchange_Supplement_BackwardViscosityFor any component type , terminal time , terminal data , and Hamiltonian , this defines the per-component backward viscosity notion for
For every , the function must be continuous on and have terminal value . For every test function and every , a local maximum of requires ; a local minimum requires the reverse inequality. Coupling uses the entire solution row, not the test function.
This separates the general time-only solution notion from the market model. Theorem 1 applies it with , , and the Hamiltonian of (3.2).
Formalization Note. The paper does not define viscosity solution. This is the same interior-time, componentwise convention as in the published base model, with arbitrary component type and terminal data and no imposed grid. No claim of well-posedness for an arbitrary Hamiltonian is made by this definition.
Differences from the source:
- generalization: Equation (3.2) has integer inventory components and terminal value −1. → The solution interface permits any component type, Hamiltonian, horizon and terminal data.; reason: Specializing to ℤ, F P, P.T and constant −1 recovers exactly the model interface; this definition asserts no existence or uniqueness result.
- reading: The paper does not define viscosity solution. → Continuous component rows, terminal data, and C¹ tests at interior times with backward signs and own-row coupling.; reason: This makes the implicit time-only solution convention explicit without adding a theorem premise.
- encoding: The Hamiltonian is expressed as a real supremum. → The Hamiltonian argument has type EReal; a real derivative is added to it.; reason: This preserves suprema without a real totality default; specialization to the model has finite values under Standing.
import Mathlib
namespace MMDarkPool.Exchange.Supplement
/-!
Per-component viscosity solutions of backward, time-only systems.
Theorem 1 and (3.2), arXiv:1912.01129v1, p. 8, do not specify the viscosity
notion. This makes explicit the same convention as the published exchange
model, independently of its finite grid and market-specific parameters.
At interior times, test one component in time and evaluate all coupling
terms on the solution's own row. Continuity and terminal data are required.
-/
/-- Viscosity solution of `∂ₜv(t,q) + F(q,v(t,·)) = 0`, `v(T,q) = g(q)`.
Subsolutions have the backward sign `≥ 0` at local maxima; supersolutions
have `≤ 0` at local minima. No topology on the component type is needed. -/
def IsBackwardViscositySolution {ι : Type*} (T : ℝ)
(F : ι → (ι → ℝ) → EReal) (g : ι → ℝ) (v : ℝ → ι → ℝ) : Prop :=
∀ q : ι,
ContinuousOn (fun t => v t q) (Set.Icc 0 T) ∧ v T q = g q ∧
(∀ φ : ℝ → ℝ, ContDiff ℝ 1 φ → ∀ t₀ ∈ Set.Ioo 0 T,
IsLocalMax (fun t => v t q - φ t) t₀ →
0 ≤ ((deriv φ t₀ : ℝ) : EReal) + F q (v t₀)) ∧
(∀ φ : ℝ → ℝ, ContDiff ℝ 1 φ → ∀ t₀ ∈ Set.Ioo 0 T,
IsLocalMin (fun t => v t q - φ t) t₀ →
((deriv φ t₀ : ℝ) : EReal) + F q (v t₀) ≤ 0)
end MMDarkPool.Exchange.Supplement