# Función ito_formula_data

El registro certificado detrás de ito_formula: su resultado, validez, certificado y teorema.

## Cómo se escribe

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

El registro que leen is_ito_certificate y is_validity_certificate; su resultado es la respuesta.

**f**

La expresión de los estados y el tiempo que se diferencia. Toma una expresión.

**states**

Las variables de estado, entre corchetes. Toma una lista de variables o una variable.

**drift**

La deriva de cada estado, entre corchetes. Toma una lista.

**diffusion**

El ruido: una fila por cada estado, una columna por cada impulsor. Toma una matriz, escrita como una lista de filas.

**time**

El tiempo, una variable. Toma una variable o una lista de variables.

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

Para un estado y un impulsor, la llamada sin listas; el registro es el mismo.

**f**

La expresión del estado y el tiempo que se diferencia. Toma una expresión.

**states**

La única variable de estado, sin lista. Toma una variable o una lista de variables.

**drift**

La deriva del estado. Toma una expresión.

**diffusion**

El ruido del estado, para un impulsor. Toma una expresión.

**time**

El tiempo, una variable. Toma una variable o una lista de variables.

## Ejemplos

- $\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)`

  En el solucionador, `ito_formula_data(x^2, [x], [mu*x], [[sigma*x]], t)` da `{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}]}`.

  [Abrir en el solucionador](https://es.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)`

  En el solucionador, `ito_formula_data(x*y, [x, y], [0, 0], [[s1], [s2]], t)` da `{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}]}`.

  [Abrir en el solucionador](https://es.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)`

  En el solucionador, `ito_formula_data(x^2, x, mu*x, sigma*x, t)` da `{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}]}`.

  [Abrir en el solucionador](https://es.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)`

  En el solucionador, `ito_formula_data(ln(x), x, mu*x, sigma*x, t)` da `{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}]}`.

  [Abrir en el solucionador](https://es.hilberon.com/?q=ito_formula_data%28ln%28x%29%2C%20x%2C%20mu*x%2C%20sigma*x%2C%20t%29)

## Funciones relacionadas

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

  Lema de Itô: el diferencial de una expresión de estados que siguen un proceso de Itô.
- [ito_integral](https://es.hilberon.com/library/ito_integral)

  La integral de Itô de una expresión del valor de Wiener w y el tiempo s, de 0 a t.
- [ito_process](https://es.hilberon.com/library/ito_process)

  Un proceso dado por su deriva y su difusión: dX = deriva dt + difusión dW.
- [geometric_sde_path](https://es.hilberon.com/library/geometric_sde_path)

  La trayectoria de dX = mu X dt + sigma X dW, como función del valor w del proceso de Wiener en el tiempo t.
- [mean](https://es.hilberon.com/library/mean)

  El promedio de una lista de números, o el valor esperado de una distribución.
- [geometric_brownian_motion_process](https://es.hilberon.com/library/geometric_brownian_motion_process)

  Un proceso que crece a tasa mu con ruido relativo sigma, iniciado en x0.

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