Skip to content

[Merged by Bors] - feat(AlgebraicGeometry): Zariski's main theorem#35093

Closed
erdOne wants to merge 30 commits intoleanprover-community:masterfrom
erdOne:erd1/ZMTScheme
Closed

[Merged by Bors] - feat(AlgebraicGeometry): Zariski's main theorem#35093
erdOne wants to merge 30 commits intoleanprover-community:masterfrom
erdOne:erd1/ZMTScheme

Conversation

@erdOne
Copy link
Member

@erdOne erdOne commented Feb 10, 2026


Open in Gitpod

@github-actions github-actions bot added the large-import Automatically added label for PRs with a significant increase in transitive imports label Feb 10, 2026
@github-actions
Copy link

github-actions bot commented Feb 10, 2026

PR summary 2598404fe9

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference
Mathlib.AlgebraicGeometry.Morphisms.QuasiFinite 1
Mathlib.AlgebraicGeometry.ZariskisMainTheorem (new file) 2749

Declarations diff

+ IsClosedImmersion.eq_proper_inf_monomorphisms
+ IsClosedImmersion.iff_isProper_and_mono
+ IsFinite.eq_proper_inf_locallyQuasiFinite
+ IsFinite.iff_isProper_and_locallyQuasiFinite
+ IsFinite.of_isProper_of_locallyQuasiFinite
+ LocallyQuasiFinite.of_injective
+ QuasiFiniteAt
+ Scheme.Hom.QuasiFiniteAt
+ Scheme.Hom.QuasiFiniteAt.quasiFiniteAt
+ Scheme.Hom.exists_isIso_morphismRestrict_toNormalization
+ Scheme.Hom.exists_mem_and_isIso_morphismRestrict_toNormalization
+ Scheme.Hom.isOpen_quasiFiniteAt
+ Scheme.Hom.mem_quasiFiniteLocus
+ Scheme.Hom.quasiFiniteAt
+ Scheme.Hom.quasiFiniteLocus
+ Scheme.Hom.quasiFiniteLocus_eq_top
+ exists_etale_isCompl_of_quasiFiniteAt
+ frameHom
+ instance (priority := low) {f : X ⟶ Y} [LocallyOfFiniteType f]
+ instance [LocallyOfFiniteType f] [IsSeparated f] [QuasiCompact f] :
+ instance [LocallyQuasiFinite f] [LocallyOfFiniteType f] [IsSeparated f] [QuasiCompact f] :
+ instance [QuasiSeparated f] [UniversallyClosed f] : UniversallyClosed f.toNormalization

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

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

The doc-module for scripts/declarations_diff.sh contains some details about this script.


No changes to technical debt.

You can run this locally as

./scripts/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).

@erdOne erdOne added the WIP Work in progress label Feb 10, 2026
@erdOne erdOne added awaiting-CI This PR does not pass CI yet. This label is automatically removed once it does. t-algebraic-geometry Algebraic geometry and removed WIP Work in progress labels Feb 11, 2026
@github-actions github-actions bot added merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) and removed large-import Automatically added label for PRs with a significant increase in transitive imports labels Feb 11, 2026
@github-actions github-actions bot added large-import Automatically added label for PRs with a significant increase in transitive imports and removed merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) awaiting-CI This PR does not pass CI yet. This label is automatically removed once it does. labels Feb 11, 2026
@github-actions github-actions bot removed the large-import Automatically added label for PRs with a significant increase in transitive imports label Feb 11, 2026
lemma Scheme.Hom.QuasiFiniteAt.quasiFiniteAt
{x : X} (hx : f.QuasiFiniteAt x) {V : X.Opens} (hV : IsAffineOpen V) {U : Y.Opens}
(hU : IsAffineOpen U) (hVU : V ≤ f ⁻¹ᵁ U) (hxV : x ∈ V.1) :
letI := (f.appLE U V hVU).hom.toAlgebra
Copy link
Member

Choose a reason for hiding this comment

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

Can we avoid this? Should we have a RingHom.QuasiFiniteAt?

Copy link
Member Author

Choose a reason for hiding this comment

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

I think the issue here is that Algebra Γ(Y, U) Γ(X, V) should be an instance but couldn't because of hVU : V ≤ f ⁻¹ᵁ U. Maybe we can experiment with having Fact (V ≤ f ⁻¹ᵁ U).

As for RingHom.QuasiFiniteAt, I don't see any applications beyond applying to (f.appLE U V hVU).hom for now, and even if one adds such a predicate, the first thing one would do when applying this lemma is to algebraize[(f.appLE U V hVU).hom] and turn this back to Algebra.QuasiFiniteAt.

So I don't think this justifies having a bunch of API added for this. Unless you are satisfied by a barebones abbrev with virtually no API on it.

Copy link
Member Author

Choose a reason for hiding this comment

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

I have added a barebones abbrev with virtually no API on it.

@jcommelin jcommelin added the awaiting-author A reviewer has asked the author a question or requested changes. label Feb 11, 2026
@erdOne erdOne removed the awaiting-author A reviewer has asked the author a question or requested changes. label Feb 12, 2026
Co-authored-by: Christian Merten <christian@merten.dev>
Co-authored-by: Christian Merten <christian@merten.dev>
@chrisflav chrisflav added the awaiting-CI This PR does not pass CI yet. This label is automatically removed once it does. label Feb 13, 2026
@github-actions github-actions bot removed the awaiting-CI This PR does not pass CI yet. This label is automatically removed once it does. label Feb 14, 2026
@joelriou
Copy link
Contributor

Thanks!

bors merge

@mathlib-triage mathlib-triage bot added the ready-to-merge This PR has been sent to bors. label Feb 14, 2026
@mathlib-bors
Copy link
Contributor

mathlib-bors bot commented Feb 14, 2026

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title feat(AlgebraicGeometry): Zariski's main theorem [Merged by Bors] - feat(AlgebraicGeometry): Zariski's main theorem Feb 14, 2026
@mathlib-bors mathlib-bors bot closed this Feb 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-to-merge This PR has been sent to bors. t-algebraic-geometry Algebraic geometry

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants