Zulip Chat Archive
Stream: Is there code for X?
Topic: Z-hat
Kevin Buzzard (May 05 2024 at 11:02):
The profinite completion of is a basic type (so should be in core really). Do we have it in mathlib? It's a topological ring, equal to the projective limit of over the positive naturals. It's really essential that the limit is over the positive naturals; taking it over all the naturals would just leave you with again.
One definition of the finite adeles of a number field is (this is a trick I learnt from Maria Ines), and one definition of the infinite adeles of a number field is , so you can see that both constructions are in some sense a completion of the number field, the first nonarchimedean and the second archimedean. If we had a we'd have all the ingredients for this definition.
Adam Topaz (May 05 2024 at 16:44):
You could just take the product of all the ’s.
Jz Pan (May 06 2024 at 19:17):
More generally, you can define the profinite completion of an abelian group by the same way. Seems that it doesn't generalize to non-commutative groups.
Filippo A. E. Nuccio (May 06 2024 at 19:49):
I agree that but I do not think this would be the "right" definition in mathlib
, mainly because it does not generalise to function fields and it puts a lot of emphasis on the -structure of through the ScalarTower
. Also, one would immediately run into nasty commutativity issues of the form ... But since your question was purely about this is probably not very relevant.
Jz Pan (May 06 2024 at 19:53):
Filippo A. E. Nuccio said:
one would immediately run into nasty commutativity issues
Maybe it's better to write on the left...
Kevin Buzzard (May 06 2024 at 20:13):
I write L on the left!
Adam Topaz (May 06 2024 at 20:40):
Jz Pan said:
More generally, you can define the profinite completion of an abelian group by the same way. Seems that it doesn't generalize to non-commutative groups.
The profinite completion is perfectly well-defined for noncommutative groups. You just take the limit over all finite quotients. In the commutative case, i.e. when is an abelian group you can talk about the adic completion which is the limit of as varies, but this is a separate concept. In the case of the adic and profinite completions agree.
Adam Topaz (May 06 2024 at 20:42):
I think adic completions should be added to mathlib, but that they should be done in a suitable level of generality. One option could be to define so-called "truncation sets" (see this for example) and define an adic completion for any truncation set .
Adam Topaz (May 06 2024 at 20:43):
Thus if , you would get the -adic completion, and when you get the full adic completion
Adam Topaz (May 06 2024 at 20:44):
(Truncation sets also show up in the theory of big Witt vectors, so it makes sense to have these anyway IMO!)
Jz Pan (May 07 2024 at 00:42):
Adam Topaz said:
The profinite completion is perfectly well-defined for noncommutative groups. You just take the limit over all finite quotients.
I see. But what about a group which has no non-trivial finite quotients (e.g. an infinite "simple group"?)
In the commutative case, i.e. when is an abelian group you can talk about the adic completion which is the limit of as varies, but this is a separate concept. In the case of the adic and profinite completions agree.
Oh I see. I missed that problem. So for these two don't agree?
Johan Commelin (May 07 2024 at 04:29):
Right. The profinite completion can be trivial. The map from G to the completion does not have to be injective.
Mitchell Lee (May 07 2024 at 06:22):
Adic completions are already in mathlib: you equip a ring with the adic topology (docs#Ideal.adicTopology) and then take the completion (docs#UniformSpace.Completion), which comes with a ring structure (docs#UniformSpace.Completion.ring). In fact, I have a PR which proves that it's even a nonarchimedean ring (#12669).
I don't think it's been proved in mathlib that the -adic completion of is the limit of the quotients , but this can be stated using docs#CategoryTheory.Limits.IsLimit rather than taken as the definition.
To get , you start with a different linear topology: the one generated by the cosets of nonzero ideals. I think @Antoine Chambert-Loir and @María Inés de Frutos Fernández were discussing adding linearly topologized rings to mathlib.
Mitchell Lee (May 07 2024 at 06:33):
Oh, in fact, adic completions are in mathlib twice. You can either use docs#UniformSpace.Completion with the adic topology, or you can use docs#AdicCompletion. I'm not sure whether there is any mathematical difference between these two or why you would want to use one over the other.
Johan Commelin (May 07 2024 at 06:42):
The docstring of docs#AdicCompletion says
The completion of a module with respect to an ideal. This is not necessarily Hausdorff. In fact, this is only complete if the ideal is finitely generated.
Also, it doesn't assume a preexisting uniform structure on the ring. So I guess there is both a difference in maths and in intended API.
Antoine Chambert-Loir (May 07 2024 at 06:49):
Yeah, “adic completion” is really a poor name, but that's too late to get a new one (“adiction” ?) On the other hand, any ideal gives rise to a adic-uniform structure. Compared to paper-math, mathlib's docs#UniformRing implicitly allow for more general ones.
Mitchell Lee (May 07 2024 at 07:44):
This is maybe a stupid question, but can you give an example where the result of docs#AdicCompletion isn't Hausdorff?
Kevin Buzzard (May 07 2024 at 08:03):
(deleted)
Antoine Chambert-Loir (May 07 2024 at 08:10):
The paper by Amnon Yekutieli (2011), “On Flatness and Completion for Infinitely Generated Modules over Noetherian Rings”, Communications in Algebra, 39:11, 4221-4245, seems to prove that if is a ring, an ideal of and is any -module, then the -adic completion of , is Hausdorff (Corollary 1.7).
Antoine Chambert-Loir (May 07 2024 at 08:22):
The standard example (Bourbaki, Commutative Algebra, chapter III, §2, exercise 12) proves something else: if is the ring of polynomials in infinitely many indeterminates, is its maximal ideal of polynomials vanishing at 0, then the -adic completion identifies with the ring of power series in of which every homogeneous part is a polynomial. This ring is a local ring, but its maximal ideal (these power series without constant term) is not the closure of , as the example of shows. As a consequence, the topology of is not -adically complete. In fact it is even not -adically complete. The example in Bourbaki only addresses the cases where is a finite field, but according to the Stacks Project, Tag 05JA and unpublished note by De Smit and Lenstra, this should hold in general. (The ideal is not the kernel of the canonical map .)
Last updated: May 02 2025 at 03:31 UTC