Manuscript Offprint
arXiv:2611.03096Non-simple Arrangements of Lines and Pseudolines with Many Triangles
ROMAN PARPALAK AND DENIS UTKIN
ABSTRACT. We study affine arrangements of an even number of lines and pseudolines with many triangles. For simple ones, Blanc's bound limits the number of triangular faces to . Adapting the Bartholdi-Blanc-Loisel doubling to the even case, we construct an infinite series of arrangements of (8, 14, 26, 50, ...) straight lines with two triple points and triangles, one more than the simple bound allows.
We obtain exhaustive enumerations of triangle-maximal pseudoline arrangements, simple or not, for even . For the maximum number of triangles, for both lines and pseudolines, is 7, 15, 25, 38, 54; for every optimal arrangement has multiple points. All optimal arrangements for even are realizable by straight lines, except two arrangements of 10 pseudolines, which are not stretchable. For the odd value , no arrangement with 33 triangles exists even with multiple points.
We also obtain even arrangements by adding a line to odd ones. For this again gives one triangle more than the simple bound, in pseudolines up to and in straight lines for and . Doubling these pseudoline arrangements gives members of the series and with the same excess, up to and , respectively; those with and are realizable by straight lines.
These results lead us to conjecture that an arrangement of an even number of pseudolines has at most triangles.
1. INTRODUCTION
1.1. Background. Line and pseudoline arrangements with many triangular faces have been studied by several authors. In the affine setting this is the Kobon triangle problem [1, 2], which asks for the maximum number of triangular faces determined by lines in the plane. A brief survey of the literature and the basic notions is given in our previous paper [3], which deals with enumeration and classification algorithms for triangle-maximal affine arrangements of an odd number of pseudolines. There we also proved that the enumeration algorithms miss no arrangements, obtained the exhaustive enumeration for pseudolines, and found examples up to .
The even case turned out to be harder: its arrangements have a more complicated structure, and, unlike in the odd case, no known upper bound for arbitrary arrangements matches the known examples for any . Consider the bounds first. Roudneff [4] proved that the number of triangles in a projective arrangement of pseudolines satisfies
Date: November 2, 2026. Email: roman@parpalak.com (R. Parpalak), ud1@mail.ru (D. Utkin).
Felsner and Kriegel claim that the proof can be adapted to the affine case [5, Theorem 2(3)]. This gives a bound on the number of triangles in an affine arrangement A of n pseudolines:
Both bounds are stated for arbitrary pseudoline arrangements. For simple arrangements, which have no point where three or more pseudolines cross (multiple points), (1.2) follows from an elementary segment count [3, Subsection 2.3]. The other pseudolines cut each pseudoline into bounded segments, and each segment is a side of at most one triangle. Let be the number of unused segments, which are sides of no triangle. Counting all segments gives
which implies (1.2).
For odd , some simple arrangements have no unused segments and attain (1.2) without rounding. Such arrangements are called perfect. By divisibility, they can exist only for . Their triangles alternate along every pseudoline, and the alternation is consistent across the whole arrangement: in a checkerboard coloring, all triangles are black and all other faces are white [3, Lemma 2.2].
In a simple arrangement with even , the alternation cannot propagate: for every pseudoline , some other pseudoline has an unused segment with an endpoint on [6, Proposition 2.3]. Each such segment serves at most two pseudolines, so . This gives Blanc's bound [6, Corollary 2.4]:
Compared with (1.2), the bound (1.4) loses n/6 triangles, up to rounding, to the n/2 unavoidable unused segments.
In the even case, however, one can no longer restrict attention to simple arrangements. Two examples were already known in which multiple points yield an extra triangle. The arrangement of lines in Figure 1 has 15 triangles, while (1.4) allows only 14. For , an arrangement found by Kabanovich [7] attains (1.4) with 38 triangles, although no simple arrangement has 38 triangles (see Table 4). We found a third example, with 54 triangles, and it was the starting point of this work. Maiorana [8] found it independently while this paper was in preparation. Still, none of these examples attains the general bound (1.2), and the literature gives no intermediate bound for non-simple arrangements.
Thus in the even case triangles cannot be packed with the unbroken alternation of perfect arrangements: parity or multiple points break it. The breaks are reflected in the gap between (1.2) and the known examples, which grows with n. They also affect the computer search: in the perfect case a branch can be discarded at the first break of the alternation, whereas in the even case the search has to work with a budget on the number of triangles (cf. [3, Section 3]).
A further difficulty of the even case is that the known infinite series of even line arrangements are obtained from odd ones [9, 10] by adding a line far from all intersection points [10, 6, 11], and they do not exceed (1.4). No construction was previously known that takes an even arrangement as input. The known odd series are , , [10] and , which we found earlier [12]. Iterative doubling [10], on which these series are based, takes a suitable arrangement of an odd number of lines and produces an arrangement of lines.
1.2. Overview of results. This paper is concerned with maximizing the number of triangular faces in the even case, over simple and non-simple affine arrangements of pseudolines and of straight lines.
We adapt iterative doubling to an even number of lines and apply it to an arrangement of lines. The adaptation temporarily removes one line, applies doubling as many times as needed, and puts the line back. This procedure gives an infinite series of arrangements of lines with one triangle more than (1.4) allows:
The series contains arrangements of lines with triangles. This series (Theorem 2.1, proved in Section 2) constitutes the main part of our results.
Section 3 describes a computer search for pseudoline arrangements, possibly with multiple points. Its results include exhaustive enumerations for and a proof that no arrangement of pseudolines has . This verifies that the maximum numbers of triangles for these are 7, 15, 25, 38, 54. The result extends to straight lines: these maxima are attained by the line arrangements mentioned above and by other known ones. We also checked that no arrangement of pseudolines has , simple or not.
Section 4 describes augmentation, which produces arrangements of an even number of pseudolines from odd ones. Augmenting perfect arrangements of pseudolines gives arrangements that attain (1.4) for (mod 6). For (mod 6), augmentation can exceed (1.4) by one, like the series above. We found such augmentations for .
We found realizations by straight lines of all arrangements, up to isomorphism, given by the exhaustive enumerations of Section 3 for even , except two arrangements of pseudolines. These two are not stretchable (verified by the method of biquadratic final polynomials [13]). Line realizations of augmented arrangements (Section 4) of and pseudolines with 117 and 315 triangles were found as well. All these line arrangements are collected in Appendix B.
We also applied the doubling of Section 2 to pseudolines. Starting from the augmented arrangements with and (Figures B.7 and B.9), we obtained the members with of the pseudoline series and , up to and . Each of them exceeds (1.4) by one. The members with and , with 450 and 1764 triangles, are also realizable by straight lines (Figure B.10 and Table B.4).
These results lead us to conjecture that every arrangement of an even number n of pseudolines satisfies
Section 5 discusses the results and the conjecture.
In the notation of [10], has a special meaning: it is the number of added lines. To avoid confusion, in this section, unlike the others, the number of lines in an arrangement is always denoted by . An arrangement of straight lines in the affine plane is a set of distinct lines, no two of which are parallel. The multiplicity of a point is the number of lines of the arrangement passing through it. A point of multiplicity 2 is called simple, and a point of higher multiplicity is called multiple. An arrangement is simple if all its intersection points are simple.
The lines divide the plane into faces. A face is triangular if it is bounded and its sides lie on exactly three lines of the arrangement. We denote by the number of triangular faces of the arrangement .
Theorem 2.1. For every integer there exists an arrangement of
lines with two triple points and exactly
triangular faces.
2.1. The starting arrangement. Fix an arbitrary integer for which the theorem is to be proved. For the intermediate values , set
Consider the eight lines given by the equations
These equations have three free parameters. We tie them to the target value t:
The remaining two dependent parameters and are defined as follows:
With these equations, the eight lines form an arrangement with 15 triangular faces (Figure 1). The line is horizontal, and the lines intersect it at the points , as the doubling requires [10, Prop. 3.1]. The parameter satisfies the condition under which the doubling can be iterated [10, Remark 3.2]. The slopes of are fixed and equal to , respectively.

FIGURE 1. The starting arrangement (2.3), with 15 triangular faces (5 of them -triangles, hatched) and two triple points and . The values of differ from (2.4) for readability, but the order of intersection points on each line is the same.
The slopes of are set by (2.4) and depend on . The slopes (2.5) of are chosen so that three lines meet at each of two points:
The parameters ensure that after iterations of the doubling all new intersection points lie on one side of the line . This line plays a special role: removing it before the doubling makes the doubling possible, and afterwards the line is restored. We call a triangular face with a side on an -triangle, and write for the number of -triangles of an arrangement.
All lines in (2.3) have finite slope, that is, none of them is vertical. Therefore the order of the intersection points along any line of the arrangement is uniquely determined by the order of their -coordinates, and below the words “to the right” and “rightmost” refer to comparing -coordinates.
Lemma 2.2. The starting arrangement has exactly 15 triangular faces, and 5 of them are R-triangles. After the line R is removed, the arrangement
has exactly two triple points P and Q (and no other multiple points) and 10 triangular faces.
Proof. Figure 1 illustrates the statement, which is verified in Appendix A.5. ☐
We construct the arrangements recursively. The arrangement has been defined above. The arrangement is obtained from by adding the lines given by the conditions of [10, Prop. 3.1] with . By construction, consists of lines. The line is not used in the doublings; after doublings, we add it to . This gives the required arrangement :
containing lines (2.1), for which we prove the statement of the theorem.
2.2. The doubling step. Let n be even, and let the arrangement
be obtained at one of the steps of the construction. Choose coordinates in which
The added lines are those of [10, Prop. 3.1]:
(2.6)
The factor -1 in is the sign of [10, Prop. 3.1], which equals -1 when and meet below , as and in (2.3) do. The result of the first doubling step is shown in Figure 2. From now on, the indices and always run over . The subscript of , , refers to an old line, and the subscript of , , , refers to a new one. Below we compare for different arrangements, so where confusion is possible, we add the arrangement as an argument: .
The lines are numbered in increasing order of their -intercepts, so that . The lines form the special pair. The doubling step imposes the following conditions on :
(D1) the x-intercepts form the grid
(2.7)
in particular, ;
(D2) the slopes of the special pair satisfy ;
(D3) each of the bounded segments of is a side of exactly one triangular face of , and the faces on consecutive segments lie on opposite sides of . Under (D1) and (D2), the point lies below , and its -coordinate lies in the interval .

FIGURE 2. The starting arrangement after the doubling step (2.6), with 54 triangular faces (8 of them -triangles); the triple points are preserved. The slopes are larger in absolute value than in (2.6), since with the actual values the strip (2.16) would be indistinguishable at this scale, but the order of intersection points on each line is the same.
Lemma 2.3 (doubling step). Let be even, and let be a not necessarily simple arrangement satisfying (D1)–(D3). Then
preserves all multiple points of together with their multiplicities, has no new multiple points, and satisfies
The arrangement satisfies (D3) with in place of . If, in addition,
then (after relabeling its lines) satisfies (D1)–(D3) with in place of . Finally,
Proof. The computations in items 1–4 of the proof of [10, Prop. 3.1] rely only on the equations of the lines: on condition (2.7), on the signs of the slopes of the special pair, and on formulas (2.6). These computations do not use the simplicity of the arrangement. Therefore the estimates [10, (3)–(9)], the case analysis 3a–3c, and the resulting strict order of the intersection points on each line remain valid for our A. We restate the results of these computations as the following inequalities. First, by [10, (6)],
Second, by [10, (5)], the y-coordinates of the old intersection points off are bounded away from zero:
where the special pair is excluded from the estimate because the -coordinate of can be arbitrarily close to zero. Third, the case analysis 3a–3c and the estimates [10, (7)–(9)] give the following:
where in case 3c
Hence
Fourth,
Indeed,
The denominator is positive: by [10, (3)]. Both factors and in the numerator have the sign of . For this is [10, (3)] (for the values and have the same sign, and here ). For it follows from . The computation for is similar. Together with the signs of the slopes , this implies that the new lines intersect the special pair strictly above .
Moreover, by [10, (3)], and . The point lies on , and its y-coordinate equals , where . For
However, item 4 of [10, Prop. 3.1] needs a correction. There the signs of the slopes of the special pair are derived from the position of the point relative to . But the position of this point does not determine them: the two lines can also meet on that same side of when their slopes have the same sign (then the x-coordinate of their intersection point lies outside ). Therefore the signs are included in the hypotheses of the lemma as (D2), and everything the proof of [10, Prop. 3.1] derives from the signs, namely , follows from the inequalities (2.15) proved below.
we have , and therefore
Since and for , all intersection points involving at least one line lie in the strip
The threshold is the same as in (2.11). It separates the region where the old intersection points remain from the region where the new points appear.
Extending [10] to the non-simple case requires three more checks.
Old multiple points are preserved. Condition (2.7) gives distinct points , so all intersection points on are simple, and every multiple point of has the form . By (2.11), it lies outside the strip (2.16). This holds for as well: this point lies below , so if it is multiple, it equals for some , and (2.11) applies. All intersection points on the new lines lie in the strip, so no new line passes through a multiple point of , and these points are preserved together with their multiplicities.
No new multiple points appear. A multiple point of on a new line would mean that two intersection points on coincide. But item 4 of the proof of [10, Prop. 3.1] (with (2.15) in place of the signs of the special pair) places the intersection points of with all other lines of at pairwise distinct -coordinates. Also, is the only old intersection point off that may lie in the strip (2.16). Its -coordinate lies in the interval , so by (2.15) no new line passes through it.
Multiple points do not affect the triangle count. By (2.11), the strip (2.16) contains no old intersection points except the intersection points on and possibly . The new lines enter only the faces of that have a side on . By (2.10), the new lines intersect the old ones in the -neighborhoods of the points . By (D3), the triangles with a side on alternate between the two sides of , as they automatically do in a simple arrangement. Therefore inside the strip the arrangement looks the same as in the simple case, and the count from the last paragraph of the same proof carries over unchanged: the new lines cut only the triangles with a side on , and each of them is replaced by triangles; another triangles appear at the two far ends of the strip; there are no other new triangles, and the remaining old ones are preserved. Consequently,
In [10] this is stated with reference to estimates (5) and (6), which do not take the point into account. For this point lies below , while by (2.15) meets above ; for any other line through this point, the point is multiple and lies outside the strip (see above). Hence inside the strip every line of meets on an edge ending on , so every face that enters has a side on .
Strictly speaking, only of the triangles with a side on disappear. The triangle bounded by the special pair is not replaced but remains a face of . It lies below , while by (2.15) the new lines intersect and above and intersect outside the interval , since . Hence no new line crosses its boundary, and therefore no new line enters it. However, new triangles are formed between the lines of the special pair, so this remark does not affect the triangle count. Also, in the intuitive picture (Figure 2), where “thickens” into the set , this preserved triangle does not differ from the disappearing ones.
The argument that each bounded segment of is a side of at least one triangular face of also carries over. A segment cannot be a side of two such faces, since both its endpoints are intersection points of multiplicity 2 (see Lemma C.2). Suppose that the triangles on two consecutive segments of lie on the same side of . Both have a side on the line through the common endpoint of the segments, and this side is the edge of that starts at on that side. Hence the third vertex of both triangles is the other endpoint of this edge, and the three lines through the three consecutive intersection points on meet there. In this is impossible: the points alternate on with the points , and the pair lies between , since . So among any three consecutive points at least one lies on a new line, and the new lines have no multiple points.
Finally,
If (2.8) holds, then, after relabeling, and remain the -intercepts of the special pair, and the others, numbered in increasing order, satisfy (2.7) with in place of . Since the same two lines remain the special pair, condition (D2) and the sign are inherited. The estimate (2.9) follows from , whose right-hand side is less than for . So the minimum is attained at one of the new lines.
Lemma 2.3 describes the doubling without the line , as in [10]. When is restored, the new lines also change the -triangles, and we now count these changes. Since lies far to the right, it cuts off triangles from pairs of lines that meet at their last intersection point.
We call a pair of lines of an arrangement a right wedge (Figure 3) if their common point (the apex) is the rightmost intersection point on each of them. Beyond this point, neither line meets any other line of the arrangement. By (2.7), the rightmost intersection point of the old lines with has -coordinate . For the count of -triangles, the doubling step imposes two more conditions on :
(W1) is a right wedge of ;
(W2) no -triangle of , except the triangle bounded by , , and , meets the strip (2.16).

