Skip to content

feat(AlgebraicGeometry): restriction of quasi-coherent sheaf is quasi-coherent#37766

Open
chrisflav wants to merge 26 commits into
leanprover-community:masterfrom
chrisflav:qcoh-restrict
Open

feat(AlgebraicGeometry): restriction of quasi-coherent sheaf is quasi-coherent#37766
chrisflav wants to merge 26 commits into
leanprover-community:masterfrom
chrisflav:qcoh-restrict

Conversation

@chrisflav chrisflav added WIP Work in progress t-algebraic-geometry Algebraic geometry labels Apr 7, 2026
@github-actions github-actions Bot added the large-import Automatically added label for PRs with a significant increase in transitive imports label Apr 7, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 7, 2026

PR summary b2b31c9fec

Import changes exceeding 2%

% File
+14.65% Mathlib.CategoryTheory.Discrete.Basic

Import changes for modified files

Dependency changes

File Base Count Head Count Change
Mathlib.CategoryTheory.Discrete.Basic 314 360 +46 (+14.65%)
Mathlib.CategoryTheory.Limits.Preorder 453 454 +1 (+0.22%)
Mathlib.AlgebraicGeometry.Modules.Tilde 2375 2380 +5 (+0.21%)
Import changes for all files
Files Import difference
7 files Mathlib.CategoryTheory.Limits.Preorder Mathlib.CategoryTheory.Limits.Shapes.Preorder.Basic Mathlib.CategoryTheory.Limits.Shapes.Preorder.HasIterationOfShape Mathlib.CategoryTheory.SmallObject.Iteration.Basic Mathlib.CategoryTheory.SmallObject.Iteration.ExtendToSucc Mathlib.CategoryTheory.SmallObject.Iteration.FunctorOfCocone Mathlib.CategoryTheory.SmallObject.Iteration.Nonempty
1
Mathlib.AlgebraicGeometry.Modules.Tilde 5
Mathlib.CategoryTheory.PUnit 35
17 files Mathlib.CategoryTheory.Bicategory.LocallyDiscrete Mathlib.CategoryTheory.CommSq Mathlib.CategoryTheory.Comma.Arrow Mathlib.CategoryTheory.Comma.Basic Mathlib.CategoryTheory.Comma.CatCommSq Mathlib.CategoryTheory.Discrete.Basic Mathlib.CategoryTheory.Discrete.SumsProducts Mathlib.CategoryTheory.FiberedCategory.BasedCategory Mathlib.CategoryTheory.FiberedCategory.Cartesian Mathlib.CategoryTheory.FiberedCategory.Cocartesian Mathlib.CategoryTheory.FiberedCategory.Fiber Mathlib.CategoryTheory.FiberedCategory.Fibered Mathlib.CategoryTheory.FiberedCategory.HasFibers Mathlib.CategoryTheory.FiberedCategory.HomLift Mathlib.CategoryTheory.PEmpty Mathlib.CategoryTheory.Products.Unitor Mathlib.CategoryTheory.Square
46

Declarations diff (regex)

+ CoverPreserving.of_comp_of_isCocontinuous
+ Discrete.as_bijective
+ QuasicoherentData.pushforward
+ Scheme.Modules.isQuasicoherent_restrictFunctor
+ TopologicalSpace.Opens.coe_iInf
+ _root_.CategoryTheory.Limits.isLimitEquivFanOfIsThin
+ _root_.CategoryTheory.Limits.preservesLimit_walkingParallelPair_of_eq
+ _root_.CategoryTheory.isPullback_iff_isLimit_binaryFan_of_isThin
+ appIso_hom_naturality
+ coverPreserving_opensFunctor
+ instance (priority := low) {C D : Type*} [Category* C] [Category* D] [Quiver.IsThin C]
+ instance (priority := low) {C D : Type*} [Category* C] [Category* D] [Quiver.IsThin C] (F : C ⥤ D) :
+ instance : f.opensFunctor.Full
+ instance : f.opensFunctor.IsCocontinuous (Opens.grothendieckTopology _)
+ instance : f.opensFunctor.IsLeftAdjoint
+ instance {C D : Type*} [Category* C] [Category* D] (F : C ⥤ D) {X Y : C} (f : X ⟶ Y) :
+ instance {D : Type*} [Category* D] {J : GrothendieckTopology C} {K : GrothendieckTopology D}
+ instance {X Y : C} (f : X ⟶ Y) [HasPullbacksAlong f] : (Over.map f).IsLeftAdjoint
+ instance {X Y : C} (f : X ⟶ Y) [HasPullbacksAlong f] : (Over.pullback f).IsRightAdjoint
+ instance {X Y : TopCat.{u}} (f : X ⟶ Y) (hf : Topology.IsOpenEmbedding f) :
+ instance {X Y : TopCat.{u}} (f : X ⟶ Y) (hf : Topology.IsOpenEmbedding f) {ι : Type*} [Nonempty ι]
+ isColimitISup
+ isLeftAdjoint_pushforward_of_isIso
+ isLimitIInf
+ isQuasicoherent_over
+ isQuasicoherent_pushforward
+ isQuasicoherent_pushforward_of_isLeftAdjoint
+ opensFunctorAdjunction
+ range_functor
+ sieve₀_map
++ instance {X Y : Scheme.{u}} (f : X ⟶ Y) [IsOpenImmersion f] :

