A line in ℝ²: a one-dimensional affine subspace, packaged with a proof that
its direction has rank 1 and that its carrier set is nonempty.
- carrier : AffineSubspace ℝ (Fin 2 → ℝ)
Instances For
Membership of a point in a Line2: belongs to the underlying affine subspace.
Polynomial ham-sandwich theorem for finite sets in ℝ². Given at most D²
finite sets S_i ⊆ ℝ², there is a nonzero polynomial p of total degree at
most D such that for each i, both {x ∈ S_i : p(x) > 0} and
{x ∈ S_i : p(x) < 0} contain at most half of S_i.
Bézout-type bound: the intersection of a line ℓ ⊂ ℝ² with the zero set of a
nonzero polynomial p is finite and has at most deg p points.
The open cell {x : ∀ i, sign(polys i (x)) = σ i} cut out by a sign pattern
σ : Fin k → Bool (with true meaning positive sign and false meaning
negative sign).
Instances For
The polynomial wall is closed, being a finite union of polynomial zero sets.
Bézout bound: the number of intersection points of a line with the polynomial
wall is at most ∑_i deg(polys i).
Inductive step: after appending a polynomial p and the sign true, the
sign-pattern cell sits inside the previous cell intersected with {x : p(x) > 0}.
Inductive step: after appending a polynomial p and the sign false, the
sign-pattern cell sits inside the previous cell intersected with {x : p(x) < 0}.
Iterated polynomial ham-sandwich bisection. For any finite X ⊆ ℝ² and any
k, there exist polynomials polys₀, …, polys_{k−1} (all nonzero) with
deg(polys i) ≤ 2^{⌊(i+1)/2⌋} such that each of the 2^k sign-pattern cells
contains at most |X| / 2^k points of X.
Cell decomposition lemma (Szemerédi–Trotter). For any finite X ⊆ ℝ² and
integer s ≥ 1, the plane decomposes as ℝ² = W ∪ ⋃ᵢ Oᵢ, with the Oᵢ
pairwise disjoint open sets, W closed and disjoint from each Oᵢ, such that
every line meets W in at most C s points and each Oᵢ contains at most
C |X| / s² points of X. Obtained via iterated polynomial bisection.