In mathematics, a **profinite group** is a topological group that is in a certain sense assembled from a system of finite groups.

The idea of using a profinite group is to provide a "uniform", or "synoptic", view of an entire system of finite groups. Properties of the profinite group are generally speaking uniform properties of the system. For example, the profinite group is finitely generated (as a topological group) if and only if there exists such that every group in the system can be generated by elements.^{[1]} Many theorems about finite groups can be readily generalised to profinite groups; examples are Lagrange's theorem and the Sylow theorems.^{[2]}

To construct a profinite group one needs a system of finite groups and group homomorphisms between them. Without loss of generality, these homomorphisms can be assumed to be surjective, in which case the finite groups will appear as quotient groups of the resulting profinite group; in a sense, these quotients approximate the profinite group.

Important examples of profinite groups are the additive groups of -adic integers and the Galois groups of infinite-degree field extensions.

Every profinite group is compact and totally disconnected. A non-compact generalization of the concept is that of locally profinite groups. Even more general are the totally disconnected groups.

Profinite groups can be defined in either of two equivalent ways.

A profinite group is a topological group that is isomorphic to the inverse limit of an inverse system of discrete finite groups.^{[3]} In this context, an inverse system consists of a directed set an indexed family of finite groups each having the discrete topology, and a family of homomorphisms such that is the identity map on and the collection satisfies the composition property whenever The inverse limit is the set:

equipped with the relative product topology.

One can also define the inverse limit in terms of a universal property. In categorical terms, this is a special case of a cofiltered limit construction.

A profinite group is a compact, and totally disconnected topological group:^{[4]} that is, a topological group that is also a Stone space.

Given an arbitrary group there is a related profinite group the *profinite completion* of ^{[4]} It is defined as the inverse limit of the groups where runs through the normal subgroups in of finite index (these normal subgroups are partially ordered by inclusion, which translates into an inverse system of natural homomorphisms between the quotients).

There is a natural homomorphism and the image of under this homomorphism is dense in The homomorphism is injective if and only if the group is residually finite (i.e., where the intersection runs through all normal subgroups of finite index).

The homomorphism is characterized by the following universal property: given any profinite group and any continuous group homomorphism where is given the smallest topology compatible with group operations in which its normal subgroups of finite index are open, there exists a unique continuous group homomorphism with

Any group constructed by the first definition satisfies the axioms in the second definition.

Conversely, any group satisfying the axioms in the second definition can be constructed as an inverse limit according to the first definition using the inverse limit where ranges through the open normal subgroups of ordered by (reverse) inclusion. If is topologically finitely generated then it is in addition equal to its own profinite completion.^{[5]}

In practice, the inverse system of finite groups is almost always *surjective*, meaning that all its maps are surjective. Without loss of generality, it suffices to consider only surjective systems since given any inverse system, it is possible to first construct its profinite group and then *reconstruct* it as its own profinite completion.

- Finite groups are profinite, if given the discrete topology.
- The group of -adic integers under addition is profinite (in fact procyclic). It is the inverse limit of the finite groups where ranges over all natural numbers and the natural maps for The topology on this profinite group is the same as the topology arising from the -adic valuation on
- The group of profinite integers is the profinite completion of In detail, it is the inverse limit of the finite groups where with the modulo maps for This group is the product of all the groups and it is the absolute Galois group of any finite field.
- The Galois theory of field extensions of infinite degree gives rise naturally to Galois groups that are profinite. Specifically, if is a Galois extension, consider the group consisting of all field automorphisms of that keep all elements of fixed. This group is the inverse limit of the finite groups where ranges over all intermediate fields such that is a
*finite*Galois extension. For the limit process, the restriction homomorphisms are used, where The topology obtained on is known as the*Krull topology*after Wolfgang Krull. Waterhouse (1974) showed that*every*profinite group is isomorphic to one arising from the Galois theory of*some*field but one cannot (yet) control which field will be in this case. In fact, for many fields one does not know in general precisely which finite groups occur as Galois groups over This is the inverse Galois problem for a field (For some fields the inverse Galois problem is settled, such as the field of rational functions in one variable over the complex numbers.) Not every profinite group occurs as an absolute Galois group of a field.^{[6]} - The étale fundamental groups considered in algebraic geometry are also profinite groups, roughly speaking because the algebra can only 'see' finite coverings of an algebraic variety. The fundamental groups of algebraic topology, however, are in general not profinite: for any prescribed group, there is a 2-dimensional CW complex whose fundamental group equals it.
- The automorphism group of a locally finite rooted tree is profinite.

- Every product of (arbitrarily many) profinite groups is profinite; the topology arising from the profiniteness agrees with the product topology. The inverse limit of an inverse system of profinite groups with continuous transition maps is profinite and the inverse limit functor is exact on the category of profinite groups. Further, being profinite is an extension property.
- Every closed subgroup of a profinite group is itself profinite; the topology arising from the profiniteness agrees with the subspace topology. If is a closed normal subgroup of a profinite group then the factor group is profinite; the topology arising from the profiniteness agrees with the quotient topology.
- Since every profinite group is compact Hausdorff, there exists a Haar measure on which allows us to measure the "size" of subsets of compute certain probabilities, and integrate functions on
- A subgroup of a profinite group is open if and only if it is closed and has finite index.
- According to a theorem of Nikolay Nikolov and Dan Segal, in any topologically finitely generated profinite group (that is, a profinite group that has a dense finitely generated subgroup) the subgroups of finite index are open. This generalizes an earlier analogous result of Jean-Pierre Serre for topologically finitely generated pro- groups. The proof uses the classification of finite simple groups.
- As an easy corollary of the Nikolov–Segal result above,
*any*surjective discrete group homomorphism between profinite groups and is continuous as long as is topologically finitely generated. Indeed, any open subgroup of is of finite index, so its preimage in is also of finite index, and hence it must be open. - Suppose and are topologically finitely generated profinite groups that are isomorphic as discrete groups by an isomorphism Then is bijective and continuous by the above result. Furthermore, is also continuous, so is a homeomorphism. Therefore the topology on a topologically finitely generated profinite group is uniquely determined by its
*algebraic*structure.

There is a notion of *ind-finite group*, which is the conceptual dual to profinite groups; i.e. a group is ind-finite if it is the direct limit of an inductive system of finite groups. (In particular, it is an ind-group.) The usual terminology is different: a group is called locally finite if every finitely generated subgroup is finite. This is equivalent, in fact, to being 'ind-finite'.

By applying Pontryagin duality, one can see that abelian profinite groups are in duality with locally finite discrete abelian groups. The latter are just the abelian torsion groups.

A profinite group is *projective* if it has the lifting property for every extension. This is equivalent to saying that is projective if for every surjective morphism from a profinite there is a section ^{[7]}^{[8]}

Projectivity for a profinite group is equivalent to either of the two properties:^{[7]}

- the cohomological dimension
- for every prime the Sylow -subgroups of are free pro--groups.

Every projective profinite group can be realized as an absolute Galois group of a pseudo algebraically closed field. This result is due to Alexander Lubotzky and Lou van den Dries.^{[9]}

A profinite group is *procyclic* if it is topologically generated by a single element that is, if the closure of the subgroup ^{[10]}

A topological group is procyclic if and only if where ranges over some set of prime numbers and is isomorphic to either or ^{[11]}