-
Notifications
You must be signed in to change notification settings - Fork 194
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
localizations of commutative rings #2089
localizations of commutative rings #2089
Conversation
Signed-off-by: Ali Caglayan <[email protected]> <!-- ps-id: 8142c113-8b77-4529-b720-f4a4bd269b35 -->
Signed-off-by: Ali Caglayan <[email protected]>
I've added an induciton princple for |
By slightly generalizing |
I still have more to review, and it might be a couple more days before I get to it. |
Signed-off-by: Ali Caglayan <[email protected]>
|
||
End Localization. | ||
|
||
(** TODO: Show construction is a localization. *) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The idea here is to show that a certain precomposition map is an equivalence as we do for other kinds of localizations. The LHS should be the hom from the localized ring to another ring T and the RHS should be S-inverting maps. The categories are a little awkward to describe however so I haven't been able to state this. We also would make this an equivalence of groupoids since otherwise funext would be introduced.
Signed-off-by: Ali Caglayan <[email protected]>
Signed-off-by: Ali Caglayan <[email protected]>
Signed-off-by: Ali Caglayan <[email protected]>
Signed-off-by: Ali Caglayan <[email protected]>
Signed-off-by: Ali Caglayan <[email protected]>
As an aside, it would be great to have some "reflection" tools in Coq-HoTT that let us quickly solve all of these goals involving group and ring laws. I heard that the Cubical Agda library has recently added such things, and of course there's lots of work of this nature done in Coq. I wonder if any of it can be easily imported into Coq-HoTT? |
Ok, I've finished my review. The only things left to resolve are the naming and whether to add |
Signed-off-by: Ali Caglayan <[email protected]>
Signed-off-by: Ali Caglayan <[email protected]>
Signed-off-by: Ali Caglayan <[email protected]>
Signed-off-by: Ali Caglayan <[email protected]>
Signed-off-by: Ali Caglayan <[email protected]>
Signed-off-by: Ali Caglayan <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, I like how that simplified things!
Signed-off-by: Ali Caglayan <[email protected]>
Co-authored-by: Dan Christensen <[email protected]>
Signed-off-by: Ali Caglayan <[email protected]>
I pushed some further cleanups for uses of |
We have some ring reflection tactics already in the library. Though it is from mathclasses so I don't know how easy it would be to get working with the main algebra library. Coq also has its own The key detail with adapting the |
In this PR we introduce localizations of commutative rings. This is based on a formalization of the Zariski topology I started back in 2020, but I think the localization is of independent interest.
FTR there is no good generalization of localization for noncommutative rings so I've stuck to commutative rings.
We begin by defining the notion of a multiplicative subset of a ring and give a few examples. We then define the underlying type of a ring localized with respect to a multiplicative subset as a quotient type of fractions. This generalises the field of fractions construction.
The rest of the work consists of showing that we have a commutative ring structure and that we have the expected recursion principle.
Along the way, we introduce various ring lemmas of general use.