# Two witnesses on a bounded-degree curve Let `A` be a set of `n` planar points, and let `m` of them lie on a prescribed real algebraic curve of degree at most `D`. For every `eta>0`, the number of unit circles that use two distinct points on this curve and a third point anywhere in `A` is `O_(D,eta)(min(m^2, m n^(7/8+eta) + n sqrt(m)))`. The statement also allows the two points to come from different irreducible components of the prescribed curve. As a consequence, all circles with a witness chord on any irreducible real curve of degree at most `D` containing at least `n^(2/5)` points of `A` together number `O_(D,eta)(n^(15/8+eta))`. This simultaneously removes an entire family of algebraic supports from a putative quadratic example. A partition of `A` into arbitrarily many pieces on curves of degree at most `D` likewise contributes only `O_(D,eta)(n^(15/8+eta))` circles with two witnesses from the same piece. ## Reductions Counting the pairs on the prescribed curve gives `O(m^2)`. We may assume `m>=sqrt(n)` when proving the second bound, because otherwise the first bound is smaller. Factor the prescribed curve over the complex numbers. Components without a smooth real point contribute only `O_D(1)` real points, by intersecting non-real components with their conjugates and using the singularity bound for real components. A selected pair using one of these exceptional points, or any singular point of the remaining components, costs `O_D(m)` circles. Assign every other point to just one component containing it. We prove the bound for each of the `O_D(1)` ordered patterns of two complex-irreducible real components `C_1,C_2` with smooth real points. Their witness sets `B_1,B_2` each have size at most `m`. Choose one qualifying triple per counted circle. We may remove circles containing a diameter pair anywhere in `A` at a total cost of `O(n^(4/3))` by the [unit-distance bound](https://trotter.math.gatech.edu/papers/44.pdf). This is absorbed by `m n^(7/8)` when `m>=sqrt(n)`. We may also remove circles tangent at either of the first two witnesses to its assigned support. There are at most two such centers per smooth point. The removals allow us to use the per-pattern estimate of the [algebraic support proof](algebraic-curve-supports.md) and its [circle and line case](circle-and-line-supports.md) when the third witnesses also lie on a bounded number of algebraic supports. ## Composition curves for generic pairs of third witnesses In this section all varieties are over the complex numbers. Write `v^2=v_1^2+v_2^2` and `Gamma_r(p)={z:(z-p)^2=r^2}`. If two distinct affine points admit a common center for radius `r`, there are at most two such centers. An isotropic difference between the points admits no such center. This follows either by subtracting the two circle equations or by writing `(z_+-p_+)(z_--p_-)=r^2` in the two isotropic coordinates. Any three distinct affine points on one such circle are noncollinear, since a line meets the irreducible conic in at most two points. They determine the center uniquely. Take `p,q` outside `C_1 union C_2`. The composition relation records `a in C_1`, `b,b' in C_2` and centers `x,y` with `a,b,p in Gamma_1(x), a,b',q in Gamma_1(y), a!=b, a!=b'`. Write `W_(p,q)` for this locally closed variety. For fixed `b`, there are at most two choices for `x` from `b,p`, then `O_D(1)` choices for `a`, then at most two choices for `y` from `a,q` and `O_D(1)` choices for `b'`. Bézout applies at both steps on a prescribed support because any unit circle coinciding with a support would contain `p` or `q`, which are outside both supports. The same bounded fiber statement holds over `b'`, and there are also boundedly many witnesses for fixed `a,p,q`. Thus `W_(p,q)` has dimension at most one. Its components, and their image closures in `(b,b')`, number `O_D(1)` and have degrees bounded in terms of `D`. Zero-dimensional components can be counted separately at a cost of `O_D(1)` tuples per parameter pair. For generic `(p,q)`, every curve component of `W_(p,q)` is birational to its image closure in `(b,b')`. To prove this, consider the collision variety over all `(p,q)` in which `a` and a different `a' in C_1` both give witnesses for the same `b,b'`. Record the two possible witness centers on each of the `p` and `q` sides, one for `a` and one for `a'`. If the two centers on the `p` side are distinct, then for fixed `a,a',b` they have only boundedly many choices, and `p` is on the intersection of their distinct unit circles. This gives at most one dimension for `b`, and zero further dimensions for `p`. If the two centers are equal, the common circle is one of at most two through `a,a'`. It gives only boundedly many choices for `b`, since it cannot be the support `C_2`. Now `p` has at most one dimension on the common circle. The same alternatives for the `q` side give at most one dimension altogether for `b',q` and the centers on that side. Since `a,a'` give at most two dimensions, the total collision variety has dimension at most four. The parameter space `(p,q)` has dimension four. Outside a proper algebraic exceptional set the collision fibers are finite. Hence for generic `(b,b')` on each image curve there is just one `a`, and its two centers are unique. This proves birationality in characteristic zero. The exceptional set of `(p,q)` is contained in the zero locus of a nonzero real polynomial `E(p,q)` of degree bounded in terms of `D`. Here and below the bounded-degree statements about parameter loci follow from uniform elimination over algebraically closed fields with the coefficients of `C_1,C_2` treated as parameters. Explicitly, the fibers of a formula of bounded complexity have a uniform Bézout bound on their finite cardinalities. The condition that a fiber has more distinct points than that bound is a formula with a bounded number of quantified variables and detects exactly the positive-dimensional fibers. Quantifier elimination describes it by a bounded number of equalities and inequalities of bounded degree, also after specialization of the support coefficients. If the resulting constructible set is contained in a proper closed set, each nonempty piece in a disjunctive normal form is cut out in part by a nonzero equation. Their product gives a bounded-degree polynomial containing the set. We can use the product with its coefficient conjugate to make it real. The same argument applies to other one-parameter exceptions below. ## Each projected curve occurs with bounded multiplicity For generic `p`, the intersection `C_2 intersect Gamma_2(p)` consists of at least two distinct affine smooth points, with each intersection transverse. In isotropic coordinates the projective closure of `C_2` in `P^1 times P^1` has bidegree `(d,d)` for some `d>=1` by reality, and the radius-two circle has bidegree `(1,1)`. The intersection number is `2d`. Centers meeting an affine singular point lie on a fixed circle. The points at infinity of `C_2` impose finitely many linear conditions on the center and the point with both isotropic coordinates infinite is never on the circle closure. A tangency to a smooth point requires a signed unit normal and there are at most two such normals per point. Thus tangency centers have dimension at most one. These degeneracies, and `C_1 union C_2` itself, may be excluded by one nonzero real polynomial in the third-point parameter of bounded degree. The considerations about infinity and tangency here work for line and circle supports as well. For such a `p`, consider the two possible unit-circle centers `x` through a generic point `b in C_2` and `p`. Over the function field of `C_2` the center belongs to the quadratic extension obtained by adjoining `sqrt((4-T)/T)`, where `T=(b-p)^2`. The two centers are `(b+p)/2 ± R(b-p) sqrt((4-T)/T)/2`, where `R` is rotation by `pi/2`. Every intersection point of `C_2` with `Gamma_2(p)` is a simple zero of `4-T` at which `T=4`. Therefore the extension is a field and the corresponding double cover is ramified over each of those points. Any curve component of `W_(p,q)` dominates `C_2` in its `b` coordinate by the bounded fiber property. Its function field contains that quadratic extension because it remembers `x`. For good `(p,q)` its image closure `D_(p,q)` in `C_2 times C_2` remembers the same field by birationality. On smooth projective normalizations the projection to the first `C_2` thus ramifies over every point of `C_2 intersect Gamma_2(p)`, since ramification indices multiply. The analogous statement holds for `q` and the second projection. Each projection has only `O_D(1)` branch values by Riemann–Hurwitz. The degrees of the maps are bounded by the fiber bound, and the genera of these image curves are bounded by their degrees, using a generic birational plane projection. Each possible `p` must be a radius-two center through some two distinct points in the first branch set, so there are only `O_D(1)` possibilities. The second branch set similarly gives only `O_D(1)` choices for `q`. This bounds the number of occurrences of any image component over all good pairs. ## Counting incidences and removing exceptional parameters Let `L_D` be a fixed constant at least the degree of the parameter polynomial `E(p,q)` and of the single-parameter exceptional loci. Include among the single-parameter exceptions the values of `p` where `E(p,.)` is identically zero. This last locus is proper because at least one polynomial coefficient in the second variable is nonzero. The required degrees are bounded only in terms of `D`. Place all third witnesses in these single-parameter exceptions into one class on a bounded-degree curve. From the remaining third witnesses greedily remove disjoint classes on real algebraic curves of degree at most `L_D` that contain at least `R_0=ceil(n^(3/4))` of the remaining points. Factor the supports of these classes and assign their points to components as before. This gives `O_D(1+n/R_0)` curve classes of sizes `r_j`, with `sum_j r_j<=n`. Singular and other exceptional point classes contribute `O_D(m(1+n/R_0))` circles, by pairing each third point with a point of `B_1`. Circles tangent at a third point to its assigned smooth support contribute at most `2n`. On the other circles the earlier [three-support estimate](algebraic-curve-supports.md) applies to each pattern `(C_1,C_2,C_j)`. Its second term is at most `m sqrt(n)` per class, since the median of the three set sizes is at most `m`. The exceptions when all supports are the same line or circle add at most one circle per class. Thus the total number removed is at most `O_D(m^(8/7) n R_0^(-3/7) + m sqrt(n)(1+n/R_0) + n)`. We used `sum_j r_j^(4/7) <= O_D(n R_0^(-3/7))`. Both main terms are `O_D(m n^(7/8))` when `m<=n`. Write `P` for the remaining set of third witnesses. Each `p in P` gives fewer than `R_0` choices of `q in P` with `E(p,q)=0`. Thus there are `O(nR_0)` bad pairs. Each contributes at most `O_D(m)` tuples by the bounded fiber property over `a`. Let `T` count the remaining triples `(a,b,p)` with `a in B_1`, `b in B_2`, `p in P` on a unit circle. An ordered triple determines its center. Cauchy–Schwarz over `a` shows that `T^2/m` is at most the number of composition tuples, including bad pairs. For good pairs, the points of the incidence problem are `(b,b') in B_2 times B_2`, and the curves are the image components in `C_2 times C_2`. For a fixed pair and a fixed image point there are only `O_D(1)` witnesses by the fiber bound over `b`. There are `O_D(n^2)` curves, each with bounded multiplicity. Components not invariant under conjugation contribute only `O_D(1)` real points each, by intersecting with their distinct conjugates. This and the zero-dimensional images cost `O_D(n^2)` tuples. Use one generic real linear projection from the affine four-space of `(b,b')` to a plane. It is injective on the finite grid, maps each curve birationally to a plane curve and separates the distinct image components. One way to see the latter two properties together is to consider pairs of distinct points on the finite union of curves. For each such pair, the projections identifying them have codimension two in the space of linear maps. The pair space has dimension at most two. A generic map therefore identifies only a finite set of pairs on this union, which suffices for both properties. All original incidences are preserved. The retained image curves have irreducible real equations and degree `O_D(1)`. The plane curves belong to an algebraic family of dimension at most four and bounded complexity. Indeed for fixed supports and projection the incidence formula gives a constructible image of dimension at most one for each `(p,q)`. A bounded-degree irreducible plane polynomial is one of its curve components if and only if its zero set meets that constructible image in infinitely many points. This condition is expressible with a bounded number of quantified points, as above, and irreducibility at bounded degree is also expressible by excluding the finitely many factor degree patterns. The coefficient vectors occur in projective coefficient space. Each parameter pair gives only boundedly many such vectors, so their constructible family and its closure have dimension at most four. Uniform elimination bounds the complexity of that closure. Real vectors used for the incidence theorem belong to a real algebraic set with the same dimension bound, by taking the union of the closure and its conjugate if needed. [Sharir and Zahl, Theorem 1.3](https://arxiv.org/abs/1604.07877) bounds incidences between `M` planar points and `N` distinct curves in this family by `O_(D,eta)(M^(1/2) N^(7/8+eta) + M^(2/3) N^(2/3) + M + N)`. With `M<=m^2` and `N=O_D(n^2)`, including the exceptional contributions gives `T^2/m = O_(D,eta)(m n^(7/4+2eta) + m^(4/3) n^(4/3) + m^2 + n^2 + m n R_0)`. Taking square roots proves the claimed bound. All previous removals are absorbed when `m>=sqrt(n)`. ## Summing over many supports At populations greater than `D^2`, an irreducible real curve must be irreducible over the complex numbers. Otherwise its real points lie in the intersection of two conjugate factors. For a collection of distinct complex-irreducible curves of degree at most `D`, every two share at most `D^2` points. If each contains at least `K_D sqrt(n)` points of `A`, with `K_D>sqrt(2)D`, their total population is `O_D(n)`. Indeed for `I` incidences and `k` curves, Cauchy–Schwarz on point degrees gives `I^2/n <= I+D^2 k(k-1)`. Now `k<=I/(K_D sqrt(n))` gives the result. The bound above for one curve is `O_(D,eta)(m n^(7/8+eta))` in this range, and summing costs `O_(D,eta)(n^(15/8+eta))`. For the intermediate range `n^(2/5)<=t<=K_D sqrt(n)`, let `k_t` count the irreducible curves of degree at most `D` meeting `A` in a dyadic population range `[t,2t)`. For sufficiently large `n`, the family is finite by Bézout, since any `D^2+1` common points identify at most one irreducible curve in the family. These curves lie in the full coefficient families of dimensions at most `s=binom(D+2,2)-1` for `D>=1`. Apply the same Sharir–Zahl theorem between `n` points and `k_t` curves. Its first term is `O_(D,eps)(n^(2s/(5s-4)) k_t^((5s-6)/(5s-4)+eps))`. Using `t k_t <= I` and taking `n` sufficiently large gives, for any `eta>0`, `k_t = O_(D,eta)(n^(s+eta)/t^((5s-4)/2) + n^2/t^3 + n/t)`. To get the first term choose the exponent loss small in terms of `D,eta` and solve the first term of the incidence inequality for `k_t`, using `t>=1`. The smaller-dimensional coefficient families can be included by homogenizing to degree `D`. Counting at most `O(t^2)` circles for each curve in the range gives `O_(D,eta)(n^(8/5+eta) + n^2/t + nt)`, because `s-(2/5)(5s-8)/2=8/5`. Summing the dyadic ranges is absorbed by `O_(D,eta)(n^(15/8+eta))`. This proves the simultaneous removal claim. Finally for a partition of `A` into curve pieces, sum the elementary `O(m^2)` bound for pieces below `sqrt(n)` and `O_(D,eta)(m n^(7/8+eta))` for the others. The total of the piece populations is `n`, giving the stated bound for same-piece witness chords. Problem credit goes to [Erdős Problems #104](https://www.erdosproblems.com/104).