# ito_formula_data 関数

ito_formulaの背後にある証明済みの記録。その結果、妥当性、証明書、定理。

## 書き方

### ito_formula_data(f, states, drift, diffusion, time)

is_ito_certificateとis_validity_certificateが読む記録。その結果が答えです。

**f**

微分される、状態と時間の式。式を受け取ります。

**states**

状態変数（角括弧内）。変数のリストまたは変数を受け取ります。

**drift**

各状態のドリフト（角括弧内）。リストを受け取ります。

**diffusion**

ノイズ。状態ごとに1行、駆動源ごとに1列。行列（行のリストとして記述）を受け取ります。

**time**

時間（変数）。変数または変数のリストを受け取ります。

### ito_formula_data(f, states, drift, diffusion, time)

状態1つと駆動源1つの場合の、リストを使わない呼び出し。記録は同じです。

**f**

微分される、状態と時間の式。式を受け取ります。

**states**

1つの状態変数（リストなし）。変数または変数のリストを受け取ります。

**drift**

状態のドリフト。式を受け取ります。

**diffusion**

状態のノイズ（駆動源1つ分）。式を受け取ります。

**time**

時間（変数）。変数または変数のリストを受け取ります。

## 例題

- $\displaystyle \operatorname{ito\_formula\_data}\left(x^{2}, \left[ x \right], \left[ \mu x \right], \begin{pmatrix} \sigma x \end{pmatrix}, t\right) = \left[ \text{status} \to \text{certified}, \text{result} \to \operatorname{ito\_differential}(x^{2}) \to \left[ \text{dt} \to \sigma^{2} x^{2}+2 \mu x^{2}, \text{dw} \to \left[ 2 \sigma x^{2} \right] \right], \text{validity} \to \left[ \text{status} \to \text{conditional}, \text{assumptions} \to t \in \mathbb{R} \text{ and } x \in \mathbb{R} \text{ and } \mu x \in \mathbb{R} \text{ and } \sigma x \in \mathbb{R}, \text{regularity} \to \text{x\textasciicircum{}2 is C\textasciicircum{}1 in time and C\textasciicircum{}2 in the state variables}, \text{quadratic\_variation} \to \text{dW\_i dW\_j = kronecker\_delta(i,j) dt} \right], \text{certificate} \to \left[ \text{kind} \to \text{multivariate\_ito\_formula}, \text{observable} \to x^{2}, \text{states} \to \left[ x \right], \text{drift} \to \left[ \mu x \right], \text{diffusion} \to \begin{pmatrix} \sigma x \end{pmatrix}, \text{time} \to t, \text{recheck} \to \operatorname{true} \right], \text{theorem} \to \text{Multivariate Ito lemma for an Ito diffusion}, \text{coverage} \to \left[ \text{completeness} \to \text{proven\_full}, \text{frontier\_id} \to \text{T6.3-ITO-DIM-LE6}, \text{complete\_domain\_declared} \to \text{C\textasciicircum{}(1,2) scalar observables of Ito diffusions with <=6 states and <=6 independent Brownian drivers}, \text{not\_claimed} \to \text{closed-form SDE paths or transition laws, beyond the geometric family geometric\_sde\_path now certifies, scalar or vector (src/stochastic/path.rs)} \right], \text{complete} \to \operatorname{true}, \text{resources} \to \left[ \left[ \text{kind} \to \text{max\_state\_dimension}, \text{limit} \to 6 \right], \left[ \text{kind} \to \text{max\_brownian\_dimension}, \text{limit} \to 6 \right], \left[ \text{kind} \to \text{state\_dimension}, \text{limit} \to 1 \right], \left[ \text{kind} \to \text{brownian\_dimension}, \text{limit} \to 1 \right] \right] \right]$

  `ito_formula_data(x^2, [x], [mu*x], [[sigma*x]], t)`

  ソルバーでは、`ito_formula_data(x^2, [x], [mu*x], [[sigma*x]], t)` の答えは `{status: "certified", result: ito_differential(x^2) -> {dt: sigma^2*x^2 + 2mu*x^2, dw: [2sigma*x^2]}, validity: {status: "conditional", assumptions: t : real and x : real and mu*x : real and sigma*x : real, regularity: "x^2 is C^1 in time and C^2 in the state variables", quadratic_variation: "dW_i dW_j = kronecker_delta(i,j) dt"}, certificate: {kind: "multivariate_ito_formula", observable: x^2, states: [x], drift: [mu*x], diffusion: [[sigma*x]], time: t, recheck: true}, theorem: "Multivariate Ito lemma for an Ito diffusion", coverage: {completeness: "proven_full", frontier_id: "T6.3-ITO-DIM-LE6", complete_domain_declared: "C^(1,2) scalar observables of Ito diffusions with <=6 states and <=6 independent Brownian drivers", not_claimed: "closed-form SDE paths or transition laws, beyond the geometric family geometric_sde_path now certifies, scalar or vector (src/stochastic/path.rs)"}, complete: true, resources: [{kind: "max_state_dimension", limit: 6}, {kind: "max_brownian_dimension", limit: 6}, {kind: "state_dimension", limit: 1}, {kind: "brownian_dimension", limit: 1}]}` です。

  [ソルバーで開く](https://ja.hilberon.com/?q=ito_formula_data%28x%5E2%2C%20%5Bx%5D%2C%20%5Bmu*x%5D%2C%20%5B%5Bsigma*x%5D%5D%2C%20t%29)
- $\displaystyle \operatorname{ito\_formula\_data}\left(x y, \left[ x, y \right], \left[ 0, 0 \right], \begin{pmatrix} s_{1} \\ s_{2} \end{pmatrix}, t\right) = \left[ \text{status} \to \text{certified}, \text{result} \to \operatorname{ito\_differential}(x y) \to \left[ \text{dt} \to s_{1} s_{2}, \text{dw} \to \left[ s_{2} x+s_{1} y \right] \right], \text{validity} \to \left[ \text{status} \to \text{conditional}, \text{assumptions} \to t \in \mathbb{R} \text{ and } x \in \mathbb{R} \text{ and } y \in \mathbb{R} \text{ and } s_{1} \in \mathbb{R} \text{ and } s_{2} \in \mathbb{R}, \text{regularity} \to \text{x*y is C\textasciicircum{}1 in time and C\textasciicircum{}2 in the state variables}, \text{quadratic\_variation} \to \text{dW\_i dW\_j = kronecker\_delta(i,j) dt} \right], \text{certificate} \to \left[ \text{kind} \to \text{multivariate\_ito\_formula}, \text{observable} \to x y, \text{states} \to \left[ x, y \right], \text{drift} \to \left[ 0, 0 \right], \text{diffusion} \to \begin{pmatrix} s_{1} \\ s_{2} \end{pmatrix}, \text{time} \to t, \text{recheck} \to \operatorname{true} \right], \text{theorem} \to \text{Multivariate Ito lemma for an Ito diffusion}, \text{coverage} \to \left[ \text{completeness} \to \text{proven\_full}, \text{frontier\_id} \to \text{T6.3-ITO-DIM-LE6}, \text{complete\_domain\_declared} \to \text{C\textasciicircum{}(1,2) scalar observables of Ito diffusions with <=6 states and <=6 independent Brownian drivers}, \text{not\_claimed} \to \text{closed-form SDE paths or transition laws, beyond the geometric family geometric\_sde\_path now certifies, scalar or vector (src/stochastic/path.rs)} \right], \text{complete} \to \operatorname{true}, \text{resources} \to \left[ \left[ \text{kind} \to \text{max\_state\_dimension}, \text{limit} \to 6 \right], \left[ \text{kind} \to \text{max\_brownian\_dimension}, \text{limit} \to 6 \right], \left[ \text{kind} \to \text{state\_dimension}, \text{limit} \to 2 \right], \left[ \text{kind} \to \text{brownian\_dimension}, \text{limit} \to 1 \right] \right] \right]$

  `ito_formula_data(x*y, [x, y], [0, 0], [[s1], [s2]], t)`

  ソルバーでは、`ito_formula_data(x*y, [x, y], [0, 0], [[s1], [s2]], t)` の答えは `{status: "certified", result: ito_differential(x*y) -> {dt: s1*s2, dw: [s2*x + s1*y]}, validity: {status: "conditional", assumptions: t : real and x : real and y : real and s1 : real and s2 : real, regularity: "x*y is C^1 in time and C^2 in the state variables", quadratic_variation: "dW_i dW_j = kronecker_delta(i,j) dt"}, certificate: {kind: "multivariate_ito_formula", observable: x*y, states: [x, y], drift: [0, 0], diffusion: [[s1], [s2]], time: t, recheck: true}, theorem: "Multivariate Ito lemma for an Ito diffusion", coverage: {completeness: "proven_full", frontier_id: "T6.3-ITO-DIM-LE6", complete_domain_declared: "C^(1,2) scalar observables of Ito diffusions with <=6 states and <=6 independent Brownian drivers", not_claimed: "closed-form SDE paths or transition laws, beyond the geometric family geometric_sde_path now certifies, scalar or vector (src/stochastic/path.rs)"}, complete: true, resources: [{kind: "max_state_dimension", limit: 6}, {kind: "max_brownian_dimension", limit: 6}, {kind: "state_dimension", limit: 2}, {kind: "brownian_dimension", limit: 1}]}` です。

  [ソルバーで開く](https://ja.hilberon.com/?q=ito_formula_data%28x*y%2C%20%5Bx%2C%20y%5D%2C%20%5B0%2C%200%5D%2C%20%5B%5Bs1%5D%2C%20%5Bs2%5D%5D%2C%20t%29)
- $\displaystyle \operatorname{ito\_formula\_data}(x^{2}, x, \mu x, \sigma x, t) = \left[ \text{status} \to \text{certified}, \text{result} \to \operatorname{ito\_differential}(x^{2}) \to \left[ \text{dt} \to \sigma^{2} x^{2}+2 \mu x^{2}, \text{dw} \to \left[ 2 \sigma x^{2} \right] \right], \text{validity} \to \left[ \text{status} \to \text{conditional}, \text{assumptions} \to t \in \mathbb{R} \text{ and } x \in \mathbb{R} \text{ and } \mu x \in \mathbb{R} \text{ and } \sigma x \in \mathbb{R}, \text{regularity} \to \text{x\textasciicircum{}2 is C\textasciicircum{}1 in time and C\textasciicircum{}2 in the state variables}, \text{quadratic\_variation} \to \text{dW\_i dW\_j = kronecker\_delta(i,j) dt} \right], \text{certificate} \to \left[ \text{kind} \to \text{multivariate\_ito\_formula}, \text{observable} \to x^{2}, \text{states} \to \left[ x \right], \text{drift} \to \left[ \mu x \right], \text{diffusion} \to \begin{pmatrix} \sigma x \end{pmatrix}, \text{time} \to t, \text{recheck} \to \operatorname{true} \right], \text{theorem} \to \text{Multivariate Ito lemma for an Ito diffusion}, \text{coverage} \to \left[ \text{completeness} \to \text{proven\_full}, \text{frontier\_id} \to \text{T6.3-ITO-DIM-LE6}, \text{complete\_domain\_declared} \to \text{C\textasciicircum{}(1,2) scalar observables of Ito diffusions with <=6 states and <=6 independent Brownian drivers}, \text{not\_claimed} \to \text{closed-form SDE paths or transition laws, beyond the geometric family geometric\_sde\_path now certifies, scalar or vector (src/stochastic/path.rs)} \right], \text{complete} \to \operatorname{true}, \text{resources} \to \left[ \left[ \text{kind} \to \text{max\_state\_dimension}, \text{limit} \to 6 \right], \left[ \text{kind} \to \text{max\_brownian\_dimension}, \text{limit} \to 6 \right], \left[ \text{kind} \to \text{state\_dimension}, \text{limit} \to 1 \right], \left[ \text{kind} \to \text{brownian\_dimension}, \text{limit} \to 1 \right] \right] \right]$

  `ito_formula_data(x^2, x, mu*x, sigma*x, t)`

  ソルバーでは、`ito_formula_data(x^2, x, mu*x, sigma*x, t)` の答えは `{status: "certified", result: ito_differential(x^2) -> {dt: sigma^2*x^2 + 2mu*x^2, dw: [2sigma*x^2]}, validity: {status: "conditional", assumptions: t : real and x : real and mu*x : real and sigma*x : real, regularity: "x^2 is C^1 in time and C^2 in the state variables", quadratic_variation: "dW_i dW_j = kronecker_delta(i,j) dt"}, certificate: {kind: "multivariate_ito_formula", observable: x^2, states: [x], drift: [mu*x], diffusion: [[sigma*x]], time: t, recheck: true}, theorem: "Multivariate Ito lemma for an Ito diffusion", coverage: {completeness: "proven_full", frontier_id: "T6.3-ITO-DIM-LE6", complete_domain_declared: "C^(1,2) scalar observables of Ito diffusions with <=6 states and <=6 independent Brownian drivers", not_claimed: "closed-form SDE paths or transition laws, beyond the geometric family geometric_sde_path now certifies, scalar or vector (src/stochastic/path.rs)"}, complete: true, resources: [{kind: "max_state_dimension", limit: 6}, {kind: "max_brownian_dimension", limit: 6}, {kind: "state_dimension", limit: 1}, {kind: "brownian_dimension", limit: 1}]}` です。

  [ソルバーで開く](https://ja.hilberon.com/?q=ito_formula_data%28x%5E2%2C%20x%2C%20mu*x%2C%20sigma*x%2C%20t%29)
- $\displaystyle \operatorname{ito\_formula\_data}(\ln(x), x, \mu x, \sigma x, t) = \left[ \text{status} \to \text{certified}, \text{result} \to \operatorname{ito\_differential}(\ln(x)) \to \left[ \text{dt} \to \mu-\frac{\sigma^{2}}{2}, \text{dw} \to \left[ \sigma \right] \right], \text{validity} \to \left[ \text{status} \to \text{conditional}, \text{assumptions} \to t \in \mathbb{R} \text{ and } x \in \mathbb{R} \text{ and } \mu x \in \mathbb{R} \text{ and } \sigma x \in \mathbb{R}, \text{regularity} \to \text{ln(x) is C\textasciicircum{}1 in time and C\textasciicircum{}2 in the state variables}, \text{quadratic\_variation} \to \text{dW\_i dW\_j = kronecker\_delta(i,j) dt} \right], \text{certificate} \to \left[ \text{kind} \to \text{multivariate\_ito\_formula}, \text{observable} \to \ln(x), \text{states} \to \left[ x \right], \text{drift} \to \left[ \mu x \right], \text{diffusion} \to \begin{pmatrix} \sigma x \end{pmatrix}, \text{time} \to t, \text{recheck} \to \operatorname{true} \right], \text{theorem} \to \text{Multivariate Ito lemma for an Ito diffusion}, \text{coverage} \to \left[ \text{completeness} \to \text{proven\_full}, \text{frontier\_id} \to \text{T6.3-ITO-DIM-LE6}, \text{complete\_domain\_declared} \to \text{C\textasciicircum{}(1,2) scalar observables of Ito diffusions with <=6 states and <=6 independent Brownian drivers}, \text{not\_claimed} \to \text{closed-form SDE paths or transition laws, beyond the geometric family geometric\_sde\_path now certifies, scalar or vector (src/stochastic/path.rs)} \right], \text{complete} \to \operatorname{true}, \text{resources} \to \left[ \left[ \text{kind} \to \text{max\_state\_dimension}, \text{limit} \to 6 \right], \left[ \text{kind} \to \text{max\_brownian\_dimension}, \text{limit} \to 6 \right], \left[ \text{kind} \to \text{state\_dimension}, \text{limit} \to 1 \right], \left[ \text{kind} \to \text{brownian\_dimension}, \text{limit} \to 1 \right] \right] \right]$

  `ito_formula_data(ln(x), x, mu*x, sigma*x, t)`

  ソルバーでは、`ito_formula_data(ln(x), x, mu*x, sigma*x, t)` の答えは `{status: "certified", result: ito_differential(ln(x)) -> {dt: mu - sigma^2/2, dw: [sigma]}, validity: {status: "conditional", assumptions: t : real and x : real and mu*x : real and sigma*x : real, regularity: "ln(x) is C^1 in time and C^2 in the state variables", quadratic_variation: "dW_i dW_j = kronecker_delta(i,j) dt"}, certificate: {kind: "multivariate_ito_formula", observable: ln(x), states: [x], drift: [mu*x], diffusion: [[sigma*x]], time: t, recheck: true}, theorem: "Multivariate Ito lemma for an Ito diffusion", coverage: {completeness: "proven_full", frontier_id: "T6.3-ITO-DIM-LE6", complete_domain_declared: "C^(1,2) scalar observables of Ito diffusions with <=6 states and <=6 independent Brownian drivers", not_claimed: "closed-form SDE paths or transition laws, beyond the geometric family geometric_sde_path now certifies, scalar or vector (src/stochastic/path.rs)"}, complete: true, resources: [{kind: "max_state_dimension", limit: 6}, {kind: "max_brownian_dimension", limit: 6}, {kind: "state_dimension", limit: 1}, {kind: "brownian_dimension", limit: 1}]}` です。

  [ソルバーで開く](https://ja.hilberon.com/?q=ito_formula_data%28ln%28x%29%2C%20x%2C%20mu*x%2C%20sigma*x%2C%20t%29)

## 関連する関数

- [ito_formula](https://ja.hilberon.com/library/ito_formula)

  伊藤の補題。伊藤過程に従う状態の式の微分です。
- [ito_integral](https://ja.hilberon.com/library/ito_integral)

  ウィーナー値wと時間sの式の伊藤積分（0からtまで）。
- [ito_process](https://ja.hilberon.com/library/ito_process)

  ドリフトと拡散で与えられる過程。dX = drift dt + diffusion dW。
- [geometric_sde_path](https://ja.hilberon.com/library/geometric_sde_path)

  dX = mu X dt + sigma X dW の経路。時刻 t におけるウィーナー過程の値 w の関数として表します。
- [mean](https://ja.hilberon.com/library/mean)

  数のリストの平均、または分布の期待値です。
- [geometric_brownian_motion_process](https://ja.hilberon.com/library/geometric_brownian_motion_process)

  x0 から始まり、割合 mu で成長し相対ノイズ sigma をもつ過程。

---
Source: https://ja.hilberon.com/library/ito_formula_data
