There is an essential qualification to the printed hypothesis. If compactly generated group means merely generated algebraically by a compact subset, the claim is false. In the additive group with its usual topology,
is compact, being a convergent sequence together with its limit, and generates every rational number since any integer denominator divides some factorial. The group is metrizable. However, an invariant Radon measure has a common mass on each singleton. If , the compact set has infinite measure, contradicting finiteness on compact sets. If , countable additivity makes the entire countable group have measure zero. Thus it has no nonzero Haar measure. This proves that compact generation does not imply local compactness and disproves the literal unrestricted statement.
The intended existence statement is valid when local compactness is included, either explicitly or in the convention that the group has a compact generating neighbourhood. Here is a construction for a locally compact, compactly generated, metrizable Hausdorff group. No invariant measure is assumed during its construction.
Enlarge a compact generating set to a symmetric compact neighbourhood of the identity element . Then , and each is compact. Moreover lies in the interior of , since multiplication by the open neighbourhood of the identity element contained in supplies an open neighbourhood of every point of . This gives a compact exhaustion. Every compact metric space has a countable dense subset: take finite -nets and unite them. Their union over this exhaustion is dense in , so the metric space is separable and has a countable open basis.
We use nonnegative compactly supported continuous functions and cutoffs equal to one on specified compact sets. Their existence is covered by the source's permission concerning auxiliary functions. Fix a nonzero such function . For nonzero define the weighted covering quantity
The quantities are finite: an open set where is bounded below has translates covering the compact support of , so finitely many sufficiently large weighted translates dominate it. The denominator is positive, since evaluation at a point where gives .
Each is nonnegative, homogeneous, monotone, left invariant and subadditive; these follow respectively by rescaling, comparing or combining covers, and translating their centers. Also . Composing a cover of by translates of with a cover of by translates of gives
This is a bound independent of . On functions supported in a fixed compact set , choose a cutoff on . Monotonicity and subadditivity imply
Thus the covering functionals are uniformly Lipschitz on each fixed support.
Choose a nonzero with support in an neighbourhood of the identity element shrinking to . The nonnegative functions supported in each compact member of the exhaustion form a separable metric cone in the supremum norm, as a subspace of continuous functions on that compact metric space. Select a countable dense family from each cone and include . The uniform scalar bounds permit a diagonal subsequence along which converges on their countable union. The displayed Lipschitz estimate extends convergence to every nonnegative member of . Denote the limit by . It inherits positivity, homogeneity, monotonicity, subadditivity, invariance and .
The crucial remaining step is additivity. Fix with combined support , and fix a compact neighbourhood of the identity element . Choose a cutoff equal to one on . For , put
setting the ratio to zero off the denominator's nonzero set. These ratios are continuous: on a neighbourhood of the supports, and off those supports the numerator vanishes. Their sum is at most one. Compactness and continuity give, for each , an neighbourhood of the identity element small enough that each oscillates by at most on any translate of meeting . To justify this uniform choice, such translates lie inside the fixed compact set when ; continuity of and a finite cover of that compact set give a single small right-increment neighbourhood, then choose inside it.
If has support in and , discard translates not meeting when covering . Let be the supremum of on the remaining translate's support. Then , and comparing both suprema with the ratios at one common point gives . Taking covering infima yields
Along the subsequence this holds eventually, since its supports shrink. Pass to , then let and ; the uniform bound on gives . Subadditivity gives the reverse inequality. Thus is additive.
Extend linearly to real functions using positive and negative parts, and then complex-linearly to . The compact-support bounds above make it a positive, locally bounded functional. The Riesz representation on compactly supported continuous functions gives a Radon measure with . Translation invariance of and uniqueness in that representation give for Borel . It is nonzero because , and finite on compact sets because a cutoff dominating their indicators has finite integral. Finally every nonempty open set has positive measure: otherwise its translates cover the compact support of , a finite subcover would give that support measure zero, contradicting . Hence is a Haar measure under the stated local-compactness qualification. This is Haar measure from normalized covering functionals, with the limiting additivity proved explicitly.
There is an indexing issue in the printed topology. Its cumulative sums omit , whereas the post-slot workload of a queue in part (a) includes . To see the problem, take all for , with , and compare two inputs with and . Their distance according to the printed cumulative-sum expression is zero, yet
Thus the post-slot workload is not continuous in the literal printed topology. On two-sided sequences that expression is a seminorm, since it also ignores future coordinates; the fixed-mean input class is not a vector space (if signed inputs are allowed, it is an affine set).
The appropriate repair for the post-slot convention is to use one-sided past inputs including time zero and the weighted cumulative-input topology for a slotted queue:
This is a finite metric on the fixed-mean class, since cumulative differences are ; equality of all cumulative sums implies equality of all past coordinates. It is equivalent to augmenting the printed cumulative-difference distance by : their cumulative sums differ only by this extra coordinate and a one-step shift.
Here is the full corrected continuity proof. Fix with , and let . Choose such that whenever . If , then, for all such ,
Both queue workloads therefore maximize over the same finite collection , containing the value zero. For any two finite lists, the difference of their maxima is at most the maximum absolute difference of corresponding entries. Thus
in this neighborhood. In particular the queue workload is locally Lipschitz continuous and hence continuous.
An alternative indexing repair retains the printed topology but interprets the time-zero function as the workload before slot , namely . The same finite-window argument proves its continuity. One must then shift the time labels consistently in the later recursions. The remaining answers use the post-slot convention and .
The weighted binary-sequence metric is finite because . It is symmetric and nonnegative. If , every nonnegative summand is zero, so every coordinate agrees; conversely agreement makes the sum zero. For three sequences, apply in each coordinate and sum. This proves the triangle inequality, so is a metric.
If two sequences differ in one of their first coordinates, their distance is at least . Thus the open ball is contained in . For every , the latter cylinder equals , so each cylinder set is open in the metric topology. Every set in the specified topology, being a union of cylinder sets, is therefore metric-open.
Conversely, agreement in the first coordinates gives
Given a metric-open set containing , choose a ball inside it, then choose with . The bound gives , establishing the required prefix-neighbourhood condition. The two topologies coincide. The strict inequality avoids incorrectly treating the closed tail bound as a strict ball bound.
The sum of the two metrics is nonnegative and symmetric. It vanishes exactly when both coordinate distances vanish, hence exactly when the two points agree. Adding the two component triangle inequalities gives the triangle inequality on the Cartesian product, so the displayed function is a metric. Moreover,
so the projection map is -Lipschitz and therefore continuous.
To prove sequential compactness directly from compactness, take a sequence in . If every point had a neighborhood containing sequence terms at only finitely many indices, these neighborhoods would form an open cover with a finite subcover, implying that only finitely many sequence terms exist, a contradiction. Thus some has infinitely many indices in every neighborhood. Choose increasing indices with ; then .
Now let be closed and suppose converges to . Choose such that . A convergent subsequence exists by the preceding argument. In the product metric, , and the fact that is closed gives . Thus , proving that the projection with a compact factor is closed. The sequential criterion for a closed set in a metric space follows by choosing points at distance less than from any point of its closure.
For a counterexample without a compact factor, take with their usual metrics and
The continuous product function makes closed, but is not closed. Thus compactness of the discarded factor is essential to the general conclusion.
Let have a dense forward orbit , and suppose that is surjective. Every tail is then dense. Indeed, continuity gives
and the left side equals by surjectivity.
Given nonempty open sets , choose with . The dense tail supplies with . Taking gives . This proves the required positive-time intersection property.
The result can fail without surjectivity. Take the compact metric space
with the metric induced from the real line. All nonzero points are isolated, so continuity there is automatic; at zero, proves continuity. The forward orbit of is , whose closure is , so this is point transitivity. But . The singletons and are nonempty open sets, and for every ,
The isolated initial point can be visited only at the start of the dense forward orbit; deleting that initial segment destroys density.
Use the separated-set definition of topological entropy. For a compatible metric and , define the Bowen metric and separated-set count by
For fixed , the metric generates the original topology: it includes the term and all finitely many iterations of a map are continuous. Thus its space is compact and is finite. With natural logarithms, set
The last limit exists, possibly with value infinity, because decreasing can only increase separated-set counts.
Let be another compatible metric. The identity is a continuous function on a compact domain, hence uniformly continuous. For every , choose such that implies . The same implication at every iterate gives
By its contrapositive, every -separated set for is -separated for . Consequently for every , and
Taking gives . Interchanging the two compatible metrics gives the reverse inequality. Therefore
Compactness is used for uniform continuity, not merely for pointwise equivalence of the two metrics.
Write the hyperbolic toral automorphism as on , where . Its determinant is . The eigenvalues cannot be a nonreal conjugate pair: their product would have absolute value one, forcing each to have absolute value one, contrary to hyperbolicity. The same product condition and hyperbolicity imply two distinct real eigenvalues, labelled so that
We will prove
This is the entropy of a hyperbolic toral automorphism; the absolute value is important when the expanding eigenvalue is negative.
Choose real eigenvectors and the adapted norm . Its quotient metric on the torus is
It is a compatible metric, so part (a) allows its use. Let and . Fix small enough that and .
If lies in the Bowen ball , each has a unique lift with . Uniqueness follows because two such lifts differ by a lattice vector of norm less than . Moreover, is a lattice vector, and
It must be zero. Thus : there is no hidden lattice jump between successive lifted iterates.
Write . The simultaneous bounds for are exactly
The stable coordinate is largest at time zero and the unstable coordinate at time . Conversely, every vector in this rectangle satisfies all the Bowen ball bounds. The quotient is injective on this rectangle by . If , its normalized Haar measure is therefore
The quotient metric is translation invariant and is linear, so ; every Bowen ball has this same measure, independently of its centre.
Take an -separated set of largest cardinality . It is maximal under inclusion, so its radius- Bowen balls cover the torus: a point outside all these balls could be added. The covering bound gives
Its radius- Bowen balls are disjoint, by the triangle inequality for . Their measures sum to at most one, giving
Taking logarithms, dividing by , and letting yields for every sufficiently small . The limit as proves the answer. Contraction in the stable direction contributes no exponential growth; only expansion in the unstable direction does.
Write for the 2-adic valuation of a nonzero integer . Then for unequal arguments. It is positive for , vanishes exactly when , and is symmetric because .
For the triangle inequality, if divides and divides , then divides their sum . Thus
Coincident arguments also satisfy these inequalities immediately. Consequently is a metric, and indeed an ultrametric induced by the 2-adic absolute value.
For the sequence, , so
The same sequence diverges in the usual Euclidean metric; the convergence here depends on the 2-adic absolute value.
False. The real line with its usual metric is complete and is homeomorphic to with its usual metric, through
Its inverse is , so both maps are continuous. However, is a Cauchy sequence in and has no limit there: its only possible real limit is zero. Hence is not a complete metric space. Completeness is a property of the metric, not just of its topology.
For rows , three useful choices are Euclidean distance, standardized Euclidean distance, and Mahalanobis distance:
The Euclidean choice is simple, rotation invariant and appropriate when the original coordinate scales carry comparable meaning. It is sensitive to scale changes, may be dominated by a high-variance variable and gives correlated or duplicate variables repeated influence. Squared Euclidean dissimilarity is sometimes used algorithmically, but removing the square root generally loses the triangle inequality.
The standardized Euclidean choice removes marginal units using fixed positive sample scales . It gives equal marginal weight to variables, but ignores correlations and can magnify noise when an estimated variance is small. Constant variables require omission or an explicitly chosen positive external scale.
The Mahalanobis choice incorporates the full positive-definite sample covariance , so it is Euclidean distance after whitening. It accounts for both scale and redundancy and is invariant under an invertible change of coordinates when is transformed consistently. However estimating requires enough observations and can be sensitive to extreme values; inversion is unstable near singularity and unavailable when is singular. With fixed positive scales or positive-definite , all three square-root expressions are genuine metrics on the measurement space. Their different geometries encode different notions of which individuals should be considered similar.
For every binary vector , , and hence
Thus is not a metric, because it fails identity of indiscernibles. It is nonnegative and symmetric. In fact it also satisfies the triangle inequality trivially: every value lies in , so . That does not repair its nonzero self-distance.
For fixed , the complement of the simple matching coefficient is the fraction of coordinates that disagree:
This is the normalized Hamming distance. It is nonnegative, symmetric, and is zero exactly when every coordinate agrees. At each coordinate,
Summing and dividing by proves the triangle inequality. Therefore is a metric on the binary vectors.