Skip to content

fix deprecation warnings from Mathlib bump#1

Merged
chrisflav merged 1 commit intochrisflav:masterfrom
chrisflav-agents:fix-deprecation-warnings
Mar 18, 2026
Merged

fix deprecation warnings from Mathlib bump#1
chrisflav merged 1 commit intochrisflav:masterfrom
chrisflav-agents:fix-deprecation-warnings

Conversation

@chrisflav
Copy link
Owner

Replace deprecated identifiers introduced by the recent Mathlib bump. All non-sorry warnings are resolved; the build now completes cleanly.

Changes

File Fix
Morphisms/UnderlyingMap.lean IsLocalAtSource/TargetIsZariskiLocalAtSource/Target
AlgebraicGeometry/PullbackCarrier.lean Scheme.comp_base_applyScheme.Hom.comp_apply, Scheme.comp_baseScheme.Hom.comp_base
RingTheory/Etale/Basic.lean of_isLocalization_Awayof_isLocalizationAway
RingTheory/TotallySplit.lean FaithfullyFlat.of_specComap_surjectiveof_comap_surjective
RingTheory/RingOfDefinition{,/Utils}.lean Finsupp.finite_supportFinsupp.hasFiniteSupport
RingTheory/Transcendence.lean adjoin_algebraic_toSubalgebraadjoin_toSubalgebra_of_isAlgebraic
FundamentalGroup/AffineAnd.lean Scheme.preimage_compScheme.Hom.comp_preimage, Scheme.appLE_comp_appLEScheme.Hom.appLE_comp_appLE, Scheme.id_appScheme.Hom.id_app; remove unused simp arg Scheme.id.base
RingTheory/FiniteEtale/Equalizer.lean Remove unused simp args Ideal.coe_comap, Set.mem_preimage
FundamentalGroup/Galois.lean Scheme.comp_coeBaseScheme.Hom.comp_base, singletons_open_iff_discretediscreteTopology_iff_isOpen_singleton, IsFinite.finite_preimage_singletonScheme.Hom.finite_preimage_singleton; remove unused simp arg forgetScheme_map_hom
FundamentalGroup/Point.lean Scheme.comp_appScheme.Hom.comp_app; remove unused simp arg Scheme.Hom.appTop

Replace deprecated identifiers with their new names:
- IsLocalAtSource/Target → IsZariskiLocalAtSource/Target
- Scheme.comp_base_apply → Scheme.Hom.comp_apply
- Scheme.comp_base → Scheme.Hom.comp_base
- Scheme.comp_app → Scheme.Hom.comp_app
- Scheme.appLE_comp_appLE → Scheme.Hom.appLE_comp_appLE
- Scheme.preimage_comp → Scheme.Hom.comp_preimage
- Scheme.id_app → Scheme.Hom.id_app
- Scheme.comp_coeBase → Scheme.Hom.comp_base
- Algebra.Etale.of_isLocalization_Away → of_isLocalizationAway
- Module.FaithfullyFlat.of_specComap_surjective → of_comap_surjective
- Finsupp.finite_support → Finsupp.hasFiniteSupport
- IntermediateField.adjoin_algebraic_toSubalgebra → adjoin_toSubalgebra_of_isAlgebraic
- singletons_open_iff_discrete → discreteTopology_iff_isOpen_singleton
- IsFinite.finite_preimage_singleton → Scheme.Hom.finite_preimage_singleton
- Remove unused simp args: Scheme.id.base, forgetScheme_map_hom,
  Ideal.coe_comap, Set.mem_preimage, Scheme.Hom.appTop

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@chrisflav chrisflav merged commit fb0bed1 into chrisflav:master Mar 18, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant