Alphabeta Math
TheoremStatement: AI-adaptedProof: 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.

Certified clipping returns the exact convex polygon overlap

Statement

Assume Countable Choice. For positive-area convex polygons P,Q⊂R2 with rational vertices, Exact certified clipping of convex rational polygons terminates and returns exactly P∩Q as a cyclic list of rational vertices, with its exact Lebesgue area. Empty intersections and intersections consisting only of a point or segment return area zero. The result can be used as the exact weight ∣P∩Q∣ in Intersection-volume conservative remapping.

Facts & Assumptions

Given: Countable Choice; two finite convex rational polygons with cyclic vertices, exact rational arithmetic, and certified orientation calls.

[F1]

Exact certified clipping of convex rational polygons: the finite exact certificate checks verify the normalized input cycles; each clipping pass traverses the current cyclic list, applies the four inside/outside sign branches, inserts exact crossing points only on strict crossings or crossings with one boundary endpoint, removes consecutive duplicates, and uses the exact shoelace formula.

[F2]

Certified predicate for exact dyadic geometric inputs: on dyadic inputs it returns the exact orientation sign, including zero, and terminates.

[F3]

Intersection-volume conservative remapping: a remap weight is the measure of the exact cell intersection.

[F4]

Every affine hyperplane of Rn, and hence every proper linear subspace, is Lebesgue null: under Countable Choice every affine hyperplane in R2 and every subset of it is Lebesgue null.

[A1]

Countable Choice is assumed for the measure interfaces in [F3] and [F4] (The Axiom of Countable Choice (ACω)).

Proof

1.1F1F2givenalgebra

Clearing one common positive denominator from the three rational points in an orientation test multiplies the determinant by a positive square, so its sign is unchanged and all scaled coordinates are integers. Therefore [F2] returns the exact side classification, including boundary zero, for every clipping pass.

2.1F1step 1.1algebra

The algorithm's finite certificate accepts only a simple counterclockwise cycle whose vertices lie in the closed left half-plane of every directed edge, with any collinear consecutive triple ordered monotonically. Each edge is therefore a supporting boundary segment of the convex hull of the listed vertices; the simple closed cycle with positive area traverses that hull boundary once, so the certified input is the stated convex polygon. Now fix one directed edge of Q and write s(X) for its signed edge determinant. If s(S),s(E)≥0, the whole segment remains and the traversal appends E. If s(S)≥0>s(E), it appends the crossing point; if s(S)<0≤s(E), it appends the crossing point and E; and if both signs are negative, it appends nothing. In either crossing case, s(S)−s(E) has the strict sign of the crossing and is nonzero, and t=s(S)/(s(S)−s(E)) lies in [0,1]. If an endpoint lies on the clipping line, the formula gives that endpoint exactly. Thus each pass returns the cyclic boundary of the preceding convex intersection with this closed half-plane, preserving isolated boundary vertices and degenerate point or segment outputs.

3.1step 2.1given

Induction over the finite edge list of Q shows the final polygon is P intersected with every defining half-plane of Q, hence is exactly P∩Q. Each pass processes a finite list and adds at most two crossings per clip edge, so the finitely many passes terminate.

4.1F1F3F4A1step 3.1algebra∎

The final vertices are rational because every crossing uses rational operations with a nonzero exact denominator. For a nondegenerate simple polygon the shoelace sum equals its signed area; the output is counterclockwise, so this is its nonnegative Lebesgue area. A convex intersection with fewer than three noncollinear vertices is empty or lies in an affine line. By [F4], the line and all its subsets are Lebesgue null, so the returned area is zero in these degenerate cases.

Depends on

Used by

Nothing in the library uses this result yet.

Dependency tree · two levels

31 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