There is a minor range issue in the printed bound: for and positive , the upper bound is below one. We prove the intended result for ; a valid formulation for every replaces the upper bound by . In fact the argument below gives . All auxiliary estimates are proved here.
For , let , and use the Fejér kernel
Expanding the square proves the identity and nonnegativity. The finite geometric series formula and give off the integers. In particular whenever .
Suppose, for a contradiction, that no has . Summing the Fejér kernel along the quadratic sequence and separating its constant term gives
The coefficients on the right sum to . Also . Hence some has , where .
We need only an elementary Van der Corput inequality for finite scalar sequences. For , extended by zero outside , each term of occurs in exactly windows of length . Applying the Cauchy-Schwarz inequality to the window sums and expanding their squares gives, for ,
Consequently . Take . If , some must have ; otherwise the displayed upper bound is less than .
For the large quadratic exponential sum just found, put . Its quadratic exponential sum has multiplicative derivative
Thus is a finite geometric series. Its absolute value is at most , unless that distance is zero, in which case the desired estimate is automatic. It follows that
Set . The distance to the nearest integer satisfies for a positive integer , by multiplying a nearest integer to . Therefore
This proves the needed quantitative quadratic recurrence once is chosen polynomially in .
For explicit bookkeeping, and . Choose . For we have and , while . Hence and , contradicting our supposition. The estimates have substantial slack even at .
For , simply take , since and . For the intended range, the conclusion is
For , the same choice proves the corrected all-range version.
A clean proof outline uses hypergraph removal rather than the quadratic density increment route. The structure is: establish removal for the three-uniform tetrahedron, encode four-term arithmetic progressions as its copies, and use the many edge-disjoint copies coming from constant progressions to contradict removal. We give the technical regularity stage in outline, as requested, and prove the counting inequality and the encoding that make the argument work.
The needed tetrahedron removal lemma says that for each there is such that a three-uniform hypergraph on vertices with fewer than copies of can be made -free by removing fewer than hyperedges. Equivalently, being a fixed positive edge-edit distance from -free forces a positive fourth-power copy count. Constants and whether copies are ordered are immaterial after rescaling .
Here is the global proof of this hypergraph removal input. Strong regularity for three-uniform hypergraphs partitions both vertices and the bipartite pair sets between vertex classes. The resulting three-class cells, called triads in a hypergraph regularity partition, are supported on three pair cells. On all but a prescribed small total weight, the triple-edge function has approximately constant relative density and a small relative three-dimensional box norm. This two-level refinement is essential: a vertex partition alone does not capture correlations carried by pairs. The regularity construction uses the squared L2 norms of conditional expectations of edge indicators as bounded energies. Refinement increases this energy by the squared L2 norm of the difference between the new and old conditional expectations, by orthogonality. Thus a nonuniformity witness causing a definite discrepancy causes a definite energy increment. A witness to nonuniformity refines the relevant pair or triple partition and raises the appropriate energy. A hierarchy of tolerances, with sufficiently strong refinement at the pair level, makes these increases terminate after a bounded number of stages. Bounds may depend very badly on the requested tolerance, which is harmless for a qualitative theorem.
Delete hyperedges with two vertices in the same vertex class, hyperedges meeting exceptional classes or irregular cells, hyperedges supported on pair cells of very small density, and hyperedges in triads of very small triple density. Choose the cutoffs and error hierarchy so that the total deleted is less than . A surviving selects four vertex classes, six pair cells and four triads with all required densities above their cutoffs. The relative tetrahedron counting lemma gives at least copies in those cells. This contradicts the assumed sparse copy count, and proves the tetrahedron removal lemma. The strong regularity and relative counting estimates are the technical portion outlined here; the dependence of their constants is not needed.
To show the key analytic mechanism in that counting step, define the three-dimensional box norm of a complex function on by
where denotes complex conjugation. If the other three functions are bounded by one, then
For a proof, fix first. Apply the Cauchy-Schwarz inequality over to remove , duplicating . Next apply the Cauchy-Schwarz inequality over the variables other than to remove the two factors from , duplicating . A third application removes the four factors from and duplicates . The resulting eighth power is exactly the cube average displayed above. Averaging over proves the inequality. This also shows nonnegativity of the cube average by its successive squared-sum form.
For example, on complete pair supports, if four triple-edge functions have constant parts and , telescope the fourfold product and apply this inequality to each term. Their hypergraph clique density differs from by at most , so it is positive when . On general pair supports the same successive squaring argument is combined with sufficiently regular pair cells; choosing relative errors small compared with the pair-density product gives the relative tetrahedron counting lemma. This explains both the counting step and why its support must be regularized before the triple-edge densities. It supplies a proved important step without pretending that the strong regularity theorem is a one-line assertion.
We now prove the four-term progression hypergraph encoding completely. Let have subset density at least , choose , and take four disjoint copies of the cyclic group . Put a hyperedge on the three vertices excluding part precisely when
For a transversal quadruple let and . Its four edge conditions are , . Thus a gives a four-term arithmetic progression with common difference modulo .
Suppose has no nonconstant four-term arithmetic progression in the integers. A modular progression lying in must also be an integer progression: each consecutive second difference has absolute value less than , so its congruence to zero is an equality. Therefore every in this hypergraph has , and all four values equal some . For each , the system , has exactly solutions: choose , solve first for , and then for . There are exactly copies of .
These copies are edge-disjoint. Indeed, an edge missing part has exactly one completion with , obtained by setting . Its common value is the already prescribed . Hence destroying all copies requires at least edge deletions. Since , this is at least . Apply the tetrahedron removal lemma to the vertices with, for instance, . It would permit fewer than deletions once is large: the copy count is eventually below its fixed threshold . This is impossible.
Every fixed positive density therefore forces a nonconstant four-term arithmetic progression in sufficiently long intervals. This proves the length-four case of the Szemerédi theorem. Applying it to sufficiently large initial intervals along a subsequence witnessing positive upper asymptotic density also gives the usual infinite-set formulation.
Subtracting twice the first linear congruence from the second gives . Since , the modular inverse of modulo is . Thus . Substitution in the first linear congruence then gives , whence . All integer solutions are
The two free integers are independent. Conversely, these values give and , so no additional restriction is needed.
The Chinese remainder theorem says that for pairwise coprime integers , any prescribed residue modulo each is realized by exactly one residue class modulo . The Fermat little theorem says that for a prime number and an integer not divisible by , ; equivalently, for every integer .
For the given prime number, write . Its square is for some integer , since one of two consecutive integers is even. Therefore . The Fermat little theorem applied modulo gives , hence ; applied modulo it gives . These applications are valid because .
The three moduli are pairwise coprime integers and have product . By the Chinese remainder theorem,
Reflexivity follows by taking the two exponents equal to , and symmetry is built into the two divisibility conditions. For transitivity, suppose , , and . Then and , with positive exponents. Thus the relation is an equivalence relation.
Its equivalence classes have a useful description by prime factorization. Let be the finite set of prime factors of , with . If , every prime factor of divides ; the reverse divisibility gives . Conversely, if , write and , with all exponents positive. Choosing and gives the required divisibilities. The empty case is exactly .
Therefore the prime-support equivalence relation is
where the radical of an integer is the product of its distinct prime factors. The class with empty support is . For every nonempty finite support , all positive exponent choices give one class, and varying just one exponent produces infinitely many different integers in it.
There are infinitely many classes because each prime number gives a different singleton support. For completeness, if there were only finitely many prime numbers , a prime factor of would differ from them all. There are infinitely many classes; the unique finite class is .
Write both nonnegative integers in base-p expansions, padding with zero digits to a common length . By the preceding polynomial identity,
Expanding the last product with the binomial theorem, each term is obtained by choosing an integer with . Its exponent is and its coefficient is . Uniqueness of base-p expansions says that the only way this exponent can equal is to choose for every .
If some , no such term exists and the coefficient is zero. Otherwise its coefficient is precisely the product below. Comparing the coefficient of proves Lucas theorem:
with the convention for . This also covers , and padding either expansion by further zero digits multiplies the product only by .
Suppose two base-p expansions represent the same nonnegative integer. Pad the shorter one by trailing zero digits so that both have the same length. Reducing modulo shows that their first digits satisfy . Since both digits lie between and , they are equal as integers.
Subtract that common digit and divide by . The remaining equality is an equality of two base-p expansions with one fewer digit. Repeating this argument shows that every pair of corresponding digits agrees. Equivalently, repeated Euclidean division recovers the digits as remainders. The digits are unique up to padding by zeroes. The finite nonnegative-digit representation presupposes ; a negative integer has no such expansion.
The integers are countable: for and for is an injection . Hence is a countable set. The map is a surjection onto the rational numbers, so the image result already proved gives is countable. Unique reduced fractions are not required for this surjection argument.
For the final unheaded geometry request, suppose for contradiction that no two distinct circles in the collection intersect. Restrict to the subcollection of circles tangent to the -axis. Each such nondegenerate circle has a unique tangency point, and the tangency-point map is a surjection by the hypothesis.
The closed disk of a circle tangent at meets the -axis only at . Two distinct members of cannot have nested disks: if one disk were inside the other, its tangency point would belong to the larger disk, so both tangency points would be equal and both circle boundaries would pass through it. That already contradicts nonintersection. Circles with disjoint boundaries and no nesting have disjoint disks. Thus their open disks are pairwise disjoint.
By the density of the rational numbers, every nonempty open disk contains a point of , which is a countable set. Fix an enumeration of and assign to each disk the first enumerated point inside it. Disjointness makes this assignment an injection. This is the countability of pairwise disjoint open disks, and proves that is a countable set. Its surjection onto would make the real numbers countable, contrary to the Cantor diagonal argument. Therefore
The proof allows circles on either side of the axis and counts tangential contact as intersection; it does not assume that all circles in the original collection are tangent to the axis.
Choose an injection . For each , its fiber under the surjection is nonempty, so define
Two distinct fibers cannot contain the same label , because is an injection and has a single value. Thus is an injection, proving that is a countable set. Taking the least label avoids any need for a separate choice of one element from each fiber. If is empty, surjectivity makes empty as well.
For the unheaded enumeration request, list pairs of positive natural numbers by their sum. An explicit Cantor pairing function is
For , the positive integers give the consecutive labels . These blocks are disjoint, consecutive and cover . Consequently is a bijection from to , so is countable.
For a complex semisimple Lie algebra , a Cartan subalgebra is a maximal abelian subalgebra consisting of elements whose Adjoint representation matrices are diagonalizable. Equivalently it is a nilpotent self-normalizing Lie subalgebra. The root-space decomposition is
where the roots are the nonzero weights of that Adjoint representation.
We use these properties of the Killing form : it is nondegenerate on and on , it is invariant, distinct root spaces are orthogonal unless their roots sum to zero, and pairs nondegenerately with . Define by , and choose , with . Since weights add, , and invariance gives
The nonisotropic root lemma shows . Here is its short proof: if this number were zero, the span of would be a solvable Lie algebra with central. Apply the Lie theorem to its action on . The commutator would be strictly upper triangular and hence nilpotent. But makes it diagonalizable. It would therefore be zero, putting in the zero center of a Lie algebra of , contrary to its definition. Set
Then
so their span is the sl2 subalgebra associated with a root.
The abstract reduced crystallographic root system axioms are as follows. In a finite-dimensional real inner product space , the set is finite, consists of nonzero vectors and spans ; for every , one has ; the root reflection preserves ; and is an integer for every pair of roots. We verify the positive-definite real form as well as these axioms, rather than assuming the complex Killing form is already positive.
First is finite and has no zero element by its definition. The roots span over : any annihilated by all roots commutes with the whole root-space decomposition and is central, hence zero. Therefore the , and also the , span over . For every root , the classification of finite-dimensional sl2 representations applied to the Adjoint representation of the root subalgebra gives . Put . Every root takes real values on this space, and
The strict inequality follows because the roots span . This also shows that the complexification of injects into : an equality with real would contradict positivity of and . Since its complex span is all of , it is a real form. Moreover , so is a real scalar multiple of . The dual inner product thus makes a Euclidean space, as in the Euclidean subspace of a Cartan subalgebra.
To prove reducedness without assuming it, consider the root-subalgebra module
with absent root spaces understood to be zero. Its weights are even, so every nontrivial Irreducible Lie algebra representation in it has even positive highest weight and one-dimensional weight-zero space. The action of on its weight-zero space has image exactly , of dimension one. Therefore there is precisely one nontrivial irreducible summand, the already embedded adjoint module of highest weight . Thus and . If is any root on the same real line, the integral numbers and have product . Hence is one of ; the half and double cases are excluded by applying the preceding argument to the appropriate root. This proves the root-space reducedness lemma and .
For a root not parallel to , the sum of root spaces is stable under the root . Its integer weights are symmetric under sign in each irreducible summand. Therefore the weight also occurs, at the root . The Killing form normalization gives
so this root is exactly . For the reflection just swaps the two roots. This proves reflection invariance and the Cartan integer condition. All axioms of the reduced crystallographic root system have now been verified.
The points are -spaced if their circular spacing satisfies for , where is distance to the nearest integer. Ordinary distance on the real line would be insufficient because the complex exponential is periodic.
Let and . Multiplication by this unit-modulus factor leaves unchanged and places the frequencies of in . Put . The permitted Sobolev–Gallagher inequality, in the form needed here, is
For , the arcs about the have disjoint interiors on the circle group. Summing and applying the Cauchy-Schwarz inequality gives
The Cauchy-Schwarz inequality here follows by expanding and minimizing over . For completeness, the finite-interval Parseval identities follow by expanding the squares: is one at and zero at every other integer . Thus and . We obtain the exponential-sum large sieve bound
If , there is at most one point, and the direct Cauchy-Schwarz inequality bound proves the same assertion.
For a fixed prime , the grid has circular spacing . Consequently an arc of length contains at most three points of this grid, including endpoints. The standard Chebyshev estimate for the prime-counting function gives
Since , the local-multiplicity large sieve yields the prime-denominator large sieve:
By contrast, distinct reduced fractions with denominators at most have circular distance at least : their difference, even after subtraction of an integer, has a nonzero integer numerator over denominator . Applying part (a) alone gives only . The local-multiplicity argument saves a factor of .
Every counted point has integer coordinates and lies in the square , while the origin is always counted. Hence
No precise circle-area estimate is needed; this elementary bound controls the growth of the power series coefficients.
The comparison test for series states that if , convergence of implies convergence of . Equivalently, divergence of the smaller nonnegative series forces divergence of the larger one.
For ,
For , the ratio of successive terms on the right tends to , so the ratio test and the comparison test for series show absolute convergence. The case is immediate.
If , then , so the terms do not tend to zero. The term test for divergence therefore rules out convergence, including every point on the boundary . Thus the radius of convergence is
The series converges exactly in the open unit disc. This is an example of polynomial coefficient growth with unit power-series radius: the lattice-count bound is polynomial rather than exponential.
An abstract root system, in the reduced crystallographic convention, is a finite subset of a finite-dimensional real Euclidean space satisfying the following conditions:
  • and spans .
  • For each , ; this is the reduced condition.
  • The root reflection preserves .
  • Every Cartan integer is an integer.
