Introduction
This work establishes a class of model problems and corresponding adaptive methods that showcase the following contributions:
Even the first optimality proofs in [22 , 5 , 1 ] use orthogonality in the form of the Pythagorean identity. For increasingly involved model problems, several extensions of this orthogonality have been established under the name of quasi-orthogonality, e.g., [23 , 3 , 4 ] for non-conforming elements and [14 , 13 ] for non-symmetric and indefinite problems. However, all versions of this quasi-orthogonality are technically involved and pose severe restrictions on the problem class, particularly in terms of nonlinearities. The use of explicit time stepping together with the Lipschitz continuity of the problem allows us to remove any form of quasi-orthogonality from the proof and thus also to remove the restrictions on the nonlinearity for p = 1 p=1 p = 1 .
Except for convergence results in the L 2 L^2 L 2 -norm for an H 1 H^1 H 1 -problem in [7 ] , all optimality proofs work in the natural norm of the problem. Moreover, optimality proofs for adaptive algorithms have predominantly relied on Dörfler marking [11 ] , with exceptions including instance optimality for a modified maximum strategy [9 ] and the recent proof of rate optimality for standard maximum marking for the Poisson problem [19 ] . The simplified optimality analysis that comes with the removal of quasi-orthogonality has the added benefit that it also works in the W 1 , ∞ W^{1,\infty} W 1 , ∞ -norm. It turns out that maximum marking is the natural candidate for this norm and hence many of the well-known arguments from the energy norm case transfer almost verbatim.
The classical proof strategy for optimal convergence requires choosing the marking parameter θ \theta θ in Dörfler marking sufficiently small [2 ] . Essentially, this means that the adaptive refinement must force aggressive local refinement to be optimal. This seems to be largely a theoretical issue of the proof as almost no practical examples are known where this behavior can be seen. The work [8 ] even shows that the theoretical framework in [2 ] is not strong enough to prove optimality without restrictions on the marking parameter. Recently, the work [10 ] was able to lift the restriction on the marking parameter for the Poisson problem. The key new tool in the present work is a strengthened version of estimator reduction (see [2 ] for an overview on this proof technique), which also removes the smallness restrictions on the marking parameter, both in the Dörfler marking and in the maximum marking. The tradeoff is the need for a fine initial mesh.
Neural ODEs replace the classical layer structure of feed-forward neural networks with an ODE that has to be solved for training and inference of the network. The authors of the seminal paper [6 ] already noticed that adaptive time stepping is necessary to solve the sometimes unstable equations. Our explicit adaptive schemes are versatile enough to be applied in this setting and provide a clear advantage over standard uniform training of neural ODEs. A further application is regularized dynamical parametric approximation [15 , 20 ] , where the solution of an evolution equation is approximated by a nonlinear parametrization u ( t ) = Φ ( q ( t ) ) u(t) = \Phi(q(t)) u ( t ) = Φ ( q ( t )) with time-dependent parameters q ( t ) q(t) q ( t ) . For example, Φ \Phi Φ may represent a neural network whose weights and biases evolve in time. We extend our adaptive framework to this setting and provide numerical experiments with a neural-network parametrization of a transport problem to illustrate the benefits of adaptive time stepping.
An explicit discretization method
We first introduce the discretization and residual estimator that form the basis of the adaptive analysis. We consider autonomous initial value problems of the form
∂ t y ( t ) = F ( y ( t ) ) , for t ∈ [ t 0 , t e n d ] y ( t 0 ) = y 0 , (1) \begin{aligned}
\partial_t y(t) &= F(y(t)), \qquad\text{for } t \in[t_0,t_{\mathrm{end}}] \\
y(t_0) &= y_0, \tag*{(1)}
\end{aligned} ∂ t y ( t ) y ( t 0 ) = F ( y ( t )) , for t ∈ [ t 0 , t end ] = y 0 , (1)
for a Lipschitz continuous right-hand side F : R d → R d F : \mathbb{R}^d \to\mathbb{R}^d F : R d → R d . The time interval [ t 0 , t e n d ] [t_0,t_{\mathrm{end}}] [ t 0 , t end ] is discretized into a finite number of subintervals T = { [ t 0 , t 1 ] , … , [ t n − 1 , t e n d ] } \mathcal{T} = \{[t_0,t_1], \ldots, [t_{n-1},t_{\mathrm{end}}]\} T = {[ t 0 , t 1 ] , … , [ t n − 1 , t end ]} . We use the standard spline spaces P p ( T ) = { v : v ∣ T ∈ P p ( T ) } \mathcal{P}^p(\mathcal{T}) = \{v : v|_T \in\mathcal{P}^p(T)\} P p ( T ) = { v : v ∣ T ∈ P p ( T )} and S p ( T ) = P p ( T ) ∩ C ( [ t 0 , t e n d ] ) \mathcal{S}^p(\mathcal{T}) = \mathcal{P}^p(\mathcal{T}) \cap C([t_0,t_{\mathrm{end}}]) S p ( T ) = P p ( T ) ∩ C ([ t 0 , t end ]) . The discretization scheme we propose is similar to Petrov-Galerkin schemes in time, but with one significant difference: For T = [ t i , t i + 1 ] T = [t_i,t_{i+1}] T = [ t i , t i + 1 ] , we introduce the local operator I T F : R d → P p − 1 ( T ) I_T^F : \mathbb{R}^d \to\mathcal{P}^{p-1}(T) I T F : R d → P p − 1 ( T ) , mapping some initial value on the interval T T T to a lower-order polynomial approximation of y y y on the same interval. As a result, we obtain a lower-order explicit time-stepping scheme. Using this lower-order scheme, we aim to build a higher-order approximation y T ∈ S p ( T ) y_{\mathcal{T}} \in\mathcal{S}^p(\mathcal{T}) y T ∈ S p ( T ) satisfying for all T ∈ T T \in\mathcal{T} T ∈ T and v ∈ P p − 1 ( T ) v \in\mathcal{P}^{p-1}(T) v ∈ P p − 1 ( T ) ,
y T ( t 0 ) = y 0 and ∫ T ( ∂ t y T − F ( I T F ( y T ( t i ) ) ) ) ⋅ v d t = 0. (2) y_{\mathcal{T}}(t_0) = y_0 \quad\text{and} \quad\int_T \left(\partial_t y_{\mathcal{T}} - F\left(I_T^F(y_{\mathcal{T}}(t_i))\right)\right) \cdot v \,\mathrm{d}t = 0. \tag*{(2)} y T ( t 0 ) = y 0 and ∫ T ( ∂ t y T − F ( I T F ( y T ( t i )) ) ) ⋅ v d t = 0. (2)
It is apparent that this yields an explicit time-stepping scheme. For error estimation, we use estimators based on the residual R = ∂ t y T − F ( y T ) R = \partial_t y_{\mathcal{T}} - F(y_{\mathcal{T}}) R = ∂ t y T − F ( y T ) , as a Gronwall argument gives the following estimate.
Lemma 2.1. Let y y y solve (1) and y T ∈ S p ( T ) y_{\mathcal{T}} \in\mathcal{S}^p(\mathcal{T}) y T ∈ S p ( T ) , with y T ( t 0 ) = y 0 y_{\mathcal{T}}(t_0) = y_0 y T ( t 0 ) = y 0 . For the residual R = ∂ t y T − F ( y T ) R = \partial_t y_{\mathcal{T}} - F(y_{\mathcal{T}}) R = ∂ t y T − F ( y T ) it holds that
∥ y − y T ∥ H 1 ( t 0 , t e n d ) ≤ C r e l ∥ R ∥ L 2 ( t 0 , t e n d ) , \lVert y-y_{\mathcal{T}}\rVert_{H^1(t_0,t_{\mathrm{end}})} \le C_{\mathrm{rel}}\lVert R\rVert_{L^2(t_0,t_{\mathrm{end}})}, ∥ y − y T ∥ H 1 ( t 0 , t end ) ≤ C rel ∥ R ∥ L 2 ( t 0 , t end ) , ∥ y − y T ∥ W 1 , ∞ ( t 0 , t e n d ) ≤ C r e l ∥ R ∥ L ∞ ( t 0 , t e n d ) , \lVert y-y_{\mathcal{T}}\rVert_{W^{1,\infty}(t_0,t_{\mathrm{end}})} \le C_{\mathrm{rel}}\lVert R\rVert_{L^\infty(t_0,t_{\mathrm{end}})}, ∥ y − y T ∥ W 1 , ∞ ( t 0 , t end ) ≤ C rel ∥ R ∥ L ∞ ( t 0 , t end ) , with a constant C r e l > 1 C_{\mathrm{rel}} > 1 C rel > 1 .
Concretely, the estimator will be of the form η T 2 = ∑ T ∈ T η ( T ) 2 \eta_{\mathcal{T}}^2 = \sum_{T\in\mathcal{T}}\eta(T)^2 η T 2 = ∑ T ∈ T η ( T ) 2 . With this, the standard adaptive loop in Algorithm 2.1 can be formulated. Related residual-based error estimators for explicit Runge–Kutta methods are studied by Ranocha and Giesselmann [21 ] , who use the residual of a suitable reconstruction to select time-step sizes sequentially during forward integration. In contrast, our adaptive loop uses the local error indicators from the entire time interval to mark subintervals for refinement and then recomputes the discrete solution on the refined mesh. The main result of
Algorithm 2.1 Adaptive Algorithm
Input: Initial mesh T 0 \mathcal{T}_0 T 0 , parameter 0 < θ < 1 0 < \theta< 1 0 < θ < 1 .
for ℓ = 0 , 1 , 2 , … \ell= 0, 1, 2, \ldots ℓ = 0 , 1 , 2 , … do:
Compute y T ℓ y_{\mathcal{T}_\ell} y T ℓ from (2) .
Compute error estimates η T ℓ ( T ) \eta_{\mathcal{T}_\ell}(T) η T ℓ ( T ) for all T ∈ T ℓ T \in\mathcal{T}_\ell T ∈ T ℓ .
Find a set M ℓ \mathcal{M}_\ell M ℓ of minimal cardinality such that
∑ T ∈ M ℓ η T ℓ ( T ) 2 ≥ θ ∑ T ∈ T ℓ η T ℓ ( T ) 2 \sum_{T \in\mathcal{M}_\ell} \eta_{\mathcal{T}_\ell}(T)^2 \ge\theta\sum_{T \in\mathcal{T}_\ell} \eta_{\mathcal{T}_\ell}(T)^2 T ∈ M ℓ ∑ η T ℓ ( T ) 2 ≥ θ T ∈ T ℓ ∑ η T ℓ ( T ) 2
Bisect all T ∈ M ℓ T \in\mathcal{M}_\ell T ∈ M ℓ to obtain a new mesh T ℓ + 1 \mathcal{T}_{\ell+1} T ℓ + 1 .
end for
this work is to prove so-called rate-optimality for the adaptive algorithm, in the sense of [2 ] . To that end, we introduce the set T \mathbb{T} T of all meshes that can be reached by repeated bisections, starting from some initial mesh T 0 \mathcal{T}_0 T 0 .
Theorem 2.2. Assume the setting of § 2.1 or § 2.2 . Let 0 < θ < 1 0 < \theta< 1 0 < θ < 1 and suppose the initial discretization T 0 \mathcal{T}_0 T 0 is sufficiently fine. Let s > 0 s > 0 s > 0 be such that
C b e s t : = sup N ∈ N inf T ∈ T # T − # T 0 ≤ N ( N + 1 ) s η T < ∞ . C_{\mathrm{best}} := \sup_{N \in\mathbb{N}} \inf_{\substack{\mathcal{T} \in\mathbb{T} \\ \#\mathcal{T} - \#\mathcal{T}_0 \leq N}} (N+1)^s \eta_{\mathcal{T}} < \infty. C best := N ∈ N sup T ∈ T # T − # T 0 ≤ N inf ( N + 1 ) s η T < ∞. Then, the sequence of meshes T ℓ \mathcal{T}_\ell T ℓ obtained from Algorithm 2.1 satisfies
sup ℓ ∈ N η T ℓ ( # T ℓ − # T 0 + 1 ) s ≤ C o p t C b e s t . (3) \sup_{\ell\in\mathbb{N}} \eta_{\mathcal{T}_\ell}(\#\mathcal{T}_\ell- \#\mathcal{T}_0 + 1)^s \leq C_{\mathrm{opt}} C_{\mathrm{best}}. \tag*{(3)} ℓ ∈ N sup η T ℓ ( # T ℓ − # T 0 + 1 ) s ≤ C opt C best . (3)
Lowest-order discretization p = 1
To obtain an approximation scheme for p = 1 p = 1 p = 1 , we use the mapping I T p ( z ) = z ∈ P 0 ( T ) I_{\mathcal{T}}^p(z) = z \in P^0(\mathcal{T}) I T p ( z ) = z ∈ P 0 ( T ) . Evaluating (2) yields the well-known explicit time-stepping method
y T ( t ) = y T ( t i ) + ( t − t i ) F ( y T ( t i ) ) , t ∈ [ t i , t i + 1 ] . (4) y_{\mathcal{T}}(t) = y_{\mathcal{T}}(t_i) + (t-t_i)F(y_{\mathcal{T}}(t_i)), \qquad t \in[t_i,t_{i+1}]. \tag*{(4)} y T ( t ) = y T ( t i ) + ( t − t i ) F ( y T ( t i )) , t ∈ [ t i , t i + 1 ] . (4)
In this setting, the residual is given by
R ( t ) = F ( y T ( t i ) ) − F ( y T ( t ) ) , t ∈ [ t i , t i + 1 ] . R(t) = F(y_{\mathcal{T}}(t_i)) - F(y_{\mathcal{T}}(t)), \qquad t \in[t_i,t_{i+1}]. R ( t ) = F ( y T ( t i )) − F ( y T ( t )) , t ∈ [ t i , t i + 1 ] .
The Lipschitz condition on F F F allows us to derive the estimator that will be used in this setting. For T = [ t i , t i + 1 ] T = [t_i,t_{i+1}] T = [ t i , t i + 1 ] one gets
η T ( T ) : = L ∣ T ∣ ∥ ∂ t y T ∥ L 2 ( T ) = L ∣ T ∣ ∥ F ( y T ( t i ) ) ∥ L 2 ( T ) ≥ ∥ R ∥ L 2 ( T ) . (5) \eta_{\mathcal{T}}(T) := L|T|\|\partial_t y_{\mathcal{T}}\|_{L^2(T)} = L|T|\|F(y_{\mathcal{T}}(t_i))\|_{L^2(T)} \geq\|R\|_{L^2(T)}. \tag*{(5)} η T ( T ) := L ∣ T ∣∥ ∂ t y T ∥ L 2 ( T ) = L ∣ T ∣∥ F ( y T ( t i )) ∥ L 2 ( T ) ≥ ∥ R ∥ L 2 ( T ) . (5)
We aim to prove Theorem 2.2 for this pair of discretization and estimator. In contrast to the classical strategy outlined in [2 ] , we demonstrate stronger stability and reduction estimates that are sufficient to prove R-linear convergence of the estimator.
Lemma 2.3. The error estimator defined in (5) satisfies strong stability in the sense that for a refinement T ^ \widehat{\mathcal{T}} T of T \mathcal{T} T it holds
∣ ( ∑ T ∈ T ∩ T ^ η T ( T ) 2 ) 1 / 2 − ( ∑ T ∈ T ∩ T ^ η T ^ ( T ) 2 ) 1 / 2 ∣ ≤ C s t a b ∥ h T ∥ L ∞ ( t 0 , t e n d ) ∥ y T − y T ^ ∥ H 1 ( t 0 , t e n d ) , \left|\left(\sum_{T\in\mathcal{T}\cap\widehat{\mathcal{T}}}\eta_{\mathcal{T}}(T)^2\right)^{1/2}-\left(\sum_{T\in\mathcal{T}\cap\widehat{\mathcal{T}}}\eta_{\widehat{\mathcal{T}}}(T)^2\right)^{1/2}\right|
\leq C_{\mathrm{stab}}\|h_{\mathcal{T}}\|_{L^\infty(t_0,t_{\mathrm{end}})}\|y_{\mathcal{T}}-y_{\widehat{\mathcal{T}}}\|_{H^1(t_0,t_{\mathrm{end}})}, T ∈ T ∩ T ∑ η T ( T ) 2 1/2 − T ∈ T ∩ T ∑ η T ( T ) 2 1/2 ≤ C stab ∥ h T ∥ L ∞ ( t 0 , t end ) ∥ y T − y T ∥ H 1 ( t 0 , t end ) , where y T y_{\mathcal{T}} y T and y T ^ y_{\widehat{\mathcal{T}}} y T are discrete solutions on the respective meshes, h T ( t ) = ∣ T ∣ h_{\mathcal{T}}(t)=|T| h T ( t ) = ∣ T ∣ for t ∈ int ( T ) t\in\operatorname{int}(T) t ∈ int ( T ) is the mesh-size function and C s t a b > 1 C_{\mathrm{stab}}>1 C stab > 1 .
Proof. Triangle inequalities show
∣ ( ∑ T ∈ T ∩ T ^ η T ( T ) 2 ) 1 / 2 − ( ∑ T ∈ T ∩ T ^ η T ^ ( T ) 2 ) 1 / 2 ∣ 2 ≤ ∑ T ∈ T ∩ T ^ L 2 ∣ T ∣ 2 ∥ ∂ t y T − ∂ t y T ^ ∥ L 2 ( T ) 2 ≤ L 2 ∥ h T ∥ L ∞ ( t 0 , t e n d ) 2 ∥ ∂ t y T − ∂ t y T ^ ∥ L 2 ( t 0 , t e n d ) 2 . \begin{aligned}
\left|\left(\sum_{T\in\mathcal{T}\cap\widehat{\mathcal{T}}}\eta_{\mathcal{T}}(T)^2\right)^{1/2}-\left(\sum_{T\in\mathcal{T}\cap\widehat{\mathcal{T}}}\eta_{\widehat{\mathcal{T}}}(T)^2\right)^{1/2}\right|^2
\leq\sum_{T\in\mathcal{T}\cap\widehat{\mathcal{T}}}L^2|T|^2\|\partial_t y_{\mathcal{T}}-\partial_t y_{\widehat{\mathcal{T}}}\|_{L^2(T)}^2 \\
&\leq L^2\|h_{\mathcal{T}}\|_{L^\infty(t_0,t_{\mathrm{end}})}^2\|\partial_t y_{\mathcal{T}}-\partial_t y_{\widehat{\mathcal{T}}}\|_{L^2(t_0,t_{\mathrm{end}})}^2.
\end{aligned} T ∈ T ∩ T ∑ η T ( T ) 2 1/2 − T ∈ T ∩ T ∑ η T ( T ) 2 1/2 2 ≤ T ∈ T ∩ T ∑ L 2 ∣ T ∣ 2 ∥ ∂ t y T − ∂ t y T ∥ L 2 ( T ) 2 ≤ L 2 ∥ h T ∥ L ∞ ( t 0 , t end ) 2 ∥ ∂ t y T − ∂ t y T ∥ L 2 ( t 0 , t end ) 2 .
A similar estimate on refined elements yields strong reduction .
Lemma 2.4. The error estimator defined in (5) satisfies strong reduction in the sense that for a refinement T ^ \widehat{\mathcal{T}} T of T \mathcal{T} T it holds
∑ T ∈ T ^ ∖ T η T ^ ( T ) 2 ≤ q ∑ T ∈ T ∖ T ^ η T ( T ) 2 + C r e d ∥ h T ∥ L ∞ ( t 0 , t e n d ) 2 ∥ y T − y T ^ ∥ H 1 ( t 0 , t e n d ) 2 , \sum_{T\in\widehat{\mathcal{T}}\setminus\mathcal{T}}\eta_{\widehat{\mathcal{T}}}(T)^2
\leq q\sum_{T\in\mathcal{T}\setminus\widehat{\mathcal{T}}}\eta_{\mathcal{T}}(T)^2
+C_{\mathrm{red}}\|h_{\mathcal{T}}\|_{L^\infty(t_0,t_{\mathrm{end}})}^2\|y_{\mathcal{T}}-y_{\widehat{\mathcal{T}}}\|_{H^1(t_0,t_{\mathrm{end}})}^2, T ∈ T ∖ T ∑ η T ( T ) 2 ≤ q T ∈ T ∖ T ∑ η T ( T ) 2 + C red ∥ h T ∥ L ∞ ( t 0 , t end ) 2 ∥ y T − y T ∥ H 1 ( t 0 , t end ) 2 , for 0 < q < 1 0<q<1 0 < q < 1 and C r e d > 1 C_{\mathrm{red}}>1 C red > 1 .
Proof. Let T ∈ T ∖ T ^ T\in\mathcal{T}\setminus\widehat{\mathcal{T}} T ∈ T ∖ T and { T ^ i } i = 1 n ⊂ T ^ ∖ T \{\widehat{T}_i\}_{i=1}^n\subset\widehat{\mathcal{T}}\setminus\mathcal{T} { T i } i = 1 n ⊂ T ∖ T such that T = ⋃ i = 1 n T ^ i T=\bigcup_{i=1}^n\widehat{T}_i T = ⋃ i = 1 n T i . It holds
∑ i = 1 n η T ^ ( T ^ i ) 2 = ∑ i = 1 n L 2 ∣ T ^ i ∣ 2 ∥ ∂ t y T ^ ∥ L 2 ( T ^ i ) 2 \sum_{i=1}^n\eta_{\widehat{\mathcal{T}}}(\widehat{T}_i)^2
=\sum_{i=1}^nL^2|\widehat{T}_i|^2\|\partial_t y_{\widehat{\mathcal{T}}}\|_{L^2(\widehat{T}_i)}^2 i = 1 ∑ n η T ( T i ) 2 = i = 1 ∑ n L 2 ∣ T i ∣ 2 ∥ ∂ t y T ∥ L 2 ( T i ) 2 ≤ L 2 ∣ T ∣ 2 2 ∥ ∂ t y T ∥ L 2 ( T ) 2 + L 2 ∣ T ∣ 2 2 ∥ ∂ t y T − ∂ t y T ^ ∥ L 2 ( T ) 2 \leq L^2\frac{|T|^2}{2}\|\partial_t y_{\mathcal{T}}\|_{L^2(T)}^2
+L^2\frac{|T|^2}{2}\|\partial_t y_{\mathcal{T}}-\partial_t y_{\widehat{\mathcal{T}}}\|_{L^2(T)}^2 ≤ L 2 2 ∣ T ∣ 2 ∥ ∂ t y T ∥ L 2 ( T ) 2 + L 2 2 ∣ T ∣ 2 ∥ ∂ t y T − ∂ t y T ∥ L 2 ( T ) 2 ≤ 1 2 η T ( T ) 2 + L 2 ∣ T ∣ 2 2 ∥ ∂ t y T − ∂ t y T ^ ∥ L 2 ( T ) 2 , \leq\frac{1}{2}\eta_{\mathcal{T}}(T)^2
+L^2\frac{|T|^2}{2}\|\partial_t y_{\mathcal{T}}-\partial_t y_{\widehat{\mathcal{T}}}\|_{L^2(T)}^2, ≤ 2 1 η T ( T ) 2 + L 2 2 ∣ T ∣ 2 ∥ ∂ t y T − ∂ t y T ∥ L 2 ( T ) 2 , since ∣ T ^ i ∣ ≤ 1 2 ∣ T ∣ |\widehat{T}_i|\leq\frac{1}{2}|T| ∣ T i ∣ ≤ 2 1 ∣ T ∣ . Summing over all T ∈ T ∖ T ^ T\in\mathcal{T}\setminus\widehat{\mathcal{T}} T ∈ T ∖ T yields the result.
Following the standard theory for adaptive mesh refinement, one would continue to prove the so-called quasi-orthogonality estimate in order to conclude R-linear convergence of the estimator as outlined in [2 , 13 ] . In this work, we use the stronger stability and reduction estimates to conclude linear convergence directly, under an additional assumption on the initial mesh.
Lemma 2.5. Let T 0 , T 1 , … \mathcal{T}_0,\mathcal{T}_1,\ldots T 0 , T 1 , … be meshes generated by Algorithm 2.1 with corresponding discrete solutions y 0 , y 1 , … y_0,y_1,\ldots y 0 , y 1 , … and estimators η 0 , η 1 , … \eta_0,\eta_1,\ldots η 0 , η 1 , … . Suppose the initial discretization T 0 \mathcal{T}_0 T 0 is fine enough. Furthermore, suppose that the estimator satisfies strong stability and reduction as outlined in Lemmas 2.3 and 2.4 . Then there is a κ ∈ ( 0 , 1 ) \kappa\in(0,1) κ ∈ ( 0 , 1 ) such that, for all k , ℓ ∈ N k,\ell\in\mathbb{N} k , ℓ ∈ N ,
η ℓ + k 2 ≤ κ k η ℓ 2 . \eta_{\ell+k}^2\leq\kappa^k\eta_\ell^2. η ℓ + k 2 ≤ κ k η ℓ 2 .
Proof. Let ℓ ∈ N \ell\in\mathbb{N} ℓ ∈ N . Using the stability estimate in Lemma 2.3 , the reduction estimate in Lemma 2.4 , and Young’s inequality, we obtain
η ℓ + 1 2 = ∑ T ∈ T ℓ + 1 ∖ T ℓ η ℓ + 1 ( T ) 2 + ∑ T ∈ T ℓ + 1 ∩ T ℓ η ℓ + 1 ( T ) 2 ≤ q ∑ T ∈ T ℓ ∖ T ℓ + 1 η ℓ ( T ) 2 + ( 1 + δ ) ∑ T ∈ T ℓ + 1 ∩ T ℓ η ℓ ( T ) 2 + C e s t ∥ h T ℓ ∥ L ∞ ( t 0 , t e n d ) 2 ∥ y ℓ − y ℓ + 1 ∥ H 1 ( t 0 , t e n d ) 2 \begin{aligned}
\eta_{\ell+1}^{2}=\sum_{T\in\mathcal{T}_{\ell+1}\setminus\mathcal{T}_{\ell}}\eta_{\ell+1}(T)^{2}+\sum_{T\in\mathcal{T}_{\ell+1}\cap\mathcal{T}_{\ell}}\eta_{\ell+1}(T)^{2} \\
&\le q\sum_{T\in\mathcal{T}_{\ell}\setminus\mathcal{T}_{\ell+1}}\eta_{\ell}(T)^{2}+(1+\delta)\sum_{T\in\mathcal{T}_{\ell+1}\cap\mathcal{T}_{\ell}}\eta_{\ell}(T)^{2}
+C_{\mathrm{est}}\lVert h_{\mathcal{T}_{\ell}}\rVert_{L^{\infty}(t_{0},t_{\mathrm{end}})}^{2}\lVert y_{\ell}-y_{\ell+1}\rVert_{H^{1}(t_{0},t_{\mathrm{end}})}^{2}
\end{aligned} η ℓ + 1 2 = T ∈ T ℓ + 1 ∖ T ℓ ∑ η ℓ + 1 ( T ) 2 + T ∈ T ℓ + 1 ∩ T ℓ ∑ η ℓ + 1 ( T ) 2 ≤ q T ∈ T ℓ ∖ T ℓ + 1 ∑ η ℓ ( T ) 2 + ( 1 + δ ) T ∈ T ℓ + 1 ∩ T ℓ ∑ η ℓ ( T ) 2 + C est ∥ h T ℓ ∥ L ∞ ( t 0 , t end ) 2 ∥ y ℓ − y ℓ + 1 ∥ H 1 ( t 0 , t end ) 2
with C e s t = C r e d + ( 1 + δ − 1 ) C s t a b 2 C_{\mathrm{est}}=C_{\mathrm{red}}+(1+\delta^{-1})C_{\mathrm{stab}}^{2} C est = C red + ( 1 + δ − 1 ) C stab 2 , and δ > 0 \delta>0 δ > 0 arbitrary. Using the marking strategy with θ ∈ ( 0 , 1 ) \theta\in(0,1) θ ∈ ( 0 , 1 ) yields
η ℓ + 1 2 ≤ ( ( 1 + δ ) ( 1 − θ ) + θ q ) η ℓ 2 + C e s t ∥ h T ℓ ∥ L ∞ ( t 0 , t e n d ) 2 ∥ y ℓ − y ℓ + 1 ∥ H 1 ( t 0 , t e n d ) 2 . (6) \eta_{\ell+1}^{2}\le\bigl((1+\delta)(1-\theta)+\theta q\bigr)\eta_{\ell}^{2}+C_{\mathrm{est}}\lVert h_{\mathcal{T}_{\ell}}\rVert_{L^{\infty}(t_{0},t_{\mathrm{end}})}^{2}\lVert y_{\ell}-y_{\ell+1}\rVert_{H^{1}(t_{0},t_{\mathrm{end}})}^{2}. \tag*{(6)} η ℓ + 1 2 ≤ ( ( 1 + δ ) ( 1 − θ ) + θ q ) η ℓ 2 + C est ∥ h T ℓ ∥ L ∞ ( t 0 , t end ) 2 ∥ y ℓ − y ℓ + 1 ∥ H 1 ( t 0 , t end ) 2 . (6)
Choosing δ \delta δ small enough ensures that q r e d : = ( ( 1 + δ ) ( 1 − θ ) + θ q ) < 1 q_{\mathrm{red}}:=((1+\delta)(1-\theta)+\theta q)<1 q red := (( 1 + δ ) ( 1 − θ ) + θ q ) < 1 . The estimate (6) is called estimator reduction in [2 ] . Since we have the reliability estimate
∥ y ℓ − y ℓ + 1 ∥ H 1 ( t 0 , t e n d ) 2 ≤ 2 C r e l 2 ( η ℓ 2 + η ℓ + 1 2 ) , \lVert y_{\ell}-y_{\ell+1}\rVert_{H^{1}(t_{0},t_{\mathrm{end}})}^{2}\le2C_{\mathrm{rel}}^{2}\left(\eta_{\ell}^{2}+\eta_{\ell+1}^{2}\right), ∥ y ℓ − y ℓ + 1 ∥ H 1 ( t 0 , t end ) 2 ≤ 2 C rel 2 ( η ℓ 2 + η ℓ + 1 2 ) ,
we get for C = 2 C r e l 2 C e s t C=2C_{\mathrm{rel}}^{2}C_{\mathrm{est}} C = 2 C rel 2 C est that
η ℓ + 1 2 ( 1 − C ∥ h T ℓ ∥ L ∞ ( t 0 , t e n d ) 2 ) ≤ η ℓ 2 ( q r e d + C ∥ h T ℓ ∥ L ∞ ( t 0 , t e n d ) 2 ) , \eta_{\ell+1}^{2}\left(1-C\lVert h_{\mathcal{T}_{\ell}}\rVert_{L^{\infty}(t_{0},t_{\mathrm{end}})}^{2}\right)\le\eta_{\ell}^{2}\left(q_{\mathrm{red}}+C\lVert h_{\mathcal{T}_{\ell}}\rVert_{L^{\infty}(t_{0},t_{\mathrm{end}})}^{2}\right), η ℓ + 1 2 ( 1 − C ∥ h T ℓ ∥ L ∞ ( t 0 , t end ) 2 ) ≤ η ℓ 2 ( q red + C ∥ h T ℓ ∥ L ∞ ( t 0 , t end ) 2 ) ,
which yields under the assumption of a fine initial mesh such that C ∥ h T ℓ ∥ L ∞ ( t 0 , t e n d ) 2 ≤ C ∥ h T 0 ∥ L ∞ ( t 0 , t e n d ) 2 < 1 C\lVert h_{\mathcal{T}_{\ell}}\rVert_{L^{\infty}(t_{0},t_{\mathrm{end}})}^{2}\le C\lVert h_{\mathcal{T}_{0}}\rVert_{L^{\infty}(t_{0},t_{\mathrm{end}})}^{2}<1 C ∥ h T ℓ ∥ L ∞ ( t 0 , t end ) 2 ≤ C ∥ h T 0 ∥ L ∞ ( t 0 , t end ) 2 < 1 that
η ℓ + 1 2 ≤ q r e d + C ∥ h T 0 ∥ L ∞ ( t 0 , t e n d ) 2 1 − C ∥ h T 0 ∥ L ∞ ( t 0 , t e n d ) 2 η ℓ 2 . \eta_{\ell+1}^{2}\le\frac{q_{\mathrm{red}}+C\lVert h_{\mathcal{T}_{0}}\rVert_{L^{\infty}(t_{0},t_{\mathrm{end}})}^{2}}{1-C\lVert h_{\mathcal{T}_{0}}\rVert_{L^{\infty}(t_{0},t_{\mathrm{end}})}^{2}}\eta_{\ell}^{2}. η ℓ + 1 2 ≤ 1 − C ∥ h T 0 ∥ L ∞ ( t 0 , t end ) 2 q red + C ∥ h T 0 ∥ L ∞ ( t 0 , t end ) 2 η ℓ 2 .
Choosing an even finer initial discretization T 0 \mathcal{T}_{0} T 0 gives
κ : = q r e d + C ∥ h T 0 ∥ L ∞ ( t 0 , t e n d ) 2 1 − C ∥ h T 0 ∥ L ∞ ( t 0 , t e n d ) 2 < 1 , \kappa:=\frac{q_{\mathrm{red}}+C\lVert h_{\mathcal{T}_{0}}\rVert_{L^{\infty}(t_{0},t_{\mathrm{end}})}^{2}}{1-C\lVert h_{\mathcal{T}_{0}}\rVert_{L^{\infty}(t_{0},t_{\mathrm{end}})}^{2}}<1, κ := 1 − C ∥ h T 0 ∥ L ∞ ( t 0 , t end ) 2 q red + C ∥ h T 0 ∥ L ∞ ( t 0 , t end ) 2 < 1 ,
which concludes the proof. ∎
In order to prove optimal convergence rates of the algorithm, one still needs another crucial property of the error estimator, namely a discrete version of the reliability estimate. To obtain such a result, we state an auxiliary lemma.
Lemma 2.6. Let T ^ \widehat{\mathcal{T}} T be a refinement of T \mathcal{T} T . Suppose that for all unrefined elements T ∈ T ∩ T ^ T\in\mathcal{T}\cap\widehat{\mathcal{T}} T ∈ T ∩ T , the approximation scheme satisfies the following estimate:
∣ y T ^ ( t ) − y T ( t ) ∣ ≤ ( 1 + C ∣ T ∣ ) ∣ y T ^ ( t i ) − y T ( t i ) ∣ , t ∈ T = [ t i , t i + 1 ] , (7) \lvert y_{\widehat{\mathcal{T}}}(t)-y_{\mathcal{T}}(t)\rvert\le(1+C\lvert T\rvert)\lvert y_{\widehat{\mathcal{T}}}(t_i)-y_{\mathcal{T}}(t_i)\rvert,\qquad t\in T=[t_i,t_{i+1}], \tag*{(7)} ∣ y T ( t ) − y T ( t )∣ ≤ ( 1 + C ∣ T ∣) ∣ y T ( t i ) − y T ( t i )∣ , t ∈ T = [ t i , t i + 1 ] , (7) where C > 1 C>1 C > 1 is some constant independent of T \mathcal{T} T and T ^ \widehat{\mathcal{T}} T . Furthermore, assume that the initial mesh T 0 \mathcal{T}_{0} T 0 is fine enough. Then, for all t ∈ [ t 0 , t e n d ] t\in[t_{0},t_{\mathrm{end}}] t ∈ [ t 0 , t end ] ,
∣ y T ^ ( t ) − y T ( t ) ∣ ≲ ∑ T ∈ T ∖ T ^ ∫ T ( ∣ R ( s ) ∣ + ∣ R ^ ( s ) ∣ ) d s , (8) \lvert y_{\widehat{\mathcal{T}}}(t)-y_{\mathcal{T}}(t)\rvert\lesssim\sum_{T\in\mathcal{T}\setminus\widehat{\mathcal{T}}}\int_{T}\left(\lvert R(s)\rvert+\lvert\widehat{R}(s)\rvert\right)\,\mathrm{d}s, \tag*{(8)} ∣ y T ( t ) − y T ( t )∣ ≲ T ∈ T ∖ T ∑ ∫ T ( ∣ R ( s )∣ + ∣ R ( s )∣ ) d s , (8) where R = ∂ t y T − F ( y T ) R=\partial_t y_{\mathcal{T}}-F(y_{\mathcal{T}}) R = ∂ t y T − F ( y T ) and R ^ = ∂ t y T ^ − F ( y T ^ ) \widehat{R}=\partial_t y_{\widehat{\mathcal{T}}}-F(y_{\widehat{\mathcal{T}}}) R = ∂ t y T − F ( y T ) denote the corresponding residuals.
Proof. Let [ t i , t i + 1 ] = T ∈ T ^ ∖ T [t_i,t_{i+1}]=T\in\widehat{\mathcal{T}}\setminus\mathcal{T} [ t i , t i + 1 ] = T ∈ T ∖ T . With the residuals ∂ t y T − F ( y T ) : = R \partial_t y_{\mathcal{T}}-F(y_{\mathcal{T}}):=R ∂ t y T − F ( y T ) := R and ∂ t y T ^ − F ( y T ^ ) : = R ^ \partial_t y_{\widehat{\mathcal{T}}}-F(y_{\widehat{\mathcal{T}}}):=\widehat{R} ∂ t y T − F ( y T ) := R it holds
∂ t y T ^ − ∂ t y T = F ( y T ^ ) − F ( y T ) + R ^ ( t ) − R ( t ) . \partial_t y_{\widehat{\mathcal{T}}}-\partial_t y_{\mathcal{T}}=F(y_{\widehat{\mathcal{T}}})-F(y_{\mathcal{T}})+\widehat{R}(t)-R(t). ∂ t y T − ∂ t y T = F ( y T ) − F ( y T ) + R ( t ) − R ( t ) .
Integrating from t i t_i t i to t ∈ T t\in T t ∈ T yields
∣ y T ^ ( t ) − y T ( t ) ∣ ≤ ∣ y T ^ ( t i ) − y T ( t i ) ∣ + ∫ T ∣ F ( y T ^ ( s ) ) − F ( y T ( s ) ) ∣ d s + ∫ T ( ∣ R ( s ) ∣ + ∣ R ^ ( s ) ∣ ) d s , ≤ ∣ y T ^ ( t i ) − y T ( t i ) ∣ + L ∣ T ∣ ∥ y T ^ − y T ∥ L ∞ ( T ) + ∫ T ( ∣ R ( s ) ∣ + ∣ R ^ ( s ) ∣ ) d s , \begin{aligned}
\left|y_{\widehat{\mathcal{T}}}(t)-y_{\mathcal{T}}(t)\right|
\leq\left|y_{\widehat{\mathcal{T}}}(t_i)-y_{\mathcal{T}}(t_i)\right|+\int_T\left|F(y_{\widehat{\mathcal{T}}}(s))-F(y_{\mathcal{T}}(s))\right|\,\mathrm{d}s+\int_T\left(\left|R(s)\right|+\left|\widehat{R}(s)\right|\right)\,\mathrm{d}s, \\
&\leq\left|y_{\widehat{\mathcal{T}}}(t_i)-y_{\mathcal{T}}(t_i)\right|+L|T|\left\|y_{\widehat{\mathcal{T}}}-y_{\mathcal{T}}\right\|_{L^\infty(T)}+\int_T\left(\left|R(s)\right|+\left|\widehat{R}(s)\right|\right)\,\mathrm{d}s,
\end{aligned} ∣ y T ( t ) − y T ( t ) ∣ ≤ ∣ y T ( t i ) − y T ( t i ) ∣ + ∫ T ∣ F ( y T ( s )) − F ( y T ( s )) ∣ d s + ∫ T ( ∣ R ( s ) ∣ + R ( s ) ) d s , ≤ ∣ y T ( t i ) − y T ( t i ) ∣ + L ∣ T ∣ ∥ y T − y T ∥ L ∞ ( T ) + ∫ T ( ∣ R ( s ) ∣ + R ( s ) ) d s ,
where we used the Lipschitz condition in the second step. This results in
∥ y T ^ − y T ∥ L ∞ ( T ) ≤ 1 + C ∣ T ∣ 1 − L ∣ T ∣ ∣ y T ^ ( t i ) − y T ( t i ) ∣ + ∫ T ( ∣ R ( s ) ∣ + ∣ R ^ ( s ) ∣ ) d s (9) \left\|y_{\widehat{\mathcal{T}}}-y_{\mathcal{T}}\right\|_{L^\infty(T)}
\leq\frac{1+C|T|}{1-L|T|}\left|y_{\widehat{\mathcal{T}}}(t_i)-y_{\mathcal{T}}(t_i)\right|
+\int_T\left(\left|R(s)\right|+\left|\widehat{R}(s)\right|\right)\,\mathrm{d}s \tag*{(9)} ∥ y T − y T ∥ L ∞ ( T ) ≤ 1 − L ∣ T ∣ 1 + C ∣ T ∣ ∣ y T ( t i ) − y T ( t i ) ∣ + ∫ T ( ∣ R ( s ) ∣ + R ( s ) ) d s (9)
if L ∣ T ∣ < 1 L|T|<1 L ∣ T ∣ < 1 , which can be enforced by choosing a fine enough initial mesh. The claim follows by an inductive argument using y T ( t 0 ) = y T ^ ( t 0 ) y_{\mathcal{T}}(t_0)=y_{\widehat{\mathcal{T}}}(t_0) y T ( t 0 ) = y T ( t 0 ) together with (7) and (9) on unrefined and refined elements, respectively. We number the elements in T ^ \widehat{\mathcal{T}} T such that T i : = [ t i − 1 , t i ] ∈ T ^ T_i:=[t_{i-1},t_i]\in\widehat{\mathcal{T}} T i := [ t i − 1 , t i ] ∈ T and claim that for t ∈ [ t 0 , t i ] t\in[t_0,t_i] t ∈ [ t 0 , t i ] and all i ∈ { 1 , … , # T ^ } i\in\{1,\ldots,\#\widehat{\mathcal{T}}\} i ∈ { 1 , … , # T } it holds that
∣ y T ^ ( t ) − y T ( t ) ∣ ≤ ∏ j = 1 T j ∈ T ^ ∖ T i 1 + C ∣ T j ∣ 1 − L ∣ T j ∣ ∑ j = 1 T j ∈ T ^ ∖ T i ∫ T j ( ∣ R ( s ) ∣ + ∣ R ^ ( s ) ∣ ) d s . (10) \left|y_{\widehat{\mathcal{T}}}(t)-y_{\mathcal{T}}(t)\right|
\leq\prod_{\substack{j=1\\T_j\in\widehat{\mathcal{T}}\setminus\mathcal{T}}}^{i}\frac{1+C|T_j|}{1-L|T_j|}
\sum_{\substack{j=1\\T_j\in\widehat{\mathcal{T}}\setminus\mathcal{T}}}^{i}\int_{T_j}\left(\left|R(s)\right|+\left|\widehat{R}(s)\right|\right)\,\mathrm{d}s. \tag*{(10)} ∣ y T ( t ) − y T ( t ) ∣ ≤ j = 1 T j ∈ T ∖ T ∏ i 1 − L ∣ T j ∣ 1 + C ∣ T j ∣ j = 1 T j ∈ T ∖ T ∑ i ∫ T j ( ∣ R ( s ) ∣ + R ( s ) ) d s . (10)
Setting i = # T ^ i=\#\widehat{\mathcal{T}} i = # T yields the result. The base case follows by applying (7) and (9) for T = T 1 T=T_1 T = T 1 using that y T ( t 0 ) = y T ^ ( t 0 ) y_{\mathcal{T}}(t_0)=y_{\widehat{\mathcal{T}}}(t_0) y T ( t 0 ) = y T ( t 0 ) . To prove the induction step for a refined element T i + 1 ∈ T ^ ∖ T T_{i+1}\in\widehat{\mathcal{T}}\setminus\mathcal{T} T i + 1 ∈ T ∖ T we use (9) and insert (10) for y T ^ ( t i ) − y T ( t i ) y_{\widehat{\mathcal{T}}}(t_i)-y_{\mathcal{T}}(t_i) y T ( t i ) − y T ( t i ) which yields for t ∈ T i + 1 t\in T_{i+1} t ∈ T i + 1
∣ y T ^ ( t ) − y T ( t ) ∣ ≤ 1 + C ∣ T i + 1 ∣ 1 − L ∣ T i + 1 ∣ ( ∏ j = 1 T j ∈ T ^ ∖ T i 1 + C ∣ T j ∣ 1 − L ∣ T j ∣ ∑ j = 1 T j ∈ T ^ ∖ T i ∫ T j ( ∣ R ( s ) ∣ + ∣ R ^ ( s ) ∣ ) d s + ∫ T i + 1 ( ∣ R ( s ) ∣ + ∣ R ^ ( s ) ∣ ) d s ) ≤ ∏ j = 1 T j ∈ T ^ ∖ T i + 1 1 + C ∣ T j ∣ 1 − L ∣ T j ∣ ∑ j = 1 T j ∈ T ^ ∖ T i + 1 ∫ T j ( ∣ R ( s ) ∣ + ∣ R ^ ( s ) ∣ ) d s . \begin{aligned}
\left|y_{\widehat{\mathcal{T}}}(t)-y_{\mathcal{T}}(t)\right|
&\leq\frac{1+C|T_{i+1}|}{1-L|T_{i+1}|}\left(\prod_{\substack{j=1\\T_j\in\widehat{\mathcal{T}}\setminus\mathcal{T}}}^{i}\frac{1+C|T_j|}{1-L|T_j|}\sum_{\substack{j=1\\T_j\in\widehat{\mathcal{T}}\setminus\mathcal{T}}}^{i}\int_{T_j}\left(\left|R(s)\right|+\left|\widehat{R}(s)\right|\right)\,\mathrm{d}s\right.\\
&\qquad\left.+\int_{T_{i+1}}\left(\left|R(s)\right|+\left|\widehat{R}(s)\right|\right)\,\mathrm{d}s\right)\\
&\leq\prod_{\substack{j=1\\T_j\in\widehat{\mathcal{T}}\setminus\mathcal{T}}}^{i+1}\frac{1+C|T_j|}{1-L|T_j|}\sum_{\substack{j=1\\T_j\in\widehat{\mathcal{T}}\setminus\mathcal{T}}}^{i+1}\int_{T_j}\left(\left|R(s)\right|+\left|\widehat{R}(s)\right|\right)\,\mathrm{d}s.
\end{aligned} ∣ y T ( t ) − y T ( t ) ∣ ≤ 1 − L ∣ T i + 1 ∣ 1 + C ∣ T i + 1 ∣ j = 1 T j ∈ T ∖ T ∏ i 1 − L ∣ T j ∣ 1 + C ∣ T j ∣ j = 1 T j ∈ T ∖ T ∑ i ∫ T j ( ∣ R ( s ) ∣ + R ( s ) ) d s + ∫ T i + 1 ( ∣ R ( s ) ∣ + R ( s ) ) d s ) ≤ j = 1 T j ∈ T ∖ T ∏ i + 1 1 − L ∣ T j ∣ 1 + C ∣ T j ∣ j = 1 T j ∈ T ∖ T ∑ i + 1 ∫ T j ( ∣ R ( s ) ∣ + R ( s ) ) d s .
In the case of an unrefined element T i + 1 ∈ T ^ ∩ T T_{i+1}\in\widehat{\mathcal{T}}\cap\mathcal{T} T i + 1 ∈ T ∩ T one just uses (7) instead of (9) and proceeds analogously. This concludes the induction. Because L ∣ T i ∣ ≤ L ∥ h T 0 ∥ L ∞ ( t 0 , t e n d ) < 1 L|T_i|\leq L\|h_{\mathcal{T}_0}\|_{L^\infty(t_0,t_{\mathrm{end}})}<1 L ∣ T i ∣ ≤ L ∥ h T 0 ∥ L ∞ ( t 0 , t end ) < 1 the products involved are bounded independently of T \mathcal{T} T . This concludes the proof.
Together with the properties of the numerical scheme, Lemma 2.6 yields the following discrete reliability estimate.
Lemma 2.7. Let T ^ \widehat{\mathcal{T}} T be a refinement of T \mathcal{T} T . Under the assumption of a fine enough initial mesh T 0 \mathcal{T}_0 T 0 , discrete reliability holds in the sense
∥ y T ^ − y T ∥ H 1 ( t 0 , t e n d ) 2 ≤ C d r e l 2 ∑ T ∈ T ∖ T ^ η T ( T ) 2 , \lVert y_{\widehat{\mathcal{T}}}-y_{\mathcal{T}}\rVert_{H^1(t_0,t_{\mathrm{end}})}^2 \le C_{\mathrm{drel}}^2 \sum_{\mathcal{T}\in\mathcal{T}\setminus\widehat{\mathcal{T}}}\eta_{\mathcal{T}}(\mathcal{T})^2, ∥ y T − y T ∥ H 1 ( t 0 , t end ) 2 ≤ C drel 2 T ∈ T ∖ T ∑ η T ( T ) 2 , for corresponding discrete solutions y T ^ , y T y_{\widehat{\mathcal{T}}},y_{\mathcal{T}} y T , y T defined in (4) and C d r e l > 1 C_{\mathrm{drel}}>1 C drel > 1 , independent of the meshes T \mathcal{T} T and T ^ \widehat{\mathcal{T}} T .
Proof. We first consider [ t i , t i + 1 ] = T ∈ T ∩ T ^ [t_i,t_{i+1}]=T\in\mathcal{T}\cap\widehat{\mathcal{T}} [ t i , t i + 1 ] = T ∈ T ∩ T . From the definition of the numerical scheme (4) we get that
∣ ∂ t y T − ∂ t y T ^ ∣ = ∣ F ( y T ( t i ) ) − F ( y T ^ ( t i ) ) ∣ , \lvert\partial_t y_{\mathcal{T}}-\partial_t y_{\widehat{\mathcal{T}}}\rvert=\left\lvert F(y_{\mathcal{T}}(t_i))-F(y_{\widehat{\mathcal{T}}}(t_i))\right\rvert, ∣ ∂ t y T − ∂ t y T ∣ = ∣ F ( y T ( t i )) − F ( y T ( t i )) ∣ ,
which yields by using the Lipschitz condition on F F F and norm equivalence on finite-dimensional spaces, followed by scaling that
∥ ∂ t y T − ∂ t y T ^ ∥ L 2 ( T ) ≲ ∥ y T − y T ^ ∥ L 2 ( T ) . \lVert\partial_t y_{\mathcal{T}}-\partial_t y_{\widehat{\mathcal{T}}}\rVert_{L^2(T)}\lesssim\lVert y_{\mathcal{T}}-y_{\widehat{\mathcal{T}}}\rVert_{L^2(T)}. ∥ ∂ t y T − ∂ t y T ∥ L 2 ( T ) ≲ ∥ y T − y T ∥ L 2 ( T ) .
Furthermore, we also get the estimate (7) by using similar arguments. For [ t i , t i + 1 ] = T ∈ T ∖ T ^ [t_i,t_{i+1}]=T\in\mathcal{T}\setminus\widehat{\mathcal{T}} [ t i , t i + 1 ] = T ∈ T ∖ T we get
∥ ∂ t y T − ∂ t y T ^ ∥ L 2 ( T ) 2 ≲ ∥ ∂ t y T − F ( y T ) ∥ L 2 ( T ) 2 + ∥ F ( y T ) − F ( y T ^ ) ∥ L 2 ( T ) 2 + ∥ ∂ t y T ^ − F ( y T ^ ) ∥ L 2 ( T ) 2 ≲ η T 2 ( T ) + η T ^ 2 ( T ) + ∥ y T − y T ^ ∥ L 2 ( T ) 2 . \begin{aligned}
\lVert\partial_t y_{\mathcal{T}}-\partial_t y_{\widehat{\mathcal{T}}}\rVert_{L^2(T)}^2
&\lesssim\lVert\partial_t y_{\mathcal{T}}-F(y_{\mathcal{T}})\rVert_{L^2(T)}^2+\lVert F(y_{\mathcal{T}})-F(y_{\widehat{\mathcal{T}}})\rVert_{L^2(T)}^2+\lVert\partial_t y_{\widehat{\mathcal{T}}}-F(y_{\widehat{\mathcal{T}}})\rVert_{L^2(T)}^2\\
&\lesssim\eta_{\mathcal{T}}^2(T)+\eta_{\widehat{\mathcal{T}}}^2(T)+\lVert y_{\mathcal{T}}-y_{\widehat{\mathcal{T}}}\rVert_{L^2(T)}^2.
\end{aligned} ∥ ∂ t y T − ∂ t y T ∥ L 2 ( T ) 2 ≲ ∥ ∂ t y T − F ( y T ) ∥ L 2 ( T ) 2 + ∥ F ( y T ) − F ( y T ) ∥ L 2 ( T ) 2 + ∥ ∂ t y T − F ( y T ) ∥ L 2 ( T ) 2 ≲ η T 2 ( T ) + η T 2 ( T ) + ∥ y T − y T ∥ L 2 ( T ) 2 .
Note that we slightly abuse notation to write η T ^ ( T ) 2 : = ∑ T ^ ∈ T ^ : T ^ ⊂ T η T ^ ( T ^ ) 2 \eta_{\widehat{\mathcal{T}}}(T)^2:=\sum_{\widehat{T}\in\widehat{\mathcal{T}}:\widehat{T}\subset T}\eta_{\widehat{\mathcal{T}}}(\widehat{T})^2 η T ( T ) 2 := ∑ T ∈ T : T ⊂ T η T ( T ) 2 . Summing over all T ∈ T T\in\mathcal{T} T ∈ T using the two preceding estimates yields
∥ ∂ t y T − ∂ t y T ^ ∥ L 2 ( t 0 , t e n d ) 2 ≲ ∑ T ∈ T ∖ T ^ η T ( T ) 2 + ∑ T ∈ T ∖ T ^ η T ^ ( T ) 2 + ∥ y T − y T ^ ∥ L 2 ( t 0 , t e n d ) 2 . (11) \lVert\partial_t y_{\mathcal{T}}-\partial_t y_{\widehat{\mathcal{T}}}\rVert_{L^2(t_0,t_{\mathrm{end}})}^2\lesssim\sum_{T\in\mathcal{T}\setminus\widehat{\mathcal{T}}}\eta_{\mathcal{T}}(T)^2+\sum_{T\in\mathcal{T}\setminus\widehat{\mathcal{T}}}\eta_{\widehat{\mathcal{T}}}(T)^2+\lVert y_{\mathcal{T}}-y_{\widehat{\mathcal{T}}}\rVert_{L^2(t_0,t_{\mathrm{end}})}^2. \tag*{(11)} ∥ ∂ t y T − ∂ t y T ∥ L 2 ( t 0 , t end ) 2 ≲ T ∈ T ∖ T ∑ η T ( T ) 2 + T ∈ T ∖ T ∑ η T ( T ) 2 + ∥ y T − y T ∥ L 2 ( t 0 , t end ) 2 . (11)
To conclude, we need a corresponding upper bound for ∥ y T − y T ^ ∥ L 2 ( t 0 , t e n d ) 2 \lVert y_{\mathcal{T}}-y_{\widehat{\mathcal{T}}}\rVert_{L^2(t_0,t_{\mathrm{end}})}^2 ∥ y T − y T ∥ L 2 ( t 0 , t end ) 2 . For this, we invoke Lemma 2.6 . As all the assumptions are satisfied in our setting, we get
∣ y T ^ ( t ) − y T ( t ) ∣ ≲ ∑ T ∈ T ∖ T ^ ∫ T ( ∣ R ( s ) ∣ + ∣ R ^ ( s ) ∣ ) d s . \lvert y_{\widehat{\mathcal{T}}}(t)-y_{\mathcal{T}}(t)\rvert\lesssim\sum_{T\in\mathcal{T}\setminus\widehat{\mathcal{T}}}\int_T\left(\lvert R(s)\rvert+\lvert\widehat{R}(s)\rvert\right)\,\mathrm{d}s. ∣ y T ( t ) − y T ( t )∣ ≲ T ∈ T ∖ T ∑ ∫ T ( ∣ R ( s )∣ + ∣ R ( s )∣ ) d s .
Squaring and integrating from t 0 t_0 t 0 to t e n d t_{\mathrm{end}} t end and using that the estimator bounds the residual from above gives
∥ y T − y T ^ ∥ L 2 ( t 0 , t e n d ) 2 ≲ ∑ T ∈ T ∖ T ^ η T ( T ) 2 + ∑ T ∈ T ^ ∖ T η T ^ ( T ) 2 . (12) \lVert y_{\mathcal{T}}-y_{\widehat{\mathcal{T}}}\rVert_{L^2(t_0,t_{\mathrm{end}})}^2\lesssim\sum_{T\in\mathcal{T}\setminus\widehat{\mathcal{T}}}\eta_{\mathcal{T}}(T)^2+\sum_{T\in\widehat{\mathcal{T}}\setminus\mathcal{T}}\eta_{\widehat{\mathcal{T}}}(T)^2. \tag*{(12)} ∥ y T − y T ∥ L 2 ( t 0 , t end ) 2 ≲ T ∈ T ∖ T ∑ η T ( T ) 2 + T ∈ T ∖ T ∑ η T ( T ) 2 . (12)
By inserting (12) into (11) one obtains
∥ ∂ t y T − ∂ t y T ^ ∥ L 2 ( t 0 , t e n d ) 2 ≲ ∑ T ∈ T ∖ T ^ η T ( T ) 2 + ∑ T ∈ T ^ ∖ T η T ^ ( T ) 2 . \lVert\partial_t y_{\mathcal T}-\partial_t y_{\widehat{\mathcal T}}\rVert_{L^2(t_0,t_{\mathrm{end}})}^2 \lesssim\sum_{T\in\mathcal T\setminus\widehat{\mathcal T}} \eta_{\mathcal T}(T)^2
+\sum_{T\in\widehat{\mathcal T}\setminus\mathcal T} \eta_{\widehat{\mathcal T}}(T)^2. ∥ ∂ t y T − ∂ t y T ∥ L 2 ( t 0 , t end ) 2 ≲ T ∈ T ∖ T ∑ η T ( T ) 2 + T ∈ T ∖ T ∑ η T ( T ) 2 .
The strong reduction estimate from Lemma 2.4 yields
∥ ∂ t y T − ∂ t y T ^ ∥ L 2 ( t 0 , t e n d ) 2 ≤ C ∑ T ∈ T ∖ T ^ η T ( T ) 2 + C C r e d ∥ h T ∥ L ∞ ( t 0 , t e n d ) 2 ∥ y T − y T ^ ∥ H 1 ( t 0 , t e n d ) 2 , \lVert\partial_t y_{\mathcal T}-\partial_t y_{\widehat{\mathcal T}}\rVert_{L^2(t_0,t_{\mathrm{end}})}^2 \le C\sum_{T\in\mathcal T\setminus\widehat{\mathcal T}} \eta_{\mathcal T}(T)^2
+CC_{\mathrm{red}}\lVert h_{\mathcal T}\rVert_{L^\infty(t_0,t_{\mathrm{end}})}^2\lVert y_{\mathcal T}-y_{\widehat{\mathcal T}}\rVert_{H^1(t_0,t_{\mathrm{end}})}^2, ∥ ∂ t y T − ∂ t y T ∥ L 2 ( t 0 , t end ) 2 ≤ C T ∈ T ∖ T ∑ η T ( T ) 2 + C C red ∥ h T ∥ L ∞ ( t 0 , t end ) 2 ∥ y T − y T ∥ H 1 ( t 0 , t end ) 2 ,
for some constant C > 1 C>1 C > 1 . Note that a Poincaré inequality and the fact that y T ( t 0 ) = y T ^ ( t 0 ) y_{\mathcal T}(t_0)=y_{\widehat{\mathcal T}}(t_0) y T ( t 0 ) = y T ( t 0 ) give the equivalence of ∥ ∂ t ( ⋅ ) ∥ L 2 ( t 0 , t e n d ) \lVert\partial_t(\cdot)\rVert_{L^2(t_0,t_{\mathrm{end}})} ∥ ∂ t ( ⋅ ) ∥ L 2 ( t 0 , t end ) and ∥ ⋅ ∥ H 1 ( t 0 , t e n d ) \lVert\cdot\rVert_{H^1(t_0,t_{\mathrm{end}})} ∥ ⋅ ∥ H 1 ( t 0 , t end ) , with constant C p C_{\mathrm p} C p . If the initial mesh is fine enough such that C r e d C p ∥ h T ∥ L ∞ ( t 0 , t e n d ) 2 < 1 C C_{\mathrm{red}}C_{\mathrm p}\lVert h_{\mathcal T}\rVert_{L^\infty(t_0,t_{\mathrm{end}})}^2<\frac{1}{C} C red C p ∥ h T ∥ L ∞ ( t 0 , t end ) 2 < C 1 , one can move the corresponding term to the left-hand side to get
∥ ∂ t y T − ∂ t y T ^ ∥ L 2 ( t 0 , t e n d ) 2 ≲ ∑ T ∈ T ∖ T ^ η T ( T ) 2 . \lVert\partial_t y_{\mathcal T}-\partial_t y_{\widehat{\mathcal T}}\rVert_{L^2(t_0,t_{\mathrm{end}})}^2 \lesssim\sum_{T\in\mathcal T\setminus\widehat{\mathcal T}} \eta_{\mathcal T}(T)^2. ∥ ∂ t y T − ∂ t y T ∥ L 2 ( t 0 , t end ) 2 ≲ T ∈ T ∖ T ∑ η T ( T ) 2 .
which concludes the proof.
Higher-order discretizations p > 1 p>1 p > 1
The explicit structure of the scheme in (2) makes it well-defined for arbitrary order p ≥ 1 p\geq1 p ≥ 1 . However, we will restrict ourselves to the case of affine right-hand sides to be able to perform a rigorous analysis. The analysis for general Lipschitz continuous right-hand sides remains an interesting open problem. In the following, we consider
F ( y ) = A y + b , F(y)=Ay+b, F ( y ) = A y + b ,
with A ∈ R d × d A\in\mathbb{R}^{d\times d} A ∈ R d × d and b ∈ R d b\in\mathbb{R}^d b ∈ R d . Our method requires an explicit lower-order time-stepping scheme, which we construct recursively. Namely, for p = 2 p=2 p = 2 , we choose I T F I_{\mathcal T}^{F} I T F as the explicit Euler scheme investigated in the previous section. This means
I T F ( z ) ( t ) = z + ( t − t i ) F ( z ) , t ∈ T = [ t i , t i + 1 ] . I_{\mathcal T}^{F}(z)(t)=z+(t-t_i)F(z),\qquad t\in T=[t_i,t_{i+1}]. I T F ( z ) ( t ) = z + ( t − t i ) F ( z ) , t ∈ T = [ t i , t i + 1 ] .
As this will lead to an explicit time-stepping scheme, we can reuse it for p = 3 p=3 p = 3 and continue recursively. For this simple right-hand side, we can give explicit expressions for the resulting schemes. We collect these in the next lemma.
Lemma 2.8. The recursive procedure to obtain higher-order explicit schemes described above yields the following approximation for p ≥ 1 p\geq1 p ≥ 1 and F ( y ) = A y + b F(y)=Ay+b F ( y ) = A y + b :
y T ( t 0 ) = y 0 , y_{\mathcal T}(t_0)=y_0, y T ( t 0 ) = y 0 , y T ( t ) = ∑ k = 1 p 1 k ! A k − 1 ( A y T ( t i ) + b ) ( t − t i ) k + y T ( t i ) , t ∈ [ t i , t i + 1 ] . (13) y_{\mathcal T}(t)=\sum_{k=1}^{p}\frac{1}{k!}A^{k-1}\bigl(Ay_{\mathcal T}(t_i)+b\bigr)(t-t_i)^k+y_{\mathcal T}(t_i),\qquad t\in[t_i,t_{i+1}]. \tag*{(13)} y T ( t ) = k = 1 ∑ p k ! 1 A k − 1 ( A y T ( t i ) + b ) ( t − t i ) k + y T ( t i ) , t ∈ [ t i , t i + 1 ] . (13) Furthermore, for T = [ t i , t i + 1 ] T=[t_i,t_{i+1}] T = [ t i , t i + 1 ] , the residual ( ∂ t y T − A y T − b ) ∣ T (\partial_t y_{\mathcal T}-Ay_{\mathcal T}-b)|_T ( ∂ t y T − A y T − b ) ∣ T has a zero of order p p p at t i t_i t i , i.e.
∂ t y T ( t ) − A y T ( t ) − b = − 1 p ! A p ( A y T ( t i ) + b ) ( t − t i ) p , t ∈ T . (14) \partial_t y_{\mathcal T}(t)-Ay_{\mathcal T}(t)-b=-\frac{1}{p!}A^p\bigl(Ay_{\mathcal T}(t_i)+b\bigr)(t-t_i)^p,\qquad t\in T. \tag*{(14)} ∂ t y T ( t ) − A y T ( t ) − b = − p ! 1 A p ( A y T ( t i ) + b ) ( t − t i ) p , t ∈ T . (14)
Proof. We will use induction on p ≥ 1 p \ge1 p ≥ 1 . The base case p = 1 p=1 p = 1 is clear by definition. Suppose the assertion is true for some p ≥ 1 p \ge1 p ≥ 1 . It holds for y T ∣ T ∈ P p + 1 ( T ) y_{\mathcal{T}}|_T \in\mathbb{P}^{p+1}(T) y T ∣ T ∈ P p + 1 ( T ) that
∫ T ( ∂ t y T − F ( I T F ( y T ( t i ) ) ) ) ⋅ v d t = 0 , v ∈ P p ( T ) \int_T \left(\partial_t y_{\mathcal{T}}-F\left(I_T^F(y_{\mathcal{T}}(t_i))\right)\right)\cdot v\,\mathrm{d}t=0,\qquad v\in\mathbb{P}^{p}(T) ∫ T ( ∂ t y T − F ( I T F ( y T ( t i )) ) ) ⋅ v d t = 0 , v ∈ P p ( T )
where I T F ( y T ( t i ) ) ( t ) = ∑ k = 1 p 1 k ! A k − 1 ( A y T ( t i ) + b ) ( t − t i ) k + y T ( t i ) I_T^F(y_{\mathcal{T}}(t_i))(t)=\sum_{k=1}^{p}\frac{1}{k!}A^{k-1}(Ay_{\mathcal{T}}(t_i)+b)(t-t_i)^k+y_{\mathcal{T}}(t_i) I T F ( y T ( t i )) ( t ) = ∑ k = 1 p k ! 1 A k − 1 ( A y T ( t i ) + b ) ( t − t i ) k + y T ( t i ) . The affine structure of F F F allows us to test with v = ∂ t y T − F ( I T F ( y T ( t i ) ) ) v=\partial_t y_{\mathcal{T}}-F\left(I_T^F(y_{\mathcal{T}}(t_i))\right) v = ∂ t y T − F ( I T F ( y T ( t i )) ) , which yields that
∂ t y T = F ( I T F ( y T ( t i ) ) ) = A ∑ k = 1 p 1 k ! A k − 1 ( A y T ( t i ) + b ) ( t − t i ) k + A y T ( t i ) + b . \partial_t y_{\mathcal{T}}=F\left(I_T^F(y_{\mathcal{T}}(t_i))\right)=A\sum_{k=1}^{p}\frac{1}{k!}A^{k-1}(Ay_{\mathcal{T}}(t_i)+b)(t-t_i)^k+Ay_{\mathcal{T}}(t_i)+b. ∂ t y T = F ( I T F ( y T ( t i )) ) = A k = 1 ∑ p k ! 1 A k − 1 ( A y T ( t i ) + b ) ( t − t i ) k + A y T ( t i ) + b .
Integrating from t i t_i t i to t ∈ [ t i , t i + 1 ] t\in[t_i,t_{i+1}] t ∈ [ t i , t i + 1 ] yields
y T ( t ) = y T ( t i ) + ∑ k = 1 p + 1 1 k ! A k − 1 ( A y T ( t i ) + b ) ( t − t i ) k , y_{\mathcal{T}}(t)=y_{\mathcal{T}}(t_i)+\sum_{k=1}^{p+1}\frac{1}{k!}A^{k-1}(Ay_{\mathcal{T}}(t_i)+b)(t-t_i)^k, y T ( t ) = y T ( t i ) + k = 1 ∑ p + 1 k ! 1 A k − 1 ( A y T ( t i ) + b ) ( t − t i ) k ,
which proves the first statement. The second statement follows from basic manipulations of (13) , concluding the proof.
This allows us to work with an explicit expression for y T y_{\mathcal{T}} y T in the following. Investigating (13) and (14) gives the following elementwise a posteriori error estimator
η T ( T ) : = ∣ T ∣ p ∥ A ∂ t p y T ∥ L 2 ( T ) ≃ ∥ R ∥ L 2 ( T ) . (15) \eta_{\mathcal{T}}(T):=|T|^p\|A\partial_t^p y_{\mathcal{T}}\|_{L^2(T)}\simeq\|R\|_{L^2(T)}. \tag*{(15)} η T ( T ) := ∣ T ∣ p ∥ A ∂ t p y T ∥ L 2 ( T ) ≃ ∥ R ∥ L 2 ( T ) . (15)
In the following we aim to reproduce the analysis of the previous section for the higher-order schemes presented here. For this, we need strong stability and reduction estimates. They are stated in the following lemmas.
Lemma 2.9. The error estimator defined in (15) satisfies strong stability in the sense that for a refinement T ^ \widehat{\mathcal{T}} T of T \mathcal{T} T it holds
∣ ( ∑ T ∈ T ∩ T ^ η T ( T ) 2 ) 1 / 2 − ( ∑ T ∈ T ∩ T ^ η T ^ ( T ) 2 ) 1 / 2 ∣ ≤ C s t a b ∥ h T ∥ L ∞ ( t 0 , t e n d ) ∥ y T − y T ^ ∥ H 1 ( t 0 , t e n d ) , \left|\left(\sum_{T\in\mathcal{T}\cap\widehat{\mathcal{T}}}\eta_{\mathcal{T}}(T)^2\right)^{1/2}-\left(\sum_{T\in\mathcal{T}\cap\widehat{\mathcal{T}}}\eta_{\widehat{\mathcal{T}}}(T)^2\right)^{1/2}\right|
\le C_{\mathrm{stab}}\|h_{\mathcal{T}}\|_{L^\infty(t_0,t_{\mathrm{end}})}\|y_{\mathcal{T}}-y_{\widehat{\mathcal{T}}}\|_{H^1(t_0,t_{\mathrm{end}})}, T ∈ T ∩ T ∑ η T ( T ) 2 1/2 − T ∈ T ∩ T ∑ η T ( T ) 2 1/2 ≤ C stab ∥ h T ∥ L ∞ ( t 0 , t end ) ∥ y T − y T ∥ H 1 ( t 0 , t end ) , where y T y_{\mathcal{T}} y T and y T ^ y_{\widehat{\mathcal{T}}} y T are discrete solutions on the respective meshes, h T ( t ) = ∣ T ∣ h_{\mathcal{T}}(t)=|T| h T ( t ) = ∣ T ∣ for t ∈ int ( T ) t\in\operatorname{int}(T) t ∈ int ( T ) is the mesh-size function and C s t a b > 1 C_{\mathrm{stab}}>1 C stab > 1 .
Proof. Triangle inequalities show
∣ ( ∑ T ∈ T ∩ T ^ η T ( T ) 2 ) 1 / 2 − ( ∑ T ∈ T ∩ T ^ η T ^ ( T ) 2 ) 1 / 2 ∣ 2 ≤ ∑ T ∈ T ∩ T ^ ∣ T ∣ 2 p ∥ A ( ∂ t p y T − ∂ t p y T ^ ) ∥ L 2 ( T ) 2 \left|\left(\sum_{T\in\mathcal{T}\cap\widehat{\mathcal{T}}}\eta_{\mathcal{T}}(T)^2\right)^{1/2}-\left(\sum_{T\in\mathcal{T}\cap\widehat{\mathcal{T}}}\eta_{\widehat{\mathcal{T}}}(T)^2\right)^{1/2}\right|^2
\le\sum_{T\in\mathcal{T}\cap\widehat{\mathcal{T}}}|T|^{2p}\|A(\partial_t^p y_{\mathcal{T}}-\partial_t^p y_{\widehat{\mathcal{T}}})\|_{L^2(T)}^2 T ∈ T ∩ T ∑ η T ( T ) 2 1/2 − T ∈ T ∩ T ∑ η T ( T ) 2 1/2 2 ≤ T ∈ T ∩ T ∑ ∣ T ∣ 2 p ∥ A ( ∂ t p y T − ∂ t p y T ) ∥ L 2 ( T ) 2
≲ ∥ A ∥ 2 ∥ h T ∥ L ∞ ( t 0 , t e n d ) 2 ∥ ∂ t y T − ∂ t y T ^ ∥ L 2 ( t 0 , t e n d ) 2 , \lesssim\|A\|^2\|h_{\mathcal{T}}\|_{L^\infty(t_0,t_{\mathrm{end}})}^2\|\partial_t y_{\mathcal{T}}-\partial_t y_{\widehat{\mathcal{T}}}\|_{L^2(t_0,t_{\mathrm{end}})}^2, ≲ ∥ A ∥ 2 ∥ h T ∥ L ∞ ( t 0 , t end ) 2 ∥ ∂ t y T − ∂ t y T ∥ L 2 ( t 0 , t end ) 2 ,
where we use an inverse inequality in the last step.
Lemma 2.10. The error estimator defined in (15) satisfies strong reduction in the sense that for a refinement T ^ \widehat{\mathcal{T}} T of T \mathcal{T} T it holds
∑ T ∈ T ^ ∖ T η T ^ ( T ) 2 ≤ q ∑ T ∈ T ∖ T ^ η T ( T ) 2 + C r e d ∥ h T ∥ L ∞ ( t 0 , t e n d ) 2 ∥ y T − y T ^ ∥ H 1 ( t 0 , t e n d ) 2 , \sum_{T\in\widehat{\mathcal{T}}\setminus\mathcal{T}} \eta_{\widehat{\mathcal{T}}}(T)^2 \le q \sum_{T\in\mathcal{T}\setminus\widehat{\mathcal{T}}} \eta_{\mathcal{T}}(T)^2 + C_{\mathrm{red}}\lVert h_{\mathcal{T}}\rVert_{L^\infty(t_0,t_{\mathrm{end}})}^2\lVert y_{\mathcal{T}}-y_{\widehat{\mathcal{T}}}\rVert_{H^1(t_0,t_{\mathrm{end}})}^2, T ∈ T ∖ T ∑ η T ( T ) 2 ≤ q T ∈ T ∖ T ∑ η T ( T ) 2 + C red ∥ h T ∥ L ∞ ( t 0 , t end ) 2 ∥ y T − y T ∥ H 1 ( t 0 , t end ) 2 , for 0 < q < 1 0<q<1 0 < q < 1 and C r e d > 1 C_{\mathrm{red}}>1 C red > 1 .
Proof. Let T ∈ T ∖ T ^ T\in\mathcal{T}\setminus\widehat{\mathcal{T}} T ∈ T ∖ T and { T ^ i } i = 1 n ⊂ T ^ ∖ T \{\widehat{T}_i\}_{i=1}^n\subset\widehat{\mathcal{T}}\setminus\mathcal{T} { T i } i = 1 n ⊂ T ∖ T such that T = ⋃ i = 1 n T ^ i T=\bigcup_{i=1}^n\widehat{T}_i T = ⋃ i = 1 n T i . It holds
∑ i = 1 n η T ^ ( T ^ i ) 2 = ∑ i = 1 n ∣ T ^ i ∣ 2 p ∥ A ∂ t p y T ^ ∥ L 2 ( T ^ i ) 2 ≤ ∣ T ∣ 2 p 4 ∥ A ∂ t p y T ∥ L 2 ( T ) 2 + C i n v ∣ T ∣ 2 4 ∥ A ∂ t y T − A ∂ t y T ^ ∥ L 2 ( T ) 2 ≤ 1 4 η T ( T ) 2 + C i n v ∥ A ∥ 2 ∣ T ∣ 2 4 ∥ ∂ t y T − ∂ t y T ^ ∥ L 2 ( T ) 2 , \begin{aligned}
\sum_{i=1}^n\eta_{\widehat{\mathcal{T}}}(\widehat{T}_i)^2=\sum_{i=1}^n|\widehat{T}_i|^{2p}\lVert A\partial_t^p y_{\widehat{\mathcal{T}}}\rVert_{L^2(\widehat{T}_i)}^2 \\
&\le\frac{|T|^{2p}}{4}\lVert A\partial_t^p y_{\mathcal{T}}\rVert_{L^2(T)}^2+C_{\mathrm{inv}}\frac{|T|^2}{4}\lVert A\partial_t y_{\mathcal{T}}-A\partial_t y_{\widehat{\mathcal{T}}}\rVert_{L^2(T)}^2 \\
&\le\frac{1}{4}\eta_{\mathcal{T}}(T)^2+C_{\mathrm{inv}}\lVert A\rVert^2\frac{|T|^2}{4}\lVert\partial_t y_{\mathcal{T}}-\partial_t y_{\widehat{\mathcal{T}}}\rVert_{L^2(T)}^2,
\end{aligned} i = 1 ∑ n η T ( T i ) 2 = i = 1 ∑ n ∣ T i ∣ 2 p ∥ A ∂ t p y T ∥ L 2 ( T i ) 2 ≤ 4 ∣ T ∣ 2 p ∥ A ∂ t p y T ∥ L 2 ( T ) 2 + C inv 4 ∣ T ∣ 2 ∥ A ∂ t y T − A ∂ t y T ∥ L 2 ( T ) 2 ≤ 4 1 η T ( T ) 2 + C inv ∥ A ∥ 2 4 ∣ T ∣ 2 ∥ ∂ t y T − ∂ t y T ∥ L 2 ( T ) 2 ,
since ∣ T ^ i ∣ ≤ 1 2 ∣ T ∣ |\widehat{T}_i|\le\frac{1}{2}|T| ∣ T i ∣ ≤ 2 1 ∣ T ∣ and by an inverse inequality in the second step. Summing over all T ∈ T ∖ T ^ T\in\mathcal{T}\setminus\widehat{\mathcal{T}} T ∈ T ∖ T yields the result.
As before, linear convergence of the estimator follows immediately from Lemmas 2.9 and 2.10 . We will state the result in the following. Note that the proof is exactly the same as in the lowest-order case, so we omit it.
Lemma 2.11. Let T 0 , T 1 , … \mathcal{T}_0,\mathcal{T}_1,\ldots T 0 , T 1 , … be meshes generated by Algorithm 2.1 with corresponding discrete solutions y 0 , y 1 , … y_0,y_1,\ldots y 0 , y 1 , … and estimators η 0 , η 1 , … \eta_0,\eta_1,\ldots η 0 , η 1 , … . Suppose the initial discretization T 0 \mathcal{T}_0 T 0 is fine enough. Furthermore, suppose that the estimator satisfies strong stability and reduction as outlined in Lemmas 2.9 and 2.10 . Then there is a 0 < κ < 1 0<\kappa<1 0 < κ < 1 such that, for all k , ℓ ∈ N k,\ell\in\mathbb{N} k , ℓ ∈ N ,
η ℓ + k 2 ≤ κ k η ℓ 2 . \eta_{\ell+k}^2\le\kappa^k\eta_\ell^2. η ℓ + k 2 ≤ κ k η ℓ 2 .
The only link missing in order to prove optimal convergence rates is the discrete reliability estimate, already mentioned above. The proof follows the same lines as the proof of Lemma 2.7 .
Lemma 2.12. Let T ^ \widehat{\mathcal{T}} T be a refinement of T \mathcal{T} T . Under the assumption of a fine enough initial mesh T 0 \mathcal{T}_0 T 0 , discrete reliability holds in the sense
∥ y T ^ − y T ∥ H 1 ( t 0 , t e n d ) 2 ≤ C d r e l 2 ∑ T ∈ T ∖ T ^ η T ( T ) 2 , \lVert y_{\widehat{\mathcal{T}}}-y_{\mathcal{T}}\rVert_{H^1(t_0,t_{\mathrm{end}})}^2\le C_{\mathrm{drel}}^2\sum_{T\in\mathcal{T}\setminus\widehat{\mathcal{T}}}\eta_{\mathcal{T}}(T)^2, ∥ y T − y T ∥ H 1 ( t 0 , t end ) 2 ≤ C drel 2 T ∈ T ∖ T ∑ η T ( T ) 2 , for corresponding discrete solutions y T ^ , y T y_{\widehat{\mathcal{T}}},y_{\mathcal{T}} y T , y T defined in (13) and C d r e l > 1 C_{\mathrm{drel}}>1 C drel > 1 .
Proof. We first consider [ t i , t i + 1 ] = T ∈ T ∩ T ^ [t_i,t_{i+1}]=T\in\mathcal{T}\cap\widehat{\mathcal{T}} [ t i , t i + 1 ] = T ∈ T ∩ T . From the definition of the numerical scheme (13) we get that
∣ ∂ t y T − ∂ t y T ^ ∣ = ∣ ∑ k = 1 p 1 ( k − 1 ) ! A k ( y T ( t i ) − y T ^ ( t i ) ) ( t − t i ) k − 1 ∣ , |\partial_t y_{\mathcal{T}}-\partial_t y_{\widehat{\mathcal{T}}}|=\left|\sum_{k=1}^{p}\frac{1}{(k-1)!}A^k(y_{\mathcal{T}}(t_i)-y_{\widehat{\mathcal{T}}}(t_i))(t-t_i)^{k-1}\right|, ∣ ∂ t y T − ∂ t y T ∣ = k = 1 ∑ p ( k − 1 )! 1 A k ( y T ( t i ) − y T ( t i )) ( t − t i ) k − 1 ,
which yields by using norm equivalence on finite-dimensional spaces followed by scaling that
∥ ∂ t y T − ∂ t y T ^ ∥ L 2 ( T ) ≲ ∥ y T − y T ^ ∥ L 2 ( T ) , \lVert\partial_t y_{\mathcal{T}}-\partial_t y_{\widehat{\mathcal{T}}}\rVert_{L^2(T)}\lesssim\lVert y_{\mathcal{T}}-y_{\widehat{\mathcal{T}}}\rVert_{L^2(T)}, ∥ ∂ t y T − ∂ t y T ∥ L 2 ( T ) ≲ ∥ y T − y T ∥ L 2 ( T ) ,
where the implied constant depends on ∥ A ∥ \lVert A\rVert ∥ A ∥ and p p p . Furthermore, we also get the estimate (7) by using similar arguments. For [ t i , t i + 1 ] = T ∈ T ∖ T ^ [t_i,t_{i+1}]=T\in\mathcal{T}\setminus\widehat{\mathcal{T}} [ t i , t i + 1 ] = T ∈ T ∖ T we get
∥ ∂ t y T − ∂ t y T ^ ∥ L 2 ( T ) 2 ≲ ∥ ∂ t y T − F ( y T ) ∥ L 2 ( T ) 2 + ∥ F ( y T ) − F ( y T ^ ) ∥ L 2 ( T ) 2 + ∥ ∂ t y T ^ − F ( y T ^ ) ∥ L 2 ( T ) 2 ≲ η T ( T ) 2 + η T ^ ( T ) 2 + ∥ y T − y T ^ ∥ L 2 ( T ) 2 . \begin{aligned}
\lVert\partial_t y_{\mathcal{T}}-\partial_t y_{\widehat{\mathcal{T}}}\rVert_{L^2(T)}^2
&\lesssim\lVert\partial_t y_{\mathcal{T}}-F(y_{\mathcal{T}})\rVert_{L^2(T)}^2+\lVert F(y_{\mathcal{T}})-F(y_{\widehat{\mathcal{T}}})\rVert_{L^2(T)}^2+\lVert\partial_t y_{\widehat{\mathcal{T}}}-F(y_{\widehat{\mathcal{T}}})\rVert_{L^2(T)}^2\\
&\lesssim\eta_{\mathcal{T}}(T)^2+\eta_{\widehat{\mathcal{T}}}(T)^2+\lVert y_{\mathcal{T}}-y_{\widehat{\mathcal{T}}}\rVert_{L^2(T)}^2.
\end{aligned} ∥ ∂ t y T − ∂ t y T ∥ L 2 ( T ) 2 ≲ ∥ ∂ t y T − F ( y T ) ∥ L 2 ( T ) 2 + ∥ F ( y T ) − F ( y T ) ∥ L 2 ( T ) 2 + ∥ ∂ t y T − F ( y T ) ∥ L 2 ( T ) 2 ≲ η T ( T ) 2 + η T ( T ) 2 + ∥ y T − y T ∥ L 2 ( T ) 2 .
Summing over all T ∈ T T\in\mathcal{T} T ∈ T using the two preceding estimates yields
∥ ∂ t y T − ∂ t y T ^ ∥ L 2 ( t 0 , t e n d ) 2 ≲ ∑ T ∈ T ∖ T ^ η T ( T ) 2 + ∑ T ∈ T ^ ∖ T η T ^ ( T ) 2 + ∥ y T − y T ^ ∥ L 2 ( t 0 , t e n d ) 2 . (16) \begin{aligned}
\lVert\partial_t y_{\mathcal{T}}-\partial_t y_{\widehat{\mathcal{T}}}\rVert_{L^2(t_0,t_{\mathrm{end}})}^2
&\lesssim\sum_{T\in\mathcal{T}\setminus\widehat{\mathcal{T}}}\eta_{\mathcal{T}}(T)^2\\
&\quad+\sum_{T\in\widehat{\mathcal{T}}\setminus\mathcal{T}}\eta_{\widehat{\mathcal{T}}}(T)^2+\lVert y_{\mathcal{T}}-y_{\widehat{\mathcal{T}}}\rVert_{L^2(t_0,t_{\mathrm{end}})}^2. \tag*{(16)}
\end{aligned} ∥ ∂ t y T − ∂ t y T ∥ L 2 ( t 0 , t end ) 2 ≲ T ∈ T ∖ T ∑ η T ( T ) 2 + T ∈ T ∖ T ∑ η T ( T ) 2 + ∥ y T − y T ∥ L 2 ( t 0 , t end ) 2 . (16)
To bound the term ∥ y T − y T ^ ∥ L 2 ( t 0 , t e n d ) 2 \lVert y_{\mathcal{T}}-y_{\widehat{\mathcal{T}}}\rVert_{L^2(t_0,t_{\mathrm{end}})}^2 ∥ y T − y T ∥ L 2 ( t 0 , t end ) 2 , we invoke Lemma 2.6 . As all the assumptions are satisfied in our setting, we get
∣ y T ^ ( t ) − y T ( t ) ∣ ≲ ∑ T ∈ T ^ ∖ T ∫ T ( ∣ R ( s ) ∣ + ∣ R ^ ( s ) ∣ ) d s . \lvert y_{\widehat{\mathcal{T}}}(t)-y_{\mathcal{T}}(t)\rvert\lesssim\sum_{T\in\widehat{\mathcal{T}}\setminus\mathcal{T}}\int_T\left(\lvert R(s)\rvert+\lvert\widehat{R}(s)\rvert\right)\,\mathrm{d}s. ∣ y T ( t ) − y T ( t )∣ ≲ T ∈ T ∖ T ∑ ∫ T ( ∣ R ( s )∣ + ∣ R ( s )∣ ) d s .
Squaring and integrating from t 0 t_0 t 0 to t e n d t_{\mathrm{end}} t end and using that the estimator bounds the residual from above gives
∥ y T − y T ^ ∥ L 2 ( t 0 , t e n d ) 2 ≲ ∑ T ∈ T ∖ T ^ η T ( T ) 2 + ∑ T ∈ T ^ ∖ T η T ^ ( T ) 2 . \lVert y_{\mathcal{T}}-y_{\widehat{\mathcal{T}}}\rVert_{L^2(t_0,t_{\mathrm{end}})}^2\lesssim\sum_{T\in\mathcal{T}\setminus\widehat{\mathcal{T}}}\eta_{\mathcal{T}}(T)^2+\sum_{T\in\widehat{\mathcal{T}}\setminus\mathcal{T}}\eta_{\widehat{\mathcal{T}}}(T)^2. ∥ y T − y T ∥ L 2 ( t 0 , t end ) 2 ≲ T ∈ T ∖ T ∑ η T ( T ) 2 + T ∈ T ∖ T ∑ η T ( T ) 2 .
Inserting this into (16) we obtain
∥ ∂ t y T − ∂ t y T ^ ∥ L 2 ( t 0 , t e n d ) 2 ≲ ∑ T ∈ T ∖ T ^ η T ( T ) 2 + ∑ T ∈ T ^ ∖ T η T ^ ( T ) 2 . \begin{aligned}
\lVert\partial_t y_{\mathcal{T}}-\partial_t y_{\widehat{\mathcal{T}}}\rVert_{L^2(t_0,t_{\mathrm{end}})}^2
&\lesssim\sum_{T\in\mathcal{T}\setminus\widehat{\mathcal{T}}}\eta_{\mathcal{T}}(T)^2\\
&\quad+\sum_{T\in\widehat{\mathcal{T}}\setminus\mathcal{T}}\eta_{\widehat{\mathcal{T}}}(T)^2.
\end{aligned} ∥ ∂ t y T − ∂ t y T ∥ L 2 ( t 0 , t end ) 2 ≲ T ∈ T ∖ T ∑ η T ( T ) 2 + T ∈ T ∖ T ∑ η T ( T ) 2 .
The strong reduction estimate from Lemma 2.10 yields
∥ ∂ t y T − ∂ t y T ^ ∥ L 2 ( t 0 , t e n d ) 2 ≤ C ∑ T ∈ T ∖ T ^ η T ( T ) 2 + C C r e d ∥ h T ∥ L ∞ ( t 0 , t e n d ) 2 ∥ y T − y T ^ ∥ H 1 ( t 0 , t e n d ) 2 , \begin{aligned}
\lVert\partial_t y_{\mathcal{T}}-\partial_t y_{\widehat{\mathcal{T}}}\rVert_{L^2(t_0,t_{\mathrm{end}})}^2
&\le C\sum_{T\in\mathcal{T}\setminus\widehat{\mathcal{T}}}\eta_{\mathcal{T}}(T)^2+C C_{\mathrm{red}}\lVert h_{\mathcal{T}}\rVert_{L^\infty(t_0,t_{\mathrm{end}})}^2\lVert y_{\mathcal{T}}-y_{\widehat{\mathcal{T}}}\rVert_{H^1(t_0,t_{\mathrm{end}})}^2,
\end{aligned} ∥ ∂ t y T − ∂ t y T ∥ L 2 ( t 0 , t end ) 2 ≤ C T ∈ T ∖ T ∑ η T ( T ) 2 + C C red ∥ h T ∥ L ∞ ( t 0 , t end ) 2 ∥ y T − y T ∥ H 1 ( t 0 , t end ) 2 ,
for a constant C > 1 C>1 C > 1 . Note that a Poincaré inequality and the fact that y T ( t 0 ) = y T ^ ( t 0 ) y_{\mathcal{T}}(t_0)=y_{\widehat{\mathcal{T}}}(t_0) y T ( t 0 ) = y T ( t 0 ) give the equivalence of ∥ ∂ t ( ⋅ ) ∥ L 2 ( t 0 , t e n d ) \lVert\partial_t(\cdot)\rVert_{L^2(t_0,t_{\mathrm{end}})} ∥ ∂ t ( ⋅ ) ∥ L 2 ( t 0 , t end ) and ∥ ⋅ ∥ H 1 ( t 0 , t e n d ) \lVert\cdot\rVert_{H^1(t_0,t_{\mathrm{end}})} ∥ ⋅ ∥ H 1 ( t 0 , t end ) with constant C p C_p C p . If the initial mesh is fine enough such that C r e d C p ∥ h T ∥ L ∞ ( t 0 , t e n d ) 2 < 1 C C_{\mathrm{red}}C_p\lVert h_{\mathcal{T}}\rVert_{L^\infty(t_0,t_{\mathrm{end}})}^2<\frac{1}{C} C red C p ∥ h T ∥ L ∞ ( t 0 , t end ) 2 < C 1 , one can move the corresponding term to the left-hand side to get
∥ ∂ t y T − ∂ t y T ^ ∥ L 2 ( t 0 , t e n d ) 2 ≲ ∑ T ∈ T ∖ T ^ η T ( T ) 2 , \lVert\partial_t y_{\mathcal{T}}-\partial_t y_{\widehat{\mathcal{T}}}\rVert_{L^2(t_0,t_{\mathrm{end}})}^2\lesssim\sum_{T\in\mathcal{T}\setminus\widehat{\mathcal{T}}}\eta_{\mathcal{T}}(T)^2, ∥ ∂ t y T − ∂ t y T ∥ L 2 ( t 0 , t end ) 2 ≲ T ∈ T ∖ T ∑ η T ( T ) 2 ,
which concludes the proof.
All the tools needed to prove Theorem 2.2 have been collected. As the analysis is similar for the lowest-order nonlinear and higher-order linear cases, we treat both cases simultaneously.
Proof of Theorem 2.2 . Let 0 < θ < 1 0 < \theta< 1 0 < θ < 1 be given. We use Lemmas 2.3 and 2.7 or Lemmas 2.9 and 2.12 , respectively, to apply [2 Proposition 4.12] . We choose T 0 \mathcal{T}_0 T 0 sufficiently fine such that θ < θ ⋆ : = ( 1 + ∥ h T 0 ∥ L ∞ ( t 0 , t e n d ) C s t a b 2 C d r e l 2 ) − 1 \theta< \theta_\star:= \left(1 + \lVert h_{\mathcal{T}_0}\rVert_{L^\infty(t_0,t_{\mathrm{end}})} C_{\mathrm{stab}}^2 C_{\mathrm{drel}}^2\right)^{-1} θ < θ ⋆ := ( 1 + ∥ h T 0 ∥ L ∞ ( t 0 , t end ) C stab 2 C drel 2 ) − 1 and such that all the lemmas are applicable. This allows us to further apply [2 Lemma 4.14] . Due to Lemma 2.5 or Lemma 2.11 we can apply [2 Proposition 4.15] with θ 0 = θ \theta_0 = \theta θ 0 = θ which yields the result and concludes the proof.
A posteriori error control for the W1,-error
In this section, we discuss how the estimators obtained above can also be used to control the error in the W 1 , ∞ W^{1,\infty} W 1 , ∞ -norm. The discussion is similar to the previous one. We nevertheless point out the major differences that occur in the analysis and the algorithm. Lemma 2.1 already shows that the L ∞ L^\infty L ∞ -norm of the residual provides an upper bound for ∥ y − y T ∥ W 1 , ∞ ( t 0 , t e n d ) \lVert y-y_{\mathcal{T}}\rVert_{W^{1,\infty}(t_0,t_{\mathrm{end}})} ∥ y − y T ∥ W 1 , ∞ ( t 0 , t end ) . The different norms naturally give rise to residual-based elementwise error estimators of the form
η T ∞ = max T ∈ T η T ∞ ( T ) , \eta_{\mathcal{T}}^\infty= \max_{T \in\mathcal{T}} \eta_{\mathcal{T}}^\infty(T), η T ∞ = T ∈ T max η T ∞ ( T ) ,
which lead to an adaptive algorithm using the maximum strategy for refinement in place of Dörfler marking.
Algorithm 3.1 Adaptive Algorithm 2
Input: Initial mesh T 0 \mathcal{T}_0 T 0 , parameter 0 < θ < 1 0 < \theta< 1 0 < θ < 1 .
for ℓ = 0 , 1 , 2 , … \ell= 0,1,2,\ldots ℓ = 0 , 1 , 2 , … do:
Compute y T ℓ y_{\mathcal{T}_\ell} y T ℓ from (2) .
Compute error estimates η T ℓ ∞ ( T ) \eta_{\mathcal{T}_\ell}^\infty(T) η T ℓ ∞ ( T ) for all T ∈ T ℓ T \in\mathcal{T}_\ell T ∈ T ℓ .
if η T ℓ ∞ = 0 \eta_{\mathcal{T}_\ell}^\infty= 0 η T ℓ ∞ = 0 then
break.
end if
Mark all T ∈ T ℓ T \in\mathcal{T}_\ell T ∈ T ℓ for refinement that satisfy
η T ℓ ∞ ( T ) ≥ ( 1 − θ ) η T ℓ ∞ . \eta_{\mathcal{T}_\ell}^\infty(T) \ge(1-\theta)\eta_{\mathcal{T}_\ell}^\infty. η T ℓ ∞ ( T ) ≥ ( 1 − θ ) η T ℓ ∞ . Bisect all marked elements to obtain a new mesh T ℓ + 1 \mathcal{T}_{\ell+1} T ℓ + 1 .
end for
Theorem 3.1. Assume the setting of § 3.1 or 3.2. Let 0 < θ < 1 0 < \theta< 1 0 < θ < 1 be arbitrary but given. Suppose the initial discretization T 0 \mathcal{T}_0 T 0 is fine enough. Let s > 0 s > 0 s > 0 be such that
C b e s t : = sup N ∈ N # T − # T 0 ≤ N inf T ∈ T ( N + 1 ) s η T ∞ < ∞ . C_{\mathrm{best}} := \sup_{\substack{N \in\mathbb{N}\\ \#\mathcal{T}-\#\mathcal{T}_0 \le N}} \inf_{\mathcal{T} \in\mathbb{T}} (N+1)^s\eta_{\mathcal{T}}^\infty< \infty. C best := N ∈ N # T − # T 0 ≤ N sup T ∈ T inf ( N + 1 ) s η T ∞ < ∞. The sequence of meshes T ℓ \mathcal{T}_\ell T ℓ obtained from Algorithm 3.1 satisfies quasi-optimal convergence rates in the sense
sup ℓ ∈ N η T ℓ ∞ ( # T ℓ − # T 0 + 1 ) s ≤ C o p t C b e s t . (17) \sup_{\ell\in\mathbb{N}} \eta_{\mathcal{T}_\ell}^\infty(\#\mathcal{T}_\ell-\#\mathcal{T}_0+1)^s \le C_{\mathrm{opt}}C_{\mathrm{best}}. \tag*{(17)} ℓ ∈ N sup η T ℓ ∞ ( # T ℓ − # T 0 + 1 ) s ≤ C opt C best . (17)
Lowest-order discretization p = 1 p=1 p = 1
The approximation scheme for p = 1 p=1 p = 1 remains unchanged, i.e., the explicit Euler method is used. The previous discussion allows us to derive an error estimator that fits in this maximum setting. It holds for every T ∈ T T\in\mathcal{T} T ∈ T that
η T ∞ ( T ) : = L ∣ T ∣ ∥ ∂ t y T ∥ L ∞ ( T ) = L ∣ T ∣ ∣ F ( y T ( t i ) ) ∣ ≥ ∥ R ∥ L ∞ ( T ) . (18) \eta_T^\infty(T):=L|T|\|\partial_t y_T\|_{L^\infty(T)}=L|T||F(y_T(t_i))|\geq\|R\|_{L^\infty(T)}. \tag*{(18)} η T ∞ ( T ) := L ∣ T ∣∥ ∂ t y T ∥ L ∞ ( T ) = L ∣ T ∣∣ F ( y T ( t i )) ∣ ≥ ∥ R ∥ L ∞ ( T ) . (18)
The strong stability and reduction estimates follow immediately from the same strategy as in the previous section. As they have a slightly different structure, we state them in a unified manner in the following.
Lemma 3.2. The error estimator defined in (18) satisfies strong stability and reduction, in the sense that for a refinement T ^ \widehat{\mathcal{T}} T of T \mathcal{T} T it holds that
∣ max T ∈ T ∩ T ^ η T ∞ ( T ) − max T ∈ T ∩ T ^ η T ^ ∞ ( T ) ∣ ≤ C s t a b ∥ h T ∥ L ∞ ( t 0 , t e n d ) ∥ y T − y T ^ ∥ W 1 , ∞ ( t 0 , t e n d ) , \left|\max_{T\in\mathcal{T}\cap\widehat{\mathcal{T}}}\eta_T^\infty(T)-\max_{T\in\mathcal{T}\cap\widehat{\mathcal{T}}}\eta_{\widehat{T}}^\infty(T)\right|
\leq C_{\mathrm{stab}}\|h_{\mathcal{T}}\|_{L^\infty(t_0,t_{\mathrm{end}})}\|y_{\mathcal{T}}-y_{\widehat{\mathcal{T}}}\|_{W^{1,\infty}(t_0,t_{\mathrm{end}})}, T ∈ T ∩ T max η T ∞ ( T ) − T ∈ T ∩ T max η T ∞ ( T ) ≤ C stab ∥ h T ∥ L ∞ ( t 0 , t end ) ∥ y T − y T ∥ W 1 , ∞ ( t 0 , t end ) , and
max T ∈ T ^ ∖ T η T ^ ∞ ( T ) ≤ q max T ∈ T ∖ T ^ η T ∞ ( T ) + C r e d ∥ h T ∥ L ∞ ( t 0 , t e n d ) ∥ y T − y T ^ ∥ W 1 , ∞ ( t 0 , t e n d ) , \max_{T\in\widehat{\mathcal{T}}\setminus\mathcal{T}}\eta_{\widehat{T}}^\infty(T)
\leq q\max_{T\in\mathcal{T}\setminus\widehat{\mathcal{T}}}\eta_T^\infty(T)
+C_{\mathrm{red}}\|h_{\mathcal{T}}\|_{L^\infty(t_0,t_{\mathrm{end}})}\|y_{\mathcal{T}}-y_{\widehat{\mathcal{T}}}\|_{W^{1,\infty}(t_0,t_{\mathrm{end}})}, T ∈ T ∖ T max η T ∞ ( T ) ≤ q T ∈ T ∖ T max η T ∞ ( T ) + C red ∥ h T ∥ L ∞ ( t 0 , t end ) ∥ y T − y T ∥ W 1 , ∞ ( t 0 , t end ) , where $0<q<1a n d and an d C_{\mathrm{red}},C_{\mathrm{stab}}>1.
Linear convergence can be obtained from Lemma 3.2 as before and is stated in the next lemma.
Lemma 3.3. Let T 0 , T 1 , … \mathcal{T}_0,\mathcal{T}_1,\ldots T 0 , T 1 , … be meshes generated by Algorithm 3.1 with corresponding discrete solutions y 0 , y 1 , … y_0,y_1,\ldots y 0 , y 1 , … and estimators η 0 ∞ , η 1 ∞ , … \eta_0^\infty,\eta_1^\infty,\ldots η 0 ∞ , η 1 ∞ , … . Suppose the initial discretization T 0 \mathcal{T}_0 T 0 is fine enough. Furthermore, suppose that the estimator satisfies strong stability and reduction as outlined in Lemma 3.2. Then there is a 0 < κ < 1 0<\kappa<1 0 < κ < 1 such that, for all k , ℓ ∈ N k,\ell\in\mathbb{N} k , ℓ ∈ N ,
η ℓ + k ∞ ≤ κ k η ℓ ∞ . \eta_{\ell+k}^\infty\leq\kappa^k\eta_\ell^\infty. η ℓ + k ∞ ≤ κ k η ℓ ∞ .
Proof. Let ℓ ∈ N \ell\in\mathbb{N} ℓ ∈ N . By using stability and reduction, i.e., Lemma 3.2, we obtain
η ℓ + 1 ∞ = max { max T ∈ T ℓ + 1 ∖ T ℓ η ℓ + 1 ∞ ( T ) , max T ∈ T ℓ + 1 ∩ T ℓ η ℓ + 1 ∞ ( T ) } ≤ max { q max T ∈ T ℓ ∖ T ℓ + 1 η ℓ ∞ ( T ) , max T ∈ T ℓ + 1 ∩ T ℓ η ℓ ∞ ( T ) } + C e s t ∥ h T ℓ ∥ L ∞ ( t 0 , t e n d ) ∥ y ℓ − y ℓ + 1 ∥ W 1 , ∞ ( t 0 , t e n d ) \begin{aligned}
\eta_{\ell+1}^\infty=\max\left\{\max_{T\in\mathcal{T}_{\ell+1}\setminus\mathcal{T}_{\ell}}\eta_{\ell+1}^\infty(T),\max_{T\in\mathcal{T}_{\ell+1}\cap\mathcal{T}_{\ell}}\eta_{\ell+1}^\infty(T)\right\} \\
&\leq\max\left\{q\max_{T\in\mathcal{T}_{\ell}\setminus\mathcal{T}_{\ell+1}}\eta_{\ell}^\infty(T),\max_{T\in\mathcal{T}_{\ell+1}\cap\mathcal{T}_{\ell}}\eta_{\ell}^\infty(T)\right\}
+C_{\mathrm{est}}\|h_{\mathcal{T}_{\ell}}\|_{L^\infty(t_0,t_{\mathrm{end}})}\|y_{\ell}-y_{\ell+1}\|_{W^{1,\infty}(t_0,t_{\mathrm{end}})}
\end{aligned} η ℓ + 1 ∞ = max { T ∈ T ℓ + 1 ∖ T ℓ max η ℓ + 1 ∞ ( T ) , T ∈ T ℓ + 1 ∩ T ℓ max η ℓ + 1 ∞ ( T ) } ≤ max { q T ∈ T ℓ ∖ T ℓ + 1 max η ℓ ∞ ( T ) , T ∈ T ℓ + 1 ∩ T ℓ max η ℓ ∞ ( T ) } + C est ∥ h T ℓ ∥ L ∞ ( t 0 , t end ) ∥ y ℓ − y ℓ + 1 ∥ W 1 , ∞ ( t 0 , t end )
with C e s t = max { C r e d , C s t a b } C_{\mathrm{est}}=\max\{C_{\mathrm{red}},C_{\mathrm{stab}}\} C est = max { C red , C stab } . Using the marking strategy with θ ∈ ( 0 , 1 ) \theta\in(0,1) θ ∈ ( 0 , 1 ) yields
η ℓ + 1 ∞ ≤ max { q , 1 − θ } η ℓ ∞ + C e s t ∥ h T ℓ ∥ L ∞ ( t 0 , t e n d ) ∥ y ℓ − y ℓ + 1 ∥ W 1 , ∞ ( t 0 , t e n d ) . \eta_{\ell+1}^\infty\leq\max\{q,1-\theta\}\eta_{\ell}^\infty+C_{\mathrm{est}}\|h_{\mathcal{T}_{\ell}}\|_{L^\infty(t_0,t_{\mathrm{end}})}\|y_{\ell}-y_{\ell+1}\|_{W^{1,\infty}(t_0,t_{\mathrm{end}})}. η ℓ + 1 ∞ ≤ max { q , 1 − θ } η ℓ ∞ + C est ∥ h T ℓ ∥ L ∞ ( t 0 , t end ) ∥ y ℓ − y ℓ + 1 ∥ W 1 , ∞ ( t 0 , t end ) .
We have that q r e d : = max { q , 1 − θ } < 1 q_{\mathrm{red}}:=\max\{q,1-\theta\}<1 q red := max { q , 1 − θ } < 1 . Since we have the reliability estimate
∥ y ℓ − y ℓ + 1 ∥ W 1 , ∞ ( t 0 , t e n d ) ≤ C r e l ( η ℓ ∞ + η ℓ + 1 ∞ ) , \|y_{\ell}-y_{\ell+1}\|_{W^{1,\infty}(t_0,t_{\mathrm{end}})}
\leq C_{\mathrm{rel}}\left(\eta_{\ell}^\infty+\eta_{\ell+1}^\infty\right), ∥ y ℓ − y ℓ + 1 ∥ W 1 , ∞ ( t 0 , t end ) ≤ C rel ( η ℓ ∞ + η ℓ + 1 ∞ ) ,
we get for C = C r e l C e s t C=C_{\mathrm{rel}}C_{\mathrm{est}} C = C rel C est that
η ℓ + 1 ∞ ( 1 − C ∥ h T ℓ ∥ L ∞ ( t 0 , t e n d ) ) ≤ η ℓ ∞ ( q r e d + C ∥ h T ℓ ∥ L ∞ ( t 0 , t e n d ) ) . \eta_{\ell+1}^\infty\left(1-C\|h_{\mathcal{T}_{\ell}}\|_{L^\infty(t_0,t_{\mathrm{end}})}\right)
\leq\eta_{\ell}^\infty\left(q_{\mathrm{red}}+C\|h_{\mathcal{T}_{\ell}}\|_{L^\infty(t_0,t_{\mathrm{end}})}\right). η ℓ + 1 ∞ ( 1 − C ∥ h T ℓ ∥ L ∞ ( t 0 , t end ) ) ≤ η ℓ ∞ ( q red + C ∥ h T ℓ ∥ L ∞ ( t 0 , t end ) ) .
which yields under the assumption of a fine initial mesh such that C ∥ h T ℓ ∥ L ∞ ( t 0 , t e n d ) ≤ C ∥ h T 0 ∥ L ∞ ( t 0 , t e n d ) < 1 C\lVert h_{\mathcal{T}_\ell}\rVert_{L^\infty(t_0,t_{\mathrm{end}})} \le C\lVert h_{\mathcal{T}_0}\rVert_{L^\infty(t_0,t_{\mathrm{end}})} < 1 C ∥ h T ℓ ∥ L ∞ ( t 0 , t end ) ≤ C ∥ h T 0 ∥ L ∞ ( t 0 , t end ) < 1 that
η ℓ + 1 ∞ ≤ q r e d + C ∥ h T 0 ∥ L ∞ ( t 0 , t e n d ) 1 − C ∥ h T 0 ∥ L ∞ ( t 0 , t e n d ) η ℓ ∞ . \eta_{\ell+1}^{\infty} \le\frac{q_{\mathrm{red}} + C\lVert h_{\mathcal{T}_0}\rVert_{L^\infty(t_0,t_{\mathrm{end}})}}{1-C\lVert h_{\mathcal{T}_0}\rVert_{L^\infty(t_0,t_{\mathrm{end}})}}\eta_\ell^{\infty}. η ℓ + 1 ∞ ≤ 1 − C ∥ h T 0 ∥ L ∞ ( t 0 , t end ) q red + C ∥ h T 0 ∥ L ∞ ( t 0 , t end ) η ℓ ∞ .
Choosing an even finer initial discretization T 0 \mathcal{T}_0 T 0 such that
κ : = q r e d + C ∥ h T 0 ∥ L ∞ ( t 0 , t e n d ) 1 − C ∥ h T 0 ∥ L ∞ ( t 0 , t e n d ) < 1 , \kappa:= \frac{q_{\mathrm{red}} + C\lVert h_{\mathcal{T}_0}\rVert_{L^\infty(t_0,t_{\mathrm{end}})}}{1-C\lVert h_{\mathcal{T}_0}\rVert_{L^\infty(t_0,t_{\mathrm{end}})}} < 1, κ := 1 − C ∥ h T 0 ∥ L ∞ ( t 0 , t end ) q red + C ∥ h T 0 ∥ L ∞ ( t 0 , t end ) < 1 ,
concludes the proof.
The discrete reliability estimate can be derived in a manner similar to that in the preceding section by using Lemma 2.6 and the strong reduction estimate.
Lemma 3.4. Let T ^ \widehat{\mathcal{T}} T be a refinement of T \mathcal{T} T . Under the assumption of a fine enough initial mesh T 0 \mathcal{T}_0 T 0 , discrete reliability holds in the sense
∥ y T ^ − y T ∥ W 1 , ∞ ( t 0 , t e n d ) ≤ C d r e l max T ∈ T ∖ T ^ η T ^ ∞ ( T ) , \lVert y_{\widehat{\mathcal{T}}}-y_{\mathcal{T}}\rVert_{W^{1,\infty}(t_0,t_{\mathrm{end}})} \le C_{\mathrm{drel}}\max_{T\in\mathcal{T}\setminus\widehat{\mathcal{T}}}\eta_{\widehat{\mathcal{T}}}^{\infty}(T), ∥ y T − y T ∥ W 1 , ∞ ( t 0 , t end ) ≤ C drel T ∈ T ∖ T max η T ∞ ( T ) , for corresponding discrete solutions y T ^ , y T y_{\widehat{\mathcal{T}}},y_{\mathcal{T}} y T , y T defined in (4) and C d r e l > 1 C_{\mathrm{drel}}>1 C drel > 1 .
Proof. We first consider [ t i , t i + 1 ] = T ∈ T ∩ T ^ [t_i,t_{i+1}]=T\in\mathcal{T}\cap\widehat{\mathcal{T}} [ t i , t i + 1 ] = T ∈ T ∩ T . From the definition of the numerical scheme (4) we get that
∣ ∂ t y T − ∂ t y T ^ ∣ = ∣ F ( y T ( t i ) ) − F ( y T ^ ( t i ) ) ∣ . \lvert\partial_t y_{\mathcal{T}}-\partial_t y_{\widehat{\mathcal{T}}}\rvert= \lvert F(y_{\mathcal{T}}(t_i))-F(y_{\widehat{\mathcal{T}}}(t_i))\rvert. ∣ ∂ t y T − ∂ t y T ∣ = ∣ F ( y T ( t i )) − F ( y T ( t i ))∣ .
which yields by using the Lipschitz condition on F F F that
∥ ∂ t y T − ∂ t y T ^ ∥ L ∞ ( T ) ≲ ∥ y T − y T ^ ∥ L ∞ ( T ) . \lVert\partial_t y_{\mathcal{T}}-\partial_t y_{\widehat{\mathcal{T}}}\rVert_{L^\infty(T)} \lesssim\lVert y_{\mathcal{T}}-y_{\widehat{\mathcal{T}}}\rVert_{L^\infty(T)}. ∥ ∂ t y T − ∂ t y T ∥ L ∞ ( T ) ≲ ∥ y T − y T ∥ L ∞ ( T ) .
Furthermore, we also get the estimate (7) by using similar arguments. For [ t i , t i + 1 ] = T ∈ T ∖ T ^ [t_i,t_{i+1}]=T\in\mathcal{T}\setminus\widehat{\mathcal{T}} [ t i , t i + 1 ] = T ∈ T ∖ T we get
∥ ∂ t y T − ∂ t y T ^ ∥ L ∞ ( T ) ≤ ∥ ∂ t y T − F ( y T ) ∥ L ∞ ( T ) + ∥ F ( y T ) − F ( y T ^ ) ∥ L ∞ ( T ) + ∥ ∂ t y T ^ − F ( y T ^ ) ∥ L ∞ ( T ) ≲ η T ∞ ( T ) + η T ^ ∞ ( T ) + ∥ y T − y T ^ ∥ L ∞ ( T ) , \begin{aligned}
\lVert\partial_t y_{\mathcal{T}}-\partial_t y_{\widehat{\mathcal{T}}}\rVert_{L^\infty(T)}
&\le\lVert\partial_t y_{\mathcal{T}}-F(y_{\mathcal{T}})\rVert_{L^\infty(T)}+\lVert F(y_{\mathcal{T}})-F(y_{\widehat{\mathcal{T}}})\rVert_{L^\infty(T)}+\lVert\partial_t y_{\widehat{\mathcal{T}}}-F(y_{\widehat{\mathcal{T}}})\rVert_{L^\infty(T)}\\
&\lesssim\eta_{\mathcal{T}}^\infty(T)+\eta_{\widehat{\mathcal{T}}}^\infty(T)+\lVert y_{\mathcal{T}}-y_{\widehat{\mathcal{T}}}\rVert_{L^\infty(T)},
\end{aligned} ∥ ∂ t y T − ∂ t y T ∥ L ∞ ( T ) ≤ ∥ ∂ t y T − F ( y T ) ∥ L ∞ ( T ) + ∥ F ( y T ) − F ( y T ) ∥ L ∞ ( T ) + ∥ ∂ t y T − F ( y T ) ∥ L ∞ ( T ) ≲ η T ∞ ( T ) + η T ∞ ( T ) + ∥ y T − y T ∥ L ∞ ( T ) ,
where η T ^ ∞ ( T ) = max T ^ ⊂ T η T ^ ∞ ( T ^ ) \eta_{\widehat{\mathcal{T}}}^\infty(T)=\max_{\widehat{T}\subset T}\eta_{\widehat{\mathcal{T}}}^\infty(\widehat{T}) η T ∞ ( T ) = max T ⊂ T η T ∞ ( T ) . Maximizing over all T ∈ T T\in\mathcal{T} T ∈ T using the two preceding estimates yields
∥ ∂ t y T − ∂ t y T ^ ∥ L ∞ ( t 0 , t e n d ) ≲ max T ∈ T ∖ T ^ η T ∞ ( T ) + max T ∈ T ^ ∖ T η T ^ ∞ ( T ) + ∥ y T − y T ^ ∥ L ∞ ( t 0 , t e n d ) . (19) \lVert\partial_t y_{\mathcal{T}}-\partial_t y_{\widehat{\mathcal{T}}}\rVert_{L^\infty(t_0,t_{\mathrm{end}})}
\lesssim\max_{T\in\mathcal{T}\setminus\widehat{\mathcal{T}}}\eta_{\mathcal{T}}^\infty(T)
+\max_{T\in\widehat{\mathcal{T}}\setminus\mathcal{T}}\eta_{\widehat{\mathcal{T}}}^\infty(T)
+\lVert y_{\mathcal{T}}-y_{\widehat{\mathcal{T}}}\rVert_{L^\infty(t_0,t_{\mathrm{end}})}. \tag*{(19)} ∥ ∂ t y T − ∂ t y T ∥ L ∞ ( t 0 , t end ) ≲ T ∈ T ∖ T max η T ∞ ( T ) + T ∈ T ∖ T max η T ∞ ( T ) + ∥ y T − y T ∥ L ∞ ( t 0 , t end ) . (19)
To estimate the L ∞ ( t 0 , t e n d ) L^\infty(t_0,t_{\mathrm{end}}) L ∞ ( t 0 , t end ) norm of y T − y T ^ y_{\mathcal{T}}-y_{\widehat{\mathcal{T}}} y T − y T we invoke Lemma 2.6 . As all the assumptions are satisfied in our setting, we get
∣ y T ^ ( t ) − y T ( t ) ∣ ≲ ∑ T ∈ T ^ ∖ T ∫ T ( ∣ R ( s ) ∣ + ∣ R ^ ( s ) ∣ ) d s . \lvert y_{\widehat{\mathcal{T}}}(t)-y_{\mathcal{T}}(t)\rvert\lesssim\sum_{T\in\widehat{\mathcal{T}}\setminus\mathcal{T}}\int_T\left(\lvert R(s)\rvert+\lvert\widehat{R}(s)\rvert\right)\,\mathrm{d}s. ∣ y T ( t ) − y T ( t )∣ ≲ T ∈ T ∖ T ∑ ∫ T ( ∣ R ( s )∣ + ∣ R ( s )∣ ) d s .
Taking the supremum over the domain and using that the estimator bounds the residual from above gives
∥ y T − y T ^ ∥ L ∞ ( t 0 , t e n d ) ≲ max T ∈ T ∖ T ^ η T ∞ ( T ) + max T ∈ T ^ ∖ T η T ^ ∞ ( T ) . \lVert y_{\mathcal T}-y_{\widehat{\mathcal T}}\rVert_{L^\infty(t_0,t_{\mathrm{end}})}
\lesssim
\max_{T\in\mathcal T\setminus\widehat{\mathcal T}}\eta_{\mathcal T}^{\infty}(T)
+
\max_{T\in\widehat{\mathcal T}\setminus\mathcal T}\eta_{\widehat{\mathcal T}}^{\infty}(T). ∥ y T − y T ∥ L ∞ ( t 0 , t end ) ≲ T ∈ T ∖ T max η T ∞ ( T ) + T ∈ T ∖ T max η T ∞ ( T ) .
Inserting this into (19) we obtain
∥ ∂ t y T − ∂ t y T ^ ∥ L ∞ ( t 0 , t e n d ) ≲ max T ∈ T ∖ T ^ η T ∞ ( T ) + max T ∈ T ^ ∖ T η T ^ ∞ ( T ) . \lVert\partial_t y_{\mathcal T}-\partial_t y_{\widehat{\mathcal T}}\rVert_{L^\infty(t_0,t_{\mathrm{end}})}
\lesssim
\max_{T\in\mathcal T\setminus\widehat{\mathcal T}}\eta_{\mathcal T}^{\infty}(T)
+
\max_{T\in\widehat{\mathcal T}\setminus\mathcal T}\eta_{\widehat{\mathcal T}}^{\infty}(T). ∥ ∂ t y T − ∂ t y T ∥ L ∞ ( t 0 , t end ) ≲ T ∈ T ∖ T max η T ∞ ( T ) + T ∈ T ∖ T max η T ∞ ( T ) .
The strong reduction estimate from Lemma 3.2 yields
∥ ∂ t y T − ∂ t y T ^ ∥ L ∞ ( t 0 , t e n d ) ≤ C max T ∈ T ∖ T ^ η T ∞ ( T ) + C r e d ∥ h T ∥ L ∞ ( t 0 , t e n d ) ∥ y T − y T ^ ∥ W 1 , ∞ ( t 0 , t e n d ) , \lVert\partial_t y_{\mathcal T}-\partial_t y_{\widehat{\mathcal T}}\rVert_{L^\infty(t_0,t_{\mathrm{end}})}
\le C\max_{T\in\mathcal T\setminus\widehat{\mathcal T}}\eta_{\mathcal T}^{\infty}(T)
+C_{\mathrm{red}}\lVert h_{\mathcal T}\rVert_{L^\infty(t_0,t_{\mathrm{end}})}
\lVert y_{\mathcal T}-y_{\widehat{\mathcal T}}\rVert_{W^{1,\infty}(t_0,t_{\mathrm{end}})}, ∥ ∂ t y T − ∂ t y T ∥ L ∞ ( t 0 , t end ) ≤ C T ∈ T ∖ T max η T ∞ ( T ) + C red ∥ h T ∥ L ∞ ( t 0 , t end ) ∥ y T − y T ∥ W 1 , ∞ ( t 0 , t end ) ,
for C > 1 C>1 C > 1 . Note that a Poincaré inequality and the fact that y T ( t 0 ) = y T ^ ( t 0 ) y_{\mathcal T}(t_0)=y_{\widehat{\mathcal T}}(t_0) y T ( t 0 ) = y T ( t 0 ) give the equivalence of ∥ ∂ t ( ⋅ ) ∥ L ∞ ( t 0 , t e n d ) \lVert\partial_t(\cdot)\rVert_{L^\infty(t_0,t_{\mathrm{end}})} ∥ ∂ t ( ⋅ ) ∥ L ∞ ( t 0 , t end ) and ∥ ⋅ ∥ W 1 , ∞ ( t 0 , t e n d ) \lVert\cdot\rVert_{W^{1,\infty}(t_0,t_{\mathrm{end}})} ∥ ⋅ ∥ W 1 , ∞ ( t 0 , t end ) , with constant C p C_{\mathrm p} C p . If the initial mesh is fine enough such that C r e d C p ∥ h T ∥ L ∞ ( t 0 , t e n d ) < 1 C C_{\mathrm{red}}C_{\mathrm p}\lVert h_{\mathcal T}\rVert_{L^\infty(t_0,t_{\mathrm{end}})}<\frac{1}{C} C red C p ∥ h T ∥ L ∞ ( t 0 , t end ) < C 1 , one can move the corresponding term to the left-hand side to get
∥ y T − y T ^ ∥ W 1 , ∞ ( t 0 , t e n d ) ≲ max T ∈ T ∖ T ^ η T ∞ ( T ) . \lVert y_{\mathcal T}-y_{\widehat{\mathcal T}}\rVert_{W^{1,\infty}(t_0,t_{\mathrm{end}})}
\lesssim
\max_{T\in\mathcal T\setminus\widehat{\mathcal T}}\eta_{\mathcal T}^{\infty}(T). ∥ y T − y T ∥ W 1 , ∞ ( t 0 , t end ) ≲ T ∈ T ∖ T max η T ∞ ( T ) .
which concludes the proof.
Higher-order discretizations p > 1 p>1 p > 1
The W 1 , ∞ W^{1,\infty} W 1 , ∞ analysis of the lowest-order case carries over to the higher-order scheme (13) with affine right-hand side F ( y ) = A y + b F(y)=Ay+b F ( y ) = A y + b with only minor modifications. Therefore, we just state the results needed to prove optimal convergence rates as laid out in Theorem 3.1 . We start with the definition of the error estimator and recall the approximation y T y_{\mathcal T} y T
y T ( t ) = ∑ k = 1 p 1 k ! A k − 1 ( A y T ( t i ) + b ) ( t − t i ) k + y T ( t i ) , t ∈ T (20) y_{\mathcal T}(t)=\sum_{k=1}^{p}\frac{1}{k!}A^{k-1}(Ay_{\mathcal T}(t_i)+b)(t-t_i)^k+y_{\mathcal T}(t_i),\qquad t\in T \tag*{(20)} y T ( t ) = k = 1 ∑ p k ! 1 A k − 1 ( A y T ( t i ) + b ) ( t − t i ) k + y T ( t i ) , t ∈ T (20)
η T ∞ ( T ) : = ∣ T ∣ p ∥ A ∂ t p y T ∥ L ∞ ( T ) ≃ ∥ R ∥ L ∞ ( T ) (21) \eta_{\mathcal T}^{\infty}(T):=\lvert T\rvert^{p}\lVert A\partial_t^p y_{\mathcal T}\rVert_{L^\infty(T)}\simeq\lVert R\rVert_{L^\infty(T)} \tag*{(21)} η T ∞ ( T ) := ∣ T ∣ p ∥ A ∂ t p y T ∥ L ∞ ( T ) ≃ ∥ R ∥ L ∞ ( T ) (21)
Lemma 3.5. The error estimator defined in (21) satisfies strong stability and reduction, in the sense that for a refinement T ^ \widehat{\mathcal T} T of T \mathcal T T it holds that
∣ max T ∈ T ∩ T ^ η T ∞ ( T ) − max T ∈ T ∩ T ^ η T ^ ∞ ( T ) ∣ ≤ C s t a b ∥ h T ∥ L ∞ ( t 0 , t e n d ) ∥ y T − y T ^ ∥ W 1 , ∞ ( t 0 , t e n d ) , \left|
\max_{T\in\mathcal T\cap\widehat{\mathcal T}}\eta_{\mathcal T}^{\infty}(T)
-
\max_{T\in\mathcal T\cap\widehat{\mathcal T}}\eta_{\widehat{\mathcal T}}^{\infty}(T)
\right|
\le C_{\mathrm{stab}}\lVert h_{\mathcal T}\rVert_{L^\infty(t_0,t_{\mathrm{end}})}
\lVert y_{\mathcal T}-y_{\widehat{\mathcal T}}\rVert_{W^{1,\infty}(t_0,t_{\mathrm{end}})}, T ∈ T ∩ T max η T ∞ ( T ) − T ∈ T ∩ T max η T ∞ ( T ) ≤ C stab ∥ h T ∥ L ∞ ( t 0 , t end ) ∥ y T − y T ∥ W 1 , ∞ ( t 0 , t end ) , and
max T ∈ T ^ ∖ T η T ^ ∞ ( T ) ≤ q max T ∈ T ∖ T ^ η T ∞ ( T ) + C r e d ∥ h T ∥ L ∞ ( t 0 , t e n d ) ∥ y T − y T ^ ∥ W 1 , ∞ ( t 0 , t e n d ) , \max_{T\in\widehat{\mathcal T}\setminus\mathcal T}\eta_{\widehat{\mathcal T}}^{\infty}(T)
\le q\max_{T\in\mathcal T\setminus\widehat{\mathcal T}}\eta_{\mathcal T}^{\infty}(T)
+C_{\mathrm{red}}\lVert h_{\mathcal T}\rVert_{L^\infty(t_0,t_{\mathrm{end}})}
\lVert y_{\mathcal T}-y_{\widehat{\mathcal T}}\rVert_{W^{1,\infty}(t_0,t_{\mathrm{end}})}, T ∈ T ∖ T max η T ∞ ( T ) ≤ q T ∈ T ∖ T max η T ∞ ( T ) + C red ∥ h T ∥ L ∞ ( t 0 , t end ) ∥ y T − y T ∥ W 1 , ∞ ( t 0 , t end ) ,
where 0 < q < 1 0<q<1 0 < q < 1 and C r e d , C s t a b > 1 C_{\mathrm{red}},C_{\mathrm{stab}}>1 C red , C stab > 1 . Assume additionally that the initial discretization T 0 \mathcal{T}_0 T 0 is fine enough. Let T ^ \widehat{\mathcal{T}} T be a refinement of T \mathcal{T} T . Discrete reliability holds in the sense
∥ y T ^ − y T ∥ W 1 , ∞ ( t 0 , t e n d ) ≤ C d r e l max T ∈ T ∖ T ^ η T ^ ∞ ( T ) . \|y_{\widehat{\mathcal{T}}}-y_{\mathcal{T}}\|_{W^{1,\infty}(t_0,t_{\mathrm{end}})}\leq C_{\mathrm{drel}}\max_{T\in\mathcal{T}\setminus\widehat{\mathcal{T}}}\eta_{\widehat{\mathcal{T}}}^{\infty}(T). ∥ y T − y T ∥ W 1 , ∞ ( t 0 , t end ) ≤ C drel T ∈ T ∖ T max η T ∞ ( T ) .
for corresponding discrete solutions y T ^ , y T y_{\widehat{\mathcal{T}}},y_{\mathcal{T}} y T , y T defined in (13) and C d r e l > 1 C_{\mathrm{drel}}>1 C drel > 1 . Denote by T 0 , T 1 , … \mathcal{T}_0,\mathcal{T}_1,\ldots T 0 , T 1 , … meshes generated by Algorithm 3.1 with corresponding discrete solutions y 0 , y 1 , … y_0,y_1,\ldots y 0 , y 1 , … and estimators η 0 ∞ , η 1 ∞ , … \eta_0^\infty,\eta_1^\infty,\ldots η 0 ∞ , η 1 ∞ , … . There is a constant 0 < κ < 1 0<\kappa<1 0 < κ < 1 such that, for all k , ℓ ∈ N k,\ell\in\mathbb{N} k , ℓ ∈ N ,
η ℓ + k ∞ ≤ κ k η ℓ ∞ . \eta_{\ell+k}^{\infty}\leq\kappa^k\eta_{\ell}^{\infty}. η ℓ + k ∞ ≤ κ k η ℓ ∞ .
Proof of Theorem 3.1
The aim is to use the framework established in [2 ] and adapt it wherever necessary to fit our setting. Linear and nonlinear settings are handled simultaneously as before, by using the corresponding lemmas in each case. One has to adapt the so-called optimality of Dörfler marking , i.e., [2 ] , Proposition 4.12 to the present case of the maximum strategy. That is why we will call the next result optimality of the maximum strategy .
Proposition 3.6. We have
(i) For all 0 < κ 0 < 1 0<\kappa_0<1 0 < κ 0 < 1 , there exists an initial mesh T 0 \mathcal{T}_0 T 0 fine enough and a constant 0 < θ 0 < 1 0<\theta_0<1 0 < θ 0 < 1 such that for all 0 < θ < θ 0 0<\theta<\theta_0 0 < θ < θ 0 and all refinements T ^ ∈ T ^ \widehat{\mathcal{T}}\in\widehat{\mathbb{T}} T ∈ T of T ∈ T \mathcal{T}\in\mathbb{T} T ∈ T it holds if η T ^ ∞ > 0 \eta_{\widehat{\mathcal{T}}}^{\infty}>0 η T ∞ > 0 that
η T ^ ∞ ≤ κ 0 η T ∞ ⟹ ( 1 − θ ) η T ∞ > max T ∈ T ∩ T ^ η T ∞ ( T ) . (22) \eta_{\widehat{\mathcal{T}}}^{\infty}\leq\kappa_0\eta_{\mathcal{T}}^{\infty}\quad\Longrightarrow\quad(1-\theta)\eta_{\mathcal{T}}^{\infty}>\max_{T\in\mathcal{T}\cap\widehat{\mathcal{T}}}\eta_{\mathcal{T}}^{\infty}(T). \tag*{(22)} η T ∞ ≤ κ 0 η T ∞ ⟹ ( 1 − θ ) η T ∞ > T ∈ T ∩ T max η T ∞ ( T ) . (22) (ii) Suppose η T ∞ > 0 \eta_{\mathcal{T}}^{\infty}>0 η T ∞ > 0 . For all θ 0 \theta_0 θ 0 such that θ ⋆ : = 1 − ∥ h T 0 ∥ L ∞ ( t 0 , t e n d ) C s t a b C d r e l > θ 0 > 0 \theta_\star:=1-\|h_{\mathcal{T}_0}\|_{L^\infty(t_0,t_{\mathrm{end}})}C_{\mathrm{stab}}C_{\mathrm{drel}}>\theta_0>0 θ ⋆ := 1 − ∥ h T 0 ∥ L ∞ ( t 0 , t end ) C stab C drel > θ 0 > 0 , there exists some 0 < κ 0 < 1 0<\kappa_0<1 0 < κ 0 < 1 such that (3.6) holds for all 0 < θ ≤ θ 0 < 1 0<\theta\leq\theta_0<1 0 < θ ≤ θ 0 < 1 and all refinements T ^ ∈ T ^ \widehat{\mathcal{T}}\in\widehat{\mathbb{T}} T ∈ T of T ∈ T \mathcal{T}\in\mathbb{T} T ∈ T .
Proof. (i): It holds by the strong stability estimate Lemma 3.2 or Lemma 3.5 that
max T ∈ T ∩ T ^ η T ∞ ( T ) ≤ max T ∈ T ∩ T ^ η T ^ ∞ ( T ) + ∥ h T 0 ∥ L ∞ ( t 0 , t e n d ) C s t a b ∥ y T − y T ^ ∥ W 1 , ∞ ( t 0 , t e n d ) , \max_{T\in\mathcal{T}\cap\widehat{\mathcal{T}}}\eta_{\mathcal{T}}^{\infty}(T)\leq\max_{T\in\mathcal{T}\cap\widehat{\mathcal{T}}}\eta_{\widehat{\mathcal{T}}}^{\infty}(T)+\|h_{\mathcal{T}_0}\|_{L^\infty(t_0,t_{\mathrm{end}})}C_{\mathrm{stab}}\|y_{\mathcal{T}}-y_{\widehat{\mathcal{T}}}\|_{W^{1,\infty}(t_0,t_{\mathrm{end}})}, T ∈ T ∩ T max η T ∞ ( T ) ≤ T ∈ T ∩ T max η T ∞ ( T ) + ∥ h T 0 ∥ L ∞ ( t 0 , t end ) C stab ∥ y T − y T ∥ W 1 , ∞ ( t 0 , t end ) ,
which gives by using the assumption η T ^ ∞ ≤ κ 0 η T ∞ \eta_{\widehat{\mathcal{T}}}^{\infty}\leq\kappa_0\eta_{\mathcal{T}}^{\infty} η T ∞ ≤ κ 0 η T ∞ and discrete reliability in Lemma 3.4 ,
max T ∈ T ∩ T ^ η T ∞ ( T ) ≤ ( κ 0 + ∥ h T 0 ∥ L ∞ ( t 0 , t e n d ) C s t a b C d r e l ) η T ∞ . \max_{T\in\mathcal{T}\cap\widehat{\mathcal{T}}}\eta_{\mathcal{T}}^{\infty}(T)\leq\left(\kappa_0+\|h_{\mathcal{T}_0}\|_{L^\infty(t_0,t_{\mathrm{end}})}C_{\mathrm{stab}}C_{\mathrm{drel}}\right)\eta_{\mathcal{T}}^{\infty}. T ∈ T ∩ T max η T ∞ ( T ) ≤ ( κ 0 + ∥ h T 0 ∥ L ∞ ( t 0 , t end ) C stab C drel ) η T ∞ .
Choosing θ 0 = 1 − κ 0 − ∥ h T 0 ∥ L ∞ ( t 0 , t e n d ) C s t a b C d r e l > 0 \theta_0=1-\kappa_0-\|h_{\mathcal{T}_0}\|_{L^\infty(t_0,t_{\mathrm{end}})}C_{\mathrm{stab}}C_{\mathrm{drel}}>0 θ 0 = 1 − κ 0 − ∥ h T 0 ∥ L ∞ ( t 0 , t end ) C stab C drel > 0 , with ∥ h T 0 ∥ L ∞ ( t 0 , t e n d ) \|h_{\mathcal{T}_0}\|_{L^\infty(t_0,t_{\mathrm{end}})} ∥ h T 0 ∥ L ∞ ( t 0 , t end ) small enough, which can be controlled by choosing a fine enough initial mesh, yields the result.
(ii): Let 1 − ∥ h T 0 ∥ L ∞ ( t 0 , t e n d ) C s t a b C d r e l > θ 0 > 0 1-\|h_{\mathcal{T}_0}\|_{L^\infty(t_0,t_{\mathrm{end}})}C_{\mathrm{stab}}C_{\mathrm{drel}}>\theta_0>0 1 − ∥ h T 0 ∥ L ∞ ( t 0 , t end ) C stab C drel > θ 0 > 0 . If one chooses the reduction factor κ 0 < 1 − θ 0 − ∥ h T 0 ∥ L ∞ ( t 0 , t e n d ) C s t a b C d r e l \kappa_0<1-\theta_0-\|h_{\mathcal{T}_0}\|_{L^\infty(t_0,t_{\mathrm{end}})}C_{\mathrm{stab}}C_{\mathrm{drel}} κ 0 < 1 − θ 0 − ∥ h T 0 ∥ L ∞ ( t 0 , t end ) C stab C drel , the result follows from the arguments of (i). □
Using Proposition 3.6, one can adapt the crucial results [2 ] , Lemma 4.14 and [2 ] , Proposition 4.15 by using our Proposition 3.6 wherever [2 ] , Proposition 4.12 is used and substituting maximum strategy for Dörfler marking . This allows us to prove Theorem 3.1 in the following.
Proof of Theorem 3.1. Let 0 < θ < 1 0 < \theta< 1 0 < θ < 1 be given. We use Proposition 3.6 and choose T 0 \mathcal{T}_0 T 0 sufficiently fine such that 0 < θ < θ ⋆ : = 1 − ∥ h T 0 ∥ L ∞ ( t 0 , t e n d ) C s t a b C d r e l 0 < \theta< \theta_\star:= 1 - \lVert h_{\mathcal{T}_0} \rVert_{L^\infty(t_0,t_{\mathrm{end}})} C_{\mathrm{stab}} C_{\mathrm{drel}} 0 < θ < θ ⋆ := 1 − ∥ h T 0 ∥ L ∞ ( t 0 , t end ) C stab C drel and such that all the lemmas are applicable. Combining stability, reduction and discrete reliability in a standard fashion yields quasi-monotonicity of the error estimator, i.e., η T ^ ∞ ≲ η T ∞ \eta_{\widehat{\mathcal{T}}}^{\infty} \lesssim\eta_{\mathcal{T}}^{\infty} η T ∞ ≲ η T ∞ , for all refinements T ^ \widehat{\mathcal{T}} T of T \mathcal{T} T . This allows us to apply [2 Lemma 4.14] . Due to Lemma 3.3 or Lemma 3.5 we can apply [2 Proposition 4.15] with θ 0 = θ \theta_0 = \theta θ 0 = θ which yields the result and concludes the proof. □ \square □
Remarks on the practical implementation
In this section, we aim to explain how the explicit schemes introduced in (2) can be interpreted in terms of classical explicit Runge–Kutta methods, and thus be implemented as such. The formulation in (2) accommodates a broad class of explicit time-stepping schemes through different choices of the local approximation operator. Following the preceding sections, we focus on schemes constructed recursively from the explicit Euler method, which represent only one of many possible constructions within this framework. For p = 1 p = 1 p = 1 , we retrieve the explicit Euler method. We continue recursively as described in § 2.2 . The second-order scheme, i.e., p = 2 p = 2 p = 2 , builds on the explicit Euler method. As the integrals that need to be evaluated to determine y T y_{\mathcal{T}} y T cannot be computed by hand in general, one needs to use a quadrature method of sufficiently high order. Using the 2-point Radau quadrature with a fixed right endpoint gives the following conditions for T = [ t i , t i + 1 ] ∈ T T = [t_i,t_{i+1}] \in\mathcal{T} T = [ t i , t i + 1 ] ∈ T .
∂ t y T ( t i + ∣ T ∣ 3 ) = F ( I T F ( y T ( t i ) ) ( t i + ∣ T ∣ 3 ) ) = F ( y T ( t i ) + ∣ T ∣ 3 F ( y T ( t i ) ) ) : = k 1 \partial_t y_{\mathcal{T}}\left(t_i + \frac{|T|}{3}\right) = F\left(I_T^F(y_{\mathcal{T}}(t_i))\left(t_i + \frac{|T|}{3}\right)\right) = F\left(y_{\mathcal{T}}(t_i) + \frac{|T|}{3}F(y_{\mathcal{T}}(t_i))\right) := k_1 ∂ t y T ( t i + 3 ∣ T ∣ ) = F ( I T F ( y T ( t i )) ( t i + 3 ∣ T ∣ ) ) = F ( y T ( t i ) + 3 ∣ T ∣ F ( y T ( t i )) ) := k 1
∂ t y T ( t i + 1 ) = F ( I T F ( y T ( t i ) ) ( t i + 1 ) ) = F ( y T ( t i ) + ∣ T ∣ F ( y T ( t i ) ) ) : = k 2 \partial_t y_{\mathcal{T}}(t_{i+1}) = F\left(I_T^F(y_{\mathcal{T}}(t_i))(t_{i+1})\right) = F\left(y_{\mathcal{T}}(t_i) + |T|F(y_{\mathcal{T}}(t_i))\right) := k_2 ∂ t y T ( t i + 1 ) = F ( I T F ( y T ( t i )) ( t i + 1 ) ) = F ( y T ( t i ) + ∣ T ∣ F ( y T ( t i )) ) := k 2
We denote the resulting function again by y T y_{\mathcal{T}} y T , despite the additional approximation of the integral. This gives the following expression for ( y T ) ∣ T (y_{\mathcal{T}})|_T ( y T ) ∣ T using the 2-point Lagrange interpolants l ∣ T ∣ / 3 ∈ P 1 ( T ) l_{|T|/3} \in P^1(T) l ∣ T ∣/3 ∈ P 1 ( T ) and l ∣ T ∣ ∈ P 1 ( T ) l_{|T|} \in P^1(T) l ∣ T ∣ ∈ P 1 ( T ) ,
y T ( t ) = y T ( t i ) + k 1 ∫ t i t l ∣ T ∣ / 3 ( s ) d s + k 2 ∫ t i t l ∣ T ∣ ( s ) d s . y_{\mathcal{T}}(t) = y_{\mathcal{T}}(t_i) + k_1 \int_{t_i}^{t} l_{|T|/3}(s)\,\mathrm{d}s + k_2 \int_{t_i}^{t} l_{|T|}(s)\,\mathrm{d}s. y T ( t ) = y T ( t i ) + k 1 ∫ t i t l ∣ T ∣/3 ( s ) d s + k 2 ∫ t i t l ∣ T ∣ ( s ) d s .
Thus y T ( t i + 1 ) y_{\mathcal{T}}(t_{i+1}) y T ( t i + 1 ) can be written as a linear combination of three stages, resulting in an explicit Runge–Kutta scheme, shown in Figure 1 . The evaluation at certain intermediate points in order to evaluate the error estimator can also be written as a (different) linear combination of the given stages k 1 k_1 k 1 and k 2 k_2 k 2 . Continuing this discussion for p = 3 p = 3 p = 3 and using the 3-point Radau quadrature yields conditions on ∂ t y T \partial_t y_{\mathcal{T}} ∂ t y T at those three points. Those stages only depend on evaluations of the lower-order discretization I T F ( y T ( t i ) ) I_T^F(y_{\mathcal{T}}(t_i)) I T F ( y T ( t i )) and thus can be written as linear combinations of the original stages k 1 k_1 k 1 and k 2 k_2 k 2 . This yields another explicit Runge–Kutta scheme. The resulting schemes are determined by their Butcher tableaux, which are shown in Figure 1 . Checking the order conditions yields the following proposition.
Figure 1. Explicit Runge–Kutta methods obtained by discretizing the scheme defined in (2) .
Proposition 4.1. The explicit RK schemes in Figure 1 have convergence orders 1, 2, and 3, respectively.
Using different quadrature schemes with p p p points yields different Butcher tableaux and therefore different explicit schemes, which serve as approximations to our scheme introduced in (2) . The evaluation of the estimator can be another bottleneck in the implementation of the algorithm. For the higher-order schemes and affine right-hand sides, we noticed that the residual is indeed locally equivalent to the error estimator used in the analysis. Therefore, one can use results in [2 Section 8] to justify using the residual itself as estimator, which is accessible without the need for p p p th order derivatives of y T y_T y T . This motivates the choice of the residual as an error estimator also for more general non-affine right-hand sides. In practice, it might be advantageous to use an equivalent estimator based on confidence, namely, for T i = [ t i , t i + 1 ] T_i=[t_i,t_{i+1}] T i = [ t i , t i + 1 ] ,
η ~ T ( T i ) 2 : = η T ( T i ) 2 1 + ∑ j = 0 i η T ( T j ) 2 (23) \widetilde{\eta}_T(T_i)^2 := \frac{\eta_T(T_i)^2}{1+\sum_{j=0}^{i}\eta_T(T_j)^2} \tag*{(23)} η T ( T i ) 2 := 1 + ∑ j = 0 i η T ( T j ) 2 η T ( T i ) 2 (23)
or
η ~ T ∞ ( T i ) : = η T ∞ ( T i ) 1 + max j ≤ i η T ∞ ( T j ) (24) \widetilde{\eta}_T^\infty(T_i) := \frac{\eta_T^\infty(T_i)}{1+\max_{j\leq i}\eta_T^\infty(T_j)} \tag*{(24)} η T ∞ ( T i ) := 1 + max j ≤ i η T ∞ ( T j ) η T ∞ ( T i ) (24)
which is more robust. Given a uniform upper bound on the original estimator, one can see that (23) or (24) is locally equivalent to the corresponding original estimator. Thus, the results in [2 Section 8] justify its use.
Application to neural ODEs
We now turn to applications of the adaptive time-stepping framework, beginning with neural ODEs.
The connection between deep neural networks and ODEs was first made by [12 ] , picked up again by [17 ] and thoroughly investigated by [6 ] . Neural networks built by composing a sequence of hidden states take the form
z i + 1 = z i + f i ( z i , θ ) , (25) z_{i+1}=z_i+f_i(z_i,\theta), \tag*{(25)} z i + 1 = z i + f i ( z i , θ ) , (25)
where i = 0 , … , N − 1 i=0,\ldots,N-1 i = 0 , … , N − 1 , z i ∈ R d z_i\in\mathbb{R}^d z i ∈ R d , θ \theta θ denotes the weights, and f i f_i f i is the composition of an activation function and a linear transformation. z 0 z_0 z 0 is the input and z N z_N z N the output. The recursion (25) can be seen as a forward-Euler discretization of some ODE
∂ t z ( t ) = f ( t , z ( t ) , θ ) , z ( t 0 ) = z 0 , (26) \begin{aligned}
\partial_t z(t)&=f(t,z(t),\theta),\\
z(t_0)&=z_0, \tag*{(26)}
\end{aligned} ∂ t z ( t ) z ( t 0 ) = f ( t , z ( t ) , θ ) , = z 0 , (26)
on some time interval [ t 0 , t e n d ] [t_0,t_{\mathrm{end}}] [ t 0 , t end ] . Instead of evaluating the layer structure, we can parameterise f f f and define the output of the neural net to be the solution of some ODE solver at time t e n d t_{\mathrm{end}} t end . As laid out in [6 ] , this can have several benefits. One of them is that, during training, there is no need to backpropagate through the solver, which is usually very demanding in terms of computation time and memory. As discussed below, we can obtain the loss gradient with respect to the weights by a single call to an ODE solver, which can be optimized in computational effort by applying the adaptivity results of the previous sections. Many examples use time-independent right-hand sides f f f , which makes them suitable for our analysis. Therefore, in the following, we use the dynamics
∂ t z ( t ) = f ( z ( t ) , θ ) , z ( t 0 ) = z 0 . (27) \partial_t z(t) = f(z(t), \theta),
\qquad
z(t_0) = z_0. \tag*{(27)} ∂ t z ( t ) = f ( z ( t ) , θ ) , z ( t 0 ) = z 0 . (27)
The blackadjoint sensitivity method
To apply the adaptive framework during training, we also need an ODE formulation of the loss gradient.
We consider the neural ODE given by (27) , where z z z is evaluated at t e n d t_{\mathrm{end}} t end as output. A scalar-valued loss function L L L is introduced which depends on z ( t e n d ) z(t_{\mathrm{end}}) z ( t end ) , i.e.
L ( z ( t e n d ) ) = L ( z ( t 0 ) + ∫ t 0 t e n d f ( z ( t ) , θ ) d t ) . \mathcal{L}(z(t_{\mathrm{end}})) = \mathcal{L}\left(z(t_0) + \int_{t_0}^{t_{\mathrm{end}}} f(z(t),\theta)\,\mathrm{d}t\right). L ( z ( t end )) = L ( z ( t 0 ) + ∫ t 0 t end f ( z ( t ) , θ ) d t ) .
In training, we need first derivatives of L L L with respect to the weights θ \theta θ . This can be done in a memory-efficient way by the so-called adjoint sensitivity method [6 ] . By formulating the augmented system
∂ t z ( t ) = f ( z ( t ) , θ ) ∂ t a ( t ) = − ( ∇ z f ( z ( t ) , θ ) ) T a ( t ) , ∂ t I = − ( ∇ θ f ( z ( t ) , θ ) ) T a ( t ) , (28) \begin{aligned}
\partial_t z(t) &= f(z(t),\theta) \\
\partial_t a(t) &= -\left(\nabla_z f(z(t),\theta)\right)^{\mathsf{T}}a(t), \\
\partial_t I &= -\left(\nabla_\theta f(z(t),\theta)\right)^{\mathsf{T}}a(t), \tag*{(28)}
\end{aligned} ∂ t z ( t ) ∂ t a ( t ) ∂ t I = f ( z ( t ) , θ ) = − ( ∇ z f ( z ( t ) , θ ) ) T a ( t ) , = − ( ∇ θ f ( z ( t ) , θ ) ) T a ( t ) , (28)
and solving it backwards in time with terminal conditions
z ( t e n d ) = z e n d , z(t_{\mathrm{end}}) = z_{\mathrm{end}}, z ( t end ) = z end ,
a ( t e n d ) = ∂ L ∂ z ( t e n d ) , a(t_{\mathrm{end}}) = \frac{\partial L}{\partial z(t_{\mathrm{end}})}, a ( t end ) = ∂ z ( t end ) ∂ L ,
I ( t e n d ) = 0 , I(t_{\mathrm{end}}) = 0, I ( t end ) = 0 ,
where z e n d z_{\mathrm{end}} z end is precomputed by solving (27) , we can obtain the loss gradient by evaluating I ( t 0 ) I(t_0) I ( t 0 ) . This is more memory-efficient, since general ODE solvers only consider a fixed number of past values for storage. Backpropagating through an ODE solver would require much more memory, as the intermediate function evaluations of each layer need to be stored. By defining
y : = ( z a I ) , y := \begin{pmatrix} z \\ a \\ I \end{pmatrix}, y := z a I ,
and
F ( y , θ ) : = ( f ( z , θ ) − ( ∇ z f ( z , θ ) ) T a − ( ∇ θ f ( z , θ ) ) T a ) , F(y,\theta) := \begin{pmatrix}
f(z,\theta) \\
-\left(\nabla_z f(z,\theta)\right)^{\mathsf{T}}a \\
-\left(\nabla_\theta f(z,\theta)\right)^{\mathsf{T}}a
\end{pmatrix}, F ( y , θ ) := f ( z , θ ) − ( ∇ z f ( z , θ ) ) T a − ( ∇ θ f ( z , θ ) ) T a ,
we can write the system (28) as
∂ t y ( t ) = F ( y ( t ) , θ ) , y ( t e n d ) = ( z e n d ∂ L ∂ z ( t e n d ) 0 ) , (29) \partial_t y(t) = F(y(t),\theta),
\qquad
y(t_{\mathrm{end}}) =
\begin{pmatrix}
z_{\mathrm{end}} \\
\frac{\partial L}{\partial z(t_{\mathrm{end}})} \\
0
\end{pmatrix}, \tag*{(29)} ∂ t y ( t ) = F ( y ( t ) , θ ) , y ( t end ) = z end ∂ z ( t end ) ∂ L 0 , (29)
such that it fits into the discussion of the previous section. Since z ( t ) , a ( t ) ∈ R d z(t),a(t) \in\mathbb{R}^{d} z ( t ) , a ( t ) ∈ R d and θ ∈ R w \theta\in\mathbb{R}^{w} θ ∈ R w , we have y ( t ) ∈ R 2 d + w y(t) \in\mathbb{R}^{2d+w} y ( t ) ∈ R 2 d + w .
Application to regularized dynamical parametric approximation
We now extend (1) to a Hilbert space setting: for y 0 ∈ H y_0 \in\mathcal{H} y 0 ∈ H , we seek y ( t ) ∈ H y(t) \in\mathcal{H} y ( t ) ∈ H such that
∂ t y ( t ) = F ( y ( t ) ) , for t ∈ [ t 0 , t e n d ] y ( t 0 ) = y 0 , in H , (30) \begin{aligned}
\partial_t y(t) &= F(y(t)), && \text{for } t \in[t_0,t_{\mathrm{end}}] \\
y(t_0) &= y_0, && \text{in } \mathcal{H}, \tag*{(30)}
\end{aligned} ∂ t y ( t ) y ( t 0 ) = F ( y ( t )) , = y 0 , for t ∈ [ t 0 , t end ] in H , (30)
for a Lipschitz continuous right-hand side F : H → H F:\mathcal{H} \to\mathcal{H} F : H → H .
Parametric dynamical integrators approximate the solution of evolution problems via a nonlinear parameterization
u ( t ) = Φ ( q ( t ) ) . u(t) = \Phi(q(t)). u ( t ) = Φ ( q ( t )) .
Here, Φ : Q → H \Phi: \mathcal{Q} \to\mathcal{H} Φ : Q → H is assumed to be a smooth parametric map from the parameter space Q ⊂ R M \mathcal{Q} \subset\mathbb{R}^{M} Q ⊂ R M , with M M M parameters, into the space of the evolution problem (30) . The path of the parameters q ( t ) ∈ Q q(t) \in\mathcal{Q} q ( t ) ∈ Q is determined by characterizing its derivative q ˙ ( t ) \dot{q}(t) q ˙ ( t ) , at any time t ≥ 0 t \ge0 t ≥ 0 , by the regularized linear least-squares problem
δ ( t ) 2 : = ∥ u ˙ ( t ) − F ( u ( t ) ) ∥ 2 + ε ( t ) 2 ∥ q ˙ ( t ) ∥ 2 is minimal, \delta(t)^2 := \lVert\dot{u}(t) - F(u(t)) \rVert^2 + \varepsilon(t)^2 \lVert\dot{q}(t) \rVert^2 \text{ is minimal,} δ ( t ) 2 := ∥ u ˙ ( t ) − F ( u ( t )) ∥ 2 + ε ( t ) 2 ∥ q ˙ ( t ) ∥ 2 is minimal,
for given u ( t ) u(t) u ( t ) and q ( t ) q(t) q ( t ) and the regularization parameter ε : [ t 0 , t e n d ] → ( 0 , ∞ ) \varepsilon: [t_0,t_{\mathrm{end}}] \to(0,\infty) ε : [ t 0 , t end ] → ( 0 , ∞ ) . We note that u ˙ \dot{u} u ˙ is fully determined by q ˙ \dot{q} q ˙ through the chain rule u ˙ = Φ ′ ( q ) [ q ˙ ] \dot{u} = \Phi'(q)[\dot{q}] u ˙ = Φ ′ ( q ) [ q ˙ ] , where Φ ′ ( q ) \Phi'(q) Φ ′ ( q ) denotes the Jacobian of the parametric map Φ \Phi Φ at the position q q q . The regularization of the optimization problem is generally necessary, since we do not want to make any assumption on the condition number of the Jacobian Φ ′ ( q ) \Phi'(q) Φ ′ ( q ) . In the context of scientific machine learning and computational chemistry, these operators are typically rank-deficient and badly conditioned [15 ] .
An error estimator for the explicit Euler method
Let t e n d > 0 t_{\mathrm{end}} > 0 t end > 0 . Introduce a partition T = { [ t 0 , t 1 ] , … , [ t # T − 1 , t e n d ] } \mathcal{T} = \{[t_0,t_1],\ldots,[t_{\#\mathcal{T}-1},t_{\mathrm{end}}]\} T = {[ t 0 , t 1 ] , … , [ t # T − 1 , t end ]} . Compute an approximation q T ∈ S 1 ( T ) q_{\mathcal{T}} \in S^1(\mathcal{T}) q T ∈ S 1 ( T ) to q q q by the explicit Euler method, i.e., the scheme (2) for lowest-order p = 1 p=1 p = 1 . This means for t ∈ T = [ t i , t i + 1 ] t \in T = [t_i,t_{i+1}] t ∈ T = [ t i , t i + 1 ] it holds that
q T ( t ) = q T ( t i ) + ( t − t i ) q ˙ i , q_{\mathcal{T}}(t) = q_{\mathcal{T}}(t_i) + (t-t_i)\dot{q}_i, q T ( t ) = q T ( t i ) + ( t − t i ) q ˙ i ,
where q ˙ i \dot{q}_i q ˙ i solves
δ i 2 : = ∥ Φ ′ ( q T ( t i ) ) q ˙ i − F ( Φ ( q T ( t i ) ) ) ∥ 2 + ε i 2 ∥ q ˙ i ∥ 2 is minimal. (31) \delta_i^2 := \lVert\Phi'(q_{\mathcal{T}}(t_i))\dot{q}_i - F(\Phi(q_{\mathcal{T}}(t_i))) \rVert^2 + \varepsilon_i^2 \lVert\dot{q}_i \rVert^2 \text{ is minimal.} \tag*{(31)} δ i 2 := ∥ Φ ′ ( q T ( t i )) q ˙ i − F ( Φ ( q T ( t i ))) ∥ 2 + ε i 2 ∥ q ˙ i ∥ 2 is minimal. (31)
We note that we use the notation ∥ ⋅ ∥ \lVert\cdot\rVert ∥ ⋅ ∥ both for the Hilbert space norm in the first summand (typically the L 2 L^2 L 2 -norm on some geometry) and for the norm of the parameter space Q \mathcal{Q} Q in the second summand. One could use the error estimator defined in § 2.1 or § 3.1 for the parameters q q q , to solve this problem adaptively. As the quantity of interest is an approximation to y y y , we want to motivate a different strategy. To this end, we define another piecewise affine approximation u T ∈ S 1 ( T ) u_{\mathcal{T}} \in S^1(\mathcal{T}) u T ∈ S 1 ( T ) to u u u with u T ( t 0 ) = y 0 u_{\mathcal{T}}(t_0)=y_0 u T ( t 0 ) = y 0 and
u T ( t ) = Φ ( q T ( t i ) ) + ( t − t i ) Φ ( q T ( t i + 1 ) ) − Φ ( q T ( t i ) ) ∣ T ∣ , t ∈ T . (32) u_{\mathcal{T}}(t)=\Phi(q_{\mathcal{T}}(t_i))+(t-t_i)\frac{\Phi(q_{\mathcal{T}}(t_{i+1}))-\Phi(q_{\mathcal{T}}(t_i))}{|T|},\qquad t\in T. \tag*{(32)} u T ( t ) = Φ ( q T ( t i )) + ( t − t i ) ∣ T ∣ Φ ( q T ( t i + 1 )) − Φ ( q T ( t i )) , t ∈ T . (32)
Further, we define the local error estimator based on u T u_{\mathcal{T}} u T by
η T ( T ) : = ∣ T ∣ ∥ ∂ t u T ∥ L 2 ( T ) . (33) \eta_{\mathcal{T}}(T):=|T|\|\partial_tu_{\mathcal{T}}\|_{L^2(T)}. \tag*{(33)} η T ( T ) := ∣ T ∣∥ ∂ t u T ∥ L 2 ( T ) . (33)
Here L 2 ( T ) L^2(T) L 2 ( T ) denotes the canonical Bochner norm of L 2 ( T ; H ) L^2(T;H) L 2 ( T ; H ) . In the following discussion, the same applies to H 1 ( t 0 , t e n d ) H^1(t_0,t_{\mathrm{end}}) H 1 ( t 0 , t end ) norms. One can apply Algorithm 2.1 with the estimator (33) and solutions obtained via (32) , to obtain adaptive approximations to (30) via the regularized problem. The theory established in this work is not applicable directly to this setting. Nevertheless, we establish a related result in the following.
Lemma 6.1. If Φ ′ \Phi' Φ ′ is Lipschitz continuous with constant L 2 L_2 L 2 and the step-size restriction ∣ T i ∣ δ i ≤ C ε ( t i ) 2 |T_i|\delta_i\le C\varepsilon(t_i)^2 ∣ T i ∣ δ i ≤ C ε ( t i ) 2 holds for T i = [ t i , t i + 1 ] T_i=[t_i,t_{i+1}] T i = [ t i , t i + 1 ] , then
∥ y − u T ∥ H 1 ( t 0 , t e n d ) 2 ≤ C 1 ∑ T ∈ T η T ( T ) 2 + C 2 ∑ i = 0 # T − 1 ∣ T i ∣ δ i 2 . \|y-u_{\mathcal{T}}\|_{H^1(t_0,t_{\mathrm{end}})}^2\le C_1\sum_{T\in\mathcal{T}}\eta_{\mathcal{T}}(T)^2+C_2\sum_{i=0}^{\#\mathcal{T}-1}|T_i|\delta_i^2. ∥ y − u T ∥ H 1 ( t 0 , t end ) 2 ≤ C 1 T ∈ T ∑ η T ( T ) 2 + C 2 i = 0 ∑ # T − 1 ∣ T i ∣ δ i 2 .
Proof. Matching initial conditions and Gronwall’s lemma give
∥ y − u T ∥ H 1 ( t 0 , t e n d ) 2 ≤ C ∥ ∂ t u T − F ( u T ) ∥ L 2 ( t 0 , t e n d ) 2 . \|y-u_{\mathcal{T}}\|_{H^1(t_0,t_{\mathrm{end}})}^2\le C\|\partial_tu_{\mathcal{T}}-F(u_{\mathcal{T}})\|_{L^2(t_0,t_{\mathrm{end}})}^2. ∥ y − u T ∥ H 1 ( t 0 , t end ) 2 ≤ C ∥ ∂ t u T − F ( u T ) ∥ L 2 ( t 0 , t end ) 2 .
Looking at T i = [ t i , t i + 1 ] ∈ T T_i=[t_i,t_{i+1}]\in\mathcal{T} T i = [ t i , t i + 1 ] ∈ T one sees
∥ ∂ t u T − F ( u T ) ∥ L 2 ( T i ) 2 ≤ 2 ∥ ∂ t u T − F ( u T ( t i ) ) ∥ L 2 ( T i ) 2 + 2 ∥ F ( u T ( t i ) ) − F ( u T ) ∥ L 2 ( T i ) 2 . \|\partial_tu_{\mathcal{T}}-F(u_{\mathcal{T}})\|_{L^2(T_i)}^2\le2\|\partial_tu_{\mathcal{T}}-F(u_{\mathcal{T}}(t_i))\|_{L^2(T_i)}^2+2\|F(u_{\mathcal{T}}(t_i))-F(u_{\mathcal{T}})\|_{L^2(T_i)}^2. ∥ ∂ t u T − F ( u T ) ∥ L 2 ( T i ) 2 ≤ 2∥ ∂ t u T − F ( u T ( t i )) ∥ L 2 ( T i ) 2 + 2∥ F ( u T ( t i )) − F ( u T ) ∥ L 2 ( T i ) 2 .
Using the Lipschitz continuity of F F F , we can bound the second term by
2 L 2 ∣ T i ∣ 2 ∥ ∂ t u T ∥ L 2 ( T i ) 2 . 2L^2|T_i|^2\|\partial_tu_{\mathcal{T}}\|_{L^2(T_i)}^2. 2 L 2 ∣ T i ∣ 2 ∥ ∂ t u T ∥ L 2 ( T i ) 2 .
For the first term we have by Taylor expansion using the Lipschitz continuity of Φ ′ \Phi' Φ ′ that
∥ ∂ t u T − F ( u T ( t i ) ) ∥ L 2 ( T i ) 2 ≲ ∣ T i ∣ ( ∥ Φ ′ ( q T ( t i ) ) q ˙ i − F ( u T ( t i ) ) ∥ + ∣ T i ∣ ∥ q ˙ i ∥ 2 ) 2 . \|\partial_tu_{\mathcal{T}}-F(u_{\mathcal{T}}(t_i))\|_{L^2(T_i)}^2\lesssim|T_i|\left(\|\Phi'(q_{\mathcal{T}}(t_i))\dot q_i-F(u_{\mathcal{T}}(t_i))\|+|T_i|\|\dot q_i\|^2\right)^2. ∥ ∂ t u T − F ( u T ( t i )) ∥ L 2 ( T i ) 2 ≲ ∣ T i ∣ ( ∥ Φ ′ ( q T ( t i )) q ˙ i − F ( u T ( t i )) ∥ + ∣ T i ∣∥ q ˙ i ∥ 2 ) 2 .
The step-size restriction ∣ T i ∣ δ i ≤ C ε ( t i ) 2 |T_i|\delta_i\le C\varepsilon(t_i)^2 ∣ T i ∣ δ i ≤ C ε ( t i ) 2 and the boundedness of ∥ Φ ′ ( q T ( t i ) ) q ˙ i − F ( u T ( t i ) ) ∥ \|\Phi'(q_{\mathcal{T}}(t_i))\dot q_i-F(u_{\mathcal{T}}(t_i))\| ∥ Φ ′ ( q T ( t i )) q ˙ i − F ( u T ( t i )) ∥ by δ i \delta_i δ i give
∥ ∂ t u T − F ( u T ( t i ) ) ∥ L 2 ( T i ) 2 ≲ ∣ T i ∣ δ i 2 . \|\partial_tu_{\mathcal{T}}-F(u_{\mathcal{T}}(t_i))\|_{L^2(T_i)}^2\lesssim|T_i|\delta_i^2. ∥ ∂ t u T − F ( u T ( t i )) ∥ L 2 ( T i ) 2 ≲ ∣ T i ∣ δ i 2 .
Summing over all T i T_i T i concludes the proof. □
Lemma 6.1 establishes that the proposed estimator is reliable up to the approximation error of the regularized parametric problem. We denote by T 0 , T 1 , … \mathcal{T}_0,\mathcal{T}_1,\ldots T 0 , T 1 , … a sequence of meshes and solutions obtained by Algorithm 2.1 to state the next result. Superscripts are used to signal that the discrete defects δ i k \delta_i^k δ i k are associated with mesh T k \mathcal{T}_k T k .
Lemma 6.2. If Φ ′ \Phi' Φ ′ is Lipschitz continuous with constant L 2 L_2 L 2 and the step-size restriction ∣ T i ∣ δ i ≤ C ε ( t i ) 2 |T_i|\delta_i \le C\varepsilon(t_i)^2 ∣ T i ∣ δ i ≤ C ε ( t i ) 2 holds for T i = [ t i , t i + 1 ] ∈ T k T_i=[t_i,t_{i+1}]\in\mathcal{T}_k T i = [ t i , t i + 1 ] ∈ T k , for all meshes T k \mathcal{T}_k T k , then there exist constants C s t a b , C r e d > 0 C_{\mathrm{stab}},C_{\mathrm{red}}>0 C stab , C red > 0 and q ∈ ( 0 , 1 ) q\in(0,1) q ∈ ( 0 , 1 ) such that for all k ∈ N 0 k\in\mathbb{N}_0 k ∈ N 0 it holds that
∣ ( ∑ T ∈ T k ∩ T k + 1 η T k ( T ) 2 ) 1 / 2 − ( ∑ T ∈ T k ∩ T k + 1 η T k + 1 ( T ) 2 ) 1 / 2 ∣ ≤ C s t a b ∥ h T k ∥ L ∞ ( t 0 , t e n d ) ∥ u T k − u T k + 1 ∥ H 1 ( t 0 , t e n d ) (34) \left|\left(\sum_{T\in\mathcal{T}_k\cap\mathcal{T}_{k+1}}\eta_{\mathcal{T}_k}(T)^2\right)^{1/2}-\left(\sum_{T\in\mathcal{T}_k\cap\mathcal{T}_{k+1}}\eta_{\mathcal{T}_{k+1}}(T)^2\right)^{1/2}\right|
\le C_{\mathrm{stab}}\lVert h_{\mathcal{T}_k}\rVert_{L^\infty(t_0,t_{\mathrm{end}})}\lVert u_{\mathcal{T}_k}-u_{\mathcal{T}_{k+1}}\rVert_{H^1(t_0,t_{\mathrm{end}})} \tag*{(34)} T ∈ T k ∩ T k + 1 ∑ η T k ( T ) 2 1/2 − T ∈ T k ∩ T k + 1 ∑ η T k + 1 ( T ) 2 1/2 ≤ C stab ∥ h T k ∥ L ∞ ( t 0 , t end ) ∥ u T k − u T k + 1 ∥ H 1 ( t 0 , t end ) (34) ∑ T ∈ T k + 1 ∖ T k η T k + 1 ( T ) 2 ≤ q ∑ T ∈ T k ∖ T k + 1 η T k ( T ) 2 + C r e d ∥ h T k ∥ L ∞ ( t 0 , t e n d ) 2 ∥ u T k − u T k + 1 ∥ H 1 ( t 0 , t e n d ) 2 . (35) \sum_{T\in\mathcal{T}_{k+1}\setminus\mathcal{T}_k}\eta_{\mathcal{T}_{k+1}}(T)^2
\le q\sum_{T\in\mathcal{T}_k\setminus\mathcal{T}_{k+1}}\eta_{\mathcal{T}_k}(T)^2
+C_{\mathrm{red}}\lVert h_{\mathcal{T}_k}\rVert_{L^\infty(t_0,t_{\mathrm{end}})}^2\lVert u_{\mathcal{T}_k}-u_{\mathcal{T}_{k+1}}\rVert_{H^1(t_0,t_{\mathrm{end}})}^2. \tag*{(35)} T ∈ T k + 1 ∖ T k ∑ η T k + 1 ( T ) 2 ≤ q T ∈ T k ∖ T k + 1 ∑ η T k ( T ) 2 + C red ∥ h T k ∥ L ∞ ( t 0 , t end ) 2 ∥ u T k − u T k + 1 ∥ H 1 ( t 0 , t end ) 2 . (35) Furthermore, for some 0 < q r e d < 1 0<q_{\mathrm{red}}<1 0 < q red < 1 , we have
η T k + 1 2 ≤ q r e d η T k 2 + C ∥ h T k ∥ L ∞ ( t 0 , t e n d ) 2 ∥ u T k − u T k + 1 ∥ H 1 ( t 0 , t e n d ) 2 . (36) \eta_{\mathcal{T}_{k+1}}^2\le q_{\mathrm{red}}\eta_{\mathcal{T}_k}^2+C\lVert h_{\mathcal{T}_k}\rVert_{L^\infty(t_0,t_{\mathrm{end}})}^2\lVert u_{\mathcal{T}_k}-u_{\mathcal{T}_{k+1}}\rVert_{H^1(t_0,t_{\mathrm{end}})}^2. \tag*{(36)} η T k + 1 2 ≤ q red η T k 2 + C ∥ h T k ∥ L ∞ ( t 0 , t end ) 2 ∥ u T k − u T k + 1 ∥ H 1 ( t 0 , t end ) 2 . (36) For sufficiently small ∥ h T 0 ∥ L ∞ ( t 0 , t e n d ) \lVert h_{\mathcal{T}_0}\rVert_{L^\infty(t_0,t_{\mathrm{end}})} ∥ h T 0 ∥ L ∞ ( t 0 , t end ) , the estimator η T k \eta_{\mathcal{T}_k} η T k contracts up to a perturbation term:
η T k + 1 2 ≤ κ η T k 2 + C 3 ( ∑ i = 0 # T k − 1 ∣ T i k ∣ ( δ i k ) 2 + ∑ i = 0 # T k + 1 − 1 ∣ T i k + 1 ∣ ( δ i k + 1 ) 2 ) , (37) \eta_{\mathcal{T}_{k+1}}^2\le\kappa\eta_{\mathcal{T}_k}^2+C_3\left(\sum_{i=0}^{\#\mathcal{T}_k-1}|T_i^k|(\delta_i^k)^2+\sum_{i=0}^{\#\mathcal{T}_{k+1}-1}|T_i^{k+1}|(\delta_i^{k+1})^2\right), \tag*{(37)} η T k + 1 2 ≤ κ η T k 2 + C 3 ( i = 0 ∑ # T k − 1 ∣ T i k ∣ ( δ i k ) 2 + i = 0 ∑ # T k + 1 − 1 ∣ T i k + 1 ∣ ( δ i k + 1 ) 2 ) , (37) with
κ : = q r e d + C C 1 ∥ h T 0 ∥ L ∞ ( t 0 , t e n d ) 2 1 − C C 1 ∥ h T 0 ∥ L ∞ ( t 0 , t e n d ) 2 < 1 , \kappa:=\frac{q_{\mathrm{red}}+CC_1\lVert h_{\mathcal{T}_0}\rVert_{L^\infty(t_0,t_{\mathrm{end}})}^2}{1-CC_1\lVert h_{\mathcal{T}_0}\rVert_{L^\infty(t_0,t_{\mathrm{end}})}^2}<1, κ := 1 − C C 1 ∥ h T 0 ∥ L ∞ ( t 0 , t end ) 2 q red + C C 1 ∥ h T 0 ∥ L ∞ ( t 0 , t end ) 2 < 1 , C 3 : = C C 2 ∥ h T 0 ∥ L ∞ ( t 0 , t e n d ) 2 1 − C C 1 ∥ h T 0 ∥ L ∞ ( t 0 , t e n d ) 2 . C_3:=\frac{CC_2\lVert h_{\mathcal{T}_0}\rVert_{L^\infty(t_0,t_{\mathrm{end}})}^2}{1-CC_1\lVert h_{\mathcal{T}_0}\rVert_{L^\infty(t_0,t_{\mathrm{end}})}^2}. C 3 := 1 − C C 1 ∥ h T 0 ∥ L ∞ ( t 0 , t end ) 2 C C 2 ∥ h T 0 ∥ L ∞ ( t 0 , t end ) 2 . Writing δ k : = max i δ i k \delta^k:=\max_i\delta_i^k δ k := max i δ i k , one obtains for N ∈ N N\in\mathbb{N} N ∈ N that
η T k + N 2 ≤ κ N η T k 2 + C 3 ( t e n d − t 0 ) ( ∑ j = 0 N − 1 ( δ k + N − j ) 2 κ j + ∑ j = 1 N ( δ k + N − j ) 2 κ j − 1 ) . (38) \eta_{\mathcal{T}_{k+N}}^2\le\kappa^N\eta_{\mathcal{T}_k}^2+C_3(t_{\mathrm{end}}-t_0)\left(\sum_{j=0}^{N-1}(\delta^{k+N-j})^2\kappa^j+\sum_{j=1}^{N}(\delta^{k+N-j})^2\kappa^{j-1}\right). \tag*{(38)} η T k + N 2 ≤ κ N η T k 2 + C 3 ( t end − t 0 ) ( j = 0 ∑ N − 1 ( δ k + N − j ) 2 κ j + j = 1 ∑ N ( δ k + N − j ) 2 κ j − 1 ) . (38) Proof. (34) , (35) and (36) follow by arguments analogous to those presented in § 2.1 . For (37) we use (36) combined with Lemma 6.1 to obtain
η T k + 1 2 ≤ ( q r e d + C C 1 ∥ h T k ∥ L ∞ ( t 0 , t e n d ) 2 ) η T k 2 + C C 1 ∥ h T k ∥ L ∞ ( t 0 , t e n d ) 2 η T k + 1 2 + C C 2 ∥ h T k ∥ L ∞ ( t 0 , t e n d ) 2 ( ∑ i = 0 # T k − 1 ∣ T i k ∣ ( δ i k ) 2 + ∑ i = 0 # T k + 1 − 1 ∣ T i k + 1 ∣ ( δ i k + 1 ) 2 ) . \eta_{\mathcal{T}_{k+1}}^2\le\left(q_{\mathrm{red}}+CC_1\lVert h_{\mathcal{T}_k}\rVert_{L^\infty(t_0,t_{\mathrm{end}})}^2\right)\eta_{\mathcal{T}_k}^2+CC_1\lVert h_{\mathcal{T}_k}\rVert_{L^\infty(t_0,t_{\mathrm{end}})}^2\eta_{\mathcal{T}_{k+1}}^2
+CC_2\lVert h_{\mathcal{T}_k}\rVert_{L^\infty(t_0,t_{\mathrm{end}})}^2\left(\sum_{i=0}^{\#\mathcal{T}_k-1}|T_i^k|(\delta_i^k)^2+\sum_{i=0}^{\#\mathcal{T}_{k+1}-1}|T_i^{k+1}|(\delta_i^{k+1})^2\right). η T k + 1 2 ≤ ( q red + C C 1 ∥ h T k ∥ L ∞ ( t 0 , t end ) 2 ) η T k 2 + C C 1 ∥ h T k ∥ L ∞ ( t 0 , t end ) 2 η T k + 1 2 + C C 2 ∥ h T k ∥ L ∞ ( t 0 , t end ) 2 ( i = 0 ∑ # T k − 1 ∣ T i k ∣ ( δ i k ) 2 + i = 0 ∑ # T k + 1 − 1 ∣ T i k + 1 ∣ ( δ i k + 1 ) 2 ) . Choosing a sufficiently fine initial mesh such that C C 1 ∥ h T k ∥ L ∞ ( t 0 , t e n d ) 2 η T k + 1 2 CC_1\lVert h_{\mathcal{T}_k}\rVert_{L^\infty(t_0,t_{\mathrm{end}})}^2\eta_{\mathcal{T}_{k+1}}^2 C C 1 ∥ h T k ∥ L ∞ ( t 0 , t end ) 2 η T k + 1 2 can be shifted to the other side and such that κ < 1 \kappa<1 κ < 1 yields the result. (38) follows by consecutive application of (37) .
The interpretation of Lemma 6.2 is the following. Provided that the defects admit a uniform bound independent of the underlying mesh, the adaptive algorithm reduces the error estimator up to this defect bound. This is exactly the desired behavior in the present application.
Generalization to blackhigher-order schemes
The generalization of the error estimator to the higher-order schemes introduced in § 2.2 and 3.2 is not immediately clear. The preceding section provides some motivation to take an error estimator based on the residual of Φ ( q T ) \Phi(q_T) Φ ( q T ) . We will investigate the performance of this choice in the numerical experiments.
Numerical Experiments
We now illustrate the adaptive schemes for the model problems covered by the analysis and for the applications discussed above.
In the following experiments, the estimator is chosen according to the problem and the discretization order. Whenever the assumptions of the analysis are satisfied, we use the corresponding estimator introduced above: (5) and (18) for the first-order scheme, and (15) and (21) for higher-order schemes with affine right-hand sides. The L 2 L^2 L 2 -based indicators are combined with Dörfler marking, while the L ∞ L^\infty L ∞ -based indicators are combined with maximum marking. For nonlinear problems treated with higher-order schemes, which lie outside the scope of the optimality analysis, we use the residual R = ∂ t y T − F ( y T ) R = \partial_t y_T - F(y_T) R = ∂ t y T − F ( y T ) to define the local indicators
η T ( T ) : = ∥ R ∥ L 2 ( T ) and η T ∞ ( T ) : = ∥ R ∥ L ∞ ( T ) . \eta_T(T) := \lVert R\rVert_{L^2(T)} \qquad\text{and}\qquad\eta_T^\infty(T) := \lVert R\rVert_{L^\infty(T)}. η T ( T ) := ∥ R ∥ L 2 ( T ) and η T ∞ ( T ) := ∥ R ∥ L ∞ ( T ) .
This choice is motivated by Lemma 2.1 and the discussion in § 4 . The corresponding experiments therefore investigate the applicability of this approach beyond the proven setting. For regularized dynamical parametric approximation, we use (33) for the first-order scheme and higher-order derivatives of Φ ( q T ) \Phi(q_T) Φ ( q T ) for higher-order schemes, analogous to (33) and (15) . Where indicated, the chosen indicators are further normalized according to (23) or (24) .
Heat equation
Our first benchmark example is the heat equation,
∂ t u − Δ u = f , on [ 0 , 1 ] × Ω , \partial_t u - \Delta u = f,\qquad\text{on } [0,1]\times\Omega, ∂ t u − Δ u = f , on [ 0 , 1 ] × Ω ,
u ( 0 ) = u 0 . u(0) = u_0. u ( 0 ) = u 0 .
with Ω = ( 0 , 1 ) 2 \Omega= (0,1)^2 Ω = ( 0 , 1 ) 2 , and homogeneous Dirichlet boundary conditions on ∂ Ω \partial\Omega ∂ Ω . We semidiscretize this problem in space by a conforming P1 finite element space on a uniform triangulation of Ω \Omega Ω , with mesh width h = 1 / 10 h = 1/10 h = 1/10 . This yields a linear ODE, which fits into the discussion above. We choose the right-hand side f = 0 f = 0 f = 0 , take u 0 u_0 u 0 as the L 2 ( Ω ) L^2(\Omega) L 2 ( Ω ) -projection of the constant function 1 onto the chosen finite element space and t e n d = 1 t_{\mathrm{end}} = 1 t end = 1 . We apply our scheme (2) with p = 1 p = 1 p = 1 and p = 2 p = 2 p = 2 , θ ∈ { 0.5 , 0.99 } \theta\in\{0.5, 0.99\} θ ∈ { 0.5 , 0.99 } and use both the Dörfler marking and maximum strategy for refinement with the corresponding error estimators. Figure 2 compares adaptive and uniform temporal refinement for p = 1 p = 1 p = 1 and p = 2 p = 2 p = 2 . The adaptive results exhibit decay consistent with the reference rates (# T ) − p \#\mathcal{T})^{-p} # T ) − p and attain smaller estimator and error values at comparable numbers of time intervals. Figure 3 presents the corresponding experiments with the confidence-normalized indicators. Starting from coarse temporal meshes, the adaptive indicators initially exhibit a plateau, followed by decay consistent with the respective reference rates. The actual errors are omitted, as they cannot be meaningfully displayed during the preasymptotic phase.
Van-der-Pol equation: influence of
μ \mu μ
The Van-der-Pol equation is a standard toy problem to test robust time-stepping methods. It is stated as
∂ t x = y , ∂ t y = μ ( y ( 1 − x 2 ) − x ) , \partial_t x = y,\qquad\partial_t y = \mu(y(1-x^2)-x), ∂ t x = y , ∂ t y = μ ( y ( 1 − x 2 ) − x ) ,
where μ \mu μ determines the stiffness of the system. We choose ( x ( 0 ) , y ( 0 ) ) = ( 1 , 1 ) (x(0), y(0)) = (1,1) ( x ( 0 ) , y ( 0 )) = ( 1 , 1 ) and test the robustness of the adaptive algorithm equipped with the confidence-based estimator with respect to μ \mu μ . We solve the equation on the interval [ 0 , 3 ] [0,3] [ 0 , 3 ] . We investigate the influence of μ \mu μ using the second-order scheme with μ ∈ { 100 , 1000 } \mu\in\{100,1000\} μ ∈ { 100 , 1000 } and the third-order scheme with μ ∈ { 1000 , 10000 } \mu\in\{1000,10000\} μ ∈ { 1000 , 10000 } . Adaptivity is driven by the confidence-normalized residual indicators introduced in § 4 . Figure 4 compares adaptive and uniform refinement, with both Dörfler and maximum marking considered for the third-order scheme. Over the displayed range, adaptive refinement produces substantially smaller normalized residual indicators than uniform refinement at comparable numbers of time intervals. For larger values of μ \mu μ , clear estimator decay begins at larger numbers of time steps. The dashed lines indicate the reference rates ( # T ) − p (\#\mathcal{T})^{-p} ( # T ) − p . Note that our schemes are explicit and still produce reasonable results. For large values of μ \mu μ , the system becomes stiff and explicit methods require a very fine initial grid. This manifests itself in a growth of the preasymptotic phase, which can become computationally infeasible for many practical problems. In such cases, one should rely on implicit adaptive methods to compute accurate solutions with a reasonable number of time steps. We refer to the seminal book [24 ] or [16 ] for a corresponding algorithm.
Figure 4. Van der Pol problem: confidence-normalized residual indicators versus the number of time intervals # T \#\mathcal{T} # T for adaptive and uniform refinement, with orders p = 2 , 3 p = 2, 3 p = 2 , 3 , marking parameter θ = 0.5 \theta= 0.5 θ = 0.5 and varying stiffness parameter μ \mu μ . Adaptive refinement uses Dörfler marking in (a)–(c) and (e), and maximum marking in (d) and (f). The dashed lines indicate the reference rates ( # T ) − p (\#\mathcal{T})^{-p} ( # T ) − p .
(a)
(b)
(c)
(d)
(e)
(f)
Figure 2. Heat equation: estimators and corresponding errors versus the number of time intervals # T \#\mathcal{T} # T for adaptive and uniform refinement. The top row (a)–(c) shows results for p = 1 p=1 p = 1 , and the bottom row (d)–(f) shows results for p = 2 p=2 p = 2 . Adaptive refinement uses Dörfler marking in (a) and (d), and maximum marking in (b)–(c) and (e)–(f). The dashed lines indicate the reference rates ( # T ) − p (\#\mathcal{T})^{-p} ( # T ) − p .
Transport problem with varying coefficients
We consider the one-dimensional transport equation
∂ t y ( x , t ) = c ( x ) ∂ x y ( x , t ) , for x ∈ ( − π , π ) . (39) \partial_t y(x,t)=c(x)\partial_x y(x,t), \qquad\text{for } x\in(-\pi,\pi). \tag*{(39)} ∂ t y ( x , t ) = c ( x ) ∂ x y ( x , t ) , for x ∈ ( − π , π ) . (39)
Along the boundary, we enforce periodic boundary conditions. We note that this model problem violates the assumed Lipschitz continuity that is required for the op timality of the proposed adaptive time-stepping scheme. The experiment is therefore designed to test the proposed methodology outside of the theory that we provide within this manuscript. Rigorously showing an optimality result for the following adaptive procedure is therefore left for future work. We use the regularized dynamical approximation of § 6 , which constructs the approximation Φ ( q ( t ) ) \Phi(q(t)) Φ ( q ( t )) . To observe some challenging dynamics in the solution, we use the initial condition and coefficient
Figure 3. Heat equation: confidence-normalized indicators versus the number of time intervals # T \#\mathcal{T} # T for adaptive and uniform refinement, with orders p = 1 , 2 p = 1, 2 p = 1 , 2 . Adaptive refinement uses Dörfler marking in (a)–(b) and maximum marking in (c)–(d). The dashed lines indicate the reference rates ( # T ) − p (\#\mathcal{T})^{-p} ( # T ) − p .
y 0 ( x ) = exp ( − 20 x 2 ) , c ( x ) = 1 + 2 ( tanh ( x + 0.05 π 0.05 ) − tanh ( x − 0.05 π 0.05 ) ) , (40) \begin{aligned}
y_0(x) &= \exp(-20x^2),\\
c(x) &= 1 + 2\left(\tanh\left(\frac{x + 0.05\pi}{0.05}\right) - \tanh\left(\frac{x - 0.05\pi}{0.05}\right)\right), \tag*{(40)}
\end{aligned} y 0 ( x ) c ( x ) = exp ( − 20 x 2 ) , = 1 + 2 ( tanh ( 0.05 x + 0.05 π ) − tanh ( 0.05 x − 0.05 π ) ) , (40)
which are both smooth but spike relatively sharply around the origin (see Figure 5 ). The dynamics of the evolution problem are therefore relatively simple most of the time, but challenging when the support of the solution at a time intersects with the region around the origin in which the coefficients differ sharply from the rest of the domain.
Figure 5. On the left: convergence plot for the uniform explicit midpoint rule and the adaptive p = 2 p = 2 p = 2 rule for the transport problem with spatially varying, localized coefficients (39) . The plot on the right-hand side shows the coefficient function c ( x ) c(x) c ( x ) and the initial condition.
As the initial parametrization, we fit a neural network architecture that enforces periodic boundary conditions exactly, uses four fully connected hidden layers with the tanh activation function and 10 neurons each, with 461 parameters in total. A more detailed description of the architecture and the fitting process can be found in [20 Section 8.2] .
The parameters are then evolved over time by different regularized parametric approaches. For all experiments, we set the regularization parameter to ε = 10 − 3 \varepsilon= 10^{-3} ε = 1 0 − 3 . First, we consider the regularized parametric explicit midpoint method with uniform step sizes. Second, we consider the parametric variant of the second order Runge–Kutta scheme of Figure 1 with adaptive refinements. We briefly sketch this integrator to define the error indicator used. First, we define
Q i , 1 : = q T ( t i ) , Q i , 2 : = q T ( t i ) + h i 3 q ˙ i , 1 , Q i , 3 : = q T ( t i ) + h i q ˙ i , 1 . Q_{i,1} := q_{\mathcal{T}}(t_i), \qquad Q_{i,2} := q_{\mathcal{T}}(t_i) + \frac{h_i}{3}\dot{q}_{i,1}, \qquad Q_{i,3} := q_{\mathcal{T}}(t_i) + h_i\dot{q}_{i,1}. Q i , 1 := q T ( t i ) , Q i , 2 := q T ( t i ) + 3 h i q ˙ i , 1 , Q i , 3 := q T ( t i ) + h i q ˙ i , 1 .
where q ˙ i , s \dot{q}_{i,s} q ˙ i , s for s = 1 , 2 , 3 s = 1, 2, 3 s = 1 , 2 , 3 solves
δ i , s 2 : = ∥ Φ ′ ( Q i , s ) q ˙ i , s − F ( Φ ( Q i , s ) ) ∥ 2 + ε 2 ∥ q ˙ i , s ∥ 2 \delta_{i,s}^{2} := \lVert\Phi'(Q_{i,s})\dot{q}_{i,s} - F(\Phi(Q_{i,s})) \rVert^{2} + \varepsilon^{2}\lVert\dot{q}_{i,s} \rVert^{2} δ i , s 2 := ∥ Φ ′ ( Q i , s ) q ˙ i , s − F ( Φ ( Q i , s )) ∥ 2 + ε 2 ∥ q ˙ i , s ∥ 2
is minimal.
Then, for t ∈ T i = [ t i , t i + 1 ] t \in\mathcal{T}_i = [t_i,t_{i+1}] t ∈ T i = [ t i , t i + 1 ] ,
q T ( t ) = q T ( t i ) + ( t − t i ) ( 3 2 q ˙ i , 2 − 1 2 q ˙ i , 3 ) + ( t − t i ) 2 2 q ¨ i , q ¨ i : = 3 2 h i ( q ˙ i , 3 − q ˙ i , 2 ) . q_{\mathcal{T}}(t) = q_{\mathcal{T}}(t_i) + (t-t_i)\left(\frac{3}{2}\dot{q}_{i,2} - \frac{1}{2}\dot{q}_{i,3}\right) + \frac{(t-t_i)^2}{2}\ddot{q}_i, \qquad\ddot{q}_i := \frac{3}{2h_i}(\dot{q}_{i,3}-\dot{q}_{i,2}). q T ( t ) = q T ( t i ) + ( t − t i ) ( 2 3 q ˙ i , 2 − 2 1 q ˙ i , 3 ) + 2 ( t − t i ) 2 q ¨ i , q ¨ i := 2 h i 3 ( q ˙ i , 3 − q ˙ i , 2 ) .
In order to approximate the error indicator (21) , we approximate the second temporal derivative by neglecting curvature terms of Φ \Phi Φ , which gives
∂ t 2 Φ ( q T ( t ) ) ≈ Φ ′ ( q T ( t ) ) [ q ¨ i ] . \partial_t^2\Phi(q_T(t)) \approx\Phi'(q_T(t))[\ddot{q}_i]. ∂ t 2 Φ ( q T ( t )) ≈ Φ ′ ( q T ( t )) [ q ¨ i ] .
We then use the following approximate error indicator
η T ∞ ( T i ) = h i 2 ∥ F ( Φ ′ ( q T ( t i ) ) [ q ¨ i ] ) ∥ . \eta_T^\infty(T_i) = h_i^2 \left\|F\left(\Phi'(q_T(t_i))[\ddot{q}_i]\right)\right\|. η T ∞ ( T i ) = h i 2 ∥ F ( Φ ′ ( q T ( t i )) [ q ¨ i ] ) ∥ .
We use the maximum marking strategy of Algorithm 3.1 with the marking parameter θ = 0.9 \theta= 0.9 θ = 0.9 . The initial temporal mesh for adaptive refinement decomposes the time interval [ 0 , 10 ] [0,10] [ 0 , 10 ] into N = 500 N = 500 N = 500 time steps.
The exact solution, the numerical approximation with 2000 uniform explicit midpoint steps, and the adaptive approximation with 988 time intervals are shown in Figure 6 . In the final plot of that figure, we show the refinements chosen by the adaptive algorithm. The algorithm refines mostly when the initial mass interacts with the spike of the coefficients c c c . Some refinements are further chosen just in the region mirroring the region where the coefficients spike (i.e., are translated by half of the length of the interval π \pi π ). This is not an artifact of the boundary, since the boundary is invisible to the parametrization (which enforces the periodic boundary conditions by setting the input nodes to sin ( x + b i ) \sin(x+b_i) sin ( x + b i ) for fitted biases b 1 , … , b 10 b_1,\ldots,b_{10} b 1 , … , b 10 ). Instead, this seems to be a consequence of the parametric map Φ \Phi Φ and the specific network architecture chosen for this experiment.
Figure 6. Solution of the transport equation (39) with the localized coefficient spike shown in Figure 5 , together with different numerical approximations. The borders of the region where the coefficients c c c spike are marked by dotted lines.
As a result, the adaptive approximation is already free of visual artifacts and reaches an accuracy that requires roughly 10 times as many steps with the explicit midpoint rule, as is observed in the left plot of Figure 5 .
Time-series latent ODE
An example where a neural ODE network structure has several benefits is the reconstruction of dynamics from (irregular) samples in time, as laid out in [6 Section 5] . The authors introduce a continuous-time generative approach to modeling time series and present an example which aims to reconstruct spirals, given in polar coordinates by
r 1 ( t ) = 0.3 ϕ ( t ) , r 2 ( t ) = 0.3 50 21 − ϕ ( t ) , ϕ ( t ) = t , t ∈ ( 0 , 20 ) . r_1(t) = 0.3\phi(t), \qquad r_2(t) = 0.3\frac{50}{21-\phi(t)}, \qquad\phi(t) = t, \quad t \in(0,20). r 1 ( t ) = 0.3 ϕ ( t ) , r 2 ( t ) = 0.3 21 − ϕ ( t ) 50 , ϕ ( t ) = t , t ∈ ( 0 , 20 ) .
We adapt this example by focusing on the spiral given by r 1 r_1 r 1 , and adjusting it such that it is traversed very rapidly in a certain time window. To achieve this, we choose
ϕ ( t ) = t + 5 tanh ( t − 10 a ) , a ∈ { 0.05 , 0.5 } . \phi(t) = t + 5\tanh\left(\frac{t-10}{a}\right), \qquad a \in\{0.05,0.5\}. ϕ ( t ) = t + 5 tanh ( a t − 10 ) , a ∈ { 0.05 , 0.5 } .
This introduces a localized region of rapid variation in the observed trajectory around t = 10 t = 10 t = 10 and therefore provides a suitable example for our adaptive procedure. We do not change the model architecture used in the paper. The loss function used to train the model is the evidence lower bound (ELBO) , commonly used in Variational Autoencoders [18 ] . First, we investigate how adaptive algorithms can improve training of such latent ODE models. This is done by fixing a number of time steps n max n_{\max} n m a x both for inference and backpropagation, and comparing the efficiency of training with adaptive and uniform methods with n max n_{\max} n m a x nodes. The results are shown in Figure 7 and Figure 8 . One observes advantages when using our adaptive solver compared to a fixed-grid method of the same order. The advantage is more pronounced when a small value of n max n_{\max} n m a x is prescribed. In all experiments that investigate the training, the third-order method from Figure 1 is used. We give a qualitative picture of the reconstruction abilities of both trained models in Figure 8 . The difference between adaptive and uniform refinement in training can also be observed there. After training, we investigated the convergence rate of the adaptive algorithm when applied to both the forward pass through the latent ODE and the backward pass, i.e., solving the adjoint problem (29) . We observe that for the forward pass, the adaptive third-order method can retrieve its convergence order, while the uniform method only gives a reduced order of convergence. This is even more pronounced in the backward pass, where both adaptive schemes (p ∈ { 2 , 3 } p \in\{2,3\} p ∈ { 2 , 3 } ) converge with the optimal convergence rates, in stark contrast to uniform refinements. The results are shown in Figure 9 .
Figure 7. Average ELBO loss versus the number of iterations. The solvers used for inference and backpropagation use n max = 10 n_{\max}=10 n m a x = 10 in (a) and n max = 20 n_{\max}=20 n m a x = 20 in (b). Both the difference (adaptive–uniform) and the ratio (adaptive/uniform) are depicted. Note that ELBO has a negative sign. a = 0.05 a=0.05 a = 0.05 in the definition of ϕ \phi ϕ .
Figure 8. (a): Performance of the adaptive training method applied to a spiral with a = 0.5 a=0.5 a = 0.5 in the definition of ϕ \phi ϕ . (b): A qualitative picture comparing reconstructed spirals after training. Here, too, a = 0.5 a=0.5 a = 0.5 .
Figure 9. The explicit adaptive schemes of orders p ∈ { 2 , 3 } p \in\{2,3\} p ∈ { 2 , 3 } with η T ∞ \eta_{\mathcal{T}}^{\infty} η T ∞ used for mesh refinement applied to both the forward and backward passes of the neural ODE. Note that in the backward pass, the estimator values for the second order scheme are multiplied by 10 for better visibility. θ = 0.5 \theta= 0.5 θ = 0.5 in all runs.
Declaration of AI use. AI tools were used to assist in coding, identifying mistakes, typographical errors, inconsistencies and to improve the wording of the manuscript. The authors take full responsibility for its content.