FIGURE 3. The -triangle at the point in Figure 2 (), enlarged. The line cuts it off from the right wedge . This is the triangle of (W2) at the next step, with in the role of .
The following lemma lists the right wedges of that involve a new line, for . In our series, this case covers all iterations with : . The only remaining case (that is, ) is treated in Lemma A.8.
Lemma 2.4. Let , with , let the arrangement satisfy (D1)–(D3) and (W1), let the slope of the line be negative, and let . Then the right wedges of that involve at least one new line are exactly the pairs
There are of them, and each new line belongs to exactly one. Moreover, satisfies (W1) with in place of and in the role of .
Proof. Among all pairs of new lines , , consider those with . By (2.6), , so
Each of these equalities implies and . For such values the slopes and differ only in the term with . Hence the angle between the lines is small, and they intersect far from the other intersection points of the arrangement. We call such a pair almost parallel. It corresponds to case 3b of [10, Prop. 3.1], and by (2.12) .
For a pair of lines satisfying (2.20), both and are negative, so and . Together with the inequality from [10, (3)], this gives . For a pair of lines satisfying (2.21), both and are positive, and a similar estimate gives , so these intersection points lie far to the left and are not the rightmost points on their lines.
Let , that is, . Then has an almost parallel partner with determined by (2.20): , and , since is odd for (mod 4). All other intersection points of lie in the region : , is bounded by (2.10), and the bounds on the intersection points of with the other new lines are given by cases 3a and 3c of [10, Prop. 3.1]. Therefore the intersection point with -coordinate greater than is the rightmost on . The angle is also negative, and the same argument applies to : its partner from (2.20) is . Hence the pairs (2.17) form right wedges. With (2.20), the condition , which orders the lines in a pair and lists each pair once, reduces to .
Now let , that is, . As shown above, for the almost parallel line from (2.21) we have , so their intersection point lies far to the left. We look for the rightmost of the remaining intersection points on . In case 3c of [10, Prop. 3.1], by (2.12) and (2.13), the intersection with a new line has with . In case 3a, it has exactly . The intersection with an old line lies in the -neighborhood of the point by (2.10). The intersection with is exactly the point .
Since , the sums lie in the interval . For the tangent is negative, and such points lie to the left of zero and hence to the left of . On the interval the tangent increases, so the rightmost point corresponds to the largest sum in this interval. On the grid (2.6) the sums are spaced apart, and the value corresponds to (2.21), that is, to the almost parallel partner, whose intersection point lies far to the left. Therefore the largest available sum is . It corresponds to the partner (if ) and gives
Here we used . By (2.13), the sign of is the sign of the product . For all three factors are positive, since we consider , and ; for we have . Among the intersections of with the new lines, the rightmost neighborhood is that of the point . By (2.10), the intersection of with the rightmost old line falls into the neighborhood of the same point (for the other old lines we have ). Within this neighborhood, for the intersection with lies farther to the right, since its offset is greater than , while the offset of the point is less than in absolute value. It remains to take the line into account. Its intersection point with has -coordinate and lies in none of the neighborhoods listed, so it has to be compared with separately. The values increase with . For we have
so the point lies to the left of the neighborhood of and is not the rightmost point on . For , by the identity ,
so on the line the point is the rightmost. It is the rightmost on as well: the other intersection points on have -coordinates and . Hence is a right wedge, the second pair in (2.19).
The argument with the partner has one exception, , when and there is no partner with the sum . The next available sum gives only . This is to the left of the neighborhood of , which has radius less than , since
Therefore on the line the rightmost intersection point is the one with the old line .
Thus the rightmost intersection point on is the one with the line for , with for , and with for . Accordingly, the right wedges are the pairs (2.18) and the two pairs (2.19). For the pairs (2.18), the argument above suffices: both lines have indices greater than , and the common point of the pair is the rightmost on each of them. The pair has also been checked on both lines.
We check that the common point of the pair is the rightmost on as well. By the hypothesis of the lemma,
The new lines are almost horizontal compared with : by [10, (3)], since the minimum in is also taken over . Hence lies above each line to the left of their common point and below it to the right. Let . The line meets to the right of only if passes below at . So it suffices to show that at the line is the lowest of the new lines.
By (2.6), the line passes at height
at . By (2.10), , so between and the height of each new line changes by less than . Therefore is the lowest at if at it lies below every other new line by more than , that is, by (2.23), if
We split according to the two terms in parentheses:
For we use the identity
By (2.6), , so
and the maximum over corresponds to the minimum of , that is, to :
and the maximum equals . For we have , so the maximum exceeds the values at these indices by
Since [10, Prop. 3.1, item 2] and by [10, (3)],
Therefore, for ,
which proves (2.24). Hence U is the rightmost point on among the intersection points with the new lines.
The old intersection points on lie to the left of U. Indeed, , since both factors in (2.23) are positive for . So passes below the point of , and lies to the right of . By (W1), there are no old intersection points of on to the right of . Hence is the rightmost intersection point of on , and the pair is indeed a right wedge.
Thus the rightmost intersection point is found for each new line, and the indices in (2.17)–(2.19) cover 1, ..., n exactly once: (2.17) gives 1, ..., n/2, (2.18) gives and , and (2.19) gives the remaining 3n/4 and n. By Lemma 2.3, the new lines have no multiple points. Hence each of them has a single rightmost intersection point and belongs to at most one wedge. Therefore (2.17)–(2.19) are all the right wedges that involve at least one new line, and there are exactly of them.
By (2.22), in (W1) the role of with passes to with (Figure 3).
Lemma 2.5. Let , with either or , let the arrangement satisfy (D1)–(D3), (W1), (W2), and let . Suppose also that the slope of the line is at most in absolute value, negative for and positive for , and that the line has the form with . Then is a face of , and in it is replaced by exactly new -triangles, while all other -triangles of remain faces. Consequently,
Moreover, satisfies (W2) with 2n in place of n and in the role of .
Proof. By Lemma 2.4 for and by Lemma A.8 for n = 6, the right wedges of that involve at least one new line are the pairs (2.17)–(2.19) and (A.7), respectively, and each new line belongs to exactly one of them. Other right wedges, formed only by old lines , give no new R-triangles, and we do not consider them.
Step 1. The new -triangles are exactly the triangles that cuts off from these wedges. For each line that belongs to a right wedge, . Indeed, by hypothesis with , and the slopes of all lines in the wedges are at most in absolute value: has slope zero, the slope of is bounded by the hypothesis of the lemma, and the new lines have by , since . The -intercepts in the equations of these lines are less than in absolute value (they are or ), so
The apexes of the wedges in have -coordinates at most . For a pair of new lines, the apex is a point , which satisfies (2.14). For the two pairs with an old line, the apex has -coordinate less than . For the pair with the line , the apex is a point , and by (2.10) and [10, (4)]
For the pair , the apex is the point , and by [10, (3)]
Both expressions are less than for . Therefore intersects the lines of the wedge on the rays to the right of the apex, and the three lines bound a nondegenerate triangle .
This triangle is a face of the arrangement . Indeed, the rays forming the wedge extend to the right from its apex without crossing the other lines. Therefore a line of the arrangement can cross the sides of on and only at the apex itself. But only two lines pass through , since each of these wedges involves at least one new line , and by Lemma 2.3 the new lines have no multiple points. Hence crosses the boundary of at most once (possibly on the line ) and cannot cut off any part of .
Thus closes each of the right wedges into a triangular face of . The same argument applies to the wedge of : its apex is simple, since all intersection points on are distinct by (2.7), and the slopes 0 and are at most 1/2 in absolute value. Hence is also a face of , which proves the first claim of the lemma.
There are no other new -triangles. Indeed, a face of bounded by three lines of is also a face of , since adding lines only subdivides faces. Hence every new -triangle has a side on some new line . This side goes from the intersection point with some line to the point , which lies to the right of all other intersection points on . The side has no intersection points in its interior only if is the rightmost intersection point on . This point is simple by Lemma 2.3 and is the apex of the wedge containing , so is one of these wedges. Hence there are exactly new -triangles. They replace the single face (its side on is crossed by at the point ), which gives an increase of .
Step 2. The old -triangles other than remain faces. Let be an -triangle of other than , and suppose that a new line enters the interior of . The face is convex and bounded, so crosses its boundary at exactly two points. The side of on contains at most one of them, since and intersect once. Hence at least one of these two points lies on a side belonging to some line of . This point is the intersection point , and by (2.16) it lies in the strip . But this point belongs to , and by (W2) does not meet this strip, a contradiction. Thus no new line enters the interior of , and remains a face of .
Step 3. The new -triangles other than avoid the next strip, so (W2) is inherited. Let , and let be the strip , that is, the strip (2.16) for at the next step. For the old -triangles the required condition already holds: by (2.9), , so is contained in the strip , which they do not meet by (W2).
Now let be a new -triangle corresponding to a wedge other than . Its vertices are , and . Neither nor coincides with , so the point is one of the intersection points on , and is the rightmost of them. The vertex is simple, so and . Similarly, . Therefore both factors in parentheses in the equality
are positive, so the slopes and have the same sign. Denote this sign by , so that . Further, by the estimate of Step 1, so , and the same holds for . Thus all three vertices of lie on the same side of .
We estimate their distance from . The slopes of both lines of the wedge are at least in absolute value (both lines differ from ) and at most by the estimate of Step 1, so and
and the same holds for . For the vertex , we take the line of the wedge that is new: each of the wedges except involves a line with . The point lies on , and is the rightmost intersection point on , so by (2.10)
The values increase with , so and
where we used on for the numerator and for the denominator. Hence
Both bounds, and , exceed for , so all three vertices of lie in the half-plane . This half-plane is convex, so the whole triangle lies in it and does not meet the strip .
The triangle , by contrast, meets the strip : two of its vertices, and , lie on the line itself.
We need to count the triangular faces of the arrangement . Lemma 2.6 below shows that the line cuts no triangular face of . Then the numbers of triangular faces of and of -triangles can simply be added.
Lemma 2.6. For each , the line passes through no intersection point of and has no common points with the interior of any triangular face of . Consequently, adding preserves the multiplicities of all points, all triangular faces of remain faces of , and
Proof. Denote by the intersection point of the starting arrangement on the two lines with large slopes . The point is simple in by Lemma 2.2, and hence in all by Lemma 2.3. Set
All intersection points of except lie in . For the intersection points of the starting arrangement, this is Lemma A.5: all points except have both coordinates less than 14 in absolute value, and . An intersection point added at the step with , , lies on at least one new line . Therefore by (2.16) its -coordinate is less than in absolute value, and its -coordinate does not exceed in absolute value. Indeed, for points of the form , the -coordinate is bounded by (2.14). The point has -coordinate with by [10, (3)], and the -coordinate of the point differs from by less than by (2.10), where by (2.7). So in the last two cases the -coordinate is less than in absolute value.
does not enter and contains no intersection points of . In we have
whereas everywhere on . For the point , the difference equals . Hence contains no intersection points of : adding preserves the multiplicities, and all points on in are simple.
Faces without the vertex . A bounded face of a line arrangement is a convex polygon, hence the convex hull of its vertices, and each of its vertices is an intersection point of lines of the arrangement. The set is also convex. Hence a face all of whose vertices lie in lies entirely in and does not meet .
No triangular face has the vertex , for any . Here the lines keep their labels from the starting arrangement. On the line the slope is , so , and the order of the intersection points by -coordinate is opposite to their order by -coordinate. By Corollary A.4, the point is the rightmost intersection point of on , and its neighbor is . Hence is the smallest -coordinate among the intersection points of on other than , and by Lemma A.5. Every new intersection point on , at whatever step it appears, lies in the strip (2.16) of its step. These strips shrink: at step the strip is , where the denominator grows with and the numerator decreases by (2.9). The widest strip corresponds to the step , where by Lemma A.1 and , and gives . Therefore the new intersection points lie above , that is, to the left of it, and the neighbor of on is the same point in all . Similarly, on the slope is , and the order by -coordinate coincides with the order by -coordinate. Here is the leftmost intersection point, and its neighbor is the triple point with . The new intersection points have , so they lie above , that is, to the right of it. A triangular face with the vertex would be bounded by , and a line whose intersection points with both of them are neighbors of . But then and at the same time , a contradiction.
Conclusion. No triangular face of meets , so all of them remain faces of . Conversely, let be a triangular face of without a side on . It is contained in a unique face of . If cut , then would be one of the pieces and would have a side on . Hence does not cut , and . Thus the triangular faces of are exactly the triangular faces of and the -triangles, which gives (2.27).
2.3. Proof of Theorem 2.1. We check that Lemmas 2.3 and 2.5 apply to each , . For , where , we check (D1) on the lines (2.3). The -intercepts of are , that is, with , and for the special pair they are , where by (A.1). Condition (D2) holds: (with -intercept ) and have slopes by Lemma A.1. Finally, we check (D3). By Lemma A.2, the lines cross in the order , and by Appendix A.5 the triangular faces of with a side on are
exactly one on each bounded segment. They alternate between the two sides of : by the argument at the end of the proof of Lemma 2.3, two consecutive triangles on the same side would require three consecutive lines among to pass through one point, while the only multiple points and are not of this form. The transition from to is provided by Lemma 2.3: under condition (2.8), the arrangement satisfies (D1)–(D3) with in place of . At step , condition (2.8) means , which holds since . Therefore the original pair remains the special pair in all , so the signs and carry over as well.
The other hypotheses of Lemma 2.5 also hold. First, , since . Second, the slope of the line is at most in absolute value and has the required sign. For , this line is with positive slope , as required for . For , it is the line of step with and slope , since by (2.9) and Lemma A.1. Its parameter lies in , so and , and by (2.6), . Third, condition (W1) for is Corollary A.3, and the transition from to is provided by Lemmas 2.4 and A.8. Fourth, condition (W2): for the strip (2.16) is by Lemma A.1. By Lemma A.6, the four -triangles other than lie in the half-plane and therefore do not meet the strip, whereas contains the point and meets it. The transition from to is provided by Lemma 2.5.
The arrangement has exactly two triple points , and no other multiple points (Lemma 2.2). By Lemma 2.3, each doubling step preserves the multiple points together with their multiplicities and creates no new ones, and adding does not change multiplicities (Lemma 2.6). Hence has exactly two triple points.
For , let and . By Lemma 2.2,
For , Lemmas 2.3 and 2.5 give
Summing the geometric progressions
and substituting , , we obtain
and therefore, by Lemma 2.6,
Since ,
which is (2.2).
3. MULTIPLE POINTS AND EXHAUSTIVE SEARCH FOR PSEUDOLINES
We now turn from straight line arrangements to the general case of pseudoline arrangements. An arrangement of pseudolines is a collection of unbounded simple curves in the plane in which every two meet exactly once and cross there. Every line arrangement is a pseudoline arrangement, so the maximum number of triangular faces in an arrangement of lines does not exceed its pseudoline analogue :
The only known upper bound for arrangements with multiple points is (1.2), and among the known even arrangements it is attained only for . We wrote a program that enumerates all arrangements with at least a given number of triangles, with vertices of any multiplicity. For the enumeration finishes in reasonable time, and for the program shows that no arrangement has 55 or more triangles. Together with line arrangements attaining them, this gives the exact values , which equal the conjectured bound (1.5). The program does not use the parity of , and for it rules out 33 triangles, so .
3.1. Representing arrangements by words. The search works with a combinatorial representation of arrangements obtained by sweeping. Take a curve that meets every pseudoline exactly once and move it through the arrangement so that it passes the intersection points, or crossings, one at a time. The pseudolines cross the curve in some order, which is a permutation. Passing a crossing changes this permutation, and the sequence of these changes encodes the arrangement.
A straight line sweeps any line arrangement, but for pseudolines a sweep has to be shown to exist. By Goodman's classical theorem, every pseudoline arrangement is isomorphic to a wiring diagram, that is, admits such a sweep [14], [15, Theorem 5.1.4]. However, the theorem concerns the projective plane: the isomorphism need not preserve the line at infinity, and with it the bounded faces and the number . We therefore use the sweeping theorem of Snoeyink and Hershberger [16, Theorem 3.1]: every arrangement in the affine plane, simple or not, can be swept by a pseudoline. Such a sweep takes place in the affine plane, so the wiring diagram it produces preserves the partition of the faces into bounded and unbounded ones.
We have already considered simple arrangements in detail in [3, Subsection 2.1], where a sweep gives a reduced word for the longest permutation , and each letter exchanges two adjacent pseudolines. At a crossing of multiplicity m, the permutations of the allowable sequence [17] before and after it differ by the reversal of a block of m consecutive elements instead of two. We call the positions in these permutations slots and number them from 0 to n - 1. A pseudoline arrangement thus corresponds to a word in the letters
with one letter for each crossing. A letter accounts for the pairs of pseudolines that cross at one point.
A word is any sequence of letters, and a wiring diagram is a drawing of a word. We call its curves wires. The letters act on the current permutation from left to right, starting with the identity permutation. A word is partial if no two wires cross twice in it, and complete if every two wires cross exactly once. Appending letters
V to a partial word W gives an extension WV of W, and V is a continuation of W. A complete extension is a completion of W.
The verdicts of the search need only a word for every arrangement, and the Snoeyink-Hershberger sweep [16] provides one: if the search emits no words, no arrangement of the kind sought exists. In the other direction, every emitted word gives a wiring diagram, which is an example of such an arrangement.
Two consecutive letters and of a partial word commute when they act on disjoint sets of wires, that is, when their blocks of slots do not overlap:
A sweep is free to take commuting letters in either order, so we regard the drawings of words that differ by such swaps as the same wiring diagram. The search removes this commutation freedom and emits one word from each commutation class.
Lemma 3.1 (canonical form). Each commutation class contains exactly one word with no pair of consecutive letters such that , that is, with the block of the second letter entirely to the left of the block of the first. This word is the canonical form of the class.
Proof. The proof follows [3, Lemma 4.7]. Swapping consecutive commuting letters (3.3) either removes a forbidden pair or creates one. Remove forbidden pairs one at a time. Each such swap decreases by one the number of pairs of letters in which the later block lies entirely to the left of the earlier one, so the process terminates. Two forbidden pairs overlap only in a triple abc where the block of c is to the left of the block of b, which in turn is to the left of the block of a. Then the block of c is to the left of the block of a, and either order of swaps leads to cba. By Newman's lemma [18], all words of the class reach the same result.
The search emits only canonical forms: after a letter it forbids the letters with .
One more freedom comes from the sweep rather than from the arrangement: the choice of the start, or “direction”. The start can be chosen so that the first letter begins in slot . This choice, the first-letter fixation, is useful for negative verdicts, where it suffices to search over words with first letter .
Lemma 3.2 (first letter ). Every affine arrangement of pseudolines, with or without multiple points, has a word whose first letter is for some . The canonical form (Lemma 3.1) of this word also begins with .
Proof. Take any sweep of the arrangement . Let be its first letter and the crossing it produces. The sweep passes no crossings before , so the initial curve can be pushed to infinity without touching any crossing. There it runs along consecutive ends of pseudolines, and the order of the wires on it is the order of these ends.
Any consecutive ends contain one end of each pseudoline, since the two ends of a pseudoline are separated by ends on each side. Rotate the initial curve past ends. The new curve still crosses each pseudoline once, and its initial order is a cyclic shift of the old one, with the wires of in slots . The two positions of the initial curve differ only near the ends of the transferred pseudolines, and none of these pseudolines passes through . Hence the wires of still have no other crossings between and , and can be moved across to a curve . This move is the first letter .
Since crosses each pseudoline exactly once, is a pseudoline arrangement, and by [16, Theorem 3.1] it can be swept starting from towards the side of that contains all crossings of other than . Such a sweep uses two kinds of operations: passing an empty triangle, and passing or taking the first ray [16, Lemma 3.1]. The curve already crosses all pseudolines, so it never takes a ray, and the crossings of are passed by the first operation. A triangle in [16] is not a face of the arrangement but the region bounded by the sweep curve and two wires consecutive on it, up to their common crossing. A crossing of multiplicity has such regions, and the sweep passes all of them at once, with one letter [16, p. 356]. The result is a complete word with first letter .
Bringing this word to canonical form removes forbidden pairs as in the proof of Lemma 3.1. The first letter stays in place: moving it would require the block of the second letter to lie entirely to the left of slot 0, which is impossible.
3.2. Counting faces. Euler's formula gives budget constraints for the search
Lemma 3.3. Let be an arrangement of pseudolines. Then the number of its bounded faces is
where the sum runs over all vertices v and is the multiplicity of v.
Proof. The vertices on a pseudoline divide it into bounded segments and two rays. Each vertex lies on pseudolines, so counting the incident pairs “vertex, pseudoline” in two ways gives . The number of bounded edges is therefore
The graph of vertices and bounded edges is connected: vertices and are joined along and through their common point. The rays lie in the unbounded face of this graph, so its bounded faces are the bounded faces of , and by Euler's formula for a connected plane graph their number is , where is the number of vertices. Since every pair of pseudolines crosses exactly once, the total number of pairwise crossings is
and gives
Substituting this into and using , we obtain (3.4).
For a simple arrangement every vertex has , all terms of the sum vanish, and (3.4) gives , the ceiling on the number of bounded faces of any arrangement. The sum shows how many faces multiple points take away: a vertex of multiplicity m destroys bounded faces. Not all of the remaining bounded faces are triangles. Let be the number of bounded faces with sides. Bounded digons do not occur, since two pseudolines cross only once. Then
Every multiple point and every bounded non-triangular face pushes the number of triangles below the ceiling , and the target tolerates a shortfall of at most triangles.
Definition 3.4. We call the budget of the target K and the number
the spending of the arrangement: a vertex of multiplicity spends units of the budget, and each bounded non-triangular face spends one.
Corollary 3.5. Every arrangement satisfies , so if and only if
The budget is shared between multiple points and non-triangular faces. For instance, for and we have ; a vertex of multiplicity 4 takes 3 units, leaving 2 for all non-triangular faces of the arrangement.
A triple point costs only one unit of the budget, so it can pay for itself: for the price of one face and three segments, some of which may be unused, it lets neighboring triangles share a segment. Empirically, the cost of lost faces grows with the multiplicity faster than the possible gain, and the optima contain no points of higher multiplicity (see Table 4).
3.3. Search algorithm. The search builds a word from left to right, one letter per step, and emits exactly the canonical forms with . Define it as the following recursive procedure:
Function Search(W), where W is a partial word:
if S(W) > B, return; // a3 >= K is unreachable
if P(W) = C(n,2), output W and return; // W is complete
else for each letter (g,m) admissible at W, call Search(W·(g,m)).
The search starts from the empty word. Let be the permutation of wire labels obtained from the identity permutation by applying ; that is, is the wire occupying slot after the crossings of . A letter reverses the block . The number of wire pairs already crossed in is , as in (3.6). The word is complete when , and then is the longest permutation . The spending is defined by (3.8) over the vertices of and the bounded faces that has already closed.
A letter is admissible at W if it satisfies all of the following conditions.
The condition can be written as two budget constraints, one from counting faces (3.9) and one from counting segments, in the notation of (C.1) and (C.2). For an arrangement, that is, for a complete word, they are equivalent, but on a partial word they give different prunings, so the search uses both (see Subsection 3.5).
Square brackets index slots. In [3, Section 4] this permutation was written ; the notation is changed to avoid confusion with the triangle count .
(i) and : no two wires of the block have crossed yet, so the letter crosses each pair of them exactly once and produces all pairwise crossings at once.
(ii) : the new vertex of multiplicity produced by destroys bounded faces (Lemma 3.3), and its cost, added to the current spending, has to fit into the budget (3.9). The same condition automatically bounds , so the exhaustive search needs no separate cap on the multiplicity.
(iii) If is nonempty and its last letter is , then . Otherwise the block of lies entirely to the left of the block of , and contains a pair forbidden by Lemma 3.1, so none of its extensions is canonical.
Condition (i) is responsible for correctness. Without it, the search would emit words that correspond to no wiring diagram, since some pair of wires would cross twice. Condition (iii) leaves exactly one word, the canonical form, from each commutation class (Lemma 3.1). Condition (ii) is the budget pruning (P1). The letter adds at least to the spending, and appending letters to a partial word can only increase . So once , every completion of contradicts Corollary 3.5, and the discarded branch contains no words with .
To count the second term of the spending, the search has to know the number of sides of each face. A bounded face of a wiring diagram receives its vertices from letters. We call the current face between the wires in slots and face . A letter that crosses the wires in slots and , that is, whose block contains both slots, closes face and opens a new face . Letters whose block ends at slot or begins at slot touch only one of these wires and give face intermediate vertices. So the number of vertices of every face, and in particular the numbers of triangles and non-triangular faces, can be counted directly from the partial word .
3.4. Prunings from properties of wiring diagrams. Conditions (i)–(iii) alone do not yet give a practical exhaustive search.
Lemma 3.6 (face boundedness). If , that is, the set of wire labels in slots is not yet final, then face closes in every completion of the partial word . Otherwise it closes in no completion. In particular, a face already opened by some letter is bounded if and only if .
Proof. A letter whose block does not contain both slots permutes wires within slots or within slots and does not change the set of labels on the left. Only a letter that closes face can change this set. In the final permutation, slots hold the labels . If the labels on the left are not yet final, their set changes in every completion, that is, face closes. If they are final, then every label on the left exceeds every label on the right. In particular, , now and after every letter that does not close face , so by condition (i) face never closes (cf. [3, Remark B.8]).
The set of labels changes only when face closes, so whether this face is bounded is decided at the moment it opens. A bounded face that already has at least two intermediate vertices will have at least four vertices when it closes. Let be the number of such faces. They are not yet counted in , and each of them adds one to when it closes. This gives a pruning by early non-triangle count (P2): the search discards a branch as soon as , since by Corollary 3.5 the branch contains no words with .
Forced descent of a suffix-maximal wire (P3). In [3, Appendix B.1] we described a pruning based on the forced descent of a wire whose label exceeds the labels of all wires to its right in the permutation. The idea carries over to multiple points, but now only the last slot of the block of the next letter is forced ().
Lemma 3.7 (forced descent). Let be the last letter of a partial word in canonical form. Suppose the wire is not yet in its final slot , and all labels to its right in the permutation are smaller than . Then in every canonical completion of the next letter has the form , that is, its block ends at slot .
Proof. The wire is not yet in its final slot, so some later letter moves it. Let be the first such letter. The block of contains slot but not : all labels to the right of are smaller than , while by condition (i) the block of must be increasing. Hence this block ends at . The letters between and do not touch slot , so each of them lies entirely to the left or entirely to the right of it. A letter to the left of cannot come right after , since the two would form a pair forbidden by Lemma 3.1. So if there are letters in between, the first of them lies to the right of , and the last letter on the right is followed by a letter to the left of or by itself, and these two letters again form a forbidden pair. Hence comes right after .
After the wire occupies the initial slot of its block, and all labels to its right are again smaller than . By induction, the lemma applies to this wire until it reaches its final slot. The multiplicity of the next letter remains arbitrary, so the letters of the descent chain are not determined in advance: for each possible multiplicity the search keeps a single block start .
3.5. Counting segments and the perturbation principle. In the introduction we wrote down the segment balance (1.3) for the simple case. We treated this balance in more detail in [3, Subsection 2.3]. Each of the bounded segments is a side of at most one triangle, since otherwise either simplicity or the requirement that two pseudolines cross only once would be violated (see Lemma C.2). We now consider what changes in the presence of multiple points.
Roudneff [4] described a perturbation principle for multiple points. Multiple points fall into two groups. Points of the first group admit a deformation of the pseudolines near the point that lowers its multiplicity and does not decrease the total number of triangles. For points of the second group, every such deformation decreases this number. Only the latter are of interest, since only they can give more triangles than simple crossings. All such points are reduced in the sense of the following definition.
Definition 3.8. The sectors of a vertex of multiplicity are the faces incident to it. A vertex of multiplicity 3 or 4 is reduced if its sectors that are not bounded triangles form one of the types of [4, Fig. 3.5]. For , each of the two triples of alternate sectors contains at most one such sector. For , there are at most two such sectors, and if there are two, they are opposite. An arrangement is reduced if all its vertices of multiplicity are reduced.
For example, under a deformation a triple point turns into a new triangle, and the faces in three alternate sectors each gain an extra side. The direction of the deformation determines which triple of sectors gains them. At a reduced triple point each triple contains at least two triangular sectors, so every direction of deformation destroys at least these two triangles and creates only one, and the total number of triangles decreases.
Lemma 3.9 (perturbation). If a vertex of multiplicity of an arrangement is not reduced, then there is an arrangement of the same number of pseudolines with and more vertices.
Proof. We carry over Roudneff's proof in the projective plane [4, §3] to the affine setting. In a small disk around , replace the arcs through by an arrangement of arcs with the same endpoints, any two of which cross once. The faces that meet correspond to the sectors of and do not change outside . So boundedness is preserved, and the number of sides can only grow: a sector remains a triangle exactly when its local face in is a wedge of two rays with a common vertex. The new faces lie in and are bounded. Therefore does not decrease if has at least as many bounded triangles as there are destroyed triangular sectors, and the number of vertices grows, since has more than one vertex.
For take from [4, Fig. 3.3, 3.4, 3.1]. For the number of triangles never decreases, and for it decreases only at vertices of the types of [4, Fig. 3.5], that is, at reduced vertices. Roudneff's case analysis uses only which sectors are marked as non-triangular. We apply it with the sectors that are not bounded triangles marked, as in Definition 3.8; an unbounded sector is then never destroyed as a triangle, and the affine count is never worse.
For take the arrangement of Füredi and Palásti [19, Example 2, Property 3]. Its number of projective triangles is , where for and otherwise, and for all (with equality for ). Cut the projective plane along a pseudoline in general position. Each triangle of that this pseudoline crosses gives a wedge, and the triangles it misses remain bounded triangles. Hence there are at least wedges and triangles in total, and there are no more destroyed sectors than new triangles.
Multiple points change the segment balance in two ways. At a vertex of multiplicity , each of the pseudolines through it meets others at once and so loses bounded segments. Moreover, a bounded segment with a multiple endpoint can be a side of two triangles (Lemma C.2). We call such segments double and denote their number by . The segment balance (Lemma C.1) then reads
where is the number of vertices of multiplicity , and compensates for double segments counted twice in .
This is how multiple points get around the bound (1.4) for simple arrangements: the lost segments may be the unused ones that are unavoidable in the simple case, and double segments let triangles share sides. By Lemma 3.9, only reduced multiple points can gain triangles in these ways.
Segment pruning (P4). A discharging argument [20] applied to the segment balance (3.10) for crossings of arbitrary multiplicity leads to the inequality (Corollary C.6). The search abandons a subtree as soon as this inequality can no longer hold.
State table pruning (P5). A hash table stores the state of the search once a subtree has been traversed without finding any word with the target number of triangles . The search skips a node whose state is dominated by a stored one: it has the same permutation and the same , and every completion of it gives at most as many triangles as the same completion of the stored word. Such nodes occur often: for the table alone reduces the search tree by a factor of about 400. In the search for perfect arrangements [3, Section 4], a similar table removed few nodes and made each node more expensive, so we did not use it there.
Doomed-face count (P6). Appendix C.4 extends the early non-triangle count (P2) to all doomed faces, that is, faces that can no longer become bounded triangles.
The justification of these three prunings is considerably longer and subtler than that of the others, and they are harder to implement. We therefore give their details in Appendix C and enable them in the search by a separate run parameter, so that numerical results independent of Appendix C remain available. The parameter does not change the output, as we checked on the exhaustive enumeration for . The theorems of this section for rest only on runs without these prunings.
Pruning of non-reduced arrangements (P7). For a negative verdict, Lemma 3.9 allows the search to consider only arrangements with the largest number of vertices.
Corollary 3.10. Among arrangements of pseudolines with , every arrangement with the largest number of vertices is reduced. It is represented by a word in canonical form with first letter .
Proof. If such an arrangement were not reduced, Lemma 3.9 would give an arrangement with and more vertices. By Lemma 3.2, the arrangement has a word with first letter , and the canonical form of this word also begins with . The vertex produced by the first letter is the first one on each of its pseudolines, so consecutive rays meet at it, and unbounded sectors are incident to them. Hence this vertex has at least non-triangular sectors, while a reduced vertex has at most two. Therefore is impossible: in a reduced arrangement all vertices of multiplicity are reduced.
In particular, the pruning of non-reduced arrangements can be combined with the first-letter fixation, and then only remains.
With the pruning of non-reduced arrangements, the search uses only letters with and discards a branch as soon as the known non-triangular sectors of some vertex of multiplicity 3 or 4 contradict Definition 3.8. A sector counts as non-triangular once its face has closed as a non-triangle or has become doomed (Appendix C.4). The other sectors are either actual triangles or can still become triangles. This rule discards no words of reduced arrangements. Under this restriction the search no longer emits all words. Nevertheless, the output contains all words of maximal length, so it is empty if and only if no arrangement with exists. If the state table pruning is used as well, its entries must also store the word length (Lemma C.14).
3.6. Computational results. We have described the search algorithm and justified its correctness. Its implementation, run instructions, output words and run logs are available in the public repository [21]. It remains to describe the results.
For convenience, we group the restrictions and prunings into four modes (Table 1), each extending the previous one. Each further mode shrinks the search tree but relies on more proofs, and in modes III and IV the search no longer emits all words. A word has one letter per vertex, so the longest words represent the arrangements with the largest number of vertices; mode IV still emits all the longest words of mode III. Running several modes lets us cross-check the outputs and find the shortest chain of proofs behind each result.
Modes I and II emit identical sets of words for . The gain from the prunings of Appendix C grows and reaches a factor of 1283 in the number of tree nodes for . Without mode II the case is out of reach: extrapolating the speed of mode I gives months. However, as increases, the growth of the tree should make the state table less efficient, since its entries are constantly evicted.
In modes III and IV, the first-letter fixation shrinks the tree by another factor of 2.6–3.3, and the pruning of non-reduced arrangements by a factor of 1.3–1.6. For mode IV gains almost nothing in running time, because checking reduced vertices makes each node more expensive, but sampled estimates of subtree sizes for predict a severalfold gain.
The run for used 32 vCPUs of a cloud server. The task was split by 8-letter word prefixes into 107 732 subtrees, and their parallel traversal with a shared 32 GB state table took about 22.6 hours (700 vCPU-hours in total). The other runs in Table 2 were performed single-threaded on a laptop with a 4 GB state table.
The node counts of single-threaded runs are reproducible. In the parallel run for , the total number of nodes (about , Table 2) depends on the order in which the parallel traversal fills the shared state table, so it is nondeterministic. This does not affect the verdict (Remark C.13, which carries over to Lemma C.14).
Theorem 3.11. For even , the maximum number of triangles in an arrangement of n lines with vertices of any multiplicity equals the conjectured bound (1.5), and the same holds for pseudolines:
Proof. Upper bound. The search (Table 2) rules out pseudoline arrangements with . For this is shown by mode I, and for by mode II: these modes emit all canonical words with , and all emitted words have . For this is shown by mode IV: with the target its output is empty, while by Lemma C.14 it would be nonempty if such an arrangement existed. Hence does not exceed the values (3.11), and by (3.1) neither does .
Lower bound. The arrangements of 8 and 14 lines with 15 and 54 triangles are the members of the series of Theorem 2.1 for and . Line arrangements for are shown in Appendix B (Figures B.1, B.4 and B.5). Some of them were known before (for see [7]).
The cases use only mode I and depend neither on Appendix C nor on Lemmas 3.2 and 3.9. The case depends on Appendix C, and the case also on Corollary 3.10, which rests on both lemmas.
The algorithm does not use the parity of in any way. For odd it reproduces the optimal arrangements of our previous exhaustive enumeration [3, Section 7]. We also checked the odd value . It is of interest because the known arrangements of 11 lines have at most 32 triangles, while the bound (1.2)
The server has an AMD EPYC 9845 processor, and the laptop an AMD Ryzen AI 9 HX 370. In single-threaded runs on a partially loaded server, a server vCPU was slower than a laptop core by a factor of 1.4 in mode I, where the speed is limited by the processor, and by a factor of 1.15 in modes II–IV, where it is limited by memory access.
TABLE 1. Search modes. The search emits words with only; the last column shows the subset guaranteed to be emitted.
| mode | restrictions and prunings | justification | guaranteed output |
|---|---|---|---|
| I | canonical form, budget pruning (P1), early non-triangle count (P2), forced descent (P3) | Lemma 3.1, Corollary 3.5, Lemmas 3.6, 3.7 | all canonical words |
| II | I + segment pruning (P4), state table pruning (P5), doomed-face count (P6) | Appendix C, C.1–C.12 | same as I |
| III | II + first-letter fixation () | Lemma 3.2 | a word of each arrangement |
| IV | III + pruning of non-reduced arrangements (P7) | Lemmas 3.9, C.14, Corollary 3.10 | all the longest words of mode III |
TABLE 2. Search runs. For () and the target exceeds the best known by one, and the output is empty; in the other rows is the maximum. In mode IV the total number of words depends on the state table size, but the number of the longest words does not. *Parallel run on 32 vCPUs with a shared state table; its node count is nondeterministic.
| mode | words | longest words | nodes | time | ||
|---|---|---|---|---|---|---|
| 6 | 7 | I | 112 | 32 | 10 222 | <1 s |
| II | 112 | 32 | 3 000 | <1 s | ||
| III | 40 | 10 | 1 028 | <1 s | ||
| IV | 22 | 10 | 643 | <1 s | ||
| 8 | 15 | I | 32 | 32 | 8 321 398 | <1 s |
| II | 32 | 32 | 203 056 | <1 s | ||
| III | 12 | 12 | 74 465 | <1 s | ||
| IV | 12 | 12 | 48 619 | <1 s | ||
| 10 | 25 | I | 2 848 | 1 408 | 79 036 703 322 | 41 min |
| II | 2 848 | 1 408 | 61 604 535 | 12 s | ||
| III | 1 002 | 408 | 23 781 671 | 5 s | ||
| IV | 728 | 408 | 16 326 051 | 4 s | ||
| 11 | 32 | II | 220 | 220 | 597 776 192 | 1.9 min |
| III | 80 | 80 | 229 384 410 | 42 s | ||
| IV | 80 | 80 | 157 657 333 | 42 s | ||
| 11 | 33 | I + () | 0 | 0 | 627 129 383 709 | 5.8 h |
| II | 0 | 0 | 204 761 604 | 33 s | ||
| III | 0 | 0 | 78 929 213 | 12 s | ||
| IV | 0 | 0 | 51 840 705 | 12 s | ||
| 12 | 38 | II | 912 | 384 | 38 999 559 942 | 2.0 h |
| III | 360 | 148 | 11 972 835 436 | 38 min | ||
| IV | 360 | 148 | 8 931 540 630 | 39 min | ||
| 14 | 55 | IV | 0 | 0 | 6 641 676 901 608* | 22.6 h × 32* |
gives . For odd , perfect arrangements (those attaining the upper bound (1.2) without rounding) exist up to , with the only known exception [3, Tables 1 and 4]. To our knowledge, the absence of arrangements with has previously been checked only for simple arrangements [6, 11]. Our exhaustive search covers vertices of arbitrary multiplicity.
Theorem 3.12. No arrangement of 11 pseudolines with vertices of any multiplicity has . Consequently, .
Proof. Upper bound. The search in mode I with the first-letter fixation and the target emitted no words (Table 2). By Lemma 3.2, every arrangement is represented by a canonical form with , and mode I emits all such words with . Hence there are no arrangements of 11 pseudolines with , and by (3.1) no such line arrangements either.
Lower bound. Arrangements of 11 lines with 32 triangles are known, for example the one found by Kabanovich [7].
The proof relies on Lemma 3.2 but not on Appendix C or Lemma 3.9.
Modes II–IV give the same empty output about three orders of magnitude faster than mode I (Table 2). With the target , mode II emits 220 words representing five arrangements, and all of them are simple, as are the optima found for . So for odd all optima are simple.
3.7. Optimal arrangements. Passing from words to arrangements with multiple points requires extending to the non-simple case the -matrix [3, Definition 5.1], which encodes wiring diagrams (cf. Savchuk's table notation [11]). The bijection between commutation classes of words and -matrices [3, Lemma 5.2] and the bijection between -matrices and wiring diagrams representing arrangements [3, Remark 5.3] have to be extended as well. We adapted our deduplication and symmetry analysis programs [3, Section 5] to arrangements with multiple points and present their results as observations. The formal extension requires no new ideas but is lengthy, and we omit it.
The same arrangement is represented by many wiring diagrams, since the direction of the sweep is arbitrary, and each diagram is encoded by a commutation class of words (see [3, Observation 2.1]). A labeling of the pseudolines is determined by three choices: which pseudoline is 0, an end of it, and a direction around infinity. An affine arrangement has such labelings. Each of them gives a wiring diagram, and only one word of its commutation class is in canonical form. An arrangement with symmetry group [3, Definition 5.11] gives canonical words.
To eliminate duplicate words that encode the same arrangement, we repeat the deduplication procedure of [3, Subsection 7.2]. Each word gives an -matrix, to which all Euclidean rotations and reflections and all projective rotations are applied. The lexicographic minima of the resulting -matrices are canonical representatives of the Euclidean and projective equivalence classes (- and -classes) [3, Definitions 5.7 and 5.8]. The result is shown in Table 3.
Each -class turns out to have representatives, that is, an -class is exactly an affine arrangement with unlabeled pseudolines. The sums of the numbers
In the odd case the number of representatives was half as large, [3, Lemma 5.13]: for odd the reflection changes the parity of the generators , and by construction the search of [3, Section 4] emitted only words in which odd generators are in the majority.
TABLE 3. Optimal arrangements and their symmetries. #E and #P are the numbers of Euclidean and projective classes, is the symmetry group of an affine arrangement, that of its projective closure [3, Definition 5.10]; means four classes with group .
| words | words, | #E | #P | ||||
|---|---|---|---|---|---|---|---|
| 6 | 112 | 40 | 6 | 6 | |||
| 8 | 32 | 12 | 1 | 1 | |||
| 10 | 2848 | 1002 | 72 | 70 | |||
| 12 | 912 | 360 | 19 | 19 |
of representatives over all -classes are 112, 32, 2848 and 912, and, as they should, they equal the total numbers of emitted words. Words with first letter form only part of the output, but by Lemma 3.2 they represent all arrangements, and their deduplication gives the same -classes.
Only three optima have affine symmetries: two with for (Figure B.1) and one with for (Figure B.4). The projective closure can be more symmetric: for and some arrangements without affine symmetries have . For , two projective classes each contain two optimal affine arrangements, so the 72 -classes give 70 -classes.
Apart from symmetries, the optimal arrangements differ in their multiple points.
TABLE 4. Multiple points of the optima. All of them are triple points. The table gives the number of -classes with a given number of triple points.
| 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | total | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2 | 1 | 1 | 2 | 6 | ||||||||
| 1 | 1 | |||||||||||
| 36 | 8 | 3 | 5 | 3 | 3 | 1 | 4 | 3 | 2 | 4 | 72 | |
| 8 | 4 | 5 | 1 | 1 | 19 |
All multiple points of the optima are triple points, and their number varies widely: for it takes all values from 0 to 10 (Figures B.2 and B.4). Simple optima exist for and , where (1.4) coincides with (1.5). For the bound (1.4) already rules them out, since , and the unique optimum, which has no nontrivial symmetries (Table 3), contains exactly two triple points.
For the bound (1.4) also allows 38 triangles, but none of the 19 optima is simple. In the next section we consider ways to construct arrangements of an even number of pseudolines by adding one pseudoline. In particular, we recall that a pseudoline can be added to any perfect arrangement of pseudolines so that the result is a simple arrangement attaining (1.4). As noted above, perfect arrangements are known for all up to 93, except . Hence, among , is the only value in the range without a simple arrangement attaining (1.4).
4. AUGMENTING ODD ARRANGEMENTS
We continue with ways to obtain arrangements of an even number of pseudolines, now by adding one pseudoline to a triangle-maximal odd arrangement.
4.1. Augmentation by an outermost line. Even arrangements of straight lines with the largest known number of triangles are often obtained by adding one line that passes far from all intersection points [10, 6, 11]. We call such a line outermost. A perfect arrangement of lines, , has triangles and external digons [3, Lemma 2.3]. The outermost line crosses both sides of external digons and cuts off a new triangle from each of them (see Figure 4 for pseudolines). The new simple arrangement of lines therefore has
triangles, so it attains the bound (1.4).

FIGURE 4. A perfect arrangement of 9 pseudolines, labeled 0 to 8, and the outermost pseudoline 9 (dashed). The resulting arrangement of 10 pseudolines has triangles.
4.2. Augmentation patterns for multiple points. For there are no perfect arrangements. Here the triangle-maximal arrangements belong to the wider family of 2-defective arrangements. This family can be introduced as follows. Pass to the projective closure by adding the line at infinity. It consists of an even number of pseudolines, so its faces admit a checkerboard coloring, in which faces sharing a side get different colors. Call black the color of at least half of the faces. The black faces are the same for all affine charts of the projective arrangement, whichever of its pseudolines is sent to infinity. The non-triangular projective black faces are called defects. For the number of black faces is maximal precisely when there are either two quadrilateral defects or one pentagonal defect; such arrangements are called 2-defective [3, Lemma 2.7 and Definition 2.8]. An affine arrangement is triangle-maximal if and only if it is 2-defective and all its defects are external (unbounded) [3, Lemma 2.9].
We now consider how 2-defective arrangements can be augmented. An outermost line can still be added [6, Proposition 5.1], but its position must be chosen so that it does not cross both unbounded sides of an external defect. Otherwise it cuts off fewer than new triangles. The result is again a simple arrangement, and the same bound (1.4) holds for it. We found two augmentation patterns for 2-defective arrangements that can exceed this bound.
In the first pattern, which we call direct augmentation, the new pseudoline is drawn directly through the original 2-defective arrangement (Figure 5). It must cut off triangles from both quadrilateral defects and close up through other sides and vertices. After a possible change of affine chart, the number of triangles can reach the value given by (1.5).
In the second pattern, collapse augmentation, two particular triangles are first collapsed into triple points, and then the new pseudoline is drawn. This pattern needs an original arrangement in which the two defects and share a vertex (Figure 6), and one of the two white faces at this vertex is a quadrilateral . In addition, the defect must share a side with a white pentagon . The two triangles with vertices at the endpoints of the common side of and are collapsed into triple points. The pentagon and the quadrilateral then become triangles. The total number of triangles does not change yet: two disappear and two appear. However, the triple point between and is now surrounded by four triangles and is already reduced. The second triple point is surrounded by only three triangles. The new pseudoline must cut off a fourth triangle from the non-triangular face at the second triple point, so that this point becomes reduced as well. Otherwise, by Lemma 3.9, this triple point gives no advantage.
4.3. Augmentation algorithm. We wrote a program that adds one pseudoline to an arrangement in all possible ways to reach for a given , by default (1.5). The source code and the output words are published in the repository [21]. The new pseudoline follows a route through the faces of the projective closure and crosses each pseudoline once. It leaves a face through a side or through a simple vertex, which then becomes a triple point. Working in the projective closure lets the program treat external defects as quadrilaterals, as both patterns require.
Augmentation patterns restrict the routes. For direct augmentation, the route must pass through a defect. For collapse augmentation, the program first finds suitable triangles to turn into triple points, and the route must cut off a triangle at the triple point surrounded by three triangles. If there are no quadrilateral defects, all routes are searched, including the outermost line. The search has two stages. A dynamic program over the faces bounds from above, for every affine chart simultaneously, the number of triangles that a route can give. Then a depth-first search enumerates the routes, pruned by this bound.
After the new pseudoline has been drawn, the program tests all affine charts (that is, all choices of the pseudoline of the projective arrangement that goes to infinity) and looks for one in which . If the pseudoline sent to infinity passes through a triple point, the other two pseudolines of the point do not cross in the affine chart, like parallel lines. Such charts are allowed.
Because of the projective nature of the computations, it is enough to take as input one representative of each projective equivalence class (-class, [3, Definition 5.8]), not all affine arrangements with an odd number of pseudolines. For every input and every route found, the program emits one word, in an affine chart where .

(a)

(b)
FIGURE 5. Direct augmentation. (a) A 2-defective arrangement of 13 pseudolines, labeled 0 to 12, with defects , . The new pseudoline 13 is added to it (dashed). The pseudolines are not relabeled, so their labels are not in order at infinity. (b) The arrangement after a change of affine chart. Pseudoline 12 has moved to infinity. It contained sides of both defects, so both of them have become external. The former line at infinity, labeled , has become affine. In this affine chart the arrangement has triangles.

(a)

(b)

(c)
FIGURE 6. Collapse augmentation. (a) The original arrangement. and are the internal and the external defect. Next to them are the white quadrilateral and the pentagon . (b) The triangles with vertices at the endpoints of the common side of and are collapsed into triple points. Then and become triangles. The common triple point of and is already surrounded by four triangles, and the other triple point by only three. The third of these triangles is projective, bounded by pseudolines . (c) Pseudoline 13 is added so that the second triple point gets a fourth triangle, bounded by pseudolines . The resulting arrangement of 14 pseudolines has triangles and a third triple point.
TABLE 5. Augmentation of 2-defective arrangements, by -classes. The target is the bound (1.5); an input is productive if at least one of its augmentations reaches it.
| inputs | productive inputs | output -classes | ||||||
|---|---|---|---|---|---|---|---|---|
| direct | collapse | total | direct | collapse | total | |||
| 15 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | |
| 54 | 6 | 3 | 2 | 4 | 10 | 4 | 14 | |
| 117 | 1312 | 64 | 75 | 137 | 275 | 168 | 443 | |
4.4. Computational results. In [3] we obtained exhaustive enumerations of 2-defective arrangements for with , and of perfect arrangements for . As input we took the representatives of their -classes [3, Subsection 7.2]. The results for 2-defective inputs are summarized in Table 5.
At the single input class is productive under both patterns, and they give the same output -class. At one of the four productive input classes is productive under both patterns, and at two of the 137. At the patterns share no output class: each of the 14 output classes at and each of the 443 at comes from exactly one input class by exactly one pattern. For many input arrangements, the program finds no route that reaches (1.5).⁸ For larger , augmentation also reaches (1.5): we found examples at [21].
As mentioned above, a 2-defective arrangement may contain one pentagonal defect. Such arrangements first appear at . For all 2324 -classes of such arrangements of 25 pseudolines, the program finds no augmentation reaching (1.5).
Applied to perfect arrangements, the program produces simple and non-simple arrangements, but none exceeds (1.4): multiple points give no advantage there.
Both augmentation patterns work for pseudolines and do not guarantee stretchability. We stretched all 14 augmented -classes for of the 443 for , and 25 for ; they are published in the online gallery [22]. Some of them contain a pair of parallel lines; a small rotation of one line of the pair makes them cross without decreasing the number of triangles. Examples are shown in Figures B.6, B.7 and B.9, and an arrangement of 44 pseudolines in Figure B.11.
Augmentation does not produce all known optima. A new pseudoline added to 9 pseudolines creates at most 4 triple points, and collapse adds at most 2, so the arrangements with and 10 triple points (Figure B.2) cannot be obtained this way. For , there is no perfect arrangement of 11 pseudolines, and for the optimal arrangements of 11 pseudolines the program finds no augmentation reaching (1.5); all optima for are non-simple (Table 4).
⁸Consider direct augmentation. To exceed (1.4), the new pseudoline must pass through vertices of the original arrangement, which are all simple, so it creates triple points. At least one of them must be reduced: otherwise, by Lemma 3.9, the triple points can be removed without losing triangles, and the result is a simple arrangement. A reduced triple point is an endpoint of double segments (Subsection 3.5). Unused and double segments form the phase seam, which contains a closed curve that is non-contractible in (Lemma 5.3; Figure 7 shows it for an arrangement obtained by direct augmentation). The local coloring differs from the checkerboard coloring of the original arrangement only in the faces cut by the new pseudoline, so the seam lies within these faces and runs along the new pseudoline, which is non-contractible as well. We expect the criterion for reaching (1.5) to lie in the relative position of these two curves, but we have not found it.
5. DISCUSSION
5.1. Our results. Theorem 3.11 gives the maxima 7, 15, 25, 38, 54 for , and all of them attain (1.5). For , the series of Section 2 and the augmented arrangements of Section 4 up to exceed (1.4) by exactly one. For , augmenting perfect arrangements attains (1.4). None of the arrangements we found exceeds (1.5).
The doubling mechanism of Section 2, with one line temporarily removed and then restored, may also work for starting arrangements of other series, e.g. , , . The first two, however, contain arrangements with the same number of triangles as the perfect arrangements of the series , [10] with an outermost line added, so they are of little interest as new results.
Other series of line arrangements with attaining (1.5), such as , would be of interest, since they cannot be obtained by adding an outermost line. For pseudolines, such series exist. Doubling pseudolines needs only the combinatorial part (D3) of the hypotheses of Lemma 2.3. The removed pseudoline can be drawn so that it cuts off triangles from the combinatorial analogs of the right wedges, as in Lemma 2.5. With the increments and the result attains (1.5) again. The arrangements of Figures B.7 and B.9 give the series and in pseudolines; their members up to , all attaining (1.5), are in the repository [21]. In contrast, the arrangement of Figure B.11 violates (D3) for every choice of : every doubling of it gives 86 pseudolines with at least three triangles fewer than (1.5).
The first three members of the pseudoline series , with , are stretchable (Figures B.7 and B.10 and Tables B.1, B.3 and B.4). Stretched members do not yet give a series of lines: doubling lines also needs the metric conditions (D1) and (D2), and the removed line has to be movable arbitrarily far away, like in (2.3). We have a candidate construction of a series of straight line arrangements that starts from another arrangement of 20 lines and avoids the last requirement. As grows, the point approaches the point where meets another line of the arrangement, rather than the point at infinity of . After the last doubling we change the affine chart so that becomes the line at infinity and the former line at infinity becomes a line of the arrangement. In this chart the arrangement attains (1.5). Its members with and are verified in rational interval arithmetic. We will present the construction separately.
5.2. Upper bounds and future work. For non-simple arrangements the only applicable upper bound is (1.2). It is often referred to as Tamura's bound [23]. For even it is attained by no known arrangement, from the literature or from this paper. The gap is at least , and we conjecture that this holds in general.
Conjecture 5.1. For even , the number of triangular faces of an arrangement of pseudolines satisfies
This bound is convenient to restate in terms of the waste, defined as
The waste counts the segment units that do not go into triangles and reflects the gap between the actual number of triangular faces of the arrangement and (1.2). The conjecture (5.1) then takes the same form for all even :
The definition (5.2) gives . Hence can equal only for , and for the inequality (5.3) automatically strengthens to . So the split into cases is due to rounding alone, and the uniform bound (5.3) allows a triangle over (1.4) only for .
Why do we believe that the bound holds?
(1) The series of Section 2 and the series with an outermost line added [9, 10] attain the bound for infinitely many even in every residue class modulo 6.
(2) The bound has no exceptions at small (unlike (1.1)): it holds for all even up to 14 by Theorem 3.11, and no counterexample is known for larger .
(3) It is natural to expect the bound to be polynomial in each residue class, as in the odd case [6]. Tamura's bound (1.2) and the known series fix the leading term as . The exact values of Section 3 for and the trivial case give two points in each residue class of modulo 6 and thereby fix the linear and the constant term.
(4) The exact values for alone rule out some other candidates for a sharp bound, for example the bound of Clément and Bader [23] with the additional term for some residues: the gap between Tamura's bound (1.2) and the computed optima is exactly for these . This is why it was important for us to check computationally, where the gap first reaches 2. For this case we had to develop the prunings of Appendix C and prove that they lose no words.
We anticipate a natural question from the reader. The series of Section 2 starts at , and each of its arrangements has only two triple points. What guarantees that for larger additional multiple points will not absorb the unused segments and break the conjectured bound? Perhaps this effect is absent for small only because there is not enough room in the arrangement? We have no such guarantee, and this is exactly what the conjecture asserts. But we can show what would have to happen and how the growth of affects it.
From here on we omit the argument where this causes no confusion. In the simple case the waste equals the number of unused segments (1.3). More generally, if the only multiple points are triple points, (3.10) gives
Vertices of higher multiplicity add to the waste. We assume that triple points suffice to minimize the waste and omit higher multiplicities in this section.
Can the unused segments be absorbed completely? The answer is given by the identity (5.4), which reads as a conservation law for charge. We assign the charge +1 to an unused segment, +3 to a triple point (it takes three segment units), and -1 to a double segment. A simple arrangement has no double segments, so negative charge can appear only in the presence of triple points. The total charge equals and is determined by alone.
The question of what multiple points gain by absorbing unused segments is therefore the question whether the negative charge can exceed the positive charge in absolute value. The computations give no example where it can. The inequality
which by (5.4) is equivalent to , holds for all arrangements from the exhaustive enumerations and from augmentation, and is strict for : .
The waste decreases only if the multiple points destroy more unused segments than the remainder of their own charge. Otherwise they only shift the waste between the terms. For example, in the extreme case , each of the two optima of Figure B.2 has triple points, no unused segments at all (), but . All five unused segments of the simple optimum went into the remainder , and the total charge did not change. For the multiple points do gain, but in every arrangement we have found the gain is at most one triangle.
We could prove only a weaker form of (5.5): the discharging argument of Corollary C.6 gives , that is, .
Can the growth of help the waste disappear? In the even case the waste is not a local phenomenon confined to small neighborhoods: it forms a global structure. To see this, pass from the arrangement of pseudolines to its projective closure of pseudolines, which contains the line at infinity. The notions of unused and double segments extend to , and we denote their numbers by and . Unlike in Subsection 4.2, here is odd, so there is no checkerboard coloring, and we use the local coloring instead: triangles are black and all other faces are white. Two faces sharing a segment then have different colors if it is an ordinary used segment, and the same color if it is an unused or double segment. So if there are few unused and double segments, the arrangement has large regions (phases) where the local coloring is a checkerboard coloring. The phases are separated by a phase seam made of unused and double segments (Figure 7).
Definition 5.2. The phase seam is the set of unused and double segments of the projective closure .
Lemma 5.3. Let be even. Then every vertex of has even degree in , and exactly one connected component of contains a closed curve that is non-contractible in .
Proof. A vertex is an endpoint of an even number of segments. On a full turn around it, the color changes at every segment outside and returns to the starting one, so the number of segments outside is even, and so is the number in .
In the sphere model, take a path from a face to its antipode that avoids the vertices. It crosses each of the projective pseudolines an odd number of times, and since is odd, the total is odd. The antipode is the same projective face, with the same color, so the color changes an even number of times along the path, and the path crosses an odd number of times. In the path becomes a non-contractible closed curve . Since all degrees in are even, the segments of split into closed curves. A contractible closed curve meets an even number of times, so at least one of these curves is non-contractible. Only one component of contains such curves: curves in different components are disjoint, while any two non-contractible closed curves in meet, like two projective lines.

(a) An optimal arrangement of 14 lines in the affine plane, from direct augmentation (Section 4).

(b) The same arrangement with the line at infinity on the sphere (phase seam shown dashed).
FIGURE 7. Phases of the local coloring and the phase seam.
The proof uses the parity of . For odd the conclusion fails: either there is no seam at all (perfect case) or the seam consists of the boundaries of the defects (see [3, Subsection 2.5]), and then it does not go around the projective plane.
Thus the charged elements are not scattered arbitrarily over the arrangement: they lie on closed contours, and one of these contours goes around the projective plane. Even if no unused segments are left in the affine arrangement, as in Figure B.2, the seam does not disappear: in it runs along the double segments of and along the unused and double segments of that lie on the former rays and on the line at infinity. The seam is a topological obstruction. It does not depend on being small or on the lack of room in the arrangement. Multiple points change the composition of the seam (see (5.4)) but cannot destroy it.
Unfortunately, and enter the “length” of the seam with the same sign, , and (5.4) with opposite signs. Therefore a lower bound on the length of the seam does not yield a bound on . For the same reason, considerations of parity or of the checkerboard coloring do not help either: they do not distinguish from . Moreover, the contribution of a multiple point is not determined by its neighborhood alone. It also depends on the neighborhoods of the opposite endpoints of the double segments. To prove the bound, one therefore has to pass from the statement “the seam is unavoidable” to the statement (5.3) “the waste is at least ”.
Blanc’s bound (1.4) does not carry over to non-simple arrangements directly. His argument is a count over pseudolines in two stages, demand and sharing. Along a pseudoline with an odd number of vertices, the alternation of triangles cannot close up, so each pseudoline requires an adjacent unused segment [6, Proposition 2.3]. This is the demand. One segment serves at most two pseudolines, and this is the sharing. Multiple points break it in two ways. A pseudoline through triple points escapes the argument. At a triple point the alternation of triangles is thrown out of step, and an odd number of such points also changes the parity of the number of vertices, so the alternation is allowed to close up. A pseudoline free of triple points still has an odd number of vertices and still makes its demand, but the demand can be met from another source. Besides an adjacent unused bounded segment, as in Blanc’s argument, it can be met by a double segment with one endpoint on the pseudoline and a triple point at the other (a “simple leg” of that triple point, see Lemma C.4). The demand is then met by the three units that the triple point contributes to (5.4). The arrangements of Figure B.2 show the first mechanism in the limit: in each of them all ten lines pass through triple points, the demand disappears completely, and .
However, meeting the demand through or does not yield a bound on . The reason is the same as for the length of the seam: double segments enter the demand with a plus sign and (5.4) with a minus sign.
We arrive at the following conclusions. In the even case, non-simple arrangements exceed the simple bound (1.4) for arbitrarily large (Section 2). The phase seam, which contains the support of the waste, is unavoidable for topological reasons. Every pseudoline free of triple points makes a demand for waste, and the demand is met by an unused segment or by the units of a triple point transferred through a double segment. What is missing for a proof is a quantitative statement of how much waste the triple points must transfer to the pseudolines with a demand and leave on the pseudolines through them.
APPENDIX A. INTERSECTION ORDERS IN THE STARTING ARRANGEMENT
We determine the coordinates and the order of the intersection points of the starting arrangement, the bounding box of these points, and the number of faces. We also treat the first doubling step separately, because it partly differs from the general step.
A.1. Parameters. The lines are given by the equations (2.3), and the parameters by (2.4). Since , we have
Lemma A.1. The slopes u and v (2.5) of the lines and satisfy
Thus the slopes of do not exceed 4 in absolute value, and the minimum absolute value of a slope among is .
Proof. We estimate the term in the denominator of u:
so the denominator in (2.5) is positive and greater than . Hence u < 0 and
On the other hand, the same denominator equals , and by (A.1). So the denominator is less than , which gives
For v:
The absolute values of the slopes of are , and the smallest of them is .
A.2. Coordinates of the intersection points. The lines of the starting arrangement are pairwise nonparallel, and none of them is vertical. Therefore the order of the intersection points along a line is the order of their x-coordinates. Below we list the x-coordinates of all intersection points, including the triple points
The orders (A.6) in the next subsection are obtained from them by sorting.
Two lines and intersect at the point with coordinates
We compute the coordinates of the triple points. By (A.3), the lines and intersect at the point
and the line passes through P if and only if
as (2.5) requires. The lines and intersect at the point
and the line passes through Q if and only if
that is, again under condition (2.5). Thus P and Q are triple points. There are no other multiple points, since on each line the x-coordinates of all other intersection points are distinct (Lemma A.2).
(i) Intersection points of . Apart from , which we assign to group (iii), these five lines meet at and at the following points:
By (A.2), the numerator for lies between and , and the denominator between and , so
For , (A.2) gives , , and , so
(ii) Points on . The line is almost vertical: by (A.1), the absolute value of its slope exceeds . By (A.3), it intersects a line at the point with -coordinate
The denominators of different lines are almost equal, since . Therefore the order of the points on is determined primarily by the numerators :
and by (A.2) and (A.1)
Sorting these values gives
Replacing the denominators by does not change this order. Indeed, for all these lines and , so by (A.1) and
The difference between consecutive values of is bounded below by , so consecutive values of differ by at least . Each of them shifts by less than . Therefore the order of the points on is the same: . The points themselves lie in the strip
(iii) Points on . The line is also almost vertical, and similarly
As in (ii), the left-to-right order on is therefore determined primarily by the numerators :
Here the lines and give the same point (this is what the choice of achieves), although the values and themselves differ. The denominators and compensate for the difference. Therefore only four values remain to be compared:
where and . Consecutive values differ by at least , and all of them are less than 5/2 in absolute value. The same estimate of the denominators as in (ii) gives the order of the points on : first , then , , . All these points lie in the strip .
(iv) The point . By (A.3),
(v) Points on R. Since by (2.4), formula (A.3) gives
This yields the order of the x-coordinates on R:
The chain is verified by the following inequalities, which use the estimates (A.2) and (A.1):
Thus the points and have -coordinates in , and all other points on have .
The line R has positive slope, so the y-coordinates of the points on it are ordered in the same way as the x-coordinates, and
A.3. Intersection orders. The order of the intersection points along a line is the local sequence of the line [24]. For a simple arrangement, the local sequences of all its lines form its O-matrix [3, Section 5.1]. Table (A.6) below is an analog of this matrix for an arrangement with triple points.
Lemma A.2. The left-to-right order of the intersection points on each line is as follows (the entry denotes a triple point shared with the lines and ):
Proof. Each row is obtained by sorting the -coordinates from the previous subsection. Groups (ii) and (iii) give the rows and without the points , , and . The points on other than and have , while all points of groups (i)-(iv) have . Therefore these points on stand at the ends of their rows. The remaining comparisons are as follows.
- Row is given by the order of the zeros of the right-hand sides of (2.3), taking into account .
• Rows and : .
• Rows : the point lies between group (ii) and zero, since .
• Rows and : , so both points lie to the right of group (ii) and to the left of group (iii), and the point with separates them.
• Rows and : .
Corollary A.3. The rightmost intersection point of on the line is . It is also the rightmost one on .
Proof. Rows and of table (A.6) with R removed.
Corollary A.4. Among the intersection points of on the line , the point is the rightmost, and its left neighbor is . Among those on , the point is the leftmost, and its right neighbor is the triple point .
Proof. Rows and of table (A.6) with R removed.
A.4. Bounding box of the intersection points
Lemma A.5. All intersection points of except lie in the rectangle
and the point itself has coordinates . Moreover, and .
Proof. The largest -coordinate is (the point ), and the smallest is (the point ): groups (ii) and (iii) are within of , and the other -coordinates of group (i) do not exceed in absolute value. Each point other than lies on at least one of the lines , for which by Lemma A.1 and . Therefore
The point itself is given in (iv). Finally, by (ii), , so
and for the triple point Q, by (A.4),
since by (A.1).
Lemma A.6. Each of the four R-triangles , , , lies entirely in the half-plane , whereas contains the point .
Proof. By (A.5), all intersection points on except and have -coordinates less than . The third vertices of these four triangles are , and again , respectively, and their -coordinates are also less than by Lemma A.5. Hence all three vertices of each of these triangles lie in the half-plane , and so does the whole triangle.
The triangle has the point as a vertex.
A.5. Counting faces
Lemma A.7. Three lines of the arrangement bound a triangular face if and only if, on each of them, the two corresponding intersection points are distinct and consecutive.
Proof. Denote the three lines by . Necessity: the side of the face on is the segment with endpoints and , with no intersection points in its interior. Sufficiency: a line entering the interior of the triangle crosses its boundary at two points, and these cannot both be vertices, since otherwise would coincide with one of the . Hence crosses the interior of a side, say the one on , that is, between and , which contradicts their being consecutive.
Proof of Lemma 2.2. By Lemma A.7, triangular faces correspond to triples of lines whose intersection points are consecutive on all three of these lines. From (A.6) we obtain exactly 15 such triples:
The first five contain , and the others belong to . Removing creates no new triangles: the new adjacencies in rows and give no consecutive triples. By Lemma A.2, and are the only multiple points of .
A.6. Wedges at the first step. At the first doubling step, . This is the only value in the series with . Lemma 2.4 lists the right wedges for and does not extend to . We treat this case separately.
Lemma A.8. Let , let the arrangement satisfy (D1)–(D3) and (W1), let the slope of the line be positive, and let
Then the right wedges of that involve at least one new line are exactly the pairs
There are of them, and each of the lines belongs to exactly one pair. Moreover, satisfies (W1) with 12 in place of 6 and in the role of .
Proof. Compared with the general case in Lemma 2.4, the listing changes in two places. The auxiliary angles are
and condition (2.20) holds for , and also for (), so the line has no almost parallel partner. Similarly, (2.21) reduces to and gives the index pair , with left without a partner at . In addition, is not an integer, so the pair of (2.19) does not exist for . Its place is taken by the pair , and the slope of is positive rather than negative as in the general case.
The rightmost intersection points are found by case analysis, as in Lemma 2.4. The lines and satisfy (2.20), so
The lines and form a pair from (2.18) with . Their auxiliary angles sum to , and by (2.12) and (2.13)
The line intersects at .
It remains to list the points on . For its intersections with , the sums of auxiliary angles are . By (2.12) and (2.13), these intersection points satisfy
(exactly for ). The line intersects at the point , and by (2.10) the old lines at points with
For the point the sum is , and the term in (2.12) is negative by (2.13) (all three factors , , are negative), so
The intersection point , by contrast, lies to the right of . We argue as for the pair in Lemma 2.4, but now the slope of is positive, so lies below each line to the left of their common point and above it to the right. Hence is the rightmost point on among the intersection points with the new lines if at its -coordinate the line is the highest of the new lines. By (2.23), as in (2.24), this holds if for all . By (2.26) with , the leading term is . It attains its smallest value for two values, and , which gives a tie (in the general case, by contrast, the maximum is separated from the closest values by ). The term from the proof of Lemma 2.4 breaks the tie:
For the other the gap is at least 1 already in the leading term. By (W1), there are no old intersection points on to the right of . Moreover, , because its leading term is , so passes above the point of , and lies to the right of . Hence it is the rightmost point on . It is also the rightmost point on , since all other intersection points of lie to the left of . Thus the right wedges with a new line are exactly the pairs (A.7). There are four of them, and each index is covered once. In (W1), the role of with passes to with .

FIGURE B.1. All 6 optimal arrangements for (), with in the first row and in the second.
APPENDIX B. ARRANGEMENTS ATTAINING THE CONJECTURED BOUND
This appendix collects the arrangements referred to in the main text, in increasing order of . The optimal arrangements for (Figures B.1, B.2, B.4 and B.5) give the lower bounds of Theorem 3.11; the two non-stretchable optima for are drawn with pseudolines (Figure B.3). Figure B.8 shows the member of the series of Theorem 2.1. Augmentation (Section 4) gives the arrangements of 20, 32 and 44 pseudolines in Figures B.6, B.7, B.9 and B.11. Doubling the arrangement of Figure B.7 gives the pseudoline series discussed in Section 5, whose members with are stretchable (Figure B.10 and Table B.4), and doubling that of Figure B.9 gives the series . Tables B.1 to B.4 give the equations of the stretched arrangements.
Different shades correspond to different phases of the local coloring (Figure 7); unbounded triangles are lighter. The boundaries between the phases are thus the unused and double segments, that is, the part of the phase seam (Definition 5.2) visible in the affine chart. Figure B.11 is not colored.
The coefficients in the tables are exact. We checked in rational arithmetic that for these values the triple points are exact, the order of the crossings on every line agrees with the word of the arrangement, and the number of triangles is as stated.
For brevity, letters in the words are written as their initial slot followed by asterisks: a simple crossing , a triple point , a crossing of multiplicity , and so on.

FIGURE B.2. Optimal arrangements for with 10 triple points. Top: 0 2 4 6 5 4 3 1* 3* 6 5 8 6* 4* 2* 0* 8 6* 4* 2* 1 4 3 5* 7. Bottom: 0 2 4 6 8 7 6 5 3* 1* 0 5* 3* 1* 8 7 5* 3* 2 1 7* 5* 3* 5 7.

FIGURE B.3. Non-stretchable optimal arrangements for with 10 triple points, drawn with pseudolines. Top: 0 1 3 6 7 5* 4 2* 0* 4* 2* 6* 4* 8 6* 5 3* 1* 0 3 4 6 5 4 6. Bottom: 0 1 4 3 6 8 7 6 4* 2* 0* 6 4* 2* 1 8 6* 4* 2* 1 8 6* 4* 3 6. Non-stretchability was verified by the method of biquadratic final polynomials [13]; the certificates are in the repository [21].

FIGURE B.4. Optimal arrangements for (): the stretchable arrangements other than those in Figure B.2, in increasing order of the number of triple points. Here .

FIGURE B.4. (continued) The first picture is the last one with . It is followed, row by row, by (8 arrangements), 2 (3), 3 (5), 4 (3), 5 (3), 6 (1), 7 (4), 8 (3), 9 (2).
TABLE B.1. Equations of the lines of the arrangement in Figure B.7. The triple points lie on line 13 together with the pairs of lines , , .
| 0 | -0.034 | -0.8668 | 10 | 12.4722 | -49.01273808 |
| 1 | -0.1424 | 0.7687 | 11 | 5.3816 | -8.8336011 |
| 2 | -0.3026 | -3.2348 | 12 | 3.3902 | -9.8084 |
| 3 | -0.4915 | 1.1772 | 13 | 2.4386 | -0.9237 |
| 4 | -0.639 | 0.6319 | 14 | 1.2157 | -3.5408 |
| 5 | -0.7707 | 4.87422138 | 15 | 0.833 | -1.7987 |
| 6 | -1.1086 | 16.07732016 | 16 | 0.6615 | -2.1437 |
| 7 | -4.1366 | 10.95505632 | 17 | 0.4958 | -0.5564 |
| 8 | -6.343 | 22.67860632 | 18 | 0.3773 | -2.1232 |
| 9 | -13.0923 | 24.1398 | 19 | 0.034 | 0.8634 |
TABLE B.2. Equations of the lines of the arrangement in Figure B.9. The triple points lie on line 5 together with the pairs of lines , , , .
| 0 | -0.06476 | -0.7560626464 | 16 | 4.11657 | 12.85756 |
| 1 | -0.1772 | 4.0055813476 | 17 | 2.86853 | 15.03237 |
| 2 | -0.19072 | 1.096562072 | 18 | 2.80636 | 9.09436 |
| 3 | -0.62491 | 0.88298 | 19 | 2.33795 | 10.55365 |
| 4 | -1.61302 | -8.02093 | 20 | 2.12481 | 7.49822 |
| 5 | -1.74892 | 24.01463 | 21 | 1.85599 | 7.50283 |
| 6 | -1.82634 | 6.28754 | 22 | 1.16509 | -2.18024 |
| 7 | -1.91825 | -10.33657 | 23 | 0.59231 | 0.48538 |
| 8 | -2.06335 | -8.8103 | 24 | 0.54137 | -2.54997 |
| 9 | -2.09887 | -12.3846 | 25 | 0.41874 | -1.8998753596 |
| 10 | -3.7305 | -13.36831 | 26 | 0.39469 | -10.62239 |
| 11 | -5.84564 | -35.30939 | 27 | 0.26104 | -0.0145623976 |
| 12 | -7.7291 | -25.79848 | 28 | 0.19652 | -1.9637835856 |
| 13 | -22.151 | -144.70811 | 29 | 0.18978 | 0.89411 |
| 14 | 13.67108 | 42.57195 | 30 | 0.11893 | -0.9276862965 |
| 15 | 5.69142 | 32.4434 | 31 | 0.06777 | 0.8869491177 |

FIGURE B.5. All 19 optimal arrangements for () in increasing order of the number of triple points: (the first two rows), 3 (the third row), 4 (the fourth row and the first picture of the fifth), 5 and 6.

FIGURE B.6. An arrangement of 20 lines with triangles and 6 triple points, obtained by direct augmentation (Section 4).

FIGURE B.7. An arrangement of 20 lines with triangles and 3 triple points, obtained by collapse augmentation (Section 4).

FIGURE B.8. An arrangement of 26 lines with triangles and 2 triple points, combinatorially equivalent to of Theorem 2.1. The positions of the lines are changed for readability.

FIGURE B.9. An arrangement of 32 lines with triangles and 4 triple points, obtained by direct augmentation (Section 4). Upper right: the framed region, enlarged.

FIGURE B.10. An arrangement of 38 lines with triangles and 3 triple points: the doubling of Figure B.7 in pseudolines, stretched. Lower left: the framed region, enlarged.
TABLE B.3. Equations of the lines of the arrangement in Figure B.10. The triple points lie on line 20 together with the pairs of lines , , .
| i | i | ||||
|---|---|---|---|---|---|
| 0 | -0.04793 | 0.6523 | 19 | 39.45675 | -3.68082 |
| 1 | -0.0852 | -1.02173 | 20 | 30.00493 | 32.33556 |
| 2 | -0.17455 | 0.54753 | 21 | 7.85177 | 6.5065 |
| 3 | -0.21998 | -0.99642 | 22 | 4.83331 | 9.25869 |
| 4 | -0.29208 | 0.36745 | 23 | 4.55319 | 7.42156 |
| 5 | -0.32849 | -0.87598 | 24 | 3.07899 | 10.56713 |
| 6 | -0.38084 | 0.14532 | 25 | 2.65403 | 6.21769 |
| 7 | -0.4004 | -0.69737 | 26 | 1.39238 | 10.9832 |
| 8 | -0.42956 | -0.12128 | 27 | 1.32243 | 7.00528 |
| 9 | -0.43625 | -0.4151 | 28 | 0.45188 | 10.11089 |
| 10 | -0.90749 | 9.22924 | 29 | 0.34272 | 0.05092 |
| 11 | -2.40272 | 7.63847 | 30 | 0.3251 | 0.28583 |
| 12 | -2.59757 | 15.581461275 | 31 | 0.31861 | -0.22649 |
| 13 | -2.99387 | 52.766107044 | 32 | 0.27275 | 0.46675 |
| 14 | -9.7393 | 11.9113976453 | 33 | 0.26314 | -0.5276 |
| 15 | -10.3901 | 17.0924954295 | 34 | 0.18314 | 0.59326 |
| 16 | -12.70956 | 5.44985 | 35 | 0.17127 | -0.76651 |
| 17 | -170.97458 | 156.7680040263 | 36 | 0.07339 | 0.66667 |
| 18 | 1406.69858 | 551.8309088275 | 37 | 0.05342 | -0.93754 |
TABLE B.4. Equations of an arrangement of 74 lines with triangles and 3 triple points. It is obtained from the arrangement in Figure B.7 by two steps of combinatorial doubling in pseudolines, analogous to Section 2, and then stretched. This is the third member of the series . The triple points lie on line 40 together with the pairs of lines , , .
| i | i | ||||
|---|---|---|---|---|---|
| 0 | -6.65426468 | -1091.43745452 | 37 | 0.14421861 | 55.116043480362134 |
| 1 | -6.64810537 | -1090.3864598 | 38 | 0.14432907 | 55.1143550503036888 |
| 2 | -6.13520075 | -1003.89886196 | 39 | 0.14480079 | 55.20455821 |
| 3 | -6.13374755 | -1003.64270684 | 40 | 0.14497591 | 55.21414649 |
| 4 | -5.70667318 | -931.62880038 | 41 | 0.14739226 | 55.63755173 |
| 5 | -5.70571304 | -931.45708301 | 42 | 0.14962877 | 56.00380269 |
| 6 | -5.35498219 | -872.31688205 | 43 | 0.15029264 | 56.12302765 |
| 7 | -5.35409169 | -872.15825542 | 44 | 0.15480384 | 56.85487027 |
| 8 | -5.0732397 | -824.80147333 | 45 | 0.15584749 | 57.07155497 |
| 9 | -5.07157073 | -824.51294547 | 46 | 0.40556958 | 98.28282147 |
| 10 | -4.85294201 | -787.64847296 | 47 | 0.4076748 | 99.52353415 |
| 11 | -4.85223516 | -787.52360093 | 48 | 0.40962048 | 99.85523857 |
| 12 | -4.68721255 | -759.69817544 | 49 | 0.42701422 | 102.7788107 |
| 13 | -4.68657182 | -759.58585996 | 50 | 0.44390213 | 105.63945342 |
| 14 | -4.57304306 | -740.44325058 | 51 | 0.48516687 | 112.57837511 |
| 15 | -4.57239659 | -740.33138239 | 52 | 0.54937296 | 123.42912769 |
| 16 | -4.5057611 | -729.09571234 | 53 | 0.66546018 | 142.9647525 |
| 17 | -4.50513696 | -728.98903225 | 54 | 0.86891663 | 177.32112487 |
| 18 | -4.48337368 | -725.31945462 | 55 | 1.47866731 | 280.03295081 |
| 19 | -1.5910024 | -237.37186659 | 56 | -13.67391141 | -2275.26702125 |
| 20 | -0.41986925 | -40.02412869 | 57 | -13.66831944 | -2274.3218405 |
| 21 | -0.41815525 | -39.68721726 | 58 | -13.29563964 | -2211.47504171 |
| 22 | -0.21753219 | -5.89835333 | 59 | -13.28440237 | -2209.57379786 |
| 23 | -0.20294042 | -3.41383947 | 60 | -12.60118553 | -2094.35988763 |
| 24 | -0.1330755 | 8.34706968 | 61 | -12.59582406 | -2093.44621711 |
| 25 | -0.13299121 | 8.37372571 | 62 | -11.69989116 | -1942.36153415 |
| 26 | -0.10862691 | 12.47316892 | 63 | -11.69402363 | -1941.36001817 |
| 27 | -0.10854949 | 12.49109486 | 64 | -10.71044458 | -1775.49620678 |
| 28 | 0.12516097 | 51.93883116 | 65 | -10.70593721 | -1774.72250631 |
| 29 | 0.13048166 | 52.71558026 | 66 | -9.72673613 | -1609.59816906 |
| 30 | 0.13483437 | 53.53791167 | 67 | -9.72381877 | -1609.09187701 |
| 31 | 0.13954354 | 54.3160826 | 68 | -8.80670122 | -1454.43810158 |
| 32 | 0.14060184 | 54.5227052048622872 | 69 | -8.80451216 | -1454.05453181 |
| 33 | 0.14086713 | 54.6818822830280324 | 70 | -7.98207725 | -1315.36845915 |
| 34 | 0.14291553 | 54.8884471310340848 | 71 | -7.97990258 | -1314.98770823 |
| 35 | 0.1430402 | 54.9155142351386022 | 72 | -7.26432733 | -1194.32251028 |
| 36 | 0.14305875 | 54.90438146 | 73 | -7.26218807 | -1193.9484859 |
NON-SIMPLE ARRANGEMENTS WITH MANY TRIANGLES 62 1 3 5 7 9 11 13 12 11 10 9 8 7 6 5 4 3 2 1 3 5 7 9 11 13 15 14 13 12 11 10 9 8 7 6 5 4 3 5 7 9 11 13 15 14 13 12 11 10 9 8 7 6 5 7 9 11 13 15 17 19 21 23 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 9 11 13 15 17 16 15 14 13 12 11 10 9 11 13 15 17 19 18 17 16 15 14 13 12 11 13 15 17 19 18 17 16 15 14 13 15 17 19 21 23 22 21 20 19 18 17 16 15 17 19 21 20 19 18 17 19 21 23 25 24 23 22 21 20 19 21 23 25 27 26 25 24 23 22 21 23 25 27 29 28 27 29 31 33 32 31 33 34 36 38 37 36 35 33* 36 38 40 39 38 37 36 35 34 32* 31 30 29 31* 34 36 38 40 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 34 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33* 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 9 11 13 15 14 13 15 17 19 21 23 25 27 29 31 33 32 34 36 35 34 36 38 37 36 35 34 33 31* 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 17 19 21 23 25 27 29 31 30 32 34 36 38 40 39 38 37 36 35 34 33 32 31 29* 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 11 13 15 14 13 12 11 13 15 17 19 21 23 25 27 29 28 30 32 34 36 38 40 42 41 40 39 38 37 36 35 34 33 32 31 30 29 27* 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 3 5 7 9 8 7 6 5 4 3 5 7 9 11 10 9 8 7 6 5 7 9 11 13 15 17 16 15 17 19 18 17 19 21 20 19 18 17 19 21 23 22 21 23 25 27 26 24* 23 22 20* 19 18 16* 15 14 12* 11 10 12 14 16 15 14 13 12 14 16 18 20 22 24 23 22 24 26 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 16 18 20 22 24 26 28 30 29 28 27 26 25 24 23 22 21 20 22 24 26 28 30 32 31 30 29 28 27 26 25 24 26 28 30 32 34 33 32 31 30 29 28 27 26 25 24 23 22 24 26 28 30 32 34 36 35 34 33 32 31 30 29 28 27 26 28 30 32 34 36 38 37 36 35 34 33 32 31 30 29 28 27 26 28 30 32 34 36 38 40 39 38 37 36 35 34 33 32 31 30 29 28 30 32 34 36 38 40 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 9* 8 7 9 10 12 11 10 12 14 13 12 14 16 18 20 22 21 20 19 18 17 16 15 14 13 12 11 10 12 14 16 18 20 22 24 23 22 21 20 19 18 17 16 15 14 16 18 20 19 18 17 16 18 20 22 24 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 12 14 16 18 20 22 24 23 22 21 20 22 24 26 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 14 16 18 20 22 24 26 28 27 26 25 24 26 28 30 32 34 36 38 40 42 Figure B.11. An arrangement of 44 pseudolines with a3 = 609 triangles and 12 triple points, obtained by collapse augmentation (Section 4). Its word is printed below the picture.
APPENDIX C. COUNTING SEGMENTS AND THE STATE TABLE
This appendix justifies the two prunings announced in Subsection 3.5. Segment pruning (P4) discards a partial word if every completion of it has more unused segments than the balance (3.10) allows for . State table pruning (P5) skips a subtree if a subtree with the same state and no tighter budget constraints has already been traversed without giving words (Lemma C.12). Along the way, Appendix C.4 extends the early non-triangle count (P2) to all doomed faces, which gives the doomed-face count (P6). All three prunings are safe: they discard only empty subtrees, so the output of the program does not change.
We keep the notation of Section 3: is the number of unused segments, the number of double segments (sides of two triangles at once), the number of vertices of multiplicity , the budget of the target , the spending of a partial word , and the label of the wire in slot after . The waste (5.2) counts the segment units that do not go into triangles, and the target bounds it by the waste limit :
C.1. Segment balance for arbitrary multiplicities. In Section 3 we already wrote down the segment balance (3.10). We now prove it in a rewritten form that uses the definition (5.2) of the waste .
Lemma C.1. For every arrangement of pseudolines,
Proof. Each edge of the arrangement borders exactly two faces, which lie on opposite sides of its pseudoline, so a bounded segment is a side of at most two triangles. The sides of a bounded face are bounded edges (a face bordering a ray is itself unbounded), and a side of a triangle is a whole edge. Hence, if we count for each bounded segment the triangles of which it is a side, the total is . Unused segments contribute 0 to this sum, double segments 2, and the others 1, so by (3.5)
By (3.6), , hence
□
We bound the right-hand side of (C.2) by a discharging argument [20]. Assign to a vertex the charge , to an unused segment the charge +1, to a double segment -1, and to the other segments 0. By Lemma C.1, the charges sum to . The charge of a vertex has a direct meaning in terms of waste: each of the pseudolines through it meets others there at once and loses segments.
The search can use an upper bound on as a pruning. For the waste satisfies by (C.1), so such a bound requires only a lower bound on the total charge of vertices and double segments. We transfer the charge of each double segment to its endpoints and bound the final charge of every vertex. The transfer is possible because a double segment always has a multiple endpoint (Lemma C.2). A vertex of multiplicity has a nonnegative final charge (Lemma C.3), and a triple point has a final charge of at least (Corollary C.5). As a result we obtain (Corollary C.6).
C.2. Final charges of vertices.
Lemma C.2. If a bounded segment is a side of two triangles, then at least one of its endpoints has multiplicity .
Proof. The argument is already given in [3, Subsection 2.3] for simple arrangements, but it actually uses only the simplicity of the endpoints of . Let , and suppose that, besides , only the pseudolines and pass through and , respectively. Then a triangle with side has its sides at and on and , and its third vertex is their common point. Two triangles on opposite sides of would give two distinct common points of and .
We split the double segments into two classes: consists of those with at least one endpoint of multiplicity , and of all the others (by Lemma C.2, such a segment has an endpoint of multiplicity exactly 3, and its other endpoint has multiplicity 2 or 3). Then .
Lemma C.3 (vertices of multiplicity ). Let each segment of class transfer its charge to one of its endpoints of multiplicity . Then a vertex of multiplicity receives a charge of at least , and its final charge is .
Proof. Exactly rays and bounded edges meet at a vertex of multiplicity (two on each of the pseudolines). The segments transferring charge to it are bounded edges, so there are at most of them. The inequality holds for .
This does not work for a triple point: its charge is 3, while up to six double segments can be incident to it. We therefore distribute the charge of the segments of class , taking their other endpoints into account.
Let be a triple point. A double segment of class incident to is a simple leg of if its other endpoint is simple, and a triple leg if its other endpoint has multiplicity 3. Denote the number of simple legs by and the number of triple legs by . Each segment of class has one or two endpoints of multiplicity 3 (Lemma C.2). In the first case it transfers its charge entirely to the triple endpoint, and in the second it splits the charge equally, to each. The final charge of a triple point is then
Lemma C.4 (simple legs). Let be the edges of a triple point , numbered in cyclic order. No two consecutive edges are both simple legs. In particular, .
Proof. Indices are taken modulo 6. Suppose, to the contrary, that and are simple legs. Each of them is a double segment, so the three consecutive sectors (Definition 3.8) adjacent to them are all triangles: the sectors between and , between and , and between and . The sides at of the triangular sector between and are the edges and themselves. Let be the other endpoint of . Then the triangular sectors are (). Let the side lie on a pseudoline . Besides the pseudoline containing , only passes through the simple vertex , so the side also lies on , that is, . Similarly, . But and also lie on the pseudoline containing the edges and , which lie on opposite sides of , so and have two common points. Moreover, the pseudoline containing meets at and at . This is a contradiction. The set of simple legs contains no two consecutive elements of the 6-cycle, so it has at most three elements.
Corollary C.5. Every triple point satisfies .
Proof. The point is incident to six edges, so , and
by Lemma C.4.
The bound of this corollary is sharp. In a triangle with its three medians (six lines, four triple points), the common point of the medians has and a final charge of exactly -3/2.
C.3. Bounding the number of unused segments
Corollary C.6. For every arrangement of pseudolines,
where is the number of vertices of multiplicity exactly 3. In particular, if , then with the waste limit of (C.1).
Proof. By Lemma C.1, the initial charges sum to w. The transfer does not change the sum, and after it the total charge of the segments equals u, so
since the final charges of vertices of multiplicity are nonnegative (Lemma C.3) and those of triple points are at least (Corollary C.5). The second part follows from (C.1).
C.4. Doomed faces. Corollary C.6 bounds in terms of for a finished arrangement . To use it for pruning at a partial word , we need two bounds that hold for all completions of : a lower bound on and an upper bound on . The first comes from segments each of whose two faces has closed as a non-triangle or is already doomed (Lemma C.8). The second comes from the budget of Subsection 3.3, strengthened by a similar argument about doomed faces (Lemma C.9). Comparing the two bounds is the segment pruning. Its final version also bounds the final charges of the vertices of by what is known about their edges (Lemma C.10). In this subsection we describe the criteria for a face to be doomed.
In the terminology of Section 3, a bounded triangle is a face i that was opened, received exactly one intermediate vertex and closed.
A continuation of a partial word that does not close face does not change the sets of labels in slots and in slots (see the proof of Lemma 3.6). The labels and can then change only under letters that give face intermediate vertices. A letter with reverses an increasing block and puts its minimum, one of the labels in slots , into slot . A letter with puts the maximum of its block, one of the labels in slots , into slot .
Lemma C.7. Suppose that in some completion of a partial word, face closes after receiving more intermediate vertices. (a) If , then . (b) If and , then .
Proof. At the moment of closing, the labels in the block of the closing letter increase, in particular . (a) Before closing, the pair is changed only by letters that give face intermediate vertices, so there is at least one such letter. (b) By (a), , and it remains to exclude . If the only intermediate vertex is produced by a letter with , then does not change, and slot receives one of the labels to the right of slot . By hypothesis this label is smaller than , and closing is impossible. If the only intermediate vertex is produced by a letter with , then does not change, and slot receives one of the labels to the left of slot . By hypothesis this label is larger than , and closing is again impossible.
A face that has not closed yet is doomed if it becomes a bounded triangle in no completion. Each of the following five criteria makes a face doomed:
(1) face has not been opened by any letter (it is unbounded on the left);
(2) the face already has intermediate vertices, so it will have sides if it closes, and it is unbounded if it does not;
(3) the labels in slots are already final, so the face will not close, that is, it is unbounded (Lemma 3.6);
(4) the face has exactly one intermediate vertex and : at least one more appears before closing (Lemma C.7(a)), so there will be when it closes;
(5) the face has no intermediate vertices, but exceeds all labels to the right of slot and is less than all labels to the left of slot : by Lemma C.7(b), at least two appear before closing.
The first three criteria are checked against the status of the face and the labels to its left, the fourth against the pair of wires in slots and , and the fifth against this pair and all labels. Being doomed is defined over all completions, so a face stays doomed until it closes, even if the criterion that established it stops holding (for example, criterion 5 may hold for , criterion 4 for an extension of , and criterion 2 for a further extension).
The early non-triangle count (P2) already counts, through the term , the faces that have at least two intermediate vertices. This argument uses only the fact that such a face will close and will not become a triangle, so it extends to every doomed bounded face. Let be the number of bounded faces doomed by criteria 2, 4 and 5 of the list above (criteria 1 and 3 mean that the face is unbounded). In modes II–IV (Table 1) the search discards a branch as soon as . This is the doomed-face count (P6).
C.5. Segment pruning.
Lemma C.8 (early counting of unused segments). In each of the following two cases, a segment of a partial word is, in every completion of , bounded and used by no triangle. (a) The segment is already formed (both its endpoints are crossings produced by letters of ), and each of the two faces bordering it is doomed or has closed as a non-triangle. (b) The segment is the current segment of the wire in slot (the part of this wire after its last crossing in ), faces and are doomed (for or , one of them is the outer unbounded region, which never becomes a bounded triangle), and the wire already has a crossing in and still has an uncrossed pair, that is, some slot to the left of holds a smaller label or some slot to the right of holds a larger one.
Proof. (a) Neither of the two faces of a formed segment becomes a bounded triangle, and both its endpoints are crossings of . (b) The segment of the wire in slot borders the current faces and , and they do not change until the next crossing on this wire: every letter that closes face or contains slot in its block. Both faces are doomed, so neither becomes a bounded triangle, and is a side of no triangle. Every pair of wires crosses exactly once, so in every completion the wire has one more crossing, and the current segment is bounded.
Let be the number of segments that Lemma C.8 shows to be unused. Every completion of satisfies .
Lemma C.9 (triple-point ceiling). Let be the number of wire pairs already crossed in a partial word . Then every completion with has at most triple points, where is the number of triple points of and
Proof. Each future triple point uses exactly three of the pairs of wires that have not crossed yet. Vertices of higher multiplicity use more pairs. This gives the first bound. Further, each future triple point adds to , and the closing of the faces counted in adds another to . A word with has , which gives the second bound.
Corollary C.6 together with Lemmas C.8 and C.9 already allows pruning at a partial word : every completion of with satisfies , and every search branch that violates this inequality can be discarded. However, this bound assumes a final charge of at every triple point and 0 at every vertex of multiplicity , including the vertices of . A charge of occurs only with six double segments, and in a partial word many edges are already known not to be double. We therefore bound the final charges of the vertices of by what is known about their edges and leave the pessimistic case to future vertices.
A segment is decided as non-double as soon as one of its two faces has closed as a non-triangle or is doomed by any of the five criteria, including a face doomed by the current letter itself, and as double when both faces have closed as triangles. Both decisions are final.
Let be a vertex of multiplicity in a partial word , and let be the number of undecided segments incident to it. For a triple point, let and be the numbers of incident segments decided as double whose other endpoint is simple or has multiplicity 3, respectively. In every completion the former are simple legs and the latter triple legs of . Number the six edges of cyclically as in Lemma C.4. Consecutive positions bound one sector. A set of positions is independent if it contains no two consecutive ones. By Lemma C.4, the simple legs form an independent set. Let be the positions of the segments counted in as future simple legs, the positions of the undecided segments, and let
be the largest number of undecided segments that can still become simple legs. For a vertex of multiplicity , let be the number of segments decided as double that transfer their charge to v under the rule of Lemma C.3. A segment whose endpoints both have multiplicity transfers its charge to the endpoint that occurs earlier in the word. Let
Lemma C.10 (charges of the vertices of ). In every completion of a partial word , each vertex of of multiplicity has , and if . Hence every completion of with satisfies
Proof. Decided segments transfer to the same charge as in the completion: 0 if non-double, and their final share if double. Let . An undecided segment decreases by 2 if it becomes a simple leg and by 1 if it becomes a triple leg, and it does not change otherwise (then it is not double, or it transfers its charge to its other endpoint of multiplicity ). By Lemma C.4, the simple legs of the completion form an independent set containing , so at most undecided segments become simple legs. Hence . Since and for a set attaining the maximum, the subtracted sum is at most 9, that is, . Let . Charge is transferred to by the segments counted in and by some of the undecided segments, so .
As in the proof of Corollary C.6, , where the sum runs over the vertices of multiplicity in the completion. The charges of the vertices of are bounded by the first part of the lemma. There are at most future triple points (Lemma C.9), and the final charge of each is at least (Corollary C.5). The final charges of future vertices of multiplicity are nonnegative (Lemma C.3). Together with , this proves the lemma.
Segment pruning discards a partial word if exceeds the right-hand side of (C.6). It is safe: a completion with would have , contrary to (C.6).
C.6. The state table. During the traversal of the tree, different partial words and may share continuations. Which continuations can follow and how many triangles they give depends not on the whole partial word but on the state accumulated by applying its letters. If the search found no completion of a partial word with , then no other partial word with the same state, or with a state that differs only by larger spending, has one either. The fact that a state has no completion is stored in a special hash table and used to skip empty subtrees.
The state of a partial word W is the tuple
where is the permutation of wire labels over the slots, is the initial slot of the last letter, is the vector of codes of the current faces, and is the spending.
The possible continuations of a partial word, that is, those satisfying conditions (i) and (iii) of Subsection 3.3 and the forced descent (Lemma 3.7), are determined by the pair : the increase of labels in the block of a letter is checked against , condition (iii) against , and the forced descent against both. Hence partial words with the same pair have the same possible continuations, and it remains to compare them by face codes and spending.
The code of face records its status, and its cost is the contribution of its closing to if the face receives exactly more intermediate vertices before closing (the indicator 1 equals 1 if the condition in its subscript holds and 0 otherwise):
| status of face i | code c[i] | cost |
|---|---|---|
| face not opened (initial unbounded face) | 0 | 0 |
| face opened, no intermediate vertices | 1 | |
| one intermediate vertex | 2 | |
| ≥ 2 intermediate vertices | 3 | 1 |
A closed bounded face adds one to if its number of intermediate vertices differs from one, and zero otherwise. A face with code 0 is unbounded and does not contribute to . If the face will not close, its cost is zero for every code. A letter that closes the current face opens a new face . The new face has no intermediate vertices regardless of , so the contributions of the later faces to depend only on the continuation, not on itself.
We need two properties of the codes. (a) Code 0 is determined by alone: it means that the initial face has not closed yet, that is, slots hold the labels . Indeed, before face first closes, the set of labels in these slots does not change (see the proof of Lemma 3.6), and the closing letter crosses the wires in slots and , with labels . They cannot cross a second time, so the wire stays to the left of , and the labels never again occupy slots . Hence partial words with the same permutation have code 0 at the same faces, and only codes 1–3 can differ. (b) Code 1 implies : the letter that opened face reversed an increasing block, after which the pair is decreasing. Only an intermediate vertex could change this, and with code 1 there was none.
Cost of a discrepancy. Let partial words and with the same permutation have different codes of face , , both at least 1. They have the same number of new intermediate vertices, since the intermediate vertices of face before its closing are produced by letters of the common continuation. Let be the difference between the cost of face for and for . For the cost table gives
The exact number of new intermediate vertices is not known in advance, but Lemma C.7 bounds it in terms of the permutation : under the hypothesis of its part (b), and if . For all values of vanish, and for the value vanishes. The properties of indicators also show that all three values of are at most one.
Hence for we have for every continuation, where
The conditions in (C.7) are determined by the common permutation and the pair of codes , so is the same quantity for X and Y.
For the difference is nonpositive for every continuation: , , and , where , since code 1 for implies (property (b)) and hence (Lemma C.7(a)).
Lemma C.11 (dominance). Let partial words X and Y have the same and , and let
where the sum runs over the faces that will still close (by Lemma 3.6, this is determined by ). If , then for every completion of , the word is a completion of , and .
Proof. A sequence is a possible continuation of if and only if it is a possible continuation of , since and share the pair . By Corollary 3.5, , so it suffices to check that . The future contributions of multiple points to are the same, since they come from the letters of . The contributions of non-triangular faces differ only in the closing of the current faces , and a face that will not close (criterion 3) contributes zero for both words. For a face that will close, the difference of contributions is zero for equal codes and otherwise equals , which is nonpositive for and at most for . Summing over , we obtain .
During the traversal of the tree, the state table is filled on backtracking: the state of a partial word is recorded when all its possible continuations have been traversed completely and none of them gave a word with . A node is skipped if the table has an entry with the same such that and satisfy the condition of Lemma C.11; we say that dominates . The key is compared in full. Eviction of entries from the hash table reduces the efficiency of the pruning but does not lose words.
Lemma C.12 (the state table loses no words). The subtree of any partial word recorded in the state table contains no words with . Hence skipping by the state table loses no words.
Proof. We argue by induction on the order of entries. Suppose the lemma holds for all entries made before the entry of a partial word ; we prove it for the entry of . Suppose, to the contrary, that is recorded in the state table although its subtree contains a word with . By the filling rule, is recorded only when the traversal of its subtree has found no such words, so the traversal did not reach : some partial word on the path from to was discarded. Let . No other pruning could have discarded : all of them are safe, and
is a word with . Hence was skipped by the entry of some in the state table. This entry was made before the entry of , because was processed during the traversal of the subtree of , and is recorded after this traversal ends (if is the first entry, this case cannot occur at all). By Lemma C.11, is a completion of and , which contradicts the induction hypothesis for .
Remark C.13. The proof of Lemma C.12 does not use the particular order of tree traversal, only the order in which the entries appear in time. The lemma therefore also holds for a state table shared by several concurrently running processes (provided the implementation guarantees that writes are atomic), and for a state table accumulated by an interrupted run with the same , and set of prunings when this run is restarted.
Segment pruning and the counting of are not part of the table key: in the proof of Lemma C.12 they, like all safe prunings, discard only subtrees without words with .
C.7. The state table for reduced arrangements. With the pruning of non-reduced arrangements (P7, Subsection 3.5), Lemma C.12 does not apply. An entry then only means that the subtree of contains no words of reduced arrangements with , while a continuation that gives a non-reduced arrangement after may give a reduced one after a partial word dominated by . Corollary 3.10 guarantees reducedness only for arrangements with the largest number of vertices, so skipping by the table has to compare the number of vertices as well. Let be the number of letters (vertices) of a partial word , and let be the largest number of vertices of an arrangement with .
Lemma C.14 (the state table for reduced arrangements). Suppose that is recorded in the table together with the state of a partial word , and a node is skipped by the entry of only if both the condition of Lemma C.11 and hold. Then the subtree of any recorded partial word contains no words with and letters. Hence the search with the pruning of non-reduced arrangements emits all words of the tree with and letters, and if an arrangement with exists, the output is nonempty.
Proof. We repeat the proof of Lemma C.12 for words with and . It changes in two places. Besides the safe prunings, the partial word could also have been discarded by the pruning of non-reduced arrangements. But the arrangement represented by has the largest number of vertices among arrangements with , so by Corollary 3.10 it is reduced, and this pruning discards none of its words. For the entry we need in addition to . It follows from , since then . The same arguments show that the search reaches every word of the tree with and letters and emits it, and by Corollary 3.10 such a word with first letter exists if an arrangement with exists.
Remark C.13 on concurrent processes and restarts carries over to Lemma C.14 without change.
REFERENCES
[1] K. Fujimura. The Tokyo Puzzles. Charles Scribner's Sons, New York, 1978. Edited by M. Gardner.
[2] OEIS Foundation Inc. Kobon triangles. https://oeis.org/A006066. Accessed 2026-11.
[3] R. Parpalak and D. Utkin. Enumeration and classification of triangle-maximal pseudoline arrangements. arXiv:2607.29236, 2026.
[4] J.-P. Roudneff. The maximum number of triangles in arrangements of pseudolines. Journal of Combinatorial Theory, Series B, 66(1):44–74, 1996.
[5] S. Felsner and K. Kriegel. Triangles in Euclidean arrangements. Discrete & Computational Geometry, 22(3):429–438, 1999.
[6] J. Blanc. The best polynomial bounds for the number of triangles in a simple arrangement of n pseudo-lines. Geombinatorics, 21:5–17, 2011.
[7] A. Khodulev. Problem Sh175: Kobon triangles. Sharada (Charade), bulletin of the puzzle club Diogen, Tula, no. 6(72), pages 1–2, June 1999. In Russian. Solutions by V. Kabanovich for lines.
[8] A. Maiorana. Kobon triangles for k = 14. https://github.com/rufio72/kobon_triangles_k14/commit/e47c7cfd9661e54d29befb83118bf83d5f804028, 2026. Accessed 2026-11.
[9] D. Forge and J. L. Ramírez Alfonsín. Straight line arrangements in the real projective plane. Discrete & Computational Geometry, 20(2):155–161, 1998.
[10] N. Bartholdi, J. Blanc, and S. Loisel. On simple arrangements of lines and pseudo-lines in and with the maximum number of triangles. In Surveys on Discrete and Computational Geometry: Twenty Years Later, volume 453 of Contemporary Mathematics, pages 105–116. American Mathematical Society, 2008.
[11] P. Savchuk. Constructing optimal Kobon triangle arrangements via table encoding, SAT solving, and heuristic straightening. arXiv:2507.07951, 2025.
[12] R. Parpalak and D. Utkin. The triangle-maximal series of straight lines. arXiv:2604.22035, 2026.
[13] J. Bokowski and J. Richter. On the finding of final polynomials. European Journal of Combinatorics, 11(1):21–34, 1990.
[14] J. E. Goodman. Proof of a conjecture of Burr, Grünbaum, and Sloane. Discrete Mathematics, 32(1):27–35, 1980.
[15] S. Felsner and J. E. Goodman. Pseudoline arrangements. In J. E. Goodman, J. O'Rourke, and C. D. Tóth, editors, Handbook of Discrete and Computational Geometry, chapter 5, pages 125–157. CRC Press, Boca Raton, FL, 3rd edition, 2017.
[16] J. Snoeyink and J. Hershberger. Sweeping arrangements of curves. In Proceedings of the Fifth Annual Symposium on Computational Geometry (SoCG '89), pages 354–363. ACM, 1989. Extended version: DIMACS Series in Discrete Mathematics and Theoretical Computer Science 6, AMS, 1991, 309–349; numbering of statements follows the 1989 version.
[17] J. E. Goodman and R. Pollack. Allowable sequences and order types in discrete and computational geometry. In J. Pach, editor, New Trends in Discrete and Computational Geometry, volume 10 of Algorithms and Combinatorics, pages 103–134. Springer, Berlin, 1993.
[18] M. H. A. Newman. On theories with a combinatorial definition of “equivalence”. Annals of Mathematics, 43(2):223–243, 1942.
[19] Z. Füredi and I. Palásti. Arrangements of lines with a large number of triangles. Proceedings of the American Mathematical Society, 92(4):561–566, 1984.
[20] D. W. Cranston and D. B. West. An introduction to the discharging method via graph coloring. Discrete Mathematics, 340(4):766–793, 2017.
[21] R. Parpalak and D. Utkin. Non-simple arrangements of lines and pseudolines with many triangles: code and data. https://github.com/parpalak/nonsimple-arrangements, commit ec29980, 2026.
[22] D. Utkin and R. Parpalak. Kobon & Arnold solution gallery. https://ud1.github.io/kobon-solutions/gallery/. Accessed 2026-11.
[23] G. Clément and J. Bader. Tighter upper bound for the number of Kobon triangles. Draft, https://oeis.org/A006066/a006066.pdf, 2007. Accessed 2026-11.
[24] J. E. Goodman and R. Pollack. Semispaces of configurations, cell complexes of arrangements. Journal of Combinatorial Theory, Series A, 37(3):257–293, 1984.