You can run this locally as follows
## from your `mathlib4` directory:
git clone https://github.com/leanprover-community/mathlib-ci.git ../mathlib-ci

## summary with just the declaration names:
../mathlib-ci/scripts/pr_summary/declarations_diff.sh <optional_commit>

## more verbose report:
../mathlib-ci/scripts/pr_summary/declarations_diff.sh long <optional_commit>

The doc-module for scripts/pr_summary/declarations_diff.sh in the mathlib-ci repository contains some details about this script.

Declarations diff (Lean -- pending)

Computed after the build finishes.


No changes to strong technical debt.
No changes to weak technical debt.

Current commit b2b31c9fec
Reference commit 185c8cd930

This script lives in the mathlib-ci repository. To run it locally, from your mathlib4 directory:

git clone https://github.com/leanprover-community/mathlib-ci.git ../mathlib-ci
../mathlib-ci/scripts/reporting/technical-debt-metrics.sh pr_summary
  • The relative value is the weighted sum of the differences with weight given by the inverse of the current value of the statistic.
  • The absolute value is the relative value divided by the total sum of the inverses of the current values (i.e. the weighted average of the differences).

@mathlib-dependent-issues mathlib-dependent-issues Bot added the blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) label Apr 7, 2026
@mathlib-merge-conflicts mathlib-merge-conflicts 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 Apr 13, 2026
@mathlib-merge-conflicts
Copy link
Copy Markdown

This pull request has conflicts, please merge master and resolve them.

mathlib-bors Bot pushed a commit that referenced this pull request Apr 19, 2026
…37773)

Extracted from #37766 as a separate PR, because it also contains three basic `simp` lemmas.

We also add missing type annotations in the file `Mathlib/Algebra/Category/ModuleCat/ChangeOfRings.lean`.
@mathlib-dependent-issues mathlib-dependent-issues Bot removed the blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) label Apr 19, 2026
@github-actions github-actions 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 Apr 21, 2026
@mathlib-dependent-issues mathlib-dependent-issues Bot added blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) and removed blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) labels Apr 21, 2026
@mathlib-merge-conflicts mathlib-merge-conflicts 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 May 2, 2026
@mathlib-merge-conflicts
Copy link
Copy Markdown

This pull request has conflicts, please merge master and resolve them.

jessealama pushed a commit to jessealama/mathlib4 that referenced this pull request May 2, 2026
…eanprover-community#37773)

Extracted from leanprover-community#37766 as a separate PR, because it also contains three basic `simp` lemmas.

We also add missing type annotations in the file `Mathlib/Algebra/Category/ModuleCat/ChangeOfRings.lean`.
gaetanserre pushed a commit to gaetanserre/mathlib4 that referenced this pull request May 5, 2026
…eanprover-community#37773)

Extracted from leanprover-community#37766 as a separate PR, because it also contains three basic `simp` lemmas.

We also add missing type annotations in the file `Mathlib/Algebra/Category/ModuleCat/ChangeOfRings.lean`.
gasparattila pushed a commit to gasparattila/mathlib4 that referenced this pull request May 9, 2026
…eanprover-community#37773)

Extracted from leanprover-community#37766 as a separate PR, because it also contains three basic `simp` lemmas.

We also add missing type annotations in the file `Mathlib/Algebra/Category/ModuleCat/ChangeOfRings.lean`.
@github-actions github-actions 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 May 12, 2026
@mathlib-merge-conflicts mathlib-merge-conflicts 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 May 17, 2026
@mathlib-merge-conflicts
Copy link
Copy Markdown

This pull request has conflicts, please merge master and resolve them.

Comment thread Mathlib/Algebra/Category/ModuleCat/Sheaf/Quasicoherent.lean Outdated
@github-actions github-actions 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 May 19, 2026
@mathlib-dependent-issues mathlib-dependent-issues Bot added the blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) label May 19, 2026
@mathlib-merge-conflicts
Copy link
Copy Markdown

This pull request has conflicts, please merge master and resolve them.

@mathlib-merge-conflicts mathlib-merge-conflicts 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 May 23, 2026
@mathlib-dependent-issues mathlib-dependent-issues Bot removed the blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) label May 23, 2026
@github-actions github-actions 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 3, 2026
@chrisflav chrisflav temporarily deployed to cache-upload-forks June 4, 2026 15:15 — with GitHub Actions Inactive
@mathlib-dependent-issues mathlib-dependent-issues Bot added the blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) label Jun 4, 2026
@chrisflav chrisflav temporarily deployed to cache-upload-forks June 4, 2026 16:28 — with GitHub Actions Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) large-import Automatically added label for PRs with a significant increase in transitive imports t-algebraic-geometry Algebraic geometry WIP Work in progress

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants