Rendered from ATTRIBUTION.md at the root of the repository.
ATTRIBUTION — third-party material in this repository, file by file
This file accompanies NOTICE. It lists every file of this repository that we have identified as containing Lean text taken or adapted from a third-party project (106 files with material from the Imperial College London FLT project or the flt-regular project, §§1–3: 54 under Definitions/, 52 under P2M/Sol/; and the 23 files that reproduce Mathlib text, §4), names the upstream file(s), and reproduces the upstream copyright holder and author list. The Lean files are published byte-for-byte as they were checked and carry no attribution headers, apart from five files that retained an upstream notice in place (marked below) and the Mathlib provenance header of Definitions/Def_Compat_Mathlib430.lean (§4); for all the others this table is where the per-file notices are reproduced. Everything listed is licensed upstream under the Apache License, Version 2.0, the licence of this repository.
How this table was made
The Lean files of this repository were assembled by AI agents and were published without their comments, so upstream headers did not survive in place. To restore the attribution we compared, line by line after normalising whitespace and dropping import/open/namespace/section lines, every one of the 60,478 .lean files of the tree as it then stood on Lean 4.30.0 (its 60,474 modules, lakefile.lean and three Lean files under verification/, of which this release keeps two) against the copies of Imperial College London FLT files that had been brought into our working tree in May 2026 with their original headers intact (97 files from the upstream main branch as of 2026-05-21, plus three files of ours that were themselves ports of the upstream Frey-package and torsion files), and we cross-checked the result against the provenance notes that the files carried before their comments were removed (two files were ported directly from upstream commit 8387d589 of 2026-05-27 and are identified from those notes). A file is listed when it shares with an upstream file at least five distinctive lines (lines of 20 or more characters that occur in at most three upstream files and at most twelve files of this repository), or at least three such lines covering at least half of the upstream file; a few shorter passages found on review are listed too. "Extent" is the share of the file's non-blank code lines found in the named upstream file(s); it is approximate, and where a file lists several upstream files some of the matched lines are common to those files. The flt-regular rows rest on the pre-publication provenance notes alone (we had no copy of that project to compare against). The files published here are the port of that tree to Lean 4.33.1 and Mathlib v4.33.0: the port renamed Mathlib lemmas and adjusted proofs mechanically in 65 of the 106 listed files (under a tenth of the lines of each, except the 31-line Definitions/Def_Mathlib_RingTheory_DedekindDomain_AdicValuation.lean) and left the other 41 byte-identical, so the extents below, computed on the Lean 4.30.0 text, remain approximately right; which files are listed is unaffected. Limits of the method are stated in §5.
1. Files containing material from the Imperial College London FLT project
Upstream: https://github.com/ImperialCollegeLondon/FLT, branch main as of 2026-05-21 (the date our copies were taken; we did not record the commit hash) unless a commit is given. 90 files. Upstream paths are relative to that repository.
| File in this repository | Extent | Upstream file(s) — copyright holder; authors (verbatim from the upstream header) |
|---|---|---|
Definitions/Def_AbstractHeckeOperator.lean |
whole file (100%) | FLT/AutomorphicForm/QuaternionAlgebra/HeckeOperators/Abstract.lean — © 2025 Kevin Buzzard; authors: Kevin Buzzard, Andrew Yang, Matthew Jasper |
Definitions/Def_CategoryTheory_Subfunctor_OfIsTerminal.lean |
whole file (100%) | FLT/Deformations/Subfunctor.lean — © 2025 Andrew Yang; authors: Andrew Yang |
Definitions/Def_DedekindDomain_AdicValuation_InlineSpecific.lean |
whole file (98%) | FLT/DedekindDomain/AdicValuation.lean — © 2025 Matthew Jasper; authors: Matthew JasperFLT/Mathlib/RingTheory/Valuation/ValuationSubring.lean — © 2025 Ruben Van de Velde; authors: Ruben Van de Velde, Kevin Buzzard, Salvatore MercuriFLT/Mathlib/RingTheory/DedekindDomain/AdicValuation.lean — © 2025 Kevin Buzzard; authors: Kevin Buzzard, Salvatore Mercuri |
Definitions/Def_DedekindDomain_Completion_BaseChange.lean |
whole file | FLT/DedekindDomain/Completion/BaseChange.lean — commit 8387d589 (2026-05-27); © 2025 Kevin Buzzard; authors: Kevin Buzzard, Andrew Yang, Matthew Jasper (see §5)FLT/Mathlib/Algebra/Algebra/Bilinear.lean — © 2025 Kevin Buzzard; authors: Kevin Buzzard, Salvatore Mercuri, Ruben Van de VeldeFLT/Mathlib/Algebra/Algebra/Pi.lean — © 2025 Kevin Buzzard; authors: Kevin Buzzard, Salvatore MercuriFLT/Mathlib/RingTheory/TensorProduct/Basis.lean — © 2025 Matthew Jasper; authors: Matthew JasperFLT/DedekindDomain/IntegralClosure.lean — © 2025 Kevin Buzzard; authors: Kevin Buzzard, Andrew Yang, Matthew JasperFLT/Mathlib/Algebra/Module/Submodule/Basic.lean — © 2025 Yaël Dillies; authors: Yaël Dillies, Kevin Buzzard, Matthew JasperFLT/DedekindDomain/AdicValuation.lean — © 2025 Matthew Jasper; authors: Matthew Jasper |
Definitions/Def_DedekindDomain_FiniteAdeleRing_BaseChange.lean |
whole file | FLT/DedekindDomain/FiniteAdeleRing/BaseChange.lean — commit 8387d589 (2026-05-27); © 2025 Kevin Buzzard; authors: Kevin Buzzard, Matthew Jasper (see §5)FLT/Mathlib/Topology/Algebra/RestrictedProduct/Module.lean — © 2025 Matthew Jasper; authors: Matthew JasperFLT/Mathlib/Topology/Algebra/Algebra/Hom.lean — © 2026 Salvatore Mercuri; authors: Salvatore Mercuri, Kevin BuzzardFLT/Mathlib/LinearAlgebra/Pi.lean — © 2025 Salvatore Mercuri; authors: Salvatore Mercuri, Kevin BuzzardFLT/Mathlib/Algebra/Algebra/Hom.lean — © 2025 Kevin Buzzard; authors: Kevin Buzzard, Salvatore MercuriFLT/Mathlib/RingTheory/DedekindDomain/FiniteAdeleRing.lean — © 2025 Salvatore Mercuri; authors: Salvatore Mercuri, Kevin Buzzard |
Definitions/Def_DedekindDomain_FiniteAdeleRing_IsDirectLimitRestricted.lean |
whole file (100%) | FLT/DedekindDomain/FiniteAdeleRing/IsDirectLimitRestricted.lean — © 2025 Madison Crim; authors: Madison Crim |
Definitions/Def_DedekindDomain_FiniteAdeleRing_TensorPi.lean |
whole file (100%) | FLT/DedekindDomain/FiniteAdeleRing/TensorPi.lean — © 2025 Madison Crim; authors: Madison Crim |
Definitions/Def_DedekindDomain_FiniteAdeleRing_TensorRestrictedProduct.lean |
whole file (100%) | FLT/DedekindDomain/FiniteAdeleRing/TensorRestrictedProduct.lean — © 2025 Matthew Jasper; authors: Matthew Jasper |
Definitions/Def_DedekindDomain_IntegralClosure.lean |
whole file (100%) | FLT/DedekindDomain/IntegralClosure.lean — © 2025 Kevin Buzzard; authors: Kevin Buzzard, Andrew Yang, Matthew Jasper |
Definitions/Def_Deformations_ContinuousSMulDiscrete.lean |
whole file (100%) | FLT/Deformations/RepresentationTheory/ContinuousSMulDiscrete.lean — © 2025 Andrew Yang; authors: Andrew Yang |
Definitions/Def_Deformations_Deformations_Lemmas.lean |
whole file (100%) | FLT/Deformations/Lemmas.lean — © 2025 Andrew Yang; authors: Andrew Yang, Kevin Buzzard, Ruben Van de VeldeFLT/Deformations/RepresentationTheory/IntegralClosure.lean — © 2025 Andrew Yang; authors: Andrew Yang, Kevin Buzzard |
Definitions/Def_Deformations_Frobenius.lean |
whole file (100%) | FLT/Deformations/RepresentationTheory/Frobenius.lean — © 2025 Andrew Yang; authors: Andrew Yang |
Definitions/Def_Deformations_IsProartinian.lean |
whole file (98%) | FLT/Patching/Utils/AdicTopology.lean — © 2025 Andrew Yang; authors: Andrew Yang, Kevin BuzzardFLT/Deformations/IsProartinian.lean — © 2025 Andrew Yang; authors: Andrew Yang, Kevin Buzzard, Ruben Van de VeldeFLT/Patching/Utils/InverseLimit.lean — © 2025 Andrew Yang; authors: Andrew Yang, Kevin Buzzard |
Definitions/Def_Deformations_IsResidueAlgebra.lean |
whole file (100%) | FLT/Deformations/IsResidueAlgebra.lean — © 2025 Javier López-Contreras; authors: Javier López-Contreras, Kevin Buzzard |
Definitions/Def_Deformations_LiftFunctor.lean |
whole file (100%) | FLT/Deformations/LiftFunctor.lean — © 2025 Andrew Yang; authors: Andrew Yang, Kevin Buzzard, Ruben Van de Velde |
Definitions/Def_Deformations_MvPowerSeriesObj.lean |
portions (≈8%) | FLT/Deformations/Categories.lean — © 2025 Andrew Yang; authors: Andrew Yang, Kevin Buzzard, Pietro Monticone |
Definitions/Def_Deformations_ProartinianCat.lean |
whole file (100%) | FLT/Deformations/Categories.lean — © 2025 Andrew Yang; authors: Andrew Yang, Kevin Buzzard, Pietro Monticone |
Definitions/Def_Deformations_ProartinianCompact.lean |
portions (≈16%; about six lines — the proof that a proper open ideal of a pro-Artinian ring has Artinian local quotient — match FLT/Deformations/IsProartinian.lean) | FLT/Deformations/IsProartinian.lean — © 2025 Andrew Yang; authors: Andrew Yang, Kevin Buzzard, Ruben Van de Velde |
Definitions/Def_ExtCitation_LocalLevelResidues.lean |
portions (≈20%) | FLT/Deformations/RepresentationTheory/AbsoluteGaloisGroup.lean — © 2025 Andrew Yang; authors: Andrew Yang, Kevin Buzzard, Ruben Van de VeldeFLT/Deformations/Lemmas.lean — © 2025 Andrew Yang; authors: Andrew Yang, Kevin Buzzard, Ruben Van de Velde |
Definitions/Def_HaarMeasure_HaarChar_AddEquiv.lean |
whole file (100%) | FLT/HaarMeasure/HaarChar/AddEquiv.lean — © 2025 Kevin Buzzard; authors: Kevin Buzzard, James Sundstrom, Ruben Van de Velde, Anatole Dedecker, Bryan Wang Peng Jun, David Renshaw |
Definitions/Def_HaarMeasure_HaarChar_Ring.lean |
whole file (100%) | FLT/HaarMeasure/HaarChar/Ring.lean — © 2025 Kevin Buzzard; authors: Kevin Buzzard |
Definitions/Def_M4aHerbrand_FiniteTensorEquiv.lean |
portions (≈3%) | FLT/DedekindDomain/IntegralClosure.lean — © 2025 Kevin Buzzard; authors: Kevin Buzzard, Andrew Yang, Matthew Jasper |
Definitions/Def_Mathlib_Algebra_Algebra_Hom.lean |
whole file (100%) | FLT/Mathlib/Algebra/Algebra/Hom.lean — © 2025 Kevin Buzzard; authors: Kevin Buzzard, Salvatore MercuriFLT/Mathlib/Topology/Algebra/Algebra/Hom.lean — © 2026 Salvatore Mercuri; authors: Salvatore Mercuri, Kevin Buzzard |
Definitions/Def_Mathlib_Algebra_IsDirectLimit.lean |
whole file (100%) | FLT/Mathlib/Algebra/IsDirectLimit.lean — © 2025 Madison Crim; authors: Madison Crim |
Definitions/Def_Mathlib_IsModuleTopology.lean |
whole file (100%) | FLT/Mathlib/Topology/Algebra/Module/ModuleTopology.lean — © 2024 Kevin Buzzard; authors: Kevin Buzzard, Pietro Monticone, Salvatore Mercuri, Matthew Jasper, Ruben Van de Velde, William CoramFLT/Mathlib/Algebra/Algebra/Tower.lean — © 2025 Salvatore Mercuri; authors: Salvatore Mercuri, Kevin BuzzardFLT/Deformations/ContinuousRepresentation/IsTopologicalModule.lean — © 2025 Javier López-Contreras; authors: Javier López-Contreras |
Definitions/Def_Mathlib_LinearAlgebra_Countable.lean |
whole file (100%) | FLT/Mathlib/LinearAlgebra/Countable.lean — © 2025 Kevin Buzzard; authors: Kevin Buzzard |
Definitions/Def_Mathlib_MeasureTheory_Constructions_BorelSpace_RestrictedProduct.lean |
whole file (100%) | FLT/Mathlib/MeasureTheory/Constructions/BorelSpace/RestrictedProduct.lean — © 2025 Kevin Buzzard; authors: Kevin Buzzard |
Definitions/Def_Mathlib_MeasureTheory_Group_Action.lean |
whole file (100%) | FLT/Mathlib/MeasureTheory/Group/Action.lean — © 2024 Yaël Dillies; authors: Yaël Dillies, Kevin Buzzard, Ruben Van de Velde, David Ledvinka |
Definitions/Def_Mathlib_MeasureTheory_Group_Measure.lean |
whole file (100%) | FLT/Mathlib/MeasureTheory/Group/Measure.lean — © 2025 David Ledvinka; authors: David Ledvinka |
Definitions/Def_Mathlib_MeasureTheory_Measure_Typeclasses_Finite.lean |
whole file (100%) | FLT/Mathlib/MeasureTheory/Measure/Typeclasses/Finite.lean — © 2025 David Ledvinka; authors: David Ledvinka |
Definitions/Def_Mathlib_Order_Filter_Cofinite.lean |
whole file (100%) | FLT/Mathlib/Order/Filter/Cofinite.lean — © 2025 Kevin Buzzard; authors: Kevin Buzzard |
Definitions/Def_Mathlib_RightActionInstances.lean |
whole file (100%) | FLT/Hacks/RightActionInstances.lean — © 2025 Kevin Buzzard; authors: Kevin Buzzard, Pietro Monticone |
Definitions/Def_Mathlib_RingTheory_DedekindDomain_AdicValuation.lean |
whole file (100%) | FLT/Mathlib/RingTheory/DedekindDomain/AdicValuation.lean — © 2025 Kevin Buzzard; authors: Kevin Buzzard, Salvatore Mercuri |
Definitions/Def_Mathlib_RingTheory_Ideal_Quotient_Basic.lean |
whole file (100%) | FLT/Mathlib/RingTheory/Ideal/Quotient/Basic.lean — © 2025 Salvatore Mercuri; authors: Salvatore Mercuri, Kevin Buzzard |
Definitions/Def_Mathlib_RingTheory_Localization_BaseChange.lean |
whole file (100%) | FLT/Mathlib/RingTheory/Localization/BaseChange.lean — © 2025 Matthew Jasper; authors: Matthew Jasper |
Definitions/Def_Mathlib_RingTheory_LocalRing_Defs.lean |
whole file (100%) | FLT/Mathlib/RingTheory/LocalRing/Defs.lean — © 2025 Javier López-Contreras; authors: Javier López-Contreras, Kevin Buzzard |
Definitions/Def_Mathlib_Topology_Algebra_ContinuousMonoidHom.lean |
whole file (100%) | FLT/Mathlib/Topology/Algebra/ContinuousMonoidHom.lean — © 2025 Salvatore Mercuri; authors: Salvatore Mercuri, Kevin Buzzard |
Definitions/Def_Mathlib_Topology_Algebra_Group_Units.lean |
whole file (100%) | FLT/Mathlib/Topology/Algebra/Group/Units.lean — © 2025 Kevin Buzzard; authors: Kevin Buzzard, Ruben Van de Velde |
Definitions/Def_Mathlib_Topology_Algebra_Module_Quotient.lean |
whole file (100%) | FLT/Mathlib/Topology/Algebra/Module/Quotient.lean — © 2025 Salvatore Mercuri; authors: Salvatore Mercuri, Kevin Buzzard, Pietro Monticone |
Definitions/Def_Mathlib_Topology_Algebra_RestrictedProduct_Basic.lean |
whole file (100%) | FLT/Mathlib/Topology/Algebra/RestrictedProduct/Basic.lean — © 2025 Matthew Jasper; authors: Matthew Jasper, Kevin Buzzard, Ruben Van de VeldeFLT/Mathlib/Topology/Algebra/RestrictedProduct/TopologicalSpace.lean — © 2025 Matthew Jasper; authors: Matthew Jasper, Kevin Buzzard, Bhavik Mehta, Ruben Van de Velde, Bryan Wang Peng Jun, Pietro MonticoneFLT/Mathlib/Topology/Algebra/RestrictedProduct/Equiv.lean — © 2025 Kevin Buzzard; authors: Kevin Buzzard, Salvatore Mercuri |
Definitions/Def_Mathlib_Topology_Algebra_RestrictedProduct_Equiv.lean |
whole file (100%) | FLT/Mathlib/Topology/Algebra/RestrictedProduct/Equiv.lean — © 2025 Kevin Buzzard; authors: Kevin Buzzard, Salvatore MercuriFLT/Mathlib/Topology/Algebra/RestrictedProduct/TopologicalSpace.lean — © 2025 Matthew Jasper; authors: Matthew Jasper, Kevin Buzzard, Bhavik Mehta, Ruben Van de Velde, Bryan Wang Peng Jun, Pietro MonticoneFLT/Mathlib/Topology/Algebra/RestrictedProduct/Basic.lean — © 2025 Matthew Jasper; authors: Matthew Jasper, Kevin Buzzard, Ruben Van de Velde |
Definitions/Def_Mathlib_Topology_Algebra_RestrictedProduct_TopologicalSpace.lean |
whole file (100%) | FLT/Mathlib/Topology/Algebra/RestrictedProduct/TopologicalSpace.lean — © 2025 Matthew Jasper; authors: Matthew Jasper, Kevin Buzzard, Bhavik Mehta, Ruben Van de Velde, Bryan Wang Peng Jun, Pietro MonticoneFLT/Mathlib/Topology/Algebra/RestrictedProduct/Equiv.lean — © 2025 Kevin Buzzard; authors: Kevin Buzzard, Salvatore MercuriFLT/Mathlib/Topology/Algebra/RestrictedProduct/Basic.lean — © 2025 Matthew Jasper; authors: Matthew Jasper, Kevin Buzzard, Ruben Van de Velde |
Definitions/Def_Mathlib_Topology_Algebra_UniformRing.lean |
whole file (100%) | FLT/Mathlib/Topology/Algebra/UniformRing.lean — © 2025 Kevin Buzzard; authors: Kevin Buzzard, Salvatore Mercuri |
Definitions/Def_Mathlib_Topology_Algebra_Valued_WithZeroMulInt.lean |
whole file (100%) | FLT/Mathlib/Topology/Algebra/Valued/WithZeroMulInt.lean — © 2025 Salvatore Mercuri; authors: Salvatore Mercuri |
Definitions/Def_Mathlib_Topology_Bases.lean |
whole file (100%) | FLT/Mathlib/Topology/Bases.lean — © 2025 Kevin Buzzard; authors: Kevin Buzzard |
Definitions/Def_NumberField_Completion_Finite.lean |
whole file (100%) | FLT/NumberField/Completion/Finite.lean — © 2025 Kevin Buzzard; authors: Kevin Buzzard |
Definitions/Def_NumberField_Extension.lean |
whole file (100%) | FLT/NumberField/InfinitePlace/Extension.lean — © 2025 Salvatore Mercuri; authors: Salvatore Mercuri |
Definitions/Def_NumberField_HeightOneSpectrum.lean |
whole file (100%) | FLT/NumberField/HeightOneSpectrum.lean — © 2025 Kevin Buzzard; authors: Kevin Buzzard |
Definitions/Def_Patching_SystemTypes.lean |
portions (≈42%; pre-publication provenance note: 'typeclass/predicate definitions of the Taylor–Wiles–Kisin patching set-up, itself ported from ImperialCollegeLondon/FLT (Andrew Yang, Kevin Buzzard et al.)') | FLT/Patching/Utils/TopologicallyFG.lean — © 2025 Andrew Yang; authors: Andrew Yang, Kevin BuzzardFLT/Patching/Utils/Depth.lean — © 2025 Andrew Yang; authors: Andrew Yang, Kevin Buzzard, Michael RothgangFLT/Patching/Utils/AdicTopology.lean — © 2025 Andrew Yang; authors: Andrew Yang, Kevin BuzzardFLT/Patching/Algebra.lean — © 2025 Andrew Yang; authors: Andrew Yang, Kevin Buzzard, Yaël DilliesFLT/Patching/Module.lean — © 2025 Andrew Yang; authors: Andrew Yang, Kevin Buzzard, Pietro Monticone, David Renshaw |
Definitions/Def_Representation_AbsolutelyIrreducible.lean |
whole file (82%) | FLT/Mathlib/RepresentationTheory/Basic.lean — © 2024 Javier López-Contreras; authors: Javier López-Contreras, Kevin BuzzardFLT/Deformations/RepresentationTheory/Irreducible.lean — © 2024 Javier López-Contreras; authors: Javier López-Contreras, Kevin Buzzard |
Definitions/Def_ValuationSubring_RatPlaceCenterHelpers.lean |
portions (≈18%) | FLT/Deformations/RepresentationTheory/IntegralClosure.lean — © 2025 Andrew Yang; authors: Andrew Yang, Kevin BuzzardFLT/Deformations/Lemmas.lean — © 2025 Andrew Yang; authors: Andrew Yang, Kevin Buzzard, Ruben Van de Velde |
P2M/Sol/S_Algebra_PatchingDatum_nonempty_patchingLevel_bot.lean |
large part (≈61%); upstream notices also retained in place before the included portions | FLT/Patching/Module.lean — © 2025 Andrew Yang; authors: Andrew Yang, Kevin Buzzard, Pietro Monticone, David RenshawFLT/Patching/Over.lean — © 2025 Andrew Yang; authors: Andrew Yang, Kevin Buzzard, Pietro MonticoneFLT/Patching/Utils/Lemmas.lean — © 2025 Andrew Yang; authors: Andrew Yang, Kevin Buzzard, Pietro Monticone, Ruben Van de VeldeFLT/Patching/Algebra.lean — © 2025 Andrew Yang; authors: Andrew Yang, Kevin Buzzard, Yaël DilliesFLT/Patching/System.lean — © 2025 Andrew Yang; authors: Andrew Yang, Kevin Buzzard, Ruben Van de VeldeFLT/Patching/Ultraproduct.lean — © 2025 Andrew Yang; authors: Andrew Yang, Kevin BuzzardFLT/Patching/Utils/StructureFiniteness.lean — © 2025 Andrew Yang; authors: Andrew Yang, Kevin BuzzardFLT/Patching/Utils/AdicTopology.lean — © 2025 Andrew Yang; authors: Andrew Yang, Kevin BuzzardFLT/Patching/Utils/InverseLimit.lean — © 2025 Andrew Yang; authors: Andrew Yang, Kevin BuzzardFLT/Patching/Utils/TopologicallyFG.lean — © 2025 Andrew Yang; authors: Andrew Yang, Kevin BuzzardFLT/Patching/REqualsT.lean — © 2025 Andrew Yang; authors: Andrew Yang, Kevin BuzzardFLT/Deformations/Lemmas.lean — © 2025 Andrew Yang; authors: Andrew Yang, Kevin Buzzard, Ruben Van de Velde |
P2M/Sol/S_AlgebraicCurve_fibreResidueIdentityAlong_of_separableAlong_of_dCoordGenerates.lean |
one short lemma (IsLocalRing.maximalIdeal_le) |
FLT/Mathlib/RingTheory/LocalRing/MaximalIdeal/Basic.lean — © 2025 Salvatore Mercuri; authors: Salvatore Mercuri, Kevin Buzzard |
P2M/Sol/S_AlgebraicCurve_residueTheorem_of_residueTheorem_ratFunc_of_residueTraceCompletionCommute.lean |
one short lemma (IsLocalRing.maximalIdeal_le) |
FLT/Mathlib/RingTheory/LocalRing/MaximalIdeal/Basic.lean — © 2025 Salvatore Mercuri; authors: Salvatore Mercuri, Kevin Buzzard |
P2M/Sol/S_AlgebraicCurve_residueTheoremK_of_isAlgClosed.lean |
one short lemma (IsLocalRing.maximalIdeal_le) |
FLT/Mathlib/RingTheory/LocalRing/MaximalIdeal/Basic.lean — © 2025 Salvatore Mercuri; authors: Salvatore Mercuri, Kevin Buzzard |
P2M/Sol/S_AlgebraicCurve_tateAgreement_v2.lean |
one short lemma (IsLocalRing.maximalIdeal_le) |
FLT/Mathlib/RingTheory/LocalRing/MaximalIdeal/Basic.lean — © 2025 Salvatore Mercuri; authors: Salvatore Mercuri, Kevin Buzzard |
P2M/Sol/S_AlgebraicCurve_tateAgreement.lean |
one short lemma (IsLocalRing.maximalIdeal_le) |
FLT/Mathlib/RingTheory/LocalRing/MaximalIdeal/Basic.lean — © 2025 Salvatore Mercuri; authors: Salvatore Mercuri, Kevin Buzzard |
P2M/Sol/S_AlgebraicCurve_tateChainRule.lean |
a short passage (a few lines) | FLT/Mathlib/RingTheory/Valuation/ValuationSubring.lean — © 2025 Ruben Van de Velde; authors: Ruben Van de Velde, Kevin Buzzard, Salvatore MercuriFLT/Mathlib/RingTheory/LocalRing/MaximalIdeal/Basic.lean — © 2025 Salvatore Mercuri; authors: Salvatore Mercuri, Kevin Buzzard |
P2M/Sol/S_AlgebraicCurve_tateCommFinite.lean |
portions (≈4%) | FLT/Mathlib/RingTheory/Valuation/ValuationSubring.lean — © 2025 Ruben Van de Velde; authors: Ruben Van de Velde, Kevin Buzzard, Salvatore MercuriFLT/Mathlib/RingTheory/LocalRing/MaximalIdeal/Basic.lean — © 2025 Salvatore Mercuri; authors: Salvatore Mercuri, Kevin Buzzard |
P2M/Sol/S_AlgebraicCurve_tateTraceCompat_of_isSeparable.lean |
a short passage (a few lines) | FLT/Mathlib/RingTheory/Valuation/ValuationSubring.lean — © 2025 Ruben Van de Velde; authors: Ruben Van de Velde, Kevin Buzzard, Salvatore MercuriFLT/Mathlib/RingTheory/LocalRing/MaximalIdeal/Basic.lean — © 2025 Salvatore Mercuri; authors: Salvatore Mercuri, Kevin Buzzard |
P2M/Sol/S_ExtCitation_exists_frobenius_pow_inv_mul_mem_inertia_sup_level.lean |
portions (≈20%) | FLT/Deformations/RepresentationTheory/AbsoluteGaloisGroup.lean — © 2025 Andrew Yang; authors: Andrew Yang, Kevin Buzzard, Ruben Van de VeldeFLT/Deformations/Lemmas.lean — © 2025 Andrew Yang; authors: Andrew Yang, Kevin Buzzard, Ruben Van de Velde |
P2M/Sol/S_ExtCitation_exists_isFrobeniusAt_apply_primeLocalToGlobal.lean |
large part (≈44%) | FLT/Deformations/RepresentationTheory/AbsoluteGaloisGroup.lean — © 2025 Andrew Yang; authors: Andrew Yang, Kevin Buzzard, Ruben Van de VeldeFLT/Deformations/Lemmas.lean — © 2025 Andrew Yang; authors: Andrew Yang, Kevin Buzzard, Ruben Van de Velde |
P2M/Sol/S_groupCohomology_exists_mem_split_adjoin_rootsOfUnity_of_padic.lean |
a short passage (a few lines) | FLT/Deformations/RepresentationTheory/AbsoluteGaloisGroup.lean — © 2025 Andrew Yang; authors: Andrew Yang, Kevin Buzzard, Ruben Van de Velde |
P2M/Sol/S_groupCohomology_isMulCoboundary1_of_isMulCocycle1_of_level.lean |
portions (≈9%) | FLT/Deformations/RepresentationTheory/AbsoluteGaloisGroup.lean — © 2025 Andrew Yang; authors: Andrew Yang, Kevin Buzzard, Ruben Van de Velde |
P2M/Sol/S_IsDedekindDomain_FiniteAdeleRing_exists_forall_sub_algebraMap_mem_adicCompletionIntegers.lean |
large part (≈61%) | FLT/DedekindDomain/AdicValuation.lean — © 2025 Matthew Jasper; authors: Matthew JasperFLT/Mathlib/RingTheory/DedekindDomain/AdicValuation.lean — © 2025 Kevin Buzzard; authors: Kevin Buzzard, Salvatore Mercuri |
P2M/Sol/S_IsDedekindDomain_FiniteAdeleRing_exists_sub_algebraMap_mem_adicCompletionIntegers.lean |
portions (≈28%) | FLT/DedekindDomain/AdicValuation.lean — © 2025 Matthew Jasper; authors: Matthew Jasper |
P2M/Sol/S_IsLocalRing_isRegular_of_systemOfParameters.lean |
portions (≈10%) | FLT/Patching/Utils/Depth.lean — © 2025 Andrew Yang; authors: Andrew Yang, Kevin Buzzard, Michael Rothgang |
P2M/Sol/S_IsProartinian_finite_quotient_of_isOpen.lean |
portions (≈25%; the same six-line passage as in Def_Deformations_ProartinianCompact) | FLT/Deformations/IsProartinian.lean — © 2025 Andrew Yang; authors: Andrew Yang, Kevin Buzzard, Ruben Van de Velde |
P2M/Sol/S_IsRegularLocalRing_depth_self_eq_ringKrullDim.lean |
portions (≈12%) | FLT/Patching/Utils/Depth.lean — © 2025 Andrew Yang; authors: Andrew Yang, Kevin Buzzard, Michael Rothgang |
P2M/Sol/S_isSMulRegular_iff_of_free.lean |
whole file (93%) | FLT/Patching/Utils/Depth.lean — © 2025 Andrew Yang; authors: Andrew Yang, Kevin Buzzard, Michael Rothgang |
P2M/Sol/S_M4aHerbrand_nonempty_ideleGaloisDescent.lean |
a short passage (a few lines) | FLT/DedekindDomain/IntegralClosure.lean — © 2025 Kevin Buzzard; authors: Kevin Buzzard, Andrew Yang, Matthew Jasper |
P2M/Sol/S_Module_depth_eq_depth_of_finite_of_isLocalHom.lean |
portions (≈8%) | FLT/Patching/Utils/Depth.lean — © 2025 Andrew Yang; authors: Andrew Yang, Kevin Buzzard, Michael Rothgang |
P2M/Sol/S_Module_depth_le_ringKrullDim_quotient_of_mem_associatedPrimes.lean |
portions (≈17%) | FLT/Patching/Utils/Depth.lean — © 2025 Andrew Yang; authors: Andrew Yang, Kevin Buzzard, Michael Rothgang |
P2M/Sol/S_Module_depth_le_ringKrullDim.lean |
large part (≈75%) | FLT/Patching/Utils/Depth.lean — © 2025 Andrew Yang; authors: Andrew Yang, Kevin Buzzard, Michael Rothgang |
P2M/Sol/S_Module_depth_quotient_eq_depth.lean |
portions (≈17%) | FLT/Patching/Utils/Depth.lean — © 2025 Andrew Yang; authors: Andrew Yang, Kevin Buzzard, Michael Rothgang |
P2M/Sol/S_Module_depth_quotSMulTop_succ_eq.lean |
portions (≈17%) | FLT/Patching/Utils/Depth.lean — © 2025 Andrew Yang; authors: Andrew Yang, Kevin Buzzard, Michael Rothgang |
P2M/Sol/S_Module_free_of_depth_eq_ringKrullDim_of_isRegularLocalRing.lean |
portions (≈12%) | FLT/Patching/Utils/Depth.lean — © 2025 Andrew Yang; authors: Andrew Yang, Kevin Buzzard, Michael Rothgang |
P2M/Sol/S_MvPowerSeries_depth_self_eq_ringKrullDim_fin_of_isDiscreteValuationRing.lean |
portions (≈9%) | FLT/Patching/Utils/Depth.lean — © 2025 Andrew Yang; authors: Andrew Yang, Kevin Buzzard, Michael Rothgang |
P2M/Sol/S_MvPowerSeries_depth_self_fin_eq_of_isDiscreteValuationRing.lean |
portions (≈9%) | FLT/Patching/Utils/Depth.lean — © 2025 Andrew Yang; authors: Andrew Yang, Kevin Buzzard, Michael Rothgang |
P2M/Sol/S_MvPowerSeries_ringKrullDim_fin_eq_of_isDiscreteValuationRing.lean |
portions (≈9%) | FLT/Patching/Utils/Depth.lean — © 2025 Andrew Yang; authors: Andrew Yang, Kevin Buzzard, Michael Rothgang |
P2M/Sol/S_NumberField_count_normalizedFactors_differentIdeal_le_of_mem_primesOverFinset_three.lean |
portions (≈9%); upstream notices also retained in place before the included portions | FLT/DedekindDomain/AdicValuation.lean — © 2025 Matthew Jasper; authors: Matthew JasperFLT/Mathlib/Topology/Algebra/Valued/WithZeroMulInt.lean — © 2025 Salvatore Mercuri; authors: Salvatore MercuriFLT/Mathlib/RingTheory/Valuation/ValuationSubring.lean — © 2025 Ruben Van de Velde; authors: Ruben Van de Velde, Kevin Buzzard, Salvatore MercuriFLT/Deformations/RepresentationTheory/AbsoluteGaloisGroup.lean — © 2025 Andrew Yang; authors: Andrew Yang, Kevin Buzzard, Ruben Van de VeldeFLT/Mathlib/RingTheory/DedekindDomain/AdicValuation.lean — © 2025 Kevin Buzzard; authors: Kevin Buzzard, Salvatore MercuriFLT/NumberField/Completion/Finite.lean — © 2025 Kevin Buzzard; authors: Kevin BuzzardFLT/Deformations/RepresentationTheory/GaloisRep.lean — © 2025 Kevin Buzzard; authors: Kevin Buzzard, Ruben Van de Velde, Pietro MonticoneFLT/Mathlib/RingTheory/LocalRing/MaximalIdeal/Basic.lean — © 2025 Salvatore Mercuri; authors: Salvatore Mercuri, Kevin Buzzard |
P2M/Sol/S_NumberField_finrank_le_two_of_isGalois_of_isUnramifiedAt_of_finrank_dvd_sixteen.lean |
portions (≈3%) | FLT/Deformations/Lemmas.lean — © 2025 Andrew Yang; authors: Andrew Yang, Kevin Buzzard, Ruben Van de Velde |
P2M/Sol/S_Representation_isAbsolutelyIrreducible_iff_isIrreducible_and_surjective_algebraMap_end.lean |
portions (≈3%) | FLT/Mathlib/RepresentationTheory/Basic.lean — © 2024 Javier López-Contreras; authors: Javier López-Contreras, Kevin Buzzard |
P2M/Sol/S_RingTheory_Sequence_isWeaklyRegular_of_free_aux.lean |
large part (≈64%) | FLT/Patching/Utils/Depth.lean — © 2025 Andrew Yang; authors: Andrew Yang, Kevin Buzzard, Michael Rothgang |
P2M/Sol/S_Submodule_fg_and_span_eq_top_ofFiniteIdele.lean |
portions (≈21%) | FLT/DedekindDomain/AdicValuation.lean — © 2025 Matthew Jasper; authors: Matthew JasperFLT/Mathlib/RingTheory/DedekindDomain/AdicValuation.lean — © 2025 Kevin Buzzard; authors: Kevin Buzzard, Salvatore Mercuri |
P2M/Sol/S_Submodule_finiteAdeleBox_conjByFiniteIdele.lean |
portions (≈20%) | FLT/DedekindDomain/AdicValuation.lean — © 2025 Matthew Jasper; authors: Matthew JasperFLT/Mathlib/RingTheory/DedekindDomain/AdicValuation.lean — © 2025 Kevin Buzzard; authors: Kevin Buzzard, Salvatore Mercuri |
P2M/Sol/S_Submodule_finiteAdeleBox_ofFiniteIdele.lean |
portions (≈26%) | FLT/DedekindDomain/AdicValuation.lean — © 2025 Matthew Jasper; authors: Matthew JasperFLT/Mathlib/RingTheory/DedekindDomain/AdicValuation.lean — © 2025 Kevin Buzzard; authors: Kevin Buzzard, Salvatore Mercuri |
P2M/Sol/S_Submodule_ofFiniteIdele_eq_ofFiniteIdele_iff.lean |
portions (≈26%) | FLT/DedekindDomain/AdicValuation.lean — © 2025 Matthew Jasper; authors: Matthew JasperFLT/Mathlib/RingTheory/DedekindDomain/AdicValuation.lean — © 2025 Kevin Buzzard; authors: Kevin Buzzard, Salvatore Mercuri |
P2M/Sol/S_TraceFibrePushforward_exists_forall_tracePushforward_eq_indicator_of_forall_eq_indicator.lean |
a short passage — one short instance (SeparableSpace (v.adicCompletion K)), ≈6 lines | FLT/Mathlib/RingTheory/DedekindDomain/AdicValuation.lean — © 2025 Kevin Buzzard; authors: Kevin Buzzard, Salvatore Mercuri |
P2M/Sol/S_WeierstrassCurve_exists_intermediateField_countable_map_eq_and_finrankAlong_eq.lean |
a short passage (a few lines); upstream notices also retained in place before the included portions | FLT/Mathlib/LinearAlgebra/Countable.lean — © 2025 Kevin Buzzard; authors: Kevin Buzzard |
2. Files containing Imperial College London FLT material through an intermediate port
In May 2026 we ported the upstream Frey-package file and the torsion Galois-module file by hand into our working tree, restructuring them and adding material of our own; the files below contain text from those two ports (extents count only lines traceable to them, as best we can tell). The upstream paths and author lists given here are as recorded in our port's notes and have not been re-checked against the upstream repository, whose file headers are authoritative, with one exception: the notice of FLT/EllipticCurve/Torsion.lean below is the upstream file's own, at the commit named. 14 files.
| File in this repository | Extent | Upstream file (as recorded) — authors (as recorded) |
|---|---|---|
Definitions/Def_FLTPrelim_FreyPackage.lean |
adapted (upstream notice retained in place, from our May port) | FLT/Basic/FreyPackage.lean — authors recorded in our intermediate port: Kevin Buzzard, Ruben Van de Velde, Pietro Monticone (path as recorded in our port) |
Definitions/Def_FLTPrelim_GaloisRep.lean |
adapted (upstream notice retained in place, from our May port) | FLT/EllipticCurve/Torsion.lean (commit 7a87d3b25db1) — © 2024 Kevin Buzzard; authors: Kevin Buzzard (path as recorded in our port; the notice retained inside our file is our May port's generic one, the upstream notice is reproduced here) |
Definitions/Def_FreyCurve_Basic.lean |
large part (≈74%) | FLT/Basic/FreyPackage.lean — authors recorded in our intermediate port: Kevin Buzzard, Ruben Van de Velde, Pietro Monticone (path as recorded in our port) |
P2M/Sol/S_FreyPackage_dvd_freyCurveInt_discr_iff.lean |
portions (≈23%) | FLT/Basic/FreyPackage.lean — authors recorded in our intermediate port: Kevin Buzzard, Ruben Van de Velde, Pietro Monticone (path as recorded in our port) |
P2M/Sol/S_FreyPackage_frey_exists_p_torsion_integral_abscissa_of_stable_line.lean |
portions (≈3%) | FLT/Basic/FreyPackage.lean — authors recorded in our intermediate port: Kevin Buzzard, Ruben Van de Velde, Pietro Monticone (path as recorded in our port) |
P2M/Sol/S_FreyPackage_frey_exists_p_torsion_integral_abscissa.lean |
portions (≈3%) | FLT/Basic/FreyPackage.lean — authors recorded in our intermediate port: Kevin Buzzard, Ruben Van de Velde, Pietro Monticone (path as recorded in our port) |
P2M/Sol/S_FreyPackage_frey_isModular.lean |
portions (≈13%) | FLT/Basic/FreyPackage.lean — authors recorded in our intermediate port: Kevin Buzzard, Ruben Van de Velde, Pietro Monticone (path as recorded in our port) |
P2M/Sol/S_FreyPackage_frey_isSemistableModel.lean |
portions (≈30%) | FLT/Basic/FreyPackage.lean — authors recorded in our intermediate port: Kevin Buzzard, Ruben Van de Velde, Pietro Monticone (path as recorded in our port) |
P2M/Sol/S_FreyPackage_freyCurveInt_discr_ne_zero.lean |
portions (≈28%) | FLT/Basic/FreyPackage.lean — authors recorded in our intermediate port: Kevin Buzzard, Ruben Van de Velde, Pietro Monticone (path as recorded in our port) |
P2M/Sol/S_FreyPackage_freyCurveInt_map.lean |
portions (≈28%) | FLT/Basic/FreyPackage.lean — authors recorded in our intermediate port: Kevin Buzzard, Ruben Van de Velde, Pietro Monticone (path as recorded in our port) |
P2M/Sol/S_FreyPackage_freyGaloisRep_isUnramifiedAt.lean |
portions (≈22%) | FLT/Basic/FreyPackage.lean — authors recorded in our intermediate port: Kevin Buzzard, Ruben Van de Velde, Pietro Monticone (path as recorded in our port) |
P2M/Sol/S_FreyPackage_not_dvd_freyCurveInt_c4.lean |
portions (≈27%) | FLT/Basic/FreyPackage.lean — authors recorded in our intermediate port: Kevin Buzzard, Ruben Van de Velde, Pietro Monticone (path as recorded in our port) |
P2M/Sol/S_FreyPackage_padicValInt_freyCurveInt_discr.lean |
portions (≈28%) | FLT/Basic/FreyPackage.lean — authors recorded in our intermediate port: Kevin Buzzard, Ruben Van de Velde, Pietro Monticone (path as recorded in our port) |
P2M/Sol/S_FreyPackage_padicValInt_two_freyCurveInt_discr.lean |
portions (≈26%) | FLT/Basic/FreyPackage.lean — authors recorded in our intermediate port: Kevin Buzzard, Ruben Van de Velde, Pietro Monticone (path as recorded in our port) |
3. Files containing material from the flt-regular project
Upstream: https://github.com/leanprover-community/flt-regular — A complete formalization of Fermat's Last Theorem for regular primes in Lean, Alex J. Best, Christopher Birkbeck, Riccardo Brasca, Eric Rodriguez Boidi, Ruben Van de Velde, Andrew Yang (arXiv:2410.01466). Apache License, Version 2.0. That project's per-file headers are not reproduced in this revision; the project, its authors and the files drawn on are named instead.
| File in this repository | Extent | Upstream files |
|---|---|---|
P2M/Sol/S_flt_regular.lean |
large part: a port with proofs (about 4,200 lines) of the regular-prime case — regular primes, cyclotomic units, Hilbert 90/92/94, Kummer's lemma, case I, case II | FltRegular/NumberTheory/RegularPrimes.lean, FltRegular/NumberTheory/Cyclotomic/CyclRat.lean, FltRegular/NumberTheory/Cyclotomic/MoreLemmas.lean, FltRegular/NumberTheory/Cyclotomic/UnitLemmas.lean, FltRegular/NumberTheory/Cyclotomic/CaseI.lean, FltRegular/NumberTheory/CyclotomicRing.lean, FltRegular/NumberTheory/SystemOfUnits.lean, FltRegular/NumberTheory/Hilbert92.lean, FltRegular/NumberTheory/Unramified.lean, FltRegular/NumberTheory/Hilbert94.lean, FltRegular/NumberTheory/KummersLemma/Field.lean, FltRegular/MayAssume/Lemmas.lean, FltRegular/CaseI/AuxLemmas.lean, FltRegular/CaseI/Statement.lean, FltRegular/CaseII/AuxLemmas.lean, FltRegular/CaseII/InductionStep.lean, FltRegular/CaseII/Statement.lean, FltRegular/FltRegular.lean |
P2M/Sol/S_IsCyclotomicExtension_Rat_seven_pid.lean |
portions: the class-number-one computation for the 7th cyclotomic field | FltRegular/SmallNumbers/PID.lean, FltRegular/SmallNumbers/Seven/Seven.lean |
4. Mathlib
This repository is built on Mathlib (https://github.com/leanprover-community/mathlib4, Apache-2.0, copyright the Mathlib authors as recorded in its file headers), which is fetched at build time and not distributed here. The Definitions/Def_Mathlib_* files listed in §1 are the Imperial College London project's "FLT/Mathlib" staging files, not copies of Mathlib files. Mathlib text nevertheless occurs in the tree in two ways.
First, one file copies Mathlib text wholesale. Definitions/Def_Compat_Mathlib430.lean reproduces, under new names and without their docstrings, the Mathlib v4.30.0 (commit c5ea00351c28e24afc9f0f84379aa41082b1188f) text of a few definitions, lemmas and one notation whose form changed in Mathlib v4.33.0 — verbatim apart from four lines marked -- [port] — each copied block headed by the Mathlib file and line range it is taken from; it also contains two small bridging declarations of our own (Representation.ofMulActionFinsuppEquiv, Rep.ofMulActionFinsuppIso), three one-line example checks and, in its last block, four lemmas adapted and re-proved from Mathlib/NumberTheory/RamificationInertia/Galois.lean rather than copied. The eight Mathlib files it draws on and their notices (identical at Mathlib v4.30.0 and v4.33.0; each header, here and in the second table, continues "All rights reserved. Released under Apache 2.0 license as described in the file LICENSE.") are listed in the first table below.
Second, some modules re-prove a Mathlib lemma in place — usually a private or auxiliary Mathlib result the module needed — and in doing so reproduce its proof text. To find these we compared every .lean file of this repository, line by line after normalising whitespace and dropping import/open/namespace/section lines, against every file of Mathlib v4.33.0 (commit db584cd6d46c92f209a44c0f1c829460d327499d) and v4.30.0, and list below the modules this comparison identified as sharing a run of roughly eight or more consecutive lines with a Mathlib file, setting aside matches that are only routine structure-instance boilerplate. Twenty-two modules are listed (twenty-one under P2M/Sol/, one under Definitions/; one of them, P2M/Sol/S_flt_regular.lean, also appears in §3 for its flt-regular material); the second table below gives for each the Mathlib file, that file's copyright holder and authors (verbatim from its header), what was taken, and the approximate extent. The comparison is sensitive to how lines are normalised; shorter restatements, and proofs that follow a Mathlib argument without reproducing its text, are not listed individually; Mathlib as a whole is credited in NOTICE.
| Mathlib file | Copyright holder; authors (verbatim from the file header) |
|---|---|
Mathlib/RepresentationTheory/Basic.lean |
Copyright (c) 2022 Antoine Labelle; Authors: Antoine Labelle |
Mathlib/RepresentationTheory/Rep/Basic.lean |
Copyright (c) 2026 Yunzhou Xie; Authors: Edison Xie, Kim Morrison |
Mathlib/Algebra/Group/End.lean |
Copyright (c) 2018 Johannes Hölzl; Authors: Johannes Hölzl, Callum Sutton, Yury Kudryashov |
Mathlib/Algebra/GroupWithZero/Action/Basic.lean |
Copyright (c) 2018 Chris Hughes; Authors: Chris Hughes, Yury Kudryashov |
Mathlib/Algebra/Ring/AddAut.lean |
Copyright (c) 2022 Yury Kudryashov; Authors: Yury Kudryashov |
Mathlib/Algebra/Ring/Action/Submonoid.lean |
Copyright (c) 2024 David Ang; Authors: David Ang |
Mathlib/NumberTheory/EllipticDivisibilitySequence.lean |
Copyright (c) 2024 David Kurniadi Angdinata; Authors: David Kurniadi Angdinata |
Mathlib/NumberTheory/RamificationInertia/Galois.lean |
Copyright (c) 2024 Yongle Hu; Authors: Yongle Hu, Jiedong Jiang |
| File of this repository | Mathlib file | Copyright holder; authors (verbatim from the file header) | Material taken (approximate extent) |
|---|---|---|---|
P2M/Sol/S_AdicCompletion_map_algebraLinearMap_injective_and_mem_range_iff_of_isInvariant.lean |
Mathlib/RingTheory/AdicCompletion/Exactness.lean |
Copyright (c) 2024 Judith Ludwig, Christian Merten; Authors: Judith Ludwig, Christian Merten | the auxiliary construction mapExactAuxDelta / mapExactAux and the proofs of AdicCompletion.map_injective and AdicCompletion.map_exact, adapted (≈65 lines, about three fifths of the Mathlib file's proof text) |
P2M/Sol/S_NumberField_TateGlobal_exists_differentiable_eq_partialEulerProduct_of_exists_mem_normOneIdeles_ne_one.lean |
Mathlib/MeasureTheory/Measure/Lebesgue/Integral.lean |
Copyright (c) 2017 Johannes Hölzl; Authors: Johannes Hölzl, Sébastien Gouëzel, Yury Kudryashov | the proof of integral_comp_abs, inlined (≈18 lines) |
P2M/Sol/S_NumberField_TateGlobal_exists_meromorphicOn_eq_partialEulerProduct.lean |
Mathlib/MeasureTheory/Measure/Lebesgue/Integral.lean |
Copyright (c) 2017 Johannes Hölzl; Authors: Johannes Hölzl, Sébastien Gouëzel, Yury Kudryashov | the proof of integral_comp_abs, inlined (≈18 lines) |
P2M/Sol/S_NumberField_TateGlobal_exists_meromorphicOn_analyticAt_one_eq_partialEulerProduct_of_ne_one.lean |
Mathlib/MeasureTheory/Measure/Lebesgue/Integral.lean |
Copyright (c) 2017 Johannes Hölzl; Authors: Johannes Hölzl, Sébastien Gouëzel, Yury Kudryashov | the proof of integral_comp_abs, inlined (≈18 lines) |
P2M/Sol/S_LanglandsTunnell_ArchPlace_complexZeta_complexTestFun_complexCharFun_eq_pi_mul_GammaComplex.lean |
Mathlib/MeasureTheory/Measure/Lebesgue/Integral.lean |
Copyright (c) 2017 Johannes Hölzl; Authors: Johannes Hölzl, Sébastien Gouëzel, Yury Kudryashov | the proof of integral_comp_abs, inlined (≈18 lines) |
P2M/Sol/S_LanglandsTunnell_ArchPlace_realZeta_realTestFun_realCharFun_eq_GammaReal.lean |
Mathlib/MeasureTheory/Measure/Lebesgue/Integral.lean |
Copyright (c) 2017 Johannes Hölzl; Authors: Johannes Hölzl, Sébastien Gouëzel, Yury Kudryashov | the proof of integral_comp_abs, inlined (≈18 lines) |
P2M/Sol/S_NumberField_exists_isBigO_card_absNorm_le_mk_eq_sub.lean |
Mathlib/NumberTheory/NumberField/Ideal/Asymptotics.lean |
Copyright (c) 2025 Xavier Roblot; Authors: Xavier Roblot | the auxiliary statements tendsto_norm_le_and_mk_eq_div_atTop_aux₁ / _aux₂ (the ideal-counting bijection), adapted (≈25 lines) |
Definitions/Def_AlgebraicGeometry_LocalRepresentabilityULift.lean |
Mathlib/AlgebraicGeometry/Sites/Representability.lean |
Copyright (c) 2024 Calle Sönne; Authors: Calle Sönne, Joël Riou, Ravi Vakil | the glueData construction for a locally representable functor and glueData_openCover_map, adapted to a universe-lifted setting (≈20–35 lines) |
P2M/Sol/S_AlgebraicGeometry_exists_etale_nhd_of_flat_stalkMap_of_map_maximalIdeal_eq_of_isIso_residueFieldMap.lean |
Mathlib/RingTheory/Smooth/Fiber.lean |
Copyright (c) 2026 Andrew Yang; Authors: Andrew Yang | the proof of Algebra.IsSmoothAt.of_formallySmooth_fiber, adapted (≈20 lines) |
P2M/Sol/S_ExtCitation_Cyclotomic_thaine_relation_plusField.lean |
Mathlib/RepresentationTheory/Homological/GroupCohomology/Hilbert90.lean |
Copyright (c) 2023 Amelia Livingston; Authors: Riccardo Brasca, Amelia Livingston | the proof of exists_mul_galRestrict_of_norm_eq_one (integral form of Hilbert's Theorem 90), restated as a private lemma (≈17 lines) |
P2M/Sol/S_AutomorphicForm_setIntegral_residualProj_mul_conj_eq_sum_integral_maximalCompact_residue_pairing_slab.lean |
Mathlib/Analysis/MellinInversion.lean |
Copyright (c) 2024 Lawrence Wu; Authors: Lawrence Wu | the private auxiliary lemmas rexp_neg_deriv_aux, rexp_neg_image_aux, rexp_neg_injOn_aux, rexp_cexp_aux, verbatim (≈13 lines) |
P2M/Sol/S_NumberField_not_tendsto_tprod_eulerProduct_nhdsGT_one_nhds_zero_of_three_four_one.lean |
Mathlib/NumberTheory/LSeries/Nonvanishing.lean |
Copyright (c) 2024 Michael Stoll; Authors: Michael Stoll, David Loeffler | the proof of the private lemma re_log_comb_nonneg' (the 3-4-1 inequality), inlined (≈10 lines) |
P2M/Sol/S_NumberField_TateGlobal_exists_forall_one_le_mul_norm_apply_of_differentiable_of_eq_partialEulerProduct.lean |
Mathlib/NumberTheory/LSeries/Nonvanishing.lean |
Copyright (c) 2024 Michael Stoll; Authors: Michael Stoll, David Loeffler | the proof of the private lemma re_log_comb_nonneg', inlined (≈10 lines) |
P2M/Sol/S_NumberField_TateGlobal_exists_one_le_mul_norm_of_eq_sub_mul_partialEulerProduct_normPowChar.lean |
Mathlib/NumberTheory/LSeries/Nonvanishing.lean |
Copyright (c) 2024 Michael Stoll; Authors: Michael Stoll, David Loeffler | the proof of the private lemma re_log_comb_nonneg', inlined (≈10 lines) |
P2M/Sol/S_AlgebraicGeometry_locallyOfFinitePresentation_diagonal_of_locallyOfFiniteType.lean |
Mathlib/AlgebraicGeometry/Morphisms/Separated.lean |
Copyright (c) 2024 Christian Merten; Authors: Christian Merten, Andrew Yang | the opening of the proof of isClosedImmersion_diagonal_restrict_diagonalCoverDiagonalRange (the cover U and hU), adapted (≈8 lines) |
P2M/Sol/S_AlgebraicGeometry_exists_ideal_eq_bot_iff_eq_and_map_and_fg_of_locallyOfFiniteType.lean |
Mathlib/AlgebraicGeometry/Morphisms/Separated.lean |
Copyright (c) 2024 Christian Merten; Authors: Christian Merten, Andrew Yang | the same passage of isClosedImmersion_diagonal_restrict_diagonalCoverDiagonalRange, adapted (≈8 lines) |
P2M/Sol/S_AlgebraicCurve_TwoChartIntegralModel_mem_chartAlg_image_iff_exists_eq_sum_mul_pow_of_powerBasis_of_isUnit_discr.lean |
Mathlib/RingTheory/Discriminant.lean |
Copyright (c) 2021 Riccardo Brasca; Authors: Riccardo Brasca | most of the proof of Algebra.discr_mul_isIntegral_mem_adjoin, adapted (≈18 lines) |
P2M/Sol/S_flt_regular.lean |
Mathlib/LinearAlgebra/LinearIndependent/Lemmas.lean |
Copyright (c) 2020 Anne Baanen; Authors: Johannes Hölzl, Mario Carneiro, Alexander Bentkamp, Anne Baanen | the statement and proof of LinearIndependent.update, restated as a private lemma (≈15 lines); this file is also listed in §3 |
P2M/Sol/S_AlgebraicGeometry_Scheme_IdealSheafData_isInvertible_of_isInvertible_comap.lean |
Mathlib/RingTheory/Finiteness/Descent.lean |
Copyright (c) 2026 Christian Merten; Authors: Christian Merten | the map f and the range computation from the proof of Ideal.FG.of_FG_map_of_faithfullyFlat, adapted to a flat algebra (≈18 lines) |
P2M/Sol/S_EisensteinSeries_exists_modularForm_coe_eq_eisensteinG.lean |
Mathlib/NumberTheory/ModularForms/EisensteinSeries/IsBoundedAtImInfty.lean |
Copyright (c) 2024 Chris Birkbeck; Authors: Chris Birkbeck | the proof of EisensteinSeries.isBoundedAtImInfty_eisensteinSeriesSIF with its auxiliary norm bound, adapted to this repository's eisensteinG (≈15 lines) |
P2M/Sol/S_EisensteinSeries_qExpansion_eisensteinG_coeff.lean |
Mathlib/NumberTheory/ModularForms/EisensteinSeries/IsBoundedAtImInfty.lean |
Copyright (c) 2024 Chris Birkbeck; Authors: Chris Birkbeck | the same proof of EisensteinSeries.isBoundedAtImInfty_eisensteinSeriesSIF, adapted (≈15 lines) |
P2M/Sol/S_EisensteinSeries_exists_modularForm_gamma_apply_eq_tsum_eisSummand.lean |
Mathlib/NumberTheory/ModularForms/EisensteinSeries/IsBoundedAtImInfty.lean |
Copyright (c) 2024 Chris Birkbeck; Authors: Chris Birkbeck | the same proof of EisensteinSeries.isBoundedAtImInfty_eisensteinSeriesSIF with its auxiliary norm bound under another name, adapted (≈13 lines) |
5. What we are not certain of
- Coverage. The comparison corpus was the set of upstream files present in our working tree (100 files). Upstream files that were never copied into our tree cannot be detected by this method; for those we relied on the pre-publication provenance notes, which name no further Imperial College London or flt-regular files beyond those listed. If further material is recognised, the omission is ours and unintentional.
- Two headers supplied from upstream.
Definitions/Def_DedekindDomain_Completion_BaseChange.leanandDefinitions/Def_DedekindDomain_FiniteAdeleRing_BaseChange.leanare ports ofFLT/DedekindDomain/Completion/BaseChange.leanandFLT/DedekindDomain/FiniteAdeleRing/BaseChange.leanat upstream commit8387d589441c1097d606ea89370c4165147255d5; our copies did not retain those two files' notices, so the copyright and author lines given for them in §1 were read from the upstream files at that commit and are reproduced here. - Upstream revision. Our copies record the upstream branch (
main) and the date (2026-05-21), not a commit hash; one file (FLT/EllipticCurve/Torsion.lean) was recorded at commit7a87d3b25db19d008cd45b29edd2b92803e785b1, two at8387d589…as above. - §2 paths and author lists come from our own May porting notes ("FLT/Basic/FreyPackage.lean … Kevin Buzzard, Ruben Van de Velde, Pietro Monticone"; "FLT/EllipticCurve/Torsion.lean"), as does the notice retained in
Definitions/Def_FLTPrelim_FreyPackage.lean; apart from the notice ofFLT/EllipticCurve/Torsion.lean, read from the upstream file at commit7a87d3b25db19d008cd45b29edd2b92803e785b1and reproduced in §2, none has been re-checked against the upstream repository. - flt-regular per-file headers are not reproduced in this revision; §3 names the project and its authors instead.
- Small passages. Below the thresholds above (a handful of shared lines) we did not attribute systematically; such passages are typically routine instance declarations or one-line lemmas. A few found on review are listed.