02.20: one piece of a certificate for a differential equation whose field is a vector of expressions in the state and some parameters. On [0,h] the approximate path and the parameters are polynomials with rational coefficients. The checker computes, by rational arithmetic only, a box holding every state within r of the path and every parameter within η of its polynomial; each field coordinate's Lipschitz constant on that box; and the defect at the M+1 points of a uniform grid, with the change between neighboring points bounded by the polynomials' slopes and curvatures. Its soundness theorem gives the two hypotheses of the enclosure theorem on the piece: the defect is at most ε at every time, and the field is K-Lipschitz on the tube of width r. No mind.
02.20: the largest value of f over a list, and at least zero.
Equations
- MindFormal.listMax L f = List.foldr (fun (a : α) (acc : ℚ) => max (f a) acc) 0 L
Instances For
02.20: the data of one piece: its length h, the tube's width r, the parameters' tolerance η, the claimed Lipschitz constant K and defect bound ε, the grid's number of cells M, and the path's and parameters' polynomials in the time since the piece began.
Instances For
02.20: how far a polynomial can move over [0,h].
Equations
- d.travel cs = MindFormal.pabs (MindFormal.pderiv cs) d.h * d.h
Instances For
02.20: the box: each state variable within its path's travel plus r of the path's start, each parameter within its travel plus η of its start.
Equations
Instances For
02.20: the variables' values at a rational time of the piece.
Equations
- d.env x = Sum.elim (fun (v : S) => MindFormal.qeval (d.path v) x) fun (v : P) => MindFormal.qeval (d.param v) x
Instances For
02.20: the defect of field coordinate c at a rational time: the path's derivative minus the field at the path and the parameters.
Equations
- d.defect F c x = MindFormal.qeval (MindFormal.pderiv (d.path c)) x - MindFormal.RExpr.evalQ (d.env x) (F c)
Instances For
02.20: a bound on every path coordinate's curvature over the piece.
Equations
- d.curve Svars = MindFormal.listMax Svars fun (v : S) => MindFormal.pabs (MindFormal.pderiv (MindFormal.pderiv (d.path v))) d.h
Instances For
02.20: THE PIECE CHECKER, by rational arithmetic only. Each field coordinate is defined on the box with Lipschitz constant at most K; at each grid cell [x_j, x_{j+1}] the mean of the two end defects plus half the cell's possible change, plus K·η for the parameters' tolerance, is at most ε.
Equations
- One or more equations did not get rendered due to their size.
Instances For
02.20: the path read in the reals at local time x.
Equations
- d.pathR x v = MindFormal.reval (d.path v) x
Instances For
02.20: the path's derivative at local time x.
Equations
- d.velR x v = MindFormal.reval (MindFormal.pderiv (d.path v)) x
Instances For
02.20: the parameters' polynomials at local time x.
Equations
- d.paramR x v = MindFormal.reval (d.param v) x
Instances For
02.20: the field read in the reals, at parameters π and state z.
Equations
- MindFormal.fieldR F π z c = MindFormal.RExpr.eval (Sum.elim z π) (F c)
Instances For
02.20: at every time of the piece, a state within r of the path and parameters within η of theirs lie in the box.
02.20: soundness of the piece checker. If it passes (with lists that name every state variable and every parameter), then at every time x of the piece and for parameters π within η of their polynomials: the path's defect against the field is at most ε, and the field is K-Lipschitz on the tube of width r around the path.