# 45. Interval certificates and simultaneous curve topology

Dive 19, 2026-09-08. **Question:** what can computation prove about an implicit curve, and what
extra work preserves an arrangement of several curves?

Read [44](44_curve_sampling_topology.md) for the distinction between distance and topology.
`[T]` marks source results in adapted notation; `[D]` marks derivations here, not novelty.
The source cards distinguish selected-section reading from full proof verification.

## 1. A finite grid can miss a whole component

On B=[0,1]² define `[D]`

\[
F(x,y)=(x-\tfrac12)^2+(y-\tfrac12)^2-\tfrac1{16}.
\]

At every corner F=7/16>0, but F(1/2,1/2)=−1/16. Its zero set is a complete circle of radius 1/4
inside B. Looking only for sign differences between box corners finds none. A finite collection
of function evaluations is not a whole-box exclusion proof.

An **inclusion interval**, denoted I_F(B), contains {F(p):p∈B}. Thus

\[
C_0(B):\quad 0\notin\mathcal{I}_F(B)\quad\Longrightarrow\quad F^{-1}(0)\cap B=\varnothing.
\]

The converse does not hold: an interval containing zero leaves the test inconclusive. Interval expressions may
be wider than the true range. For x∈[−1,1], the expression x−x+1 evaluates naively to [−1,3],
although the function is identically 1. Dependency is lost when repeated occurrences are treated
as independently ranging. Algebraic form and subdivision affect tightness without changing truth.

For the circle example, square-aware rational interval evaluation gives exactly [−1/16,7/16].
It correctly refuses to exclude the box. It does not yet certify the number of components.
Floating point interval arithmetic needs outward rounding or another proved enclosure mechanism;
ordinary rounded endpoints plus an arbitrary tolerance do not supply inclusion.

## 2. Plantinga–Vegter uses a pairwise gradient condition

`[T]` Plantinga and Vegter consider smooth implicit curves with 0 a regular value: ∇F is nonzero
at every zero of F. In the planar construction, start with a square containing the bounded curve
and convergent inclusion bounds for F and its derivatives. Subdivision stops locally if C_0 holds
or if

\[
C_1(B):\quad \mathcal{I}_{\nabla F}(B)\cdot\mathcal{I}_{\nabla F}(B)>0.
\]

The lower endpoint must be strictly positive. Crucially, the expression encloses
**∇F(p)·∇F(q) for every p,q∈B**, not just ||∇F(p)||² for one p. Gradient directions then make
angles smaller than π/2. With the interval-box predicate at least one coordinate derivative
is bounded away from zero, giving a consistent graph direction in the box. The archived paper's
algorithm and formula were visually checked on physical p.4 (printed p.247). [SRC: plantinga-2004-isotopy]

**Why squaring is different `[D]`.** Take F(x,y)=y−x² on x∈[−1,1]. Its gradient intervals are
G_x=[−2,2], G_y=[1,1]. A same-point squared norm is at least 1 everywhere. But independent
interval multiplication gives

\[
G_xG_x+G_yG_y=[-4,4]+[1,1]=[-3,5].
\]

Indeed, the endpoint gradients (2,1) and (−2,1) have dot product −3. Replacing G_xG_x with the
specialized square [0,4] would incorrectly certify this **pairwise** predicate. The curve is
regular and is a graph; the stronger test simply fails on this large box. A failed sufficient
condition is not evidence of singularity.

For shrinking boxes, continuity and convergent bounds eventually certify exclusion away from
the curve, or positive pairwise gradient products near a regular zero. This is the mechanism
behind termination under the source assumptions. A box containing a singular zero, where F=0
and ∇F=0, cannot pass either test. A depth cap must return an unresolved region instead of
silently treating a stopped computation as certified.

## 3. Local predicates are only part of the global theorem

