Warning

The writing of this page is in progress. Several changes are currently performed on the library.

# CtcLohner: $$\dot{\mathbf{x}}(t)=\mathbf{f}\big(\mathbf{x}(t)\big)$$¶

## Definition¶

The Lohner contractor uses Lohner’s guaranteed integration algorithm to contract a tube according to a differential equation. This algorithm performs two main steps

• an estimation of a global enclosure of the system’s trajectories over an integration step (i.e. the domain of a slice), which corresponds to the codomain of that slice;

• using this estimation and the input gate (or output gate in the backward mode), the corresponding output gate (or input gate in the backward mode) is then estimated;

• over a single slice, these steps can be iterated a few times to obtain tighter enclosures for both the gate and the codomain of the slice.

This contractor is supposed to yield better results than the Picard contractor, as long as the tubes are “thin enough”.

Important

$\left.\begin{array}{r}\dot{\mathbf{x}}(t)=\mathbf{f}\big(\mathbf{x}(t)\big)\end{array}\right. \longrightarrow \mathcal{C}_{\textrm{Lohner}}\big([\mathbf{x}](\cdot)\big)$
ctc_lohner = CtcLohner(Function("<var1>", "<var2...>", "<exp>"))
ctc_lohner.contract(x)

CtcLohner ctc_lohner(Function("<var1>", "<var2...>", "<exp>"));
ctc_lohner.contract(x);


Important

The contractor might throw a runtime error when it cannot find a global enclosure over a specific time step. This usually happens when the time step is too large, and may therefore be avoided by reducing the discretisation frequency of the tube.

Remark

Note that this behaviour may be tackled using automatic step adjustment. However, such a feature is not yet implemented.