Skip to content

Cover's theorem

Count the binary labelings of general-position points that a specified linear threshold family can separate.

Version
v1 · 2026-10-17 · History
Domain-specific #
14110
Domain group
Formal Sciences
Origin domain
Mathematics
Subdomains
Combinatorial Geometry, Pattern Recognition → Mathematics
Aliases
Function-counting theorem, Cover's function-counting theorem

Core Idea

Cover's function-counting theorem counts how many of the \(2^N\) binary labelings of \(N\) measured points can be separated by a declared linear threshold family. For \(N\) vectors in general position in a \(d\)-dimensional feature space, with a hyperplane through the origin, the count is \(C(N,d)=2\sum_{k=0}^{d-1}\binom{N-1}{k}\). General position here requires every subset of at most \(d\) measured vectors to be linearly independent. A labeling counts only if a weight vector puts every point strictly on its assigned side.[1] Cardinality supplies the set-size concept; the separator geometry supplies this particular exact count.

How would you explain it like I'm…

Counting Straight-Line Splits

Put some dots on paper and color each one red or blue in every possible way. For each coloring, ask: can one straight line through the middle put all the reds on one side and all the blues on the other? Cover's theorem is a rule that tells you exactly how many colorings work.

How Many Labelings Can Split

Imagine N points, each labeled 'yes' or 'no.' There are 2 × 2 × 2… (N times) ways to label them. Cover's theorem counts how many of those labelings can be split perfectly by a flat cut through the center point, with every 'yes' strictly on one side and every 'no' strictly on the other. The points must be spread out in a typical way, with no special lining-up. The answer depends on how many points there are and how many dimensions the space has. It counts which splits are possible; it does not say how well a sorting rule will work on new points.

Linear Separability Counting Theorem

Cover's function-counting theorem asks: of the 2ᴺ ways to label N points as positive or negative, how many can a hyperplane through the origin separate? The points live in d dimensions and must be in general position, meaning any group of at most d of them is linearly independent. The exact count is C(N, d) = 2 × Σ_{k=0}^{d−1} (N−1 choose k). A labeling counts only if one weight vector gives every positive point a strictly positive score and every negative point a strictly negative score. If you pick labels at random, the chance they are separable is C(N, d)/2ᴺ, which is exactly one half when N = 2d. The theorem is about capacity, not accuracy on new data.

 

Cover's function-counting theorem addresses the capacity of linear threshold classifiers: among the 2^N dichotomies of N feature vectors in R^d, how many are linearly separable by a hyperplane through the origin? For vectors in general position, every subset of size at most d being linearly independent, the exact count is C(N,d) = 2 sum_{k=0}^{d-1} binom(N-1, k). A dichotomy is realizable only if a single weight vector yields strictly positive scores on all positive points and strictly negative scores on all negative points. Under a uniform random labeling of a fixed general-position set, the probability of separability is C(N,d)/2^N, exactly 1/2 at N = 2d by binomial symmetry. Cover's 1965 paper presents this as its Function-Counting Theorem, credits earlier independent proofs, and extends it to decision surfaces obtained via suitable mappings of the inputs. The result enumerates realizable labelings; it neither guarantees general position for real data nor implies that a fitted separator generalizes.

Scope of Application

Use the theorem for a fixed finite point set, binary labels, a declared separator family and general position in its effective feature space.[1]

  • Homogeneous thresholds: Separate the original measured vectors with a hyperplane through the origin.
  • Affine thresholds: Lift \(x\in\mathbb R^m\) to \((1,x)\) in \(m+1\) dimensions to include an intercept.[1]
  • Mapped surface families: Declare the feature map before counting; curved boundaries may result in the original space.[1]
  • Capacity comparisons: Compare \(C(N,d)\) with \(2^N\) only for the same fixed point set and family.
  • General-position boundary: Apply the exact formula only when the mapped vectors satisfy the needed independence condition.[1]

Clarity

\(2^N\) counts all labelings; \(C(N,d)\) counts the separable ones. Their ratio is a probability only if labels are chosen uniformly. At \(N=2d\), the ratio equals one half; that means half of complete labelings can be separated, not that a trained classifier is correct on half the points.[1] In the homogeneous case all labelings are separable when \(N\le d\). For affine separation in \(\mathbb R^m\) the corresponding threshold is \(N\le m+1\), under the mapped general-position condition.

Manages Complexity

The binomial sum replaces a separate separator-feasibility test for each of \(2^N\) assignments. It gives the total count without identifying which individual assignments work or how an algorithm finds their separating weights. If the measured vectors are dependent, the exact count may change, so a feature dimension alone is not enough.[1]

Abstract Reasoning

Fix the patterns and their feature map; state whether the separator is homogeneous or affine; verify general position; then count realizable labelings in that effective dimension. For three vectors \((1,0),(0,1),(1,1)\) in \(\mathbb R^2\), every pair is independent, so the theorem gives \(C(3,2)=6\) of eight sign assignments. The missing assignments are \((+,+,-)\) and \((-,-,+)\) because the third vector is the sum of the first two. This small case shows what the total counts without claiming to identify a learning algorithm.

Knowledge Transfer

The same count applies after a valid feature map when the mapped vectors meet the theorem's independence condition; Cover treats linear, spherical and polynomial families this way.[1] Transfer the pattern fixed binary assignments → declared separator family → general-position mapped vectors → exact number realizable, not a numeric count divorced from its feature dimension. Linear separability asks whether one labeled set has a separator; Cover's theorem counts across all assignments of the fixed point set.

Relationships to Other Abstractions

Local relationship map for Cover's theoremParents appear above the current abstraction, mutual partners to the right, and children below. Node labels state whether each abstraction is prime or domain-specific; colors identify relation types.Cover's theoremDOMAINPrime abstraction: Cardinality — presupposesCardinalityPRIME

Current abstraction Cover's theorem Domain-specific

Parents (1) — outgoing typed relations

  • Cover's theorem presupposes Cardinality Prime

    The theorem counts the cardinality of realizable dichotomies among all binary labelings.

Hierarchy paths (5) — routes to 3 parentless roots

Neighborhood in Abstraction Space

Cover's theorem sits in a sparse region of the domain-specific corpus (84th percentile for distinctiveness): few abstractions share its structure, so a faithful description tends to retrieve it precisely.

Family — Unclustered & Miscellaneous (3155 abstractions)

Nearest neighbors

Computed from structural-signature embeddings · 2026-11-14

References

[1] Thomas M. Cover, “Geometrical and Statistical Properties of Systems of Linear Inequalities with Applications in Pattern Recognition,” IEEE Transactions on Electronic Computers EC-14, no. 3 (1965): 326–334, doi:10.1109/PGEC.1965.264137. https://isl.stanford.edu/~cover/papers/paper2.pdf . Original full article inspected: printed p.326 Theorem 1 and definitions; pp.327–330 measurement-map generalization, Figure 1 and Table I; pp.330–332 random-label capacity and separate generalization analysis. registry ↩a ↩b ↩c ↩d ↩e ↩f ↩g ↩h