`[T]` The planar algorithm also balances the quadtree, handles its edge subdivisions, uses
sign conventions for zero-valued vertices, and connects output vertices according to specific
rules. The source's Theorem 4.1 (physical p.5, printed p.248) establishes isotopy for the resulting
polygonal approximation, under the algorithm and hypotheses as a whole. Neighboring cell sizes
differ by at most a factor of two; a quadtree cell can have more than four edge pieces.
The proof handles multiple crossings along an edge through curve excursions and deformations.
[SRC: plantinga-2004-isotopy]

This is a **global** guarantee. It does not say that the output inside every individual leaf
is isotopic to the true curve restricted to that same leaf. Excursions may move across cell
boundaries. Burr and Byrd explicitly revisit this distinction (physical p.3).
[SRC: burr-2024-simultaneous]

Consequently:

- A C_0 leaf is certified empty of the zero set.
- A C_1 leaf satisfies a sufficient regularity condition; it need not contain a zero.
- A complete global meshing theorem requires the rest of the specified algorithm.
- Topological correctness alone does not establish a requested positional tolerance or mesh quality.

The original paper discusses accuracy refinement and singularity limitations in physical pp.9–10.
This dive read the planar proof discussion, not the full three-dimensional correctness proof.
No surface-meshing claim or production implementation is certified here.

[Study 10](../experiments/10_geometry_certificates.py) implements exact rational interval
classification for the hidden circle. It intentionally stops before balancing and mesh construction.
Its checked predicates are certificates for its polynomial boxes; its colored quadtree is not
an implementation of the complete Plantinga–Vegter mesher.

## 4. Individually correct curves can have an incorrect arrangement

**Counterexample `[D]`.** On −1≤x≤1, compare the labeled pair

\[
A_1:\ y=0,\qquad A_2:\ y=x^2-a^2
\]

with

\[
B_1:\ y=0,\qquad B_2:\ y=x^2+a^2,\quad 0<a<1.
\]

A_1 and A_2 intersect transversely at x=±a; B_1 and B_2 do not intersect. The second graph moves
vertically by 2a², so its Hausdorff distance from the first is at most 2a². The translation
H_t(x,y)=(x,y+2ta²) is an ambient isotopy taking A_2 to B_2; the first curve can individually
remain fixed. But there is no **single** ambient homeomorphism taking both labeled curves to
their proposed replacements. For an injective map h,

\[
h(A_1\cap A_2)=h(A_1)\cap h(A_2).
\]

Two intersection points cannot become an empty intersection. Separate deformation certificates
are incompatible here. This remains an arbitrarily small positional perturbation as a→0.
For implicit equations f_1=y and f_2=y−x²+a², the gradient determinant is 2x; its magnitude at
the crossings is 2a. Each example has transverse crossings, but the family approaches tangency.
An assertion of transversality without a quantitative stability margin does not provide a
uniform perturbation budget across this family.

The segments have endpoints and are therefore not applications of the closed-curve Crust theorem.
They are explicit arrangement counterexamples; no source algorithm is claimed to have produced them.

## 5. What simultaneous certification adds

`[T]` Burr and Byrd's archived arXiv:2302.04908v2 develops subdivision for simultaneous isotopic
approximation. The general setting uses integer-coefficient bivariate polynomials defining
nonsingular curves, pairwise transverse intersections, and no triple intersections. Its pairwise
predicate, on physical p.6, excludes parallel gradients even at different points:

\[
C_1^{\times}(B):\quad
0\notin\mathcal{I}_{\det(\nabla f_1,\nabla f_2)}(B\times B).
\]

The separate arguments p,q matter, just as they do for the single-curve gradient dot product.
This is stronger than merely checking a nonzero determinant at a numerically found intersection.
It controls possible crossings in a region. The algorithm also uses neighborhood predicates,
extra subdivision, balancing and intersection/connection bookkeeping. Its tests cannot be
replaced by a determinant sampled only at a cell center. [SRC: burr-2024-simultaneous]

