Formal verification of iterative convergence of numerical algorithms

02/11/2022
by   Mohit Tekriwal, et al.
0

Physical systems are usually modeled by differential equations, but solving these differential equations analytically is often intractable. Instead, the differential equations can be solved numerically by discretization in a finite computational domain. The discretized equation is reduced to a large linear system, whose solution is typically found using an iterative solver. We start with an initial guess, x_0, and iterate the algorithm to obtain a sequence of solution vectors, x_m. The iterative algorithm is said to converge to solution x if and only if x_m converges to x. Accuracy of the numerical solutions is important, especially in the design of safety critical systems such as airplanes, cars, or nuclear power plants. It is therefore important to formally guarantee that the iterative solvers converge to the "true" solution of the original differential equation. In this paper, we first formalize the necessary and sufficient conditions for iterative convergence in the Coq proof assistant. We then extend this result to two classical iterative methods: Gauss-Seidel iteration and Jacobi iteration. We formalize conditions for the convergence of the Gauss–Seidel classical iterative method, based on positive definiteness of the iterative matrix. We then formally state conditions for convergence of Jacobi iteration and instantiate it with an example to demonstrate convergence of iterative solutions to the direct solution of the linear system. We leverage recent developments of the Coq linear algebra and mathcomp library for our formalization.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
03/25/2021

A formal proof of the Lax equivalence theorem for finite difference schemes

The behavior of physical systems is typically modeled using differential...
research
02/04/2021

Certifying Differential Equation Solutions from Computer Algebra Systems in Isabelle/HOL

The Isabelle/HOL proof assistant has a powerful library for continuous a...
research
11/29/2022

A novel convergence enhancement method based on Online Dimension Reduction Optimization

Iterative steady-state solvers are widely used in computational fluid dy...
research
09/05/2023

Subspace Acceleration for a Sequence of Linear Systems and Application to Plasma Simulation

We present an acceleration method for sequences of large-scale linear sy...
research
10/31/2022

On the Geometry Transferability of the Hybrid Iterative Numerical Solver for Differential Equations

The discovery of fast numerical solvers prompted a clear and rapid shift...
research
02/14/2021

Optimal design of optical analog solvers of linear systems

In this paper, given a linear system of equations A x = b, we are findin...
research
03/01/2017

Systematic Generation of Algorithms for Iterative Methods

The FLAME methodology makes it possible to derive provably correct algor...

Please sign up or login with your details

Forgot password? Click here to reset