Skip to content
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

[Merged by Bors] - feat: relative differentials as a presheaf of modules #14014

Closed
wants to merge 28 commits into from

Conversation

joelriou
Copy link
Collaborator

@joelriou joelriou commented Jun 21, 2024

In this PR, we define the type M.Derivation φ of derivations with values in a presheaf of R-modules M relative to
a morphism of φ : S ⟶ F.op ⋙ R of presheaves of commutative rings over categories C and D that are related by a functor F : C ⥤ D. In the particular case F is the identity functor, we construct the universal derivation.


This is a refactor of #11570

Open in Gitpod

Copy link

github-actions bot commented Jun 21, 2024

PR summary ec03e2a468

Import changes

No significant changes to the import graph


Declarations diff

+ Derivation
+ HasDifferentials
+ Universal
+ Universal.mk
+ app
+ app_apply
+ congr_d
+ d_app
+ d_one
+ derivation'
+ instance : HasDifferentials (F := 𝟭 D) φ' := ⟨_, _, ⟨isUniversal' φ'⟩⟩
+ instance : Subsingleton d.Universal
+ isUniversal'
+ mk
+ mk_app
+ postcomp
+ relativeDifferentials'
+ relativeDifferentials'BundledCore
+ relativeDifferentials'_map_apply
+ relativeDifferentials'_map_d
+ relativeDifferentials'_obj

You can run this locally as follows
## summary with just the declaration names:
./scripts/no_lost_declarations.sh short <optional_commit>

## more verbose report:
./scripts/no_lost_declarations.sh <optional_commit>

@joelriou joelriou changed the title feat: relative differentials of a presheaf of modules feat: relative differentials as a presheaf of modules Jun 21, 2024
joelriou and others added 5 commits June 21, 2024 17:06
@joelriou joelriou added t-category-theory Category theory t-algebra Algebra (groups, rings, fields, etc) t-algebraic-geometry Algebraic geometry awaiting-review labels Jun 21, 2024
@joelriou joelriou added WIP Work in progress and removed awaiting-review labels Jun 22, 2024
@joelriou joelriou removed the WIP Work in progress label Jun 22, 2024
@leanprover-community-mathlib4-bot leanprover-community-mathlib4-bot added the blocked-by-other-PR This PR depends on another PR to Mathlib (this label is automatically managed by a bot) label Jun 22, 2024
@leanprover-community-mathlib4-bot leanprover-community-mathlib4-bot removed the blocked-by-other-PR This PR depends on another PR to Mathlib (this label is automatically managed by a bot) label Jun 24, 2024
@leanprover-community-mathlib4-bot
Copy link
Collaborator

This PR/issue depends on:

@leanprover-community-mathlib4-bot leanprover-community-mathlib4-bot added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Jun 24, 2024
@leanprover-community-mathlib4-bot leanprover-community-mathlib4-bot removed the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Jun 24, 2024
@erdOne erdOne added awaiting-author A reviewer has asked the author a question or requested changes and removed awaiting-review labels Jun 25, 2024
@joelriou joelriou added awaiting-review awaiting-CI and removed awaiting-author A reviewer has asked the author a question or requested changes labels Jun 25, 2024
@erdOne
Copy link
Member

erdOne commented Jun 25, 2024

Thanks!
maintainer merge

Copy link

🚀 Pull request has been placed on the maintainer queue by erdOne.

@jcommelin
Copy link
Member

Thanks 🎉

bors merge

@github-actions github-actions bot added ready-to-merge This PR has been sent to bors. and removed awaiting-review labels Jun 25, 2024
mathlib-bors bot pushed a commit that referenced this pull request Jun 25, 2024
In this PR, we define the type `M.Derivation φ` of derivations with values in a presheaf of `R`-modules `M` relative to
a morphism of `φ : S ⟶ F.op ⋙ R` of presheaves of commutative rings over categories `C` and `D` that are related by a functor `F : C ⥤ D`. In the particular case `F` is the identity functor, we construct the universal derivation.



Co-authored-by: Joël Riou <[email protected]>
Copy link
Member

@kbuzzard kbuzzard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All the lean looks fine to me but I would like to be able to understand the module docstring better :-)

with values in a presheaf of `R`-modules `M` relative to
a morphism of `φ : S ⟶ F.op ⋙ R` of presheaves of commutative rings
over categories `C` and `D` that are related by a functor `F : C ⥤ D`.
We formalize the notion of universal derivation.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Trying to read this first paragraph, I found myself not knowing what S was, and actually I'm still confused mathematically. If F : C => D then F.op >>> R is a presheaf of rings on D,and I'm guessing that S is a scheme because that's what it is in the next paragraph, and now I don't know what kind of object phi is supposed to be. Please feel free to add explanations so that I understand the first paragraph :-)


Geometrically, if `f : X ⟶ S` is a morphisms of schemes (or more generally
a morphism of commutative ringed spaces), we would like to apply
these definitions in the case where `F` is the pullback functors from
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
these definitions in the case where `F` is the pullback functors from
these definitions in the case where `F` is the pullback functor from

rings `φ' : S' ⟶ R`, we construct a derivation
`DifferentialsConstruction.derivation'` which is universal.
Then, the general case (TODO) shall be obtained by observing that
derivations for `S ⟶ F.op ⋙ R` identify to derivations
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
derivations for `S ⟶ F.op ⋙ R` identify to derivations
derivations for `S ⟶ F.op ⋙ R` identify with derivations

@mathlib-bors
Copy link
Contributor

mathlib-bors bot commented Jun 25, 2024

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title feat: relative differentials as a presheaf of modules [Merged by Bors] - feat: relative differentials as a presheaf of modules Jun 25, 2024
@mathlib-bors mathlib-bors bot closed this Jun 25, 2024
@mathlib-bors mathlib-bors bot deleted the presheaf-of-modules-relative-differentials branch June 25, 2024 14:51
kbuzzard pushed a commit that referenced this pull request Jun 26, 2024
In this PR, we define the type `M.Derivation φ` of derivations with values in a presheaf of `R`-modules `M` relative to
a morphism of `φ : S ⟶ F.op ⋙ R` of presheaves of commutative rings over categories `C` and `D` that are related by a functor `F : C ⥤ D`. In the particular case `F` is the identity functor, we construct the universal derivation.



Co-authored-by: Joël Riou <[email protected]>
dagurtomas pushed a commit that referenced this pull request Jul 2, 2024
In this PR, we define the type `M.Derivation φ` of derivations with values in a presheaf of `R`-modules `M` relative to
a morphism of `φ : S ⟶ F.op ⋙ R` of presheaves of commutative rings over categories `C` and `D` that are related by a functor `F : C ⥤ D`. In the particular case `F` is the identity functor, we construct the universal derivation.



Co-authored-by: Joël Riou <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintainer-merge ready-to-merge This PR has been sent to bors. t-algebra Algebra (groups, rings, fields, etc) t-algebraic-geometry Algebraic geometry t-category-theory Category theory
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants