1 Knuth’s CC systems
See [ Knu92 ] for the definitions in what follows.
1.1 Definitions
A CC is a triplet predicate. If the CC is unambiguous, its evaluation on the triplet \((p, q, r)\) is typically denoted by \(pqr\).
Think of CCs as valid orientations of triplets of points in \(\mathbb {R}^2\). Indeed, this is a generalisation of the statement “\(r\) is on the left of the oriented line \(pq\)” (see Definition 10).
A CC is nondegenerate if it evaluated to true only if its arguments are pairwsie distinct.
A CC is cyclic if it is invariant under a cyclic permutation of its arguments.
A CC is antisymmetric if \(pqr\) and \(prq\) cannot be true simultaneously.
A CC is total if every triplet \((p, q, r)\) satisfies either \(pqr\) or \(prq\).
A CC is transitive whenever for every \(p, q, r, s, t \in X\) with \(p \ne r \land tsp \land tsq \land tsr \land tpq \land tqr\), we have \(tpr\).
Note that one might believe the transitivity could be expressed as \(tpq \land tqr \rightarrow tpr\). However, the first three predicates are important to make sure that \(t\) is not in the triangle \({\Delta }pqr\), since in that case, the transitivity would not hold (see Figures 1.1 and 1.2).
A CC satisfies the interiority property if every triplet \((p, q, r)\) satisfies either \(pqr\) or \(prq\).
A CC-system is a pre CC-system that satisfies the interiority property (see Definition 7).
Construct A CC system from a set of noncolinear points in \(\mathbb {R}^2\).