For two curves, Theorem 24 on physical pp.15–16 assumes a rectangle R with integral corners,
nonsingular curves in R, transverse intersections, and no common intersection on its boundary.
The conclusion is a simultaneous ambient isotopy on a set U containing R for Algorithm 2's
output. Retain that region qualification; it is not an unqualified assertion that a prescribed
rectangle boundary is fixed pointwise. The theorem statement and surrounding construction were
read, not every subsequent proof or the full complexity analysis.

The archived v2 is dated July 25, 2024 in arXiv metadata; its PDF footer says July 29, 2024.
A separate arXiv entry, 2407.16911, was withdrawn as an administrative duplicate pointing to
2302.04908. That is not evidence that the mathematical result was retracted. The source card
records this distinction and does not count the duplicate as another independent source.

## 6. A tractable certificate with both error and isotopy

`[D]` Suppose a scalar curve is already known globally as y=g(x), g∈C²[a,b], with |g''|≤M.
Let p be its piecewise linear interpolant on a partition of maximum width h. On one interval
[x_i,x_{i+1}], the scalar interpolation remainder is

\[
g(x)-p(x)=\frac{g''(\xi)}2(x-x_i)(x-x_{i+1}),
\quad\Rightarrow\quad \|g-p\|_\infty\leq\frac{Mh^2}{8}.
\]

For interior x, subtract from g−p a suitable multiple of (z−x_i)(z−x_{i+1}) so that the resulting
function has three zeros, including x. Two applications of Rolle's theorem give the remainder;
the endpoints have zero error. The product's largest absolute value is h_i²/4. Vertical point
correspondence bounds symmetric Hausdorff distance by the same quantity, though equality need
not hold for arbitrary g.

Set d(x)=p(x)−g(x) on [a,b], extended by zero outside. Interpolation at the endpoints makes this
extension continuous. Then

\[
H_t(x,y)=(x,y+t d(x)),\qquad H_t^{-1}(x,y)=(x,y-t d(x))
\]

is an ambient isotopy of the plane taking the graph of g to that of p. This proves both topology
and a positional upper bound with explicit hypotheses. It is a continuous homeomorphism argument,
not a differentiable deformation claim at polygon corners. For g=x², M=2 and the vertical
interpolation error attains h_i²/4 at each interval midpoint. Study 10 checks that equality with
rational arithmetic. The ambient map moves any other curves too; the proof does not license
independently chosen approximations for a whole arrangement.

## 7. Next investigations and evidence boundaries

A high-value next step is **quantitative robustness near degeneracy**: certified separation,
intersection angles, derivative bounds and distances to singular configurations. These connect
what can be certified to how much perturbation a certificate tolerates. A second step is exact
geometric predicates and outward-rounded interval implementations, with adversarial numerical
cases. Singular curves, tangencies and triple intersections need other methods or explicit
unresolved outputs. These are open directions in this collection, not unsupported generalizations
of the three papers read here.

A geometry certificate concerns a specified mathematical object under its input assumptions.
It does not establish that a fitted implicit function represents an intended image, that viewers
perceive two images as equivalent, or that provenance and rights claims are true.

## Primary sources and local evidence

- [SRC: plantinga-2004-isotopy] Plantinga and Vegter (2004), *Isotopic Approximation of Implicit
  Curves and Surfaces*. [Publisher record](https://diglib.eg.org/items/933d8473-8cd0-4384-8ddf-943530beb8b8);
  [reading card](../library/notes/plantinga-2004-isotopy.md). Repository cover shifts physical page numbers by one.
- [SRC: burr-2024-simultaneous] Burr and Byrd (2024 revision), *Certified simultaneous isotopic
  approximation of curves via subdivision*. [Versioned record](https://arxiv.org/abs/2302.04908v2);
  [reading card](../library/notes/burr-2024-simultaneous.md).
- [Study 10 data](../experiments/results/dive19/study.json), [figure](../experiments/results/dive19/research-study.png).
  All examples are analytic or synthetic. No paper benchmark, human study or full mesher is replicated.

Continued in [47](47_geometric_robustness_margins.md): quantitative crossing sensitivity, Newton–Kantorovich radii and an exact tangency threshold. Whole-domain isolation remains open.
