Alphabeta Math
TheoremStatement: Literature-sourcedProof: AI-adaptedPipeline-generatedprecheck pass
How statement and proof provenance work

The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.

  • Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
  • AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
  • AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.

These labels describe origin, not correctness: citations and verification chips remain separate evidence.

Uniform random insertion gives expected O(n log n) location work

Statement

For a full-dimensional planar input in general position, augmented by a fixed supertriangle so the full set is also in general position, a uniform random permutation, the local insertion updates, and history DAG of Randomized planar point location by a history DAG give expected O(nlog⁡n) total point-location work in the exact-predicate-call model. Triangle creation and DAG storage have expected O(n) size. A conservative worst-case bound for all location walks is O(n3); no randomized expected bound is asserted for nonuniform or adversarial insertion orders.

Facts & Assumptions

Given: n distinct planar sites in general position, a fixed augmented supertriangle with three hull vertices, a uniform random permutation, and the history-DAG insertion algorithm.

[F1]

Randomized planar point location by a history DAG: a face split creates three triangles, every flip creates two triangles incident to the inserted site, and each replaced triangle node has at most three outgoing pointers.

[F2]

Exact planar insertion terminates with a weak empty-circle triangulation: after each insertion the augmented triangles are the common formal lift's d=2 lower simplices; removing synthetic vertices gives a weakly empty-circle triangulation of the input hull.

[F3]

A planar triangulation has linearly many triangles and edges: for m vertices and k hull sites, a planar triangulation has T=2m−2−k triangles and E=3m−3−k edges.

[F4]

The lifted determinant records a power-sphere side: for a nondegenerate triangle, the lifted determinant sign is the oriented power-distance side of its circumcircle.

[A1]

The insertion order is uniform over all n! permutations; every exact orientation or incircle predicate call and each constant-size DAG child test costs one unit. The input and augmented set have no three collinear sites and no four cocircular sites.

Proof

1.1givenF1F3A1algebra

Let Sr be the unordered set of the first r input sites, and let pr be the last site among them. Conditional on Sr, pr is uniform on Sr. The augmented triangulation has m=r+3 vertices and its fixed hull has k=3 sites, so [F3] gives Tr=2r+1 and Er=3r+3. The conditional expected degree of uniform pr equals the average input-site degree, hence is at most (2Er)/r=6+6/r≤12. The number of final triangles incident to pr is its degree. During local legalization, the initial face split creates three triangles and each flip adds two triangles while increasing that degree by one; if the final degree is dr, at most 2dr−3 triangle nodes are created in that stage. Thus expected DAG nodes per stage are at most 21, and the DAG has expected O(n) nodes.

1.2A1F1F2algebra

Fix a stage r and condition on Sr. Let kr(q) count the triangles of its Delaunay triangulation whose circumdisks contain a future site q, and let kr(q,pr) count those also incident to pr. Since the triangulation Tr is determined by the unordered set Sr, it is fixed under this conditioning. Each triangle has at most three input vertices, so uniformity of pr gives E[kr(q,pr)∣Sr]≤3kr(q)/r. The new final triangles are exactly those of Tr incident to pr, and therefore E ⁣[∑Δ∈Tr∖Tr−1∣K(Δ)∣ | Sr]=∑q∉SrE[kr(q,pr)∣Sr]≤3r∑q∉Srkr(q).

2.1F1F2step 1.1algebraalgebra

Count first the triangles in the final Delaunay triangulations Tr that are created at a stage; for such a triangle Γ, let K(Γ) be the set of later input sites strictly inside its circumdisk. A DAG walk visits only triangle nodes containing its query: a split's children partition the replaced triangle, and a flip's two linked children together cover each of the two replaced triangles. If a visited node is destroyed by a face split, it is the old Delaunay triangle Γ being split; the query lies inside it and hence in K(Γ). If it is destroyed by a flip, the flip removes an old Delaunay triangle Γ whose circumdisk contains the inserted site, together with one triangle incident to that site. The latter triangle lies in the same disk because its vertices are in the disk and the disk is convex. Charge either visited node to Γ. Each old Γ is deleted once and is paired with at most one inserted-site triangle, so it receives at most two charges per query. Consequently the total number of visits is O(n+∑Γ∣K(Γ)∣).

2.2A1F2F3F4step 1.1step 1.2algebra

Conditional on Sr, the next site q=pr+1 is uniform among the n−r remaining sites, so ∑q∉Srkr(q)=(n−r)E[kr(pr+1)∣Sr]. Every old triangle's plane supports all sites in Sr by [F2]. By [F4], a future site is strictly inside its circumcircle exactly when its lifted point is formally below this plane; augmented general position excludes equality. Thus precisely the triangles counted by kr(pr+1) cease to support after the insertion, and [F2] returns the new lower triangulation, so this count is exactly the number of old triangles destroyed. The hull remains the same supertriangle, so [F3] gives Tr+1−Tr=2; the number destroyed is the number of final triangles created minus 2, hence at most that number. After averaging over Sr, the set Sr+1 is a uniform (r+1)-subset and pr+1 is uniform within it; step 1.1 bounds the expected number of final triangles created by 12. Thus E[kr(pr+1)]≤12, and averaging step 1.2 gives a stage-r expected conflict sum at most 36(n−r)/r.

3.1F1step 2.1step 2.2algebra

Summing the bound of step 2.2 over r=1,…,n−1 gives at most 36n∑r=1n−11/r=O(nlog⁡n). Step 2.1 then bounds expected DAG traversal work by O(nlog⁡n). The located face is passed to INSERT and verified with at most four exact orientation calls per insertion; the update does not run the triangle scan, so this adds only O(n) predicate calls. Triangle updates and storage are expected O(n).

4.1F1step 1.1algebra∎

At stage r the augmented triangulation has r+3 vertices, so the inserted site's degree is at most r+2. By step 1.1, which counts at most 2dr−3 new triangle nodes when the final degree is dr, each stage creates O(r) nodes and the whole DAG has O(n2) nodes. Each of n queries visits at most all those nodes, with at most three child tests per node by [F1]. Thus worst-case total location work is O(n3). The count is in exact predicate calls; arbitrary-precision bit cost is not included.

Depends on

Used by

Nothing in the library uses this result yet.

Cited to discharge well-definedness by Randomized planar point location by a history DAG.

Dependency tree · two levels

14 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.

Sources