Zulip Chat Archive

Stream: new members

Topic: Modules over PID


Chengyan Hu (Feb 13 2026 at 22:13):

I’m curious about whether the theorem ‘for module over PID, flat and torsion-free are the same thing’ is already in mathlib? If so, what’s the proof stratergy? I’m currently taking a course in homological algebra and it’s sounds like a well-known proof is wrong.

Riccardo Brasca (Feb 13 2026 at 22:27):

I don't know why you think the usual proof is wrong, but we more generally have it for Dedekind domains IsDedekindDomain.flat_iff_torsion_eq_bot

Riccardo Brasca (Feb 13 2026 at 22:31):

The strategy seems to be the one in the stack project.

Chengyan Hu (Feb 13 2026 at 22:45):

Thanks a lot! I do agree with this proof.

Chengyan Hu (Feb 13 2026 at 22:46):

IMG_1677.png
IMG_1678.png
The proof I thought to be wrong is this one:

Chengyan Hu (Feb 13 2026 at 22:47):

Seems to be wrong from the first step

Andrew Yang (Feb 16 2026 at 07:42):

The proof seems correct to me?


Last updated: Feb 28 2026 at 14:05 UTC