The root system is irreducible if it is not a union of two nonempty mutually orthogonal root systems. The integrality condition is essential for the finite angle list below; arbitrary finite reflection systems need not satisfy it.
The possible angles are , , , , , , , , and . For roots , put
Both are integers, they have the same sign when nonzero, and
If the roots are linearly independent, strict Cauchy-Schwarz inequality gives . Hence . These values give, respectively,
For the last column, the possible absolute pairs are , , and , up to interchange, and . Parallel roots are equal or opposite by reducedness, giving or . Thus the list is exhaustive, and the rank-two root systems realize each nonparallel possibility.
Now suppose two simple roots have angle . Distinct simple roots have nonpositive inner product. Here is a proof from their defining sign property: if , then with a positive Cartan integer . This would be a root whose coefficients in the root basis include both a positive and a negative coefficient, which is impossible. Therefore, after normalizing the simple roots to unit length, any nonzero off-diagonal inner product is at most , by the angle list.
Let , , so . If there were a third simple root with unit vector , write and . Independence of the simple roots makes their Gram matrix positive definite, so
If either or were nonzero, its absolute value would be at least . Since , the displayed determinant would then be nonpositive. Thus . Every other simple root is orthogonal to both and : a triple bond isolates a G2 component.
Indeed, the root reflections in preserve their plane and fix its orthogonal complement; the root reflections in the other simple roots preserve that complement and fix the plane. The given facts that these reflections generate the Weyl group and that every root is Weyl group-conjugate to a simple root imply that every root lies entirely in one of those two orthogonal subspaces. If there were any other simple root, this would make reducible. Therefore irreducibility forces rank two.
Up to interchanging the simple roots, take short and long. The squared-length ratio is . Choose a scale and orthonormal coordinates so that
The Cartan integers are and . In coefficient coordinates , the two root reflections are
Their orbits of and are, respectively,
These sets are closed under both displayed reflections; for example , , , and . The assumption that every root is conjugate to a simple root now determines all twelve roots, with no further ones possible.
Figure 1.
The twelve G2 roots, with the six positive roots labelled and the simple roots emphasized
. Details.
For completeness, this twelve-element set really is a root system. It is finite, spans the plane, and is reduced. The six short roots have length and directions spaced by ; the six long roots have length and interleaved directions, also spaced by . Their mutual Cartan integers are integral: within either length class they are , , or as applicable, and between the two length classes they are , , or . Closure under all root reflections follows by conjugating the two simple reflections, since every listed root lies in a simple-root orbit. The nonorthogonal simple roots make it irreducible. We have therefore proved existence as well as uniqueness, up to isometry and overall scale:
For (1)(a), a primitive recursive function is obtained by a finite construction from the zero function, successor function and projection functions, using function composition in recursion theory and primitive recursion. The recursion rule, with parameters , is
Here have already been constructed. All these functions are total on nonnegative integers: the initial functions are total, composition preserves totality, and ordinary mathematical induction proves totality of each recursion.
For (1)(b), use a shifted hyperoperation sequence, beginning with addition. Define
and, for each fixed , define
The first three members are therefore addition, multiplication and exponentiation:
The exponentiation convention includes , hence . The next member iterates exponentiation, with ; there is no need for an exceptional domain restriction at .
For (1)(c), is a primitive recursive function by its displayed recursion. If is a primitive recursive function, then
are primitive recursive functions, using constants, projection functions and function composition in recursion theory. Primitive recursion applied to gives . Mathematical induction on the fixed rank proves every member of the sequence is primitive recursive. This does not assert that the joint three-variable evaluator is a primitive recursive function.
For (2), as written, the answer is no: the empty set is semidecidable, whereas a total computable function from to always has a nonempty range. This is the only obstruction. To prove the stronger useful statement, suppose is a nonempty computably enumerable set and choose . Fix a Turing machine which halts exactly on the inputs in . Its bounded halting predicate
is primitive recursive: encode configurations arithmetically, iterate its total single-step operation times by primitive recursion, and check the halt state. A halted configuration is kept fixed. This is a bounded simulation, not unbounded waiting.
Fix a primitive recursive pairing function with primitive recursive inverse coordinate functions. For example, the Cantor pairing function has inverses obtained by bounded minimization. Define
The two coordinate functions, the bounded predicate, and the finite case distinction are primitive recursive functions, so is a primitive recursive function. Its values always lie in . Conversely, if , its computation halts within some finite , and . Thus
The range need not be a computable set; deciding whether a value occurs anywhere in this total enumeration is an unbounded search.
Represent a nonnegative integer by the Church numeral
A closed lambda term represents a partial computable function if, on inputs in its domain, reduces to the Church numeral of the value, and on other inputs it produces no Church numeral. We use untyped lambda calculus and normal-order beta reduction.
First every primitive recursive function has such a representation on all inputs. The zero function is represented by a constant , the projection functions by , and the successor function by
For function composition in recursion theory, substitute the represented inner functions into the represented outer function:
These constituent functions are total, so there is no undefined argument to be discarded.
For primitive recursion, use Church Booleans and Church pairs:
If represent the total functions defining a recursion, put
and
After iterations the Church pair contains the counter and the recursively computed value at , by mathematical induction. Thus this lambda definition of primitive recursion by pair iteration represents the recursion. A structural induction for primitive recursive functions now represents every primitive recursive function.
To pass to arbitrary partial computable functions, use the Kleene normal form theorem in the following form: for every , there are total primitive recursive functions such that
with undefined precisely when no such exists. The predicate checks codes of valid finite halting histories for the chosen program; extracts their common output. This expresses unbounded minimization of a total predicate, so no earlier undefined test can interfere with the search.
Let be the represented total functions. The Church numeral zero test and a fixed-point combinator are
Define the search lambda term
All displayed abbreviations expand to finite closed lambda terms; stands for the fixed finite tuple of input variables. Because , normal-order beta reduction tests . At the first successful test the Church Boolean selects , which reduces to the correct Church numeral. The unused recursive branch is discarded.
If no test succeeds, every finite search step returns to another head search, never exposing a numeral. The term has no head normal form and hence cannot be beta equivalent to a Church numeral. This last point is why the output operation occurs inside the successful branch: simply applying a possibly argument-discarding outer function to a divergent search would not justify undefinedness. Therefore every computable function is representable, including partial computable functions with their correct undefined inputs:
Reduce using modular congruence: its residue class modulo is , , or . A square number therefore has residue class or , and raising either residue to the positive integer power leaves it unchanged. Consequently
The exponent in the original PDF is ; the polynomial identities in the converted TeX are a transcription error. The argument uses ; it does not assign a value.
The Fermat-Euler theorem states that for an integer and a positive integer with ,
where the Euler totient function counts the residue classes coprime to . For , choose a reduced residue system . Multiplication by the unit modulo n preserves coprimality and is injective on these residue classes: implies , because has a multiplicative inverse modulo . It therefore permutes the reduced residue system, giving
The product is also a unit modulo n, so it can be cancelled. This proves the Fermat-Euler theorem. For every modular congruence is automatic; one may use .
For a prime number , the Euler totient function has value . Thus whenever . Multiplying by , and treating separately, gives the all-integer version of Fermat's little theorem:
Finally, Wilson theorem states that for every prime number , . Its converse is also true: an integer is prime exactly when . For the converse, any proper divisor would divide both and , contradicting that congruence.
Suppose . Then is a unit modulo n for modulus , and Fermat's little theorem implies
Since is an odd prime number, and are distinct residue classes. Therefore is even, and .
Conversely, put . Pair each integer with in the factorial. Wilson theorem yields
When , is even, so satisfies . This proves the first supplementary law for quadratic reciprocity without assuming a primitive root. Hence
The two solutions are and modulo : their difference is nonzero, and factoring shows that a degree-two polynomial over the field of residues modulo has no further roots.
For each positive integer , the positive elements of form an infinite set, and the preceding increasing enumeration gives a bijection on these positive elements. The positive integers have a unique decomposition with , so these sets are disjoint and exhaust the positive integers.
The printed natural numbers include . The trailing-zero count of the representation of is not needed: shift the positive partition down by one and put
Uniqueness of the trailing-zero count proves the injective function property, and the decomposition of proves the surjective function property. An explicit decimal trailing-zero pairing function, using the increasing enumeration from the previous part, is
Indeed, the bracket enumerates , exactly the positive integers not divisible by . This handles both the positive index and the element without silently changing the PDF's convention.
To enumerate the rational numbers, first enumerate the integers by , , for . The function maps onto , and composing with gives a surjective function from . Choosing the first index representing each rational number gives an injective function . Thus is countably infinite; its infinitude follows because it contains all integers.