mathlib4
mathlib4 copied to clipboard
feat: the equational criterion for flatness
We prove the equational criterion for flatness. As a consequence, every homomorphism from a finitely presented module to a flat module factors through a finite free module.
- [x] depends on: #12647
This PR/issue depends on:
- ~~leanprover-community/mathlib4#12647~~ By Dependent Issues (🤖). Happy coding!
Hello, I managed to make Algebra/Module/FinitePresentation.lean fully universe polymorphic. This had the side effect of somehow breaking RingTheory/Flat/EquationalCriterion.lean, even though I didn't even touch that file. I think this is almost certainly not worth it. #13149
Hello, I managed to make
Algebra/Module/FinitePresentation.leanfully universe polymorphic. This had the side effect of somehow breakingRingTheory/Flat/EquationalCriterion.lean, even though I didn't even touch that file. I think this is almost certainly not worth it. #13149
Oh great, thanks! I think the extra leg-freedom in the universe level of the indexing type will pay off, but I think we can merge this PR and generalize in a second step with your follow-up PR.
Hi, I'm sorry about the way I worded my comment earlier. I shouldn't be so dismissive about universe polymorphism; I now see it could very plausibly matter at some point. Do you have any suggestions for how to do #13149? You can make commits directly if you want.
Hi, I'm sorry about the way I worded my comment earlier. I shouldn't be so dismissive about universe polymorphism; I now see it could very plausibly matter at some point. Do you have any suggestions for how to do #13149? You can make commits directly if you want.
Currently I am busy, but I'll have a look in two days.
Apart from one open question above, I think this is good to go. Since the universe generalizations depend on #13149, we can merge this one as is and generalize after #13149.