From 088bb994729dcde55f3bc027f4d33661db0be0fe Mon Sep 17 00:00:00 2001 From: Kim Morrison Date: Mon, 5 Oct 2026 04:12:12 +0000 Subject: [PATCH] chore: normalize public and private import groups --- Mathlib/Algebra/AddConstMap/Basic.lean | 1 + Mathlib/Algebra/AffineMonoid/Embedding.lean | 2 +- Mathlib/Algebra/Algebra/Spectrum/Pi.lean | 1 + Mathlib/Algebra/Algebra/Spectrum/Quasispectrum.lean | 3 ++- Mathlib/Algebra/Algebra/Subalgebra/IsSimpleOrder.lean | 3 ++- Mathlib/Algebra/Algebra/Unitization.lean | 3 ++- Mathlib/Algebra/AlgebraicCard.lean | 3 ++- Mathlib/Algebra/Azumaya/Basic.lean | 3 ++- Mathlib/Algebra/BigOperators/Associated.lean | 3 ++- Mathlib/Algebra/BigOperators/Expect.lean | 2 +- Mathlib/Algebra/BigOperators/Group/Finset/Indicator.lean | 3 ++- Mathlib/Algebra/BigOperators/Group/Finset/Interval.lean | 3 ++- Mathlib/Algebra/BigOperators/Group/List/Basic.lean | 3 ++- Mathlib/Algebra/BigOperators/GroupWithZero/Action.lean | 1 + Mathlib/Algebra/BigOperators/Intervals.lean | 1 + Mathlib/Algebra/BigOperators/ModEq.lean | 3 ++- Mathlib/Algebra/BigOperators/Ring/Nat.lean | 3 ++- Mathlib/Algebra/BigOperators/RingEquiv.lean | 3 ++- Mathlib/Algebra/BrauerGroup/Defs.lean | 1 + Mathlib/Algebra/Category/AlgCat/FilteredColimits.lean | 3 ++- Mathlib/Algebra/Category/AlgCat/TensorAlgebra.lean | 3 ++- Mathlib/Algebra/Category/CoalgCat/ComonEquivalence.lean | 1 + Mathlib/Algebra/Category/FGModuleCat/Abelian.lean | 1 + Mathlib/Algebra/Category/FGModuleCat/Colimits.lean | 3 ++- Mathlib/Algebra/Category/FGModuleCat/Limits.lean | 3 ++- Mathlib/Algebra/Category/Grp/AB.lean | 1 + Mathlib/Algebra/Category/Grp/Adjunctions.lean | 1 + Mathlib/Algebra/Category/Grp/EnoughInjectives.lean | 1 + Mathlib/Algebra/Category/Grp/EpiMono.lean | 3 ++- Mathlib/Algebra/Category/Grp/IsFinite.lean | 3 ++- Mathlib/Algebra/Category/Grp/LargeColimits.lean | 1 + Mathlib/Algebra/Category/Grp/Subobject.lean | 3 ++- Mathlib/Algebra/Category/ModuleCat/AB.lean | 1 + Mathlib/Algebra/Category/ModuleCat/EnoughInjectives.lean | 1 + Mathlib/Algebra/Category/ModuleCat/Ext/Baer.lean | 1 + .../Category/ModuleCat/Ext/DimensionShifting.lean | 3 ++- .../Algebra/Category/ModuleCat/InjectiveDimension.lean | 3 ++- Mathlib/Algebra/Category/ModuleCat/LeftResolution.lean | 3 ++- Mathlib/Algebra/Category/ModuleCat/Localization.lean | 3 ++- Mathlib/Algebra/Category/ModuleCat/Presheaf/Abelian.lean | 3 ++- Mathlib/Algebra/Category/ModuleCat/Presheaf/EpiMono.lean | 3 ++- .../Algebra/Category/ModuleCat/Presheaf/Generator.lean | 3 ++- .../Category/ModuleCat/Presheaf/Sheafification.lean | 1 + .../Algebra/Category/ModuleCat/ProjectiveDimension.lean | 3 ++- Mathlib/Algebra/Category/ModuleCat/Sheaf/Free.lean | 1 + .../Algebra/Category/ModuleCat/Sheaf/PullbackFree.lean | 1 + .../Algebra/Category/ModuleCat/Sheaf/Quasicoherent.lean | 1 + Mathlib/Algebra/Category/ModuleCat/Simple.lean | 3 ++- .../Algebra/Category/ModuleCat/Topology/Homology.lean | 5 +++-- Mathlib/Algebra/Category/ModuleCat/Ulift.lean | 5 +++-- Mathlib/Algebra/Category/Ring/Adjunctions.lean | 1 + Mathlib/Algebra/Category/Ring/Epi.lean | 1 + Mathlib/Algebra/Category/Ring/FilteredColimits.lean | 1 + Mathlib/Algebra/Category/Ring/FinitePresentation.lean | 3 ++- Mathlib/Algebra/Category/Ring/LinearAlgebra.lean | 1 + Mathlib/Algebra/Category/Ring/Topology.lean | 1 + Mathlib/Algebra/Category/Ring/Under/Property.lean | 1 + Mathlib/Algebra/Central/TensorProduct.lean | 1 + Mathlib/Algebra/CharP/Basic.lean | 3 ++- Mathlib/Algebra/CharP/CharAndCard.lean | 3 ++- Mathlib/Algebra/CharP/Defs.lean | 3 ++- Mathlib/Algebra/CharP/IntermediateField.lean | 3 ++- Mathlib/Algebra/CharP/Invertible.lean | 3 ++- Mathlib/Algebra/CharP/Lemmas.lean | 1 + Mathlib/Algebra/CharP/LinearMaps.lean | 3 ++- Mathlib/Algebra/CharP/LocalRing.lean | 3 ++- Mathlib/Algebra/CharP/MixedCharZero.lean | 1 + Mathlib/Algebra/CharZero/Defs.lean | 3 ++- Mathlib/Algebra/CharZero/Quotient.lean | 3 ++- Mathlib/Algebra/Colimit/DirectLimit.lean | 1 + Mathlib/Algebra/Colimit/Ring.lean | 1 + .../Computation/ApproximationCorollaries.lean | 3 ++- .../ContinuedFractions/Computation/Approximations.lean | 1 + .../Computation/CorrectnessTerminating.lean | 3 ++- .../ContinuedFractions/Computation/TerminatesIffRat.lean | 3 ++- .../ContinuedFractions/Computation/Translations.lean | 3 ++- Mathlib/Algebra/ContinuedFractions/ConvergentsEquiv.lean | 3 ++- Mathlib/Algebra/DirectSum/LinearMap.lean | 3 ++- Mathlib/Algebra/Divisibility/Basic.lean | 3 ++- Mathlib/Algebra/EuclideanDomain/Basic.lean | 3 ++- Mathlib/Algebra/EuclideanDomain/Int.lean | 5 +++-- Mathlib/Algebra/Expr.lean | 3 ++- Mathlib/Algebra/Field/Opposite.lean | 1 + Mathlib/Algebra/Free.lean | 5 +++-- Mathlib/Algebra/FreeMonoid/FreeSemigroup.lean | 2 +- Mathlib/Algebra/GCDMonoid/FinsetLemmas.lean | 3 ++- Mathlib/Algebra/GCDMonoid/Multiset.lean | 3 ++- Mathlib/Algebra/GradedMonoid.lean | 3 ++- Mathlib/Algebra/Group/Action/Defs.lean | 1 + Mathlib/Algebra/Group/AddChar.lean | 5 +++-- Mathlib/Algebra/Group/Equiv/TypeTags.lean | 1 + Mathlib/Algebra/Group/ForwardDiff.lean | 3 ++- Mathlib/Algebra/Group/Int/Even.lean | 1 + Mathlib/Algebra/Group/Irreducible/Defs.lean | 1 + Mathlib/Algebra/Group/Irreducible/Indecomposable.lean | 1 + Mathlib/Algebra/Group/Irreducible/Lemmas.lean | 3 ++- Mathlib/Algebra/Group/ModEq.lean | 1 + Mathlib/Algebra/Group/Opposite.lean | 1 + Mathlib/Algebra/Group/Pointwise/Finset/Interval.lean | 3 ++- Mathlib/Algebra/Group/Pointwise/Set/Basic.lean | 3 ++- Mathlib/Algebra/Group/Pointwise/Set/ListOfFn.lean | 3 ++- Mathlib/Algebra/Group/Pointwise/Set/Scalar.lean | 1 + Mathlib/Algebra/Group/Subgroup/ZPowers/Basic.lean | 3 ++- Mathlib/Algebra/Group/Submonoid/Membership.lean | 3 ++- Mathlib/Algebra/Group/UniqueProds/Basic.lean | 3 ++- Mathlib/Algebra/Group/WithOne/Basic.lean | 3 ++- Mathlib/Algebra/Group/WithOne/Defs.lean | 3 ++- .../Algebra/GroupWithZero/Action/Pointwise/Finset.lean | 1 + Mathlib/Algebra/GroupWithZero/Action/Pointwise/Set.lean | 3 ++- Mathlib/Algebra/GroupWithZero/Defs.lean | 1 + Mathlib/Algebra/GroupWithZero/Divisibility.lean | 1 + Mathlib/Algebra/GroupWithZero/Indicator.lean | 3 ++- Mathlib/Algebra/GroupWithZero/NonZeroDivisors.lean | 3 ++- Mathlib/Algebra/GroupWithZero/ProdHom.lean | 3 ++- Mathlib/Algebra/GroupWithZero/Semiconj.lean | 1 + Mathlib/Algebra/GroupWithZero/Torsion.lean | 3 ++- Mathlib/Algebra/HierarchyDesign.lean | 3 ++- Mathlib/Algebra/Homology/AlternatingConst.lean | 3 ++- .../DerivedCategory/DerivabilityStructureInjectives.lean | 5 +++-- .../Homology/DerivedCategory/Ext/MapBijective.lean | 7 ++++--- .../Algebra/Homology/DerivedCategory/Ext/TStructure.lean | 1 + Mathlib/Algebra/Homology/DerivedCategory/KInjective.lean | 1 + .../Algebra/Homology/DerivedCategory/KProjective.lean | 1 + .../DerivedCategory/RightDerivedFunctorPlus.lean | 1 + Mathlib/Algebra/Homology/Embedding/Basic.lean | 1 + Mathlib/Algebra/Homology/Embedding/Boundary.lean | 1 + Mathlib/Algebra/Homology/Embedding/TruncGEHomology.lean | 1 + Mathlib/Algebra/Homology/EulerCharacteristic.lean | 3 ++- Mathlib/Algebra/Homology/Factorizations/CM5a.lean | 3 ++- Mathlib/Algebra/Homology/HomologicalComplexBiprod.lean | 3 ++- Mathlib/Algebra/Homology/HomologicalComplexLimits.lean | 1 + .../HomologicalComplexLimitsEventuallyConstant.lean | 3 ++- .../Algebra/Homology/HomotopyCategory/ChainComplex.lean | 3 ++- .../Homology/HomotopyCategory/HomologicalFunctor.lean | 5 +++-- Mathlib/Algebra/Homology/HomotopyCategory/Plus.lean | 3 ++- Mathlib/Algebra/Homology/LeftResolution/Reduced.lean | 1 + Mathlib/Algebra/Homology/ModelCategory/Injective.lean | 5 +++-- Mathlib/Algebra/Homology/Refinements.lean | 3 ++- Mathlib/Algebra/Homology/ShortComplex/Ab.lean | 1 + .../Algebra/Homology/ShortComplex/ConcreteCategory.lean | 1 + Mathlib/Algebra/Homology/ShortComplex/ExactFunctor.lean | 3 ++- Mathlib/Algebra/Homology/ShortComplex/Limits.lean | 3 ++- Mathlib/Algebra/Homology/ShortComplex/SnakeLemma.lean | 1 + Mathlib/Algebra/Homology/SpectralObject/Cycles.lean | 1 + Mathlib/Algebra/Homology/TotalComplex.lean | 1 + Mathlib/Algebra/IsPrimePow.lean | 5 +++-- Mathlib/Algebra/Lie/Basis/Prod.lean | 3 ++- Mathlib/Algebra/Lie/CartanCriterion.lean | 5 +++-- Mathlib/Algebra/Lie/LieTheorem.lean | 1 + Mathlib/Algebra/Lie/SkewAdjoint.lean | 1 + Mathlib/Algebra/Lie/TraceForm.lean | 3 ++- Mathlib/Algebra/Lie/Weights/Chain.lean | 3 ++- Mathlib/Algebra/Lie/Weights/Killing.lean | 3 ++- Mathlib/Algebra/Module/FinitePresentation.lean | 3 ++- Mathlib/Algebra/Module/Injective.lean | 5 +++-- Mathlib/Algebra/Module/Lattice.lean | 1 + Mathlib/Algebra/Module/LinearMap/Index.lean | 3 ++- Mathlib/Algebra/Module/LinearMap/Prod.lean | 3 ++- Mathlib/Algebra/Module/Presentation/Free.lean | 3 ++- Mathlib/Algebra/Module/Projective.lean | 3 ++- Mathlib/Algebra/Module/Rat.lean | 3 ++- Mathlib/Algebra/Module/StablyFree/Basic.lean | 3 ++- Mathlib/Algebra/Module/StablyFree/FreeOfInvertible.lean | 3 ++- Mathlib/Algebra/Module/Torsion/Field.lean | 3 ++- Mathlib/Algebra/Module/ULift.lean | 1 + Mathlib/Algebra/Module/ZLattice/Basic.lean | 3 ++- Mathlib/Algebra/Module/ZLattice/Covolume.lean | 1 + Mathlib/Algebra/Module/ZLattice/Summable.lean | 1 + Mathlib/Algebra/MonoidAlgebra/Grading.lean | 3 ++- Mathlib/Algebra/MonoidAlgebra/Ideal.lean | 3 ++- Mathlib/Algebra/MvPolynomial/Basic.lean | 5 +++-- Mathlib/Algebra/MvPolynomial/Cardinal.lean | 6 +++--- Mathlib/Algebra/MvPolynomial/Division.lean | 3 ++- Mathlib/Algebra/MvPolynomial/Expand.lean | 1 + Mathlib/Algebra/MvPolynomial/Funext.lean | 3 ++- Mathlib/Algebra/MvPolynomial/SchwartzZippel.lean | 3 ++- Mathlib/Algebra/NeZero.lean | 3 ++- Mathlib/Algebra/NoZeroSMulDivisors/Basic.lean | 3 ++- Mathlib/Algebra/Notation/Lemmas.lean | 3 ++- Mathlib/Algebra/Order/AbsoluteValue/Basic.lean | 3 ++- Mathlib/Algebra/Order/AddGroupWithTop.lean | 1 + Mathlib/Algebra/Order/Antidiag/FinsuppEquiv.lean | 1 + Mathlib/Algebra/Order/Antidiag/Nat.lean | 3 ++- Mathlib/Algebra/Order/Antidiag/Tendsto.lean | 3 ++- Mathlib/Algebra/Order/Archimedean/IndicatorCard.lean | 5 +++-- Mathlib/Algebra/Order/Archimedean/Real/Hom.lean | 1 + Mathlib/Algebra/Order/Archimedean/Submonoid.lean | 1 + Mathlib/Algebra/Order/BigOperators/Expect.lean | 4 ++-- Mathlib/Algebra/Order/CauSeq/BigOperators.lean | 3 ++- Mathlib/Algebra/Order/Chebyshev.lean | 4 ++-- Mathlib/Algebra/Order/Field/Pi.lean | 1 + Mathlib/Algebra/Order/Field/Pointwise.lean | 3 ++- Mathlib/Algebra/Order/Field/Power.lean | 5 +++-- Mathlib/Algebra/Order/Floor/BigOperators.lean | 1 + Mathlib/Algebra/Order/Group/Basic.lean | 3 ++- Mathlib/Algebra/Order/Group/Bounds.lean | 1 + Mathlib/Algebra/Order/Group/DenselyOrdered.lean | 5 +++-- Mathlib/Algebra/Order/Group/Finset.lean | 7 ++++--- Mathlib/Algebra/Order/Group/Int/Sum.lean | 3 ++- Mathlib/Algebra/Order/Group/MinMax.lean | 1 + Mathlib/Algebra/Order/Group/PartialSups.lean | 3 ++- Mathlib/Algebra/Order/Group/Pointwise/Bounds.lean | 3 ++- Mathlib/Algebra/Order/Group/Pointwise/Interval.lean | 5 +++-- Mathlib/Algebra/Order/GroupWithZero/Basic.lean | 2 +- Mathlib/Algebra/Order/GroupWithZero/Finset.lean | 3 ++- Mathlib/Algebra/Order/GroupWithZero/Range.lean | 1 + Mathlib/Algebra/Order/Hom/Lattice.lean | 1 + Mathlib/Algebra/Order/Interval/Set/Monoid.lean | 3 ++- Mathlib/Algebra/Order/Interval/Set/SuccPred.lean | 1 + Mathlib/Algebra/Order/Kleene.lean | 1 + Mathlib/Algebra/Order/Module/HahnEmbedding.lean | 3 ++- Mathlib/Algebra/Order/Module/Pointwise.lean | 1 + Mathlib/Algebra/Order/Module/Rat.lean | 3 ++- Mathlib/Algebra/Order/Monoid/Canonical/Basic.lean | 3 ++- Mathlib/Algebra/Order/Monoid/LocallyFiniteOrder.lean | 5 +++-- Mathlib/Algebra/Order/Monovary.lean | 3 ++- Mathlib/Algebra/Order/Quantale.lean | 1 + Mathlib/Algebra/Order/Ring/Archimedean.lean | 1 + Mathlib/Algebra/Order/Ring/Finset.lean | 3 ++- Mathlib/Algebra/Order/Ring/Interval.lean | 1 + Mathlib/Algebra/Order/Ring/IsNonarchimedean.lean | 3 ++- Mathlib/Algebra/Order/Ring/Ordering/Basic.lean | 3 ++- Mathlib/Algebra/Order/Ring/Unbundled/Basic.lean | 3 ++- Mathlib/Algebra/Order/Ring/Unbundled/Rat.lean | 1 + Mathlib/Algebra/Order/Star/Conjneg.lean | 3 ++- Mathlib/Algebra/Order/Star/Int.lean | 5 +++-- Mathlib/Algebra/Order/Star/Pi.lean | 3 ++- Mathlib/Algebra/Order/Star/Rat.lean | 3 ++- Mathlib/Algebra/Order/Sub/Unbundled/Hom.lean | 3 ++- Mathlib/Algebra/Order/SuccPred.lean | 3 ++- Mathlib/Algebra/Order/SuccPred/PartialSups.lean | 1 + Mathlib/Algebra/Order/UpperLower.lean | 5 +++-- Mathlib/Algebra/Polynomial/Cardinal.lean | 3 ++- Mathlib/Algebra/Polynomial/Coeff.lean | 3 ++- Mathlib/Algebra/Polynomial/Degree/IsMonicOfDegree.lean | 1 + Mathlib/Algebra/Polynomial/Degree/Monomial.lean | 1 + Mathlib/Algebra/Polynomial/DenomsClearable.lean | 3 ++- Mathlib/Algebra/Polynomial/Derivation.lean | 3 ++- Mathlib/Algebra/Polynomial/Derivative.lean | 3 ++- Mathlib/Algebra/Polynomial/Div.lean | 5 +++-- Mathlib/Algebra/Polynomial/Eval/SMul.lean | 3 ++- Mathlib/Algebra/Polynomial/Eval/Subring.lean | 3 ++- Mathlib/Algebra/Polynomial/FieldDivision.lean | 3 ++- Mathlib/Algebra/Polynomial/GroupRingAction.lean | 3 ++- Mathlib/Algebra/Polynomial/HasseDeriv.lean | 3 ++- Mathlib/Algebra/Polynomial/Laurent.lean | 3 ++- Mathlib/Algebra/Polynomial/Lifts.lean | 1 + Mathlib/Algebra/Polynomial/OfFn.lean | 3 ++- Mathlib/Algebra/Polynomial/RingDivision.lean | 1 + Mathlib/Algebra/Polynomial/SumIteratedDerivative.lean | 3 ++- Mathlib/Algebra/Polynomial/Taylor.lean | 3 ++- Mathlib/Algebra/Polynomial/UnitTrinomial.lean | 3 ++- Mathlib/Algebra/Prime/Lemmas.lean | 3 ++- Mathlib/Algebra/QuadraticAlgebra/AlgHom.lean | 3 ++- Mathlib/Algebra/QuadraticAlgebra/Defs.lean | 1 + Mathlib/Algebra/QuadraticAlgebra/Discriminant.lean | 1 + .../Algebra/QuadraticAlgebra/IsQuadraticExtension.lean | 1 + Mathlib/Algebra/QuadraticDiscriminant.lean | 3 ++- Mathlib/Algebra/Quaternion.lean | 2 +- Mathlib/Algebra/QuaternionBasis.lean | 1 + Mathlib/Algebra/Regular/Pow.lean | 1 + Mathlib/Algebra/Ring/Action/Field.lean | 1 + Mathlib/Algebra/Ring/Basic.lean | 3 ++- Mathlib/Algebra/Ring/BooleanRing.lean | 3 ++- Mathlib/Algebra/Ring/CharZero.lean | 3 ++- Mathlib/Algebra/Ring/Ext.lean | 1 + Mathlib/Algebra/Ring/FunLike.lean | 1 + Mathlib/Algebra/Ring/GeomSum.lean | 1 + Mathlib/Algebra/Ring/Hom/InjSurj.lean | 3 ++- Mathlib/Algebra/Ring/Idempotent.lean | 1 + Mathlib/Algebra/Ring/IsFormallyReal.lean | 1 + Mathlib/Algebra/Ring/NonZeroDivisors.lean | 3 ++- Mathlib/Algebra/Ring/SumsOfSquares.lean | 3 ++- Mathlib/Algebra/Ring/Torsion.lean | 3 ++- Mathlib/Algebra/SkewPolynomial/Basic.lean | 1 + Mathlib/Algebra/Star/CHSH.lean | 3 ++- Mathlib/Algebra/Torsor/Basic.lean | 3 ++- Mathlib/Algebra/TrivSqZeroExt/Basic.lean | 1 + Mathlib/AlgebraicGeometry/AffineScheme.lean | 5 +++-- Mathlib/AlgebraicGeometry/AffineTransitionLimit.lean | 3 ++- Mathlib/AlgebraicGeometry/Cover/QuasiCompact.lean | 3 ++- Mathlib/AlgebraicGeometry/EffectiveEpi.lean | 3 ++- .../EllipticCurve/Affine/AddSubMap.lean | 1 + .../AlgebraicGeometry/EllipticCurve/Jacobian/Basic.lean | 1 + .../EllipticCurve/Projective/Basic.lean | 1 + Mathlib/AlgebraicGeometry/EllipticCurve/Reduction.lean | 1 + Mathlib/AlgebraicGeometry/Group/Abelian.lean | 3 ++- Mathlib/AlgebraicGeometry/IdealSheaf/Subscheme.lean | 3 ++- Mathlib/AlgebraicGeometry/Modules/Tilde.lean | 3 ++- Mathlib/AlgebraicGeometry/Morphisms/Affine.lean | 1 + Mathlib/AlgebraicGeometry/Morphisms/Finite.lean | 3 ++- .../AlgebraicGeometry/Morphisms/FinitePresentation.lean | 3 ++- Mathlib/AlgebraicGeometry/Morphisms/FlatDescent.lean | 1 + Mathlib/AlgebraicGeometry/Morphisms/FlatRank.lean | 3 ++- Mathlib/AlgebraicGeometry/Morphisms/Immersion.lean | 1 + .../AlgebraicGeometry/Morphisms/LocalFlatDescent.lean | 1 + Mathlib/AlgebraicGeometry/Morphisms/QuasiFinite.lean | 1 + Mathlib/AlgebraicGeometry/Morphisms/QuasiSeparated.lean | 1 + Mathlib/AlgebraicGeometry/Morphisms/Separated.lean | 3 ++- .../AlgebraicGeometry/Morphisms/SurjectiveOnStalks.lean | 1 + .../AlgebraicGeometry/Morphisms/UniversallyClosed.lean | 1 + Mathlib/AlgebraicGeometry/Morphisms/WeaklyEtale.lean | 1 + Mathlib/AlgebraicGeometry/ProjectiveSpectrum/Proper.lean | 3 ++- Mathlib/AlgebraicGeometry/ProjectiveSpectrum/Scheme.lean | 1 + Mathlib/AlgebraicGeometry/Sites/BigZariski.lean | 3 ++- Mathlib/AlgebraicGeometry/Sites/ElladicCohomology.lean | 5 +++-- Mathlib/AlgebraicGeometry/Sites/EtalePoint.lean | 3 ++- Mathlib/AlgebraicGeometry/Sites/Fpqc.lean | 3 ++- Mathlib/AlgebraicGeometry/Sites/Proetale.lean | 1 + Mathlib/AlgebraicGeometry/Sites/Representability.lean | 1 + Mathlib/AlgebraicGeometry/ValuativeCriterion.lean | 5 +++-- Mathlib/AlgebraicGeometry/ZariskisMainTheorem.lean | 1 + Mathlib/AlgebraicTopology/AlternatingFaceMapComplex.lean | 3 ++- Mathlib/AlgebraicTopology/CechNerve.lean | 1 + Mathlib/AlgebraicTopology/DoldKan/GammaCompN.lean | 3 ++- .../FundamentalGroupoid/SimplyConnected.lean | 3 ++- .../ModelCategory/BifibrantObjectHomotopy.lean | 1 + Mathlib/AlgebraicTopology/ModelCategory/Homotopy.lean | 3 ++- Mathlib/AlgebraicTopology/SimplicialCategory/Basic.lean | 1 + Mathlib/AlgebraicTopology/SimplicialComplex/Basic.lean | 3 ++- .../SimplicialSet/AnodyneExtensions/Basic.lean | 3 ++- .../SimplicialSet/AnodyneExtensions/Inner/Basic.lean | 1 + .../AnodyneExtensions/Inner/PushoutProduct.lean | 5 +++-- .../SimplicialSet/AnodyneExtensions/PushoutProduct.lean | 7 ++++--- .../SimplicialSet/AnodyneExtensions/RankNat.lean | 1 + .../AnodyneExtensions/RelativeCellComplex.lean | 1 + Mathlib/AlgebraicTopology/SimplicialSet/Finite.lean | 1 + .../AlgebraicTopology/SimplicialSet/Homology/Basic.lean | 1 + .../SimplicialSet/Homology/Relative.lean | 5 +++-- Mathlib/AlgebraicTopology/SimplicialSet/Horn.lean | 1 + .../AlgebraicTopology/SimplicialSet/HornColimits.lean | 1 + Mathlib/AlgebraicTopology/SimplicialSet/Monoidal.lean | 3 ++- .../AlgebraicTopology/SimplicialSet/Monomorphisms.lean | 3 ++- .../AlgebraicTopology/SimplicialSet/NerveAdjunction.lean | 3 ++- .../SimplicialSet/NonDegenerateSimplicesColimit.lean | 1 + Mathlib/AlgebraicTopology/SimplicialSet/Presentable.lean | 5 +++-- .../AlgebraicTopology/SimplicialSet/ProdStdSimplex.lean | 1 + Mathlib/AlgebraicTopology/SimplicialSet/RegularEpi.lean | 1 + Mathlib/AlgebraicTopology/SimplicialSet/Skeleton.lean | 3 ++- Mathlib/AlgebraicTopology/SimplicialSet/StdSimplex.lean | 3 ++- .../AlgebraicTopology/SimplicialSet/StdSimplexOne.lean | 1 + Mathlib/AlgebraicTopology/SingularHomology/Basic.lean | 1 + Mathlib/Analysis/Analytic/Binomial.lean | 5 +++-- Mathlib/Analysis/Analytic/Constructions.lean | 3 ++- Mathlib/Analysis/Analytic/ConvergenceRadius.lean | 1 + Mathlib/Analysis/Analytic/Inverse.lean | 3 ++- Mathlib/Analysis/Analytic/IsolatedZeros.lean | 5 +++-- Mathlib/Analysis/Analytic/IteratedFDeriv.lean | 1 + Mathlib/Analysis/Analytic/Order.lean | 3 ++- Mathlib/Analysis/Analytic/Uniqueness.lean | 3 ++- Mathlib/Analysis/Asymptotics/Arith.lean | 1 + Mathlib/Analysis/Asymptotics/AsymptoticEquivalent.lean | 3 ++- Mathlib/Analysis/Asymptotics/Lemmas.lean | 3 ++- Mathlib/Analysis/Asymptotics/TVS.lean | 3 ++- Mathlib/Analysis/BoundedVariation.lean | 5 +++-- Mathlib/Analysis/BoxIntegral/Box/Basic.lean | 3 ++- Mathlib/Analysis/CStarAlgebra/ApproximateUnit.lean | 3 ++- Mathlib/Analysis/CStarAlgebra/CStarMatrix.lean | 3 ++- Mathlib/Analysis/CStarAlgebra/Commutative/PosPart.lean | 1 + Mathlib/Analysis/CStarAlgebra/CompletelyPositiveMap.lean | 1 + .../ContinuousFunctionalCalculus/Integral.lean | 3 ++- .../CStarAlgebra/ContinuousFunctionalCalculus/Note.lean | 3 ++- .../CStarAlgebra/ContinuousFunctionalCalculus/Pi.lean | 1 + .../ContinuousFunctionalCalculus/Projection.lean | 1 + .../CStarAlgebra/ContinuousFunctionalCalculus/Range.lean | 1 + Mathlib/Analysis/CStarAlgebra/Fuglede.lean | 1 + Mathlib/Analysis/CStarAlgebra/GelfandDuality.lean | 1 + Mathlib/Analysis/CStarAlgebra/Module/Constructions.lean | 1 + Mathlib/Analysis/CStarAlgebra/Module/Defs.lean | 3 ++- Mathlib/Analysis/CStarAlgebra/Module/Synonym.lean | 1 + Mathlib/Analysis/CStarAlgebra/Multiplier.lean | 1 + Mathlib/Analysis/CStarAlgebra/PositiveLinearMap.lean | 3 ++- .../Analysis/CStarAlgebra/SpecialFunctions/PosPart.lean | 3 ++- Mathlib/Analysis/CStarAlgebra/Spectrum.lean | 3 ++- Mathlib/Analysis/CStarAlgebra/Unitary/Connected.lean | 3 ++- Mathlib/Analysis/CStarAlgebra/Unitary/Span.lean | 1 + Mathlib/Analysis/Calculus/AbsolutelyMonotone.lean | 3 ++- .../Analysis/Calculus/BumpFunction/FiniteDimension.lean | 7 ++++--- Mathlib/Analysis/Calculus/BumpFunction/SmoothApprox.lean | 3 ++- Mathlib/Analysis/Calculus/ContDiff/Bounds.lean | 3 ++- Mathlib/Analysis/Calculus/ContDiff/Convolution.lean | 3 ++- Mathlib/Analysis/Calculus/ContDiff/FTaylorSeries.lean | 5 +++-- Mathlib/Analysis/Calculus/ContDiff/FaaDiBruno.lean | 3 ++- Mathlib/Analysis/Calculus/ContDiff/Operations.lean | 1 + Mathlib/Analysis/Calculus/ContDiff/RestrictScalars.lean | 1 + Mathlib/Analysis/Calculus/DSlope.lean | 1 + Mathlib/Analysis/Calculus/Darboux.lean | 3 ++- Mathlib/Analysis/Calculus/Deriv/Abs.lean | 3 ++- Mathlib/Analysis/Calculus/Deriv/AffineMap.lean | 3 ++- Mathlib/Analysis/Calculus/Deriv/Basic.lean | 1 + Mathlib/Analysis/Calculus/Deriv/Comp.lean | 3 ++- Mathlib/Analysis/Calculus/Deriv/Inv.lean | 3 ++- Mathlib/Analysis/Calculus/Deriv/Inverse.lean | 1 + Mathlib/Analysis/Calculus/Deriv/Linear.lean | 1 + Mathlib/Analysis/Calculus/Deriv/MeanValue.lean | 3 ++- Mathlib/Analysis/Calculus/Deriv/Mul.lean | 1 + Mathlib/Analysis/Calculus/Deriv/Pi.lean | 3 ++- Mathlib/Analysis/Calculus/Deriv/Polynomial.lean | 3 ++- Mathlib/Analysis/Calculus/Deriv/Prod.lean | 1 + Mathlib/Analysis/Calculus/Deriv/Shift.lean | 3 ++- Mathlib/Analysis/Calculus/Deriv/ZPow.lean | 3 ++- Mathlib/Analysis/Calculus/DerivativeTest.lean | 1 + Mathlib/Analysis/Calculus/DifferentialForm/Basic.lean | 1 + .../Analysis/Calculus/DifferentialForm/VectorField.lean | 3 ++- Mathlib/Analysis/Calculus/FDeriv/Affine.lean | 3 ++- Mathlib/Analysis/Calculus/FDeriv/Analytic.lean | 3 ++- Mathlib/Analysis/Calculus/FDeriv/Basic.lean | 1 + .../Calculus/FDeriv/ContinuousMultilinearMap.lean | 1 + Mathlib/Analysis/Calculus/FDeriv/Equiv.lean | 3 ++- Mathlib/Analysis/Calculus/FDeriv/Mul.lean | 3 ++- Mathlib/Analysis/Calculus/FDeriv/Norm.lean | 1 + Mathlib/Analysis/Calculus/FDeriv/OfCompLeft.lean | 1 + Mathlib/Analysis/Calculus/FDeriv/Pi.lean | 1 + Mathlib/Analysis/Calculus/FDeriv/Prod.lean | 3 ++- Mathlib/Analysis/Calculus/FDeriv/Star.lean | 3 ++- Mathlib/Analysis/Calculus/FDeriv/Symmetric.lean | 3 ++- Mathlib/Analysis/Calculus/FDeriv/WithLp.lean | 3 ++- Mathlib/Analysis/Calculus/Implicit.lean | 3 ++- .../Analysis/Calculus/InverseFunctionTheorem/FDeriv.lean | 3 ++- Mathlib/Analysis/Calculus/IteratedDeriv/Analytic.lean | 3 ++- .../Calculus/IteratedDeriv/ConvergenceOnBall.lean | 3 ++- Mathlib/Analysis/Calculus/IteratedDeriv/WithinZpow.lean | 1 + Mathlib/Analysis/Calculus/LHopital.lean | 3 ++- Mathlib/Analysis/Calculus/LagrangeMultipliers.lean | 3 ++- Mathlib/Analysis/Calculus/LineDeriv/Basic.lean | 5 +++-- Mathlib/Analysis/Calculus/LocalExtr/LineDeriv.lean | 3 ++- Mathlib/Analysis/Calculus/LocalExtr/Polynomial.lean | 3 ++- Mathlib/Analysis/Calculus/MeanValue.lean | 5 +++-- Mathlib/Analysis/Calculus/Monotone.lean | 1 + Mathlib/Analysis/Calculus/Rademacher.lean | 3 ++- Mathlib/Analysis/Calculus/SmoothSeries.lean | 1 + Mathlib/Analysis/Calculus/TangentCone/Basic.lean | 1 + Mathlib/Analysis/Calculus/TangentCone/DimOne.lean | 3 ++- Mathlib/Analysis/Calculus/TangentCone/Pi.lean | 1 + Mathlib/Analysis/Calculus/TangentCone/Prod.lean | 1 + Mathlib/Analysis/Calculus/TangentCone/Real.lean | 1 + Mathlib/Analysis/Calculus/TangentCone/Seq.lean | 1 + Mathlib/Analysis/Calculus/Taylor.lean | 5 +++-- Mathlib/Analysis/Calculus/TaylorIntegral.lean | 3 ++- Mathlib/Analysis/Calculus/UniformLimitsDeriv.lean | 1 + Mathlib/Analysis/Complex/AbelLimit.lean | 1 + Mathlib/Analysis/Complex/AbsMax.lean | 1 + Mathlib/Analysis/Complex/BranchLogRoot.lean | 1 + Mathlib/Analysis/Complex/CanonicalDecomposition.lean | 1 + Mathlib/Analysis/Complex/CauchyIntegral.lean | 3 ++- Mathlib/Analysis/Complex/Conformal.lean | 5 +++-- Mathlib/Analysis/Complex/CoveringMap.lean | 7 ++++--- Mathlib/Analysis/Complex/Exponential.lean | 7 ++++--- Mathlib/Analysis/Complex/ExponentialBounds.lean | 1 + Mathlib/Analysis/Complex/Hadamard.lean | 3 ++- Mathlib/Analysis/Complex/HalfPlane.lean | 1 + Mathlib/Analysis/Complex/Harmonic/Analytic.lean | 5 +++-- Mathlib/Analysis/Complex/Harmonic/Liouville.lean | 3 ++- Mathlib/Analysis/Complex/HasPrimitives.lean | 1 + Mathlib/Analysis/Complex/Isometry.lean | 1 + Mathlib/Analysis/Complex/LocallyUniformLimit.lean | 1 + Mathlib/Analysis/Complex/OpenMapping.lean | 3 ++- Mathlib/Analysis/Complex/Periodic.lean | 3 ++- Mathlib/Analysis/Complex/RealDeriv.lean | 3 ++- Mathlib/Analysis/Complex/RemovableSingularity.lean | 3 ++- Mathlib/Analysis/Complex/Schwarz.lean | 1 + Mathlib/Analysis/Complex/Tietze.lean | 1 + Mathlib/Analysis/Complex/UpperHalfPlane/FixedPoints.lean | 1 + Mathlib/Analysis/Complex/UpperHalfPlane/Manifold.lean | 3 ++- Mathlib/Analysis/Complex/UpperHalfPlane/Measure.lean | 1 + Mathlib/Analysis/Complex/UpperHalfPlane/Metric.lean | 1 + Mathlib/Analysis/Complex/UpperHalfPlane/Topology.lean | 3 ++- Mathlib/Analysis/Complex/ValueDistribution/Cartan.lean | 3 ++- .../Proximity/IntegralPresentation.lean | 1 + .../Complex/ValueDistribution/SecondMainTheorem.lean | 1 + Mathlib/Analysis/ConstantSpeed.lean | 1 + Mathlib/Analysis/Convex/AmpleSet.lean | 3 ++- Mathlib/Analysis/Convex/Basic.lean | 3 ++- Mathlib/Analysis/Convex/Between.lean | 2 +- Mathlib/Analysis/Convex/Birkhoff.lean | 3 ++- Mathlib/Analysis/Convex/Combination.lean | 3 ++- Mathlib/Analysis/Convex/Cone/TensorProduct.lean | 1 + Mathlib/Analysis/Convex/Continuous.lean | 1 + Mathlib/Analysis/Convex/Deriv.lean | 3 ++- Mathlib/Analysis/Convex/Exposed.lean | 3 ++- Mathlib/Analysis/Convex/FunctionTopology.lean | 3 ++- Mathlib/Analysis/Convex/Gauge.lean | 3 ++- Mathlib/Analysis/Convex/GaugeRescale.lean | 1 + Mathlib/Analysis/Convex/Independent.lean | 3 ++- Mathlib/Analysis/Convex/LinearIsometry.lean | 3 ++- Mathlib/Analysis/Convex/Measure.lean | 3 ++- Mathlib/Analysis/Convex/MetricSpace.lean | 1 + Mathlib/Analysis/Convex/NNReal.lean | 3 ++- Mathlib/Analysis/Convex/PathConnected.lean | 3 ++- Mathlib/Analysis/Convex/Slope.lean | 1 + Mathlib/Analysis/Convex/SpecificFunctions/Deriv.lean | 3 ++- Mathlib/Analysis/Convex/StdSimplex.lean | 3 ++- Mathlib/Analysis/Convex/StoneSeparation.lean | 3 ++- Mathlib/Analysis/Convex/StrictConvexSpace.lean | 1 + Mathlib/Analysis/Convex/TotallyBounded.lean | 3 ++- Mathlib/Analysis/Convex/Visible.lean | 5 +++-- Mathlib/Analysis/Convolution.lean | 3 ++- Mathlib/Analysis/Distribution/Distribution.lean | 3 ++- Mathlib/Analysis/Distribution/SchwartzSpace/Basic.lean | 2 +- Mathlib/Analysis/Fourier/AddCircleMulti.lean | 1 + .../Fourier/FiniteAbelian/PontryaginDuality.lean | 3 ++- Mathlib/Analysis/Fourier/FourierTransform.lean | 5 +++-- Mathlib/Analysis/Fourier/Inversion.lean | 3 ++- Mathlib/Analysis/Fourier/PoissonSummation.lean | 3 ++- Mathlib/Analysis/Fourier/RiemannLebesgueLemma.lean | 3 ++- Mathlib/Analysis/FunctionalSpaces/SobolevInequality.lean | 5 +++-- Mathlib/Analysis/InnerProductSpace/Calculus.lean | 1 + Mathlib/Analysis/InnerProductSpace/Defs.lean | 3 ++- Mathlib/Analysis/InnerProductSpace/EuclideanDist.lean | 1 + Mathlib/Analysis/InnerProductSpace/GramMatrix.lean | 1 + .../InnerProductSpace/Harmonic/Constructions.lean | 1 + Mathlib/Analysis/InnerProductSpace/JointEigenspace.lean | 5 +++-- Mathlib/Analysis/InnerProductSpace/NormPow.lean | 1 + Mathlib/Analysis/InnerProductSpace/OfNorm.lean | 1 + Mathlib/Analysis/InnerProductSpace/PiL2.lean | 1 + Mathlib/Analysis/InnerProductSpace/Positive.lean | 3 ++- .../Analysis/InnerProductSpace/Projection/Minimal.lean | 1 + Mathlib/Analysis/InnerProductSpace/Rayleigh.lean | 3 ++- Mathlib/Analysis/InnerProductSpace/SingularValues.lean | 1 + Mathlib/Analysis/InnerProductSpace/Spectrum.lean | 5 +++-- Mathlib/Analysis/InnerProductSpace/StarOrder.lean | 1 + Mathlib/Analysis/InnerProductSpace/Symmetric.lean | 1 + Mathlib/Analysis/InnerProductSpace/TensorProduct.lean | 1 + Mathlib/Analysis/LocallyConvex/ContinuousOfBounded.lean | 1 + Mathlib/Analysis/LocallyConvex/HahnBanach.lean | 3 ++- Mathlib/Analysis/LocallyConvex/PointwiseConvergence.lean | 1 + Mathlib/Analysis/LocallyConvex/SeparatingDual.lean | 3 ++- Mathlib/Analysis/Matrix/Hermitian.lean | 1 + Mathlib/Analysis/Matrix/HermitianFunctionalCalculus.lean | 1 + Mathlib/Analysis/Matrix/Spectrum.lean | 3 ++- Mathlib/Analysis/MeanInequalities.lean | 3 ++- Mathlib/Analysis/MeanInequalitiesPow.lean | 5 +++-- Mathlib/Analysis/MellinTransform.lean | 1 + Mathlib/Analysis/Meromorphic/Divisor.lean | 3 ++- Mathlib/Analysis/Normed/Affine/AddTorsorBases.lean | 1 + Mathlib/Analysis/Normed/Affine/Convex.lean | 3 ++- Mathlib/Analysis/Normed/Algebra/Basic.lean | 3 ++- Mathlib/Analysis/Normed/Algebra/Exponential.lean | 5 +++-- Mathlib/Analysis/Normed/Algebra/GelfandFormula.lean | 1 + Mathlib/Analysis/Normed/Algebra/Logarithm.lean | 3 ++- Mathlib/Analysis/Normed/Algebra/MatrixExponential.lean | 5 +++-- Mathlib/Analysis/Normed/Algebra/Spectrum.lean | 5 +++-- Mathlib/Analysis/Normed/Field/Approximation.lean | 1 + Mathlib/Analysis/Normed/Field/Basic.lean | 3 ++- Mathlib/Analysis/Normed/Field/Dense.lean | 3 ++- Mathlib/Analysis/Normed/Field/Instances.lean | 3 ++- Mathlib/Analysis/Normed/Field/Lemmas.lean | 1 + Mathlib/Analysis/Normed/Field/TransferInstance.lean | 1 + Mathlib/Analysis/Normed/Field/Ultra.lean | 1 + Mathlib/Analysis/Normed/Field/WithAbs.lean | 5 +++-- Mathlib/Analysis/Normed/Group/Basic.lean | 1 + Mathlib/Analysis/Normed/Group/Completeness.lean | 1 + Mathlib/Analysis/Normed/Group/ControlledClosure.lean | 1 + Mathlib/Analysis/Normed/Group/Defs.lean | 1 + Mathlib/Analysis/Normed/Group/Indicator.lean | 3 ++- Mathlib/Analysis/Normed/Group/NullSubmodule.lean | 3 ++- Mathlib/Analysis/Normed/Group/Pointwise.lean | 3 ++- Mathlib/Analysis/Normed/Group/Tannery.lean | 5 +++-- Mathlib/Analysis/Normed/Lp/lpHolder.lean | 1 + Mathlib/Analysis/Normed/Lp/lpSpace.lean | 3 ++- Mathlib/Analysis/Normed/Module/Ball/RadialEquiv.lean | 1 + Mathlib/Analysis/Normed/Module/Bases.lean | 3 ++- Mathlib/Analysis/Normed/Module/Complemented.lean | 1 + Mathlib/Analysis/Normed/Module/Connected.lean | 5 +++-- Mathlib/Analysis/Normed/Module/FiniteDimension.lean | 5 +++-- Mathlib/Analysis/Normed/Module/MStructure.lean | 1 + .../Analysis/Normed/Module/MultipliableUniformlyOn.lean | 1 + .../Normed/Module/PiTensorProduct/InjectiveSeminorm.lean | 1 + Mathlib/Analysis/Normed/Module/Seminorm/Basic.lean | 3 ++- Mathlib/Analysis/Normed/Module/WeakDual.lean | 5 +++-- Mathlib/Analysis/Normed/Operator/Banach.lean | 3 ++- Mathlib/Analysis/Normed/Operator/BanachSteinhaus.lean | 1 + .../Normed/Operator/Compact/FredholmAlternative.lean | 5 +++-- Mathlib/Analysis/Normed/Operator/CompleteCodomain.lean | 1 + Mathlib/Analysis/Normed/Operator/Completeness.lean | 3 ++- .../Normed/Operator/Perturbation/StrictByFinite.lean | 3 ++- Mathlib/Analysis/Normed/Order/UpperLower.lean | 6 +++--- Mathlib/Analysis/Normed/Ring/InfiniteProd.lean | 3 ++- Mathlib/Analysis/Normed/Ring/InfiniteSum.lean | 3 ++- Mathlib/Analysis/Normed/Unbundled/FiniteExtension.lean | 3 ++- Mathlib/Analysis/Normed/Unbundled/IsPowMulFaithful.lean | 1 + Mathlib/Analysis/Normed/Unbundled/SmoothingSeminorm.lean | 3 ++- Mathlib/Analysis/Normed/Unbundled/SpectralNorm.lean | 5 +++-- Mathlib/Analysis/ODE/DiscreteGronwall.lean | 3 ++- Mathlib/Analysis/ODE/ExistUnique.lean | 3 ++- Mathlib/Analysis/ODE/PicardLindelof.lean | 3 ++- Mathlib/Analysis/ODE/Transform.lean | 1 + Mathlib/Analysis/Oscillation.lean | 3 ++- Mathlib/Analysis/PSeries.lean | 2 +- Mathlib/Analysis/PSeriesComplex.lean | 3 ++- Mathlib/Analysis/Polynomial/CauchyBound.lean | 3 ++- Mathlib/Analysis/Polynomial/MahlerMeasure.lean | 7 ++++--- Mathlib/Analysis/Polynomial/Order.lean | 1 + Mathlib/Analysis/RCLike/BoundedContinuous.lean | 3 ++- Mathlib/Analysis/RCLike/ContinuousMap.lean | 1 + Mathlib/Analysis/Real/Hyperreal.lean | 3 ++- Mathlib/Analysis/Real/OfDigits.lean | 3 ++- Mathlib/Analysis/Real/Pi/Chudnovsky.lean | 3 ++- Mathlib/Analysis/Real/Pi/Irrational.lean | 3 ++- Mathlib/Analysis/Real/Pi/Leibniz.lean | 3 ++- Mathlib/Analysis/Real/Spectrum.lean | 1 + .../SpecialFunctions/ArithmeticGeometricMean.lean | 3 ++- Mathlib/Analysis/SpecialFunctions/Bernstein.lean | 5 +++-- Mathlib/Analysis/SpecialFunctions/BinaryEntropy.lean | 1 + Mathlib/Analysis/SpecialFunctions/Choose.lean | 3 ++- Mathlib/Analysis/SpecialFunctions/Complex/Analytic.lean | 1 + Mathlib/Analysis/SpecialFunctions/Complex/Arctan.lean | 1 + Mathlib/Analysis/SpecialFunctions/Complex/LogBounds.lean | 2 +- .../ContinuousFunctionalCalculus/Abs.lean | 1 + .../ContinuousFunctionalCalculus/ExpLog/Basic.lean | 3 ++- .../ContinuousFunctionalCalculus/ExpLog/Order.lean | 1 + .../ContinuousFunctionalCalculus/Rpow/Basic.lean | 3 ++- .../Rpow/IntegralRepresentation.lean | 1 + .../ContinuousFunctionalCalculus/Rpow/Isometric.lean | 1 + .../ContinuousFunctionalCalculus/Rpow/Order.lean | 1 + .../Rpow/RingInverseOrder.lean | 7 ++++--- .../Analysis/SpecialFunctions/Elliptic/Weierstrass.lean | 7 ++++--- Mathlib/Analysis/SpecialFunctions/Exp.lean | 1 + Mathlib/Analysis/SpecialFunctions/FrullaniIntegral.lean | 3 ++- Mathlib/Analysis/SpecialFunctions/Gamma/Beta.lean | 5 +++-- .../SpecialFunctions/Gaussian/FourierTransform.lean | 3 ++- .../SpecialFunctions/Gaussian/GaussianIntegral.lean | 3 ++- .../Analysis/SpecialFunctions/Integrability/Basic.lean | 2 +- Mathlib/Analysis/SpecialFunctions/Integrability/Log.lean | 6 +++--- Mathlib/Analysis/SpecialFunctions/Integrals/Basic.lean | 5 +++-- Mathlib/Analysis/SpecialFunctions/Log/Base.lean | 3 ++- Mathlib/Analysis/SpecialFunctions/Log/Basic.lean | 1 + Mathlib/Analysis/SpecialFunctions/Log/Deriv.lean | 1 + Mathlib/Analysis/SpecialFunctions/Log/InvLog.lean | 1 + Mathlib/Analysis/SpecialFunctions/Log/Summable.lean | 1 + Mathlib/Analysis/SpecialFunctions/MulExpNegMulSq.lean | 3 ++- .../SpecialFunctions/MulExpNegMulSqIntegral.lean | 3 ++- Mathlib/Analysis/SpecialFunctions/Pochhammer.lean | 5 +++-- Mathlib/Analysis/SpecialFunctions/PolarCoord.lean | 3 ++- Mathlib/Analysis/SpecialFunctions/Pow/Deriv.lean | 6 +++--- Mathlib/Analysis/SpecialFunctions/Pow/Integral.lean | 3 ++- Mathlib/Analysis/SpecialFunctions/Pow/NNReal.lean | 1 + Mathlib/Analysis/SpecialFunctions/Pow/NthRootLemmas.lean | 3 ++- Mathlib/Analysis/SpecialFunctions/Sigmoid.lean | 5 +++-- Mathlib/Analysis/SpecialFunctions/SmoothTransition.lean | 5 +++-- Mathlib/Analysis/SpecialFunctions/Stirling.lean | 1 + .../Analysis/SpecialFunctions/Trigonometric/Angle.lean | 1 + .../Analysis/SpecialFunctions/Trigonometric/Arctan.lean | 1 + .../Analysis/SpecialFunctions/Trigonometric/Bounds.lean | 3 ++- .../SpecialFunctions/Trigonometric/Chebyshev/Basic.lean | 3 ++- .../Trigonometric/Chebyshev/ChebyshevGauss.lean | 3 ++- .../Trigonometric/Chebyshev/Extremal.lean | 1 + .../Trigonometric/Chebyshev/Orthogonality.lean | 1 + .../Trigonometric/Chebyshev/RootsExtrema.lean | 1 + .../SpecialFunctions/Trigonometric/Cotangent.lean | 7 ++++--- .../SpecialFunctions/Trigonometric/DerivHyp.lean | 3 ++- .../SpecialFunctions/Trigonometric/EulerSineProd.lean | 3 ++- .../Analysis/SpecialFunctions/Trigonometric/Inverse.lean | 1 + .../SpecialFunctions/Trigonometric/Meromorphic.lean | 3 ++- Mathlib/Analysis/SpecificLimits/Fibonacci.lean | 3 ++- Mathlib/Analysis/SpecificLimits/FloorPow.lean | 3 ++- Mathlib/Analysis/SpecificLimits/RCLike.lean | 1 + Mathlib/Analysis/SumIntegralExpDecay.lean | 3 ++- Mathlib/Analysis/SumOverResidueClass.lean | 3 ++- Mathlib/Basic/Complex/Basic.lean | 3 ++- Mathlib/Basic/Countable/Defs.lean | 1 + Mathlib/Basic/ENNReal/Basic.lean | 1 + Mathlib/Basic/ENNReal/Inv.lean | 1 + Mathlib/Basic/ENNReal/Operations.lean | 1 + Mathlib/Basic/Finite/Prod.lean | 3 ++- Mathlib/Basic/Finite/Sigma.lean | 3 ++- Mathlib/Basic/Logic/Lemmas.lean | 3 ++- Mathlib/Basic/NNReal/Defs.lean | 1 + Mathlib/Basic/PEquiv.lean | 3 ++- Mathlib/Basic/Real/ConjExponents.lean | 1 + Mathlib/Basic/Real/Embedding.lean | 3 ++- Mathlib/Basic/Real/Pointwise.lean | 1 + Mathlib/Basic/Rel/Separated.lean | 1 + Mathlib/Basic/Sign/Basic.lean | 3 ++- Mathlib/Basic/Sign/Defs.lean | 5 +++-- Mathlib/CategoryTheory/Abelian/DiagramLemmas/Four.lean | 1 + .../CategoryTheory/Abelian/GrothendieckAxioms/Basic.lean | 1 + .../CategoryTheory/Abelian/GrothendieckAxioms/Colim.lean | 3 ++- .../Abelian/GrothendieckAxioms/Connected.lean | 1 + .../Abelian/GrothendieckAxioms/Indization.lean | 5 +++-- .../Abelian/GrothendieckAxioms/PresheafOfModules.lean | 1 + .../CategoryTheory/Abelian/GrothendieckAxioms/Sheaf.lean | 5 +++-- .../CategoryTheory/Abelian/GrothendieckAxioms/Types.lean | 3 ++- .../Abelian/GrothendieckCategory/Basic.lean | 3 ++- .../Abelian/GrothendieckCategory/EnoughInjectives.lean | 7 ++++--- .../ModuleEmbedding/GabrielPopescu.lean | 5 +++-- .../GrothendieckCategory/ModuleEmbedding/Opposite.lean | 3 ++- .../Abelian/GrothendieckCategory/Monomorphisms.lean | 3 ++- Mathlib/CategoryTheory/Abelian/Indization.lean | 1 + Mathlib/CategoryTheory/Abelian/Injective/Basic.lean | 3 ++- Mathlib/CategoryTheory/Abelian/Injective/Dimension.lean | 3 ++- Mathlib/CategoryTheory/Abelian/Injective/Resolution.lean | 3 ++- Mathlib/CategoryTheory/Abelian/Preradical/Colon.lean | 1 + Mathlib/CategoryTheory/Abelian/Projective/Dimension.lean | 3 ++- .../CategoryTheory/Abelian/SerreClass/Localization.lean | 3 ++- .../Abelian/SerreClass/MorphismProperty.lean | 5 +++-- Mathlib/CategoryTheory/Abelian/ShortExact.lean | 1 + Mathlib/CategoryTheory/Abelian/Yoneda.lean | 5 +++-- Mathlib/CategoryTheory/Action/Basic.lean | 5 +++-- Mathlib/CategoryTheory/Adhesive/Basic.lean | 1 + Mathlib/CategoryTheory/Adhesive/Over.lean | 1 + .../Adjunction/AdjointFunctorTheorems.lean | 1 + .../CategoryTheory/Adjunction/FullyFaithfulLimits.lean | 3 ++- Mathlib/CategoryTheory/Adjunction/Reflective.lean | 3 ++- Mathlib/CategoryTheory/Adjunction/Triple.lean | 3 ++- Mathlib/CategoryTheory/Category/Cat/Colimit.lean | 3 ++- Mathlib/CategoryTheory/Category/Init.lean | 3 ++- Mathlib/CategoryTheory/Category/Preorder.lean | 1 + Mathlib/CategoryTheory/Category/ULift.lean | 1 + Mathlib/CategoryTheory/Comma/Final.lean | 1 + Mathlib/CategoryTheory/Comma/StructuredArrow/Final.lean | 3 ++- Mathlib/CategoryTheory/ConnectedComponents.lean | 3 ++- Mathlib/CategoryTheory/EffectiveEpi/Coproduct.lean | 1 + Mathlib/CategoryTheory/Endofunctor/Algebra.lean | 1 + Mathlib/CategoryTheory/Enriched/Basic.lean | 1 + Mathlib/CategoryTheory/Extensive.lean | 3 ++- Mathlib/CategoryTheory/Filtered/CostructuredArrow.lean | 3 ++- Mathlib/CategoryTheory/Filtered/Flat.lean | 3 ++- Mathlib/CategoryTheory/Filtration/Basic.lean | 3 ++- Mathlib/CategoryTheory/Functor/Flat.lean | 3 ++- Mathlib/CategoryTheory/Functor/ReflectsIso/Jointly.lean | 3 ++- Mathlib/CategoryTheory/Functor/RegularEpi.lean | 3 ++- Mathlib/CategoryTheory/Functor/TypeValuedFlat.lean | 3 ++- Mathlib/CategoryTheory/Galois/Basic.lean | 3 ++- Mathlib/CategoryTheory/Galois/ContAction.lean | 3 ++- Mathlib/CategoryTheory/Galois/Decomposition.lean | 3 ++- Mathlib/CategoryTheory/Galois/FullSubcategory.lean | 1 + Mathlib/CategoryTheory/Galois/IsFundamentalgroup.lean | 1 + Mathlib/CategoryTheory/Generator/Abelian.lean | 3 ++- Mathlib/CategoryTheory/Generator/Basic.lean | 3 ++- Mathlib/CategoryTheory/GlueData.lean | 1 + Mathlib/CategoryTheory/GuitartExact/Over.lean | 1 + .../CategoryTheory/GuitartExact/VerticalComposition.lean | 3 ++- Mathlib/CategoryTheory/IsConnected.lean | 3 ++- .../CategoryTheory/LiftingProperties/PushoutProduct.lean | 3 ++- Mathlib/CategoryTheory/Limits/ColimitLimit.lean | 3 ++- Mathlib/CategoryTheory/Limits/ConstructLimitMap.lean | 3 ++- .../CategoryTheory/Limits/Constructions/Equalizers.lean | 3 ++- .../Constructions/LimitsOfProductsAndEqualizers.lean | 3 ++- .../CategoryTheory/Limits/Constructions/Over/Basic.lean | 3 ++- Mathlib/CategoryTheory/Limits/EpiMono.lean | 1 + .../Limits/FilteredColimitCommutesFiniteLimit.lean | 3 ++- Mathlib/CategoryTheory/Limits/FinallySmall.lean | 3 ++- Mathlib/CategoryTheory/Limits/FintypeCat.lean | 3 ++- .../CategoryTheory/Limits/FormalCoproducts/Basic.lean | 3 ++- Mathlib/CategoryTheory/Limits/Fubini.lean | 1 + .../CategoryTheory/Limits/FunctorCategory/Filtered.lean | 3 ++- .../CategoryTheory/Limits/FunctorCategory/Finite.lean | 3 ++- Mathlib/CategoryTheory/Limits/FunctorToTypes.lean | 1 + Mathlib/CategoryTheory/Limits/Indization/Category.lean | 1 + Mathlib/CategoryTheory/Limits/Indization/Equalizers.lean | 3 ++- .../Limits/Indization/FilteredColimits.lean | 5 +++-- Mathlib/CategoryTheory/Limits/Indization/IndObject.lean | 1 + Mathlib/CategoryTheory/Limits/Indization/Products.lean | 3 ++- Mathlib/CategoryTheory/Limits/IsConnected.lean | 1 + .../CategoryTheory/Limits/Preserves/FunctorCategory.lean | 3 ++- Mathlib/CategoryTheory/Limits/Preserves/Lattice.lean | 3 ++- Mathlib/CategoryTheory/Limits/Preserves/Presheaf.lean | 1 + Mathlib/CategoryTheory/Limits/Preserves/Shapes/Over.lean | 3 ++- .../Limits/Shapes/FiniteMultiequalizer.lean | 1 + .../Limits/Shapes/NormalMono/Equalizers.lean | 1 + .../CategoryTheory/Limits/Shapes/Opposites/Filtered.lean | 3 ++- .../CategoryTheory/Limits/Shapes/Opposites/Products.lean | 3 ++- .../Limits/Shapes/Preorder/HasIterationOfShape.lean | 5 +++-- .../Limits/Shapes/Pullback/IsPullback/BicartesianSq.lean | 3 ++- Mathlib/CategoryTheory/Limits/Shapes/Reflexive.lean | 3 ++- .../CategoryTheory/Limits/Shapes/SequentialProduct.lean | 1 + Mathlib/CategoryTheory/Limits/Sifted.lean | 3 ++- Mathlib/CategoryTheory/Limits/SmallComplete.lean | 1 + Mathlib/CategoryTheory/Limits/VanKampen.lean | 3 ++- .../CategoryTheory/Limits/Weighted/PreservesLimit.lean | 5 +++-- Mathlib/CategoryTheory/Localization/Adjunction.lean | 1 + .../Localization/BousfieldTransfiniteComposition.lean | 1 + .../Localization/CalculusOfFractions/OfAdjunction.lean | 3 ++- .../DerivabilityStructure/DerivesTriangulated.lean | 3 ++- .../DerivabilityStructure/OfLocalizedEquivalences.lean | 1 + .../DerivabilityStructure/PointwiseLeftDerived.lean | 1 + .../DerivabilityStructure/PointwiseRightDerived.lean | 1 + Mathlib/CategoryTheory/Localization/FiniteProducts.lean | 3 ++- Mathlib/CategoryTheory/Localization/Pi.lean | 3 ++- Mathlib/CategoryTheory/Localization/Resolution.lean | 3 ++- Mathlib/CategoryTheory/Localization/Triangulated.lean | 3 ++- Mathlib/CategoryTheory/Monad/Limits.lean | 1 + Mathlib/CategoryTheory/Monoidal/Arrow.lean | 3 ++- Mathlib/CategoryTheory/Monoidal/Braided/Reflection.lean | 3 ++- Mathlib/CategoryTheory/Monoidal/Cartesian/GrpLimits.lean | 3 ++- Mathlib/CategoryTheory/Monoidal/Cartesian/Normal.lean | 3 ++- Mathlib/CategoryTheory/Monoidal/Closed/Braided.lean | 3 ++- Mathlib/CategoryTheory/Monoidal/Hopf_.lean | 1 + Mathlib/CategoryTheory/Monoidal/Internal/Module.lean | 1 + Mathlib/CategoryTheory/Monoidal/Rigid/Basic.lean | 1 + Mathlib/CategoryTheory/MorphismProperty/Descent.lean | 1 + .../CategoryTheory/MorphismProperty/FunctorCategory.lean | 3 ++- Mathlib/CategoryTheory/MorphismProperty/Ind.lean | 5 +++-- Mathlib/CategoryTheory/MorphismProperty/IsSmall.lean | 1 + .../CategoryTheory/MorphismProperty/LiftingProperty.lean | 1 + Mathlib/CategoryTheory/MorphismProperty/Local.lean | 3 ++- .../MorphismProperty/OfObjectProperty.lean | 1 + .../MorphismProperty/TransfiniteComposition.lean | 1 + Mathlib/CategoryTheory/ObjectProperty/ClosureShift.lean | 3 ++- .../ObjectProperty/ColimitsCardinalClosure.lean | 1 + Mathlib/CategoryTheory/ObjectProperty/FiniteLimits.lean | 3 ++- .../CategoryTheory/ObjectProperty/FiniteProducts.lean | 3 ++- Mathlib/CategoryTheory/ObjectProperty/Shift.lean | 3 ++- Mathlib/CategoryTheory/ObjectProperty/SiteLocal.lean | 3 ++- Mathlib/CategoryTheory/Preadditive/LeftExact.lean | 3 ++- Mathlib/CategoryTheory/Preadditive/LiftToFinset.lean | 1 + Mathlib/CategoryTheory/Preadditive/Yoneda/Injective.lean | 1 + .../CategoryTheory/Preadditive/Yoneda/Projective.lean | 1 + Mathlib/CategoryTheory/Presentable/Adjunction.lean | 1 + .../Presentable/CardinalDirectedPoset.lean | 1 + Mathlib/CategoryTheory/Presentable/Comma.lean | 5 +++-- Mathlib/CategoryTheory/Presentable/Directed.lean | 3 ++- .../CategoryTheory/Presentable/OrthogonalReflection.lean | 3 ++- Mathlib/CategoryTheory/Presentable/Presheaf.lean | 3 ++- Mathlib/CategoryTheory/Presentable/Type.lean | 3 ++- Mathlib/CategoryTheory/Shift/CommShiftTwo.lean | 3 ++- .../CategoryTheory/Sites/Coherent/ExtensiveColimits.lean | 3 ++- .../CategoryTheory/Sites/Coherent/ExtensiveSheaves.lean | 1 + .../CategoryTheory/Sites/Coherent/LocallySurjective.lean | 3 ++- .../CategoryTheory/Sites/Coherent/SequentialLimit.lean | 1 + .../CategoryTheory/Sites/CoproductSheafCondition.lean | 3 ++- Mathlib/CategoryTheory/Sites/Descent/Precoverage.lean | 1 + Mathlib/CategoryTheory/Sites/JointlySurjective.lean | 1 + Mathlib/CategoryTheory/Sites/MayerVietorisSquare.lean | 1 + Mathlib/CategoryTheory/Sites/Point/Basic.lean | 3 ++- Mathlib/CategoryTheory/Sites/Point/Conservative.lean | 3 ++- Mathlib/CategoryTheory/Sites/Point/Monoidal.lean | 3 ++- Mathlib/CategoryTheory/Sites/Point/Over.lean | 5 +++-- Mathlib/CategoryTheory/Sites/Precoverage/Generates.lean | 3 ++- Mathlib/CategoryTheory/Sites/Preserves.lean | 3 ++- Mathlib/CategoryTheory/Sites/Pullback.lean | 1 + Mathlib/CategoryTheory/Sites/RegularEpi.lean | 3 ++- Mathlib/CategoryTheory/Sites/SheafCohomology/Basic.lean | 3 ++- Mathlib/CategoryTheory/Subfunctor/SubmonoidFunctor.lean | 3 ++- Mathlib/CategoryTheory/Subobject/ArtinianObject.lean | 3 ++- Mathlib/CategoryTheory/Subobject/Basic.lean | 3 ++- Mathlib/CategoryTheory/Subobject/NoetherianObject.lean | 1 + Mathlib/CategoryTheory/Triangulated/Adjunction.lean | 3 ++- Mathlib/CategoryTheory/Triangulated/Generators.lean | 3 ++- .../Triangulated/LocalizingSubcategory.lean | 1 + Mathlib/CategoryTheory/Triangulated/Opposite/Basic.lean | 3 ++- Mathlib/CategoryTheory/Triangulated/Pretriangulated.lean | 3 ++- Mathlib/CategoryTheory/Types/Epimorphisms.lean | 1 + Mathlib/CategoryTheory/Types/Monomorphisms.lean | 3 ++- Mathlib/Combinatorics/Additive/AP/Three/Behrend.lean | 3 ++- Mathlib/Combinatorics/Additive/AP/Three/Defs.lean | 3 ++- Mathlib/Combinatorics/Additive/ApproximateSubgroup.lean | 3 ++- Mathlib/Combinatorics/Additive/Corner/Roth.lean | 1 + Mathlib/Combinatorics/Additive/CovBySMul.lean | 5 +++-- Mathlib/Combinatorics/Additive/Dissociation.lean | 3 ++- Mathlib/Combinatorics/Additive/DoublingConst.lean | 1 + Mathlib/Combinatorics/Additive/ETransform.lean | 1 + Mathlib/Combinatorics/Additive/ErdosGinzburgZiv.lean | 3 ++- Mathlib/Combinatorics/Additive/FreimanHom.lean | 3 ++- Mathlib/Combinatorics/Additive/PluenneckeRuzsa.lean | 5 +++-- Mathlib/Combinatorics/Additive/RuzsaCovering.lean | 1 + Mathlib/Combinatorics/Additive/SmallTripling.lean | 3 ++- Mathlib/Combinatorics/Additive/SubsetSum.lean | 2 +- Mathlib/Combinatorics/Additive/VerySmallDoubling.lean | 3 ++- Mathlib/Combinatorics/Colex.lean | 3 ++- Mathlib/Combinatorics/Compactness.lean | 5 +++-- Mathlib/Combinatorics/Configuration.lean | 3 ++- Mathlib/Combinatorics/Derangements/Basic.lean | 3 ++- Mathlib/Combinatorics/Derangements/Exponential.lean | 3 ++- Mathlib/Combinatorics/Derangements/Finite.lean | 3 ++- Mathlib/Combinatorics/Enumerative/IncidenceAlgebra.lean | 3 ++- .../Combinatorics/Enumerative/InclusionExclusion.lean | 3 ++- .../Combinatorics/Enumerative/Partition/Glaisher.lean | 1 + Mathlib/Combinatorics/Extremal/RuzsaSzemeredi.lean | 1 + Mathlib/Combinatorics/HalesJewett.lean | 3 ++- Mathlib/Combinatorics/Hall/Basic.lean | 1 + Mathlib/Combinatorics/Hall/Finite.lean | 1 + Mathlib/Combinatorics/Hindman.lean | 3 ++- Mathlib/Combinatorics/KatonaCircle.lean | 3 ++- Mathlib/Combinatorics/Matroid/Basic.lean | 3 ++- Mathlib/Combinatorics/Matroid/IndepAxioms.lean | 1 + Mathlib/Combinatorics/Matroid/Init.lean | 3 ++- Mathlib/Combinatorics/Matroid/Minor/Contract.lean | 1 + Mathlib/Combinatorics/Matroid/Rank/Cardinal.lean | 1 + Mathlib/Combinatorics/Matroid/Rank/ENat.lean | 1 + Mathlib/Combinatorics/Nullstellensatz.lean | 3 ++- Mathlib/Combinatorics/Pigeonhole.lean | 2 +- Mathlib/Combinatorics/Quiver/Covering.lean | 5 +++-- Mathlib/Combinatorics/Quiver/Path/Vertices.lean | 1 + Mathlib/Combinatorics/Schnirelmann.lean | 2 +- Mathlib/Combinatorics/SetFamily/AhlswedeZhang.lean | 5 +++-- Mathlib/Combinatorics/SetFamily/DualVC.lean | 1 + Mathlib/Combinatorics/SetFamily/FourFunctions.lean | 5 +++-- Mathlib/Combinatorics/SetFamily/LYM.lean | 5 +++-- Mathlib/Combinatorics/SimpleGraph/Clique.lean | 1 + .../Combinatorics/SimpleGraph/Connectivity/Finite.lean | 3 ++- Mathlib/Combinatorics/SimpleGraph/Ends/Defs.lean | 3 ++- .../SimpleGraph/Extremal/ErdosStoneSimonovits.lean | 5 +++-- .../Combinatorics/SimpleGraph/Extremal/TuranDensity.lean | 4 ++-- Mathlib/Combinatorics/SimpleGraph/FiveWheelLike.lean | 1 + Mathlib/Combinatorics/SimpleGraph/Hall.lean | 3 ++- Mathlib/Combinatorics/SimpleGraph/Init.lean | 3 ++- Mathlib/Combinatorics/SimpleGraph/Matching.lean | 1 + Mathlib/Combinatorics/SimpleGraph/Regularity/Energy.lean | 3 ++- .../SimpleGraph/Regularity/Equitabilise.lean | 3 ++- .../Combinatorics/SimpleGraph/Regularity/Uniform.lean | 3 ++- Mathlib/Combinatorics/SimpleGraph/StronglyRegular.lean | 3 ++- Mathlib/Combinatorics/SimpleGraph/Triangle/Basic.lean | 5 +++-- Mathlib/Combinatorics/SimpleGraph/Triangle/Counting.lean | 1 + Mathlib/Combinatorics/SimpleGraph/Triangle/Removal.lean | 3 ++- Mathlib/Combinatorics/SimpleGraph/Tutte.lean | 3 ++- Mathlib/Combinatorics/SimpleGraph/VertexCover.lean | 2 +- Mathlib/Combinatorics/SimpleGraph/Walk/Operations.lean | 1 + Mathlib/Combinatorics/Young/YoungDiagram.lean | 3 ++- Mathlib/Computability/Ackermann.lean | 1 + Mathlib/Computability/AkraBazzi/AkraBazzi.lean | 1 + Mathlib/Computability/AkraBazzi/GrowsPolynomially.lean | 5 +++-- Mathlib/Computability/AkraBazzi/SumTransform.lean | 4 ++-- Mathlib/Computability/DFA.lean | 5 +++-- Mathlib/Computability/EpsilonNFA.lean | 1 + Mathlib/Computability/MyhillNerode.lean | 1 + Mathlib/Computability/RegularExpressions.lean | 1 + Mathlib/Computability/StateTransition.lean | 1 + Mathlib/Computability/TuringMachine/Tape.lean | 3 ++- Mathlib/Condensed/AB.lean | 3 ++- Mathlib/Condensed/EffectiveEpi.lean | 5 +++-- Mathlib/Condensed/Epi.lean | 3 ++- Mathlib/Condensed/Functors.lean | 3 ++- Mathlib/Condensed/Light/AB.lean | 3 ++- Mathlib/Condensed/Light/EffectiveEpi.lean | 3 ++- Mathlib/Condensed/Light/Epi.lean | 5 +++-- Mathlib/Control/Fold.lean | 3 ++- Mathlib/Control/LawfulFix.lean | 3 ++- Mathlib/Control/Monad/Cont.lean | 5 +++-- Mathlib/Control/Traversable/Equiv.lean | 1 + Mathlib/Control/Traversable/Instances.lean | 3 ++- Mathlib/Control/ULiftable.lean | 1 + Mathlib/Data/Bool/Count.lean | 5 +++-- Mathlib/Data/DFinsupp/Interval.lean | 3 ++- Mathlib/Data/DFinsupp/Order.lean | 3 ++- Mathlib/Data/DFinsupp/Submonoid.lean | 3 ++- Mathlib/Data/DFinsupp/WellFounded.lean | 1 + Mathlib/Data/DList/Instances.lean | 1 + Mathlib/Data/ENat/Basic.lean | 2 +- Mathlib/Data/ENat/BigOperators.lean | 5 +++-- Mathlib/Data/ENat/Defs.lean | 1 + Mathlib/Data/ENat/Monoid.lean | 2 +- Mathlib/Data/EReal/Inv.lean | 3 ++- Mathlib/Data/FP/Basic.lean | 3 ++- Mathlib/Data/Fin/FlagRange.lean | 3 ++- Mathlib/Data/Fin/Tuple/BubbleSortInduction.lean | 3 ++- Mathlib/Data/Finite/Perm.lean | 3 ++- Mathlib/Data/Finset/Attr.lean | 3 ++- Mathlib/Data/Finset/Card.lean | 3 ++- Mathlib/Data/Finset/DenselyOrdered.lean | 3 ++- Mathlib/Data/Finset/Finsupp.lean | 3 ++- Mathlib/Data/Finset/Functor.lean | 3 ++- Mathlib/Data/Finset/Interval.lean | 3 ++- Mathlib/Data/Finset/NAry.lean | 1 + Mathlib/Data/Finset/NoncommProd.lean | 1 + Mathlib/Data/Finset/Order.lean | 3 ++- Mathlib/Data/Finset/PiInduction.lean | 3 ++- Mathlib/Data/Finset/Piecewise.lean | 1 + Mathlib/Data/Finset/Sort.lean | 3 ++- Mathlib/Data/Finsupp/BigOperators.lean | 1 + Mathlib/Data/Finsupp/Weight.lean | 2 +- Mathlib/Data/Fintype/CardEmbedding.lean | 3 ++- Mathlib/Data/Fintype/Perm.lean | 5 +++-- Mathlib/Data/Fintype/Pigeonhole.lean | 3 ++- Mathlib/Data/Int/Basic.lean | 3 ++- Mathlib/Data/Int/Bitwise.lean | 5 +++-- Mathlib/Data/Int/Cast/Pi.lean | 1 + Mathlib/Data/Int/Init.lean | 3 ++- Mathlib/Data/Int/ModEq.lean | 1 + Mathlib/Data/Int/NatPrime.lean | 1 + Mathlib/Data/Int/Order/Basic.lean | 3 ++- Mathlib/Data/List/Chain.lean | 3 ++- Mathlib/Data/List/ChainOfFn.lean | 1 + Mathlib/Data/List/Count.lean | 3 ++- Mathlib/Data/List/Cycle.lean | 1 + Mathlib/Data/List/Dedup.lean | 3 ++- Mathlib/Data/List/Destutter.lean | 1 + Mathlib/Data/List/DropRight.lean | 3 ++- Mathlib/Data/List/FinRange.lean | 3 ++- Mathlib/Data/List/Find.lean | 1 + Mathlib/Data/List/Fold.lean | 3 ++- Mathlib/Data/List/GetD.lean | 3 ++- Mathlib/Data/List/Infix.lean | 3 ++- Mathlib/Data/List/InsertIdx.lean | 3 ++- Mathlib/Data/List/Intervals.lean | 1 + Mathlib/Data/List/Lookmap.lean | 1 + Mathlib/Data/List/Map2.lean | 1 + Mathlib/Data/List/MinMax.lean | 3 ++- Mathlib/Data/List/ModifyLast.lean | 1 + Mathlib/Data/List/Monad.lean | 3 ++- Mathlib/Data/List/OffDiag.lean | 3 ++- Mathlib/Data/List/PeriodicityLemma.lean | 3 ++- Mathlib/Data/List/Perm/Lattice.lean | 3 ++- Mathlib/Data/List/Permutation.lean | 3 ++- Mathlib/Data/List/ProdSigma.lean | 3 ++- Mathlib/Data/List/Rotate.lean | 3 ++- Mathlib/Data/List/Shortlex.lean | 3 ++- Mathlib/Data/List/Sigma.lean | 3 ++- Mathlib/Data/List/Sort.lean | 3 ++- Mathlib/Data/List/SplitBy.lean | 1 + Mathlib/Data/List/Sublists.lean | 3 ++- Mathlib/Data/List/TakeWhile.lean | 1 + Mathlib/Data/List/Zip.lean | 5 +++-- Mathlib/Data/Matrix/Mul.lean | 3 ++- Mathlib/Data/Multiset/Interval.lean | 1 + Mathlib/Data/Multiset/Pairwise.lean | 3 ++- Mathlib/Data/NNRat/BigOperators.lean | 1 + Mathlib/Data/NNRat/Lemmas.lean | 1 + Mathlib/Data/Nat/BitIndices.lean | 5 +++-- Mathlib/Data/Nat/Bitwise.lean | 3 ++- Mathlib/Data/Nat/Cast/Field.lean | 1 + Mathlib/Data/Nat/Cast/SetInterval.lean | 5 +++-- Mathlib/Data/Nat/Choose/Cast.lean | 3 ++- Mathlib/Data/Nat/Choose/Central.lean | 3 ++- Mathlib/Data/Nat/Choose/Lucas.lean | 1 + Mathlib/Data/Nat/Count.lean | 1 + Mathlib/Data/Nat/Digits/Defs.lean | 1 + Mathlib/Data/Nat/Dist.lean | 3 ++- Mathlib/Data/Nat/Factorial/BigOperators.lean | 2 +- Mathlib/Data/Nat/Factorization/Basic.lean | 3 ++- Mathlib/Data/Nat/Factorization/Defs.lean | 3 ++- Mathlib/Data/Nat/Factorization/LCM.lean | 1 + Mathlib/Data/Nat/Find.lean | 1 + Mathlib/Data/Nat/GCD/Prime.lean | 3 ++- Mathlib/Data/Nat/ModEq.lean | 3 ++- Mathlib/Data/Nat/Order/Lemmas.lean | 1 + Mathlib/Data/Nat/PSub.lean | 3 ++- Mathlib/Data/Nat/Prime/Infinite.lean | 3 ++- Mathlib/Data/Nat/Prime/Int.lean | 1 + Mathlib/Data/Nat/Upto.lean | 3 ++- Mathlib/Data/Nat/WithBot.lean | 3 ++- Mathlib/Data/Num/Lemmas.lean | 5 +++-- Mathlib/Data/Num/ZNum.lean | 3 ++- Mathlib/Data/Option/Basic.lean | 3 ++- Mathlib/Data/PNat/Basic.lean | 1 + Mathlib/Data/PNat/Defs.lean | 1 + Mathlib/Data/PNat/Xgcd.lean | 3 ++- Mathlib/Data/Prod/Basic.lean | 4 ++-- Mathlib/Data/Rat/Cast/OfScientific.lean | 3 ++- Mathlib/Data/Rat/Defs.lean | 5 +++-- Mathlib/Data/Rat/Sqrt.lean | 5 +++-- Mathlib/Data/Seq/Basic.lean | 1 + Mathlib/Data/Set/Card.lean | 1 + Mathlib/Data/Set/Card/Arithmetic.lean | 3 ++- Mathlib/Data/Set/Enumerate.lean | 3 ++- Mathlib/Data/Set/Finite/List.lean | 3 ++- Mathlib/Data/Set/Finite/Monad.lean | 3 ++- Mathlib/Data/Set/Finite/Powerset.lean | 1 + Mathlib/Data/Set/Pairwise/List.lean | 3 ++- Mathlib/Data/Set/PowersetCard.lean | 3 ++- Mathlib/Data/Stream/Init.lean | 3 ++- Mathlib/Data/String/Basic.lean | 1 + Mathlib/Data/Subtype.lean | 3 ++- Mathlib/Data/SubtypeNeLift.lean | 1 + Mathlib/Data/Sum/Basic.lean | 1 + Mathlib/Data/Sym/Card.lean | 1 + Mathlib/Data/Sym/Sym2/Init.lean | 3 ++- Mathlib/Data/Tree/Basic.lean | 1 + Mathlib/Data/Tree/Traversable.lean | 3 ++- Mathlib/Data/Vector/Basic.lean | 5 +++-- Mathlib/Data/ZMod/Coprime.lean | 3 ++- Mathlib/Data/ZMod/Defs.lean | 1 + Mathlib/Data/ZMod/Units.lean | 3 ++- Mathlib/Data/ZMod/ValMinAbs.lean | 1 + Mathlib/Dynamics/Ergodic/Action/OfMinimal.lean | 3 ++- Mathlib/Dynamics/Ergodic/Action/Regular.lean | 1 + Mathlib/Dynamics/Ergodic/AddCircle.lean | 5 +++-- Mathlib/Dynamics/Ergodic/AddCircleAdd.lean | 3 ++- Mathlib/Dynamics/Ergodic/Conservative.lean | 1 + Mathlib/Dynamics/Ergodic/Extreme.lean | 1 + Mathlib/Dynamics/Ergodic/RadonNikodym.lean | 1 + Mathlib/Dynamics/FixedPoints/Basic.lean | 3 ++- Mathlib/Dynamics/FixedPoints/Prufer.lean | 1 + Mathlib/Dynamics/PeriodicPts/Defs.lean | 5 +++-- .../Dynamics/TopologicalEntropy/DynamicalEntourage.lean | 3 ++- Mathlib/FieldTheory/Cardinality.lean | 5 +++-- Mathlib/FieldTheory/ChevalleyWarning.lean | 1 + Mathlib/FieldTheory/Differential/Liouville.lean | 3 ++- Mathlib/FieldTheory/FinTrdeg.lean | 1 + Mathlib/FieldTheory/Finite/Basic.lean | 3 ++- Mathlib/FieldTheory/Finite/Polynomial.lean | 1 + Mathlib/FieldTheory/Fixed.lean | 3 ++- Mathlib/FieldTheory/Galois/IsGaloisGroup.lean | 3 ++- Mathlib/FieldTheory/Galois/NormalBasis.lean | 3 ++- Mathlib/FieldTheory/Galois/Notation.lean | 1 + Mathlib/FieldTheory/IsAlgClosed/Basic.lean | 3 ++- Mathlib/FieldTheory/IsAlgClosed/Classification.lean | 7 ++++--- Mathlib/FieldTheory/IsRealClosed/Basic.lean | 1 + Mathlib/FieldTheory/Isaacs.lean | 1 + Mathlib/FieldTheory/JacobsonNoether.lean | 5 +++-- Mathlib/FieldTheory/KrullTopology.lean | 1 + Mathlib/FieldTheory/KummerExtension.lean | 1 + Mathlib/FieldTheory/LinearDisjoint.lean | 3 ++- Mathlib/FieldTheory/Minpoly/Finite.lean | 1 + Mathlib/FieldTheory/Minpoly/MinpolyDiv.lean | 3 ++- Mathlib/FieldTheory/MvRatFunc/Rank.lean | 5 +++-- Mathlib/FieldTheory/PrimeField.lean | 1 + .../FieldTheory/PurelyInseparable/PerfectClosure.lean | 1 + Mathlib/FieldTheory/RatFunc/AsPolynomial.lean | 1 + Mathlib/FieldTheory/RatFunc/Basic.lean | 3 ++- Mathlib/FieldTheory/RatFunc/Luroth.lean | 3 ++- Mathlib/FieldTheory/SeparablyGenerated.lean | 3 ++- Mathlib/FieldTheory/SplittingField/IsSplittingField.lean | 3 ++- Mathlib/Geometry/Convex/ConvexSpace/AffineMapCone.lean | 1 + .../Convex/ConvexSpace/CompactSpaceStdSimplex.lean | 3 ++- Mathlib/Geometry/Convex/ConvexSpace/Defs.lean | 1 + Mathlib/Geometry/Euclidean/Altitude.lean | 3 ++- Mathlib/Geometry/Euclidean/Basic.lean | 1 + Mathlib/Geometry/Euclidean/Circumcenter.lean | 1 + Mathlib/Geometry/Euclidean/Incenter.lean | 1 + Mathlib/Geometry/Euclidean/Inversion/Basic.lean | 1 + Mathlib/Geometry/Euclidean/Inversion/Calculus.lean | 1 + Mathlib/Geometry/Euclidean/NinePointCircle.lean | 1 + Mathlib/Geometry/Euclidean/Similarity.lean | 1 + Mathlib/Geometry/Euclidean/Sphere/Basic.lean | 3 ++- Mathlib/Geometry/Euclidean/Sphere/Power.lean | 1 - Mathlib/Geometry/Euclidean/Sphere/Ptolemy.lean | 1 + Mathlib/Geometry/Euclidean/Sphere/SecondInter.lean | 3 ++- Mathlib/Geometry/Euclidean/Triangle.lean | 3 ++- Mathlib/Geometry/Group/Growth/QuotientInter.lean | 3 ++- Mathlib/Geometry/Manifold/Algebra/Monoid.lean | 1 + Mathlib/Geometry/Manifold/Bordism.lean | 3 ++- Mathlib/Geometry/Manifold/BumpFunction.lean | 3 ++- Mathlib/Geometry/Manifold/Complex.lean | 3 ++- Mathlib/Geometry/Manifold/ContMDiff/Atlas.lean | 3 ++- Mathlib/Geometry/Manifold/ContMDiff/NormedSpace.lean | 1 + Mathlib/Geometry/Manifold/ContMDiffMFDeriv.lean | 3 ++- Mathlib/Geometry/Manifold/Immersion.lean | 3 ++- Mathlib/Geometry/Manifold/Instances/Icc.lean | 3 ++- Mathlib/Geometry/Manifold/Instances/Real.lean | 3 ++- Mathlib/Geometry/Manifold/Instances/Sphere.lean | 7 ++++--- Mathlib/Geometry/Manifold/IntegralCurve/ExistUnique.lean | 5 +++-- Mathlib/Geometry/Manifold/MFDeriv/Basic.lean | 1 + Mathlib/Geometry/Manifold/MFDeriv/FDeriv.lean | 1 + Mathlib/Geometry/Manifold/MFDeriv/SpecificFunctions.lean | 1 + Mathlib/Geometry/Manifold/Metrizable.lean | 1 + Mathlib/Geometry/Manifold/Notation.lean | 3 ++- Mathlib/Geometry/Manifold/PartitionOfUnity.lean | 3 ++- Mathlib/Geometry/Manifold/Riemannian/Basic.lean | 1 + Mathlib/Geometry/Manifold/Riemannian/PathELength.lean | 3 ++- Mathlib/Geometry/Manifold/StructureGroupoid.lean | 3 ++- Mathlib/Geometry/Manifold/Submersion.lean | 3 ++- .../Manifold/VectorBundle/CovariantDerivative/Basic.lean | 3 ++- .../VectorBundle/CovariantDerivative/LeviCivita.lean | 3 ++- Mathlib/Geometry/Manifold/VectorBundle/LocalFrame.lean | 1 + Mathlib/Geometry/Manifold/VectorBundle/Riemannian.lean | 3 ++- Mathlib/Geometry/Manifold/VectorBundle/Tangent.lean | 1 + Mathlib/Geometry/Manifold/VectorBundle/Tensoriality.lean | 5 +++-- Mathlib/Geometry/Manifold/VectorField/Pullback.lean | 3 ++- Mathlib/Geometry/Manifold/WhitneyEmbedding.lean | 3 ++- Mathlib/Geometry/Polygon/Basic.lean | 1 + Mathlib/Geometry/RingedSpace/Basic.lean | 3 ++- .../RingedSpace/LocallyRingedSpace/HasColimits.lean | 3 ++- Mathlib/Geometry/RingedSpace/PresheafedSpace.lean | 3 ++- .../RingedSpace/PresheafedSpace/HasColimits.lean | 3 ++- Mathlib/GroupTheory/Archimedean.lean | 1 + Mathlib/GroupTheory/ArchimedeanDensely.lean | 3 ++- Mathlib/GroupTheory/ClassEquation.lean | 3 ++- Mathlib/GroupTheory/Commutator/Finite.lean | 3 ++- Mathlib/GroupTheory/CommutingProbability.lean | 3 ++- Mathlib/GroupTheory/CosetCover.lean | 3 ++- Mathlib/GroupTheory/Coxeter/Basic.lean | 3 ++- Mathlib/GroupTheory/Coxeter/Inversion.lean | 1 + Mathlib/GroupTheory/Divisible.lean | 3 ++- Mathlib/GroupTheory/DivisibleHull.lean | 3 ++- Mathlib/GroupTheory/FiniteAbelian/Basic.lean | 1 + Mathlib/GroupTheory/Focal.lean | 3 ++- Mathlib/GroupTheory/FreeGroup/CyclicallyReduced.lean | 1 + Mathlib/GroupTheory/FreeGroup/Reduce.lean | 3 ++- Mathlib/GroupTheory/GroupAction/CardCommute.lean | 3 ++- Mathlib/GroupTheory/GroupAction/FixedPoints.lean | 3 ++- Mathlib/GroupTheory/GroupAction/Jordan.lean | 3 ++- .../GroupTheory/GroupAction/MultipleTransitivity.lean | 1 + Mathlib/GroupTheory/GroupAction/Pointwise.lean | 3 ++- .../GroupAction/SubMulAction/OfFixingSubgroup.lean | 3 ++- Mathlib/GroupTheory/GroupExtension/Basic.lean | 1 + Mathlib/GroupTheory/IndexNSmul.lean | 2 +- Mathlib/GroupTheory/IndexNormal.lean | 3 ++- Mathlib/GroupTheory/MonoidLocalization/Lemmas.lean | 3 ++- .../GroupTheory/MonoidLocalization/MonoidWithZero.lean | 1 + Mathlib/GroupTheory/Nilpotent.lean | 3 ++- Mathlib/GroupTheory/OreLocalization/Cardinality.lean | 3 ++- Mathlib/GroupTheory/Perm/Basic.lean | 1 + Mathlib/GroupTheory/Perm/Centralizer.lean | 1 + Mathlib/GroupTheory/Perm/ClosureSwap.lean | 5 +++-- Mathlib/GroupTheory/Perm/List.lean | 3 ++- Mathlib/GroupTheory/Perm/Sign.lean | 3 ++- Mathlib/GroupTheory/Perm/Support.lean | 3 ++- Mathlib/GroupTheory/Schreier.lean | 3 ++- Mathlib/GroupTheory/Solvable.lean | 3 ++- Mathlib/GroupTheory/SpecificGroups/Alternating.lean | 5 +++-- Mathlib/GroupTheory/SpecificGroups/Cyclic.lean | 5 +++-- Mathlib/GroupTheory/SpecificGroups/Dihedral.lean | 3 ++- Mathlib/GroupTheory/SpecificGroups/ZGroup.lean | 5 +++-- Mathlib/InformationTheory/Coding/KraftMcMillan.lean | 3 ++- Mathlib/InformationTheory/Coding/UniquelyDecodable.lean | 3 ++- .../KullbackLeibler/DataProcessing.lean | 2 +- Mathlib/Lean/Elab/InfoTree.lean | 1 + Mathlib/Lean/Elab/Tactic/Meta.lean | 1 + Mathlib/Lean/Elab/Term.lean | 1 + Mathlib/Lean/EnvExtension.lean | 3 ++- Mathlib/Lean/Environment.lean | 1 + Mathlib/Lean/Exception.lean | 3 ++- Mathlib/Lean/Expr/Basic.lean | 5 +++-- Mathlib/Lean/Expr/Rat.lean | 3 ++- Mathlib/Lean/FoldEnvironment.lean | 3 ++- Mathlib/Lean/GoalsLocation.lean | 3 ++- Mathlib/Lean/Linter.lean | 1 + Mathlib/Lean/LocalContext.lean | 3 ++- Mathlib/Lean/MessageData/ForExprs.lean | 3 ++- Mathlib/Lean/MessageData/Trace.lean | 3 ++- Mathlib/Lean/Meta.lean | 1 + Mathlib/Lean/Meta/Basic.lean | 1 + Mathlib/Lean/Meta/KAbstractPositions.lean | 3 ++- Mathlib/Lean/Meta/RefinedDiscrTree/Encode.lean | 3 ++- Mathlib/Lean/Meta/RefinedDiscrTree/Initialize.lean | 1 + Mathlib/Lean/Meta/Tactic/Rewrite.lean | 3 ++- Mathlib/Lean/Name.lean | 1 + Mathlib/Lean/PrettyPrinter/Delaborator.lean | 1 + Mathlib/LinearAlgebra/AffineSpace/Combination.lean | 1 + Mathlib/LinearAlgebra/AffineSpace/FiniteDimensional.lean | 4 ++-- Mathlib/LinearAlgebra/AffineSpace/Midpoint.lean | 3 ++- Mathlib/LinearAlgebra/AffineSpace/Slope.lean | 3 ++- Mathlib/LinearAlgebra/Alternating/Uncurry/Fin.lean | 1 + Mathlib/LinearAlgebra/Basis/Cardinality.lean | 3 ++- Mathlib/LinearAlgebra/CliffordAlgebra/SpinGroup.lean | 1 + Mathlib/LinearAlgebra/Complex/FiniteDimensional.lean | 1 + Mathlib/LinearAlgebra/Complex/Module.lean | 1 + Mathlib/LinearAlgebra/Countable.lean | 3 ++- Mathlib/LinearAlgebra/Dimension/ErdosKaplansky.lean | 5 +++-- Mathlib/LinearAlgebra/Dimension/LinearMap.lean | 3 ++- Mathlib/LinearAlgebra/Dimension/Localization.lean | 3 ++- Mathlib/LinearAlgebra/Eigenspace/Basic.lean | 1 + Mathlib/LinearAlgebra/Eigenspace/Charpoly.lean | 3 ++- Mathlib/LinearAlgebra/Eigenspace/Minpoly.lean | 3 ++- Mathlib/LinearAlgebra/ExteriorPower/Basis.lean | 1 + Mathlib/LinearAlgebra/FiniteDimensional/Basic.lean | 3 ++- Mathlib/LinearAlgebra/FixedSubmodule.lean | 1 + Mathlib/LinearAlgebra/FreeModule/Basic.lean | 1 + Mathlib/LinearAlgebra/FreeModule/Finite/Matrix.lean | 3 ++- Mathlib/LinearAlgebra/FreeModule/Int.lean | 5 +++-- Mathlib/LinearAlgebra/GeneralLinearGroup/AlgEquiv.lean | 2 +- Mathlib/LinearAlgebra/JordanChevalley.lean | 3 ++- Mathlib/LinearAlgebra/LinearIndependent/BaseChange.lean | 3 ++- Mathlib/LinearAlgebra/LinearIndependent/Lemmas.lean | 2 +- Mathlib/LinearAlgebra/Matrix/Cartan/Basic.lean | 1 + Mathlib/LinearAlgebra/Matrix/Cartan/Realisation.lean | 3 ++- Mathlib/LinearAlgebra/Matrix/Charpoly/Basic.lean | 3 ++- Mathlib/LinearAlgebra/Matrix/Charpoly/FiniteField.lean | 1 + Mathlib/LinearAlgebra/Matrix/Circulant.lean | 3 ++- .../Matrix/Determinant/Bird/Correctness.lean | 1 + Mathlib/LinearAlgebra/Matrix/Diagonal.lean | 1 + Mathlib/LinearAlgebra/Matrix/FiniteDimensional.lean | 1 + .../LinearAlgebra/Matrix/GeneralLinearGroup/Card.lean | 3 ++- .../Matrix/GeneralLinearGroup/MvPolynomial.lean | 3 ++- Mathlib/LinearAlgebra/Matrix/HadamardMatrix.lean | 3 ++- Mathlib/LinearAlgebra/Matrix/Hermitian.lean | 3 ++- Mathlib/LinearAlgebra/Matrix/Invertible.lean | 1 + Mathlib/LinearAlgebra/Matrix/Irreducible/Defs.lean | 3 ++- Mathlib/LinearAlgebra/Matrix/ToLin.lean | 1 + Mathlib/LinearAlgebra/Matrix/Transvection.lean | 1 + Mathlib/LinearAlgebra/PID.lean | 1 + Mathlib/LinearAlgebra/PerfectPairing/Restrict.lean | 1 + Mathlib/LinearAlgebra/Pi.lean | 1 + Mathlib/LinearAlgebra/PiTensorProduct/Basic.lean | 3 ++- Mathlib/LinearAlgebra/PiTensorProduct/Generators.lean | 5 +++-- Mathlib/LinearAlgebra/Projectivization/Action.lean | 3 ++- Mathlib/LinearAlgebra/Projectivization/Cardinality.lean | 5 +++-- Mathlib/LinearAlgebra/Projectivization/Collinear.lean | 1 + .../LinearAlgebra/Projectivization/Constructions.lean | 3 ++- Mathlib/LinearAlgebra/Projectivization/PSL/PSL2.lean | 3 ++- Mathlib/LinearAlgebra/QuadraticForm/Basis.lean | 3 ++- Mathlib/LinearAlgebra/QuadraticForm/Real.lean | 5 +++-- Mathlib/LinearAlgebra/QuadraticForm/TensorProduct.lean | 1 + Mathlib/LinearAlgebra/Quotient/Card.lean | 1 + Mathlib/LinearAlgebra/Reflection.lean | 5 +++-- Mathlib/LinearAlgebra/RootSystem/BaseExists.lean | 3 ++- Mathlib/LinearAlgebra/RootSystem/Finite/Lemmas.lean | 1 + .../LinearAlgebra/RootSystem/Finite/Nondegenerate.lean | 3 ++- .../LinearAlgebra/RootSystem/GeckConstruction/Basic.lean | 3 ++- .../RootSystem/GeckConstruction/Relations.lean | 3 ++- .../RootSystem/GeckConstruction/Semisimple.lean | 3 ++- Mathlib/LinearAlgebra/RootSystem/Irreducible.lean | 1 + Mathlib/LinearAlgebra/RootSystem/IsValuedIn.lean | 4 ++-- Mathlib/LinearAlgebra/SModEq/Basic.lean | 1 + Mathlib/LinearAlgebra/SModEq/Pow.lean | 1 + Mathlib/LinearAlgebra/Semisimple.lean | 1 + Mathlib/LinearAlgebra/Span/TensorProduct.lean | 3 ++- Mathlib/LinearAlgebra/SymplecticGroup.lean | 5 +++-- Mathlib/LinearAlgebra/TensorPower/Symmetric.lean | 1 + Mathlib/LinearAlgebra/TensorProduct/Defs.lean | 1 + Mathlib/LinearAlgebra/TensorProduct/Vanishing.lean | 3 ++- Mathlib/LinearAlgebra/Trace.lean | 2 +- Mathlib/LinearAlgebra/Transvection/Generation.lean | 3 ++- Mathlib/LinearAlgebra/Vandermonde.lean | 5 +++-- Mathlib/Logic/Embedding/Basic.lean | 3 ++- Mathlib/Logic/Godel/GodelBetaFunction.lean | 3 ++- Mathlib/Logic/Relation.lean | 1 + Mathlib/Logic/Small/Set.lean | 3 ++- Mathlib/MeasureTheory/Constructions/HaarToSphere.lean | 5 +++-- Mathlib/MeasureTheory/Constructions/Pi.lean | 3 ++- .../Constructions/Polish/EmbeddingReal.lean | 3 ++- .../MeasureTheory/Covering/BesicovitchVectorSpace.lean | 1 + Mathlib/MeasureTheory/Covering/Differentiation.lean | 3 ++- Mathlib/MeasureTheory/Function/AEEqOfIntegral.lean | 5 +++-- Mathlib/MeasureTheory/Function/AEEqOfLIntegral.lean | 3 ++- Mathlib/MeasureTheory/Function/AbsolutelyContinuous.lean | 3 ++- .../Function/ConditionalExpectation/CondexpL1.lean | 3 ++- .../Function/ConditionalExpectation/PullOut.lean | 1 + .../Function/ConditionalExpectation/Real.lean | 2 +- .../MeasureTheory/Function/ConditionalLExpectation.lean | 2 +- Mathlib/MeasureTheory/Function/ContinuousMapDense.lean | 3 ++- Mathlib/MeasureTheory/Function/LpSeminorm/Indicator.lean | 1 + .../LpSpace/ContinuousCompMeasurePreserving.lean | 1 + .../Function/LpSpace/ContinuousFunctions.lean | 3 ++- .../Function/LpSpace/DomAct/Continuous.lean | 3 ++- Mathlib/MeasureTheory/Function/LpSpace/Indicator.lean | 3 ++- .../MeasureTheory/Function/SpecialFunctions/Basic.lean | 1 + .../MeasureTheory/Function/SpecialFunctions/RCLike.lean | 3 ++- Mathlib/MeasureTheory/Group/AddCircle.lean | 1 + Mathlib/MeasureTheory/Group/GeometryOfNumbers.lean | 3 ++- Mathlib/MeasureTheory/Group/Measure.lean | 3 ++- Mathlib/MeasureTheory/Integral/CompactlySupported.lean | 3 ++- Mathlib/MeasureTheory/Integral/CurveIntegral/Basic.lean | 5 +++-- .../MeasureTheory/Integral/CurveIntegral/Poincare.lean | 8 ++++---- Mathlib/MeasureTheory/Integral/DivergenceTheorem.lean | 3 ++- Mathlib/MeasureTheory/Integral/DominatedConvergence.lean | 1 + Mathlib/MeasureTheory/Integral/ExpDecay.lean | 3 ++- Mathlib/MeasureTheory/Integral/Gamma.lean | 3 ++- Mathlib/MeasureTheory/Integral/Indicator.lean | 3 ++- .../IntervalIntegral/AbsolutelyContinuousFun.lean | 3 ++- .../Integral/IntervalIntegral/DerivIntegrable.lean | 1 + .../IntervalIntegral/LebesgueDifferentiationThm.lean | 3 ++- .../Integral/IntervalIntegral/MeanValue.lean | 2 +- .../Integral/IntervalIntegral/TrapezoidalRule.lean | 5 +++-- .../Integral/Lebesgue/DominatedConvergence.lean | 3 ++- Mathlib/MeasureTheory/Integral/MeanInequalities.lean | 2 +- Mathlib/MeasureTheory/Integral/Regular.lean | 1 + .../MeasureTheory/Integral/RieszMarkovKakutani/Real.lean | 1 + Mathlib/MeasureTheory/Integral/TorusIntegral.lean | 1 + Mathlib/MeasureTheory/MeasurableSpace/Card.lean | 3 ++- .../MeasurableSpace/MeasurablyGenerated.lean | 5 +++-- .../Measure/CharacteristicFunction/TaylorExpansion.lean | 2 +- .../MeasureTheory/Measure/Decomposition/Lebesgue.lean | 3 ++- Mathlib/MeasureTheory/Measure/EverywherePos.lean | 1 + Mathlib/MeasureTheory/Measure/FiniteMeasure.lean | 5 +++-- Mathlib/MeasureTheory/Measure/FiniteMeasureExt.lean | 3 ++- Mathlib/MeasureTheory/Measure/Haar/Extension.lean | 3 ++- Mathlib/MeasureTheory/Measure/HasOuterApproxClosed.lean | 3 ++- Mathlib/MeasureTheory/Measure/Hausdorff.lean | 1 + Mathlib/MeasureTheory/Measure/IntegralCharFun.lean | 3 ++- Mathlib/MeasureTheory/Measure/Lebesgue/Basic.lean | 3 ++- .../MeasureTheory/Measure/Lebesgue/VolumeOfBalls.lean | 3 ++- Mathlib/MeasureTheory/Measure/LevyProkhorovMetric.lean | 3 ++- Mathlib/MeasureTheory/Measure/MeasuredSets.lean | 1 + Mathlib/MeasureTheory/Measure/RegularityCompacts.lean | 3 ++- Mathlib/MeasureTheory/Measure/ResolventTransform.lean | 6 +++--- Mathlib/MeasureTheory/Measure/SubFinite.lean | 2 +- .../Measure/Typeclasses/NullSingletonClass.lean | 3 ++- Mathlib/MeasureTheory/Order/UpperLower.lean | 3 ++- Mathlib/MeasureTheory/PiSystem.lean | 3 ++- Mathlib/MeasureTheory/SetAlgebra.lean | 3 ++- Mathlib/MeasureTheory/VectorMeasure/AddContent.lean | 3 ++- Mathlib/MeasureTheory/VectorMeasure/Basic.lean | 3 ++- .../MeasureTheory/VectorMeasure/IntegrationByParts.lean | 3 ++- Mathlib/MeasureTheory/VectorMeasure/Prod.lean | 1 + Mathlib/MeasureTheory/VectorMeasure/SetIntegral.lean | 3 ++- Mathlib/MeasureTheory/VectorMeasure/Variation/Basic.lean | 3 ++- Mathlib/ModelTheory/Algebra/Field/Basic.lean | 1 + Mathlib/ModelTheory/Algebra/Field/CharP.lean | 3 ++- Mathlib/ModelTheory/Arithmetic/Presburger/Basic.lean | 3 ++- Mathlib/ModelTheory/Encoding.lean | 3 ++- Mathlib/ModelTheory/FinitelyGenerated.lean | 3 ++- Mathlib/ModelTheory/Order.lean | 5 +++-- Mathlib/ModelTheory/Satisfiability.lean | 3 ++- Mathlib/ModelTheory/Substructures.lean | 3 ++- Mathlib/ModelTheory/Syntax.lean | 1 + Mathlib/ModelTheory/Topology/Types.lean | 3 ++- Mathlib/NumberTheory/ADEInequality.lean | 5 +++-- Mathlib/NumberTheory/AbelSummation.lean | 3 ++- Mathlib/NumberTheory/ArithmeticFunction/Carmichael.lean | 3 ++- Mathlib/NumberTheory/ArithmeticFunction/Defs.lean | 3 ++- Mathlib/NumberTheory/ArithmeticFunction/Moebius.lean | 3 ++- Mathlib/NumberTheory/ArithmeticFunction/VonMangoldt.lean | 3 ++- Mathlib/NumberTheory/Basic.lean | 3 ++- Mathlib/NumberTheory/Bernoulli.lean | 3 ++- Mathlib/NumberTheory/Bertrand.lean | 3 ++- Mathlib/NumberTheory/CarmichaelNumber.lean | 3 ++- Mathlib/NumberTheory/Chebyshev.lean | 2 +- Mathlib/NumberTheory/ClassNumber/AdmissibleAbs.lean | 3 ++- .../ClassNumber/AdmissibleCardPowDegree.lean | 1 + Mathlib/NumberTheory/ClassNumber/Finite.lean | 3 ++- Mathlib/NumberTheory/Cyclotomic/CyclotomicCharacter.lean | 1 + Mathlib/NumberTheory/Cyclotomic/PrimitiveRoots.lean | 3 ++- Mathlib/NumberTheory/DiophantineApproximation/Basic.lean | 1 + .../DiophantineApproximation/ContinuedFractions.lean | 3 ++- Mathlib/NumberTheory/DirichletCharacter/Bounds.lean | 1 + Mathlib/NumberTheory/EllipticDivisibilitySequence.lean | 1 + Mathlib/NumberTheory/EulerProduct/Basic.lean | 3 ++- Mathlib/NumberTheory/EulerProduct/ExpLog.lean | 5 +++-- Mathlib/NumberTheory/FLT/Basic.lean | 3 ++- Mathlib/NumberTheory/FLT/Four.lean | 1 + Mathlib/NumberTheory/FLT/Polynomial.lean | 1 + Mathlib/NumberTheory/FLT/Three.lean | 3 ++- Mathlib/NumberTheory/FactorisationProperties.lean | 5 +++-- Mathlib/NumberTheory/Fermat.lean | 1 + Mathlib/NumberTheory/FermatPsp.lean | 3 ++- Mathlib/NumberTheory/FunctionField.lean | 3 ++- Mathlib/NumberTheory/Harmonic/Bounds.lean | 3 ++- Mathlib/NumberTheory/Harmonic/EulerMascheroni.lean | 3 ++- Mathlib/NumberTheory/Harmonic/GammaDeriv.lean | 3 ++- Mathlib/NumberTheory/Harmonic/Int.lean | 1 + Mathlib/NumberTheory/Height/MvPolynomial.lean | 2 +- Mathlib/NumberTheory/JacobiSum/Basic.lean | 1 + Mathlib/NumberTheory/LSeries/Convolution.lean | 3 ++- Mathlib/NumberTheory/LSeries/Deriv.lean | 1 + Mathlib/NumberTheory/LSeries/HurwitzZetaEven.lean | 1 + Mathlib/NumberTheory/LSeries/Injectivity.lean | 3 ++- Mathlib/NumberTheory/LSeries/Linearity.lean | 3 ++- Mathlib/NumberTheory/LSeries/Positivity.lean | 5 +++-- Mathlib/NumberTheory/LSeries/PrimesInAP.lean | 3 ++- Mathlib/NumberTheory/LSeries/RiemannZeta.lean | 1 + Mathlib/NumberTheory/LSeries/SumCoeff.lean | 5 +++-- Mathlib/NumberTheory/LSeries/ZetaZeros.lean | 1 + Mathlib/NumberTheory/LegendreSymbol/Complex.lean | 3 ++- .../LegendreSymbol/GaussEisensteinLemmas.lean | 3 ++- Mathlib/NumberTheory/LocalField/Basic.lean | 5 +++-- Mathlib/NumberTheory/LucasLehmer.lean | 1 + Mathlib/NumberTheory/LucasPrimality.lean | 3 ++- Mathlib/NumberTheory/MahlerMeasure.lean | 7 ++++--- Mathlib/NumberTheory/MaricaSchoenheim.lean | 3 ++- Mathlib/NumberTheory/Modular.lean | 1 + Mathlib/NumberTheory/ModularForms/Basic.lean | 3 ++- .../NumberTheory/ModularForms/CongruenceSubgroups.lean | 3 ++- Mathlib/NumberTheory/ModularForms/CuspFormSubmodule.lean | 1 + Mathlib/NumberTheory/ModularForms/Cusps.lean | 5 +++-- Mathlib/NumberTheory/ModularForms/DedekindEta.lean | 3 ++- Mathlib/NumberTheory/ModularForms/Derivative.lean | 3 ++- Mathlib/NumberTheory/ModularForms/Discriminant.lean | 3 ++- .../ModularForms/EisensteinSeries/E2/Defs.lean | 3 ++- .../ModularForms/EisensteinSeries/E2/Transform.lean | 1 + .../EisensteinSeries/IsBoundedAtImInfty.lean | 1 + .../ModularForms/EisensteinSeries/MDifferentiable.lean | 1 + .../EisensteinSeries/UniformConvergence.lean | 3 ++- .../NumberTheory/ModularForms/JacobiTheta/Manifold.lean | 3 ++- .../ModularForms/JacobiTheta/TwoVariable.lean | 3 ++- Mathlib/NumberTheory/ModularForms/LFunction.lean | 1 + Mathlib/NumberTheory/ModularForms/LevelOne/Basic.lean | 5 +++-- .../NumberTheory/ModularForms/ProperlyDiscontinuous.lean | 1 + Mathlib/NumberTheory/ModularForms/QExpansion.lean | 3 ++- Mathlib/NumberTheory/ModularForms/RamanujanFormula.lean | 1 + Mathlib/NumberTheory/ModularForms/SlashActions.lean | 1 + Mathlib/NumberTheory/MulChar/Basic.lean | 3 ++- Mathlib/NumberTheory/Multiplicity.lean | 3 ++- Mathlib/NumberTheory/Niven.lean | 3 ++- Mathlib/NumberTheory/NumberField/Basic.lean | 3 ++- Mathlib/NumberTheory/NumberField/CMField.lean | 3 ++- .../NumberField/CanonicalEmbedding/ConvexBody.lean | 5 +++-- Mathlib/NumberTheory/NumberField/ClassNumber.lean | 3 ++- .../NumberTheory/NumberField/Completion/FinitePlace.lean | 4 ++-- Mathlib/NumberTheory/NumberField/Cyclotomic/Basic.lean | 3 ++- Mathlib/NumberTheory/NumberField/Cyclotomic/Galois.lean | 3 ++- Mathlib/NumberTheory/NumberField/Cyclotomic/Ideal.lean | 1 + Mathlib/NumberTheory/NumberField/Cyclotomic/PID.lean | 3 ++- Mathlib/NumberTheory/NumberField/Cyclotomic/Three.lean | 1 + Mathlib/NumberTheory/NumberField/DedekindZeta.lean | 3 ++- Mathlib/NumberTheory/NumberField/Discriminant/Basic.lean | 1 + Mathlib/NumberTheory/NumberField/ExistsRamified.lean | 3 ++- Mathlib/NumberTheory/NumberField/FiniteAdeleRing.lean | 1 + Mathlib/NumberTheory/NumberField/FractionalIdeal.lean | 3 ++- Mathlib/NumberTheory/NumberField/InfiniteAdeleRing.lean | 3 ++- .../NumberField/InfinitePlace/TotallyRealComplex.lean | 3 ++- .../NumberTheory/NumberField/Units/DirichletTheorem.lean | 3 ++- Mathlib/NumberTheory/NumberField/Units/Regulator.lean | 3 ++- Mathlib/NumberTheory/Ostrowski.lean | 3 ++- Mathlib/NumberTheory/Padics/AddChar.lean | 3 ++- Mathlib/NumberTheory/Padics/Hensel.lean | 5 +++-- Mathlib/NumberTheory/Padics/LocalField.lean | 3 ++- Mathlib/NumberTheory/Padics/Measure/AmiceTransform.lean | 3 ++- Mathlib/NumberTheory/Padics/Measure/Topology.lean | 3 ++- Mathlib/NumberTheory/Padics/PadicNorm.lean | 1 + Mathlib/NumberTheory/Padics/PadicNumbers.lean | 3 ++- Mathlib/NumberTheory/Padics/ProperSpace.lean | 3 ++- Mathlib/NumberTheory/Padics/RingHoms.lean | 1 + Mathlib/NumberTheory/Padics/ValuativeRel.lean | 3 ++- Mathlib/NumberTheory/Pell.lean | 3 ++- Mathlib/NumberTheory/PellMatiyasevic.lean | 3 ++- Mathlib/NumberTheory/PythagoreanTriples.lean | 3 ++- .../NumberTheory/RamificationInertia/Ramification.lean | 3 ++- Mathlib/NumberTheory/RamificationInertia/Unramified.lean | 3 ++- Mathlib/NumberTheory/SelbergSieve.lean | 1 + Mathlib/NumberTheory/SmoothNumbers.lean | 3 ++- Mathlib/NumberTheory/SumPrimeReciprocals.lean | 3 ++- Mathlib/NumberTheory/SumTwoSquares.lean | 3 ++- Mathlib/NumberTheory/Transcendental/Liouville/Basic.lean | 5 +++-- .../Transcendental/Liouville/LiouvilleWith.lean | 1 + .../NumberTheory/Transcendental/Liouville/Measure.lean | 3 ++- .../NumberTheory/Transcendental/Liouville/Residual.lean | 1 + Mathlib/NumberTheory/WellApproximable.lean | 1 + Mathlib/NumberTheory/Wilson.lean | 3 ++- Mathlib/NumberTheory/ZetaValues.lean | 3 ++- Mathlib/Order/Antichain.lean | 3 ++- Mathlib/Order/Atoms/Finite.lean | 3 ++- Mathlib/Order/Birkhoff.lean | 3 ++- Mathlib/Order/BoundedOrder/Basic.lean | 1 + Mathlib/Order/Circular.lean | 3 ++- Mathlib/Order/CompactlyGenerated/Basic.lean | 3 ++- Mathlib/Order/CompleteLattice/Group.lean | 3 ++- .../Order/CompleteLattice/MulticoequalizerDiagram.lean | 1 + Mathlib/Order/ConditionallyCompleteLattice/Group.lean | 3 ++- .../Order/ConditionallyCompletePartialOrder/Indexed.lean | 1 + Mathlib/Order/CountableDenseLinearOrder.lean | 1 + Mathlib/Order/Disjointed.lean | 1 + Mathlib/Order/Filter/AtTopBot/Basic.lean | 1 + Mathlib/Order/Filter/AtTopBot/CompleteLattice.lean | 1 + Mathlib/Order/Filter/AtTopBot/Defs.lean | 3 ++- Mathlib/Order/Filter/AtTopBot/Finite.lean | 3 ++- Mathlib/Order/Filter/AtTopBot/Floor.lean | 3 ++- Mathlib/Order/Filter/AtTopBot/Group.lean | 3 ++- Mathlib/Order/Filter/AtTopBot/Interval.lean | 3 ++- Mathlib/Order/Filter/AtTopBot/Map.lean | 1 + Mathlib/Order/Filter/AtTopBot/ModEq.lean | 7 ++++--- Mathlib/Order/Filter/AtTopBot/Monoid.lean | 3 ++- Mathlib/Order/Filter/AtTopBot/Prod.lean | 1 + Mathlib/Order/Filter/CardinalInter.lean | 3 ++- Mathlib/Order/Filter/Germ/Basic.lean | 3 ++- Mathlib/Order/Filter/IndicatorFunction.lean | 1 + Mathlib/Order/Filter/Interval.lean | 1 + Mathlib/Order/Filter/Pi.lean | 3 ++- Mathlib/Order/Filter/Pointwise.lean | 5 +++-- Mathlib/Order/Fin/Clamp.lean | 3 ++- Mathlib/Order/Fin/Prod.lean | 3 ++- Mathlib/Order/Heyting/Boundary.lean | 1 + Mathlib/Order/Interval/Finset/Box.lean | 3 ++- Mathlib/Order/Interval/Set/Defs.lean | 1 + Mathlib/Order/Interval/Set/Infinite.lean | 1 + Mathlib/Order/Interval/Set/Monotone.lean | 3 ++- Mathlib/Order/Interval/Set/OrdConnectedComponent.lean | 3 ++- Mathlib/Order/Interval/Set/Pi.lean | 3 ++- Mathlib/Order/Interval/Set/SuccOrder.lean | 3 ++- Mathlib/Order/Interval/Set/SurjOn.lean | 3 ++- Mathlib/Order/Interval/Set/Union.lean | 1 + Mathlib/Order/Interval/Set/WithBotTop.lean | 3 ++- Mathlib/Order/IsNormal.lean | 3 ++- Mathlib/Order/JordanHolder.lean | 5 +++-- Mathlib/Order/KonigLemma.lean | 3 ++- Mathlib/Order/KrullDimension.lean | 2 +- Mathlib/Order/Monotone/Extension.lean | 3 ++- Mathlib/Order/Monotone/Odd.lean | 3 ++- Mathlib/Order/Monotone/Union.lean | 1 + Mathlib/Order/PartialSups.lean | 4 ++-- Mathlib/Order/Partition/Equipartition.lean | 1 + Mathlib/Order/Preorder/Finite.lean | 3 ++- Mathlib/Order/PrimeSeparator.lean | 3 ++- Mathlib/Order/RelClasses.lean | 1 + Mathlib/Order/RelIso/Set.lean | 1 + Mathlib/Order/RelSeries.lean | 3 ++- Mathlib/Order/SaddlePoint.lean | 1 + Mathlib/Order/ScottContinuity.lean | 5 +++-- Mathlib/Order/SemiconjSup.lean | 3 ++- Mathlib/Order/Setoid/Partition.lean | 3 ++- Mathlib/Order/Sigma/Lex.lean | 1 + Mathlib/Order/SuccPred/IntervalSucc.lean | 3 ++- Mathlib/Order/SuccPred/LinearLocallyFinite.lean | 3 ++- Mathlib/Order/SuccPred/Nat.lean | 5 +++-- Mathlib/Order/SupClosed.lean | 3 ++- Mathlib/Order/SupIndep.lean | 3 ++- Mathlib/Order/TeichmullerTukey.lean | 1 + Mathlib/Order/Types/Arithmetic.lean | 3 ++- Mathlib/Order/UpperLower/Basic.lean | 3 ++- Mathlib/Order/UpperLower/Closure.lean | 3 ++- Mathlib/Order/UpperLower/LocallyFinite.lean | 3 ++- Mathlib/Probability/BorelCantelli.lean | 3 ++- .../Combinatorics/BinomialRandomGraph/Defs.lean | 3 ++- Mathlib/Probability/CondVar.lean | 5 +++-- Mathlib/Probability/Decision/Risk/RiskIncrease.lean | 2 +- Mathlib/Probability/Distributions/Fernique.lean | 3 ++- .../Gaussian/HasGaussianLaw/Independence.lean | 1 + Mathlib/Probability/IdentDistribIndep.lean | 1 + Mathlib/Probability/Independence/Conditional.lean | 3 ++- Mathlib/Probability/Independence/Kernel/Indep.lean | 1 + Mathlib/Probability/Independence/Kernel/IndepFun.lean | 2 +- Mathlib/Probability/Independence/Process/Basic.lean | 3 ++- Mathlib/Probability/Kernel/Composition/ParallelComp.lean | 1 + Mathlib/Probability/Kernel/Deterministic.lean | 3 ++- .../Kernel/Disintegration/MeasurableStieltjes.lean | 3 ++- Mathlib/Probability/Kernel/IonescuTulcea/Traj.lean | 3 ++- Mathlib/Probability/Kernel/SetIntegral.lean | 3 ++- Mathlib/Probability/Martingale/BorelCantelli.lean | 5 +++-- Mathlib/Probability/Martingale/Upcrossing.lean | 1 + Mathlib/Probability/Moments/Basic.lean | 1 + Mathlib/Probability/Moments/ComplexMGF.lean | 5 +++-- Mathlib/Probability/Moments/Covariance.lean | 3 ++- Mathlib/Probability/Moments/CovarianceBilin.lean | 3 ++- Mathlib/Probability/Moments/MGFAnalytic.lean | 1 + Mathlib/Probability/Moments/Variance.lean | 1 + Mathlib/Probability/Process/HittingTime.lean | 1 + Mathlib/Probability/StrongLaw.lean | 3 ++- Mathlib/RepresentationTheory/Character.lean | 3 ++- Mathlib/RepresentationTheory/Continuous/Basic.lean | 3 ++- Mathlib/RepresentationTheory/FinGroupCharZero.lean | 3 ++- .../Homological/ContCohomology/Sha.lean | 3 ++- .../RepresentationTheory/Homological/FiniteCyclic.lean | 3 ++- .../Homological/GroupCohomology/LongExactSequence.lean | 3 ++- .../Homological/GroupHomology/LongExactSequence.lean | 3 ++- .../Homological/TateCohomology/Basic.lean | 3 ++- Mathlib/RepresentationTheory/Maschke.lean | 3 ++- Mathlib/RingTheory/AdicCompletion/Basic.lean | 3 ++- Mathlib/RingTheory/AdicCompletion/Noetherian.lean | 3 ++- Mathlib/RingTheory/Adjoin/Basic.lean | 1 + Mathlib/RingTheory/Adjoin/Dimension.lean | 1 + Mathlib/RingTheory/Adjoin/FG.lean | 1 + Mathlib/RingTheory/Algebraic/Cardinality.lean | 3 ++- Mathlib/RingTheory/Algebraic/Integral.lean | 3 ++- Mathlib/RingTheory/Algebraic/StronglyTranscendental.lean | 1 + .../AlgebraicIndependent/RankAndCardinality.lean | 3 ++- Mathlib/RingTheory/Artinian/Algebra.lean | 1 + Mathlib/RingTheory/Artinian/Instances.lean | 5 +++-- Mathlib/RingTheory/Artinian/Ring.lean | 3 ++- Mathlib/RingTheory/Binomial.lean | 3 ++- Mathlib/RingTheory/Congruence/Star.lean | 3 ++- Mathlib/RingTheory/Coprime/Basic.lean | 5 +++-- Mathlib/RingTheory/Coprime/Ideal.lean | 3 ++- Mathlib/RingTheory/DedekindDomain/Different.lean | 3 ++- Mathlib/RingTheory/DedekindDomain/FiniteAdeleRing.lean | 3 ++- Mathlib/RingTheory/DedekindDomain/Instances.lean | 1 + Mathlib/RingTheory/DedekindDomain/PID.lean | 1 + Mathlib/RingTheory/Depth/Rees.lean | 5 +++-- Mathlib/RingTheory/Discriminant.lean | 3 ++- Mathlib/RingTheory/DividedPowerAlgebra/Init.lean | 3 ++- Mathlib/RingTheory/DualNumber.lean | 1 + Mathlib/RingTheory/Etale/Descent.lean | 1 + Mathlib/RingTheory/Etale/QuasiFinite.lean | 1 + Mathlib/RingTheory/Etale/StandardEtale.lean | 1 + Mathlib/RingTheory/Extension/Cotangent/BaseChange.lean | 1 + Mathlib/RingTheory/Extension/Cotangent/Free.lean | 3 ++- Mathlib/RingTheory/Extension/Presentation/Basic.lean | 1 + Mathlib/RingTheory/FilteredAlgebra/Basic.lean | 1 + Mathlib/RingTheory/Filtration.lean | 3 ++- Mathlib/RingTheory/FinitePresentation.lean | 3 ++- Mathlib/RingTheory/FiniteStability.lean | 3 ++- Mathlib/RingTheory/Finiteness/Descent.lean | 1 + Mathlib/RingTheory/Finiteness/Ideal.lean | 3 ++- Mathlib/RingTheory/Finiteness/Lattice.lean | 3 ++- Mathlib/RingTheory/Finiteness/NilpotentKer.lean | 3 ++- Mathlib/RingTheory/Finiteness/Prod.lean | 3 ++- Mathlib/RingTheory/Finiteness/Subalgebra.lean | 3 ++- Mathlib/RingTheory/Fintype.lean | 1 + Mathlib/RingTheory/Flat/Basic.lean | 1 + Mathlib/RingTheory/Flat/Domain.lean | 3 ++- Mathlib/RingTheory/Flat/Equalizer.lean | 1 + Mathlib/RingTheory/Flat/FaithfullyFlat/Basic.lean | 3 ++- Mathlib/RingTheory/Flat/FaithfullyFlat/Descent.lean | 1 + Mathlib/RingTheory/Flat/IsBaseChange.lean | 3 ++- Mathlib/RingTheory/Flat/Rank.lean | 3 ++- Mathlib/RingTheory/Flat/TorsionFree.lean | 3 ++- Mathlib/RingTheory/FormalGroup/Basic.lean | 1 + Mathlib/RingTheory/FractionalIdeal/Norm.lean | 1 + Mathlib/RingTheory/FractionalIdeal/Operations.lean | 3 ++- Mathlib/RingTheory/Frobenius.lean | 5 +++-- .../GradedAlgebra/HomogeneousLocalization.lean | 3 ++- Mathlib/RingTheory/HahnSeries/HahnEmbedding.lean | 3 ++- Mathlib/RingTheory/HahnSeries/Lex.lean | 1 + Mathlib/RingTheory/HahnSeries/PowerSeries.lean | 3 ++- Mathlib/RingTheory/HopkinsLevitzki.lean | 3 ++- Mathlib/RingTheory/Ideal/AssociatedPrime/Basic.lean | 5 +++-- Mathlib/RingTheory/Ideal/Cotangent.lean | 3 ++- Mathlib/RingTheory/Ideal/GoingDown.lean | 3 ++- Mathlib/RingTheory/Ideal/Height.lean | 3 ++- Mathlib/RingTheory/Ideal/KrullsHeightTheorem.lean | 1 + Mathlib/RingTheory/Ideal/MinimalPrime/Colon.lean | 3 ++- Mathlib/RingTheory/Ideal/MinimalPrime/Localization.lean | 1 + Mathlib/RingTheory/Ideal/MonicSpan.lean | 3 ++- Mathlib/RingTheory/Ideal/Norm/AbsNorm.lean | 3 ++- Mathlib/RingTheory/Ideal/Norm/RelNorm.lean | 3 ++- Mathlib/RingTheory/Ideal/Over.lean | 3 ++- Mathlib/RingTheory/Ideal/Pure.lean | 5 +++-- Mathlib/RingTheory/Ideal/Quotient/Basic.lean | 5 +++-- Mathlib/RingTheory/Ideal/Quotient/ChineseRemainder.lean | 3 ++- Mathlib/RingTheory/Ideal/Quotient/Index.lean | 7 ++++--- Mathlib/RingTheory/Ideal/UFD.lean | 3 ++- Mathlib/RingTheory/Idempotents.lean | 3 ++- Mathlib/RingTheory/IntegralClosure/GoingDown.lean | 1 + .../IntegralClosure/IsIntegral/AlmostIntegral.lean | 3 ++- Mathlib/RingTheory/IntegralClosure/IsIntegral/Basic.lean | 3 ++- Mathlib/RingTheory/IntegralDomain.lean | 3 ++- Mathlib/RingTheory/Invariant/Profinite.lean | 1 + Mathlib/RingTheory/IsAdjoinRoot.lean | 3 ++- Mathlib/RingTheory/IsPrimary.lean | 3 ++- Mathlib/RingTheory/Jacobson/Radical.lean | 3 ++- Mathlib/RingTheory/KrullDimension/LocalRing.lean | 3 ++- Mathlib/RingTheory/KrullDimension/NonZeroDivisors.lean | 5 +++-- Mathlib/RingTheory/KrullDimension/PID.lean | 1 + Mathlib/RingTheory/KrullDimension/Polynomial.lean | 1 + Mathlib/RingTheory/KrullDimension/Regular.lean | 3 ++- Mathlib/RingTheory/LaurentSeries.lean | 1 + Mathlib/RingTheory/Length.lean | 3 ++- Mathlib/RingTheory/LinearDisjoint.lean | 9 +++++---- Mathlib/RingTheory/LocalIso.lean | 1 + Mathlib/RingTheory/LocalProperties/Basic.lean | 3 ++- Mathlib/RingTheory/LocalProperties/Exactness.lean | 3 ++- .../RingTheory/LocalProperties/FinitePresentation.lean | 1 + Mathlib/RingTheory/LocalProperties/Injective.lean | 3 ++- .../RingTheory/LocalProperties/InjectiveDimension.lean | 5 +++-- Mathlib/RingTheory/LocalProperties/Projective.lean | 3 ++- .../RingTheory/LocalProperties/ProjectiveDimension.lean | 3 ++- Mathlib/RingTheory/LocalProperties/Semilocal.lean | 3 ++- Mathlib/RingTheory/LocalRing/Etale.lean | 3 ++- Mathlib/RingTheory/LocalRing/MaximalIdeal/Square.lean | 1 + Mathlib/RingTheory/LocalRing/NonLocalRing.lean | 1 + Mathlib/RingTheory/LocalRing/Pullback.lean | 6 +++--- Mathlib/RingTheory/LocalRing/Quotient.lean | 1 + Mathlib/RingTheory/LocalRing/ResidueField/Separable.lean | 3 ++- Mathlib/RingTheory/Localization/AtPrime/Extension.lean | 3 ++- Mathlib/RingTheory/Localization/Basic.lean | 3 ++- Mathlib/RingTheory/Localization/Cardinality.lean | 3 ++- Mathlib/RingTheory/Localization/Free.lean | 3 ++- Mathlib/RingTheory/Localization/Pi.lean | 3 ++- Mathlib/RingTheory/Morita/Basic.lean | 1 + Mathlib/RingTheory/MvPolynomial/Ideal.lean | 5 +++-- .../RingTheory/MvPolynomial/IrreducibleQuadratic.lean | 1 + .../MvPolynomial/Symmetric/FundamentalTheorem.lean | 3 ++- Mathlib/RingTheory/MvPolynomial/Tower.lean | 3 ++- Mathlib/RingTheory/MvPowerSeries/Equiv.lean | 2 +- Mathlib/RingTheory/MvPowerSeries/Evaluation.lean | 3 ++- Mathlib/RingTheory/MvPowerSeries/GaussNorm.lean | 3 ++- Mathlib/RingTheory/MvPowerSeries/Ideal.lean | 1 + Mathlib/RingTheory/MvPowerSeries/LinearTopology.lean | 3 ++- Mathlib/RingTheory/MvPowerSeries/NoZeroDivisors.lean | 3 ++- Mathlib/RingTheory/MvPowerSeries/Restricted.lean | 5 +++-- Mathlib/RingTheory/Nilpotent/Defs.lean | 3 ++- Mathlib/RingTheory/Nilpotent/Exp.lean | 5 +++-- Mathlib/RingTheory/Nilpotent/GeometricallyReduced.lean | 3 ++- Mathlib/RingTheory/NoetherNormalization.lean | 3 ++- Mathlib/RingTheory/OrderOfVanishing/Basic.lean | 3 ++- Mathlib/RingTheory/OrderOfVanishing/Noetherian.lean | 3 ++- Mathlib/RingTheory/Perfection.lean | 5 +++-- Mathlib/RingTheory/Perfectoid/FontaineTheta.lean | 3 ++- Mathlib/RingTheory/Polynomial/Bernstein.lean | 7 ++++--- Mathlib/RingTheory/Polynomial/ContentIdeal.lean | 3 ++- Mathlib/RingTheory/Polynomial/Cyclotomic/Expand.lean | 3 ++- .../RingTheory/Polynomial/Cyclotomic/Factorization.lean | 3 ++- Mathlib/RingTheory/Polynomial/DegreeLT.lean | 1 + Mathlib/RingTheory/Polynomial/Dickson.lean | 5 +++-- Mathlib/RingTheory/Polynomial/Eisenstein/Basic.lean | 3 ++- Mathlib/RingTheory/Polynomial/Eisenstein/IsIntegral.lean | 3 ++- Mathlib/RingTheory/Polynomial/GaussNorm.lean | 3 ++- Mathlib/RingTheory/Polynomial/HilbertPoly.lean | 5 +++-- Mathlib/RingTheory/Polynomial/IrreducibleRing.lean | 3 ++- Mathlib/RingTheory/Polynomial/IsIntegral.lean | 5 +++-- Mathlib/RingTheory/Polynomial/Opposites.lean | 1 + Mathlib/RingTheory/Polynomial/Pochhammer.lean | 3 ++- Mathlib/RingTheory/Polynomial/Quotient.lean | 3 ++- Mathlib/RingTheory/Polynomial/Radical.lean | 1 + Mathlib/RingTheory/Polynomial/Selmer.lean | 1 + Mathlib/RingTheory/Polynomial/SmallDegreeVieta.lean | 3 ++- .../Polynomial/UniversalFactorizationRing.lean | 5 +++-- Mathlib/RingTheory/PolynomialLaw/Basic.lean | 3 ++- Mathlib/RingTheory/PowerSeries/Basic.lean | 3 ++- Mathlib/RingTheory/PowerSeries/CoeffMulMem.lean | 3 ++- Mathlib/RingTheory/PowerSeries/Derivative.lean | 3 ++- Mathlib/RingTheory/PowerSeries/Exp.lean | 5 +++-- Mathlib/RingTheory/PowerSeries/Ideal.lean | 3 ++- Mathlib/RingTheory/PowerSeries/Log.lean | 3 ++- Mathlib/RingTheory/PowerSeries/Substitution.lean | 1 + Mathlib/RingTheory/PowerSeries/Trunc.lean | 3 ++- .../RingTheory/PowerSeries/WeierstrassPreparation.lean | 5 +++-- Mathlib/RingTheory/PowerSeries/WellKnown.lean | 3 ++- Mathlib/RingTheory/Prime.lean | 3 ++- Mathlib/RingTheory/PrincipalIdealDomainOfPrime.lean | 1 + Mathlib/RingTheory/QuasiFinite/Basic.lean | 3 ++- Mathlib/RingTheory/Radical/NatInt.lean | 3 ++- Mathlib/RingTheory/RamificationInertia/Basic.lean | 1 + Mathlib/RingTheory/RamificationInertia/Inertia.lean | 3 ++- Mathlib/RingTheory/RamificationInertia/Ramification.lean | 5 +++-- Mathlib/RingTheory/Regular/Free.lean | 3 ++- Mathlib/RingTheory/Regular/LinearMap.lean | 3 ++- Mathlib/RingTheory/Regular/ProjectiveDimension.lean | 5 +++-- Mathlib/RingTheory/Regular/RegularSequence.lean | 3 ++- Mathlib/RingTheory/RegularLocalRing/Defs.lean | 3 ++- Mathlib/RingTheory/RegularLocalRing/Polynomial.lean | 3 ++- Mathlib/RingTheory/RingHom/Bijective.lean | 1 + Mathlib/RingTheory/RingHom/Finite.lean | 1 + Mathlib/RingTheory/RingHom/FinitePresentation.lean | 5 +++-- Mathlib/RingTheory/RingHom/FiniteType.lean | 5 +++-- Mathlib/RingTheory/RingHom/Flat.lean | 3 ++- Mathlib/RingTheory/RootsOfUnity/Complex.lean | 1 + Mathlib/RingTheory/RootsOfUnity/Minpoly.lean | 1 + Mathlib/RingTheory/RootsOfUnity/PrimitiveRoots.lean | 3 ++- Mathlib/RingTheory/SimpleModule/Basic.lean | 9 +++++---- Mathlib/RingTheory/SimpleModule/WedderburnArtin.lean | 1 + Mathlib/RingTheory/SimpleRing/Principal.lean | 1 + Mathlib/RingTheory/Smooth/Basic.lean | 3 ++- Mathlib/RingTheory/Smooth/Fiber.lean | 3 ++- Mathlib/RingTheory/Smooth/Local.lean | 5 +++-- Mathlib/RingTheory/Smooth/NoetherianDescent.lean | 3 ++- Mathlib/RingTheory/Spectrum/Prime/Chevalley.lean | 3 ++- .../RingTheory/Spectrum/Prime/ChevalleyComplexity.lean | 3 ++- Mathlib/RingTheory/Spectrum/Prime/FreeLocus.lean | 3 ++- Mathlib/RingTheory/Spectrum/Prime/Homeomorph.lean | 3 ++- Mathlib/RingTheory/Teichmuller.lean | 3 ++- Mathlib/RingTheory/TensorProduct/IsBaseChangeHom.lean | 3 ++- Mathlib/RingTheory/TensorProduct/IsBaseChangePi.lean | 3 ++- .../RingTheory/TensorProduct/IsBaseChangeRightExact.lean | 3 ++- Mathlib/RingTheory/TensorProduct/Nontrivial.lean | 3 ++- Mathlib/RingTheory/TotallySplit.lean | 3 ++- Mathlib/RingTheory/Trace/Basic.lean | 3 ++- Mathlib/RingTheory/Trace/Quotient.lean | 3 ++- Mathlib/RingTheory/UniqueFactorizationDomain/Basic.lean | 3 ++- .../RingTheory/UniqueFactorizationDomain/Kaplansky.lean | 3 ++- Mathlib/RingTheory/UniqueFactorizationDomain/Nat.lean | 3 ++- Mathlib/RingTheory/Unramified/Basic.lean | 5 +++-- Mathlib/RingTheory/Unramified/Dedekind.lean | 3 ++- Mathlib/RingTheory/Unramified/Finite.lean | 3 ++- Mathlib/RingTheory/Unramified/LocalStructure.lean | 5 +++-- Mathlib/RingTheory/Valuation/Basic.lean | 3 ++- Mathlib/RingTheory/Valuation/DiscreteValuativeRel.lean | 3 ++- Mathlib/RingTheory/Valuation/LocalSubring.lean | 3 ++- Mathlib/RingTheory/Valuation/Minpoly.lean | 3 ++- Mathlib/RingTheory/Valuation/RankOne.lean | 3 ++- Mathlib/RingTheory/WittVector/Compare.lean | 3 ++- Mathlib/RingTheory/WittVector/Frobenius.lean | 3 ++- Mathlib/RingTheory/WittVector/Identities.lean | 1 + Mathlib/RingTheory/WittVector/MulCoeff.lean | 3 ++- Mathlib/RingTheory/WittVector/StructurePolynomial.lean | 3 ++- Mathlib/RingTheory/WittVector/WittPolynomial.lean | 1 + Mathlib/RingTheory/ZMod.lean | 3 ++- Mathlib/RingTheory/ZMod/Torsion.lean | 1 + Mathlib/RingTheory/ZMod/UnitsCyclic.lean | 3 ++- Mathlib/RingTheory/ZariskisMainTheorem.lean | 3 ++- Mathlib/SetTheory/Cardinal/CountableCover.lean | 3 ++- Mathlib/SetTheory/Cardinal/Embedding.lean | 1 + Mathlib/SetTheory/Cardinal/Free.lean | 5 +++-- Mathlib/SetTheory/Cardinal/Order.lean | 3 ++- Mathlib/SetTheory/Cardinal/Rat.lean | 3 ++- Mathlib/SetTheory/Cardinal/Subfield.lean | 1 + Mathlib/SetTheory/Lists.lean | 3 ++- Mathlib/SetTheory/Ordinal/Notation.lean | 5 +++-- Mathlib/SetTheory/Ordinal/Topology.lean | 3 ++- Mathlib/Tactic/Algebra/Lemmas.lean | 3 ++- Mathlib/Tactic/Attr/Core.lean | 3 ++- Mathlib/Tactic/Cases.lean | 3 ++- Mathlib/Tactic/Clean.lean | 3 ++- Mathlib/Tactic/ClickSuggestions/TryPremises.lean | 1 + Mathlib/Tactic/ClickSuggestions/Unfold.lean | 3 ++- .../ComputeAsymptotics/Multiseries/Corecursion.lean | 1 + Mathlib/Tactic/ContinuousFunctionalCalculus.lean | 1 + Mathlib/Tactic/Convert.lean | 1 + Mathlib/Tactic/DSimpPercent.lean | 1 + Mathlib/Tactic/DepRewrite.lean | 3 ++- Mathlib/Tactic/DeprecateTo.lean | 4 ++-- Mathlib/Tactic/DeriveEncodable.lean | 1 + Mathlib/Tactic/DuplicateDecls.lean | 1 + Mathlib/Tactic/Echelon/Cert.lean | 3 ++- Mathlib/Tactic/Ext.lean | 3 ++- Mathlib/Tactic/ExtractGoal.lean | 3 ++- Mathlib/Tactic/FieldSimp/Discharger.lean | 3 ++- Mathlib/Tactic/FinCases.lean | 3 ++- Mathlib/Tactic/Finiteness/Attr.lean | 3 ++- Mathlib/Tactic/FunProp/Elab.lean | 2 +- Mathlib/Tactic/FunProp/Theorems.lean | 3 ++- Mathlib/Tactic/GRewrite/Core.lean | 1 + Mathlib/Tactic/GRewrite/Elab.lean | 3 ++- Mathlib/Tactic/Generalize.lean | 3 ++- Mathlib/Tactic/GrindAttrs.lean | 1 + Mathlib/Tactic/GuardGoalNums.lean | 3 ++- Mathlib/Tactic/GuardHypNums.lean | 3 ++- .../Inclusion/Extension/IntervalDyadicReal/Rational.lean | 1 + .../Inclusion/Extension/IntervalDyadicReal/Tactic.lean | 3 ++- Mathlib/Tactic/IrreducibleDef.lean | 3 ++- Mathlib/Tactic/Lift.lean | 1 + Mathlib/Tactic/Linter/DirectoryDependency.lean | 3 ++- Mathlib/Tactic/Linter/DocString.lean | 1 + Mathlib/Tactic/Linter/PrivateModule.lean | 3 ++- Mathlib/Tactic/Linter/Style.lean | 3 ++- Mathlib/Tactic/Matrix/Parsing.lean | 1 + Mathlib/Tactic/Measurability/Init.lean | 3 ++- Mathlib/Tactic/NormNum/Irrational.lean | 3 ++- Mathlib/Tactic/NormNum/OfScientific.lean | 3 ++- Mathlib/Tactic/NormNum/Result.lean | 4 ++-- Mathlib/Tactic/Observe.lean | 3 ++- Mathlib/Tactic/Polynomial/Core.lean | 3 ++- Mathlib/Tactic/Polyrith.lean | 1 + Mathlib/Tactic/ReduceModChar/Ext.lean | 3 ++- Mathlib/Tactic/Relation/Rfl.lean | 3 ++- Mathlib/Tactic/Relation/Symm.lean | 3 ++- Mathlib/Tactic/SetLike.lean | 3 ++- Mathlib/Tactic/SimpIntro.lean | 3 ++- Mathlib/Tactic/SimpLibraryNote.lean | 1 + Mathlib/Tactic/Simproc/Divisors.lean | 1 + Mathlib/Tactic/Simproc/ExistsAndEq.lean | 1 + Mathlib/Tactic/SuppressCompilation.lean | 3 ++- Mathlib/Tactic/TFAE.lean | 3 ++- Mathlib/Tactic/ToDual.lean | 3 ++- Mathlib/Tactic/Trace.lean | 3 ++- Mathlib/Tactic/Translate/UnfoldBoundary.lean | 3 ++- Mathlib/Tactic/TryThis.lean | 3 ++- Mathlib/Tactic/WLOG.lean | 3 ++- Mathlib/Tactic/Widget/Calc.lean | 4 ++-- Mathlib/Tactic/Widget/CongrM.lean | 3 ++- Mathlib/Tactic/Widget/Conv.lean | 5 +++-- Mathlib/Tactic/Widget/GCongr.lean | 3 ++- Mathlib/Tactic/Widget/LibraryRewrite.lean | 5 +++-- Mathlib/Tactic/Widget/StringDiagram.lean | 3 ++- Mathlib/Tactic/WithoutCDot.lean | 1 + Mathlib/Testing/Plausible/Functions.lean | 3 ++- Mathlib/Testing/Plausible/Sampleable.lean | 3 ++- Mathlib/Testing/Plausible/Testable.lean | 2 +- Mathlib/Topology/Algebra/AsymptoticCone.lean | 3 ++- .../Algebra/Category/ProfiniteGrp/Completion.lean | 3 ++- .../Topology/Algebra/Category/ProfiniteGrp/Limits.lean | 3 ++- Mathlib/Topology/Algebra/ClopenNhdofOne.lean | 1 + Mathlib/Topology/Algebra/ConstMulAction.lean | 3 ++- Mathlib/Topology/Algebra/Group/CompactOpen.lean | 5 +++-- .../Topology/Algebra/Group/DiscontinuousSubgroup.lean | 3 ++- Mathlib/Topology/Algebra/Group/Matrix.lean | 3 ++- Mathlib/Topology/Algebra/Group/Order.lean | 3 ++- Mathlib/Topology/Algebra/Group/Pointwise.lean | 3 ++- Mathlib/Topology/Algebra/Group/SubmonoidClosure.lean | 3 ++- .../Algebra/Group/TopologicalAbelianization.lean | 3 ++- Mathlib/Topology/Algebra/Group/Torsor.lean | 4 ++-- Mathlib/Topology/Algebra/Indicator.lean | 3 ++- Mathlib/Topology/Algebra/InfiniteSum/Basic.lean | 2 +- Mathlib/Topology/Algebra/InfiniteSum/ConditionalInt.lean | 5 +++-- Mathlib/Topology/Algebra/InfiniteSum/Defs.lean | 1 + Mathlib/Topology/Algebra/InfiniteSum/Field.lean | 3 ++- Mathlib/Topology/Algebra/InfiniteSum/NatInt.lean | 5 +++-- Mathlib/Topology/Algebra/InfiniteSum/Nonarchimedean.lean | 5 +++-- Mathlib/Topology/Algebra/InfiniteSum/Order.lean | 3 ++- .../Topology/Algebra/InfiniteSum/SummationFilter.lean | 3 ++- .../Topology/Algebra/InfiniteSum/TsumUniformlyOn.lean | 3 ++- Mathlib/Topology/Algebra/InfiniteSum/UniformOn.lean | 1 + Mathlib/Topology/Algebra/IsOpenUnits.lean | 3 ++- Mathlib/Topology/Algebra/IsUniformGroup/Basic.lean | 5 +++-- .../Algebra/IsUniformGroup/DiscreteSubgroup.lean | 3 ++- Mathlib/Topology/Algebra/MetricSpace/Lipschitz.lean | 3 ++- Mathlib/Topology/Algebra/Module/Cardinality.lean | 3 ++- Mathlib/Topology/Algebra/Module/Compact.lean | 3 ++- Mathlib/Topology/Algebra/Module/EmbeddingOfLocal.lean | 3 ++- Mathlib/Topology/Algebra/Module/LocallyConvex.lean | 1 + Mathlib/Topology/Algebra/Module/Multilinear/Basic.lean | 1 + Mathlib/Topology/Algebra/Module/TopDualPairing.lean | 3 ++- Mathlib/Topology/Algebra/Module/TransferInstance.lean | 1 + Mathlib/Topology/Algebra/Module/UniformConvergence.lean | 3 ++- Mathlib/Topology/Algebra/Order/ArchimedeanDiscrete.lean | 3 ++- Mathlib/Topology/Algebra/Order/Field.lean | 3 ++- Mathlib/Topology/Algebra/Order/Group.lean | 3 ++- Mathlib/Topology/Algebra/Order/LiminfLimsup.lean | 3 ++- Mathlib/Topology/Algebra/Order/Support.lean | 3 ++- Mathlib/Topology/Algebra/ProperAction/Basic.lean | 1 + .../Algebra/RestrictedProduct/TopologicalSpace.lean | 3 ++- Mathlib/Topology/Algebra/Ring/Basic.lean | 3 ++- Mathlib/Topology/Algebra/Ring/Compact.lean | 1 + Mathlib/Topology/Algebra/Ring/Ideal.lean | 3 ++- Mathlib/Topology/Algebra/SeparationQuotient/Section.lean | 3 ++- Mathlib/Topology/Algebra/Valued/WithZeroMulInt.lean | 3 ++- Mathlib/Topology/Baire/CompleteMetrizable.lean | 3 ++- Mathlib/Topology/Baire/Lemmas.lean | 3 ++- Mathlib/Topology/Bases.lean | 3 ++- Mathlib/Topology/Category/CompHausLike/Basic.lean | 1 + Mathlib/Topology/Category/LightProfinite/Basic.lean | 1 + Mathlib/Topology/Category/LightProfinite/Injective.lean | 1 + Mathlib/Topology/Category/Profinite/CofilteredLimit.lean | 3 ++- .../Topology/Category/Profinite/Nobeling/Induction.lean | 1 + Mathlib/Topology/Category/Profinite/Nobeling/Span.lean | 3 ++- .../Topology/Category/Profinite/Nobeling/ZeroLimit.lean | 3 ++- Mathlib/Topology/Category/TopCat/EpiMono.lean | 1 + .../Topology/Category/TopCat/GrothendieckTopology.lean | 3 ++- Mathlib/Topology/Category/TopCat/Opens.lean | 5 +++-- Mathlib/Topology/Category/TopCat/ULift.lean | 1 + Mathlib/Topology/Category/TopCat/Yoneda.lean | 3 ++- Mathlib/Topology/Category/UniformSpace.lean | 3 ++- Mathlib/Topology/ClopenBox.lean | 3 ++- Mathlib/Topology/Compactification/OnePoint/Basic.lean | 1 + .../Compactification/OnePoint/ProjectiveLine.lean | 3 ++- Mathlib/Topology/Compactness/Bases.lean | 1 + .../Topology/Compactness/CompactlyGeneratedSpace.lean | 1 + Mathlib/Topology/Compactness/LocallyFinite.lean | 1 + Mathlib/Topology/Connected/CardComponents.lean | 3 ++- Mathlib/Topology/Constructions.lean | 1 + Mathlib/Topology/ContinuousMap/Bounded/ArzelaAscoli.lean | 1 + Mathlib/Topology/ContinuousMap/Compact.lean | 1 + Mathlib/Topology/ContinuousMap/Ideals.lean | 3 ++- Mathlib/Topology/ContinuousMap/StoneWeierstrass.lean | 3 ++- Mathlib/Topology/Convenient/OpenClosed.lean | 3 ++- Mathlib/Topology/EMetricSpace/BoundedVariation.lean | 3 ++- Mathlib/Topology/FiberBundle/Basic.lean | 1 + Mathlib/Topology/Filter.lean | 3 ++- Mathlib/Topology/GDelta/Basic.lean | 1 + Mathlib/Topology/Gluing.lean | 1 + Mathlib/Topology/Homotopy/HomotopyGroup.lean | 3 ++- Mathlib/Topology/Instances/AddCircle/Defs.lean | 1 + Mathlib/Topology/Instances/AddCircle/DenseSubgroup.lean | 1 + Mathlib/Topology/Instances/CantorSet.lean | 3 ++- Mathlib/Topology/Instances/Complex.lean | 1 + Mathlib/Topology/Instances/ENNReal/ENatENNReal.lean | 3 ++- Mathlib/Topology/Instances/Irrational.lean | 3 ++- Mathlib/Topology/Instances/Rat.lean | 3 ++- Mathlib/Topology/Instances/RatLemmas.lean | 3 ++- Mathlib/Topology/Instances/TrivSqZeroExt.lean | 3 ++- Mathlib/Topology/Instances/ZMultiples.lean | 3 ++- Mathlib/Topology/Irreducible.lean | 1 + Mathlib/Topology/List.lean | 5 +++-- Mathlib/Topology/LocallyClosed.lean | 1 + Mathlib/Topology/LocallyConstant/Algebra.lean | 3 ++- Mathlib/Topology/LocallyFinsupp.lean | 5 +++-- Mathlib/Topology/Maps/Basic.lean | 1 + Mathlib/Topology/Maps/Strict/Basic.lean | 1 + Mathlib/Topology/MetricSpace/Algebra.lean | 1 + Mathlib/Topology/MetricSpace/Bilipschitz.lean | 1 + Mathlib/Topology/MetricSpace/CauSeqFilter.lean | 1 + Mathlib/Topology/MetricSpace/Completion.lean | 3 ++- Mathlib/Topology/MetricSpace/Contracting.lean | 3 ++- Mathlib/Topology/MetricSpace/Dilation.lean | 1 + Mathlib/Topology/MetricSpace/Gluing.lean | 3 ++- Mathlib/Topology/MetricSpace/GromovHausdorff.lean | 5 +++-- .../Topology/MetricSpace/GromovHausdorffRealized.lean | 3 ++- Mathlib/Topology/MetricSpace/HausdorffDimension.lean | 1 + Mathlib/Topology/MetricSpace/PartitionOfUnity.lean | 3 ++- Mathlib/Topology/MetricSpace/Perfect.lean | 1 + Mathlib/Topology/MetricSpace/PiNat.lean | 5 +++-- Mathlib/Topology/MetricSpace/ProperSpace.lean | 3 ++- Mathlib/Topology/MetricSpace/ProperSpace/Real.lean | 3 ++- Mathlib/Topology/MetricSpace/Pseudo/Defs.lean | 1 + Mathlib/Topology/MetricSpace/Pseudo/Real.lean | 3 ++- Mathlib/Topology/MetricSpace/Sequences.lean | 3 ++- Mathlib/Topology/MetricSpace/ShrinkingLemma.lean | 3 ++- Mathlib/Topology/MetricSpace/Similarity.lean | 1 + Mathlib/Topology/MetricSpace/Snowflaking.lean | 1 + Mathlib/Topology/MetricSpace/Ultra/Basic.lean | 1 + Mathlib/Topology/Metrizable/CompletelyMetrizable.lean | 1 + Mathlib/Topology/Metrizable/ContinuousMap.lean | 3 ++- Mathlib/Topology/Metrizable/Real.lean | 3 ++- Mathlib/Topology/Order/AtTopBotIxx.lean | 1 + Mathlib/Topology/Order/IntermediateValue.lean | 3 ++- Mathlib/Topology/Order/IsLUB.lean | 3 ++- Mathlib/Topology/Order/Rolle.lean | 1 + Mathlib/Topology/Order/UpperLowerSetTopology.lean | 3 ++- Mathlib/Topology/PartitionOfUnity.lean | 3 ++- Mathlib/Topology/Semicontinuity/Defs.lean | 1 + Mathlib/Topology/Semicontinuity/Hemicontinuity.lean | 1 + Mathlib/Topology/Semicontinuity/Michael.lean | 1 + Mathlib/Topology/Separation/CompletelyRegular.lean | 2 +- Mathlib/Topology/Separation/DisjointCover.lean | 3 ++- Mathlib/Topology/Separation/Lemmas.lean | 3 ++- Mathlib/Topology/Separation/Profinite.lean | 3 ++- Mathlib/Topology/Separation/SeparatedNhds.lean | 3 ++- Mathlib/Topology/Sets/Opens.lean | 3 ++- Mathlib/Topology/Sheaves/CommRingCat.lean | 3 ++- Mathlib/Topology/Sheaves/Flasque.lean | 3 ++- Mathlib/Topology/Sheaves/Init.lean | 3 ++- Mathlib/Topology/Sheaves/Points.lean | 1 + Mathlib/Topology/Sheaves/Sheafify.lean | 1 + Mathlib/Topology/Sheaves/Skyscraper.lean | 3 ++- Mathlib/Topology/SmallInductiveDimension.lean | 2 +- Mathlib/Topology/Spectral/ConstructibleTopology.lean | 3 ++- Mathlib/Topology/Subpath.lean | 3 ++- Mathlib/Topology/TietzeExtension.lean | 3 ++- Mathlib/Topology/UniformSpace/Compact.lean | 1 + Mathlib/Topology/UniformSpace/HeineCantor.lean | 3 ++- Mathlib/Topology/UniformSpace/Path.lean | 1 + Mathlib/Topology/UniformSpace/ProdApproximation.lean | 3 ++- Mathlib/Util/AssertNoSorry.lean | 3 ++- Mathlib/Util/AtLocation.lean | 5 +++-- Mathlib/Util/AtomM.lean | 1 + Mathlib/Util/DelabNonCanonical.lean | 3 ++- Mathlib/Util/DischargerAsTactic.lean | 1 + Mathlib/Util/FormatTable.lean | 1 + Mathlib/Util/GetAllModules.lean | 3 ++- Mathlib/Util/LongNames.lean | 1 + Mathlib/Util/ParseCommand.lean | 1 + Mathlib/Util/Qq.lean | 3 ++- Mathlib/Util/Simp.lean | 3 ++- Mathlib/Util/SleepHeartbeats.lean | 3 ++- Mathlib/Util/SynthesizeUsing.lean | 3 ++- 2076 files changed, 3648 insertions(+), 1634 deletions(-) diff --git a/Mathlib/Algebra/AddConstMap/Basic.lean b/Mathlib/Algebra/AddConstMap/Basic.lean index e9a21d605bbef3..8ba11e0a8d3516 100644 --- a/Mathlib/Algebra/AddConstMap/Basic.lean +++ b/Mathlib/Algebra/AddConstMap/Basic.lean @@ -9,6 +9,7 @@ public import Mathlib.Algebra.Group.Action.Pi public import Mathlib.Algebra.Group.End public import Mathlib.Algebra.Module.NatInt public import Mathlib.Algebra.Order.Archimedean.Basic + import Mathlib.Algebra.Order.Group.Basic /-! diff --git a/Mathlib/Algebra/AffineMonoid/Embedding.lean b/Mathlib/Algebra/AffineMonoid/Embedding.lean index a55e931f9e7973..511371477e6854 100644 --- a/Mathlib/Algebra/AffineMonoid/Embedding.lean +++ b/Mathlib/Algebra/AffineMonoid/Embedding.lean @@ -6,11 +6,11 @@ Authors: Yaël Dillies, Patrick Luo module public import Mathlib.GroupTheory.MonoidLocalization.GrothendieckGroup +public import Mathlib.LinearAlgebra.Dimension.Free import Mathlib.Algebra.EuclideanDomain.Int import Mathlib.GroupTheory.MonoidLocalization.Finite import Mathlib.LinearAlgebra.FreeModule.PID -public import Mathlib.LinearAlgebra.Dimension.Free /-! # Affine monoids embed into `ℤⁿ` diff --git a/Mathlib/Algebra/Algebra/Spectrum/Pi.lean b/Mathlib/Algebra/Algebra/Spectrum/Pi.lean index f9bfbdf713b2ae..514f38142c7ba1 100644 --- a/Mathlib/Algebra/Algebra/Spectrum/Pi.lean +++ b/Mathlib/Algebra/Algebra/Spectrum/Pi.lean @@ -6,6 +6,7 @@ Authors: Frédéric Dupuis module public import Mathlib.Algebra.Algebra.Spectrum.Quasispectrum + import Mathlib.Algebra.Group.Pi.Units /-! diff --git a/Mathlib/Algebra/Algebra/Spectrum/Quasispectrum.lean b/Mathlib/Algebra/Algebra/Spectrum/Quasispectrum.lean index 06e95968f50b36..18c435c4d6c45b 100644 --- a/Mathlib/Algebra/Algebra/Spectrum/Quasispectrum.lean +++ b/Mathlib/Algebra/Algebra/Spectrum/Quasispectrum.lean @@ -6,9 +6,10 @@ Authors: Jireh Loreaux module public import Mathlib.Algebra.Algebra.Spectrum.Basic -import Mathlib.Algebra.Algebra.Tower public import Mathlib.Algebra.Algebra.Unitization +import Mathlib.Algebra.Algebra.Tower + /-! # Quasiregularity and quasispectrum diff --git a/Mathlib/Algebra/Algebra/Subalgebra/IsSimpleOrder.lean b/Mathlib/Algebra/Algebra/Subalgebra/IsSimpleOrder.lean index eec2256a6d33c1..bd148cce6593c9 100644 --- a/Mathlib/Algebra/Algebra/Subalgebra/IsSimpleOrder.lean +++ b/Mathlib/Algebra/Algebra/Subalgebra/IsSimpleOrder.lean @@ -5,10 +5,11 @@ Authors: Kenny Lau -/ module -import Mathlib.LinearAlgebra.FiniteDimensional.Basic public import Mathlib.LinearAlgebra.Dimension.FreeAndStrongRankCondition public import Mathlib.LinearAlgebra.FreeModule.StrongRankCondition +import Mathlib.LinearAlgebra.FiniteDimensional.Basic + /-! # Subalgebras of an algebra of prime dimension diff --git a/Mathlib/Algebra/Algebra/Unitization.lean b/Mathlib/Algebra/Algebra/Unitization.lean index 65f1646ffe0b76..928fb0fa7bc93d 100644 --- a/Mathlib/Algebra/Algebra/Unitization.lean +++ b/Mathlib/Algebra/Algebra/Unitization.lean @@ -8,9 +8,10 @@ module public import Mathlib.Algebra.Star.Module public import Mathlib.Algebra.Star.StarProjection public import Mathlib.Algebra.Star.NonUnitalSubalgebra -import Mathlib.Tactic.Abel public import Mathlib.Algebra.Module.TransferInstance +import Mathlib.Tactic.Abel + /-! # Unitization of a non-unital algebra diff --git a/Mathlib/Algebra/AlgebraicCard.lean b/Mathlib/Algebra/AlgebraicCard.lean index 5dbac939295bce..0acdc4ae5b43e3 100644 --- a/Mathlib/Algebra/AlgebraicCard.lean +++ b/Mathlib/Algebra/AlgebraicCard.lean @@ -5,9 +5,10 @@ Authors: Violeta Hernández Palacios -/ module -import Mathlib.Algebra.Polynomial.Cardinal public import Mathlib.RingTheory.Algebraic.Basic +import Mathlib.Algebra.Polynomial.Cardinal + /-! # Cardinality of algebraic numbers diff --git a/Mathlib/Algebra/Azumaya/Basic.lean b/Mathlib/Algebra/Azumaya/Basic.lean index a0127eac79c3c6..97f270333f2754 100644 --- a/Mathlib/Algebra/Azumaya/Basic.lean +++ b/Mathlib/Algebra/Azumaya/Basic.lean @@ -6,9 +6,10 @@ Authors: Yunzhou Xie, Jujian Zhang module public import Mathlib.Algebra.Azumaya.Defs -import Mathlib.Algebra.Central.End public import Mathlib.Algebra.Central.TensorProduct +import Mathlib.Algebra.Central.End + /-! # Basic properties of Azumaya algebras diff --git a/Mathlib/Algebra/BigOperators/Associated.lean b/Mathlib/Algebra/BigOperators/Associated.lean index a795d3a546d336..b472efd74b4d57 100644 --- a/Mathlib/Algebra/BigOperators/Associated.lean +++ b/Mathlib/Algebra/BigOperators/Associated.lean @@ -6,9 +6,10 @@ Authors: Johannes Hölzl, Jens Wagemaker, Anne Baanen module public import Mathlib.Algebra.BigOperators.Finsupp.Basic -import Mathlib.Algebra.Group.Submonoid.Membership public import Mathlib.Algebra.GroupWithZero.Associated +import Mathlib.Algebra.Group.Submonoid.Membership + /-! # Products of associated, prime, and irreducible elements. diff --git a/Mathlib/Algebra/BigOperators/Expect.lean b/Mathlib/Algebra/BigOperators/Expect.lean index 371d9bd59e4a47..eb9496308809f6 100644 --- a/Mathlib/Algebra/BigOperators/Expect.lean +++ b/Mathlib/Algebra/BigOperators/Expect.lean @@ -7,12 +7,12 @@ module public import Mathlib.Algebra.Algebra.Rat public import Mathlib.Algebra.BigOperators.GroupWithZero.Action -import Mathlib.Algebra.BigOperators.Ring.Finset public import Mathlib.Algebra.Module.Pi public import Mathlib.Data.Finset.Density public import Mathlib.Data.Fintype.BigOperators public import Mathlib.Algebra.Group.Pointwise.Finset.Basic +import Mathlib.Algebra.BigOperators.Ring.Finset import Mathlib.Algebra.BigOperators.Group.Finset.Indicator /-! diff --git a/Mathlib/Algebra/BigOperators/Group/Finset/Indicator.lean b/Mathlib/Algebra/BigOperators/Group/Finset/Indicator.lean index c30479b0a291d6..e0f8a9d2c14fd3 100644 --- a/Mathlib/Algebra/BigOperators/Group/Finset/Indicator.lean +++ b/Mathlib/Algebra/BigOperators/Group/Finset/Indicator.lean @@ -7,9 +7,10 @@ module public import Mathlib.Algebra.BigOperators.Group.Finset.Basic public import Mathlib.Algebra.Group.Indicator -import Mathlib.Data.Set.Lattice.Disjoint public import Mathlib.Order.CompleteLattice.Finset +import Mathlib.Data.Set.Lattice.Disjoint + /-! # Interaction of big operators with indicator functions -/ diff --git a/Mathlib/Algebra/BigOperators/Group/Finset/Interval.lean b/Mathlib/Algebra/BigOperators/Group/Finset/Interval.lean index 9615d58e09fa82..509031d42120ad 100644 --- a/Mathlib/Algebra/BigOperators/Group/Finset/Interval.lean +++ b/Mathlib/Algebra/BigOperators/Group/Finset/Interval.lean @@ -5,10 +5,11 @@ Authors: Chris Birkbeck -/ module -import Mathlib.Algebra.CharP.Defs public import Mathlib.Algebra.Group.EvenFunction public import Mathlib.Data.Int.Interval +import Mathlib.Algebra.CharP.Defs + /-! # Sums/products over integer intervals diff --git a/Mathlib/Algebra/BigOperators/Group/List/Basic.lean b/Mathlib/Algebra/BigOperators/Group/List/Basic.lean index 26a01ccf3f53ca..0f6eaf60db1a26 100644 --- a/Mathlib/Algebra/BigOperators/Group/List/Basic.lean +++ b/Mathlib/Algebra/BigOperators/Group/List/Basic.lean @@ -5,7 +5,6 @@ Authors: Johannes Hölzl, Floris van Doorn, Sébastien Gouëzel, Alex J. Best -/ module -import Mathlib.Algebra.Divisibility.Basic public import Mathlib.Algebra.Group.Hom.Defs public import Mathlib.Algebra.BigOperators.Group.List.Defs public import Mathlib.Data.List.TakeDrop @@ -17,6 +16,8 @@ public import Mathlib.Algebra.Group.Int.Defs public import Mathlib.Order.Basic public import Mathlib.Data.List.Basic +import Mathlib.Algebra.Divisibility.Basic + /-! # Sums and products from lists diff --git a/Mathlib/Algebra/BigOperators/GroupWithZero/Action.lean b/Mathlib/Algebra/BigOperators/GroupWithZero/Action.lean index e7fd7606cff931..661980852fd367 100644 --- a/Mathlib/Algebra/BigOperators/GroupWithZero/Action.lean +++ b/Mathlib/Algebra/BigOperators/GroupWithZero/Action.lean @@ -6,6 +6,7 @@ Authors: Yury Kudryashov module public import Mathlib.Algebra.BigOperators.Finprod + import Mathlib.Algebra.Group.Action.Basic import Mathlib.Algebra.Group.Units.Equiv diff --git a/Mathlib/Algebra/BigOperators/Intervals.lean b/Mathlib/Algebra/BigOperators/Intervals.lean index bc6a4ecd1235e0..9b26ce30f4e31f 100644 --- a/Mathlib/Algebra/BigOperators/Intervals.lean +++ b/Mathlib/Algebra/BigOperators/Intervals.lean @@ -8,6 +8,7 @@ module public import Mathlib.Algebra.Order.BigOperators.Group.LocallyFinite public import Mathlib.Algebra.Order.Interval.Finset.Basic public import Mathlib.Algebra.Order.Sub.Basic + import Mathlib.Data.Fintype.BigOperators /-! diff --git a/Mathlib/Algebra/BigOperators/ModEq.lean b/Mathlib/Algebra/BigOperators/ModEq.lean index af342c61205a79..9e63bbdd395ebf 100644 --- a/Mathlib/Algebra/BigOperators/ModEq.lean +++ b/Mathlib/Algebra/BigOperators/ModEq.lean @@ -5,9 +5,10 @@ Authors: Yury Kudryashov -/ module -import Mathlib.Algebra.BigOperators.Ring.Finset public import Mathlib.Data.ZMod.Basic +import Mathlib.Algebra.BigOperators.Ring.Finset + /-! # Congruence modulo natural and integer numbers for big operators diff --git a/Mathlib/Algebra/BigOperators/Ring/Nat.lean b/Mathlib/Algebra/BigOperators/Ring/Nat.lean index ddbf8bb96a91f6..19dfb046891ced 100644 --- a/Mathlib/Algebra/BigOperators/Ring/Nat.lean +++ b/Mathlib/Algebra/BigOperators/Ring/Nat.lean @@ -5,10 +5,11 @@ Authors: Pim Otte -/ module -import Mathlib.Algebra.BigOperators.Group.Finset.Lemmas public import Mathlib.Data.Set.Finite.Lattice public import Mathlib.SetTheory.Cardinal.Finite +import Mathlib.Algebra.BigOperators.Group.Finset.Lemmas + /-! # Big operators on a finset in the natural numbers diff --git a/Mathlib/Algebra/BigOperators/RingEquiv.lean b/Mathlib/Algebra/BigOperators/RingEquiv.lean index 2357d6cb9669ce..b2b2031351b3b4 100644 --- a/Mathlib/Algebra/BigOperators/RingEquiv.lean +++ b/Mathlib/Algebra/BigOperators/RingEquiv.lean @@ -6,9 +6,10 @@ Authors: Johannes Hölzl, Callum Sutton, Yury Kudryashov module public import Mathlib.Algebra.Ring.Equiv -import Mathlib.Algebra.Ring.Opposite public import Mathlib.Algebra.BigOperators.Group.Finset.Defs +import Mathlib.Algebra.Ring.Opposite + /-! # Results about mapping big operators across ring equivalences -/ diff --git a/Mathlib/Algebra/BrauerGroup/Defs.lean b/Mathlib/Algebra/BrauerGroup/Defs.lean index 51dd2fbf8c843c..cb3227a5e2f821 100644 --- a/Mathlib/Algebra/BrauerGroup/Defs.lean +++ b/Mathlib/Algebra/BrauerGroup/Defs.lean @@ -8,6 +8,7 @@ module public import Mathlib.Algebra.Category.AlgCat.Basic public import Mathlib.Algebra.Central.Defs public import Mathlib.LinearAlgebra.FiniteDimensional.Defs + import Mathlib.LinearAlgebra.Matrix.Reindex /-! diff --git a/Mathlib/Algebra/Category/AlgCat/FilteredColimits.lean b/Mathlib/Algebra/Category/AlgCat/FilteredColimits.lean index 4123bde45151c5..c1500d6d582a60 100644 --- a/Mathlib/Algebra/Category/AlgCat/FilteredColimits.lean +++ b/Mathlib/Algebra/Category/AlgCat/FilteredColimits.lean @@ -6,9 +6,10 @@ Authors: Christian Merten module public import Mathlib.Algebra.Category.AlgCat.Basic -import Mathlib.Algebra.Category.Ring.Colimits public import Mathlib.Algebra.Category.Ring.FilteredColimits public import Mathlib.CategoryTheory.Limits.ConcreteCategory.Basic + +import Mathlib.Algebra.Category.Ring.Colimits import Mathlib.CategoryTheory.ConcreteCategory.ReflectsIso /-! diff --git a/Mathlib/Algebra/Category/AlgCat/TensorAlgebra.lean b/Mathlib/Algebra/Category/AlgCat/TensorAlgebra.lean index d78f0f0c6ba58b..bb534f78f613f9 100644 --- a/Mathlib/Algebra/Category/AlgCat/TensorAlgebra.lean +++ b/Mathlib/Algebra/Category/AlgCat/TensorAlgebra.lean @@ -6,10 +6,11 @@ Authors: Christian Merten module public import Mathlib.Algebra.Category.AlgCat.Basic +public import Mathlib.LinearAlgebra.TensorAlgebra.Basic + import Mathlib.Algebra.Category.Grp.ZModuleEquivalence import Mathlib.Algebra.Category.ModuleCat.ChangeOfRings import Mathlib.Algebra.Ring.Shrink -public import Mathlib.LinearAlgebra.TensorAlgebra.Basic /-! # `TensorAlgebra` as a functor `ModuleCat R ⥤ AlgCat R` diff --git a/Mathlib/Algebra/Category/CoalgCat/ComonEquivalence.lean b/Mathlib/Algebra/Category/CoalgCat/ComonEquivalence.lean index 0735d9cea21e18..6e4a215bbb3f52 100644 --- a/Mathlib/Algebra/Category/CoalgCat/ComonEquivalence.lean +++ b/Mathlib/Algebra/Category/CoalgCat/ComonEquivalence.lean @@ -9,6 +9,7 @@ public import Mathlib.Algebra.Category.CoalgCat.Basic public import Mathlib.Algebra.Category.ModuleCat.Monoidal.Symmetric public import Mathlib.CategoryTheory.Monoidal.Comon_ public import Mathlib.RingTheory.Coalgebra.TensorProduct + import Mathlib.Tactic.SuppressCompilation /-! diff --git a/Mathlib/Algebra/Category/FGModuleCat/Abelian.lean b/Mathlib/Algebra/Category/FGModuleCat/Abelian.lean index 72c752e3bc114d..a6581fb4953bce 100644 --- a/Mathlib/Algebra/Category/FGModuleCat/Abelian.lean +++ b/Mathlib/Algebra/Category/FGModuleCat/Abelian.lean @@ -8,6 +8,7 @@ module public import Mathlib.Algebra.Category.FGModuleCat.Colimits public import Mathlib.Algebra.Category.FGModuleCat.Limits public import Mathlib.Algebra.Category.ModuleCat.Abelian + import Mathlib.CategoryTheory.Limits.Preserves.Shapes.AbelianImages /-! diff --git a/Mathlib/Algebra/Category/FGModuleCat/Colimits.lean b/Mathlib/Algebra/Category/FGModuleCat/Colimits.lean index e6c5711eb110cb..50fc60bb98ffc4 100644 --- a/Mathlib/Algebra/Category/FGModuleCat/Colimits.lean +++ b/Mathlib/Algebra/Category/FGModuleCat/Colimits.lean @@ -7,10 +7,11 @@ module public import Mathlib.Algebra.Category.FGModuleCat.Basic public import Mathlib.Algebra.Category.ModuleCat.Colimits +public import Mathlib.LinearAlgebra.DirectSum.Finite + import Mathlib.Algebra.Category.ModuleCat.EpiMono import Mathlib.Algebra.Category.ModuleCat.Products import Mathlib.CategoryTheory.Limits.Constructions.LimitsOfProductsAndEqualizers -public import Mathlib.LinearAlgebra.DirectSum.Finite /-! # `forget₂ (FGModuleCat K) (ModuleCat K)` creates all finite colimits. diff --git a/Mathlib/Algebra/Category/FGModuleCat/Limits.lean b/Mathlib/Algebra/Category/FGModuleCat/Limits.lean index 476f60b410cd17..c238cb42f3ea0a 100644 --- a/Mathlib/Algebra/Category/FGModuleCat/Limits.lean +++ b/Mathlib/Algebra/Category/FGModuleCat/Limits.lean @@ -6,9 +6,10 @@ Authors: Kim Morrison module public import Mathlib.Algebra.Category.FGModuleCat.Basic -import Mathlib.Algebra.Category.ModuleCat.EpiMono public import Mathlib.Algebra.Category.ModuleCat.Limits public import Mathlib.Algebra.Category.ModuleCat.Products + +import Mathlib.Algebra.Category.ModuleCat.EpiMono import Mathlib.CategoryTheory.Limits.Constructions.LimitsOfProductsAndEqualizers /-! diff --git a/Mathlib/Algebra/Category/Grp/AB.lean b/Mathlib/Algebra/Category/Grp/AB.lean index a50b5df19b3dd2..c2a159f076e797 100644 --- a/Mathlib/Algebra/Category/Grp/AB.lean +++ b/Mathlib/Algebra/Category/Grp/AB.lean @@ -9,6 +9,7 @@ public import Mathlib.Algebra.Category.Grp.Biproducts public import Mathlib.Algebra.Category.Grp.FilteredColimits public import Mathlib.Algebra.Homology.ShortComplex.Ab public import Mathlib.CategoryTheory.Abelian.GrothendieckCategory.Basic + import Mathlib.CategoryTheory.Limits.FunctorCategory.EpiMono /-! diff --git a/Mathlib/Algebra/Category/Grp/Adjunctions.lean b/Mathlib/Algebra/Category/Grp/Adjunctions.lean index f058acc8ac23bb..b44c586f14367f 100644 --- a/Mathlib/Algebra/Category/Grp/Adjunctions.lean +++ b/Mathlib/Algebra/Category/Grp/Adjunctions.lean @@ -7,6 +7,7 @@ module public import Mathlib.Algebra.Category.Grp.Preadditive public import Mathlib.GroupTheory.FreeAbelianGroup + import Mathlib.CategoryTheory.Adjunction.Limits import Mathlib.CategoryTheory.Limits.Types.Coproducts diff --git a/Mathlib/Algebra/Category/Grp/EnoughInjectives.lean b/Mathlib/Algebra/Category/Grp/EnoughInjectives.lean index f98946701cb984..1c4cf763fefeed 100644 --- a/Mathlib/Algebra/Category/Grp/EnoughInjectives.lean +++ b/Mathlib/Algebra/Category/Grp/EnoughInjectives.lean @@ -6,6 +6,7 @@ Authors: Jujian Zhang, Junyan Xu module public import Mathlib.Algebra.Module.CharacterModule + import Mathlib.Algebra.Category.Grp.EquivalenceGroupAddGroup import Mathlib.Algebra.Category.Grp.EpiMono diff --git a/Mathlib/Algebra/Category/Grp/EpiMono.lean b/Mathlib/Algebra/Category/Grp/EpiMono.lean index 1491084af1aa4f..79bcf5d251e351 100644 --- a/Mathlib/Algebra/Category/Grp/EpiMono.lean +++ b/Mathlib/Algebra/Category/Grp/EpiMono.lean @@ -6,11 +6,12 @@ Authors: Jujian Zhang module public import Mathlib.Algebra.Category.Grp.EquivalenceGroupAddGroup -import Mathlib.CategoryTheory.ConcreteCategory.EpiMono public import Mathlib.CategoryTheory.Limits.Constructions.EpiMono public import Mathlib.GroupTheory.Coset.Basic public import Mathlib.GroupTheory.QuotientGroup.Defs +import Mathlib.CategoryTheory.ConcreteCategory.EpiMono + /-! # Monomorphisms and epimorphisms in `Group` diff --git a/Mathlib/Algebra/Category/Grp/IsFinite.lean b/Mathlib/Algebra/Category/Grp/IsFinite.lean index da3b20f6b2ff1a..10a698069ba176 100644 --- a/Mathlib/Algebra/Category/Grp/IsFinite.lean +++ b/Mathlib/Algebra/Category/Grp/IsFinite.lean @@ -5,10 +5,11 @@ Authors: Joël Riou -/ module -import Mathlib.Algebra.Category.Grp.Zero public import Mathlib.Algebra.Homology.ShortComplex.Ab public import Mathlib.CategoryTheory.Abelian.SerreClass.Basic +import Mathlib.Algebra.Category.Grp.Zero + /-! # The Serre class of finite abelian groups diff --git a/Mathlib/Algebra/Category/Grp/LargeColimits.lean b/Mathlib/Algebra/Category/Grp/LargeColimits.lean index 1c11b97c4fabd7..144d33ae27d735 100644 --- a/Mathlib/Algebra/Category/Grp/LargeColimits.lean +++ b/Mathlib/Algebra/Category/Grp/LargeColimits.lean @@ -6,6 +6,7 @@ Authors: Sophie Morel module public import Mathlib.Algebra.Category.Grp.Colimits + import Mathlib.Algebra.Module.CharacterModule /-! diff --git a/Mathlib/Algebra/Category/Grp/Subobject.lean b/Mathlib/Algebra/Category/Grp/Subobject.lean index 66526d8d6a3857..836f93d87f6a40 100644 --- a/Mathlib/Algebra/Category/Grp/Subobject.lean +++ b/Mathlib/Algebra/Category/Grp/Subobject.lean @@ -5,9 +5,10 @@ Authors: Markus Himmel -/ module -import Mathlib.Algebra.Category.Grp.ZModuleEquivalence public import Mathlib.Algebra.Category.ModuleCat.Subobject +import Mathlib.Algebra.Category.Grp.ZModuleEquivalence + /-! # The category of abelian groups is well-powered -/ diff --git a/Mathlib/Algebra/Category/ModuleCat/AB.lean b/Mathlib/Algebra/Category/ModuleCat/AB.lean index 244d1da7e67666..2f60475305aa6a 100644 --- a/Mathlib/Algebra/Category/ModuleCat/AB.lean +++ b/Mathlib/Algebra/Category/ModuleCat/AB.lean @@ -7,6 +7,7 @@ module public import Mathlib.Algebra.Category.Grp.AB public import Mathlib.Algebra.Category.ModuleCat.Colimits + import Mathlib.Algebra.Module.Shrink /-! diff --git a/Mathlib/Algebra/Category/ModuleCat/EnoughInjectives.lean b/Mathlib/Algebra/Category/ModuleCat/EnoughInjectives.lean index 11ce8b975f31b0..ace9c5f0725435 100644 --- a/Mathlib/Algebra/Category/ModuleCat/EnoughInjectives.lean +++ b/Mathlib/Algebra/Category/ModuleCat/EnoughInjectives.lean @@ -6,6 +6,7 @@ Authors: Jujian Zhang module public import Mathlib.Algebra.Category.Grp.EnoughInjectives + import Mathlib.Algebra.Category.ModuleCat.ChangeOfRings import Mathlib.Algebra.Ring.Shrink diff --git a/Mathlib/Algebra/Category/ModuleCat/Ext/Baer.lean b/Mathlib/Algebra/Category/ModuleCat/Ext/Baer.lean index 7b56d71c9decb0..ed846ba99ec571 100644 --- a/Mathlib/Algebra/Category/ModuleCat/Ext/Baer.lean +++ b/Mathlib/Algebra/Category/ModuleCat/Ext/Baer.lean @@ -9,6 +9,7 @@ public import Mathlib.Algebra.Category.ModuleCat.EnoughInjectives public import Mathlib.Algebra.Category.ModuleCat.Ext.HasExt public import Mathlib.Algebra.Homology.ShortComplex.ModuleCat public import Mathlib.CategoryTheory.Abelian.Injective.Dimension + import Mathlib.CategoryTheory.Abelian.Injective.Resolution /-! diff --git a/Mathlib/Algebra/Category/ModuleCat/Ext/DimensionShifting.lean b/Mathlib/Algebra/Category/ModuleCat/Ext/DimensionShifting.lean index b0afaf6ab0c8ab..a65bba9811c602 100644 --- a/Mathlib/Algebra/Category/ModuleCat/Ext/DimensionShifting.lean +++ b/Mathlib/Algebra/Category/ModuleCat/Ext/DimensionShifting.lean @@ -6,12 +6,13 @@ Authors: Nailin Guan module public import Mathlib.Algebra.Category.ModuleCat.Ext.HasExt -import Mathlib.Algebra.Homology.DerivedCategory.Ext.EnoughInjectives public import Mathlib.Algebra.Homology.ShortComplex.ModuleCat public import Mathlib.Data.Nat.Totient public import Mathlib.Data.Rat.Floor public import Mathlib.Tactic.Continuity +import Mathlib.Algebra.Homology.DerivedCategory.Ext.EnoughInjectives + /-! # Dimension Shifting diff --git a/Mathlib/Algebra/Category/ModuleCat/InjectiveDimension.lean b/Mathlib/Algebra/Category/ModuleCat/InjectiveDimension.lean index fcd6d3b4136a03..795cdcb4e4e6da 100644 --- a/Mathlib/Algebra/Category/ModuleCat/InjectiveDimension.lean +++ b/Mathlib/Algebra/Category/ModuleCat/InjectiveDimension.lean @@ -5,10 +5,11 @@ Authors: Nailin Guan -/ module +public import Mathlib.CategoryTheory.Abelian.Injective.Dimension + import Mathlib.Algebra.Category.ModuleCat.EnoughInjectives import Mathlib.Algebra.Category.ModuleCat.Injective import Mathlib.Algebra.Homology.ShortComplex.ModuleCat -public import Mathlib.CategoryTheory.Abelian.Injective.Dimension /-! diff --git a/Mathlib/Algebra/Category/ModuleCat/LeftResolution.lean b/Mathlib/Algebra/Category/ModuleCat/LeftResolution.lean index d93f813662b03a..d3b4f944115200 100644 --- a/Mathlib/Algebra/Category/ModuleCat/LeftResolution.lean +++ b/Mathlib/Algebra/Category/ModuleCat/LeftResolution.lean @@ -6,9 +6,10 @@ Authors: Joël Riou module public import Mathlib.Algebra.Category.ModuleCat.Adjunctions -import Mathlib.Algebra.Category.ModuleCat.EpiMono public import Mathlib.Algebra.Homology.LeftResolution.Basic +import Mathlib.Algebra.Category.ModuleCat.EpiMono + /-! # Functorial projective resolutions of modules diff --git a/Mathlib/Algebra/Category/ModuleCat/Localization.lean b/Mathlib/Algebra/Category/ModuleCat/Localization.lean index 9ebd8d5d337b50..ff0baa309c2a90 100644 --- a/Mathlib/Algebra/Category/ModuleCat/Localization.lean +++ b/Mathlib/Algebra/Category/ModuleCat/Localization.lean @@ -6,9 +6,10 @@ Authors: Nailin Guan module public import Mathlib.Algebra.Homology.ShortComplex.ModuleCat -import Mathlib.Algebra.Module.LocalizedModule.Exact public import Mathlib.RingTheory.Localization.Module +import Mathlib.Algebra.Module.LocalizedModule.Exact + /-! # Localized Module in ModuleCat diff --git a/Mathlib/Algebra/Category/ModuleCat/Presheaf/Abelian.lean b/Mathlib/Algebra/Category/ModuleCat/Presheaf/Abelian.lean index 1870f8c0c1aad5..aec6a92d340947 100644 --- a/Mathlib/Algebra/Category/ModuleCat/Presheaf/Abelian.lean +++ b/Mathlib/Algebra/Category/ModuleCat/Presheaf/Abelian.lean @@ -7,9 +7,10 @@ module public import Mathlib.Algebra.Category.ModuleCat.Presheaf.Colimits public import Mathlib.Algebra.Category.ModuleCat.Presheaf.Limits -import Mathlib.Algebra.Category.ModuleCat.Abelian public import Mathlib.CategoryTheory.Abelian.Basic +import Mathlib.Algebra.Category.ModuleCat.Abelian + /-! # The category of presheaves of modules is abelian diff --git a/Mathlib/Algebra/Category/ModuleCat/Presheaf/EpiMono.lean b/Mathlib/Algebra/Category/ModuleCat/Presheaf/EpiMono.lean index db09d3bbb6ffd7..47b300157c9fcf 100644 --- a/Mathlib/Algebra/Category/ModuleCat/Presheaf/EpiMono.lean +++ b/Mathlib/Algebra/Category/ModuleCat/Presheaf/EpiMono.lean @@ -5,9 +5,10 @@ Authors: Joël Riou -/ module -import Mathlib.Algebra.Category.ModuleCat.Presheaf.Colimits public import Mathlib.Algebra.Category.ModuleCat.Presheaf.Limits +import Mathlib.Algebra.Category.ModuleCat.Presheaf.Colimits + /-! # Epimorphisms and monomorphisms in the category of presheaves of modules diff --git a/Mathlib/Algebra/Category/ModuleCat/Presheaf/Generator.lean b/Mathlib/Algebra/Category/ModuleCat/Presheaf/Generator.lean index 154b0ca38a41c7..99e6b92626dd84 100644 --- a/Mathlib/Algebra/Category/ModuleCat/Presheaf/Generator.lean +++ b/Mathlib/Algebra/Category/ModuleCat/Presheaf/Generator.lean @@ -6,11 +6,12 @@ Authors: Joël Riou module public import Mathlib.Algebra.Category.ModuleCat.Presheaf.Abelian -import Mathlib.Algebra.Category.ModuleCat.Presheaf.EpiMono public import Mathlib.Algebra.Category.ModuleCat.Presheaf.Free public import Mathlib.Algebra.Homology.ShortComplex.Exact public import Mathlib.CategoryTheory.Generator.Basic +import Mathlib.Algebra.Category.ModuleCat.Presheaf.EpiMono + /-! # Generators for the category of presheaves of modules diff --git a/Mathlib/Algebra/Category/ModuleCat/Presheaf/Sheafification.lean b/Mathlib/Algebra/Category/ModuleCat/Presheaf/Sheafification.lean index 39e540fd30e5e5..6c4fd2af4a2739 100644 --- a/Mathlib/Algebra/Category/ModuleCat/Presheaf/Sheafification.lean +++ b/Mathlib/Algebra/Category/ModuleCat/Presheaf/Sheafification.lean @@ -8,6 +8,7 @@ module public import Mathlib.Algebra.Category.ModuleCat.Presheaf.Abelian public import Mathlib.Algebra.Category.ModuleCat.Presheaf.Sheafify public import Mathlib.Algebra.Category.ModuleCat.Sheaf.Limits + import Mathlib.CategoryTheory.Functor.ReflectsIso.Balanced /-! diff --git a/Mathlib/Algebra/Category/ModuleCat/ProjectiveDimension.lean b/Mathlib/Algebra/Category/ModuleCat/ProjectiveDimension.lean index ffb626922f2654..6b153465b921e0 100644 --- a/Mathlib/Algebra/Category/ModuleCat/ProjectiveDimension.lean +++ b/Mathlib/Algebra/Category/ModuleCat/ProjectiveDimension.lean @@ -5,10 +5,11 @@ Authors: Nailin Guan -/ module +public import Mathlib.CategoryTheory.Abelian.Projective.Dimension + import Mathlib.Algebra.Category.ModuleCat.Ext.DimensionShifting import Mathlib.Algebra.Category.ModuleCat.Projective import Mathlib.Algebra.Homology.ShortComplex.ModuleCat -public import Mathlib.CategoryTheory.Abelian.Projective.Dimension /-! diff --git a/Mathlib/Algebra/Category/ModuleCat/Sheaf/Free.lean b/Mathlib/Algebra/Category/ModuleCat/Sheaf/Free.lean index 4b61391e43a0b8..ad1b7240266871 100644 --- a/Mathlib/Algebra/Category/ModuleCat/Sheaf/Free.lean +++ b/Mathlib/Algebra/Category/ModuleCat/Sheaf/Free.lean @@ -6,6 +6,7 @@ Authors: Joël Riou module public import Mathlib.Algebra.Category.ModuleCat.Sheaf.Colimits + import Mathlib.CategoryTheory.Limits.Preserves.SigmaConst /-! diff --git a/Mathlib/Algebra/Category/ModuleCat/Sheaf/PullbackFree.lean b/Mathlib/Algebra/Category/ModuleCat/Sheaf/PullbackFree.lean index 214fbc04069df7..a913dd81e27f6f 100644 --- a/Mathlib/Algebra/Category/ModuleCat/Sheaf/PullbackFree.lean +++ b/Mathlib/Algebra/Category/ModuleCat/Sheaf/PullbackFree.lean @@ -7,6 +7,7 @@ module public import Mathlib.Algebra.Category.ModuleCat.Sheaf.Free public import Mathlib.Algebra.Category.ModuleCat.Sheaf.PullbackContinuous + import Mathlib.CategoryTheory.Limits.Final.Type /-! diff --git a/Mathlib/Algebra/Category/ModuleCat/Sheaf/Quasicoherent.lean b/Mathlib/Algebra/Category/ModuleCat/Sheaf/Quasicoherent.lean index ddbcb3b44882e7..56c3f9d8fdc78c 100644 --- a/Mathlib/Algebra/Category/ModuleCat/Sheaf/Quasicoherent.lean +++ b/Mathlib/Algebra/Category/ModuleCat/Sheaf/Quasicoherent.lean @@ -9,6 +9,7 @@ public import Mathlib.Algebra.Category.ModuleCat.Sheaf.Abelian public import Mathlib.Algebra.Category.ModuleCat.Sheaf.Generators public import Mathlib.CategoryTheory.Sites.CoversTop.Over public import Mathlib.CategoryTheory.Limits.Constructions.Over.Connected + import Mathlib.CategoryTheory.Limits.Shapes.Connected /-! diff --git a/Mathlib/Algebra/Category/ModuleCat/Simple.lean b/Mathlib/Algebra/Category/ModuleCat/Simple.lean index 99dd83a368ad4d..725567d466354d 100644 --- a/Mathlib/Algebra/Category/ModuleCat/Simple.lean +++ b/Mathlib/Algebra/Category/ModuleCat/Simple.lean @@ -6,11 +6,12 @@ Authors: Pierre-Alexandre Bazin, Kim Morrison module public import Mathlib.Algebra.Category.ModuleCat.Algebra -import Mathlib.Algebra.Category.ModuleCat.Subobject public import Mathlib.CategoryTheory.Simple public import Mathlib.LinearAlgebra.FiniteDimensional.Lemmas public import Mathlib.RingTheory.SimpleModule.Basic +import Mathlib.Algebra.Category.ModuleCat.Subobject + /-! # Simple objects in the category of `R`-modules diff --git a/Mathlib/Algebra/Category/ModuleCat/Topology/Homology.lean b/Mathlib/Algebra/Category/ModuleCat/Topology/Homology.lean index 7e39da8c482aef..afecec841ddb06 100644 --- a/Mathlib/Algebra/Category/ModuleCat/Topology/Homology.lean +++ b/Mathlib/Algebra/Category/ModuleCat/Topology/Homology.lean @@ -5,11 +5,12 @@ Authors: Richard Hill, Andrew Yang -/ module -import Mathlib.Algebra.Category.ModuleCat.Abelian public import Mathlib.Algebra.Category.ModuleCat.Topology.Basic -import Mathlib.Algebra.Homology.ShortComplex.Abelian public import Mathlib.Algebra.Homology.ShortComplex.PreservesHomology +import Mathlib.Algebra.Category.ModuleCat.Abelian +import Mathlib.Algebra.Homology.ShortComplex.Abelian + /-! # `TopModuleCat` is a `CategoryWithHomology` diff --git a/Mathlib/Algebra/Category/ModuleCat/Ulift.lean b/Mathlib/Algebra/Category/ModuleCat/Ulift.lean index 443c0925ecc52e..676e77a1b7df48 100644 --- a/Mathlib/Algebra/Category/ModuleCat/Ulift.lean +++ b/Mathlib/Algebra/Category/ModuleCat/Ulift.lean @@ -5,13 +5,14 @@ Authors: Nailin Guan -/ module -import Mathlib.Algebra.Category.ModuleCat.Injective -import Mathlib.Algebra.Category.ModuleCat.Projective public import Mathlib.Algebra.Homology.ShortComplex.ModuleCat public import Mathlib.CategoryTheory.Linear.LinearFunctor public import Mathlib.CategoryTheory.Preadditive.Injective.Preserves public import Mathlib.CategoryTheory.Preadditive.Projective.Preserves +import Mathlib.Algebra.Category.ModuleCat.Injective +import Mathlib.Algebra.Category.ModuleCat.Projective + /-! # Ulift functor for ModuleCat diff --git a/Mathlib/Algebra/Category/Ring/Adjunctions.lean b/Mathlib/Algebra/Category/Ring/Adjunctions.lean index 8467480c3ddfb3..46fc83cbfa681e 100644 --- a/Mathlib/Algebra/Category/Ring/Adjunctions.lean +++ b/Mathlib/Algebra/Category/Ring/Adjunctions.lean @@ -8,6 +8,7 @@ module public import Mathlib.Algebra.Category.Ring.Colimits public import Mathlib.Algebra.MvPolynomial.CommRing public import Mathlib.CategoryTheory.Comma.Over.Basic + import Mathlib.CategoryTheory.Limits.Shapes.Terminal /-! diff --git a/Mathlib/Algebra/Category/Ring/Epi.lean b/Mathlib/Algebra/Category/Ring/Epi.lean index e1150d4a8782a1..af3e3a76ccee09 100644 --- a/Mathlib/Algebra/Category/Ring/Epi.lean +++ b/Mathlib/Algebra/Category/Ring/Epi.lean @@ -7,6 +7,7 @@ module public import Mathlib.Algebra.Algebra.Epi public import Mathlib.Algebra.Category.Ring.Basic + import Mathlib.CategoryTheory.ConcreteCategory.EpiMono /-! diff --git a/Mathlib/Algebra/Category/Ring/FilteredColimits.lean b/Mathlib/Algebra/Category/Ring/FilteredColimits.lean index 476437fd69ad21..f35813a6207be7 100644 --- a/Mathlib/Algebra/Category/Ring/FilteredColimits.lean +++ b/Mathlib/Algebra/Category/Ring/FilteredColimits.lean @@ -7,6 +7,7 @@ module public import Mathlib.Algebra.Category.Ring.Basic public import Mathlib.Algebra.Category.Grp.FilteredColimits + import Mathlib.Algebra.Ring.ULift /-! diff --git a/Mathlib/Algebra/Category/Ring/FinitePresentation.lean b/Mathlib/Algebra/Category/Ring/FinitePresentation.lean index bc86f6d16818d5..4a3f3d51c720c1 100644 --- a/Mathlib/Algebra/Category/Ring/FinitePresentation.lean +++ b/Mathlib/Algebra/Category/Ring/FinitePresentation.lean @@ -7,11 +7,12 @@ module public import Mathlib.Algebra.Category.Ring.FilteredColimits public import Mathlib.CategoryTheory.Limits.Preserves.Over -import Mathlib.CategoryTheory.Limits.Shapes.FiniteMultiequalizer public import Mathlib.CategoryTheory.Presentable.Finite public import Mathlib.RingTheory.EssentialFiniteness public import Mathlib.RingTheory.FinitePresentation +import Mathlib.CategoryTheory.Limits.Shapes.FiniteMultiequalizer + /-! # Finitely presentable objects in `Under R` with `R : CommRingCat` diff --git a/Mathlib/Algebra/Category/Ring/LinearAlgebra.lean b/Mathlib/Algebra/Category/Ring/LinearAlgebra.lean index 00afa05d7d3cfa..57c819c5c27c3f 100644 --- a/Mathlib/Algebra/Category/Ring/LinearAlgebra.lean +++ b/Mathlib/Algebra/Category/Ring/LinearAlgebra.lean @@ -6,6 +6,7 @@ Authors: Christian Merten module public import Mathlib.Algebra.Category.Ring.Constructions + import Mathlib.LinearAlgebra.Basis.VectorSpace import Mathlib.RingTheory.Flat.FaithfullyFlat.Basic diff --git a/Mathlib/Algebra/Category/Ring/Topology.lean b/Mathlib/Algebra/Category/Ring/Topology.lean index 79926795fbeba2..3b0193785ecd99 100644 --- a/Mathlib/Algebra/Category/Ring/Topology.lean +++ b/Mathlib/Algebra/Category/Ring/Topology.lean @@ -7,6 +7,7 @@ module public import Mathlib.Algebra.Category.Ring.Constructions public import Mathlib.Topology.Algebra.Ring.Basic + import Mathlib.CategoryTheory.Limits.Shapes.FiniteProducts /-! diff --git a/Mathlib/Algebra/Category/Ring/Under/Property.lean b/Mathlib/Algebra/Category/Ring/Under/Property.lean index 2f079b57383ebd..383818a9638dec 100644 --- a/Mathlib/Algebra/Category/Ring/Under/Property.lean +++ b/Mathlib/Algebra/Category/Ring/Under/Property.lean @@ -8,6 +8,7 @@ module public import Mathlib.Algebra.Category.Ring.Under.Limits public import Mathlib.CategoryTheory.Limits.MorphismProperty public import Mathlib.CategoryTheory.ObjectProperty.FiniteProducts + import Mathlib.CategoryTheory.ConcreteCategory.EpiMono /-! diff --git a/Mathlib/Algebra/Central/TensorProduct.lean b/Mathlib/Algebra/Central/TensorProduct.lean index b16c787fee6b6d..6681b397087ce5 100644 --- a/Mathlib/Algebra/Central/TensorProduct.lean +++ b/Mathlib/Algebra/Central/TensorProduct.lean @@ -7,6 +7,7 @@ module public import Mathlib.Algebra.Central.Basic public import Mathlib.RingTheory.Flat.Basic + import Mathlib.LinearAlgebra.Basis.VectorSpace /-! diff --git a/Mathlib/Algebra/CharP/Basic.lean b/Mathlib/Algebra/CharP/Basic.lean index 652cc1b7fea6ff..15fc329577628f 100644 --- a/Mathlib/Algebra/CharP/Basic.lean +++ b/Mathlib/Algebra/CharP/Basic.lean @@ -11,10 +11,11 @@ public import Mathlib.Algebra.Ring.ULift public import Mathlib.Algebra.Ring.Opposite public import Mathlib.Data.Int.ModEq public import Mathlib.Data.Nat.Cast.Prod -import Mathlib.Data.ULift public import Mathlib.Order.Interval.Set.Defs public import Mathlib.Algebra.Ring.GrindInstances +import Mathlib.Data.ULift + /-! # Characteristic of semirings diff --git a/Mathlib/Algebra/CharP/CharAndCard.lean b/Mathlib/Algebra/CharP/CharAndCard.lean index 00ce6a46d84f26..b8a85da389100d 100644 --- a/Mathlib/Algebra/CharP/CharAndCard.lean +++ b/Mathlib/Algebra/CharP/CharAndCard.lean @@ -5,9 +5,10 @@ Authors: Michael Stoll -/ module +public import Mathlib.GroupTheory.Perm.Cycle.Type + import Mathlib.Algebra.CharP.Basic import Mathlib.Algebra.CharP.Lemmas -public import Mathlib.GroupTheory.Perm.Cycle.Type import Mathlib.RingTheory.Coprime.Lemmas /-! diff --git a/Mathlib/Algebra/CharP/Defs.lean b/Mathlib/Algebra/CharP/Defs.lean index dd1dd3215979e5..cc85eff13f2ccb 100644 --- a/Mathlib/Algebra/CharP/Defs.lean +++ b/Mathlib/Algebra/CharP/Defs.lean @@ -6,8 +6,9 @@ Authors: Kenny Lau, Joey van Langen, Casper Putz module public import Mathlib.Data.Nat.Cast.Basic -import Mathlib.Data.Nat.Find public import Mathlib.Data.Nat.Prime.Defs + +import Mathlib.Data.Nat.Find import Mathlib.Data.Int.Cast.Basic import Mathlib.Data.Int.Order.Basic diff --git a/Mathlib/Algebra/CharP/IntermediateField.lean b/Mathlib/Algebra/CharP/IntermediateField.lean index 9cba4fc8d7729a..f58cba8676aaca 100644 --- a/Mathlib/Algebra/CharP/IntermediateField.lean +++ b/Mathlib/Algebra/CharP/IntermediateField.lean @@ -5,9 +5,10 @@ Authors: Jz Pan -/ module -import Mathlib.Algebra.CharP.Algebra public import Mathlib.FieldTheory.IntermediateField.Basic +import Mathlib.Algebra.CharP.Algebra + /-! # Characteristic of intermediate fields diff --git a/Mathlib/Algebra/CharP/Invertible.lean b/Mathlib/Algebra/CharP/Invertible.lean index ed95cfe0abf7ed..fbbaab3353db49 100644 --- a/Mathlib/Algebra/CharP/Invertible.lean +++ b/Mathlib/Algebra/CharP/Invertible.lean @@ -9,9 +9,10 @@ public import Mathlib.Algebra.CharP.Defs public import Mathlib.Algebra.Field.Defs public import Mathlib.Algebra.Ring.Parity public import Mathlib.Algebra.GroupWithZero.Invertible -import Mathlib.Algebra.Ring.Int.Defs public import Mathlib.Data.Int.GCD +import Mathlib.Algebra.Ring.Int.Defs + /-! # Invertibility of elements given a characteristic diff --git a/Mathlib/Algebra/CharP/Lemmas.lean b/Mathlib/Algebra/CharP/Lemmas.lean index 31c27f275aedb3..ab563a99b3f633 100644 --- a/Mathlib/Algebra/CharP/Lemmas.lean +++ b/Mathlib/Algebra/CharP/Lemmas.lean @@ -7,6 +7,7 @@ module public import Mathlib.Algebra.CharP.Defs public import Mathlib.Data.Nat.Multiplicity + import Mathlib.Data.Nat.Choose.Sum /-! diff --git a/Mathlib/Algebra/CharP/LinearMaps.lean b/Mathlib/Algebra/CharP/LinearMaps.lean index d769c4dd618364..1193371cb8f636 100644 --- a/Mathlib/Algebra/CharP/LinearMaps.lean +++ b/Mathlib/Algebra/CharP/LinearMaps.lean @@ -5,9 +5,10 @@ Authors: Wanyi He, Huanyu Zheng -/ module -import Mathlib.Algebra.CharP.Algebra public import Mathlib.Algebra.Module.Torsion.Basic +import Mathlib.Algebra.CharP.Algebra + /-! # Characteristic of the ring of linear Maps diff --git a/Mathlib/Algebra/CharP/LocalRing.lean b/Mathlib/Algebra/CharP/LocalRing.lean index 8ae8ff0f9dc15a..a402bb5a2f7a5f 100644 --- a/Mathlib/Algebra/CharP/LocalRing.lean +++ b/Mathlib/Algebra/CharP/LocalRing.lean @@ -7,9 +7,10 @@ module public import Mathlib.Algebra.CharP.Defs public import Mathlib.Algebra.IsPrimePow -import Mathlib.Data.Nat.Factorization.Basic public import Mathlib.RingTheory.LocalRing.ResidueField.Defs +import Mathlib.Data.Nat.Factorization.Basic + /-! # Characteristics of local rings diff --git a/Mathlib/Algebra/CharP/MixedCharZero.lean b/Mathlib/Algebra/CharP/MixedCharZero.lean index c3e050c0375bc2..14ab624e5a3f32 100644 --- a/Mathlib/Algebra/CharP/MixedCharZero.lean +++ b/Mathlib/Algebra/CharP/MixedCharZero.lean @@ -11,6 +11,7 @@ public import Mathlib.Algebra.IsPrimePow public import Mathlib.RingTheory.Ideal.Maximal public import Mathlib.RingTheory.Ideal.Quotient.Defs public import Mathlib.RingTheory.LocalRing.Defs + import Mathlib.Algebra.CharP.LocalRing /-! diff --git a/Mathlib/Algebra/CharZero/Defs.lean b/Mathlib/Algebra/CharZero/Defs.lean index e851838fe6534f..54f975adacd6ab 100644 --- a/Mathlib/Algebra/CharZero/Defs.lean +++ b/Mathlib/Algebra/CharZero/Defs.lean @@ -5,8 +5,9 @@ Authors: Mario Carneiro -/ module -import Mathlib.Basic.Logic.Basic public import Mathlib.Data.Int.Cast.Defs + +import Mathlib.Basic.Logic.Basic import Mathlib.Tactic.Basify.Attr /-! diff --git a/Mathlib/Algebra/CharZero/Quotient.lean b/Mathlib/Algebra/CharZero/Quotient.lean index 81f9d9e42829bf..edfcb77d066789 100644 --- a/Mathlib/Algebra/CharZero/Quotient.lean +++ b/Mathlib/Algebra/CharZero/Quotient.lean @@ -6,11 +6,12 @@ Authors: Eric Wieser module public import Mathlib.Algebra.Field.Basic -import Mathlib.Algebra.Order.Group.Unbundled.Int public import Mathlib.Algebra.Module.NatInt public import Mathlib.GroupTheory.QuotientGroup.Defs public import Mathlib.Algebra.Group.Subgroup.ZPowers.Basic +import Mathlib.Algebra.Order.Group.Unbundled.Int + /-! # Lemmas about quotients in characteristic zero -/ diff --git a/Mathlib/Algebra/Colimit/DirectLimit.lean b/Mathlib/Algebra/Colimit/DirectLimit.lean index 11f122cd130637..457a612c8d3b13 100644 --- a/Mathlib/Algebra/Colimit/DirectLimit.lean +++ b/Mathlib/Algebra/Colimit/DirectLimit.lean @@ -10,6 +10,7 @@ public import Mathlib.Algebra.Algebra.NonUnitalHom public import Mathlib.Algebra.Algebra.Pi public import Mathlib.Data.Rat.Cast.Defs public import Mathlib.Order.DirectedInverseSystem + import Mathlib.Tactic.SuppressCompilation /-! diff --git a/Mathlib/Algebra/Colimit/Ring.lean b/Mathlib/Algebra/Colimit/Ring.lean index d3f0d07c96556f..fe2c27e5f62f0d 100644 --- a/Mathlib/Algebra/Colimit/Ring.lean +++ b/Mathlib/Algebra/Colimit/Ring.lean @@ -9,6 +9,7 @@ public import Mathlib.Algebra.Colimit.DirectLimit public import Mathlib.RingTheory.FreeCommRing public import Mathlib.RingTheory.Ideal.Maps public import Mathlib.RingTheory.Ideal.Quotient.Defs + import Mathlib.Tactic.SuppressCompilation /-! diff --git a/Mathlib/Algebra/ContinuedFractions/Computation/ApproximationCorollaries.lean b/Mathlib/Algebra/ContinuedFractions/Computation/ApproximationCorollaries.lean index 4df390b3dbaf41..bb99fe43378f7f 100644 --- a/Mathlib/Algebra/ContinuedFractions/Computation/ApproximationCorollaries.lean +++ b/Mathlib/Algebra/ContinuedFractions/Computation/ApproximationCorollaries.lean @@ -6,10 +6,11 @@ Authors: Kevin Kappelmann module public import Mathlib.Algebra.ContinuedFractions.Computation.Approximations -import Mathlib.Algebra.ContinuedFractions.ConvergentsEquiv public import Mathlib.Algebra.Order.Archimedean.Basic public import Mathlib.Topology.Order.LeftRightNhds +import Mathlib.Algebra.ContinuedFractions.ConvergentsEquiv + /-! # Corollaries From Approximation Lemmas (`Algebra.ContinuedFractions.Computation.Approximations`) diff --git a/Mathlib/Algebra/ContinuedFractions/Computation/Approximations.lean b/Mathlib/Algebra/ContinuedFractions/Computation/Approximations.lean index a49979cf2f5ac1..17ed2465bc0998 100644 --- a/Mathlib/Algebra/ContinuedFractions/Computation/Approximations.lean +++ b/Mathlib/Algebra/ContinuedFractions/Computation/Approximations.lean @@ -8,6 +8,7 @@ module public import Mathlib.Algebra.ContinuedFractions.Determinant public import Mathlib.Algebra.ContinuedFractions.Computation.CorrectnessTerminating public import Mathlib.Data.Nat.Fib.Basic + import Mathlib.Tactic.Monotonicity /-! diff --git a/Mathlib/Algebra/ContinuedFractions/Computation/CorrectnessTerminating.lean b/Mathlib/Algebra/ContinuedFractions/Computation/CorrectnessTerminating.lean index f09d740670e452..b7e94d457b9460 100644 --- a/Mathlib/Algebra/ContinuedFractions/Computation/CorrectnessTerminating.lean +++ b/Mathlib/Algebra/ContinuedFractions/Computation/CorrectnessTerminating.lean @@ -6,9 +6,10 @@ Authors: Kevin Kappelmann module public import Mathlib.Algebra.ContinuedFractions.Computation.Translations +public import Mathlib.Order.Filter.AtTopBot.Basic + import Mathlib.Algebra.ContinuedFractions.TerminatedStable import Mathlib.Algebra.ContinuedFractions.ContinuantsRecurrence -public import Mathlib.Order.Filter.AtTopBot.Basic import Mathlib.Tactic.Ring /-! diff --git a/Mathlib/Algebra/ContinuedFractions/Computation/TerminatesIffRat.lean b/Mathlib/Algebra/ContinuedFractions/Computation/TerminatesIffRat.lean index e4b6b8f8bc5ec5..45d1fac0ce7f8d 100644 --- a/Mathlib/Algebra/ContinuedFractions/Computation/TerminatesIffRat.lean +++ b/Mathlib/Algebra/ContinuedFractions/Computation/TerminatesIffRat.lean @@ -5,10 +5,11 @@ Authors: Kevin Kappelmann -/ module -import Mathlib.Algebra.ContinuedFractions.Computation.Approximations public import Mathlib.Algebra.ContinuedFractions.Computation.CorrectnessTerminating public import Mathlib.Data.Rat.Floor +import Mathlib.Algebra.ContinuedFractions.Computation.Approximations + /-! # Termination of Continued Fraction Computations (`GenContFract.of`) diff --git a/Mathlib/Algebra/ContinuedFractions/Computation/Translations.lean b/Mathlib/Algebra/ContinuedFractions/Computation/Translations.lean index 4c7ea1ea2d3cb7..3a959548bad153 100644 --- a/Mathlib/Algebra/ContinuedFractions/Computation/Translations.lean +++ b/Mathlib/Algebra/ContinuedFractions/Computation/Translations.lean @@ -6,9 +6,10 @@ Authors: Kevin Kappelmann module public import Mathlib.Algebra.ContinuedFractions.Computation.Basic -import Mathlib.Algebra.ContinuedFractions.Translations public import Mathlib.Algebra.Order.Floor.Ring +import Mathlib.Algebra.ContinuedFractions.Translations + /-! # Basic Translation Lemmas Between Structures Defined for Computing Continued Fractions diff --git a/Mathlib/Algebra/ContinuedFractions/ConvergentsEquiv.lean b/Mathlib/Algebra/ContinuedFractions/ConvergentsEquiv.lean index afc05645be6471..b0796e43f8f10c 100644 --- a/Mathlib/Algebra/ContinuedFractions/ConvergentsEquiv.lean +++ b/Mathlib/Algebra/ContinuedFractions/ConvergentsEquiv.lean @@ -5,8 +5,9 @@ Authors: Kevin Kappelmann -/ module -import Mathlib.Algebra.ContinuedFractions.ContinuantsRecurrence public import Mathlib.Algebra.ContinuedFractions.TerminatedStable + +import Mathlib.Algebra.ContinuedFractions.ContinuantsRecurrence import Mathlib.Algebra.Field.Basic /-! diff --git a/Mathlib/Algebra/DirectSum/LinearMap.lean b/Mathlib/Algebra/DirectSum/LinearMap.lean index f31050e1edba25..77ef6398b669da 100644 --- a/Mathlib/Algebra/DirectSum/LinearMap.lean +++ b/Mathlib/Algebra/DirectSum/LinearMap.lean @@ -5,10 +5,11 @@ Authors: Oliver Nash -/ module -import Mathlib.LinearAlgebra.FreeModule.PID public import Mathlib.LinearAlgebra.Eigenspace.Basic public import Mathlib.LinearAlgebra.Trace +import Mathlib.LinearAlgebra.FreeModule.PID + /-! # Linear maps between direct sums diff --git a/Mathlib/Algebra/Divisibility/Basic.lean b/Mathlib/Algebra/Divisibility/Basic.lean index 1c25a7514ffcc3..4aefece7d602c4 100644 --- a/Mathlib/Algebra/Divisibility/Basic.lean +++ b/Mathlib/Algebra/Divisibility/Basic.lean @@ -8,9 +8,10 @@ module public import Mathlib.Algebra.Group.Opposite public import Mathlib.Tactic.Common -import Batteries.Tactic.SeqFocus public import Mathlib.Tactic.Attr.Core +import Batteries.Tactic.SeqFocus + /-! # Divisibility diff --git a/Mathlib/Algebra/EuclideanDomain/Basic.lean b/Mathlib/Algebra/EuclideanDomain/Basic.lean index eb29d5c5b60846..936f2089213e55 100644 --- a/Mathlib/Algebra/EuclideanDomain/Basic.lean +++ b/Mathlib/Algebra/EuclideanDomain/Basic.lean @@ -6,10 +6,11 @@ Authors: Louis Carlin, Mario Carneiro module public import Mathlib.Algebra.EuclideanDomain.Defs -import Mathlib.Algebra.Ring.Divisibility.Basic public import Mathlib.Algebra.GroupWithZero.Divisibility public import Mathlib.Algebra.Ring.Equiv +import Mathlib.Algebra.Ring.Divisibility.Basic + /-! # Lemmas about Euclidean domains diff --git a/Mathlib/Algebra/EuclideanDomain/Int.lean b/Mathlib/Algebra/EuclideanDomain/Int.lean index 1682aea7ee2535..12a6d3e0b90b3c 100644 --- a/Mathlib/Algebra/EuclideanDomain/Int.lean +++ b/Mathlib/Algebra/EuclideanDomain/Int.lean @@ -5,11 +5,12 @@ Authors: Louis Carlin, Mario Carneiro -/ module -import Mathlib.Algebra.Group.Nat.Defs public import Mathlib.Algebra.EuclideanDomain.Defs -import Mathlib.Algebra.Order.Group.Unbundled.Int public import Mathlib.Algebra.Ring.Int.Defs +import Mathlib.Algebra.Group.Nat.Defs +import Mathlib.Algebra.Order.Group.Unbundled.Int + /-! # Instances for Euclidean domains diff --git a/Mathlib/Algebra/Expr.lean b/Mathlib/Algebra/Expr.lean index 9db575bc1997a8..1f18d64f0968af 100644 --- a/Mathlib/Algebra/Expr.lean +++ b/Mathlib/Algebra/Expr.lean @@ -5,8 +5,9 @@ Authors: Eric Wieser -/ module -import Mathlib.Init public import Qq + +import Mathlib.Init import Qq.Typ /-! # Helpers to invoke functions involving algebra at tactic time diff --git a/Mathlib/Algebra/Field/Opposite.lean b/Mathlib/Algebra/Field/Opposite.lean index 8753ae49c542a7..d6b0f3f7e0e418 100644 --- a/Mathlib/Algebra/Field/Opposite.lean +++ b/Mathlib/Algebra/Field/Opposite.lean @@ -7,6 +7,7 @@ module public import Mathlib.Algebra.Field.Defs public import Mathlib.Algebra.Ring.Opposite + import Mathlib.Data.Int.Cast.Lemmas /-! diff --git a/Mathlib/Algebra/Free.lean b/Mathlib/Algebra/Free.lean index 3ddd457cc75330..7470c178670c02 100644 --- a/Mathlib/Algebra/Free.lean +++ b/Mathlib/Algebra/Free.lean @@ -7,11 +7,12 @@ module public import Mathlib.Algebra.Group.Basic public import Mathlib.Algebra.Group.Equiv.Defs -import Mathlib.Control.Applicative public import Mathlib.Control.Traversable.Basic -import Mathlib.Tactic.AdaptationNote public import Mathlib.Util.CompileInductive +import Mathlib.Control.Applicative +import Mathlib.Tactic.AdaptationNote + /-! # Free constructions diff --git a/Mathlib/Algebra/FreeMonoid/FreeSemigroup.lean b/Mathlib/Algebra/FreeMonoid/FreeSemigroup.lean index 65264a6e78dba1..54a0cb961272e3 100644 --- a/Mathlib/Algebra/FreeMonoid/FreeSemigroup.lean +++ b/Mathlib/Algebra/FreeMonoid/FreeSemigroup.lean @@ -8,9 +8,9 @@ module public import Mathlib.Algebra.FreeMonoid.Basic public import Mathlib.Algebra.Free public import Mathlib.Algebra.Group.WithOne.Basic -import Mathlib.Algebra.Group.Units.Basic public import Mathlib.Data.Set.Operations +import Mathlib.Algebra.Group.Units.Basic import Mathlib.Data.Set.Insert /-! diff --git a/Mathlib/Algebra/GCDMonoid/FinsetLemmas.lean b/Mathlib/Algebra/GCDMonoid/FinsetLemmas.lean index db3b1289bcb428..c6cfc8bc73e12f 100644 --- a/Mathlib/Algebra/GCDMonoid/FinsetLemmas.lean +++ b/Mathlib/Algebra/GCDMonoid/FinsetLemmas.lean @@ -6,9 +6,10 @@ Authors: Snir Broshi module public import Mathlib.Algebra.GCDMonoid.Finset -import Mathlib.RingTheory.Coprime.Lemmas public import Mathlib.Data.Nat.Factorization.Basic +import Mathlib.RingTheory.Coprime.Lemmas + /-! # `Finset.lcm` lemmas diff --git a/Mathlib/Algebra/GCDMonoid/Multiset.lean b/Mathlib/Algebra/GCDMonoid/Multiset.lean index 00410a599cfe70..0003b4af6f04eb 100644 --- a/Mathlib/Algebra/GCDMonoid/Multiset.lean +++ b/Mathlib/Algebra/GCDMonoid/Multiset.lean @@ -6,10 +6,11 @@ Authors: Aaron Anderson module public import Mathlib.Algebra.GCDMonoid.Basic -import Mathlib.Algebra.Order.Group.Multiset public import Mathlib.Data.Multiset.FinsetOps public import Mathlib.Data.Multiset.Fold +import Mathlib.Algebra.Order.Group.Multiset + /-! # GCD and LCM operations on multisets diff --git a/Mathlib/Algebra/GradedMonoid.lean b/Mathlib/Algebra/GradedMonoid.lean index fae527ee1c9c70..9fa65665c67b63 100644 --- a/Mathlib/Algebra/GradedMonoid.lean +++ b/Mathlib/Algebra/GradedMonoid.lean @@ -7,9 +7,10 @@ module public import Mathlib.Algebra.Group.Action.Hom public import Mathlib.Algebra.Group.Submonoid.Defs -import Mathlib.Data.List.FinRange public import Mathlib.Algebra.BigOperators.Group.Finset.Basic +import Mathlib.Data.List.FinRange + /-! # Additively-graded multiplicative structures diff --git a/Mathlib/Algebra/Group/Action/Defs.lean b/Mathlib/Algebra/Group/Action/Defs.lean index f6d7a1a25bc477..b02736e2fb7270 100644 --- a/Mathlib/Algebra/Group/Action/Defs.lean +++ b/Mathlib/Algebra/Group/Action/Defs.lean @@ -8,6 +8,7 @@ module public import Mathlib.Algebra.Group.Commute.Defs public import Mathlib.Algebra.Opposites public import Mathlib.Logic.Function.Iterate + import Mathlib.Tactic.Spread /-! diff --git a/Mathlib/Algebra/Group/AddChar.lean b/Mathlib/Algebra/Group/AddChar.lean index f628451a60033e..05c38d9ad31857 100644 --- a/Mathlib/Algebra/Group/AddChar.lean +++ b/Mathlib/Algebra/Group/AddChar.lean @@ -5,10 +5,11 @@ Authors: Michael Stoll -/ module -import Mathlib.Algebra.BigOperators.Pi public import Mathlib.Algebra.BigOperators.Ring.Finset -import Mathlib.Algebra.Group.Subgroup.Ker public import Mathlib.Algebra.Group.TransferInstance + +import Mathlib.Algebra.BigOperators.Pi +import Mathlib.Algebra.Group.Subgroup.Ker import Mathlib.Algebra.Group.Units.Equiv /-! diff --git a/Mathlib/Algebra/Group/Equiv/TypeTags.lean b/Mathlib/Algebra/Group/Equiv/TypeTags.lean index 58f1988009dc49..60fd363e3ab973 100644 --- a/Mathlib/Algebra/Group/Equiv/TypeTags.lean +++ b/Mathlib/Algebra/Group/Equiv/TypeTags.lean @@ -7,6 +7,7 @@ module public import Mathlib.Algebra.Group.TypeTags.Hom public import Mathlib.Algebra.Notation.Prod + import Mathlib.Tactic.Spread /-! diff --git a/Mathlib/Algebra/Group/ForwardDiff.lean b/Mathlib/Algebra/Group/ForwardDiff.lean index acc0b72b1e26b7..272813ac7979bf 100644 --- a/Mathlib/Algebra/Group/ForwardDiff.lean +++ b/Mathlib/Algebra/Group/ForwardDiff.lean @@ -5,9 +5,10 @@ Authors: Giulio Caflisch, David Loeffler, Yu Shao, Weijie Jiang, BeiBei Xiong -/ module -import Mathlib.Tactic.Abel public import Mathlib.Algebra.Polynomial.Eval.Degree +import Mathlib.Tactic.Abel + /-! # Forward difference operators and Newton series diff --git a/Mathlib/Algebra/Group/Int/Even.lean b/Mathlib/Algebra/Group/Int/Even.lean index e9c385e2567614..f8ab8f1e8e3db3 100644 --- a/Mathlib/Algebra/Group/Int/Even.lean +++ b/Mathlib/Algebra/Group/Int/Even.lean @@ -8,6 +8,7 @@ module public import Mathlib.Algebra.Group.Int.Defs public import Mathlib.Algebra.Group.Nat.Even public import Mathlib.Data.Int.Sqrt + import Mathlib.Tactic.Attr.Core /-! diff --git a/Mathlib/Algebra/Group/Irreducible/Defs.lean b/Mathlib/Algebra/Group/Irreducible/Defs.lean index 7d1e20f332790b..c33770b2f49656 100644 --- a/Mathlib/Algebra/Group/Irreducible/Defs.lean +++ b/Mathlib/Algebra/Group/Irreducible/Defs.lean @@ -6,6 +6,7 @@ Authors: Johannes Hölzl, Jens Wagemaker, Yaël Dillies module public import Mathlib.Algebra.Group.Units.Defs + import Mathlib.Basic.Logic.Basic /-! diff --git a/Mathlib/Algebra/Group/Irreducible/Indecomposable.lean b/Mathlib/Algebra/Group/Irreducible/Indecomposable.lean index df2fe078b9dbee..f8556aad405c84 100644 --- a/Mathlib/Algebra/Group/Irreducible/Indecomposable.lean +++ b/Mathlib/Algebra/Group/Irreducible/Indecomposable.lean @@ -7,6 +7,7 @@ module public import Mathlib.Algebra.Group.Irreducible.Defs public import Mathlib.Algebra.Group.Subgroup.Pointwise + import Mathlib.Algebra.Order.Group.Defs /-! diff --git a/Mathlib/Algebra/Group/Irreducible/Lemmas.lean b/Mathlib/Algebra/Group/Irreducible/Lemmas.lean index 6c852752c86b2e..59a5d8db7fd1b9 100644 --- a/Mathlib/Algebra/Group/Irreducible/Lemmas.lean +++ b/Mathlib/Algebra/Group/Irreducible/Lemmas.lean @@ -5,11 +5,12 @@ Authors: Johannes Hölzl, Jens Wagemaker, Yaël Dillies -/ module -import Mathlib.Algebra.Group.Commute.Units public import Mathlib.Algebra.Group.Even public import Mathlib.Algebra.Group.Irreducible.Defs public import Mathlib.Algebra.Group.Units.Equiv +import Mathlib.Algebra.Group.Commute.Units + /-! # More lemmas about irreducible elements -/ diff --git a/Mathlib/Algebra/Group/ModEq.lean b/Mathlib/Algebra/Group/ModEq.lean index 61a95a36bd35cc..a3dd486aac5538 100644 --- a/Mathlib/Algebra/Group/ModEq.lean +++ b/Mathlib/Algebra/Group/ModEq.lean @@ -6,6 +6,7 @@ Authors: Yaël Dillies module public import Mathlib.Algebra.Group.Hom.Defs + import Mathlib.Algebra.Group.Torsion import Mathlib.Tactic.TermCongr import Mathlib.Tactic.Use diff --git a/Mathlib/Algebra/Group/Opposite.lean b/Mathlib/Algebra/Group/Opposite.lean index 22debba3f9cd36..93697af3b7d57e 100644 --- a/Mathlib/Algebra/Group/Opposite.lean +++ b/Mathlib/Algebra/Group/Opposite.lean @@ -9,6 +9,7 @@ public import Mathlib.Algebra.Group.Commute.Defs public import Mathlib.Algebra.Group.InjSurj public import Mathlib.Algebra.Group.Torsion public import Mathlib.Algebra.Opposites + import Mathlib.Tactic.Conv /-! diff --git a/Mathlib/Algebra/Group/Pointwise/Finset/Interval.lean b/Mathlib/Algebra/Group/Pointwise/Finset/Interval.lean index 4e766640722c0f..04847143738362 100644 --- a/Mathlib/Algebra/Group/Pointwise/Finset/Interval.lean +++ b/Mathlib/Algebra/Group/Pointwise/Finset/Interval.lean @@ -5,10 +5,11 @@ Authors: Eric Wieser -/ module -import Mathlib.Algebra.Order.Group.Pointwise.Interval public import Mathlib.Order.Interval.Finset.Defs public import Mathlib.Algebra.Group.Pointwise.Finset.Basic +import Mathlib.Algebra.Order.Group.Pointwise.Interval + /-! # Pointwise operations on intervals This should be kept in sync with `Mathlib/Algebra/Order/Group/Pointwise/Interval.lean`. diff --git a/Mathlib/Algebra/Group/Pointwise/Set/Basic.lean b/Mathlib/Algebra/Group/Pointwise/Set/Basic.lean index fc912f131002a8..e146baf5ca785a 100644 --- a/Mathlib/Algebra/Group/Pointwise/Set/Basic.lean +++ b/Mathlib/Algebra/Group/Pointwise/Set/Basic.lean @@ -5,11 +5,12 @@ Authors: Johan Commelin, Floris van Doorn, Yaël Dillies -/ module -import Mathlib.Algebra.Group.Equiv.Basic public import Mathlib.Algebra.Group.Prod public import Mathlib.Algebra.Order.Monoid.Unbundled.Pow public import Mathlib.Data.Set.NAry +import Mathlib.Algebra.Group.Equiv.Basic + /-! # Pointwise operations of sets diff --git a/Mathlib/Algebra/Group/Pointwise/Set/ListOfFn.lean b/Mathlib/Algebra/Group/Pointwise/Set/ListOfFn.lean index 2856ac8153d632..625aeb5e0cead6 100644 --- a/Mathlib/Algebra/Group/Pointwise/Set/ListOfFn.lean +++ b/Mathlib/Algebra/Group/Pointwise/Set/ListOfFn.lean @@ -5,10 +5,11 @@ Authors: Eric Wieser -/ module -import Mathlib.Data.List.OfFn public import Mathlib.Algebra.BigOperators.Group.List.Defs public import Mathlib.Algebra.Group.Pointwise.Set.Basic +import Mathlib.Data.List.OfFn + /-! # Pointwise operations with lists of sets diff --git a/Mathlib/Algebra/Group/Pointwise/Set/Scalar.lean b/Mathlib/Algebra/Group/Pointwise/Set/Scalar.lean index 661913c4926d6f..a76826af8cf992 100644 --- a/Mathlib/Algebra/Group/Pointwise/Set/Scalar.lean +++ b/Mathlib/Algebra/Group/Pointwise/Set/Scalar.lean @@ -8,6 +8,7 @@ module public import Mathlib.Algebra.Opposites public import Mathlib.Algebra.Notation.Pi.Defs public import Mathlib.Data.Set.NAry + import Mathlib.Tactic.Monotonicity.Attr /-! diff --git a/Mathlib/Algebra/Group/Subgroup/ZPowers/Basic.lean b/Mathlib/Algebra/Group/Subgroup/ZPowers/Basic.lean index 11143f61c16615..a5307559524d20 100644 --- a/Mathlib/Algebra/Group/Subgroup/ZPowers/Basic.lean +++ b/Mathlib/Algebra/Group/Subgroup/ZPowers/Basic.lean @@ -5,10 +5,11 @@ Authors: Chris Hughes -/ module -import Mathlib.Algebra.Divisibility.Basic public import Mathlib.Algebra.Group.Subgroup.Map public import Mathlib.Algebra.Group.Int.Defs +import Mathlib.Algebra.Divisibility.Basic + /-! # Subgroups generated by an element diff --git a/Mathlib/Algebra/Group/Submonoid/Membership.lean b/Mathlib/Algebra/Group/Submonoid/Membership.lean index f7b86b7ddb26f1..bad2eecb70b5b4 100644 --- a/Mathlib/Algebra/Group/Submonoid/Membership.lean +++ b/Mathlib/Algebra/Group/Submonoid/Membership.lean @@ -13,9 +13,10 @@ public import Mathlib.Algebra.Group.Nat.Hom public import Mathlib.Algebra.Group.Submonoid.MulOpposite public import Mathlib.Algebra.Group.Submonoid.Operations public import Mathlib.Data.Fintype.EquivFin -import Mathlib.Data.Int.Basic public import Mathlib.Algebra.Group.Int.Defs +import Mathlib.Data.Int.Basic + /-! # Submonoids: membership criteria diff --git a/Mathlib/Algebra/Group/UniqueProds/Basic.lean b/Mathlib/Algebra/Group/UniqueProds/Basic.lean index ce7c5743552389..73640f5ab7dd78 100644 --- a/Mathlib/Algebra/Group/UniqueProds/Basic.lean +++ b/Mathlib/Algebra/Group/UniqueProds/Basic.lean @@ -5,13 +5,14 @@ Authors: Damiano Testa -/ module -import Mathlib.Algebra.Group.Equiv.Opposite public import Mathlib.Algebra.Group.Finsupp public import Mathlib.Algebra.Group.Pointwise.Finset.Basic public import Mathlib.Algebra.Group.TypeTags.Basic public import Mathlib.Algebra.Group.ULift public import Mathlib.Data.DFinsupp.Defs +import Mathlib.Algebra.Group.Equiv.Opposite + /-! # Unique products and related notions diff --git a/Mathlib/Algebra/Group/WithOne/Basic.lean b/Mathlib/Algebra/Group/WithOne/Basic.lean index 892e0f49dd100d..1ef28feac5ffed 100644 --- a/Mathlib/Algebra/Group/WithOne/Basic.lean +++ b/Mathlib/Algebra/Group/WithOne/Basic.lean @@ -5,10 +5,11 @@ Authors: Mario Carneiro, Johan Commelin -/ module -import Mathlib.Algebra.Group.Basic public import Mathlib.Algebra.Group.Equiv.Defs public import Mathlib.Algebra.Group.WithOne.Defs +import Mathlib.Algebra.Group.Basic + /-! # More operations on `WithOne` and `WithZero` diff --git a/Mathlib/Algebra/Group/WithOne/Defs.lean b/Mathlib/Algebra/Group/WithOne/Defs.lean index 2911284461a66e..06848a6a02c7a1 100644 --- a/Mathlib/Algebra/Group/WithOne/Defs.lean +++ b/Mathlib/Algebra/Group/WithOne/Defs.lean @@ -6,11 +6,12 @@ Authors: Mario Carneiro, Johan Commelin module public import Mathlib.Algebra.Group.DivInvMonoid -import Mathlib.Basic.Nontrivial.Basic public import Mathlib.Data.Option.Basic public import Mathlib.Tactic.Common public import Mathlib.Tactic.Attr.Core +import Mathlib.Basic.Nontrivial.Basic + /-! # Adjoining a zero/one to semigroups and related algebraic structures diff --git a/Mathlib/Algebra/GroupWithZero/Action/Pointwise/Finset.lean b/Mathlib/Algebra/GroupWithZero/Action/Pointwise/Finset.lean index 8eb37e6f02be49..ca8a3154b4e709 100644 --- a/Mathlib/Algebra/GroupWithZero/Action/Pointwise/Finset.lean +++ b/Mathlib/Algebra/GroupWithZero/Action/Pointwise/Finset.lean @@ -7,6 +7,7 @@ module public import Mathlib.Algebra.Group.Action.Pointwise.Finset public import Mathlib.Algebra.GroupWithZero.Action.Pointwise.Set + import Mathlib.Algebra.GroupWithZero.Pointwise.Finset /-! diff --git a/Mathlib/Algebra/GroupWithZero/Action/Pointwise/Set.lean b/Mathlib/Algebra/GroupWithZero/Action/Pointwise/Set.lean index 07d4ec16dc79a1..5e9d4f4fd51c84 100644 --- a/Mathlib/Algebra/GroupWithZero/Action/Pointwise/Set.lean +++ b/Mathlib/Algebra/GroupWithZero/Action/Pointwise/Set.lean @@ -7,9 +7,10 @@ module public import Mathlib.Algebra.Group.Action.Pointwise.Set.Basic public import Mathlib.Algebra.GroupWithZero.Action.Basic -import Mathlib.Algebra.GroupWithZero.Action.Units public import Mathlib.Algebra.GroupWithZero.Pointwise.Set.Basic +import Mathlib.Algebra.GroupWithZero.Action.Units + /-! # Pointwise operations of sets in a group with zero diff --git a/Mathlib/Algebra/GroupWithZero/Defs.lean b/Mathlib/Algebra/GroupWithZero/Defs.lean index b546ee3757228f..74309e819a94fb 100644 --- a/Mathlib/Algebra/GroupWithZero/Defs.lean +++ b/Mathlib/Algebra/GroupWithZero/Defs.lean @@ -8,6 +8,7 @@ module public import Mathlib.Algebra.Group.DivInvMonoid public import Mathlib.Basic.Nontrivial.Defs public import Mathlib.Basic.Logic.Basic + import Batteries.Tactic.SeqFocus /-! diff --git a/Mathlib/Algebra/GroupWithZero/Divisibility.lean b/Mathlib/Algebra/GroupWithZero/Divisibility.lean index fa53ff6731fde2..3d449bfcf60114 100644 --- a/Mathlib/Algebra/GroupWithZero/Divisibility.lean +++ b/Mathlib/Algebra/GroupWithZero/Divisibility.lean @@ -8,6 +8,7 @@ module public import Mathlib.Algebra.GroupWithZero.Units.Basic public import Mathlib.Algebra.Divisibility.Units + import Mathlib.Data.Nat.Basic /-! diff --git a/Mathlib/Algebra/GroupWithZero/Indicator.lean b/Mathlib/Algebra/GroupWithZero/Indicator.lean index 75ced7aa8eb9f4..5063b7ecba12e2 100644 --- a/Mathlib/Algebra/GroupWithZero/Indicator.lean +++ b/Mathlib/Algebra/GroupWithZero/Indicator.lean @@ -5,11 +5,12 @@ Authors: Zhouhang Zhou, Yury Kudryashov -/ module -import Mathlib.Algebra.Group.Pi.Basic public import Mathlib.Algebra.Group.Support public import Mathlib.Algebra.GroupWithZero.Basic public import Mathlib.Algebra.Notation.Indicator +import Mathlib.Algebra.Group.Pi.Basic + /-! # Indicator functions and support of a function in groups with zero -/ diff --git a/Mathlib/Algebra/GroupWithZero/NonZeroDivisors.lean b/Mathlib/Algebra/GroupWithZero/NonZeroDivisors.lean index a15067c75dfa2a..3b79ed0f00a61f 100644 --- a/Mathlib/Algebra/GroupWithZero/NonZeroDivisors.lean +++ b/Mathlib/Algebra/GroupWithZero/NonZeroDivisors.lean @@ -8,9 +8,10 @@ module public import Mathlib.Algebra.Group.Submonoid.Membership public import Mathlib.Algebra.GroupWithZero.Action.Defs public import Mathlib.Algebra.GroupWithZero.Associated -import Mathlib.Algebra.GroupWithZero.Regular public import Mathlib.Algebra.Regular.SMul public import Mathlib.Algebra.BigOperators.Group.Finset.Defs + +import Mathlib.Algebra.GroupWithZero.Regular import Mathlib.Algebra.GroupWithZero.Action.Regular /-! diff --git a/Mathlib/Algebra/GroupWithZero/ProdHom.lean b/Mathlib/Algebra/GroupWithZero/ProdHom.lean index 3c8b658332da60..23de359bd57ab3 100644 --- a/Mathlib/Algebra/GroupWithZero/ProdHom.lean +++ b/Mathlib/Algebra/GroupWithZero/ProdHom.lean @@ -6,9 +6,10 @@ Authors: Yakov Pechersky module public import Mathlib.Algebra.Group.Prod +public import Mathlib.Algebra.GroupWithZero.WithZero + import Mathlib.Algebra.GroupWithZero.Commute import Mathlib.Algebra.GroupWithZero.Units.Lemmas -public import Mathlib.Algebra.GroupWithZero.WithZero /-! # Homomorphisms for products of groups with zero diff --git a/Mathlib/Algebra/GroupWithZero/Semiconj.lean b/Mathlib/Algebra/GroupWithZero/Semiconj.lean index 293c6f10a1a651..b207b0109f70f6 100644 --- a/Mathlib/Algebra/GroupWithZero/Semiconj.lean +++ b/Mathlib/Algebra/GroupWithZero/Semiconj.lean @@ -6,6 +6,7 @@ Authors: Johan Commelin module public import Mathlib.Algebra.GroupWithZero.Units.Basic + import Mathlib.Algebra.Group.Semiconj.Units /-! diff --git a/Mathlib/Algebra/GroupWithZero/Torsion.lean b/Mathlib/Algebra/GroupWithZero/Torsion.lean index 9a9d536db32bc0..35175a2df6f29a 100644 --- a/Mathlib/Algebra/GroupWithZero/Torsion.lean +++ b/Mathlib/Algebra/GroupWithZero/Torsion.lean @@ -5,9 +5,10 @@ Authors: Kenny Lau, Xavier Roblot -/ module -import Mathlib.Algebra.Regular.Basic public import Mathlib.RingTheory.UniqueFactorizationDomain.NormalizedFactors +import Mathlib.Algebra.Regular.Basic + /-! # Torsion-free monoids with zero diff --git a/Mathlib/Algebra/HierarchyDesign.lean b/Mathlib/Algebra/HierarchyDesign.lean index 04c2ed06b095cb..e674aa85ef0181 100644 --- a/Mathlib/Algebra/HierarchyDesign.lean +++ b/Mathlib/Algebra/HierarchyDesign.lean @@ -5,9 +5,10 @@ Authors: Kim Morrison, Eric Wieser -/ module -import Mathlib.Init public import Batteries.Util.LibraryNote +import Mathlib.Init + /-! # Documentation of the algebraic hierarchy diff --git a/Mathlib/Algebra/Homology/AlternatingConst.lean b/Mathlib/Algebra/Homology/AlternatingConst.lean index 4b40159206ff8e..a3a36c9a6a3825 100644 --- a/Mathlib/Algebra/Homology/AlternatingConst.lean +++ b/Mathlib/Algebra/Homology/AlternatingConst.lean @@ -5,9 +5,10 @@ Authors: Andrew Yang -/ module -import Mathlib.Algebra.Module.BigOperators public import Mathlib.AlgebraicTopology.ExtraDegeneracy +import Mathlib.Algebra.Module.BigOperators + /-! # The alternating constant complex diff --git a/Mathlib/Algebra/Homology/DerivedCategory/DerivabilityStructureInjectives.lean b/Mathlib/Algebra/Homology/DerivedCategory/DerivabilityStructureInjectives.lean index a0c70eef80316a..b97e49114581f0 100644 --- a/Mathlib/Algebra/Homology/DerivedCategory/DerivabilityStructureInjectives.lean +++ b/Mathlib/Algebra/Homology/DerivedCategory/DerivabilityStructureInjectives.lean @@ -9,11 +9,12 @@ public import Mathlib.Algebra.Homology.DerivedCategory.Plus public import Mathlib.Algebra.Homology.FullSubcategory public import Mathlib.Algebra.Homology.ModelCategory.Injective public import Mathlib.AlgebraicTopology.ModelCategory.DerivabilityStructureFibrant -import Mathlib.CategoryTheory.GuitartExact.Quotient public import Mathlib.CategoryTheory.Localization.DerivabilityStructure.Derives -import Mathlib.CategoryTheory.Localization.DerivabilityStructure.OfLocalizedEquivalences public import Mathlib.CategoryTheory.Preadditive.Injective.InjectiveObject +import Mathlib.CategoryTheory.GuitartExact.Quotient +import Mathlib.CategoryTheory.Localization.DerivabilityStructure.OfLocalizedEquivalences + /-! # The injective derivability structure diff --git a/Mathlib/Algebra/Homology/DerivedCategory/Ext/MapBijective.lean b/Mathlib/Algebra/Homology/DerivedCategory/Ext/MapBijective.lean index 6a902cd8c875ae..a596791522e9e1 100644 --- a/Mathlib/Algebra/Homology/DerivedCategory/Ext/MapBijective.lean +++ b/Mathlib/Algebra/Homology/DerivedCategory/Ext/MapBijective.lean @@ -5,12 +5,13 @@ Authors: Nailin Guan -/ module -import Mathlib.Algebra.FiveLemma -import Mathlib.Algebra.Homology.DerivedCategory.Ext.EnoughInjectives -import Mathlib.Algebra.Homology.DerivedCategory.Ext.EnoughProjectives public import Mathlib.Algebra.Homology.DerivedCategory.Ext.Map public import Mathlib.CategoryTheory.Preadditive.Injective.Preserves public import Mathlib.CategoryTheory.Preadditive.Projective.Preserves + +import Mathlib.Algebra.FiveLemma +import Mathlib.Algebra.Homology.DerivedCategory.Ext.EnoughInjectives +import Mathlib.Algebra.Homology.DerivedCategory.Ext.EnoughProjectives import Mathlib.CategoryTheory.Abelian.Exact /-! diff --git a/Mathlib/Algebra/Homology/DerivedCategory/Ext/TStructure.lean b/Mathlib/Algebra/Homology/DerivedCategory/Ext/TStructure.lean index 3de68a817e9df4..121bedb3376f66 100644 --- a/Mathlib/Algebra/Homology/DerivedCategory/Ext/TStructure.lean +++ b/Mathlib/Algebra/Homology/DerivedCategory/Ext/TStructure.lean @@ -6,6 +6,7 @@ Authors: Joël Riou module public import Mathlib.Algebra.Homology.DerivedCategory.Ext.Basic + import Mathlib.Algebra.Homology.DerivedCategory.TStructure /-! diff --git a/Mathlib/Algebra/Homology/DerivedCategory/KInjective.lean b/Mathlib/Algebra/Homology/DerivedCategory/KInjective.lean index da1a24664aa1ab..a358ab88dc6987 100644 --- a/Mathlib/Algebra/Homology/DerivedCategory/KInjective.lean +++ b/Mathlib/Algebra/Homology/DerivedCategory/KInjective.lean @@ -7,6 +7,7 @@ module public import Mathlib.Algebra.Homology.DerivedCategory.SmallShiftedHom public import Mathlib.Algebra.Homology.HomotopyCategory.KInjective + import Mathlib.Algebra.Homology.Embedding.ExtendHomotopy /-! diff --git a/Mathlib/Algebra/Homology/DerivedCategory/KProjective.lean b/Mathlib/Algebra/Homology/DerivedCategory/KProjective.lean index 54ec5639a1add1..9dab2509d477d0 100644 --- a/Mathlib/Algebra/Homology/DerivedCategory/KProjective.lean +++ b/Mathlib/Algebra/Homology/DerivedCategory/KProjective.lean @@ -7,6 +7,7 @@ module public import Mathlib.Algebra.Homology.DerivedCategory.SmallShiftedHom public import Mathlib.Algebra.Homology.HomotopyCategory.KProjective + import Mathlib.Algebra.Homology.Embedding.ExtendHomotopy /-! diff --git a/Mathlib/Algebra/Homology/DerivedCategory/RightDerivedFunctorPlus.lean b/Mathlib/Algebra/Homology/DerivedCategory/RightDerivedFunctorPlus.lean index 2f1e584293cd48..703c7ca4fbedc5 100644 --- a/Mathlib/Algebra/Homology/DerivedCategory/RightDerivedFunctorPlus.lean +++ b/Mathlib/Algebra/Homology/DerivedCategory/RightDerivedFunctorPlus.lean @@ -6,6 +6,7 @@ Authors: Joël Riou module public import Mathlib.Algebra.Homology.DerivedCategory.DerivabilityStructureInjectives + import Mathlib.CategoryTheory.Functor.Derived.RightDerivedCommShift import Mathlib.CategoryTheory.Localization.DerivabilityStructure.DerivesTriangulated diff --git a/Mathlib/Algebra/Homology/Embedding/Basic.lean b/Mathlib/Algebra/Homology/Embedding/Basic.lean index f3e6a34afdac5a..d73b3a4318110c 100644 --- a/Mathlib/Algebra/Homology/Embedding/Basic.lean +++ b/Mathlib/Algebra/Homology/Embedding/Basic.lean @@ -8,6 +8,7 @@ module public import Mathlib.Algebra.Homology.ComplexShape public import Mathlib.Algebra.Ring.Int.Defs public import Mathlib.Algebra.Group.Nat.Defs + import Mathlib.Tactic.Push /-! # Embeddings of complex shapes diff --git a/Mathlib/Algebra/Homology/Embedding/Boundary.lean b/Mathlib/Algebra/Homology/Embedding/Boundary.lean index 3d0f99157bb72d..c49cf2a93227ec 100644 --- a/Mathlib/Algebra/Homology/Embedding/Boundary.lean +++ b/Mathlib/Algebra/Homology/Embedding/Boundary.lean @@ -6,6 +6,7 @@ Authors: Joël Riou module public import Mathlib.Algebra.Homology.Embedding.Basic + import Mathlib.Algebra.Homology.HomologicalComplex /-! diff --git a/Mathlib/Algebra/Homology/Embedding/TruncGEHomology.lean b/Mathlib/Algebra/Homology/Embedding/TruncGEHomology.lean index 5f281a97434bf9..7ec02d79352ddb 100644 --- a/Mathlib/Algebra/Homology/Embedding/TruncGEHomology.lean +++ b/Mathlib/Algebra/Homology/Embedding/TruncGEHomology.lean @@ -7,6 +7,7 @@ module public import Mathlib.Algebra.Homology.Embedding.ExtendHomology public import Mathlib.Algebra.Homology.Embedding.TruncGE + import Mathlib.Algebra.Homology.Embedding.RestrictionHomology /-! # The homology of a canonical truncation diff --git a/Mathlib/Algebra/Homology/EulerCharacteristic.lean b/Mathlib/Algebra/Homology/EulerCharacteristic.lean index b6324cadacd26b..05f1f59a629aa8 100644 --- a/Mathlib/Algebra/Homology/EulerCharacteristic.lean +++ b/Mathlib/Algebra/Homology/EulerCharacteristic.lean @@ -6,11 +6,12 @@ Authors: Jesse Alama module public import Mathlib.Algebra.Category.ModuleCat.Basic -import Mathlib.Algebra.GroupWithZero.Indicator public import Mathlib.Algebra.Homology.ShortComplex.HomologicalComplex public import Mathlib.Algebra.Ring.NegOnePow public import Mathlib.LinearAlgebra.Dimension.Finrank +import Mathlib.Algebra.GroupWithZero.Indicator + /-! # Euler characteristic of homological complexes diff --git a/Mathlib/Algebra/Homology/Factorizations/CM5a.lean b/Mathlib/Algebra/Homology/Factorizations/CM5a.lean index 4d9c79347f31c3..ee5d0fe864383f 100644 --- a/Mathlib/Algebra/Homology/Factorizations/CM5a.lean +++ b/Mathlib/Algebra/Homology/Factorizations/CM5a.lean @@ -5,8 +5,9 @@ Authors: Joël Riou -/ module -import Mathlib.Algebra.Homology.DerivedCategory.TStructure public import Mathlib.Algebra.Homology.Factorizations.CM5b + +import Mathlib.Algebra.Homology.DerivedCategory.TStructure import Mathlib.Algebra.Homology.HomologicalComplexLimitsEventuallyConstant import Mathlib.Algebra.Homology.SingleHomology import Mathlib.CategoryTheory.Category.Factorisation diff --git a/Mathlib/Algebra/Homology/HomologicalComplexBiprod.lean b/Mathlib/Algebra/Homology/HomologicalComplexBiprod.lean index a5d07aeadd14ac..49c05deff7d535 100644 --- a/Mathlib/Algebra/Homology/HomologicalComplexBiprod.lean +++ b/Mathlib/Algebra/Homology/HomologicalComplexBiprod.lean @@ -5,9 +5,10 @@ Authors: Joël Riou -/ module -import Mathlib.Algebra.Homology.HomologicalComplexLimits public import Mathlib.Algebra.Homology.Additive +import Mathlib.Algebra.Homology.HomologicalComplexLimits + /-! # Binary biproducts of homological complexes In this file, it is shown that if two homological complex `K` and `L` in diff --git a/Mathlib/Algebra/Homology/HomologicalComplexLimits.lean b/Mathlib/Algebra/Homology/HomologicalComplexLimits.lean index 02d86dba94b5ab..8091291dc5b8ae 100644 --- a/Mathlib/Algebra/Homology/HomologicalComplexLimits.lean +++ b/Mathlib/Algebra/Homology/HomologicalComplexLimits.lean @@ -7,6 +7,7 @@ module public import Mathlib.Algebra.Homology.Single public import Mathlib.CategoryTheory.Limits.Preserves.Finite + import Mathlib.CategoryTheory.Limits.Constructions.EpiMono /-! diff --git a/Mathlib/Algebra/Homology/HomologicalComplexLimitsEventuallyConstant.lean b/Mathlib/Algebra/Homology/HomologicalComplexLimitsEventuallyConstant.lean index 19e4e16e4319a4..4c4cb2491d6ee3 100644 --- a/Mathlib/Algebra/Homology/HomologicalComplexLimitsEventuallyConstant.lean +++ b/Mathlib/Algebra/Homology/HomologicalComplexLimitsEventuallyConstant.lean @@ -6,9 +6,10 @@ Authors: Joël Riou module public import Mathlib.CategoryTheory.Limits.Constructions.EventuallyConstant -import Mathlib.Algebra.Homology.HomologicalComplexLimits public import Mathlib.Algebra.Homology.QuasiIso +import Mathlib.Algebra.Homology.HomologicalComplexLimits + /-! # Limits of degreewise eventually constant systems diff --git a/Mathlib/Algebra/Homology/HomotopyCategory/ChainComplex.lean b/Mathlib/Algebra/Homology/HomotopyCategory/ChainComplex.lean index 6fc3780d733e0c..1afeacbfeb1115 100644 --- a/Mathlib/Algebra/Homology/HomotopyCategory/ChainComplex.lean +++ b/Mathlib/Algebra/Homology/HomotopyCategory/ChainComplex.lean @@ -5,9 +5,10 @@ Authors: Joël Riou -/ module +public import Mathlib.Algebra.Homology.Embedding.Splitting + import Mathlib.Algebra.Homology.HomotopyCategory.DegreewiseSplit import Mathlib.Algebra.Homology.Embedding.ExtendHomotopy -public import Mathlib.Algebra.Homology.Embedding.Splitting /-! # Homotopy equivalences between chain complexes diff --git a/Mathlib/Algebra/Homology/HomotopyCategory/HomologicalFunctor.lean b/Mathlib/Algebra/Homology/HomotopyCategory/HomologicalFunctor.lean index 10885b515ece35..3af11356ac9180 100644 --- a/Mathlib/Algebra/Homology/HomotopyCategory/HomologicalFunctor.lean +++ b/Mathlib/Algebra/Homology/HomotopyCategory/HomologicalFunctor.lean @@ -5,11 +5,12 @@ Authors: Joël Riou -/ module -import Mathlib.Algebra.Homology.HomologicalComplexAbelian public import Mathlib.Algebra.Homology.HomotopyCategory.DegreewiseSplit -import Mathlib.Algebra.Homology.HomologySequence public import Mathlib.CategoryTheory.Triangulated.HomologicalFunctor +import Mathlib.Algebra.Homology.HomologicalComplexAbelian +import Mathlib.Algebra.Homology.HomologySequence + /-! # The homological functor In this file, it is shown that if `C` is an abelian category, diff --git a/Mathlib/Algebra/Homology/HomotopyCategory/Plus.lean b/Mathlib/Algebra/Homology/HomotopyCategory/Plus.lean index 1de8fd2a2465fb..22a7b4f8dc6ed5 100644 --- a/Mathlib/Algebra/Homology/HomotopyCategory/Plus.lean +++ b/Mathlib/Algebra/Homology/HomotopyCategory/Plus.lean @@ -8,9 +8,10 @@ module public import Mathlib.Algebra.Homology.CochainComplexPlus public import Mathlib.Algebra.Homology.HomotopyCategory.Acyclic public import Mathlib.Algebra.Homology.Precylinder -import Mathlib.CategoryTheory.Localization.OfQuotient public import Mathlib.CategoryTheory.Shift.SingleFunctorsLift +import Mathlib.CategoryTheory.Localization.OfQuotient + /-! # The triangulated subcategory of bounded below cochain complexes up to homotopy diff --git a/Mathlib/Algebra/Homology/LeftResolution/Reduced.lean b/Mathlib/Algebra/Homology/LeftResolution/Reduced.lean index b2292eaa7fceeb..3aaf2f54ee1cf9 100644 --- a/Mathlib/Algebra/Homology/LeftResolution/Reduced.lean +++ b/Mathlib/Algebra/Homology/LeftResolution/Reduced.lean @@ -7,6 +7,7 @@ module public import Mathlib.Algebra.Homology.LeftResolution.Transport public import Mathlib.CategoryTheory.Idempotents.FunctorExtension + import Mathlib.CategoryTheory.MorphismProperty.Retract /-! diff --git a/Mathlib/Algebra/Homology/ModelCategory/Injective.lean b/Mathlib/Algebra/Homology/ModelCategory/Injective.lean index cf3a813fc44ba5..8d9c1016f6f09b 100644 --- a/Mathlib/Algebra/Homology/ModelCategory/Injective.lean +++ b/Mathlib/Algebra/Homology/ModelCategory/Injective.lean @@ -7,11 +7,12 @@ module public import Mathlib.Algebra.Homology.CochainComplexPlus public import Mathlib.Algebra.Homology.Factorizations.CM5a +public import Mathlib.AlgebraicTopology.ModelCategory.Basic +public import Mathlib.AlgebraicTopology.ModelCategory.IsCofibrant + import Mathlib.Algebra.Homology.HomologySequenceLemmas import Mathlib.Algebra.Homology.HomotopyCategory.KInjective import Mathlib.Algebra.Homology.ModelCategory.Lifting -public import Mathlib.AlgebraicTopology.ModelCategory.Basic -public import Mathlib.AlgebraicTopology.ModelCategory.IsCofibrant import Mathlib.CategoryTheory.Abelian.Exact /-! diff --git a/Mathlib/Algebra/Homology/Refinements.lean b/Mathlib/Algebra/Homology/Refinements.lean index 548680259506bc..c1f5e803ea648d 100644 --- a/Mathlib/Algebra/Homology/Refinements.lean +++ b/Mathlib/Algebra/Homology/Refinements.lean @@ -5,9 +5,10 @@ Authors: Joël Riou -/ module -import Mathlib.CategoryTheory.Abelian.Refinements public import Mathlib.Algebra.Homology.ShortComplex.HomologicalComplex +import Mathlib.CategoryTheory.Abelian.Refinements + /-! # Refinements diff --git a/Mathlib/Algebra/Homology/ShortComplex/Ab.lean b/Mathlib/Algebra/Homology/ShortComplex/Ab.lean index c6083090b55a3c..bebf434c3bb30e 100644 --- a/Mathlib/Algebra/Homology/ShortComplex/Ab.lean +++ b/Mathlib/Algebra/Homology/ShortComplex/Ab.lean @@ -8,6 +8,7 @@ module public import Mathlib.Algebra.Category.Grp.Abelian public import Mathlib.Algebra.Category.Grp.Kernels public import Mathlib.Algebra.Homology.ShortComplex.ShortExact + import Mathlib.GroupTheory.QuotientGroup.Finite /-! diff --git a/Mathlib/Algebra/Homology/ShortComplex/ConcreteCategory.lean b/Mathlib/Algebra/Homology/ShortComplex/ConcreteCategory.lean index ea39dc6ed5dccf..9125187f4f4445 100644 --- a/Mathlib/Algebra/Homology/ShortComplex/ConcreteCategory.lean +++ b/Mathlib/Algebra/Homology/ShortComplex/ConcreteCategory.lean @@ -8,6 +8,7 @@ module public import Mathlib.Algebra.Homology.ShortComplex.Ab public import Mathlib.Algebra.Homology.ShortComplex.ExactFunctor public import Mathlib.Algebra.Homology.ShortComplex.SnakeLemma + import Mathlib.CategoryTheory.Limits.Shapes.ConcreteCategory /-! diff --git a/Mathlib/Algebra/Homology/ShortComplex/ExactFunctor.lean b/Mathlib/Algebra/Homology/ShortComplex/ExactFunctor.lean index 93b5f0580178cf..33517f6792985c 100644 --- a/Mathlib/Algebra/Homology/ShortComplex/ExactFunctor.lean +++ b/Mathlib/Algebra/Homology/ShortComplex/ExactFunctor.lean @@ -6,9 +6,10 @@ Authors: Joël Riou, Jujian Zhang module public import Mathlib.Algebra.Homology.ShortComplex.ShortExact -import Mathlib.CategoryTheory.Preadditive.LeftExact public import Mathlib.CategoryTheory.Abelian.Exact +import Mathlib.CategoryTheory.Preadditive.LeftExact + /-! # Exact functors diff --git a/Mathlib/Algebra/Homology/ShortComplex/Limits.lean b/Mathlib/Algebra/Homology/ShortComplex/Limits.lean index 16d9e49a9a5ba5..433e5cf2b5e575 100644 --- a/Mathlib/Algebra/Homology/ShortComplex/Limits.lean +++ b/Mathlib/Algebra/Homology/ShortComplex/Limits.lean @@ -6,9 +6,10 @@ Authors: Joël Riou module public import Mathlib.Algebra.Homology.ShortComplex.Basic -import Mathlib.CategoryTheory.Limits.Constructions.EpiMono public import Mathlib.CategoryTheory.Limits.Preserves.Finite +import Mathlib.CategoryTheory.Limits.Constructions.EpiMono + /-! # Limits and colimits in the category of short complexes diff --git a/Mathlib/Algebra/Homology/ShortComplex/SnakeLemma.lean b/Mathlib/Algebra/Homology/ShortComplex/SnakeLemma.lean index c6e416ef9da5f1..149d16c4900497 100644 --- a/Mathlib/Algebra/Homology/ShortComplex/SnakeLemma.lean +++ b/Mathlib/Algebra/Homology/ShortComplex/SnakeLemma.lean @@ -6,6 +6,7 @@ Authors: Joël Riou module public import Mathlib.Algebra.Homology.ExactSequence + import Mathlib.CategoryTheory.Abelian.Refinements /-! diff --git a/Mathlib/Algebra/Homology/SpectralObject/Cycles.lean b/Mathlib/Algebra/Homology/SpectralObject/Cycles.lean index 428c949f3b6012..6cd34056a832b5 100644 --- a/Mathlib/Algebra/Homology/SpectralObject/Cycles.lean +++ b/Mathlib/Algebra/Homology/SpectralObject/Cycles.lean @@ -7,6 +7,7 @@ module public import Mathlib.Algebra.Homology.SpectralObject.Basic public import Mathlib.Algebra.Homology.ExactSequenceFour + import Mathlib.CategoryTheory.Abelian.Exact /-! diff --git a/Mathlib/Algebra/Homology/TotalComplex.lean b/Mathlib/Algebra/Homology/TotalComplex.lean index 82e7d66f526567..f8989e8819e654 100644 --- a/Mathlib/Algebra/Homology/TotalComplex.lean +++ b/Mathlib/Algebra/Homology/TotalComplex.lean @@ -8,6 +8,7 @@ module public import Mathlib.CategoryTheory.Linear.Basic public import Mathlib.Algebra.Homology.ComplexShapeSigns public import Mathlib.Algebra.Homology.HomologicalBicomplex + import Mathlib.Algebra.Module.Basic /-! diff --git a/Mathlib/Algebra/IsPrimePow.lean b/Mathlib/Algebra/IsPrimePow.lean index 90459062efacea..1fbc4041afb976 100644 --- a/Mathlib/Algebra/IsPrimePow.lean +++ b/Mathlib/Algebra/IsPrimePow.lean @@ -5,11 +5,12 @@ Authors: Bhavik Mehta -/ module -import Mathlib.Algebra.Order.Ring.Nat -import Mathlib.Order.Nat public import Mathlib.Data.Nat.Log public import Mathlib.Data.Nat.Prime.Pow +import Mathlib.Algebra.Order.Ring.Nat +import Mathlib.Order.Nat + /-! # Prime powers diff --git a/Mathlib/Algebra/Lie/Basis/Prod.lean b/Mathlib/Algebra/Lie/Basis/Prod.lean index 7c9b4103f8c3f7..63392d07922eca 100644 --- a/Mathlib/Algebra/Lie/Basis/Prod.lean +++ b/Mathlib/Algebra/Lie/Basis/Prod.lean @@ -6,9 +6,10 @@ Authors: Oliver Nash module public import Mathlib.Algebra.Lie.Basis.Basic -import Mathlib.Algebra.Lie.Prod public import Mathlib.Algebra.Lie.Semisimple.Basic +import Mathlib.Algebra.Lie.Prod + /-! # Products of bases Lie algebras diff --git a/Mathlib/Algebra/Lie/CartanCriterion.lean b/Mathlib/Algebra/Lie/CartanCriterion.lean index c75ec5bd603d4e..f5d6406ff9d4c7 100644 --- a/Mathlib/Algebra/Lie/CartanCriterion.lean +++ b/Mathlib/Algebra/Lie/CartanCriterion.lean @@ -5,13 +5,14 @@ Authors: Janos Wolosz -/ module +public import Mathlib.Algebra.Lie.Killing +public import Mathlib.LinearAlgebra.Lagrange + import Mathlib.Algebra.Algebra.Rat import Mathlib.Algebra.Lie.AdjointAction.JordanChevalley -public import Mathlib.Algebra.Lie.Killing import Mathlib.LinearAlgebra.Eigenspace.Matrix import Mathlib.LinearAlgebra.Eigenspace.Minpoly import Mathlib.LinearAlgebra.Eigenspace.Semisimple -public import Mathlib.LinearAlgebra.Lagrange /-! # Cartan's criteria diff --git a/Mathlib/Algebra/Lie/LieTheorem.lean b/Mathlib/Algebra/Lie/LieTheorem.lean index 987e919d6fa6d3..f76d478198ec50 100644 --- a/Mathlib/Algebra/Lie/LieTheorem.lean +++ b/Mathlib/Algebra/Lie/LieTheorem.lean @@ -6,6 +6,7 @@ Authors: Lucas Whitfield, Johan Commelin module public import Mathlib.Algebra.Lie.Weights.Basic + import Mathlib.RingTheory.Finiteness.Nilpotent /-! diff --git a/Mathlib/Algebra/Lie/SkewAdjoint.lean b/Mathlib/Algebra/Lie/SkewAdjoint.lean index ad042e031ff69a..09d1429bf4ee31 100644 --- a/Mathlib/Algebra/Lie/SkewAdjoint.lean +++ b/Mathlib/Algebra/Lie/SkewAdjoint.lean @@ -7,6 +7,7 @@ module public import Mathlib.Algebra.Lie.Matrix public import Mathlib.LinearAlgebra.Matrix.SesquilinearForm + import Mathlib.Tactic.NoncommRing /-! diff --git a/Mathlib/Algebra/Lie/TraceForm.lean b/Mathlib/Algebra/Lie/TraceForm.lean index a4737683f7aae5..bfc14489c8573f 100644 --- a/Mathlib/Algebra/Lie/TraceForm.lean +++ b/Mathlib/Algebra/Lie/TraceForm.lean @@ -5,12 +5,13 @@ Authors: Oliver Nash -/ module -import Mathlib.Algebra.DirectSum.LinearMap public import Mathlib.Algebra.Lie.InvariantForm public import Mathlib.Algebra.Lie.Weights.Cartan public import Mathlib.Algebra.Lie.Weights.Linear public import Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure public import Mathlib.LinearAlgebra.BilinearForm.TensorProduct + +import Mathlib.Algebra.DirectSum.LinearMap import Mathlib.LinearAlgebra.PID /-! diff --git a/Mathlib/Algebra/Lie/Weights/Chain.lean b/Mathlib/Algebra/Lie/Weights/Chain.lean index 3aa11eccc22143..813aa6727e988e 100644 --- a/Mathlib/Algebra/Lie/Weights/Chain.lean +++ b/Mathlib/Algebra/Lie/Weights/Chain.lean @@ -7,9 +7,10 @@ module public import Mathlib.Algebra.DirectSum.LinearMap public import Mathlib.Algebra.Lie.Weights.Cartan +public import Mathlib.Data.Int.Interval + import Mathlib.Algebra.Order.Group.Pointwise.Interval import Mathlib.RingTheory.Finiteness.Nilpotent -public import Mathlib.Data.Int.Interval /-! # Chains of roots and weights diff --git a/Mathlib/Algebra/Lie/Weights/Killing.lean b/Mathlib/Algebra/Lie/Weights/Killing.lean index f755ffc542d343..a8fdceb401ebd4 100644 --- a/Mathlib/Algebra/Lie/Weights/Killing.lean +++ b/Mathlib/Algebra/Lie/Weights/Killing.lean @@ -5,10 +5,11 @@ Authors: Oliver Nash -/ module -import Mathlib.Algebra.Lie.Derivation.Killing public import Mathlib.Algebra.Lie.Killing public import Mathlib.Algebra.Lie.Sl2 public import Mathlib.Algebra.Lie.Weights.Chain + +import Mathlib.Algebra.Lie.Derivation.Killing import Mathlib.LinearAlgebra.Eigenspace.Semisimple import Mathlib.LinearAlgebra.JordanChevalley diff --git a/Mathlib/Algebra/Module/FinitePresentation.lean b/Mathlib/Algebra/Module/FinitePresentation.lean index d1c03c9868e8c4..0ce511211a7405 100644 --- a/Mathlib/Algebra/Module/FinitePresentation.lean +++ b/Mathlib/Algebra/Module/FinitePresentation.lean @@ -6,11 +6,12 @@ Authors: Andrew Yang module public import Mathlib.LinearAlgebra.LeftExact -import Mathlib.LinearAlgebra.TensorProduct.Pi public import Mathlib.RingTheory.Finiteness.Projective public import Mathlib.RingTheory.Flat.IsBaseChange public import Mathlib.RingTheory.Localization.BaseChange +import Mathlib.LinearAlgebra.TensorProduct.Pi + /-! # Finitely Presented Modules diff --git a/Mathlib/Algebra/Module/Injective.lean b/Mathlib/Algebra/Module/Injective.lean index ff242147164d3c..0fe93805bbe2d2 100644 --- a/Mathlib/Algebra/Module/Injective.lean +++ b/Mathlib/Algebra/Module/Injective.lean @@ -6,14 +6,15 @@ Authors: Jujian Zhang module -import Mathlib.Algebra.Module.Shrink public import Mathlib.LinearAlgebra.LinearPMap -import Mathlib.LinearAlgebra.Pi public import Mathlib.Logic.Small.Basic public import Mathlib.LinearAlgebra.BilinearMap public import Mathlib.RingTheory.Ideal.Defs public import Mathlib.Tactic.NormNum +import Mathlib.Algebra.Module.Shrink +import Mathlib.LinearAlgebra.Pi + /-! # Injective modules diff --git a/Mathlib/Algebra/Module/Lattice.lean b/Mathlib/Algebra/Module/Lattice.lean index a4dfdec04c2a71..dab071a9977f67 100644 --- a/Mathlib/Algebra/Module/Lattice.lean +++ b/Mathlib/Algebra/Module/Lattice.lean @@ -6,6 +6,7 @@ Authors: Judith Ludwig, Christian Merten module public import Mathlib.LinearAlgebra.Dimension.Localization + import Mathlib.LinearAlgebra.FiniteDimensional.Lemmas import Mathlib.LinearAlgebra.FreeModule.PID diff --git a/Mathlib/Algebra/Module/LinearMap/Index.lean b/Mathlib/Algebra/Module/LinearMap/Index.lean index a14d1bec48fe76..7ed40e48711d93 100644 --- a/Mathlib/Algebra/Module/LinearMap/Index.lean +++ b/Mathlib/Algebra/Module/LinearMap/Index.lean @@ -5,9 +5,10 @@ Authors: Oliver Nash -/ module -import Mathlib.Algebra.Exact.Sequence public import Mathlib.LinearAlgebra.FiniteDimensional.Lemmas +import Mathlib.Algebra.Exact.Sequence + /-! # The index of a linear map diff --git a/Mathlib/Algebra/Module/LinearMap/Prod.lean b/Mathlib/Algebra/Module/LinearMap/Prod.lean index b752b728d4c6a7..83d4cca9a53c94 100644 --- a/Mathlib/Algebra/Module/LinearMap/Prod.lean +++ b/Mathlib/Algebra/Module/LinearMap/Prod.lean @@ -6,9 +6,10 @@ Authors: Alexander Bentkamp module public import Mathlib.Algebra.Module.Prod -import Mathlib.Tactic.Abel public import Mathlib.Algebra.Module.LinearMap.Defs +import Mathlib.Tactic.Abel + /-! # Addition and subtraction are linear maps from the product space diff --git a/Mathlib/Algebra/Module/Presentation/Free.lean b/Mathlib/Algebra/Module/Presentation/Free.lean index 95a04ceb0cf04d..a32b674f62d4b6 100644 --- a/Mathlib/Algebra/Module/Presentation/Free.lean +++ b/Mathlib/Algebra/Module/Presentation/Free.lean @@ -6,9 +6,10 @@ Authors: Joël Riou module public import Mathlib.Algebra.Module.Presentation.Basic +public import Mathlib.LinearAlgebra.FreeModule.Basic + import Mathlib.Basic.UnivLE import Mathlib.LinearAlgebra.Finsupp.VectorSpace -public import Mathlib.LinearAlgebra.FreeModule.Basic /-! # Presentation of free modules diff --git a/Mathlib/Algebra/Module/Projective.lean b/Mathlib/Algebra/Module/Projective.lean index 8f667edfda345d..c97b044c61d1d1 100644 --- a/Mathlib/Algebra/Module/Projective.lean +++ b/Mathlib/Algebra/Module/Projective.lean @@ -5,9 +5,10 @@ Authors: Kevin Buzzard, Antoine Labelle -/ module -import Mathlib.Basic.UnivLE public import Mathlib.LinearAlgebra.TensorProduct.Basis +import Mathlib.Basic.UnivLE + /-! # Projective modules diff --git a/Mathlib/Algebra/Module/Rat.lean b/Mathlib/Algebra/Module/Rat.lean index 0a034caa57a287..3366d161e9cbeb 100644 --- a/Mathlib/Algebra/Module/Rat.lean +++ b/Mathlib/Algebra/Module/Rat.lean @@ -6,9 +6,10 @@ Authors: Nathaniel Thomas, Jeremy Avigad, Johannes Hölzl, Mario Carneiro module public import Mathlib.Algebra.Module.Basic -import Mathlib.Algebra.Module.End public import Mathlib.Algebra.Field.Rat +import Mathlib.Algebra.Module.End + /-! # Basic results about modules over the rationals. -/ diff --git a/Mathlib/Algebra/Module/StablyFree/Basic.lean b/Mathlib/Algebra/Module/StablyFree/Basic.lean index 8ff992c76f6827..b25620a83c3247 100644 --- a/Mathlib/Algebra/Module/StablyFree/Basic.lean +++ b/Mathlib/Algebra/Module/StablyFree/Basic.lean @@ -6,9 +6,10 @@ Authors: Yongle Hu module public import Mathlib.Algebra.Module.Projective -import Mathlib.LinearAlgebra.Basis.Prod public import Mathlib.RingTheory.Finiteness.Small +import Mathlib.LinearAlgebra.Basis.Prod + /-! # Stably free modules diff --git a/Mathlib/Algebra/Module/StablyFree/FreeOfInvertible.lean b/Mathlib/Algebra/Module/StablyFree/FreeOfInvertible.lean index e93e8e38306a56..476cb9e94cc5f0 100644 --- a/Mathlib/Algebra/Module/StablyFree/FreeOfInvertible.lean +++ b/Mathlib/Algebra/Module/StablyFree/FreeOfInvertible.lean @@ -6,11 +6,12 @@ Authors: Yongle Hu module public import Mathlib.Algebra.Module.StablyFree.Basic +public import Mathlib.RingTheory.PicardGroup + import Mathlib.LinearAlgebra.Alternating.Uncurry.Fin import Mathlib.LinearAlgebra.Determinant import Mathlib.LinearAlgebra.ExteriorPower.Basis import Mathlib.RingTheory.Finiteness.Prod -public import Mathlib.RingTheory.PicardGroup import Mathlib.RingTheory.Spectrum.Prime.FreeLocus /-! diff --git a/Mathlib/Algebra/Module/Torsion/Field.lean b/Mathlib/Algebra/Module/Torsion/Field.lean index 48d289f4564b04..111a6035ab947a 100644 --- a/Mathlib/Algebra/Module/Torsion/Field.lean +++ b/Mathlib/Algebra/Module/Torsion/Field.lean @@ -6,9 +6,10 @@ Authors: Yaël Dillies module public import Mathlib.Algebra.Field.Defs -import Mathlib.Algebra.GroupWithZero.Action.Units public import Mathlib.Algebra.Module.Torsion.Free +import Mathlib.Algebra.GroupWithZero.Action.Units + /-! # Vector spaces are torsion-free diff --git a/Mathlib/Algebra/Module/ULift.lean b/Mathlib/Algebra/Module/ULift.lean index 031a110cbdcd13..6cc51cdbeb6260 100644 --- a/Mathlib/Algebra/Module/ULift.lean +++ b/Mathlib/Algebra/Module/ULift.lean @@ -8,6 +8,7 @@ module public import Mathlib.Algebra.GroupWithZero.ULift public import Mathlib.Algebra.Ring.ULift public import Mathlib.Algebra.Module.Equiv.Defs + import Mathlib.Data.ULift /-! diff --git a/Mathlib/Algebra/Module/ZLattice/Basic.lean b/Mathlib/Algebra/Module/ZLattice/Basic.lean index 7dda55d6c0c50f..ca48d5b4d1d713 100644 --- a/Mathlib/Algebra/Module/ZLattice/Basic.lean +++ b/Mathlib/Algebra/Module/ZLattice/Basic.lean @@ -7,9 +7,10 @@ module public import Mathlib.LinearAlgebra.Countable public import Mathlib.LinearAlgebra.Dimension.OrzechProperty -import Mathlib.LinearAlgebra.FreeModule.PID public import Mathlib.MeasureTheory.Group.FundamentalDomain public import Mathlib.MeasureTheory.Measure.Lebesgue.EqHaar + +import Mathlib.LinearAlgebra.FreeModule.PID import Mathlib.RingTheory.Localization.Module /-! diff --git a/Mathlib/Algebra/Module/ZLattice/Covolume.lean b/Mathlib/Algebra/Module/ZLattice/Covolume.lean index 5a15e474489081..c4f7ca11db1419 100644 --- a/Mathlib/Algebra/Module/ZLattice/Covolume.lean +++ b/Mathlib/Algebra/Module/ZLattice/Covolume.lean @@ -6,6 +6,7 @@ Authors: Xavier Roblot module public import Mathlib.Analysis.BoxIntegral.UnitPartition + import Mathlib.LinearAlgebra.FreeModule.Finite.CardQuotient import Mathlib.MeasureTheory.Measure.Haar.InnerProductSpace diff --git a/Mathlib/Algebra/Module/ZLattice/Summable.lean b/Mathlib/Algebra/Module/ZLattice/Summable.lean index fc470d74c125c2..e16b116bec4e5e 100644 --- a/Mathlib/Algebra/Module/ZLattice/Summable.lean +++ b/Mathlib/Algebra/Module/ZLattice/Summable.lean @@ -6,6 +6,7 @@ Authors: Andrew Yang module public import Mathlib.Algebra.Module.ZLattice.Basic + import Mathlib.Analysis.PSeries import Mathlib.LinearAlgebra.Dual.Lemmas diff --git a/Mathlib/Algebra/MonoidAlgebra/Grading.lean b/Mathlib/Algebra/MonoidAlgebra/Grading.lean index e16dc0b68dac43..610d07138a520b 100644 --- a/Mathlib/Algebra/MonoidAlgebra/Grading.lean +++ b/Mathlib/Algebra/MonoidAlgebra/Grading.lean @@ -6,9 +6,10 @@ Authors: Eric Wieser module public import Mathlib.Algebra.MonoidAlgebra.Basic -import Mathlib.Algebra.MonoidAlgebra.Support public import Mathlib.RingTheory.GradedAlgebra.Basic +import Mathlib.Algebra.MonoidAlgebra.Support + /-! # Internal grading of an `AddMonoidAlgebra` diff --git a/Mathlib/Algebra/MonoidAlgebra/Ideal.lean b/Mathlib/Algebra/MonoidAlgebra/Ideal.lean index be2c3244e24b81..0fcdd3bef03a0e 100644 --- a/Mathlib/Algebra/MonoidAlgebra/Ideal.lean +++ b/Mathlib/Algebra/MonoidAlgebra/Ideal.lean @@ -5,10 +5,11 @@ Authors: Eric Wieser -/ module -import Mathlib.RingTheory.Ideal.BigOperators public import Mathlib.RingTheory.Ideal.Span public import Mathlib.Algebra.MonoidAlgebra.Defs +import Mathlib.RingTheory.Ideal.BigOperators + /-! # Lemmas about ideals of `MonoidAlgebra` and `AddMonoidAlgebra` -/ diff --git a/Mathlib/Algebra/MvPolynomial/Basic.lean b/Mathlib/Algebra/MvPolynomial/Basic.lean index 3cb724d8c8f6fd..113e165b02a7ac 100644 --- a/Mathlib/Algebra/MvPolynomial/Basic.lean +++ b/Mathlib/Algebra/MvPolynomial/Basic.lean @@ -7,13 +7,14 @@ module public import Mathlib.Algebra.Algebra.Subalgebra.Lattice public import Mathlib.Algebra.MonoidAlgebra.Basic -import Mathlib.Algebra.MonoidAlgebra.NoZeroDivisors -import Mathlib.Algebra.MonoidAlgebra.Support public import Mathlib.Algebra.Regular.Pow public import Mathlib.Data.Finsupp.Antidiagonal public import Mathlib.Data.Finsupp.Order public import Mathlib.Tactic.Polynomial.Core +import Mathlib.Algebra.MonoidAlgebra.NoZeroDivisors +import Mathlib.Algebra.MonoidAlgebra.Support + /-! # Multivariate polynomials diff --git a/Mathlib/Algebra/MvPolynomial/Cardinal.lean b/Mathlib/Algebra/MvPolynomial/Cardinal.lean index 6dfa3636a3a08f..747ddebd1b7a07 100644 --- a/Mathlib/Algebra/MvPolynomial/Cardinal.lean +++ b/Mathlib/Algebra/MvPolynomial/Cardinal.lean @@ -5,11 +5,11 @@ Authors: Chris Hughes, Junyan Xu -/ module -import Mathlib.Data.Finsupp.Fintype - -import Mathlib.Algebra.MonoidAlgebra.Cardinal public import Mathlib.Algebra.MvPolynomial.Basic public import Mathlib.SetTheory.Cardinal.Order + +import Mathlib.Data.Finsupp.Fintype +import Mathlib.Algebra.MonoidAlgebra.Cardinal import Mathlib.Tactic.NormNum /-! diff --git a/Mathlib/Algebra/MvPolynomial/Division.lean b/Mathlib/Algebra/MvPolynomial/Division.lean index 902cd7fb677a29..2803058b4dd3a6 100644 --- a/Mathlib/Algebra/MvPolynomial/Division.lean +++ b/Mathlib/Algebra/MvPolynomial/Division.lean @@ -6,9 +6,10 @@ Authors: Eric Wieser module public import Mathlib.Algebra.MonoidAlgebra.Division -import Mathlib.Data.Finsupp.Weight public import Mathlib.Algebra.MvPolynomial.Basic +import Mathlib.Data.Finsupp.Weight + /-! # Division of `MvPolynomial` by monomials diff --git a/Mathlib/Algebra/MvPolynomial/Expand.lean b/Mathlib/Algebra/MvPolynomial/Expand.lean index cc0e396f209086..5b1494b72cdf1b 100644 --- a/Mathlib/Algebra/MvPolynomial/Expand.lean +++ b/Mathlib/Algebra/MvPolynomial/Expand.lean @@ -7,6 +7,7 @@ module public import Mathlib.Algebra.MvPolynomial.Monad public import Mathlib.Algebra.MvPolynomial.Nilpotent + import Mathlib.Algebra.Order.Ring.Finset /-! diff --git a/Mathlib/Algebra/MvPolynomial/Funext.lean b/Mathlib/Algebra/MvPolynomial/Funext.lean index 401bbdc0a5d024..3a621a8007b11e 100644 --- a/Mathlib/Algebra/MvPolynomial/Funext.lean +++ b/Mathlib/Algebra/MvPolynomial/Funext.lean @@ -5,10 +5,11 @@ Authors: Johan Commelin -/ module +public import Mathlib.Algebra.MvPolynomial.Rename + import Mathlib.Algebra.Polynomial.RingDivision import Mathlib.Algebra.Polynomial.Roots import Mathlib.Algebra.MvPolynomial.Polynomial -public import Mathlib.Algebra.MvPolynomial.Rename /-! # Function extensionality for multivariate polynomials diff --git a/Mathlib/Algebra/MvPolynomial/SchwartzZippel.lean b/Mathlib/Algebra/MvPolynomial/SchwartzZippel.lean index d2801b5fea5183..c4018c9006f1f0 100644 --- a/Mathlib/Algebra/MvPolynomial/SchwartzZippel.lean +++ b/Mathlib/Algebra/MvPolynomial/SchwartzZippel.lean @@ -5,9 +5,10 @@ Authors: Bolton Bailey, Yaël Dillies, Andrew Yang -/ module +public import Mathlib.Algebra.MvPolynomial.Variables + import Mathlib.Algebra.BigOperators.Field import Mathlib.Algebra.MvPolynomial.Equiv -public import Mathlib.Algebra.MvPolynomial.Variables import Mathlib.Algebra.Order.GroupWithZero.Finset import Mathlib.Algebra.Order.Ring.Finset import Mathlib.Algebra.Polynomial.Roots diff --git a/Mathlib/Algebra/NeZero.lean b/Mathlib/Algebra/NeZero.lean index 78effa79cd3dee..1769473d954a09 100644 --- a/Mathlib/Algebra/NeZero.lean +++ b/Mathlib/Algebra/NeZero.lean @@ -5,8 +5,9 @@ Authors: Eric Rodriguez -/ module -import Mathlib.Basic.Logic.Basic public import Mathlib.Order.Defs.PartialOrder + +import Mathlib.Basic.Logic.Basic import Mathlib.Tactic.Basify.Attr /-! diff --git a/Mathlib/Algebra/NoZeroSMulDivisors/Basic.lean b/Mathlib/Algebra/NoZeroSMulDivisors/Basic.lean index 0b866477bb874a..e43873e992c725 100644 --- a/Mathlib/Algebra/NoZeroSMulDivisors/Basic.lean +++ b/Mathlib/Algebra/NoZeroSMulDivisors/Basic.lean @@ -5,9 +5,10 @@ Authors: Anne Baanen, Yury Kudryashov, Joseph Myers, Heather Macbeth, Kim Morris -/ module -import Mathlib.Algebra.GroupWithZero.Action.Units public import Mathlib.Algebra.NoZeroSMulDivisors.Defs +import Mathlib.Algebra.GroupWithZero.Action.Units + /-! # `NoZeroSMulDivisors` diff --git a/Mathlib/Algebra/Notation/Lemmas.lean b/Mathlib/Algebra/Notation/Lemmas.lean index 4c2f39f67db04c..c093630db065e2 100644 --- a/Mathlib/Algebra/Notation/Lemmas.lean +++ b/Mathlib/Algebra/Notation/Lemmas.lean @@ -5,9 +5,10 @@ Authors: Yael Dillies -/ module -import Batteries.Tactic.Init public import Mathlib.Tactic.ToAdditive +import Batteries.Tactic.Init + /-! # Lemmas about inequalities with `1`. -/ public section diff --git a/Mathlib/Algebra/Order/AbsoluteValue/Basic.lean b/Mathlib/Algebra/Order/AbsoluteValue/Basic.lean index 55a7ee49225502..003da81175e5f2 100644 --- a/Mathlib/Algebra/Order/AbsoluteValue/Basic.lean +++ b/Mathlib/Algebra/Order/AbsoluteValue/Basic.lean @@ -5,11 +5,12 @@ Authors: Mario Carneiro, Anne Baanen -/ module -import Mathlib.Algebra.GroupWithZero.Units.Lemmas public import Mathlib.Algebra.Order.Hom.RingNorm public import Mathlib.Algebra.Order.Ring.Abs public import Mathlib.Tactic.Positivity.Core +import Mathlib.Algebra.GroupWithZero.Units.Lemmas + /-! # Absolute values diff --git a/Mathlib/Algebra/Order/AddGroupWithTop.lean b/Mathlib/Algebra/Order/AddGroupWithTop.lean index bf3f393aa674ee..b941333418ced9 100644 --- a/Mathlib/Algebra/Order/AddGroupWithTop.lean +++ b/Mathlib/Algebra/Order/AddGroupWithTop.lean @@ -7,6 +7,7 @@ module public import Mathlib.Algebra.Order.Monoid.WithTop public import Mathlib.Algebra.Regular.Basic + import Mathlib.Tactic.Basify.Attr diff --git a/Mathlib/Algebra/Order/Antidiag/FinsuppEquiv.lean b/Mathlib/Algebra/Order/Antidiag/FinsuppEquiv.lean index a15d732b38006d..63d693ea1ff60b 100644 --- a/Mathlib/Algebra/Order/Antidiag/FinsuppEquiv.lean +++ b/Mathlib/Algebra/Order/Antidiag/FinsuppEquiv.lean @@ -7,6 +7,7 @@ module public import Mathlib.Algebra.Order.Antidiag.Finsupp public import Mathlib.Data.Finsupp.Multiset + import Mathlib.Data.Sym.Card /-! diff --git a/Mathlib/Algebra/Order/Antidiag/Nat.lean b/Mathlib/Algebra/Order/Antidiag/Nat.lean index 8947cf810c8e19..1d807b8ca46dd6 100644 --- a/Mathlib/Algebra/Order/Antidiag/Nat.lean +++ b/Mathlib/Algebra/Order/Antidiag/Nat.lean @@ -6,8 +6,9 @@ Authors: Arend Mellendijk module public import Mathlib.Algebra.Order.Antidiag.Pi -import Mathlib.Algebra.Order.BigOperators.Ring.Finset public import Mathlib.NumberTheory.ArithmeticFunction.Misc + +import Mathlib.Algebra.Order.BigOperators.Ring.Finset import Mathlib.Tactic.FinCases /-! diff --git a/Mathlib/Algebra/Order/Antidiag/Tendsto.lean b/Mathlib/Algebra/Order/Antidiag/Tendsto.lean index 95c0b1dcc25c10..b3133ae73d812c 100644 --- a/Mathlib/Algebra/Order/Antidiag/Tendsto.lean +++ b/Mathlib/Algebra/Order/Antidiag/Tendsto.lean @@ -5,10 +5,11 @@ Authors: William Coram -/ module -import Mathlib.Algebra.Group.Pointwise.Set.Finite public import Mathlib.Algebra.Order.Antidiag.Prod public import Mathlib.Order.Filter.Cofinite +import Mathlib.Algebra.Group.Pointwise.Set.Finite + /-! # Antidiagonal tendsto diff --git a/Mathlib/Algebra/Order/Archimedean/IndicatorCard.lean b/Mathlib/Algebra/Order/Archimedean/IndicatorCard.lean index fe0d69c6020aa2..927443a82b5a32 100644 --- a/Mathlib/Algebra/Order/Archimedean/IndicatorCard.lean +++ b/Mathlib/Algebra/Order/Archimedean/IndicatorCard.lean @@ -5,13 +5,14 @@ Authors: Damien Thomine -/ module -import Mathlib.Algebra.BigOperators.Group.Finset.Indicator public import Mathlib.Algebra.Order.Archimedean.Basic -import Mathlib.Algebra.Order.BigOperators.Group.Finset public import Mathlib.Algebra.Order.Group.Indicator public import Mathlib.Order.LiminfLimsup public import Mathlib.SetTheory.Cardinal.Finite +import Mathlib.Algebra.BigOperators.Group.Finset.Indicator +import Mathlib.Algebra.Order.BigOperators.Group.Finset + /-! # Cardinality and limit of sum of indicators diff --git a/Mathlib/Algebra/Order/Archimedean/Real/Hom.lean b/Mathlib/Algebra/Order/Archimedean/Real/Hom.lean index d665b0adbdd2a3..55a6dbbd7dbc4d 100644 --- a/Mathlib/Algebra/Order/Archimedean/Real/Hom.lean +++ b/Mathlib/Algebra/Order/Archimedean/Real/Hom.lean @@ -7,6 +7,7 @@ module public import Mathlib.Algebra.Order.Archimedean.Hom -- shake: keep (Subsingleton (ℝ →+*o ℝ)), cf. lean#13417 public import Mathlib.Analysis.Real.Sqrt + import Mathlib.Algebra.Order.CompleteField /-! diff --git a/Mathlib/Algebra/Order/Archimedean/Submonoid.lean b/Mathlib/Algebra/Order/Archimedean/Submonoid.lean index cbf57562d86857..e6e80d93ae18c3 100644 --- a/Mathlib/Algebra/Order/Archimedean/Submonoid.lean +++ b/Mathlib/Algebra/Order/Archimedean/Submonoid.lean @@ -7,6 +7,7 @@ module public import Mathlib.Algebra.Group.Submonoid.Defs public import Mathlib.Algebra.Order.Archimedean.Defs + import Mathlib.Data.Rat.Floor /-! diff --git a/Mathlib/Algebra/Order/BigOperators/Expect.lean b/Mathlib/Algebra/Order/BigOperators/Expect.lean index fdedc50e3cb429..7d0ae272a81ba8 100644 --- a/Mathlib/Algebra/Order/BigOperators/Expect.lean +++ b/Mathlib/Algebra/Order/BigOperators/Expect.lean @@ -6,11 +6,11 @@ Authors: Yaël Dillies module public import Mathlib.Algebra.BigOperators.Expect -import Mathlib.Algebra.Module.Rat public import Mathlib.Algebra.Order.BigOperators.Ring.Finset -import Mathlib.Algebra.Order.Module.Field public import Mathlib.Algebra.Order.Module.Rat +import Mathlib.Algebra.Module.Rat +import Mathlib.Algebra.Order.Module.Field import Mathlib.Algebra.Module.Torsion.Field /-! diff --git a/Mathlib/Algebra/Order/CauSeq/BigOperators.lean b/Mathlib/Algebra/Order/CauSeq/BigOperators.lean index e245a898f760b2..b2f0641329fb13 100644 --- a/Mathlib/Algebra/Order/CauSeq/BigOperators.lean +++ b/Mathlib/Algebra/Order/CauSeq/BigOperators.lean @@ -6,9 +6,10 @@ Authors: Chris Hughes, Yaël Dillies module public import Mathlib.Algebra.Field.GeomSum -import Mathlib.Algebra.Order.BigOperators.Ring.Finset public import Mathlib.Algebra.Order.CauSeq.Basic public import Mathlib.Algebra.Order.Archimedean.Defs + +import Mathlib.Algebra.Order.BigOperators.Ring.Finset import Mathlib.Data.Rat.Floor /-! diff --git a/Mathlib/Algebra/Order/Chebyshev.lean b/Mathlib/Algebra/Order/Chebyshev.lean index 93b83b53064d76..5e9b1b6c4bbd4f 100644 --- a/Mathlib/Algebra/Order/Chebyshev.lean +++ b/Mathlib/Algebra/Order/Chebyshev.lean @@ -5,11 +5,11 @@ Authors: Mantas Bakšys, Yaël Dillies -/ module -import Mathlib.Algebra.Order.Monovary public import Mathlib.Algebra.Order.Rearrangement -import Mathlib.GroupTheory.Perm.Cycle.Basic public import Mathlib.Tactic.Positivity +import Mathlib.Algebra.Order.Monovary +import Mathlib.GroupTheory.Perm.Cycle.Basic import Mathlib.Algebra.BigOperators.Module import Mathlib.Data.Multiset.Fintype diff --git a/Mathlib/Algebra/Order/Field/Pi.lean b/Mathlib/Algebra/Order/Field/Pi.lean index aefb34cd2b4308..a501e2751c4f04 100644 --- a/Mathlib/Algebra/Order/Field/Pi.lean +++ b/Mathlib/Algebra/Order/Field/Pi.lean @@ -7,6 +7,7 @@ module public import Mathlib.Algebra.Order.Monoid.Defs public import Mathlib.Data.Finset.Lattice.Fold + import Mathlib.Data.Fintype.Basic /-! diff --git a/Mathlib/Algebra/Order/Field/Pointwise.lean b/Mathlib/Algebra/Order/Field/Pointwise.lean index 1a09a5701287d5..467831ac04c32e 100644 --- a/Mathlib/Algebra/Order/Field/Pointwise.lean +++ b/Mathlib/Algebra/Order/Field/Pointwise.lean @@ -7,11 +7,12 @@ module public import Mathlib.Algebra.Field.Defs public import Mathlib.Algebra.Group.Pointwise.Set.Scalar -import Mathlib.Algebra.Order.GroupWithZero.OrderIso public import Mathlib.Algebra.Order.Ring.Defs public import Mathlib.Order.Interval.Set.OrderIso public import Mathlib.Algebra.Group.Action.Defs +import Mathlib.Algebra.Order.GroupWithZero.OrderIso + /-! # Pointwise operations on ordered algebraic objects diff --git a/Mathlib/Algebra/Order/Field/Power.lean b/Mathlib/Algebra/Order/Field/Power.lean index fff4b156ce65de..a3c0c98699c0ee 100644 --- a/Mathlib/Algebra/Order/Field/Power.lean +++ b/Mathlib/Algebra/Order/Field/Power.lean @@ -5,11 +5,12 @@ Authors: Robert Y. Lewis, Leonardo de Moura, Mario Carneiro, Floris van Doorn, S -/ module +public import Mathlib.Algebra.Order.Ring.Pow +public import Mathlib.Tactic.Positivity.Core + import Mathlib.Algebra.GroupWithZero.Units.Lemmas import Mathlib.Algebra.Order.Ring.Abs -public import Mathlib.Algebra.Order.Ring.Pow import Mathlib.Algebra.Ring.CharZero -public import Mathlib.Tactic.Positivity.Core /-! # Lemmas about powers in ordered fields. diff --git a/Mathlib/Algebra/Order/Floor/BigOperators.lean b/Mathlib/Algebra/Order/Floor/BigOperators.lean index da9331d172e3f7..085558487e1da9 100644 --- a/Mathlib/Algebra/Order/Floor/BigOperators.lean +++ b/Mathlib/Algebra/Order/Floor/BigOperators.lean @@ -7,6 +7,7 @@ module public import Mathlib.Algebra.Order.Floor.Ring public import Mathlib.Algebra.BigOperators.Ring.Finset + import Mathlib.Order.Interval.Finset.Nat /-! diff --git a/Mathlib/Algebra/Order/Group/Basic.lean b/Mathlib/Algebra/Order/Group/Basic.lean index dafcb10e8c1220..0514fbfd85dbfd 100644 --- a/Mathlib/Algebra/Order/Group/Basic.lean +++ b/Mathlib/Algebra/Order/Group/Basic.lean @@ -5,8 +5,9 @@ Authors: Jeremy Avigad, Robert Y. Lewis -/ module -import Mathlib.Algebra.Order.Group.Unbundled.Basic public import Mathlib.Algebra.Order.Monoid.Defs + +import Mathlib.Algebra.Order.Group.Unbundled.Basic import Mathlib.Algebra.Order.Monoid.Unbundled.Pow /-! diff --git a/Mathlib/Algebra/Order/Group/Bounds.lean b/Mathlib/Algebra/Order/Group/Bounds.lean index 60d07c3397a2d7..961ae8bfcf19e8 100644 --- a/Mathlib/Algebra/Order/Group/Bounds.lean +++ b/Mathlib/Algebra/Order/Group/Bounds.lean @@ -7,6 +7,7 @@ module public import Mathlib.Order.Bounds.Basic public import Mathlib.Algebra.Order.Monoid.Defs + import Mathlib.Algebra.Order.Group.Unbundled.Basic /-! diff --git a/Mathlib/Algebra/Order/Group/DenselyOrdered.lean b/Mathlib/Algebra/Order/Group/DenselyOrdered.lean index 75a944646507ad..a9d94d80b08850 100644 --- a/Mathlib/Algebra/Order/Group/DenselyOrdered.lean +++ b/Mathlib/Algebra/Order/Group/DenselyOrdered.lean @@ -5,10 +5,11 @@ Authors: Jeremy Avigad, Leonardo de Moura, Mario Carneiro, Johannes Hölzl -/ module -import Mathlib.Algebra.Order.Group.Defs -import Mathlib.Algebra.Order.Group.Unbundled.Basic public import Mathlib.Algebra.Order.Monoid.Defs public import Mathlib.Algebra.Order.Monoid.Unbundled.ExistsOfLE + +import Mathlib.Algebra.Order.Group.Defs +import Mathlib.Algebra.Order.Group.Unbundled.Basic import Mathlib.Algebra.Order.Monoid.Unbundled.OrderDual import Mathlib.Algebra.Order.Monoid.Unbundled.Pow diff --git a/Mathlib/Algebra/Order/Group/Finset.lean b/Mathlib/Algebra/Order/Group/Finset.lean index 112dbc3d4bb37d..c9b5a3da542ae8 100644 --- a/Mathlib/Algebra/Order/Group/Finset.lean +++ b/Mathlib/Algebra/Order/Group/Finset.lean @@ -5,13 +5,14 @@ Authors: Yaël Dillies, Andrew Yang -/ module -import Mathlib.Algebra.Order.Group.OrderIso public import Mathlib.Algebra.Order.Monoid.Canonical.Defs -import Mathlib.Algebra.Order.Monoid.Unbundled.MinMax -import Mathlib.Algebra.Order.Monoid.Unbundled.Pow public import Mathlib.Algebra.Order.Monoid.Unbundled.WithTop public import Mathlib.Data.Finset.Lattice.Prod +import Mathlib.Algebra.Order.Group.OrderIso +import Mathlib.Algebra.Order.Monoid.Unbundled.MinMax +import Mathlib.Algebra.Order.Monoid.Unbundled.Pow + /-! # `Finset.sup` in a group -/ diff --git a/Mathlib/Algebra/Order/Group/Int/Sum.lean b/Mathlib/Algebra/Order/Group/Int/Sum.lean index 09aa116262f44d..ee6ecf89a37b2a 100644 --- a/Mathlib/Algebra/Order/Group/Int/Sum.lean +++ b/Mathlib/Algebra/Order/Group/Int/Sum.lean @@ -5,10 +5,11 @@ Authors: Jeremy Tan -/ module -import Mathlib.Algebra.BigOperators.Group.Finset.Piecewise public import Mathlib.Algebra.Order.BigOperators.Group.Finset public import Mathlib.Data.Int.Interval +import Mathlib.Algebra.BigOperators.Group.Finset.Piecewise + /-! # Sharp bounds for sums of bounded finsets of integers diff --git a/Mathlib/Algebra/Order/Group/MinMax.lean b/Mathlib/Algebra/Order/Group/MinMax.lean index 4dfbd46ead1174..bfd04f60571b21 100644 --- a/Mathlib/Algebra/Order/Group/MinMax.lean +++ b/Mathlib/Algebra/Order/Group/MinMax.lean @@ -6,6 +6,7 @@ Authors: Jeremy Avigad, Leonardo de Moura, Mario Carneiro, Johannes Hölzl module public import Mathlib.Algebra.Order.Group.Abs + import Mathlib.Algebra.Order.Monoid.Unbundled.MinMax /-! diff --git a/Mathlib/Algebra/Order/Group/PartialSups.lean b/Mathlib/Algebra/Order/Group/PartialSups.lean index f7d8cca657dd37..6d5c24dd366a7b 100644 --- a/Mathlib/Algebra/Order/Group/PartialSups.lean +++ b/Mathlib/Algebra/Order/Group/PartialSups.lean @@ -5,9 +5,10 @@ Authors: Lua Viana Reis -/ module -import Mathlib.Algebra.Order.Group.OrderIso public import Mathlib.Order.PartialSups +import Mathlib.Algebra.Order.Group.OrderIso + /-! # Results about `partialSups` of functions taking values in a `Group` -/ diff --git a/Mathlib/Algebra/Order/Group/Pointwise/Bounds.lean b/Mathlib/Algebra/Order/Group/Pointwise/Bounds.lean index 9400d5d9c45ad0..83e1ae56c9a690 100644 --- a/Mathlib/Algebra/Order/Group/Pointwise/Bounds.lean +++ b/Mathlib/Algebra/Order/Group/Pointwise/Bounds.lean @@ -6,10 +6,11 @@ Authors: Yury Kudryashov module public import Mathlib.Algebra.Order.Group.OrderIso -import Mathlib.Order.Bounds.OrderIso public import Mathlib.Order.GaloisConnection.Basic public import Mathlib.Algebra.Group.Pointwise.Set.Basic +import Mathlib.Order.Bounds.OrderIso + /-! # Upper/lower bounds in ordered monoids and groups diff --git a/Mathlib/Algebra/Order/Group/Pointwise/Interval.lean b/Mathlib/Algebra/Order/Group/Pointwise/Interval.lean index 1bb2ba80d173d6..0116782df11fb1 100644 --- a/Mathlib/Algebra/Order/Group/Pointwise/Interval.lean +++ b/Mathlib/Algebra/Order/Group/Pointwise/Interval.lean @@ -8,12 +8,13 @@ module public import Mathlib.Algebra.Group.Action.Defs public import Mathlib.Algebra.Group.Pointwise.Set.Scalar public import Mathlib.Algebra.Order.Field.Basic -import Mathlib.Algebra.Order.Group.MinMax public import Mathlib.Algebra.Order.Interval.Set.Monoid -import Mathlib.Order.Interval.Set.OrderIso public import Mathlib.Order.Interval.Set.UnorderedInterval public import Mathlib.Algebra.Group.Pointwise.Set.Basic +import Mathlib.Algebra.Order.Group.MinMax +import Mathlib.Order.Interval.Set.OrderIso + /-! # (Pre)images of intervals diff --git a/Mathlib/Algebra/Order/GroupWithZero/Basic.lean b/Mathlib/Algebra/Order/GroupWithZero/Basic.lean index 0fba69de36b2f3..c9fcf53dc0ec39 100644 --- a/Mathlib/Algebra/Order/GroupWithZero/Basic.lean +++ b/Mathlib/Algebra/Order/GroupWithZero/Basic.lean @@ -10,9 +10,9 @@ public import Mathlib.Algebra.Order.GroupWithZero.Defs public import Mathlib.Algebra.Order.ZeroLEOne public import Mathlib.Tactic.Bound.Attribute public import Mathlib.Tactic.Monotonicity.Attr +public import Mathlib.Data.Int.Order.Basic import Mathlib.Data.Set.Function -public import Mathlib.Data.Int.Order.Basic /-! # Lemmas on the monotone multiplication typeclasses diff --git a/Mathlib/Algebra/Order/GroupWithZero/Finset.lean b/Mathlib/Algebra/Order/GroupWithZero/Finset.lean index 9154325830cb90..12799d541df649 100644 --- a/Mathlib/Algebra/Order/GroupWithZero/Finset.lean +++ b/Mathlib/Algebra/Order/GroupWithZero/Finset.lean @@ -6,9 +6,10 @@ Authors: Eric Wieser, Yaël Dillies, Andrew Yang module public import Mathlib.Algebra.Order.GroupWithZero.Canonical -import Mathlib.Algebra.Order.GroupWithZero.OrderIso public import Mathlib.Data.Finset.Lattice.Fold +import Mathlib.Algebra.Order.GroupWithZero.OrderIso + /-! # `Finset.sup` in a group with zero -/ diff --git a/Mathlib/Algebra/Order/GroupWithZero/Range.lean b/Mathlib/Algebra/Order/GroupWithZero/Range.lean index 292956931e355f..c2108758307b90 100644 --- a/Mathlib/Algebra/Order/GroupWithZero/Range.lean +++ b/Mathlib/Algebra/Order/GroupWithZero/Range.lean @@ -8,6 +8,7 @@ module public import Mathlib.Algebra.GroupWithZero.Range public import Mathlib.Algebra.Order.GroupWithZero.WithZero public import Mathlib.Algebra.Order.Hom.MonoidWithZero + import Mathlib.Algebra.Order.Monoid.Basic /-! # The range of a MonoidWithZeroHom diff --git a/Mathlib/Algebra/Order/Hom/Lattice.lean b/Mathlib/Algebra/Order/Hom/Lattice.lean index 17acf0ef49b62c..5bf1a986a373fa 100644 --- a/Mathlib/Algebra/Order/Hom/Lattice.lean +++ b/Mathlib/Algebra/Order/Hom/Lattice.lean @@ -7,6 +7,7 @@ module public import Mathlib.Algebra.Order.Hom.Basic public import Mathlib.Data.Fintype.Order + import Mathlib.Order.ConditionallyCompleteLattice.Indexed /-! diff --git a/Mathlib/Algebra/Order/Interval/Set/Monoid.lean b/Mathlib/Algebra/Order/Interval/Set/Monoid.lean index fed8e5274c5532..5f2c37fc9ff828 100644 --- a/Mathlib/Algebra/Order/Interval/Set/Monoid.lean +++ b/Mathlib/Algebra/Order/Interval/Set/Monoid.lean @@ -5,11 +5,12 @@ Authors: Yury Kudryashov, Patrick Massot -/ module -import Mathlib.Data.Set.Function public import Mathlib.Order.Interval.Set.Basic public import Mathlib.Algebra.Order.Monoid.Defs public import Mathlib.Algebra.Order.Monoid.Unbundled.ExistsOfLE +import Mathlib.Data.Set.Function + /-! # Images of intervals under `(+ d)` diff --git a/Mathlib/Algebra/Order/Interval/Set/SuccPred.lean b/Mathlib/Algebra/Order/Interval/Set/SuccPred.lean index 3e115011e34240..d7a982dc462ff0 100644 --- a/Mathlib/Algebra/Order/Interval/Set/SuccPred.lean +++ b/Mathlib/Algebra/Order/Interval/Set/SuccPred.lean @@ -6,6 +6,7 @@ Authors: Yaël Dillies module public import Mathlib.Algebra.Order.SuccPred + import Mathlib.Order.Interval.Set.SuccPred /-! diff --git a/Mathlib/Algebra/Order/Kleene.lean b/Mathlib/Algebra/Order/Kleene.lean index c03910000bea76..a8284e196e055f 100644 --- a/Mathlib/Algebra/Order/Kleene.lean +++ b/Mathlib/Algebra/Order/Kleene.lean @@ -9,6 +9,7 @@ public import Mathlib.Algebra.Order.Monoid.Canonical.Defs public import Mathlib.Algebra.Ring.InjSurj public import Mathlib.Algebra.Ring.Pi public import Mathlib.Algebra.Ring.Prod + import Mathlib.Tactic.Monotonicity.Attr /-! diff --git a/Mathlib/Algebra/Order/Module/HahnEmbedding.lean b/Mathlib/Algebra/Order/Module/HahnEmbedding.lean index 248ca2a8f7027c..ffac42e7077e4c 100644 --- a/Mathlib/Algebra/Order/Module/HahnEmbedding.lean +++ b/Mathlib/Algebra/Order/Module/HahnEmbedding.lean @@ -9,10 +9,11 @@ public import Mathlib.Algebra.DirectSum.Decomposition public import Mathlib.Algebra.Module.Submodule.Order public import Mathlib.Algebra.Order.Module.Archimedean public import Mathlib.Algebra.Order.Module.Equiv -import Mathlib.LinearAlgebra.Basis.VectorSpace public import Mathlib.LinearAlgebra.LinearPMap public import Mathlib.RingTheory.HahnSeries.Lex +import Mathlib.LinearAlgebra.Basis.VectorSpace + /-! # Hahn embedding theorem on ordered modules diff --git a/Mathlib/Algebra/Order/Module/Pointwise.lean b/Mathlib/Algebra/Order/Module/Pointwise.lean index a6e4c8534a6ba1..0199ff4f388972 100644 --- a/Mathlib/Algebra/Order/Module/Pointwise.lean +++ b/Mathlib/Algebra/Order/Module/Pointwise.lean @@ -7,6 +7,7 @@ module public import Mathlib.Algebra.Group.Pointwise.Set.Scalar public import Mathlib.Algebra.Order.Module.Field + import Mathlib.Order.Bounds.OrderIso import Mathlib.Order.GaloisConnection.Basic diff --git a/Mathlib/Algebra/Order/Module/Rat.lean b/Mathlib/Algebra/Order/Module/Rat.lean index 24a1b9c78424cc..f543553f69ec16 100644 --- a/Mathlib/Algebra/Order/Module/Rat.lean +++ b/Mathlib/Algebra/Order/Module/Rat.lean @@ -5,10 +5,11 @@ Authors: Yaël Dillies -/ module -import Mathlib.Algebra.Module.Rat public import Mathlib.Data.Rat.Cast.Order public import Mathlib.Algebra.Order.Module.Defs +import Mathlib.Algebra.Module.Rat + /-! # Monotonicity of the action by rational numbers -/ diff --git a/Mathlib/Algebra/Order/Monoid/Canonical/Basic.lean b/Mathlib/Algebra/Order/Monoid/Canonical/Basic.lean index 32f8dbf0b302c7..03aae823e20f40 100644 --- a/Mathlib/Algebra/Order/Monoid/Canonical/Basic.lean +++ b/Mathlib/Algebra/Order/Monoid/Canonical/Basic.lean @@ -7,8 +7,9 @@ module public import Mathlib.Algebra.Order.Monoid.Canonical.Defs public import Mathlib.Algebra.Order.Sub.Unbundled.Basic -import Mathlib.Data.Finset.Attr public import Mathlib.Order.Interval.Set.Defs + +import Mathlib.Data.Finset.Attr import Mathlib.Tactic.Common import Mathlib.Tactic.SetLike diff --git a/Mathlib/Algebra/Order/Monoid/LocallyFiniteOrder.lean b/Mathlib/Algebra/Order/Monoid/LocallyFiniteOrder.lean index 3ca8341ec45da5..2144c50368079e 100644 --- a/Mathlib/Algebra/Order/Monoid/LocallyFiniteOrder.lean +++ b/Mathlib/Algebra/Order/Monoid/LocallyFiniteOrder.lean @@ -5,14 +5,15 @@ Authors: Andrew Yang -/ module -import Mathlib.Algebra.Group.Subgroup.Ker public import Mathlib.Algebra.Order.Hom.MonoidWithZero public import Mathlib.Algebra.Order.Hom.TypeTags public import Mathlib.Algebra.Order.Ring.Int public import Mathlib.Data.Nat.Cast.Order.Ring +public import Mathlib.Order.Interval.Finset.Basic + +import Mathlib.Algebra.Group.Subgroup.Ker import Mathlib.Tactic.Abel import Mathlib.Algebra.Group.Embedding -public import Mathlib.Order.Interval.Finset.Basic /-! diff --git a/Mathlib/Algebra/Order/Monovary.lean b/Mathlib/Algebra/Order/Monovary.lean index 30520cfec8520f..dedeef84f327dd 100644 --- a/Mathlib/Algebra/Order/Monovary.lean +++ b/Mathlib/Algebra/Order/Monovary.lean @@ -7,9 +7,10 @@ module public import Mathlib.Algebra.Field.Defs public import Mathlib.Algebra.Order.Module.Defs +public import Mathlib.Order.Monotone.Monovary + import Mathlib.Algebra.Order.Module.Synonym import Mathlib.Algebra.Order.Monoid.OrderDual -public import Mathlib.Order.Monotone.Monovary /-! # Monovarying functions and algebraic operations diff --git a/Mathlib/Algebra/Order/Quantale.lean b/Mathlib/Algebra/Order/Quantale.lean index 615fcc122d8801..6af009f9166847 100644 --- a/Mathlib/Algebra/Order/Quantale.lean +++ b/Mathlib/Algebra/Order/Quantale.lean @@ -7,6 +7,7 @@ module public import Mathlib.Algebra.Order.Monoid.Unbundled.Basic public import Mathlib.Order.CompleteLattice.Basic + import Mathlib.Tactic.Variable /-! diff --git a/Mathlib/Algebra/Order/Ring/Archimedean.lean b/Mathlib/Algebra/Order/Ring/Archimedean.lean index 7ab779be71d97b..1d8fb23e3b5bb8 100644 --- a/Mathlib/Algebra/Order/Ring/Archimedean.lean +++ b/Mathlib/Algebra/Order/Ring/Archimedean.lean @@ -9,6 +9,7 @@ public import Mathlib.Algebra.Order.Archimedean.Class public import Mathlib.Algebra.Order.Group.DenselyOrdered public import Mathlib.Algebra.Order.Hom.Ring public import Mathlib.RingTheory.Valuation.Basic + import Mathlib.Algebra.Order.Archimedean.Basic /-! diff --git a/Mathlib/Algebra/Order/Ring/Finset.lean b/Mathlib/Algebra/Order/Ring/Finset.lean index b50794c2f7ca31..cc8aea522e7b97 100644 --- a/Mathlib/Algebra/Order/Ring/Finset.lean +++ b/Mathlib/Algebra/Order/Ring/Finset.lean @@ -5,10 +5,11 @@ Authors: Eric Wieser, Yaël Dillies, Andrew Yang -/ module -import Mathlib.Algebra.Order.Ring.Canonical public import Mathlib.Data.Finset.Lattice.Fold public import Mathlib.Data.Nat.Cast.Order.Ring +import Mathlib.Algebra.Order.Ring.Canonical + /-! # `Finset.sup` and ring operations -/ diff --git a/Mathlib/Algebra/Order/Ring/Interval.lean b/Mathlib/Algebra/Order/Ring/Interval.lean index 159a892e78660f..2b073e745ca81b 100644 --- a/Mathlib/Algebra/Order/Ring/Interval.lean +++ b/Mathlib/Algebra/Order/Ring/Interval.lean @@ -7,6 +7,7 @@ module public import Mathlib.Algebra.Order.Ring.Defs public import Mathlib.Data.Int.Interval + import Mathlib.Algebra.Order.Ring.Cast /-! # Intervals of integers in strict ordered rings diff --git a/Mathlib/Algebra/Order/Ring/IsNonarchimedean.lean b/Mathlib/Algebra/Order/Ring/IsNonarchimedean.lean index caf801bc1f2a4b..63b714c6315611 100644 --- a/Mathlib/Algebra/Order/Ring/IsNonarchimedean.lean +++ b/Mathlib/Algebra/Order/Ring/IsNonarchimedean.lean @@ -5,9 +5,10 @@ Authors: María Inés de Frutos-Fernández, Fabrizio Barroero -/ module -import Mathlib.Algebra.Module.NatInt public import Mathlib.Data.Nat.Choose.Sum +import Mathlib.Algebra.Module.NatInt + /-! # Nonarchimedean functions diff --git a/Mathlib/Algebra/Order/Ring/Ordering/Basic.lean b/Mathlib/Algebra/Order/Ring/Ordering/Basic.lean index 5c748b0711b834..71adbe75ffc5c2 100644 --- a/Mathlib/Algebra/Order/Ring/Ordering/Basic.lean +++ b/Mathlib/Algebra/Order/Ring/Ordering/Basic.lean @@ -5,9 +5,10 @@ Authors: Florent Schaffhauser, Artie Khovanov -/ module -import Mathlib.Algebra.Field.IsField public import Mathlib.Algebra.Order.Ring.Ordering.Defs public import Mathlib.Algebra.Ring.SumsOfSquares + +import Mathlib.Algebra.Field.IsField import Mathlib.Tactic.FieldSimp import Mathlib.Tactic.LinearCombination import Mathlib.Tactic.Ring diff --git a/Mathlib/Algebra/Order/Ring/Unbundled/Basic.lean b/Mathlib/Algebra/Order/Ring/Unbundled/Basic.lean index 6818f62cd038c7..08e4ff81ed966e 100644 --- a/Mathlib/Algebra/Order/Ring/Unbundled/Basic.lean +++ b/Mathlib/Algebra/Order/Ring/Unbundled/Basic.lean @@ -5,12 +5,13 @@ Authors: Jeremy Avigad, Leonardo de Moura, Mario Carneiro, Yaël Dillies -/ module -import Mathlib.Algebra.Order.Group.Unbundled.Basic public import Mathlib.Algebra.Order.GroupWithZero.Basic public import Mathlib.Algebra.Order.Monoid.Unbundled.ExistsOfLE public import Mathlib.Algebra.Order.Monoid.NatCast public import Mathlib.Algebra.Order.Monoid.Unbundled.MinMax public import Mathlib.Algebra.Ring.Defs + +import Mathlib.Algebra.Order.Group.Unbundled.Basic import Mathlib.Tactic.Tauto /-! diff --git a/Mathlib/Algebra/Order/Ring/Unbundled/Rat.lean b/Mathlib/Algebra/Order/Ring/Unbundled/Rat.lean index 764de980d7e695..fd9ee5ad943642 100644 --- a/Mathlib/Algebra/Order/Ring/Unbundled/Rat.lean +++ b/Mathlib/Algebra/Order/Ring/Unbundled/Rat.lean @@ -7,6 +7,7 @@ module public import Mathlib.Algebra.Order.Group.Unbundled.Int public import Mathlib.Data.Rat.Defs + import Mathlib.Algebra.Ring.Int.Defs /-! diff --git a/Mathlib/Algebra/Order/Star/Conjneg.lean b/Mathlib/Algebra/Order/Star/Conjneg.lean index 491b9309a3b1c3..1931e067f5071b 100644 --- a/Mathlib/Algebra/Order/Star/Conjneg.lean +++ b/Mathlib/Algebra/Order/Star/Conjneg.lean @@ -5,10 +5,11 @@ Authors: Yaël Dillies -/ module -import Mathlib.Algebra.Order.Pi public import Mathlib.Algebra.Order.Star.Basic public import Mathlib.Algebra.Star.Conjneg +import Mathlib.Algebra.Order.Pi + /-! # Order properties of conjugation-negation -/ diff --git a/Mathlib/Algebra/Order/Star/Int.lean b/Mathlib/Algebra/Order/Star/Int.lean index 6f19f36a9e6789..c0a5ed0c41a742 100644 --- a/Mathlib/Algebra/Order/Star/Int.lean +++ b/Mathlib/Algebra/Order/Star/Int.lean @@ -5,11 +5,12 @@ Authors: Yaël Dillies -/ module -import Mathlib.Algebra.Order.Group.Abs public import Mathlib.Algebra.Order.Monoid.Submonoid +public import Mathlib.Algebra.Order.Star.Basic + +import Mathlib.Algebra.Order.Group.Abs import Mathlib.Algebra.Order.Ring.Basic import Mathlib.Algebra.Order.Ring.Int -public import Mathlib.Algebra.Order.Star.Basic /-! # Star ordered ring structure on `ℤ` diff --git a/Mathlib/Algebra/Order/Star/Pi.lean b/Mathlib/Algebra/Order/Star/Pi.lean index ccc65728bf7c17..6dab3a376ae8ec 100644 --- a/Mathlib/Algebra/Order/Star/Pi.lean +++ b/Mathlib/Algebra/Order/Star/Pi.lean @@ -5,10 +5,11 @@ Authors: Monica Omar -/ module -import Mathlib.Algebra.Group.Submonoid.Finite public import Mathlib.Algebra.Order.Star.Basic public import Mathlib.Algebra.Star.Pi +import Mathlib.Algebra.Group.Submonoid.Finite + /-! # Pi-types of star-ordered rings -/ diff --git a/Mathlib/Algebra/Order/Star/Rat.lean b/Mathlib/Algebra/Order/Star/Rat.lean index 24090b657e9306..873a51b8e9353f 100644 --- a/Mathlib/Algebra/Order/Star/Rat.lean +++ b/Mathlib/Algebra/Order/Star/Rat.lean @@ -6,9 +6,10 @@ Authors: Jireh Loreaux, Yaël Dillies module public import Mathlib.Algebra.Order.Monoid.Submonoid +public import Mathlib.Algebra.Order.Star.Basic + import Mathlib.Algebra.Order.Ring.Abs import Mathlib.Algebra.Order.Ring.NNRat -public import Mathlib.Algebra.Order.Star.Basic /-! # Star ordered ring structures on `ℚ` and `ℚ≥0` diff --git a/Mathlib/Algebra/Order/Sub/Unbundled/Hom.lean b/Mathlib/Algebra/Order/Sub/Unbundled/Hom.lean index 10ee0e2f3cd183..aa87dfb02aaf7d 100644 --- a/Mathlib/Algebra/Order/Sub/Unbundled/Hom.lean +++ b/Mathlib/Algebra/Order/Sub/Unbundled/Hom.lean @@ -5,10 +5,11 @@ Authors: Floris van Doorn -/ module -import Mathlib.Algebra.Group.Equiv.Defs public import Mathlib.Algebra.Order.Sub.Unbundled.Basic public import Mathlib.Algebra.Ring.Basic public import Mathlib.Order.Hom.Basic + +import Mathlib.Algebra.Group.Equiv.Defs /-! # Lemmas about subtraction in unbundled canonically ordered monoids -/ diff --git a/Mathlib/Algebra/Order/SuccPred.lean b/Mathlib/Algebra/Order/SuccPred.lean index 3c52a0ceaaddbd..0078f829b14087 100644 --- a/Mathlib/Algebra/Order/SuccPred.lean +++ b/Mathlib/Algebra/Order/SuccPred.lean @@ -5,11 +5,12 @@ Authors: Violeta Hernández Palacios, Yaël Dillies -/ module -import Mathlib.Algebra.Group.Basic public import Mathlib.Data.Int.Cast.Defs public import Mathlib.Order.SuccPred.Limit public import Mathlib.Order.SuccPred.WithBot +import Mathlib.Algebra.Group.Basic + /-! # Interaction between successors and arithmetic diff --git a/Mathlib/Algebra/Order/SuccPred/PartialSups.lean b/Mathlib/Algebra/Order/SuccPred/PartialSups.lean index 2df735fbc33997..104793cb7f5140 100644 --- a/Mathlib/Algebra/Order/SuccPred/PartialSups.lean +++ b/Mathlib/Algebra/Order/SuccPred/PartialSups.lean @@ -7,6 +7,7 @@ module public import Mathlib.Algebra.Order.SuccPred public import Mathlib.Order.PartialSups + import Mathlib.Order.SuccPred.LinearLocallyFinite /-! diff --git a/Mathlib/Algebra/Order/UpperLower.lean b/Mathlib/Algebra/Order/UpperLower.lean index 0a6c88acaee33e..578a2ecfa74412 100644 --- a/Mathlib/Algebra/Order/UpperLower.lean +++ b/Mathlib/Algebra/Order/UpperLower.lean @@ -6,11 +6,12 @@ Authors: Yaël Dillies module public import Mathlib.Algebra.Group.Action.Pointwise.Set.Basic +public import Mathlib.Algebra.Order.Monoid.OrderDual +public import Mathlib.Order.UpperLower.Closure + import Mathlib.Algebra.Group.Pointwise.Set.Lattice import Mathlib.Algebra.Order.Group.Defs import Mathlib.Algebra.Order.Group.OrderIso -public import Mathlib.Algebra.Order.Monoid.OrderDual -public import Mathlib.Order.UpperLower.Closure /-! # Algebraic operations on upper/lower sets diff --git a/Mathlib/Algebra/Polynomial/Cardinal.lean b/Mathlib/Algebra/Polynomial/Cardinal.lean index 77e92d1463c550..81201732a87ebd 100644 --- a/Mathlib/Algebra/Polynomial/Cardinal.lean +++ b/Mathlib/Algebra/Polynomial/Cardinal.lean @@ -5,10 +5,11 @@ Authors: Chris Hughes, Junyan Xu -/ module -import Mathlib.Algebra.MonoidAlgebra.Cardinal public import Mathlib.Algebra.Polynomial.Basic public import Mathlib.SetTheory.Cardinal.Finsupp +import Mathlib.Algebra.MonoidAlgebra.Cardinal + /-! # Cardinality of Polynomial Ring diff --git a/Mathlib/Algebra/Polynomial/Coeff.lean b/Mathlib/Algebra/Polynomial/Coeff.lean index 28f0c306e426f6..37a455db693a98 100644 --- a/Mathlib/Algebra/Polynomial/Coeff.lean +++ b/Mathlib/Algebra/Polynomial/Coeff.lean @@ -6,10 +6,11 @@ Authors: Chris Hughes, Johannes Hölzl, Kim Morrison, Jens Wagemaker module public import Mathlib.Algebra.CharP.Defs -import Mathlib.Algebra.MonoidAlgebra.Support public import Mathlib.Algebra.Polynomial.Basic public import Mathlib.Data.Nat.Choose.Sum +import Mathlib.Algebra.MonoidAlgebra.Support + /-! # Theory of univariate polynomials diff --git a/Mathlib/Algebra/Polynomial/Degree/IsMonicOfDegree.lean b/Mathlib/Algebra/Polynomial/Degree/IsMonicOfDegree.lean index c2bd46c985f403..b57c2776c0506b 100644 --- a/Mathlib/Algebra/Polynomial/Degree/IsMonicOfDegree.lean +++ b/Mathlib/Algebra/Polynomial/Degree/IsMonicOfDegree.lean @@ -6,6 +6,7 @@ Authors: Michael Stoll module public import Mathlib.Algebra.Polynomial.AlgebraMap + import Mathlib.Algebra.Polynomial.Monic /-! diff --git a/Mathlib/Algebra/Polynomial/Degree/Monomial.lean b/Mathlib/Algebra/Polynomial/Degree/Monomial.lean index 3775df59e85fc4..eb646c4bc31461 100644 --- a/Mathlib/Algebra/Polynomial/Degree/Monomial.lean +++ b/Mathlib/Algebra/Polynomial/Degree/Monomial.lean @@ -6,6 +6,7 @@ Authors: Chris Hughes, Johannes Hölzl, Kim Morrison, Jens Wagemaker module public import Mathlib.Algebra.Polynomial.Degree.Defs + import Mathlib.Algebra.Polynomial.Monomial /-! diff --git a/Mathlib/Algebra/Polynomial/DenomsClearable.lean b/Mathlib/Algebra/Polynomial/DenomsClearable.lean index 64fb327a1215d7..3d158fad64023c 100644 --- a/Mathlib/Algebra/Polynomial/DenomsClearable.lean +++ b/Mathlib/Algebra/Polynomial/DenomsClearable.lean @@ -6,9 +6,10 @@ Authors: Damiano Testa module public import Mathlib.Algebra.Algebra.Basic -import Mathlib.Algebra.Order.Ring.Abs public import Mathlib.Algebra.Polynomial.EraseLead +import Mathlib.Algebra.Order.Ring.Abs + /-! # Denominators of evaluation of polynomials at ratios diff --git a/Mathlib/Algebra/Polynomial/Derivation.lean b/Mathlib/Algebra/Polynomial/Derivation.lean index cb1a7a7dac1bf8..81fc83eb99262e 100644 --- a/Mathlib/Algebra/Polynomial/Derivation.lean +++ b/Mathlib/Algebra/Polynomial/Derivation.lean @@ -6,8 +6,9 @@ Authors: Kevin Buzzard, Richard M. Hill module public import Mathlib.Algebra.Polynomial.Module.AEval -import Mathlib.RingTheory.Adjoin.Polynomial.Basic public import Mathlib.RingTheory.Derivation.Basic + +import Mathlib.RingTheory.Adjoin.Polynomial.Basic /-! # Derivations of univariate polynomials diff --git a/Mathlib/Algebra/Polynomial/Derivative.lean b/Mathlib/Algebra/Polynomial/Derivative.lean index 8aa871330ae801..cbb7a078500ef7 100644 --- a/Mathlib/Algebra/Polynomial/Derivative.lean +++ b/Mathlib/Algebra/Polynomial/Derivative.lean @@ -5,11 +5,12 @@ Authors: Chris Hughes, Johannes Hölzl, Kim Morrison, Jens Wagemaker -/ module -import Mathlib.Algebra.Polynomial.Degree.Domain public import Mathlib.Algebra.Polynomial.Degree.Support public import Mathlib.Algebra.Polynomial.Eval.Coeff public import Mathlib.GroupTheory.GroupAction.Ring +import Mathlib.Algebra.Polynomial.Degree.Domain + /-! # The derivative map on polynomials diff --git a/Mathlib/Algebra/Polynomial/Div.lean b/Mathlib/Algebra/Polynomial/Div.lean index cfb98276e3f20f..ed42a0826f934f 100644 --- a/Mathlib/Algebra/Polynomial/Div.lean +++ b/Mathlib/Algebra/Polynomial/Div.lean @@ -5,12 +5,13 @@ Authors: Chris Hughes, Johannes Hölzl, Kim Morrison, Jens Wagemaker -/ module -import Mathlib.Algebra.Field.IsField public import Mathlib.Algebra.Polynomial.Inductions public import Mathlib.Algebra.Polynomial.Monic -import Mathlib.Order.Lattice.Nat public import Mathlib.RingTheory.Multiplicity +import Mathlib.Algebra.Field.IsField +import Mathlib.Order.Lattice.Nat + /-! # Division of univariate polynomials diff --git a/Mathlib/Algebra/Polynomial/Eval/SMul.lean b/Mathlib/Algebra/Polynomial/Eval/SMul.lean index 4438b431a0f185..55edcebbac8b9f 100644 --- a/Mathlib/Algebra/Polynomial/Eval/SMul.lean +++ b/Mathlib/Algebra/Polynomial/Eval/SMul.lean @@ -5,9 +5,10 @@ Authors: Chris Hughes, Johannes Hölzl, Kim Morrison, Jens Wagemaker -/ module -import Mathlib.Algebra.Polynomial.Degree.Support public import Mathlib.Algebra.Polynomial.Eval.Defs +import Mathlib.Algebra.Polynomial.Degree.Support + /-! # Evaluating polynomials and scalar multiplication diff --git a/Mathlib/Algebra/Polynomial/Eval/Subring.lean b/Mathlib/Algebra/Polynomial/Eval/Subring.lean index 44496f400f42ac..688df7a42cf01c 100644 --- a/Mathlib/Algebra/Polynomial/Eval/Subring.lean +++ b/Mathlib/Algebra/Polynomial/Eval/Subring.lean @@ -5,10 +5,11 @@ Authors: Chris Hughes, Johannes Hölzl, Kim Morrison, Jens Wagemaker -/ module -import Mathlib.Algebra.Polynomial.Degree.Support public import Mathlib.Algebra.Polynomial.Eval.Coeff public import Mathlib.Algebra.Ring.Subring.Basic +import Mathlib.Algebra.Polynomial.Degree.Support + /-! # Evaluation of polynomials in subrings diff --git a/Mathlib/Algebra/Polynomial/FieldDivision.lean b/Mathlib/Algebra/Polynomial/FieldDivision.lean index 93731e808c0c4c..7bdd5f202b8eee 100644 --- a/Mathlib/Algebra/Polynomial/FieldDivision.lean +++ b/Mathlib/Algebra/Polynomial/FieldDivision.lean @@ -5,12 +5,13 @@ Authors: Chris Hughes, Johannes Hölzl, Kim Morrison, Jens Wagemaker -/ module -import Mathlib.Algebra.Order.Group.Finset public import Mathlib.Algebra.Polynomial.Derivative public import Mathlib.Algebra.Polynomial.Eval.SMul public import Mathlib.Algebra.Polynomial.Roots public import Mathlib.RingTheory.EuclideanDomain public import Mathlib.RingTheory.UniqueFactorizationDomain.NormalizedFactors + +import Mathlib.Algebra.Order.Group.Finset import Mathlib.Algebra.NoZeroSMulDivisors.Basic /-! diff --git a/Mathlib/Algebra/Polynomial/GroupRingAction.lean b/Mathlib/Algebra/Polynomial/GroupRingAction.lean index 13c9429981b8f6..f25b31b50fe942 100644 --- a/Mathlib/Algebra/Polynomial/GroupRingAction.lean +++ b/Mathlib/Algebra/Polynomial/GroupRingAction.lean @@ -5,11 +5,12 @@ Authors: Kenny Lau -/ module -import Mathlib.Algebra.Polynomial.AlgebraMap public import Mathlib.Algebra.Polynomial.Monic public import Mathlib.GroupTheory.Coset.Card public import Mathlib.GroupTheory.GroupAction.Quotient +import Mathlib.Algebra.Polynomial.AlgebraMap + /-! # Group action on rings applied to polynomials diff --git a/Mathlib/Algebra/Polynomial/HasseDeriv.lean b/Mathlib/Algebra/Polynomial/HasseDeriv.lean index cf2e4a047da008..fc2d826aeea25e 100644 --- a/Mathlib/Algebra/Polynomial/HasseDeriv.lean +++ b/Mathlib/Algebra/Polynomial/HasseDeriv.lean @@ -9,9 +9,10 @@ public import Mathlib.Algebra.Polynomial.BigOperators public import Mathlib.Algebra.Polynomial.Derivative public import Mathlib.Data.Nat.Choose.Cast public import Mathlib.Data.Nat.Choose.Vandermonde -import Mathlib.Tactic.Field public import Mathlib.Tactic.Positivity +import Mathlib.Tactic.Field + /-! # Hasse derivative of polynomials diff --git a/Mathlib/Algebra/Polynomial/Laurent.lean b/Mathlib/Algebra/Polynomial/Laurent.lean index 3783048195ae2a..eb776a59fab5ac 100644 --- a/Mathlib/Algebra/Polynomial/Laurent.lean +++ b/Mathlib/Algebra/Polynomial/Laurent.lean @@ -7,9 +7,10 @@ module public import Mathlib.Algebra.Polynomial.AlgebraMap public import Mathlib.Algebra.Polynomial.Reverse -import Mathlib.Algebra.Polynomial.Inductions public import Mathlib.RingTheory.Localization.Away.Basic +import Mathlib.Algebra.Polynomial.Inductions + /-! # Laurent polynomials We introduce Laurent polynomials over a semiring `R`. Mathematically, they are expressions of the diff --git a/Mathlib/Algebra/Polynomial/Lifts.lean b/Mathlib/Algebra/Polynomial/Lifts.lean index 54c24ddbe7cb30..0316ad8f3bb85b 100644 --- a/Mathlib/Algebra/Polynomial/Lifts.lean +++ b/Mathlib/Algebra/Polynomial/Lifts.lean @@ -7,6 +7,7 @@ module public import Mathlib.Algebra.Polynomial.AlgebraMap public import Mathlib.Algebra.Polynomial.Eval.Subring + import Mathlib.Algebra.Polynomial.Monic /-! diff --git a/Mathlib/Algebra/Polynomial/OfFn.lean b/Mathlib/Algebra/Polynomial/OfFn.lean index 5088839d3c3b30..9dea9a140461f0 100644 --- a/Mathlib/Algebra/Polynomial/OfFn.lean +++ b/Mathlib/Algebra/Polynomial/OfFn.lean @@ -5,10 +5,11 @@ Authors: Fabrizio Barroero -/ module -import Mathlib.Algebra.BigOperators.Fin public import Mathlib.Algebra.Polynomial.Degree.Lemmas public import Mathlib.Data.List.ToFinsupp public import Mathlib.LinearAlgebra.Pi + +import Mathlib.Algebra.BigOperators.Fin /-! # `Polynomial.ofFn` and `Polynomial.toFn` diff --git a/Mathlib/Algebra/Polynomial/RingDivision.lean b/Mathlib/Algebra/Polynomial/RingDivision.lean index 55a8746cc8654f..870edec0550d20 100644 --- a/Mathlib/Algebra/Polynomial/RingDivision.lean +++ b/Mathlib/Algebra/Polynomial/RingDivision.lean @@ -8,6 +8,7 @@ module public import Mathlib.Algebra.Polynomial.AlgebraMap public import Mathlib.Algebra.Polynomial.Div public import Mathlib.RingTheory.Coprime.Basic + import Mathlib.Tactic.ComputeDegree /-! diff --git a/Mathlib/Algebra/Polynomial/SumIteratedDerivative.lean b/Mathlib/Algebra/Polynomial/SumIteratedDerivative.lean index 2961cdb33b6fbc..ebf84b92484fde 100644 --- a/Mathlib/Algebra/Polynomial/SumIteratedDerivative.lean +++ b/Mathlib/Algebra/Polynomial/SumIteratedDerivative.lean @@ -6,9 +6,10 @@ Authors: Yuyang Zhao module public import Mathlib.Algebra.Polynomial.AlgebraMap +public import Mathlib.Algebra.Polynomial.Derivative + import Mathlib.Algebra.Polynomial.BigOperators import Mathlib.Algebra.Polynomial.Degree.Lemmas -public import Mathlib.Algebra.Polynomial.Derivative import Mathlib.Algebra.Polynomial.Eval.SMul /-! diff --git a/Mathlib/Algebra/Polynomial/Taylor.lean b/Mathlib/Algebra/Polynomial/Taylor.lean index ada59c904fc922..7ff79f5e4e4792 100644 --- a/Mathlib/Algebra/Polynomial/Taylor.lean +++ b/Mathlib/Algebra/Polynomial/Taylor.lean @@ -6,9 +6,10 @@ Authors: Johan Commelin module public import Mathlib.Algebra.Polynomial.AlgebraMap -import Mathlib.Algebra.Polynomial.Eval.SMul public import Mathlib.Algebra.Polynomial.HasseDeriv +import Mathlib.Algebra.Polynomial.Eval.SMul + /-! # Taylor expansions of polynomials diff --git a/Mathlib/Algebra/Polynomial/UnitTrinomial.lean b/Mathlib/Algebra/Polynomial/UnitTrinomial.lean index 905387cd621642..ed7221c9975144 100644 --- a/Mathlib/Algebra/Polynomial/UnitTrinomial.lean +++ b/Mathlib/Algebra/Polynomial/UnitTrinomial.lean @@ -6,9 +6,10 @@ Authors: Thomas Browning module public import Mathlib.Algebra.Polynomial.Mirror -import Mathlib.Data.Int.Order.Units public import Mathlib.RingTheory.Coprime.Basic +import Mathlib.Data.Int.Order.Units + /-! # Unit Trinomials diff --git a/Mathlib/Algebra/Prime/Lemmas.lean b/Mathlib/Algebra/Prime/Lemmas.lean index 8368cb8dcaf92c..a274f32c88be01 100644 --- a/Mathlib/Algebra/Prime/Lemmas.lean +++ b/Mathlib/Algebra/Prime/Lemmas.lean @@ -5,10 +5,11 @@ Authors: Johannes Hölzl, Jens Wagemaker -/ module -import Mathlib.Algebra.Divisibility.Hom public import Mathlib.Algebra.Group.Irreducible.Lemmas public import Mathlib.Algebra.GroupWithZero.Equiv public import Mathlib.Algebra.Prime.Defs + +import Mathlib.Algebra.Divisibility.Hom import Mathlib.Order.Monotone.Defs /-! diff --git a/Mathlib/Algebra/QuadraticAlgebra/AlgHom.lean b/Mathlib/Algebra/QuadraticAlgebra/AlgHom.lean index 9ceef9816d70f4..479c45dee1b3ab 100644 --- a/Mathlib/Algebra/QuadraticAlgebra/AlgHom.lean +++ b/Mathlib/Algebra/QuadraticAlgebra/AlgHom.lean @@ -6,9 +6,10 @@ Authors: Xavier Roblot module public import Mathlib.Algebra.QuadraticAlgebra.Basic -import Mathlib.LinearAlgebra.Matrix.Nonsingular public import Mathlib.LinearAlgebra.Matrix.NonsingularInverse +import Mathlib.LinearAlgebra.Matrix.Nonsingular + /-! # Algebra homomorphisms between quadratic algebras diff --git a/Mathlib/Algebra/QuadraticAlgebra/Defs.lean b/Mathlib/Algebra/QuadraticAlgebra/Defs.lean index 859cc34a362ad3..92d05a041fb5b6 100644 --- a/Mathlib/Algebra/QuadraticAlgebra/Defs.lean +++ b/Mathlib/Algebra/QuadraticAlgebra/Defs.lean @@ -6,6 +6,7 @@ Authors: Yunzhou Xie, Kenny Lau, Jiayang Hong module public import Mathlib.LinearAlgebra.Dimension.StrongRankCondition + import Mathlib.LinearAlgebra.FreeModule.Finite.Basic diff --git a/Mathlib/Algebra/QuadraticAlgebra/Discriminant.lean b/Mathlib/Algebra/QuadraticAlgebra/Discriminant.lean index c876833c933fb8..aac6b564094acc 100644 --- a/Mathlib/Algebra/QuadraticAlgebra/Discriminant.lean +++ b/Mathlib/Algebra/QuadraticAlgebra/Discriminant.lean @@ -6,6 +6,7 @@ Authors: Xavier Roblot module public import Mathlib.Algebra.QuadraticAlgebra.AlgHom + import Mathlib.Data.Nat.Prime.Int /-! diff --git a/Mathlib/Algebra/QuadraticAlgebra/IsQuadraticExtension.lean b/Mathlib/Algebra/QuadraticAlgebra/IsQuadraticExtension.lean index 70f802d8a45bc7..2754e6de0897b8 100644 --- a/Mathlib/Algebra/QuadraticAlgebra/IsQuadraticExtension.lean +++ b/Mathlib/Algebra/QuadraticAlgebra/IsQuadraticExtension.lean @@ -6,6 +6,7 @@ Authors: Xavier Roblot module public import Mathlib.Algebra.QuadraticAlgebra.Basic + import Mathlib.LinearAlgebra.Unimodular import Mathlib.RingTheory.Trace.Basic diff --git a/Mathlib/Algebra/QuadraticDiscriminant.lean b/Mathlib/Algebra/QuadraticDiscriminant.lean index eb7a9b3c562ceb..67ae82f4488224 100644 --- a/Mathlib/Algebra/QuadraticDiscriminant.lean +++ b/Mathlib/Algebra/QuadraticDiscriminant.lean @@ -5,10 +5,11 @@ Authors: Zhouhang Zhou -/ module +public import Mathlib.Tactic.Linarith.Frontend + import Mathlib.Order.Filter.AtTopBot.Field import Mathlib.Tactic.Field import Mathlib.Tactic.LinearCombination -public import Mathlib.Tactic.Linarith.Frontend /-! # Quadratic discriminants and roots of a quadratic diff --git a/Mathlib/Algebra/Quaternion.lean b/Mathlib/Algebra/Quaternion.lean index 531a69547c2b9a..d76c9a49291372 100644 --- a/Mathlib/Algebra/Quaternion.lean +++ b/Mathlib/Algebra/Quaternion.lean @@ -7,8 +7,8 @@ module public import Mathlib.Algebra.Star.SelfAdjoint public import Mathlib.LinearAlgebra.Dimension.StrongRankCondition -import Mathlib.LinearAlgebra.FreeModule.Finite.Basic +import Mathlib.LinearAlgebra.FreeModule.Finite.Basic import Mathlib.Algebra.Module.Torsion.Prod /-! diff --git a/Mathlib/Algebra/QuaternionBasis.lean b/Mathlib/Algebra/QuaternionBasis.lean index 520c5c5f01c18f..27492ca2ebe194 100644 --- a/Mathlib/Algebra/QuaternionBasis.lean +++ b/Mathlib/Algebra/QuaternionBasis.lean @@ -7,6 +7,7 @@ module public import Mathlib.Algebra.Algebra.Subalgebra.Lattice public import Mathlib.Algebra.Quaternion + import Mathlib.Tactic.LinearCombination /-! diff --git a/Mathlib/Algebra/Regular/Pow.lean b/Mathlib/Algebra/Regular/Pow.lean index 9fac4a45acc9cd..9923f806993201 100644 --- a/Mathlib/Algebra/Regular/Pow.lean +++ b/Mathlib/Algebra/Regular/Pow.lean @@ -6,6 +6,7 @@ Authors: Damiano Testa module public import Mathlib.Algebra.BigOperators.Group.Finset.Defs + import Mathlib.Algebra.Regular.Basic /-! diff --git a/Mathlib/Algebra/Ring/Action/Field.lean b/Mathlib/Algebra/Ring/Action/Field.lean index 6fc1f67a3713df..c120dd3c6622e4 100644 --- a/Mathlib/Algebra/Ring/Action/Field.lean +++ b/Mathlib/Algebra/Ring/Action/Field.lean @@ -7,6 +7,7 @@ module public import Mathlib.Algebra.Ring.Action.Basic public import Mathlib.Algebra.Field.Defs + import Mathlib.Algebra.GroupWithZero.Units.Lemmas /-! diff --git a/Mathlib/Algebra/Ring/Basic.lean b/Mathlib/Algebra/Ring/Basic.lean index b154ce9152e07f..63002852e706dd 100644 --- a/Mathlib/Algebra/Ring/Basic.lean +++ b/Mathlib/Algebra/Ring/Basic.lean @@ -8,11 +8,12 @@ module public import Mathlib.Algebra.Group.Commute.Defs public import Mathlib.Algebra.Group.Hom.Instances public import Mathlib.Algebra.Group.SelfInv -import Mathlib.Algebra.GroupWithZero.NeZero public import Mathlib.Algebra.Opposites public import Mathlib.Algebra.Ring.Defs public import Mathlib.Tactic.TFAE +import Mathlib.Algebra.GroupWithZero.NeZero + /-! # Semirings and rings diff --git a/Mathlib/Algebra/Ring/BooleanRing.lean b/Mathlib/Algebra/Ring/BooleanRing.lean index 5c2774142f608d..44620a86c62010 100644 --- a/Mathlib/Algebra/Ring/BooleanRing.lean +++ b/Mathlib/Algebra/Ring/BooleanRing.lean @@ -9,9 +9,10 @@ public import Mathlib.Algebra.Group.Idempotent public import Mathlib.Algebra.Ring.Equiv public import Mathlib.Algebra.Ring.PUnit public import Mathlib.Order.Hom.BoundedLattice -import Mathlib.Tactic.Abel public import Mathlib.Tactic.Ring +import Mathlib.Tactic.Abel + /-! # Boolean rings diff --git a/Mathlib/Algebra/Ring/CharZero.lean b/Mathlib/Algebra/Ring/CharZero.lean index c9b150ccd2eaf9..0ada9b1b994a6c 100644 --- a/Mathlib/Algebra/Ring/CharZero.lean +++ b/Mathlib/Algebra/Ring/CharZero.lean @@ -5,12 +5,13 @@ Authors: Mario Carneiro -/ module -import Mathlib.Algebra.GroupWithZero.Units.Basic public import Mathlib.Algebra.Notation.Support public import Mathlib.Algebra.Ring.Units public import Mathlib.Data.Nat.Cast.Basic public import Mathlib.Logic.Embedding.Basic +import Mathlib.Algebra.GroupWithZero.Units.Basic + /-! # Characteristic zero rings -/ diff --git a/Mathlib/Algebra/Ring/Ext.lean b/Mathlib/Algebra/Ring/Ext.lean index 8edb770374a17f..cee6504bdf3642 100644 --- a/Mathlib/Algebra/Ring/Ext.lean +++ b/Mathlib/Algebra/Ring/Ext.lean @@ -6,6 +6,7 @@ Authors: Raghuram Sundararajan module public import Mathlib.Algebra.Ring.Defs + import Mathlib.Algebra.Group.Ext /-! diff --git a/Mathlib/Algebra/Ring/FunLike.lean b/Mathlib/Algebra/Ring/FunLike.lean index 73fb7426b348ed..56b05f30ff10ee 100644 --- a/Mathlib/Algebra/Ring/FunLike.lean +++ b/Mathlib/Algebra/Ring/FunLike.lean @@ -7,6 +7,7 @@ module public import Mathlib.Algebra.Group.FunLike public import Mathlib.Algebra.Ring.Defs + import Mathlib.Tactic.Finiteness.Attr /-! # Ring instances for `FunLike` types diff --git a/Mathlib/Algebra/Ring/GeomSum.lean b/Mathlib/Algebra/Ring/GeomSum.lean index e1f38406dbc453..595f05fd7d0640 100644 --- a/Mathlib/Algebra/Ring/GeomSum.lean +++ b/Mathlib/Algebra/Ring/GeomSum.lean @@ -7,6 +7,7 @@ module public import Mathlib.Algebra.BigOperators.Intervals public import Mathlib.Algebra.BigOperators.Ring.Finset + import Mathlib.Algebra.Ring.Opposite import Mathlib.Algebra.Ring.GrindInstances diff --git a/Mathlib/Algebra/Ring/Hom/InjSurj.lean b/Mathlib/Algebra/Ring/Hom/InjSurj.lean index a8d7de4b536020..2fec6f2c2d251d 100644 --- a/Mathlib/Algebra/Ring/Hom/InjSurj.lean +++ b/Mathlib/Algebra/Ring/Hom/InjSurj.lean @@ -6,9 +6,10 @@ Authors: Amelia Livingston, Jireh Loreaux module public import Mathlib.Algebra.GroupWithZero.Hom -import Mathlib.Algebra.GroupWithZero.InjSurj public import Mathlib.Algebra.Ring.Defs +import Mathlib.Algebra.GroupWithZero.InjSurj + /-! # Pulling back rings along injective maps, and pushing them forward along surjective maps -/ diff --git a/Mathlib/Algebra/Ring/Idempotent.lean b/Mathlib/Algebra/Ring/Idempotent.lean index cd78cca2f54c9a..bcab525541683b 100644 --- a/Mathlib/Algebra/Ring/Idempotent.lean +++ b/Mathlib/Algebra/Ring/Idempotent.lean @@ -8,6 +8,7 @@ module public import Mathlib.Algebra.GroupWithZero.Idempotent public import Mathlib.Algebra.Ring.Defs public import Mathlib.Order.Notation + import Mathlib.Tactic.Convert import Mathlib.Algebra.Group.Torsion diff --git a/Mathlib/Algebra/Ring/IsFormallyReal.lean b/Mathlib/Algebra/Ring/IsFormallyReal.lean index 55c79132b547b3..0325f2e136fc73 100644 --- a/Mathlib/Algebra/Ring/IsFormallyReal.lean +++ b/Mathlib/Algebra/Ring/IsFormallyReal.lean @@ -6,6 +6,7 @@ Authors: Artie Khovanov module public import Mathlib.Algebra.Ring.SumsOfSquares + import Mathlib.RingTheory.Nilpotent.Basic /-! diff --git a/Mathlib/Algebra/Ring/NonZeroDivisors.lean b/Mathlib/Algebra/Ring/NonZeroDivisors.lean index 83ed3f2a0a35e7..6d86c6f8f8b778 100644 --- a/Mathlib/Algebra/Ring/NonZeroDivisors.lean +++ b/Mathlib/Algebra/Ring/NonZeroDivisors.lean @@ -7,9 +7,10 @@ module public import Mathlib.Algebra.GroupWithZero.NonZeroDivisors public import Mathlib.Algebra.Regular.Basic -import Mathlib.Algebra.Regular.Opposite public import Mathlib.Algebra.Ring.Basic +import Mathlib.Algebra.Regular.Opposite + /-! # Non-zero divisors in a ring -/ diff --git a/Mathlib/Algebra/Ring/SumsOfSquares.lean b/Mathlib/Algebra/Ring/SumsOfSquares.lean index b79b63fe102139..c278f2562dc018 100644 --- a/Mathlib/Algebra/Ring/SumsOfSquares.lean +++ b/Mathlib/Algebra/Ring/SumsOfSquares.lean @@ -7,8 +7,9 @@ module public import Mathlib.Algebra.Group.Subgroup.Even public import Mathlib.Algebra.Order.Ring.Basic -import Mathlib.Algebra.Ring.Parity -- Algebra.Group.Even can't prove `IsSquare 0` by simp public import Mathlib.Algebra.Ring.Subsemiring.Basic + +import Mathlib.Algebra.Ring.Parity -- Algebra.Group.Even can't prove `IsSquare 0` by simp import Mathlib.Tactic.ApplyFun /-! diff --git a/Mathlib/Algebra/Ring/Torsion.lean b/Mathlib/Algebra/Ring/Torsion.lean index db166f7fb8e44a..0fdb795acbc5a1 100644 --- a/Mathlib/Algebra/Ring/Torsion.lean +++ b/Mathlib/Algebra/Ring/Torsion.lean @@ -6,9 +6,10 @@ Authors: Kim Morrison module public import Mathlib.Algebra.CharZero.Defs -import Mathlib.Algebra.Group.Torsion public import Mathlib.Algebra.Ring.Commute +import Mathlib.Algebra.Group.Torsion + /-! # Torsion-free rings diff --git a/Mathlib/Algebra/SkewPolynomial/Basic.lean b/Mathlib/Algebra/SkewPolynomial/Basic.lean index ff741c6f3f276c..bff5eb5270f08f 100644 --- a/Mathlib/Algebra/SkewPolynomial/Basic.lean +++ b/Mathlib/Algebra/SkewPolynomial/Basic.lean @@ -6,6 +6,7 @@ Authors: Xavier Généreux, María Inés de Frutos-Fernández module public import Mathlib.Algebra.SkewMonoidAlgebra.Single + import Mathlib.Algebra.SkewMonoidAlgebra.Support /-! # Univariate skew polynomials diff --git a/Mathlib/Algebra/Star/CHSH.lean b/Mathlib/Algebra/Star/CHSH.lean index e1d760961934a8..340d0cab51caff 100644 --- a/Mathlib/Algebra/Star/CHSH.lean +++ b/Mathlib/Algebra/Star/CHSH.lean @@ -5,11 +5,12 @@ Authors: Kim Morrison -/ module -import Mathlib.Algebra.CharP.Invertible public import Mathlib.Algebra.Order.Star.Basic public import Mathlib.Analysis.Real.Sqrt public import Mathlib.Basic.Real.Star +import Mathlib.Algebra.CharP.Invertible + /-! # The Clauser-Horne-Shimony-Holt inequality and Tsirelson's inequality. diff --git a/Mathlib/Algebra/Torsor/Basic.lean b/Mathlib/Algebra/Torsor/Basic.lean index 0f3b481eb035b8..562988c8913953 100644 --- a/Mathlib/Algebra/Torsor/Basic.lean +++ b/Mathlib/Algebra/Torsor/Basic.lean @@ -6,11 +6,12 @@ Authors: Joseph Myers, Yury Kudryashov module public import Mathlib.Algebra.Torsor.Defs -import Mathlib.Algebra.Group.Action.Basic public import Mathlib.Algebra.Group.Action.Pi public import Mathlib.Algebra.Group.End public import Mathlib.Algebra.Group.Pointwise.Set.Scalar +import Mathlib.Algebra.Group.Action.Basic + /-! # Torsors of group actions diff --git a/Mathlib/Algebra/TrivSqZeroExt/Basic.lean b/Mathlib/Algebra/TrivSqZeroExt/Basic.lean index dbcdf2140e7dd7..e03cc33a883061 100644 --- a/Mathlib/Algebra/TrivSqZeroExt/Basic.lean +++ b/Mathlib/Algebra/TrivSqZeroExt/Basic.lean @@ -7,6 +7,7 @@ module public import Mathlib.LinearAlgebra.Prod public import Mathlib.Algebra.Algebra.Subalgebra.Lattice + import Mathlib.Algebra.Order.Group.Nat /-! diff --git a/Mathlib/AlgebraicGeometry/AffineScheme.lean b/Mathlib/AlgebraicGeometry/AffineScheme.lean index 2c02486c7e65bf..4be94ca2303f48 100644 --- a/Mathlib/AlgebraicGeometry/AffineScheme.lean +++ b/Mathlib/AlgebraicGeometry/AffineScheme.lean @@ -6,11 +6,12 @@ Authors: Andrew Yang module public import Mathlib.AlgebraicGeometry.GammaSpecAdjunction -import Mathlib.RingTheory.Localization.InvSubmonoid -import Mathlib.RingTheory.LocalProperties.Basic public import Mathlib.Topology.Sheaves.CommRingCat public import Mathlib.CategoryTheory.Monad.Limits +import Mathlib.RingTheory.Localization.InvSubmonoid +import Mathlib.RingTheory.LocalProperties.Basic + /-! # Affine schemes diff --git a/Mathlib/AlgebraicGeometry/AffineTransitionLimit.lean b/Mathlib/AlgebraicGeometry/AffineTransitionLimit.lean index 3e3da77859ac9c..0d59aaf2fca816 100644 --- a/Mathlib/AlgebraicGeometry/AffineTransitionLimit.lean +++ b/Mathlib/AlgebraicGeometry/AffineTransitionLimit.lean @@ -5,11 +5,12 @@ Authors: Andrew Yang, Christian Merten -/ module -import Mathlib.Algebra.Category.Ring.FinitePresentation public import Mathlib.AlgebraicGeometry.IdealSheaf.Functorial public import Mathlib.AlgebraicGeometry.Morphisms.FinitePresentation public import Mathlib.AlgebraicGeometry.QuasiAffine public import Mathlib.CategoryTheory.Limits.Shapes.Pullback.Connected + +import Mathlib.Algebra.Category.Ring.FinitePresentation import Mathlib.CategoryTheory.Limits.Types.ColimitTypeFiltered /-! diff --git a/Mathlib/AlgebraicGeometry/Cover/QuasiCompact.lean b/Mathlib/AlgebraicGeometry/Cover/QuasiCompact.lean index ff722fb44be16b..c133db76531021 100644 --- a/Mathlib/AlgebraicGeometry/Cover/QuasiCompact.lean +++ b/Mathlib/AlgebraicGeometry/Cover/QuasiCompact.lean @@ -6,9 +6,10 @@ Authors: Christian Merten module public import Mathlib.AlgebraicGeometry.Morphisms.Affine +public import Mathlib.Topology.Sets.CompactOpenCovered + import Mathlib.AlgebraicGeometry.Properties import Mathlib.AlgebraicGeometry.PullbackCarrier -public import Mathlib.Topology.Sets.CompactOpenCovered /-! # Quasi-compact covers diff --git a/Mathlib/AlgebraicGeometry/EffectiveEpi.lean b/Mathlib/AlgebraicGeometry/EffectiveEpi.lean index e3a6de6d5ebc86..4dc858faecd1bc 100644 --- a/Mathlib/AlgebraicGeometry/EffectiveEpi.lean +++ b/Mathlib/AlgebraicGeometry/EffectiveEpi.lean @@ -5,8 +5,9 @@ Authors: Yong-Gyu Choi -/ module -import Mathlib.Algebra.Category.Ring.EqualizerPushout public import Mathlib.AlgebraicGeometry.Morphisms.Flat + +import Mathlib.Algebra.Category.Ring.EqualizerPushout import Mathlib.Topology.Category.TopCat.EffectiveEpi import Mathlib.CategoryTheory.EffectiveEpi.Preserves diff --git a/Mathlib/AlgebraicGeometry/EllipticCurve/Affine/AddSubMap.lean b/Mathlib/AlgebraicGeometry/EllipticCurve/Affine/AddSubMap.lean index b39ffa0423c994..11249474dfe7c9 100644 --- a/Mathlib/AlgebraicGeometry/EllipticCurve/Affine/AddSubMap.lean +++ b/Mathlib/AlgebraicGeometry/EllipticCurve/Affine/AddSubMap.lean @@ -7,6 +7,7 @@ module public import Mathlib.AlgebraicGeometry.EllipticCurve.Affine.Point public import Mathlib.RingTheory.MvPolynomial.Homogeneous + import Mathlib.Tactic.Ring.NamePolyVars import Mathlib.Algebra.MvPolynomial.CommRing diff --git a/Mathlib/AlgebraicGeometry/EllipticCurve/Jacobian/Basic.lean b/Mathlib/AlgebraicGeometry/EllipticCurve/Jacobian/Basic.lean index 6124a736a57e5d..0008e37215f93f 100644 --- a/Mathlib/AlgebraicGeometry/EllipticCurve/Jacobian/Basic.lean +++ b/Mathlib/AlgebraicGeometry/EllipticCurve/Jacobian/Basic.lean @@ -6,6 +6,7 @@ Authors: David Kurniadi Angdinata module public import Mathlib.AlgebraicGeometry.EllipticCurve.Affine.Basic + import Mathlib.Tactic.Ring.NamePolyVars /-! diff --git a/Mathlib/AlgebraicGeometry/EllipticCurve/Projective/Basic.lean b/Mathlib/AlgebraicGeometry/EllipticCurve/Projective/Basic.lean index 924b1b2c6690a5..5a21057d28940b 100644 --- a/Mathlib/AlgebraicGeometry/EllipticCurve/Projective/Basic.lean +++ b/Mathlib/AlgebraicGeometry/EllipticCurve/Projective/Basic.lean @@ -6,6 +6,7 @@ Authors: David Kurniadi Angdinata module public import Mathlib.AlgebraicGeometry.EllipticCurve.Affine.Basic + import Mathlib.Tactic.Ring.NamePolyVars /-! diff --git a/Mathlib/AlgebraicGeometry/EllipticCurve/Reduction.lean b/Mathlib/AlgebraicGeometry/EllipticCurve/Reduction.lean index 27c2178ef4fb17..968a14ccabfb65 100644 --- a/Mathlib/AlgebraicGeometry/EllipticCurve/Reduction.lean +++ b/Mathlib/AlgebraicGeometry/EllipticCurve/Reduction.lean @@ -7,6 +7,7 @@ module public import Mathlib.AlgebraicGeometry.EllipticCurve.VariableChange public import Mathlib.RingTheory.Valuation.Discrete.IsDiscreteValuationRing + import Mathlib.GroupTheory.ArchimedeanDensely /-! diff --git a/Mathlib/AlgebraicGeometry/Group/Abelian.lean b/Mathlib/AlgebraicGeometry/Group/Abelian.lean index 5dcb30f80ea5ad..8e182a6e6c15be 100644 --- a/Mathlib/AlgebraicGeometry/Group/Abelian.lean +++ b/Mathlib/AlgebraicGeometry/Group/Abelian.lean @@ -5,9 +5,10 @@ Authors: Andrew Yang, Christian Merten -/ module -import Mathlib.AlgebraicGeometry.AlgClosed.Basic public import Mathlib.AlgebraicGeometry.Geometrically.Integral public import Mathlib.AlgebraicGeometry.ZariskisMainTheorem + +import Mathlib.AlgebraicGeometry.AlgClosed.Basic import Mathlib.CategoryTheory.Monoidal.Cartesian.Grp /-! diff --git a/Mathlib/AlgebraicGeometry/IdealSheaf/Subscheme.lean b/Mathlib/AlgebraicGeometry/IdealSheaf/Subscheme.lean index dd832c87ddbf21..fb2684d8f844c3 100644 --- a/Mathlib/AlgebraicGeometry/IdealSheaf/Subscheme.lean +++ b/Mathlib/AlgebraicGeometry/IdealSheaf/Subscheme.lean @@ -6,9 +6,10 @@ Authors: Andrew Yang module public import Mathlib.AlgebraicGeometry.Morphisms.Preimmersion -import Mathlib.AlgebraicGeometry.Morphisms.QuasiSeparated public import Mathlib.AlgebraicGeometry.IdealSheaf.Basic +import Mathlib.AlgebraicGeometry.Morphisms.QuasiSeparated + /-! # Subscheme associated to an ideal sheaf diff --git a/Mathlib/AlgebraicGeometry/Modules/Tilde.lean b/Mathlib/AlgebraicGeometry/Modules/Tilde.lean index 73a9acb75a562f..3a58ff5c35f7e6 100644 --- a/Mathlib/AlgebraicGeometry/Modules/Tilde.lean +++ b/Mathlib/AlgebraicGeometry/Modules/Tilde.lean @@ -8,9 +8,10 @@ module public import Mathlib.Algebra.Category.ModuleCat.Localization public import Mathlib.Algebra.Category.ModuleCat.Sheaf.Quasicoherent -import Mathlib.Algebra.Module.LocalizedModule.Away public import Mathlib.AlgebraicGeometry.AffineScheme public import Mathlib.AlgebraicGeometry.Modules.Sheaf + +import Mathlib.Algebra.Module.LocalizedModule.Away import Mathlib.Data.Fintype.Order import Mathlib.Algebra.GroupWithZero.Action.Regular diff --git a/Mathlib/AlgebraicGeometry/Morphisms/Affine.lean b/Mathlib/AlgebraicGeometry/Morphisms/Affine.lean index b200092c127e4c..eb3261450558f0 100644 --- a/Mathlib/AlgebraicGeometry/Morphisms/Affine.lean +++ b/Mathlib/AlgebraicGeometry/Morphisms/Affine.lean @@ -7,6 +7,7 @@ module public import Mathlib.AlgebraicGeometry.Morphisms.QuasiSeparated public import Mathlib.AlgebraicGeometry.Morphisms.IsIso + import Mathlib.AlgebraicGeometry.PullbackCarrier /-! diff --git a/Mathlib/AlgebraicGeometry/Morphisms/Finite.lean b/Mathlib/AlgebraicGeometry/Morphisms/Finite.lean index 0187d5fa61a68a..ac317c5d580424 100644 --- a/Mathlib/AlgebraicGeometry/Morphisms/Finite.lean +++ b/Mathlib/AlgebraicGeometry/Morphisms/Finite.lean @@ -7,9 +7,10 @@ module public import Mathlib.AlgebraicGeometry.Morphisms.Integral public import Mathlib.Algebra.Category.Ring.Epi -import Mathlib.RingTheory.Finiteness.Prod public import Mathlib.RingTheory.RingHom.Finite +import Mathlib.RingTheory.Finiteness.Prod + /-! # Finite morphisms of schemes diff --git a/Mathlib/AlgebraicGeometry/Morphisms/FinitePresentation.lean b/Mathlib/AlgebraicGeometry/Morphisms/FinitePresentation.lean index 9dd51e28be83c0..19b394fd82a4d5 100644 --- a/Mathlib/AlgebraicGeometry/Morphisms/FinitePresentation.lean +++ b/Mathlib/AlgebraicGeometry/Morphisms/FinitePresentation.lean @@ -7,9 +7,10 @@ module public import Mathlib.AlgebraicGeometry.Morphisms.FiniteType public import Mathlib.AlgebraicGeometry.Morphisms.QuasiSeparated +public import Mathlib.RingTheory.Spectrum.Prime.Chevalley + import Mathlib.AlgebraicGeometry.Properties import Mathlib.RingTheory.RingHom.FinitePresentation -public import Mathlib.RingTheory.Spectrum.Prime.Chevalley /-! diff --git a/Mathlib/AlgebraicGeometry/Morphisms/FlatDescent.lean b/Mathlib/AlgebraicGeometry/Morphisms/FlatDescent.lean index 279a8a8a5c959b..65744b2a8369f3 100644 --- a/Mathlib/AlgebraicGeometry/Morphisms/FlatDescent.lean +++ b/Mathlib/AlgebraicGeometry/Morphisms/FlatDescent.lean @@ -9,6 +9,7 @@ public import Mathlib.AlgebraicGeometry.Morphisms.Descent public import Mathlib.AlgebraicGeometry.Morphisms.UniversallyClosed public import Mathlib.AlgebraicGeometry.Morphisms.UniversallyInjective public import Mathlib.AlgebraicGeometry.Morphisms.UniversallyOpen + import Mathlib.RingTheory.Flat.FaithfullyFlat.Descent /-! diff --git a/Mathlib/AlgebraicGeometry/Morphisms/FlatRank.lean b/Mathlib/AlgebraicGeometry/Morphisms/FlatRank.lean index db316e8644aa38..4858e4e1dbcbe8 100644 --- a/Mathlib/AlgebraicGeometry/Morphisms/FlatRank.lean +++ b/Mathlib/AlgebraicGeometry/Morphisms/FlatRank.lean @@ -5,12 +5,13 @@ Authors: Christian Merten -/ module -import Mathlib.RingTheory.Finiteness.ModuleFinitePresentation public import Mathlib.AlgebraicGeometry.Morphisms.Flat public import Mathlib.AlgebraicGeometry.Morphisms.Finite public import Mathlib.AlgebraicGeometry.Morphisms.FinitePresentation public import Mathlib.RingTheory.Flat.Rank +import Mathlib.RingTheory.Finiteness.ModuleFinitePresentation + /-! # Rank of a finite flat morphism of schemes diff --git a/Mathlib/AlgebraicGeometry/Morphisms/Immersion.lean b/Mathlib/AlgebraicGeometry/Morphisms/Immersion.lean index e6ec5ac33fcb02..084d9bf5294152 100644 --- a/Mathlib/AlgebraicGeometry/Morphisms/Immersion.lean +++ b/Mathlib/AlgebraicGeometry/Morphisms/Immersion.lean @@ -6,6 +6,7 @@ Authors: Andrew Yang module public import Mathlib.AlgebraicGeometry.Morphisms.Separated + import Mathlib.AlgebraicGeometry.IdealSheaf.Functorial /-! diff --git a/Mathlib/AlgebraicGeometry/Morphisms/LocalFlatDescent.lean b/Mathlib/AlgebraicGeometry/Morphisms/LocalFlatDescent.lean index db032bdcd0a763..7be3fa02e878d3 100644 --- a/Mathlib/AlgebraicGeometry/Morphisms/LocalFlatDescent.lean +++ b/Mathlib/AlgebraicGeometry/Morphisms/LocalFlatDescent.lean @@ -7,6 +7,7 @@ module public import Mathlib.AlgebraicGeometry.Morphisms.Etale public import Mathlib.AlgebraicGeometry.Morphisms.FlatDescent + import Mathlib.RingTheory.Etale.Descent /-! diff --git a/Mathlib/AlgebraicGeometry/Morphisms/QuasiFinite.lean b/Mathlib/AlgebraicGeometry/Morphisms/QuasiFinite.lean index bcabaead8c2928..9903930682e02d 100644 --- a/Mathlib/AlgebraicGeometry/Morphisms/QuasiFinite.lean +++ b/Mathlib/AlgebraicGeometry/Morphisms/QuasiFinite.lean @@ -10,6 +10,7 @@ public import Mathlib.AlgebraicGeometry.Fiber public import Mathlib.AlgebraicGeometry.Morphisms.Finite public import Mathlib.AlgebraicGeometry.Morphisms.UniversallyInjective public import Mathlib.RingTheory.RingHom.QuasiFinite + import Mathlib.RingTheory.ZariskisMainTheorem /-! diff --git a/Mathlib/AlgebraicGeometry/Morphisms/QuasiSeparated.lean b/Mathlib/AlgebraicGeometry/Morphisms/QuasiSeparated.lean index 794c4560a6bfc1..8497cd89aa6cb7 100644 --- a/Mathlib/AlgebraicGeometry/Morphisms/QuasiSeparated.lean +++ b/Mathlib/AlgebraicGeometry/Morphisms/QuasiSeparated.lean @@ -6,6 +6,7 @@ Authors: Andrew Yang module public import Mathlib.AlgebraicGeometry.Morphisms.QuasiCompact + import Mathlib.CategoryTheory.Limits.Shapes.Pullback.Equalizer /-! diff --git a/Mathlib/AlgebraicGeometry/Morphisms/Separated.lean b/Mathlib/AlgebraicGeometry/Morphisms/Separated.lean index 043565c3d23ad2..b1a006655cd955 100644 --- a/Mathlib/AlgebraicGeometry/Morphisms/Separated.lean +++ b/Mathlib/AlgebraicGeometry/Morphisms/Separated.lean @@ -6,10 +6,11 @@ Authors: Christian Merten, Andrew Yang module public import Mathlib.AlgebraicGeometry.Morphisms.ClosedImmersion -import Mathlib.AlgebraicGeometry.PullbackCarrier public import Mathlib.CategoryTheory.Limits.Constructions.Over.Basic public import Mathlib.CategoryTheory.Limits.Shapes.Pullback.Equalizer +import Mathlib.AlgebraicGeometry.PullbackCarrier + /-! # Separated morphisms diff --git a/Mathlib/AlgebraicGeometry/Morphisms/SurjectiveOnStalks.lean b/Mathlib/AlgebraicGeometry/Morphisms/SurjectiveOnStalks.lean index dee05061ff6f76..81a1bc56a51a18 100644 --- a/Mathlib/AlgebraicGeometry/Morphisms/SurjectiveOnStalks.lean +++ b/Mathlib/AlgebraicGeometry/Morphisms/SurjectiveOnStalks.lean @@ -7,6 +7,7 @@ module public import Mathlib.AlgebraicGeometry.Morphisms.RingHomProperties public import Mathlib.RingTheory.RingHom.Surjective + import Mathlib.RingTheory.Spectrum.Prime.TensorProduct /-! diff --git a/Mathlib/AlgebraicGeometry/Morphisms/UniversallyClosed.lean b/Mathlib/AlgebraicGeometry/Morphisms/UniversallyClosed.lean index e4dd1b437c5ee1..5c1ebf855414db 100644 --- a/Mathlib/AlgebraicGeometry/Morphisms/UniversallyClosed.lean +++ b/Mathlib/AlgebraicGeometry/Morphisms/UniversallyClosed.lean @@ -6,6 +6,7 @@ Authors: Andrew Yang module public import Mathlib.AlgebraicGeometry.Morphisms.ClosedImmersion + import Mathlib.AlgebraicGeometry.PullbackCarrier /-! diff --git a/Mathlib/AlgebraicGeometry/Morphisms/WeaklyEtale.lean b/Mathlib/AlgebraicGeometry/Morphisms/WeaklyEtale.lean index 2e088a97f8b906..a312b70f294bf2 100644 --- a/Mathlib/AlgebraicGeometry/Morphisms/WeaklyEtale.lean +++ b/Mathlib/AlgebraicGeometry/Morphisms/WeaklyEtale.lean @@ -6,6 +6,7 @@ Authors: Jiedong Jiang, Christian Merten module public import Mathlib.AlgebraicGeometry.Morphisms.Etale + import Mathlib.AlgebraicGeometry.Morphisms.Immersion /-! diff --git a/Mathlib/AlgebraicGeometry/ProjectiveSpectrum/Proper.lean b/Mathlib/AlgebraicGeometry/ProjectiveSpectrum/Proper.lean index a371187d2ffaa4..5f79720e7a7286 100644 --- a/Mathlib/AlgebraicGeometry/ProjectiveSpectrum/Proper.lean +++ b/Mathlib/AlgebraicGeometry/ProjectiveSpectrum/Proper.lean @@ -6,10 +6,11 @@ Authors: Patience Ablett, Kevin Buzzard, Harald Carlens, Wayne Ng Kwing King, Mi -/ module -import Mathlib.Algebra.Order.BigOperators.Ring.Finset public import Mathlib.AlgebraicGeometry.ProjectiveSpectrum.Basic public import Mathlib.AlgebraicGeometry.ValuativeCriterion +import Mathlib.Algebra.Order.BigOperators.Ring.Finset + /-! # Properness of `Proj A` diff --git a/Mathlib/AlgebraicGeometry/ProjectiveSpectrum/Scheme.lean b/Mathlib/AlgebraicGeometry/ProjectiveSpectrum/Scheme.lean index 6521ee80b372f8..120f7c4c9725a0 100644 --- a/Mathlib/AlgebraicGeometry/ProjectiveSpectrum/Scheme.lean +++ b/Mathlib/AlgebraicGeometry/ProjectiveSpectrum/Scheme.lean @@ -7,6 +7,7 @@ module public import Mathlib.AlgebraicGeometry.ProjectiveSpectrum.StructureSheaf public import Mathlib.AlgebraicGeometry.GammaSpecAdjunction + import Mathlib.RingTheory.GradedAlgebra.Radical /-! diff --git a/Mathlib/AlgebraicGeometry/Sites/BigZariski.lean b/Mathlib/AlgebraicGeometry/Sites/BigZariski.lean index e0a04889983c51..074a9400eea722 100644 --- a/Mathlib/AlgebraicGeometry/Sites/BigZariski.lean +++ b/Mathlib/AlgebraicGeometry/Sites/BigZariski.lean @@ -8,9 +8,10 @@ module public import Mathlib.AlgebraicGeometry.Cover.Sigma public import Mathlib.AlgebraicGeometry.Sites.Pretopology public import Mathlib.CategoryTheory.Sites.CoproductSheafCondition -import Mathlib.CategoryTheory.Sites.Preserves public import Mathlib.Topology.Category.TopCat.GrothendieckTopology +import Mathlib.CategoryTheory.Sites.Preserves + /-! # The big Zariski site of schemes diff --git a/Mathlib/AlgebraicGeometry/Sites/ElladicCohomology.lean b/Mathlib/AlgebraicGeometry/Sites/ElladicCohomology.lean index 7acf41504cdaaa..c8af4016c50356 100644 --- a/Mathlib/AlgebraicGeometry/Sites/ElladicCohomology.lean +++ b/Mathlib/AlgebraicGeometry/Sites/ElladicCohomology.lean @@ -5,15 +5,16 @@ Authors: Jiedong Jiang, Christian Merten -/ module -import Mathlib.Algebra.Category.Grp.AB public import Mathlib.Algebra.Category.Grp.Ulift public import Mathlib.AlgebraicGeometry.Sites.ConstantSheaf public import Mathlib.AlgebraicGeometry.Sites.Proetale -import Mathlib.CategoryTheory.Abelian.GrothendieckAxioms.Sheaf public import Mathlib.CategoryTheory.Abelian.GrothendieckCategory.HasExt public import Mathlib.CategoryTheory.Sites.SheafCohomology.Basic public import Mathlib.NumberTheory.Padics.PadicIntegers +import Mathlib.Algebra.Category.Grp.AB +import Mathlib.CategoryTheory.Abelian.GrothendieckAxioms.Sheaf + /-! # `ℓ`-adic cohomology of a scheme diff --git a/Mathlib/AlgebraicGeometry/Sites/EtalePoint.lean b/Mathlib/AlgebraicGeometry/Sites/EtalePoint.lean index 1e5757c2f4f4a8..017a6c33c3bd8a 100644 --- a/Mathlib/AlgebraicGeometry/Sites/EtalePoint.lean +++ b/Mathlib/AlgebraicGeometry/Sites/EtalePoint.lean @@ -7,9 +7,10 @@ module public import Mathlib.AlgebraicGeometry.Fiber public import Mathlib.AlgebraicGeometry.Sites.AffineEtale -import Mathlib.CategoryTheory.Functor.TypeValuedFlat public import Mathlib.CategoryTheory.Sites.Point.Conservative +import Mathlib.CategoryTheory.Functor.TypeValuedFlat + /-! # Points of the étale site diff --git a/Mathlib/AlgebraicGeometry/Sites/Fpqc.lean b/Mathlib/AlgebraicGeometry/Sites/Fpqc.lean index cbe4f8d071dc2f..6d9cb74e44f394 100644 --- a/Mathlib/AlgebraicGeometry/Sites/Fpqc.lean +++ b/Mathlib/AlgebraicGeometry/Sites/Fpqc.lean @@ -5,9 +5,10 @@ Authors: Christian Merten -/ module -import Mathlib.AlgebraicGeometry.EffectiveEpi public import Mathlib.AlgebraicGeometry.Morphisms.UniversallyOpen public import Mathlib.AlgebraicGeometry.Sites.SheafQuasiCompact + +import Mathlib.AlgebraicGeometry.EffectiveEpi import Mathlib.CategoryTheory.Sites.EffectiveEpimorphic /-! diff --git a/Mathlib/AlgebraicGeometry/Sites/Proetale.lean b/Mathlib/AlgebraicGeometry/Sites/Proetale.lean index 310b865836b3fb..9c41a72692afe0 100644 --- a/Mathlib/AlgebraicGeometry/Sites/Proetale.lean +++ b/Mathlib/AlgebraicGeometry/Sites/Proetale.lean @@ -9,6 +9,7 @@ public import Mathlib.AlgebraicGeometry.Morphisms.WeaklyEtale public import Mathlib.AlgebraicGeometry.Sites.Etale public import Mathlib.AlgebraicGeometry.Sites.Fpqc public import Mathlib.CategoryTheory.Comma.Over.StrictInitial + import Mathlib.CategoryTheory.Sites.Subcanonical import Mathlib.CategoryTheory.Sites.SubcanonicalOver diff --git a/Mathlib/AlgebraicGeometry/Sites/Representability.lean b/Mathlib/AlgebraicGeometry/Sites/Representability.lean index 6895c02af5afb3..350033ed7d5ea0 100644 --- a/Mathlib/AlgebraicGeometry/Sites/Representability.lean +++ b/Mathlib/AlgebraicGeometry/Sites/Representability.lean @@ -7,6 +7,7 @@ module public import Mathlib.CategoryTheory.MorphismProperty.Representable public import Mathlib.AlgebraicGeometry.GluingOneHypercover + import Mathlib.CategoryTheory.Sites.LocallyBijective /-! diff --git a/Mathlib/AlgebraicGeometry/ValuativeCriterion.lean b/Mathlib/AlgebraicGeometry/ValuativeCriterion.lean index c609e1298c4303..e3c36f59ef87bd 100644 --- a/Mathlib/AlgebraicGeometry/ValuativeCriterion.lean +++ b/Mathlib/AlgebraicGeometry/ValuativeCriterion.lean @@ -5,11 +5,12 @@ Authors: Andrew Yang, Qi Ge, Christian Merten -/ module -import Mathlib.AlgebraicGeometry.Morphisms.Immersion public import Mathlib.AlgebraicGeometry.Morphisms.Proper -import Mathlib.RingTheory.RingHom.Injective public import Mathlib.RingTheory.Valuation.LocalSubring +import Mathlib.AlgebraicGeometry.Morphisms.Immersion +import Mathlib.RingTheory.RingHom.Injective + /-! # Valuative criterion diff --git a/Mathlib/AlgebraicGeometry/ZariskisMainTheorem.lean b/Mathlib/AlgebraicGeometry/ZariskisMainTheorem.lean index ea4ab671b6c572..747d5ae248e725 100644 --- a/Mathlib/AlgebraicGeometry/ZariskisMainTheorem.lean +++ b/Mathlib/AlgebraicGeometry/ZariskisMainTheorem.lean @@ -9,6 +9,7 @@ public import Mathlib.AlgebraicGeometry.Morphisms.Etale public import Mathlib.AlgebraicGeometry.Morphisms.FlatDescent public import Mathlib.AlgebraicGeometry.Morphisms.QuasiFinite public import Mathlib.AlgebraicGeometry.Normalization + import Mathlib.RingTheory.Etale.QuasiFinite /-! diff --git a/Mathlib/AlgebraicTopology/AlternatingFaceMapComplex.lean b/Mathlib/AlgebraicTopology/AlternatingFaceMapComplex.lean index e53b8efc968146..668b705e176468 100644 --- a/Mathlib/AlgebraicTopology/AlternatingFaceMapComplex.lean +++ b/Mathlib/AlgebraicTopology/AlternatingFaceMapComplex.lean @@ -9,9 +9,10 @@ public import Mathlib.Algebra.Homology.Additive public import Mathlib.AlgebraicTopology.MooreComplex public import Mathlib.Algebra.BigOperators.Fin public import Mathlib.CategoryTheory.Idempotents.FunctorCategories -import Mathlib.CategoryTheory.Limits.FunctorCategory.EpiMono public import Mathlib.CategoryTheory.Preadditive.Opposite +import Mathlib.CategoryTheory.Limits.FunctorCategory.EpiMono + /-! # The alternating face map complex of a simplicial object in a preadditive category diff --git a/Mathlib/AlgebraicTopology/CechNerve.lean b/Mathlib/AlgebraicTopology/CechNerve.lean index b62cedeea1f03b..883f12c863d0cf 100644 --- a/Mathlib/AlgebraicTopology/CechNerve.lean +++ b/Mathlib/AlgebraicTopology/CechNerve.lean @@ -7,6 +7,7 @@ module public import Mathlib.AlgebraicTopology.SimplicialObject.Basic public import Mathlib.CategoryTheory.Limits.Shapes.FiniteProducts + import Mathlib.Tactic.ApplyFun /-! diff --git a/Mathlib/AlgebraicTopology/DoldKan/GammaCompN.lean b/Mathlib/AlgebraicTopology/DoldKan/GammaCompN.lean index d40399197650f6..7a6aecc50d76f6 100644 --- a/Mathlib/AlgebraicTopology/DoldKan/GammaCompN.lean +++ b/Mathlib/AlgebraicTopology/DoldKan/GammaCompN.lean @@ -7,9 +7,10 @@ module public import Mathlib.AlgebraicTopology.DoldKan.FunctorGamma public import Mathlib.AlgebraicTopology.DoldKan.SplitSimplicialObject -import Mathlib.CategoryTheory.Idempotents.HomologicalComplex public import Mathlib.Tactic.SuppressCompilation +import Mathlib.CategoryTheory.Idempotents.HomologicalComplex + /-! # The counit isomorphism of the Dold-Kan equivalence The purpose of this file is to construct natural isomorphisms diff --git a/Mathlib/AlgebraicTopology/FundamentalGroupoid/SimplyConnected.lean b/Mathlib/AlgebraicTopology/FundamentalGroupoid/SimplyConnected.lean index 721fd01116ed9b..c0d149b03f94da 100644 --- a/Mathlib/AlgebraicTopology/FundamentalGroupoid/SimplyConnected.lean +++ b/Mathlib/AlgebraicTopology/FundamentalGroupoid/SimplyConnected.lean @@ -6,8 +6,9 @@ Authors: Praneeth Kolichala module public import Mathlib.AlgebraicTopology.FundamentalGroupoid.FundamentalGroup -import Mathlib.AlgebraicTopology.FundamentalGroupoid.InducedMaps public import Mathlib.Topology.Homotopy.Contractible + +import Mathlib.AlgebraicTopology.FundamentalGroupoid.InducedMaps import Mathlib.CategoryTheory.PUnit import Mathlib.AlgebraicTopology.FundamentalGroupoid.PUnit diff --git a/Mathlib/AlgebraicTopology/ModelCategory/BifibrantObjectHomotopy.lean b/Mathlib/AlgebraicTopology/ModelCategory/BifibrantObjectHomotopy.lean index dc6b552b03c981..aa72ee97c764c4 100644 --- a/Mathlib/AlgebraicTopology/ModelCategory/BifibrantObjectHomotopy.lean +++ b/Mathlib/AlgebraicTopology/ModelCategory/BifibrantObjectHomotopy.lean @@ -7,6 +7,7 @@ module public import Mathlib.AlgebraicTopology.ModelCategory.CofibrantObjectHomotopy public import Mathlib.AlgebraicTopology.ModelCategory.FibrantObjectHomotopy + import Mathlib.CategoryTheory.Localization.CalculusOfFractions.OfAdjunction import Mathlib.CategoryTheory.Quotient.LocallySmall diff --git a/Mathlib/AlgebraicTopology/ModelCategory/Homotopy.lean b/Mathlib/AlgebraicTopology/ModelCategory/Homotopy.lean index 17df240dbbf07a..3b6c1337534116 100644 --- a/Mathlib/AlgebraicTopology/ModelCategory/Homotopy.lean +++ b/Mathlib/AlgebraicTopology/ModelCategory/Homotopy.lean @@ -5,9 +5,10 @@ Authors: Joël Riou -/ module -import Mathlib.AlgebraicTopology.ModelCategory.BrownLemma public import Mathlib.AlgebraicTopology.ModelCategory.RightHomotopy +import Mathlib.AlgebraicTopology.ModelCategory.BrownLemma + /-! # Homotopies in model categories diff --git a/Mathlib/AlgebraicTopology/SimplicialCategory/Basic.lean b/Mathlib/AlgebraicTopology/SimplicialCategory/Basic.lean index 8904b2138a133e..d21dc5c1f07355 100644 --- a/Mathlib/AlgebraicTopology/SimplicialCategory/Basic.lean +++ b/Mathlib/AlgebraicTopology/SimplicialCategory/Basic.lean @@ -7,6 +7,7 @@ module public import Mathlib.AlgebraicTopology.SimplicialSet.Monoidal public import Mathlib.CategoryTheory.Enriched.Ordinary.Basic + import Mathlib.CategoryTheory.Monoidal.Closed.Basic /-! diff --git a/Mathlib/AlgebraicTopology/SimplicialComplex/Basic.lean b/Mathlib/AlgebraicTopology/SimplicialComplex/Basic.lean index 87e14ee2d1a8e1..2726d783ed876f 100644 --- a/Mathlib/AlgebraicTopology/SimplicialComplex/Basic.lean +++ b/Mathlib/AlgebraicTopology/SimplicialComplex/Basic.lean @@ -6,9 +6,10 @@ Authors: Bolton Bailey module public import Mathlib.Order.UpperLower.Relative -import Mathlib.Algebra.Order.Field.Basic public import Mathlib.Data.Finset.Image public import Mathlib.Order.BourbakiWitt + +import Mathlib.Algebra.Order.Field.Basic import Mathlib.Tactic.NormNum.Ineq import Mathlib.Tactic.NormNum.Pow diff --git a/Mathlib/AlgebraicTopology/SimplicialSet/AnodyneExtensions/Basic.lean b/Mathlib/AlgebraicTopology/SimplicialSet/AnodyneExtensions/Basic.lean index 1e04aff57c325c..28320c518845a1 100644 --- a/Mathlib/AlgebraicTopology/SimplicialSet/AnodyneExtensions/Basic.lean +++ b/Mathlib/AlgebraicTopology/SimplicialSet/AnodyneExtensions/Basic.lean @@ -8,9 +8,10 @@ module public import Mathlib.AlgebraicTopology.SimplicialSet.AnodyneExtensions.RankNat public import Mathlib.AlgebraicTopology.SimplicialSet.AnodyneExtensions.RelativeCellComplex public import Mathlib.AlgebraicTopology.SimplicialSet.CategoryWithFibrations -import Mathlib.AlgebraicTopology.SimplicialSet.Presentable public import Mathlib.CategoryTheory.SmallObject.Basic +import Mathlib.AlgebraicTopology.SimplicialSet.Presentable + /-! # Anodyne extensions diff --git a/Mathlib/AlgebraicTopology/SimplicialSet/AnodyneExtensions/Inner/Basic.lean b/Mathlib/AlgebraicTopology/SimplicialSet/AnodyneExtensions/Inner/Basic.lean index 56b6860e65e28d..4d50795fb8b59a 100644 --- a/Mathlib/AlgebraicTopology/SimplicialSet/AnodyneExtensions/Inner/Basic.lean +++ b/Mathlib/AlgebraicTopology/SimplicialSet/AnodyneExtensions/Inner/Basic.lean @@ -7,6 +7,7 @@ module public import Mathlib.AlgebraicTopology.Quasicategory.InnerFibration public import Mathlib.AlgebraicTopology.SimplicialSet.AnodyneExtensions.Basic + import Mathlib.AlgebraicTopology.SimplicialSet.Presentable /-! diff --git a/Mathlib/AlgebraicTopology/SimplicialSet/AnodyneExtensions/Inner/PushoutProduct.lean b/Mathlib/AlgebraicTopology/SimplicialSet/AnodyneExtensions/Inner/PushoutProduct.lean index 510e2ce10e55e7..5bd0039b1f732b 100644 --- a/Mathlib/AlgebraicTopology/SimplicialSet/AnodyneExtensions/Inner/PushoutProduct.lean +++ b/Mathlib/AlgebraicTopology/SimplicialSet/AnodyneExtensions/Inner/PushoutProduct.lean @@ -6,12 +6,13 @@ Authors: Jack McKoen, Joël Riou module public import Mathlib.AlgebraicTopology.SimplicialSet.AnodyneExtensions.Inner.Basic +public import Mathlib.CategoryTheory.Monoidal.Braided.PushoutObjObj +public import Mathlib.CategoryTheory.Monoidal.Closed.FunctorToTypes + import Mathlib.AlgebraicTopology.SimplicialSet.AnodyneExtensions.UnionProd import Mathlib.AlgebraicTopology.SimplicialSet.PushoutProduct import Mathlib.CategoryTheory.LiftingProperties.ParametrizedAdjunction -public import Mathlib.CategoryTheory.Monoidal.Braided.PushoutObjObj import Mathlib.CategoryTheory.Monoidal.Closed.Braided -public import Mathlib.CategoryTheory.Monoidal.Closed.FunctorToTypes /-! # Inner anodyne extensions and pushout-products, inner fibrations and pullbacks diff --git a/Mathlib/AlgebraicTopology/SimplicialSet/AnodyneExtensions/PushoutProduct.lean b/Mathlib/AlgebraicTopology/SimplicialSet/AnodyneExtensions/PushoutProduct.lean index a74a4b800dcdf1..6ffa5c25b69a99 100644 --- a/Mathlib/AlgebraicTopology/SimplicialSet/AnodyneExtensions/PushoutProduct.lean +++ b/Mathlib/AlgebraicTopology/SimplicialSet/AnodyneExtensions/PushoutProduct.lean @@ -6,13 +6,14 @@ Authors: Joël Riou, Jack McKoen module public import Mathlib.AlgebraicTopology.SimplicialSet.AnodyneExtensions.Basic -import Mathlib.AlgebraicTopology.SimplicialSet.AnodyneExtensions.UnionProd public import Mathlib.AlgebraicTopology.SimplicialSet.KanComplex +public import Mathlib.CategoryTheory.Monoidal.Braided.PushoutObjObj +public import Mathlib.CategoryTheory.Monoidal.Closed.FunctorToTypes + +import Mathlib.AlgebraicTopology.SimplicialSet.AnodyneExtensions.UnionProd import Mathlib.AlgebraicTopology.SimplicialSet.PushoutProduct import Mathlib.CategoryTheory.LiftingProperties.ParametrizedAdjunction -public import Mathlib.CategoryTheory.Monoidal.Braided.PushoutObjObj import Mathlib.CategoryTheory.Monoidal.Closed.Braided -public import Mathlib.CategoryTheory.Monoidal.Closed.FunctorToTypes /-! # Anodyne extensions and pushout-products, fibrations and pullbacks diff --git a/Mathlib/AlgebraicTopology/SimplicialSet/AnodyneExtensions/RankNat.lean b/Mathlib/AlgebraicTopology/SimplicialSet/AnodyneExtensions/RankNat.lean index 95ae6c63453626..4e7d63c131c8d0 100644 --- a/Mathlib/AlgebraicTopology/SimplicialSet/AnodyneExtensions/RankNat.lean +++ b/Mathlib/AlgebraicTopology/SimplicialSet/AnodyneExtensions/RankNat.lean @@ -6,6 +6,7 @@ Authors: Joël Riou module public import Mathlib.AlgebraicTopology.SimplicialSet.AnodyneExtensions.Rank + import Mathlib.Basic.Finite.Sigma /-! diff --git a/Mathlib/AlgebraicTopology/SimplicialSet/AnodyneExtensions/RelativeCellComplex.lean b/Mathlib/AlgebraicTopology/SimplicialSet/AnodyneExtensions/RelativeCellComplex.lean index 4fede7de55bb1d..00cc6311039126 100644 --- a/Mathlib/AlgebraicTopology/SimplicialSet/AnodyneExtensions/RelativeCellComplex.lean +++ b/Mathlib/AlgebraicTopology/SimplicialSet/AnodyneExtensions/RelativeCellComplex.lean @@ -9,6 +9,7 @@ public import Mathlib.AlgebraicTopology.RelativeCellComplex.Basic public import Mathlib.AlgebraicTopology.SimplicialSet.AnodyneExtensions.Rank public import Mathlib.AlgebraicTopology.SimplicialSet.Horn public import Mathlib.AlgebraicTopology.SimplicialSet.SubcomplexEvaluation + import Mathlib.CategoryTheory.MorphismProperty.FunctorCategory import Mathlib.CategoryTheory.Types.Monomorphisms diff --git a/Mathlib/AlgebraicTopology/SimplicialSet/Finite.lean b/Mathlib/AlgebraicTopology/SimplicialSet/Finite.lean index 07bd2507c7758c..bc72b11e1e00a8 100644 --- a/Mathlib/AlgebraicTopology/SimplicialSet/Finite.lean +++ b/Mathlib/AlgebraicTopology/SimplicialSet/Finite.lean @@ -7,6 +7,7 @@ module public import Mathlib.AlgebraicTopology.SimplicialSet.Dimension public import Mathlib.AlgebraicTopology.SimplicialSet.NonDegenerateSimplices + import Mathlib.Basic.Finite.Sigma /-! diff --git a/Mathlib/AlgebraicTopology/SimplicialSet/Homology/Basic.lean b/Mathlib/AlgebraicTopology/SimplicialSet/Homology/Basic.lean index c3d5b8e54e9c6e..8a7eb75d9eb059 100644 --- a/Mathlib/AlgebraicTopology/SimplicialSet/Homology/Basic.lean +++ b/Mathlib/AlgebraicTopology/SimplicialSet/Homology/Basic.lean @@ -8,6 +8,7 @@ module public import Mathlib.Algebra.Homology.ShortComplex.HomologicalComplex public import Mathlib.AlgebraicTopology.AlternatingFaceMapComplex public import Mathlib.AlgebraicTopology.SimplicialSet.Nonempty + import Mathlib.CategoryTheory.Linear.Basic /-! diff --git a/Mathlib/AlgebraicTopology/SimplicialSet/Homology/Relative.lean b/Mathlib/AlgebraicTopology/SimplicialSet/Homology/Relative.lean index 04efb8f13389bb..3e2beeb0cabfcd 100644 --- a/Mathlib/AlgebraicTopology/SimplicialSet/Homology/Relative.lean +++ b/Mathlib/AlgebraicTopology/SimplicialSet/Homology/Relative.lean @@ -5,11 +5,12 @@ Authors: Joël Riou, Andrew Yang -/ module -import Mathlib.Algebra.Homology.HomologicalComplexAbelian -import Mathlib.Algebra.Homology.HomologicalComplexKernels public import Mathlib.Algebra.Homology.HomologySequence public import Mathlib.AlgebraicTopology.SimplicialSet.Homology.Basic public import Mathlib.AlgebraicTopology.SimplicialSet.SSetPair + +import Mathlib.Algebra.Homology.HomologicalComplexAbelian +import Mathlib.Algebra.Homology.HomologicalComplexKernels import Mathlib.CategoryTheory.Limits.FunctorCategory.Shapes.Kernels import Mathlib.CategoryTheory.Limits.MonoCoprod import Mathlib.CategoryTheory.Limits.Preserves.SigmaConst diff --git a/Mathlib/AlgebraicTopology/SimplicialSet/Horn.lean b/Mathlib/AlgebraicTopology/SimplicialSet/Horn.lean index 49d0af50360166..424af10591936d 100644 --- a/Mathlib/AlgebraicTopology/SimplicialSet/Horn.lean +++ b/Mathlib/AlgebraicTopology/SimplicialSet/Horn.lean @@ -7,6 +7,7 @@ module public import Mathlib.AlgebraicTopology.SimplicialSet.StdSimplex public import Mathlib.AlgebraicTopology.SimplicialSet.SubcomplexOp + import Mathlib.CategoryTheory.Subfunctor.Equalizer /-! diff --git a/Mathlib/AlgebraicTopology/SimplicialSet/HornColimits.lean b/Mathlib/AlgebraicTopology/SimplicialSet/HornColimits.lean index 87e0fe2e832aa5..6c5a7c082b6597 100644 --- a/Mathlib/AlgebraicTopology/SimplicialSet/HornColimits.lean +++ b/Mathlib/AlgebraicTopology/SimplicialSet/HornColimits.lean @@ -7,6 +7,7 @@ module public import Mathlib.AlgebraicTopology.SimplicialSet.Horn public import Mathlib.AlgebraicTopology.SimplicialSet.SubcomplexColimits + import Mathlib.CategoryTheory.Limits.Shapes.Pullback.IsPullback.Basic /-! diff --git a/Mathlib/AlgebraicTopology/SimplicialSet/Monoidal.lean b/Mathlib/AlgebraicTopology/SimplicialSet/Monoidal.lean index 7b2e8947dffbc6..5074a2da4b2814 100644 --- a/Mathlib/AlgebraicTopology/SimplicialSet/Monoidal.lean +++ b/Mathlib/AlgebraicTopology/SimplicialSet/Monoidal.lean @@ -7,10 +7,11 @@ module public import Mathlib.AlgebraicTopology.SimplicialSet.StdSimplex public import Mathlib.AlgebraicTopology.SimplicialSet.SubcomplexColimits -import Mathlib.CategoryTheory.Limits.Shapes.Pullback.IsPullback.Basic public import Mathlib.CategoryTheory.Monoidal.Cartesian.FunctorCategory public import Mathlib.AlgebraicTopology.SimplicialSet.SubcomplexOp +import Mathlib.CategoryTheory.Limits.Shapes.Pullback.IsPullback.Basic + /-! # The monoidal category structure on simplicial sets diff --git a/Mathlib/AlgebraicTopology/SimplicialSet/Monomorphisms.lean b/Mathlib/AlgebraicTopology/SimplicialSet/Monomorphisms.lean index 1288c8f927f243..6bbb4a96c33c63 100644 --- a/Mathlib/AlgebraicTopology/SimplicialSet/Monomorphisms.lean +++ b/Mathlib/AlgebraicTopology/SimplicialSet/Monomorphisms.lean @@ -6,9 +6,10 @@ Authors: Joël Riou module public import Mathlib.AlgebraicTopology.SimplicialSet.Basic -import Mathlib.CategoryTheory.MorphismProperty.FunctorCategory public import Mathlib.CategoryTheory.Types.Monomorphisms +import Mathlib.CategoryTheory.MorphismProperty.FunctorCategory + /-! # Monomorphisms of simplicial sets diff --git a/Mathlib/AlgebraicTopology/SimplicialSet/NerveAdjunction.lean b/Mathlib/AlgebraicTopology/SimplicialSet/NerveAdjunction.lean index 9eb4c4770967c3..60eedcbe4b0488 100644 --- a/Mathlib/AlgebraicTopology/SimplicialSet/NerveAdjunction.lean +++ b/Mathlib/AlgebraicTopology/SimplicialSet/NerveAdjunction.lean @@ -5,9 +5,10 @@ Authors: Mario Carneiro, Emily Riehl, Joël Riou -/ module -import Mathlib.AlgebraicTopology.SimplexCategory.MorphismProperty public import Mathlib.AlgebraicTopology.SimplicialSet.HomotopyCat public import Mathlib.CategoryTheory.Category.Cat.CartesianClosed + +import Mathlib.AlgebraicTopology.SimplexCategory.MorphismProperty import Mathlib.CategoryTheory.Monoidal.Closed.FunctorToTypes import Mathlib.CategoryTheory.Limits.Presheaf import Mathlib.CategoryTheory.Monoidal.Closed.Cartesian diff --git a/Mathlib/AlgebraicTopology/SimplicialSet/NonDegenerateSimplicesColimit.lean b/Mathlib/AlgebraicTopology/SimplicialSet/NonDegenerateSimplicesColimit.lean index b269d03d5f3fa2..d9f15617b1b52a 100644 --- a/Mathlib/AlgebraicTopology/SimplicialSet/NonDegenerateSimplicesColimit.lean +++ b/Mathlib/AlgebraicTopology/SimplicialSet/NonDegenerateSimplicesColimit.lean @@ -6,6 +6,7 @@ Authors: Joël Riou module public import Mathlib.AlgebraicTopology.SimplicialSet.NonDegenerateSimplices + import Mathlib.AlgebraicTopology.SimplicialSet.SubcomplexColimits import Mathlib.CategoryTheory.Subfunctor.Equalizer diff --git a/Mathlib/AlgebraicTopology/SimplicialSet/Presentable.lean b/Mathlib/AlgebraicTopology/SimplicialSet/Presentable.lean index b7170a1364f8c8..62eabfc5be6bea 100644 --- a/Mathlib/AlgebraicTopology/SimplicialSet/Presentable.lean +++ b/Mathlib/AlgebraicTopology/SimplicialSet/Presentable.lean @@ -5,12 +5,13 @@ Authors: Joël Riou -/ module -import Mathlib.AlgebraicTopology.SimplicialSet.FiniteColimits public import Mathlib.AlgebraicTopology.SimplicialSet.FiniteProd -import Mathlib.AlgebraicTopology.SimplicialSet.RegularEpi public import Mathlib.CategoryTheory.Presentable.Finite public import Mathlib.CategoryTheory.Presentable.Presheaf +import Mathlib.AlgebraicTopology.SimplicialSet.FiniteColimits +import Mathlib.AlgebraicTopology.SimplicialSet.RegularEpi + /-! # Finite simplicial sets are presentable diff --git a/Mathlib/AlgebraicTopology/SimplicialSet/ProdStdSimplex.lean b/Mathlib/AlgebraicTopology/SimplicialSet/ProdStdSimplex.lean index 864f086a8de00d..8aee394ca0de20 100644 --- a/Mathlib/AlgebraicTopology/SimplicialSet/ProdStdSimplex.lean +++ b/Mathlib/AlgebraicTopology/SimplicialSet/ProdStdSimplex.lean @@ -6,6 +6,7 @@ Authors: Joël Riou module public import Mathlib.AlgebraicTopology.SimplicialSet.Monoidal + import Mathlib.Order.Fin.InsertNth import Mathlib.Order.Fin.Prod import Mathlib.Order.Preorder.Finite diff --git a/Mathlib/AlgebraicTopology/SimplicialSet/RegularEpi.lean b/Mathlib/AlgebraicTopology/SimplicialSet/RegularEpi.lean index d064dba8118020..27f4c4d460e38a 100644 --- a/Mathlib/AlgebraicTopology/SimplicialSet/RegularEpi.lean +++ b/Mathlib/AlgebraicTopology/SimplicialSet/RegularEpi.lean @@ -6,6 +6,7 @@ Authors: Joël Riou module public import Mathlib.AlgebraicTopology.SimplicialSet.Basic + import Mathlib.CategoryTheory.Functor.RegularEpi /-! diff --git a/Mathlib/AlgebraicTopology/SimplicialSet/Skeleton.lean b/Mathlib/AlgebraicTopology/SimplicialSet/Skeleton.lean index bd660aa22971d7..8101bf710e532f 100644 --- a/Mathlib/AlgebraicTopology/SimplicialSet/Skeleton.lean +++ b/Mathlib/AlgebraicTopology/SimplicialSet/Skeleton.lean @@ -8,9 +8,10 @@ module public import Mathlib.AlgebraicTopology.RelativeCellComplex.Basic public import Mathlib.AlgebraicTopology.SimplicialSet.Boundary public import Mathlib.AlgebraicTopology.SimplicialSet.SubcomplexEvaluation -import Mathlib.CategoryTheory.MorphismProperty.FunctorCategory public import Mathlib.CategoryTheory.Types.Monomorphisms +import Mathlib.CategoryTheory.MorphismProperty.FunctorCategory + /-! # The skeleton of a simplicial set diff --git a/Mathlib/AlgebraicTopology/SimplicialSet/StdSimplex.lean b/Mathlib/AlgebraicTopology/SimplicialSet/StdSimplex.lean index 4f208dda291069..8944b087a5cb6b 100644 --- a/Mathlib/AlgebraicTopology/SimplicialSet/StdSimplex.lean +++ b/Mathlib/AlgebraicTopology/SimplicialSet/StdSimplex.lean @@ -8,8 +8,9 @@ module public import Mathlib.AlgebraicTopology.SimplicialSet.Finite public import Mathlib.AlgebraicTopology.SimplicialSet.NerveNondegenerate public import Mathlib.Order.Fin.Finset -import Mathlib.Order.Fin.SuccAboveOrderIso public import Mathlib.CategoryTheory.Limits.Shapes.FiniteProducts + +import Mathlib.Order.Fin.SuccAboveOrderIso import Mathlib.Order.Preorder.Finite /-! diff --git a/Mathlib/AlgebraicTopology/SimplicialSet/StdSimplexOne.lean b/Mathlib/AlgebraicTopology/SimplicialSet/StdSimplexOne.lean index 1e8059f06bd07b..7387ca02cd1263 100644 --- a/Mathlib/AlgebraicTopology/SimplicialSet/StdSimplexOne.lean +++ b/Mathlib/AlgebraicTopology/SimplicialSet/StdSimplexOne.lean @@ -6,6 +6,7 @@ Authors: Joël Riou module public import Mathlib.AlgebraicTopology.SimplicialSet.StdSimplex + import Mathlib.AlgebraicTopology.SimplexCategory.ToMkOne /-! diff --git a/Mathlib/AlgebraicTopology/SingularHomology/Basic.lean b/Mathlib/AlgebraicTopology/SingularHomology/Basic.lean index f5b4baec7bccd8..f1ee70e42220cf 100644 --- a/Mathlib/AlgebraicTopology/SingularHomology/Basic.lean +++ b/Mathlib/AlgebraicTopology/SingularHomology/Basic.lean @@ -9,6 +9,7 @@ public import Mathlib.Algebra.Homology.AlternatingConst public import Mathlib.AlgebraicTopology.SimplicialSet.Homology.Basic public import Mathlib.AlgebraicTopology.SingularSet public import Mathlib.CategoryTheory.Adjunction.Whiskering + import Mathlib.CategoryTheory.Limits.MonoCoprod /-! diff --git a/Mathlib/Analysis/Analytic/Binomial.lean b/Mathlib/Analysis/Analytic/Binomial.lean index 2bf14eacd75fed..8057d866146397 100644 --- a/Mathlib/Analysis/Analytic/Binomial.lean +++ b/Mathlib/Analysis/Analytic/Binomial.lean @@ -6,12 +6,13 @@ Authors: Vasilii Nesterov, Andrew Yang module public import Mathlib.Analysis.Calculus.IteratedDeriv.ConvergenceOnBall -import Mathlib.Analysis.Complex.OperatorNorm public import Mathlib.Analysis.SpecialFunctions.Complex.Analytic public import Mathlib.Analysis.SpecialFunctions.OrdinaryHypergeometric -import Mathlib.Analysis.SpecialFunctions.Pow.Deriv public import Mathlib.RingTheory.Binomial +import Mathlib.Analysis.Complex.OperatorNorm +import Mathlib.Analysis.SpecialFunctions.Pow.Deriv + /-! # Binomial Series diff --git a/Mathlib/Analysis/Analytic/Constructions.lean b/Mathlib/Analysis/Analytic/Constructions.lean index 52bacd72d6492f..0cf08d51c0e1ce 100644 --- a/Mathlib/Analysis/Analytic/Constructions.lean +++ b/Mathlib/Analysis/Analytic/Constructions.lean @@ -7,10 +7,11 @@ module public import Mathlib.Analysis.Analytic.Composition public import Mathlib.Analysis.Analytic.Linear -import Mathlib.Analysis.Normed.Operator.Mul public import Mathlib.Analysis.Normed.Ring.Units public import Mathlib.Analysis.Analytic.OfScalars +import Mathlib.Analysis.Normed.Operator.Mul + /-! # Various ways to combine analytic functions diff --git a/Mathlib/Analysis/Analytic/ConvergenceRadius.lean b/Mathlib/Analysis/Analytic/ConvergenceRadius.lean index 2a8c03b56477df..31928f0b718f77 100644 --- a/Mathlib/Analysis/Analytic/ConvergenceRadius.lean +++ b/Mathlib/Analysis/Analytic/ConvergenceRadius.lean @@ -7,6 +7,7 @@ module public import Mathlib.Analysis.Calculus.FormalMultilinearSeries public import Mathlib.Analysis.SpecificLimits.Normed + import Mathlib.Topology.Algebra.InfiniteSum.Module /-! diff --git a/Mathlib/Analysis/Analytic/Inverse.lean b/Mathlib/Analysis/Analytic/Inverse.lean index a4dc0a4c6f337a..4f0b33c0fbf3b4 100644 --- a/Mathlib/Analysis/Analytic/Inverse.lean +++ b/Mathlib/Analysis/Analytic/Inverse.lean @@ -6,9 +6,10 @@ Authors: Sébastien Gouëzel module public import Mathlib.Analysis.Analytic.Composition -import Mathlib.Analysis.Analytic.Linear public import Mathlib.Tactic.Positivity +import Mathlib.Analysis.Analytic.Linear + /-! # Inverse of analytic functions diff --git a/Mathlib/Analysis/Analytic/IsolatedZeros.lean b/Mathlib/Analysis/Analytic/IsolatedZeros.lean index 41a1c052942c08..467a9c4e939434 100644 --- a/Mathlib/Analysis/Analytic/IsolatedZeros.lean +++ b/Mathlib/Analysis/Analytic/IsolatedZeros.lean @@ -5,12 +5,13 @@ Authors: Vincent Beffara, Stefan Kebekus -/ module -import Mathlib.Analysis.Analytic.Constructions public import Mathlib.Analysis.Calculus.DSlope -import Mathlib.Analysis.Calculus.FDeriv.Analytic public import Mathlib.Analysis.Analytic.Uniqueness public import Mathlib.Order.Filter.EventuallyConst +import Mathlib.Analysis.Analytic.Constructions +import Mathlib.Analysis.Calculus.FDeriv.Analytic + /-! # Principle of isolated zeros diff --git a/Mathlib/Analysis/Analytic/IteratedFDeriv.lean b/Mathlib/Analysis/Analytic/IteratedFDeriv.lean index a653f522b1e69a..770d8654239f8d 100644 --- a/Mathlib/Analysis/Analytic/IteratedFDeriv.lean +++ b/Mathlib/Analysis/Analytic/IteratedFDeriv.lean @@ -6,6 +6,7 @@ Authors: Sébastien Gouëzel module public import Mathlib.Analysis.Calculus.ContDiff.Operations + import Mathlib.Analysis.Calculus.ContDiff.CPolynomial /-! diff --git a/Mathlib/Analysis/Analytic/Order.lean b/Mathlib/Analysis/Analytic/Order.lean index 04f885edfd2899..18e1b9c5856af8 100644 --- a/Mathlib/Analysis/Analytic/Order.lean +++ b/Mathlib/Analysis/Analytic/Order.lean @@ -7,8 +7,9 @@ module public import Mathlib.Analysis.Analytic.IsolatedZeros public import Mathlib.Analysis.Asymptotics.Theta -import Mathlib.Analysis.Calculus.Deriv.Pow public import Mathlib.Analysis.Calculus.InverseFunctionTheorem.Analytic + +import Mathlib.Analysis.Calculus.Deriv.Pow import Mathlib.Analysis.Calculus.IteratedDeriv.Lemmas /-! diff --git a/Mathlib/Analysis/Analytic/Uniqueness.lean b/Mathlib/Analysis/Analytic/Uniqueness.lean index 96a234e86eeda2..54a7cb0fe0dbff 100644 --- a/Mathlib/Analysis/Analytic/Uniqueness.lean +++ b/Mathlib/Analysis/Analytic/Uniqueness.lean @@ -5,11 +5,12 @@ Authors: Sébastien Gouëzel -/ module +public import Mathlib.Analysis.Analytic.ChangeOrigin + import Mathlib.Analysis.Analytic.Linear import Mathlib.Analysis.Analytic.Composition import Mathlib.Analysis.Analytic.Constructions import Mathlib.Analysis.Normed.Module.Completion -public import Mathlib.Analysis.Analytic.ChangeOrigin /-! # Uniqueness principle for analytic functions diff --git a/Mathlib/Analysis/Asymptotics/Arith.lean b/Mathlib/Analysis/Asymptotics/Arith.lean index 564fb8a988ae0c..32ddb5acfb64e1 100644 --- a/Mathlib/Analysis/Asymptotics/Arith.lean +++ b/Mathlib/Analysis/Asymptotics/Arith.lean @@ -6,6 +6,7 @@ Authors: Jeremy Avigad, Yury Kudryashov module public import Mathlib.Analysis.Asymptotics.Basic + import Mathlib.Analysis.Normed.Ring.Basic /-! diff --git a/Mathlib/Analysis/Asymptotics/AsymptoticEquivalent.lean b/Mathlib/Analysis/Asymptotics/AsymptoticEquivalent.lean index 9720fcabe8af1f..67ed6546372e5f 100644 --- a/Mathlib/Analysis/Asymptotics/AsymptoticEquivalent.lean +++ b/Mathlib/Analysis/Asymptotics/AsymptoticEquivalent.lean @@ -6,9 +6,10 @@ Authors: Anatole Dedecker module public import Mathlib.Analysis.Normed.Module.Basic -import Mathlib.Analysis.Asymptotics.Theta public import Mathlib.Analysis.Asymptotics.Defs +import Mathlib.Analysis.Asymptotics.Theta + /-! # Asymptotic equivalence diff --git a/Mathlib/Analysis/Asymptotics/Lemmas.lean b/Mathlib/Analysis/Asymptotics/Lemmas.lean index 02da4793d32376..deb4b4e8af58a8 100644 --- a/Mathlib/Analysis/Asymptotics/Lemmas.lean +++ b/Mathlib/Analysis/Asymptotics/Lemmas.lean @@ -6,10 +6,11 @@ Authors: Jeremy Avigad, Yury Kudryashov module public import Mathlib.Analysis.Asymptotics.Ring -import Mathlib.Analysis.Normed.Group.Bounded public import Mathlib.Analysis.Normed.Group.InfiniteSum public import Mathlib.Analysis.Normed.MulAction public import Mathlib.Topology.OpenPartialHomeomorph.Continuity + +import Mathlib.Analysis.Normed.Group.Bounded import Mathlib.Order.Filter.AtTopBot.Archimedean /-! diff --git a/Mathlib/Analysis/Asymptotics/TVS.lean b/Mathlib/Analysis/Asymptotics/TVS.lean index c6ff195d626e12..8e06dea1c66114 100644 --- a/Mathlib/Analysis/Asymptotics/TVS.lean +++ b/Mathlib/Analysis/Asymptotics/TVS.lean @@ -6,8 +6,9 @@ Authors: Yury Kudryashov, Eric Wieser module public import Mathlib.Analysis.Convex.EGauge -import Mathlib.Analysis.LocallyConvex.BalancedCoreHull public import Mathlib.Analysis.Asymptotics.Defs + +import Mathlib.Analysis.LocallyConvex.BalancedCoreHull import Mathlib.Tactic.Peel /-! diff --git a/Mathlib/Analysis/BoundedVariation.lean b/Mathlib/Analysis/BoundedVariation.lean index 2a03d895eb35ef..cb1768d019f308 100644 --- a/Mathlib/Analysis/BoundedVariation.lean +++ b/Mathlib/Analysis/BoundedVariation.lean @@ -5,12 +5,13 @@ Authors: Sébastien Gouëzel -/ module -import Mathlib.Analysis.Calculus.FDeriv.Equiv -import Mathlib.Analysis.Calculus.FDeriv.Prod public import Mathlib.Analysis.Calculus.Monotone public import Mathlib.MeasureTheory.Integral.IntervalIntegral.Basic public import Mathlib.Topology.EMetricSpace.VariationOnFromTo +import Mathlib.Analysis.Calculus.FDeriv.Equiv +import Mathlib.Analysis.Calculus.FDeriv.Prod + /-! # Almost everywhere differentiability of functions with locally bounded variation diff --git a/Mathlib/Analysis/BoxIntegral/Box/Basic.lean b/Mathlib/Analysis/BoxIntegral/Box/Basic.lean index 79b4cf21c3cbe4..e2703546c5c3b5 100644 --- a/Mathlib/Analysis/BoxIntegral/Box/Basic.lean +++ b/Mathlib/Analysis/BoxIntegral/Box/Basic.lean @@ -6,9 +6,10 @@ Authors: Yury Kudryashov module public import Mathlib.Basic.NNReal.Basic +public import Mathlib.Topology.MetricSpace.Bounded + import Mathlib.Order.Fin.Tuple import Mathlib.Order.Interval.Set.Monotone -public import Mathlib.Topology.MetricSpace.Bounded import Mathlib.Topology.MetricSpace.Pseudo.Real import Mathlib.Topology.Order.MonotoneConvergence /-! diff --git a/Mathlib/Analysis/CStarAlgebra/ApproximateUnit.lean b/Mathlib/Analysis/CStarAlgebra/ApproximateUnit.lean index 43d5d0e18cd958..0605e7dc085858 100644 --- a/Mathlib/Analysis/CStarAlgebra/ApproximateUnit.lean +++ b/Mathlib/Analysis/CStarAlgebra/ApproximateUnit.lean @@ -6,8 +6,9 @@ Authors: Jireh Loreaux module public import Mathlib.Analysis.CStarAlgebra.ContinuousFunctionalCalculus.Order -import Mathlib.Analysis.CStarAlgebra.SpecialFunctions.PosPart public import Mathlib.Topology.ApproximateUnit + +import Mathlib.Analysis.CStarAlgebra.SpecialFunctions.PosPart import Mathlib.Algebra.Order.Interval.Set.Group /-! # Nonnegative contractions in a C⋆-algebra form an approximate unit diff --git a/Mathlib/Analysis/CStarAlgebra/CStarMatrix.lean b/Mathlib/Analysis/CStarAlgebra/CStarMatrix.lean index bab0ac007075dd..88914f74f5b8a6 100644 --- a/Mathlib/Analysis/CStarAlgebra/CStarMatrix.lean +++ b/Mathlib/Analysis/CStarAlgebra/CStarMatrix.lean @@ -6,10 +6,11 @@ Authors: Frédéric Dupuis module public import Mathlib.Analysis.CStarAlgebra.Module.Constructions -import Mathlib.Analysis.Matrix.Normed public import Mathlib.Topology.UniformSpace.Matrix public import Mathlib.Analysis.CStarAlgebra.ContinuousFunctionalCalculus.Basic +import Mathlib.Analysis.Matrix.Normed + /-! # Matrices with entries in a C⋆-algebra diff --git a/Mathlib/Analysis/CStarAlgebra/Commutative/PosPart.lean b/Mathlib/Analysis/CStarAlgebra/Commutative/PosPart.lean index 4e46a0447ea93d..6991b2c93ff280 100644 --- a/Mathlib/Analysis/CStarAlgebra/Commutative/PosPart.lean +++ b/Mathlib/Analysis/CStarAlgebra/Commutative/PosPart.lean @@ -8,6 +8,7 @@ module public import Mathlib.Analysis.RCLike.ContinuousMap public import Mathlib.Analysis.CStarAlgebra.ContinuousFunctionalCalculus.Basic + import Mathlib.Analysis.CStarAlgebra.ContinuousFunctionalCalculus.Range import Mathlib.Analysis.CStarAlgebra.Hom diff --git a/Mathlib/Analysis/CStarAlgebra/CompletelyPositiveMap.lean b/Mathlib/Analysis/CStarAlgebra/CompletelyPositiveMap.lean index 855179aa92d382..73d8e75f4ca112 100644 --- a/Mathlib/Analysis/CStarAlgebra/CompletelyPositiveMap.lean +++ b/Mathlib/Analysis/CStarAlgebra/CompletelyPositiveMap.lean @@ -6,6 +6,7 @@ Authors: Frédéric Dupuis module public import Mathlib.Analysis.CStarAlgebra.CStarMatrix + import Mathlib.Algebra.Order.Module.PositiveLinearMap /-! # Completely positive maps diff --git a/Mathlib/Analysis/CStarAlgebra/ContinuousFunctionalCalculus/Integral.lean b/Mathlib/Analysis/CStarAlgebra/ContinuousFunctionalCalculus/Integral.lean index 58508b4ba16240..3b3656cb908a6b 100644 --- a/Mathlib/Analysis/CStarAlgebra/ContinuousFunctionalCalculus/Integral.lean +++ b/Mathlib/Analysis/CStarAlgebra/ContinuousFunctionalCalculus/Integral.lean @@ -8,9 +8,10 @@ module public import Mathlib.Analysis.Normed.Algebra.Spectrum public import Mathlib.Analysis.CStarAlgebra.ContinuousFunctionalCalculus.NonUnital public import Mathlib.Analysis.RCLike.Lemmas -import Mathlib.MeasureTheory.SpecificCodomains.ContinuousMapZero public import Mathlib.MeasureTheory.Integral.Bochner.ContinuousLinearMap +import Mathlib.MeasureTheory.SpecificCodomains.ContinuousMapZero + /-! # Integrals and the continuous functional calculus diff --git a/Mathlib/Analysis/CStarAlgebra/ContinuousFunctionalCalculus/Note.lean b/Mathlib/Analysis/CStarAlgebra/ContinuousFunctionalCalculus/Note.lean index e1b8d5336c05d7..70851420634497 100644 --- a/Mathlib/Analysis/CStarAlgebra/ContinuousFunctionalCalculus/Note.lean +++ b/Mathlib/Analysis/CStarAlgebra/ContinuousFunctionalCalculus/Note.lean @@ -5,9 +5,10 @@ Authors: Jireh Loreaux -/ module -import Mathlib.Init public import Batteries.Util.LibraryNote +import Mathlib.Init + /-! # Documentation concerning the continuous functional calculus diff --git a/Mathlib/Analysis/CStarAlgebra/ContinuousFunctionalCalculus/Pi.lean b/Mathlib/Analysis/CStarAlgebra/ContinuousFunctionalCalculus/Pi.lean index 0f6913165c692e..cd9563b920e14d 100644 --- a/Mathlib/Analysis/CStarAlgebra/ContinuousFunctionalCalculus/Pi.lean +++ b/Mathlib/Analysis/CStarAlgebra/ContinuousFunctionalCalculus/Pi.lean @@ -6,6 +6,7 @@ Authors: Frédéric Dupuis module public import Mathlib.Analysis.CStarAlgebra.ContinuousFunctionalCalculus.Unique + import Mathlib.Algebra.Algebra.Spectrum.Pi /-! # The continuous functional calculus on product types diff --git a/Mathlib/Analysis/CStarAlgebra/ContinuousFunctionalCalculus/Projection.lean b/Mathlib/Analysis/CStarAlgebra/ContinuousFunctionalCalculus/Projection.lean index f006b5194601aa..32d72bbde15289 100644 --- a/Mathlib/Analysis/CStarAlgebra/ContinuousFunctionalCalculus/Projection.lean +++ b/Mathlib/Analysis/CStarAlgebra/ContinuousFunctionalCalculus/Projection.lean @@ -6,6 +6,7 @@ Authors: Monica Omar module public import Mathlib.Analysis.CStarAlgebra.ContinuousFunctionalCalculus.NonUnital + import Mathlib.FieldTheory.IsAlgClosed.Spectrum /-! # Continuous functional calculus and projections diff --git a/Mathlib/Analysis/CStarAlgebra/ContinuousFunctionalCalculus/Range.lean b/Mathlib/Analysis/CStarAlgebra/ContinuousFunctionalCalculus/Range.lean index d692135e318450..9cb40c7df2f2e4 100644 --- a/Mathlib/Analysis/CStarAlgebra/ContinuousFunctionalCalculus/Range.lean +++ b/Mathlib/Analysis/CStarAlgebra/ContinuousFunctionalCalculus/Range.lean @@ -6,6 +6,7 @@ Authors: Jireh Loreaux module public import Mathlib.Analysis.CStarAlgebra.ContinuousFunctionalCalculus.Instances + import Mathlib.Topology.ContinuousMap.ContinuousSqrt import Mathlib.Algebra.Order.Monoid.Submonoid diff --git a/Mathlib/Analysis/CStarAlgebra/Fuglede.lean b/Mathlib/Analysis/CStarAlgebra/Fuglede.lean index 99509345c0a687..5df3940e22ae04 100644 --- a/Mathlib/Analysis/CStarAlgebra/Fuglede.lean +++ b/Mathlib/Analysis/CStarAlgebra/Fuglede.lean @@ -7,6 +7,7 @@ module public import Mathlib.Analysis.Normed.Algebra.Exponential public import Mathlib.Analysis.CStarAlgebra.Classes + import Mathlib.Analysis.CStarAlgebra.Exponential import Mathlib.Analysis.CStarAlgebra.Unitization import Mathlib.Analysis.Complex.Liouville diff --git a/Mathlib/Analysis/CStarAlgebra/GelfandDuality.lean b/Mathlib/Analysis/CStarAlgebra/GelfandDuality.lean index 170d58b84eae61..f718dbe6deeb0a 100644 --- a/Mathlib/Analysis/CStarAlgebra/GelfandDuality.lean +++ b/Mathlib/Analysis/CStarAlgebra/GelfandDuality.lean @@ -11,6 +11,7 @@ public import Mathlib.Analysis.CStarAlgebra.Fuglede public import Mathlib.Analysis.Normed.Algebra.Basic public import Mathlib.Topology.ContinuousMap.Units public import Mathlib.Topology.ContinuousMap.Ideals + import Mathlib.Topology.ContinuousMap.StoneWeierstrass /-! diff --git a/Mathlib/Analysis/CStarAlgebra/Module/Constructions.lean b/Mathlib/Analysis/CStarAlgebra/Module/Constructions.lean index 57f87a1505afe1..cf53971eae4fc7 100644 --- a/Mathlib/Analysis/CStarAlgebra/Module/Constructions.lean +++ b/Mathlib/Analysis/CStarAlgebra/Module/Constructions.lean @@ -8,6 +8,7 @@ module public import Mathlib.Analysis.CStarAlgebra.Module.Defs public import Mathlib.Analysis.CStarAlgebra.Module.Synonym public import Mathlib.Analysis.InnerProductSpace.Basic + import Mathlib.Topology.MetricSpace.Bilipschitz import Mathlib.Analysis.CStarAlgebra.ContinuousFunctionalCalculus.Order diff --git a/Mathlib/Analysis/CStarAlgebra/Module/Defs.lean b/Mathlib/Analysis/CStarAlgebra/Module/Defs.lean index 0851ee611f9461..7b62f86b1ad745 100644 --- a/Mathlib/Analysis/CStarAlgebra/Module/Defs.lean +++ b/Mathlib/Analysis/CStarAlgebra/Module/Defs.lean @@ -6,11 +6,12 @@ Authors: Frédéric Dupuis module public import Mathlib.Analysis.InnerProductSpace.Defs -import Mathlib.Analysis.CStarAlgebra.ContinuousFunctionalCalculus.Order public import Mathlib.Analysis.CStarAlgebra.Classes public import Mathlib.Analysis.Normed.Operator.Bilinear public import Mathlib.Analysis.SpecialFunctions.Bernstein public import Mathlib.Analysis.SpecialFunctions.Pow.NNReal + +import Mathlib.Analysis.CStarAlgebra.ContinuousFunctionalCalculus.Order import Mathlib.Tactic.NormNum.GCD /-! diff --git a/Mathlib/Analysis/CStarAlgebra/Module/Synonym.lean b/Mathlib/Analysis/CStarAlgebra/Module/Synonym.lean index c15ec445419ef0..20babf8f14615e 100644 --- a/Mathlib/Analysis/CStarAlgebra/Module/Synonym.lean +++ b/Mathlib/Analysis/CStarAlgebra/Module/Synonym.lean @@ -9,6 +9,7 @@ public import Mathlib.RingTheory.Finiteness.Defs public import Mathlib.Topology.Bornology.Constructions public import Mathlib.Topology.UniformSpace.Equiv public import Mathlib.Topology.Algebra.Module.Equiv.Basic + import Mathlib.Topology.Algebra.IsUniformGroup.Constructions /-! # Type synonym for types with a `CStarModule` structure diff --git a/Mathlib/Analysis/CStarAlgebra/Multiplier.lean b/Mathlib/Analysis/CStarAlgebra/Multiplier.lean index 393cd765527087..9694aba5b2e4ce 100644 --- a/Mathlib/Analysis/CStarAlgebra/Multiplier.lean +++ b/Mathlib/Analysis/CStarAlgebra/Multiplier.lean @@ -6,6 +6,7 @@ Authors: Jireh Loreaux, Jon Bannon module public import Mathlib.Analysis.CStarAlgebra.Unitization + import Mathlib.Analysis.SpecialFunctions.Pow.NNReal /-! diff --git a/Mathlib/Analysis/CStarAlgebra/PositiveLinearMap.lean b/Mathlib/Analysis/CStarAlgebra/PositiveLinearMap.lean index 87699dfabb5aab..5f937ea5f083f1 100644 --- a/Mathlib/Analysis/CStarAlgebra/PositiveLinearMap.lean +++ b/Mathlib/Analysis/CStarAlgebra/PositiveLinearMap.lean @@ -6,9 +6,10 @@ Authors: Frédéric Dupuis module public import Mathlib.Algebra.Order.Module.PositiveLinearMap -import Mathlib.Analysis.CStarAlgebra.ContinuousFunctionalCalculus.Order public import Mathlib.Analysis.CStarAlgebra.SpecialFunctions.PosPart +import Mathlib.Analysis.CStarAlgebra.ContinuousFunctionalCalculus.Order + /-! # Positive linear maps in C⋆-algebras This file develops the API for positive linear maps over C⋆-algebras. diff --git a/Mathlib/Analysis/CStarAlgebra/SpecialFunctions/PosPart.lean b/Mathlib/Analysis/CStarAlgebra/SpecialFunctions/PosPart.lean index c6ff822b8ffc0e..a7d17a0ff361e7 100644 --- a/Mathlib/Analysis/CStarAlgebra/SpecialFunctions/PosPart.lean +++ b/Mathlib/Analysis/CStarAlgebra/SpecialFunctions/PosPart.lean @@ -5,9 +5,10 @@ Authors: Jireh Loreaux -/ module -import Mathlib.Analysis.SpecialFunctions.ContinuousFunctionalCalculus.PosPart.Isometric public import Mathlib.Analysis.CStarAlgebra.ContinuousFunctionalCalculus.Basic +import Mathlib.Analysis.SpecialFunctions.ContinuousFunctionalCalculus.PosPart.Isometric + /-! # C⋆-algebraic facts about `a⁺` and `a⁻`. -/ public section diff --git a/Mathlib/Analysis/CStarAlgebra/Spectrum.lean b/Mathlib/Analysis/CStarAlgebra/Spectrum.lean index 259a2fc6a18826..706b37ed1a21ca 100644 --- a/Mathlib/Analysis/CStarAlgebra/Spectrum.lean +++ b/Mathlib/Analysis/CStarAlgebra/Spectrum.lean @@ -6,10 +6,11 @@ Authors: Jireh Loreaux module public import Mathlib.Analysis.CStarAlgebra.Unitization -import Mathlib.Analysis.Complex.Convex public import Mathlib.Analysis.Normed.Algebra.GelfandFormula public import Mathlib.Analysis.SpecialFunctions.Exponential +import Mathlib.Analysis.Complex.Convex + /-! # Spectral properties in C⋆-algebras In this file, we establish various properties related to the spectrum of elements in C⋆-algebras. diff --git a/Mathlib/Analysis/CStarAlgebra/Unitary/Connected.lean b/Mathlib/Analysis/CStarAlgebra/Unitary/Connected.lean index 676d2130622459..859965cdb32e76 100644 --- a/Mathlib/Analysis/CStarAlgebra/Unitary/Connected.lean +++ b/Mathlib/Analysis/CStarAlgebra/Unitary/Connected.lean @@ -5,9 +5,10 @@ Authors: Jireh Loreaux -/ module -import Mathlib.Analysis.CStarAlgebra.ContinuousFunctionalCalculus.Continuity public import Mathlib.Analysis.CStarAlgebra.ContinuousFunctionalCalculus.Order public import Mathlib.Analysis.CStarAlgebra.Exponential + +import Mathlib.Analysis.CStarAlgebra.ContinuousFunctionalCalculus.Continuity import Mathlib.Analysis.SpecialFunctions.Complex.Circle import Mathlib.Analysis.SpecialFunctions.ContinuousFunctionalCalculus.ExpLog.Basic diff --git a/Mathlib/Analysis/CStarAlgebra/Unitary/Span.lean b/Mathlib/Analysis/CStarAlgebra/Unitary/Span.lean index cc7e594a8d15ad..627a2f3b5832b4 100644 --- a/Mathlib/Analysis/CStarAlgebra/Unitary/Span.lean +++ b/Mathlib/Analysis/CStarAlgebra/Unitary/Span.lean @@ -6,6 +6,7 @@ Authors: Jireh Loreaux module public import Mathlib.Analysis.CStarAlgebra.ContinuousFunctionalCalculus.Order + import Mathlib.Analysis.CStarAlgebra.ContinuousFunctionalCalculus.Unitary import Mathlib.Analysis.Normed.Module.Normalize diff --git a/Mathlib/Analysis/Calculus/AbsolutelyMonotone.lean b/Mathlib/Analysis/Calculus/AbsolutelyMonotone.lean index a6bc9422f80796..d7cff0588e92fb 100644 --- a/Mathlib/Analysis/Calculus/AbsolutelyMonotone.lean +++ b/Mathlib/Analysis/Calculus/AbsolutelyMonotone.lean @@ -5,9 +5,10 @@ Authors: Michael R. Douglas -/ module -import Mathlib.Analysis.Calculus.ContDiff.Operations public import Mathlib.Analysis.Calculus.IteratedDeriv.Defs +import Mathlib.Analysis.Calculus.ContDiff.Operations + /-! # Absolutely monotone functions diff --git a/Mathlib/Analysis/Calculus/BumpFunction/FiniteDimension.lean b/Mathlib/Analysis/Calculus/BumpFunction/FiniteDimension.lean index fee2a9238f0c27..c0d1a05babe89d 100644 --- a/Mathlib/Analysis/Calculus/BumpFunction/FiniteDimension.lean +++ b/Mathlib/Analysis/Calculus/BumpFunction/FiniteDimension.lean @@ -5,14 +5,15 @@ Authors: Sébastien Gouëzel -/ module -import Mathlib.Analysis.Calculus.SmoothSeries public import Mathlib.Analysis.Calculus.BumpFunction.InnerProduct public import Mathlib.Analysis.Calculus.ContDiff.Convolution -import Mathlib.Analysis.InnerProductSpace.EuclideanDist -import Mathlib.Data.Set.Pointwise.Support public import Mathlib.MeasureTheory.Measure.Haar.NormedSpace public import Mathlib.MeasureTheory.Measure.Haar.Unique +import Mathlib.Analysis.Calculus.SmoothSeries +import Mathlib.Analysis.InnerProductSpace.EuclideanDist +import Mathlib.Data.Set.Pointwise.Support + /-! # Bump functions in finite-dimensional vector spaces diff --git a/Mathlib/Analysis/Calculus/BumpFunction/SmoothApprox.lean b/Mathlib/Analysis/Calculus/BumpFunction/SmoothApprox.lean index 10afa05f2a706f..0b7d5a3ba35fbb 100644 --- a/Mathlib/Analysis/Calculus/BumpFunction/SmoothApprox.lean +++ b/Mathlib/Analysis/Calculus/BumpFunction/SmoothApprox.lean @@ -5,9 +5,10 @@ Authors: Yury Kudryashov -/ module -import Mathlib.Analysis.Calculus.BumpFunction.Convolution public import Mathlib.Analysis.Calculus.BumpFunction.FiniteDimension +import Mathlib.Analysis.Calculus.BumpFunction.Convolution + /-! # Density of smooth functions in the space of continuous functions diff --git a/Mathlib/Analysis/Calculus/ContDiff/Bounds.lean b/Mathlib/Analysis/Calculus/ContDiff/Bounds.lean index a0e3b77ac8326c..daa5de8f4b2c80 100644 --- a/Mathlib/Analysis/Calculus/ContDiff/Bounds.lean +++ b/Mathlib/Analysis/Calculus/ContDiff/Bounds.lean @@ -6,9 +6,10 @@ Authors: Sébastien Gouëzel, Floris van Doorn module public import Mathlib.Analysis.Calculus.ContDiff.Operations -import Mathlib.Data.Nat.Choose.Cast public import Mathlib.Data.Nat.Choose.Multinomial +import Mathlib.Data.Nat.Choose.Cast + /-! # Bounds on higher derivatives diff --git a/Mathlib/Analysis/Calculus/ContDiff/Convolution.lean b/Mathlib/Analysis/Calculus/ContDiff/Convolution.lean index e74f788d894653..9ad2e9e48742b5 100644 --- a/Mathlib/Analysis/Calculus/ContDiff/Convolution.lean +++ b/Mathlib/Analysis/Calculus/ContDiff/Convolution.lean @@ -6,9 +6,10 @@ Authors: Floris van Doorn module public import Mathlib.Analysis.Calculus.ContDiff.Comp -import Mathlib.Analysis.Calculus.ParametricIntegral public import Mathlib.Analysis.Convolution +import Mathlib.Analysis.Calculus.ParametricIntegral + /-! # Differentiability of a convolution of functions diff --git a/Mathlib/Analysis/Calculus/ContDiff/FTaylorSeries.lean b/Mathlib/Analysis/Calculus/ContDiff/FTaylorSeries.lean index 26240ea98d0463..992f465e952bbf 100644 --- a/Mathlib/Analysis/Calculus/ContDiff/FTaylorSeries.lean +++ b/Mathlib/Analysis/Calculus/ContDiff/FTaylorSeries.lean @@ -5,11 +5,12 @@ Authors: Sébastien Gouëzel -/ module -import Mathlib.Analysis.Calculus.FDeriv.Add public import Mathlib.Analysis.Calculus.FDeriv.Equiv -import Mathlib.Analysis.Calculus.FDeriv.CompCLM public import Mathlib.Analysis.Calculus.FormalMultilinearSeries +import Mathlib.Analysis.Calculus.FDeriv.Add +import Mathlib.Analysis.Calculus.FDeriv.CompCLM + /-! # Iterated derivatives of a function diff --git a/Mathlib/Analysis/Calculus/ContDiff/FaaDiBruno.lean b/Mathlib/Analysis/Calculus/ContDiff/FaaDiBruno.lean index 90f2d5af361bf9..cf7b38f5ce87fd 100644 --- a/Mathlib/Analysis/Calculus/ContDiff/FaaDiBruno.lean +++ b/Mathlib/Analysis/Calculus/ContDiff/FaaDiBruno.lean @@ -5,9 +5,10 @@ Authors: Sébastien Gouëzel -/ module -import Mathlib.Analysis.Analytic.Within public import Mathlib.Analysis.Calculus.FDeriv.Analytic +import Mathlib.Analysis.Analytic.Within + /-! # Faa di Bruno formula diff --git a/Mathlib/Analysis/Calculus/ContDiff/Operations.lean b/Mathlib/Analysis/Calculus/ContDiff/Operations.lean index c089dec220b14d..894dfdd74d458d 100644 --- a/Mathlib/Analysis/Calculus/ContDiff/Operations.lean +++ b/Mathlib/Analysis/Calculus/ContDiff/Operations.lean @@ -8,6 +8,7 @@ module public import Mathlib.Analysis.Calculus.ContDiff.Comp public import Mathlib.Analysis.Calculus.Deriv.Inverse public import Mathlib.Topology.OpenPartialHomeomorph.IsImage + import Mathlib.Analysis.Calculus.FDeriv.OfCompLeft /-! diff --git a/Mathlib/Analysis/Calculus/ContDiff/RestrictScalars.lean b/Mathlib/Analysis/Calculus/ContDiff/RestrictScalars.lean index c7547960e9a75c..8b31b8a5ad8e3a 100644 --- a/Mathlib/Analysis/Calculus/ContDiff/RestrictScalars.lean +++ b/Mathlib/Analysis/Calculus/ContDiff/RestrictScalars.lean @@ -6,6 +6,7 @@ Authors: Stefan Kebekus module public import Mathlib.Analysis.Calculus.ContDiff.Defs + import Mathlib.Analysis.Calculus.FDeriv.RestrictScalars /-! diff --git a/Mathlib/Analysis/Calculus/DSlope.lean b/Mathlib/Analysis/Calculus/DSlope.lean index 5f7ddfc06f6cc3..5647828fec971c 100644 --- a/Mathlib/Analysis/Calculus/DSlope.lean +++ b/Mathlib/Analysis/Calculus/DSlope.lean @@ -6,6 +6,7 @@ Authors: Yury Kudryashov module public import Mathlib.Analysis.Calculus.Deriv.Slope + import Mathlib.Analysis.Calculus.Deriv.Comp import Mathlib.Analysis.Calculus.FDeriv.Mul diff --git a/Mathlib/Analysis/Calculus/Darboux.lean b/Mathlib/Analysis/Calculus/Darboux.lean index 8028ce86553b2a..0be4ea5a6b6c7a 100644 --- a/Mathlib/Analysis/Calculus/Darboux.lean +++ b/Mathlib/Analysis/Calculus/Darboux.lean @@ -5,9 +5,10 @@ Authors: Yury Kudryashov -/ module -import Mathlib.Analysis.Calculus.Deriv.Mul public import Mathlib.Analysis.Calculus.LocalExtr.Basic +import Mathlib.Analysis.Calculus.Deriv.Mul + /-! # Darboux's theorem diff --git a/Mathlib/Analysis/Calculus/Deriv/Abs.lean b/Mathlib/Analysis/Calculus/Deriv/Abs.lean index 3819a9c560fdc8..0e2da3ee6a389f 100644 --- a/Mathlib/Analysis/Calculus/Deriv/Abs.lean +++ b/Mathlib/Analysis/Calculus/Deriv/Abs.lean @@ -5,9 +5,10 @@ Authors: Etienne Marion -/ module -import Mathlib.Analysis.Calculus.Deriv.Add public import Mathlib.Analysis.InnerProductSpace.Calculus +import Mathlib.Analysis.Calculus.Deriv.Add + /-! # Derivative of the absolute value diff --git a/Mathlib/Analysis/Calculus/Deriv/AffineMap.lean b/Mathlib/Analysis/Calculus/Deriv/AffineMap.lean index 0951a590ebe229..c60cbfbff2c23e 100644 --- a/Mathlib/Analysis/Calculus/Deriv/AffineMap.lean +++ b/Mathlib/Analysis/Calculus/Deriv/AffineMap.lean @@ -5,8 +5,9 @@ Authors: Yury Kudryashov -/ module -import Mathlib.Analysis.Calculus.Deriv.Add public import Mathlib.Analysis.Calculus.Deriv.Linear + +import Mathlib.Analysis.Calculus.Deriv.Add /-! # Derivatives of affine maps diff --git a/Mathlib/Analysis/Calculus/Deriv/Basic.lean b/Mathlib/Analysis/Calculus/Deriv/Basic.lean index 791cdfe4aec85b..64a3edebd48743 100644 --- a/Mathlib/Analysis/Calculus/Deriv/Basic.lean +++ b/Mathlib/Analysis/Calculus/Deriv/Basic.lean @@ -8,6 +8,7 @@ module public import Mathlib.Analysis.Calculus.FDeriv.Const public import Mathlib.Analysis.Calculus.TangentCone.DimOne public import Mathlib.Analysis.Calculus.TangentCone.Real + import Mathlib.Analysis.Normed.Operator.Bilinear /-! diff --git a/Mathlib/Analysis/Calculus/Deriv/Comp.lean b/Mathlib/Analysis/Calculus/Deriv/Comp.lean index 05b2afeb2127ad..3d6cb1a2031a87 100644 --- a/Mathlib/Analysis/Calculus/Deriv/Comp.lean +++ b/Mathlib/Analysis/Calculus/Deriv/Comp.lean @@ -6,9 +6,10 @@ Authors: Gabriel Ebner, Sébastien Gouëzel, Yury Kudryashov, Yuyang Zhao module public import Mathlib.Analysis.Calculus.Deriv.Basic -import Mathlib.Analysis.Calculus.FDeriv.Comp public import Mathlib.Analysis.Calculus.FDeriv.RestrictScalars +import Mathlib.Analysis.Calculus.FDeriv.Comp + /-! # One-dimensional derivatives of compositions of functions diff --git a/Mathlib/Analysis/Calculus/Deriv/Inv.lean b/Mathlib/Analysis/Calculus/Deriv/Inv.lean index 7c4fd26de08337..cd1bbe7a664d50 100644 --- a/Mathlib/Analysis/Calculus/Deriv/Inv.lean +++ b/Mathlib/Analysis/Calculus/Deriv/Inv.lean @@ -5,9 +5,10 @@ Authors: Sébastien Gouëzel, Yury Kudryashov -/ module -import Mathlib.Analysis.Calculus.Deriv.Mul public import Mathlib.Analysis.Calculus.Deriv.Comp +import Mathlib.Analysis.Calculus.Deriv.Mul + /-! # Derivatives of `x ↦ x⁻¹` and `f x / g x` diff --git a/Mathlib/Analysis/Calculus/Deriv/Inverse.lean b/Mathlib/Analysis/Calculus/Deriv/Inverse.lean index 3bdfee68b5febf..43a1ba77102e7c 100644 --- a/Mathlib/Analysis/Calculus/Deriv/Inverse.lean +++ b/Mathlib/Analysis/Calculus/Deriv/Inverse.lean @@ -7,6 +7,7 @@ module public import Mathlib.Analysis.Calculus.Deriv.Comp public import Mathlib.Analysis.Calculus.FDeriv.Equiv + import Mathlib.Analysis.Calculus.FDeriv.OfCompLeft /-! diff --git a/Mathlib/Analysis/Calculus/Deriv/Linear.lean b/Mathlib/Analysis/Calculus/Deriv/Linear.lean index 93d4afd707a342..f89e13f919c592 100644 --- a/Mathlib/Analysis/Calculus/Deriv/Linear.lean +++ b/Mathlib/Analysis/Calculus/Deriv/Linear.lean @@ -6,6 +6,7 @@ Authors: Gabriel Ebner, Yury Kudryashov module public import Mathlib.Analysis.Calculus.Deriv.Basic + import Mathlib.Analysis.Calculus.FDeriv.Linear /-! diff --git a/Mathlib/Analysis/Calculus/Deriv/MeanValue.lean b/Mathlib/Analysis/Calculus/Deriv/MeanValue.lean index 16dd8e472533a8..b72f134c66e2fc 100644 --- a/Mathlib/Analysis/Calculus/Deriv/MeanValue.lean +++ b/Mathlib/Analysis/Calculus/Deriv/MeanValue.lean @@ -6,13 +6,14 @@ Authors: Yury Kudryashov, Sébastien Gouëzel module public import Mathlib.Analysis.Calculus.Deriv.AffineMap -import Mathlib.Analysis.Calculus.Deriv.Comp public import Mathlib.Analysis.Calculus.Deriv.Mul public import Mathlib.Analysis.Calculus.Deriv.Slope public import Mathlib.Analysis.Calculus.LocalExtr.Rolle public import Mathlib.Analysis.Normed.Group.AddTorsor public import Mathlib.Analysis.RCLike.Basic public import Mathlib.Topology.Algebra.Group.Order + +import Mathlib.Analysis.Calculus.Deriv.Comp /-! # Mean value theorem diff --git a/Mathlib/Analysis/Calculus/Deriv/Mul.lean b/Mathlib/Analysis/Calculus/Deriv/Mul.lean index eb81c7b2ff6319..1c054720552a18 100644 --- a/Mathlib/Analysis/Calculus/Deriv/Mul.lean +++ b/Mathlib/Analysis/Calculus/Deriv/Mul.lean @@ -7,6 +7,7 @@ module public import Mathlib.Analysis.Calculus.Deriv.Support public import Mathlib.Analysis.Calculus.FDeriv.Mul + import Mathlib.Analysis.Calculus.FDeriv.CompCLM /-! diff --git a/Mathlib/Analysis/Calculus/Deriv/Pi.lean b/Mathlib/Analysis/Calculus/Deriv/Pi.lean index 27212e330395d3..5b664be2283894 100644 --- a/Mathlib/Analysis/Calculus/Deriv/Pi.lean +++ b/Mathlib/Analysis/Calculus/Deriv/Pi.lean @@ -5,9 +5,10 @@ Authors: Floris van Doorn, Heather Macbeth -/ module -import Mathlib.Analysis.Calculus.FDeriv.Pi public import Mathlib.Analysis.Calculus.Deriv.Basic +import Mathlib.Analysis.Calculus.FDeriv.Pi + /-! # One-dimensional derivatives on pi-types. -/ diff --git a/Mathlib/Analysis/Calculus/Deriv/Polynomial.lean b/Mathlib/Analysis/Calculus/Deriv/Polynomial.lean index 1fbf1304812fc8..da06ad4e28f7aa 100644 --- a/Mathlib/Analysis/Calculus/Deriv/Polynomial.lean +++ b/Mathlib/Analysis/Calculus/Deriv/Polynomial.lean @@ -7,8 +7,9 @@ module public import Mathlib.Algebra.Polynomial.AlgebraMap public import Mathlib.Algebra.Polynomial.Derivative -import Mathlib.Analysis.Calculus.Deriv.Mul public import Mathlib.Analysis.Calculus.Deriv.Pow + +import Mathlib.Analysis.Calculus.Deriv.Mul import Mathlib.Analysis.Calculus.Deriv.Add /-! diff --git a/Mathlib/Analysis/Calculus/Deriv/Prod.lean b/Mathlib/Analysis/Calculus/Deriv/Prod.lean index a942387808a4a5..123f1c264670a5 100644 --- a/Mathlib/Analysis/Calculus/Deriv/Prod.lean +++ b/Mathlib/Analysis/Calculus/Deriv/Prod.lean @@ -6,6 +6,7 @@ Authors: Gabriel Ebner, Yury Kudryashov, Eric Wieser module public import Mathlib.Analysis.Calculus.Deriv.Basic + import Mathlib.Analysis.Calculus.FDeriv.Prod /-! diff --git a/Mathlib/Analysis/Calculus/Deriv/Shift.lean b/Mathlib/Analysis/Calculus/Deriv/Shift.lean index 23de7d10fec4f2..66102d9a65ef05 100644 --- a/Mathlib/Analysis/Calculus/Deriv/Shift.lean +++ b/Mathlib/Analysis/Calculus/Deriv/Shift.lean @@ -6,9 +6,10 @@ Authors: Michael Stoll, Yaël Dillies module public import Mathlib.Analysis.Calculus.Deriv.Add -import Mathlib.Analysis.Calculus.Deriv.Comp public import Mathlib.Analysis.Calculus.Deriv.CompMul +import Mathlib.Analysis.Calculus.Deriv.Comp + /-! # Invariance of the derivative under translation diff --git a/Mathlib/Analysis/Calculus/Deriv/ZPow.lean b/Mathlib/Analysis/Calculus/Deriv/ZPow.lean index 0a4e8abedc13fb..849774ef6cb67e 100644 --- a/Mathlib/Analysis/Calculus/Deriv/ZPow.lean +++ b/Mathlib/Analysis/Calculus/Deriv/ZPow.lean @@ -5,10 +5,11 @@ Authors: Sébastien Gouëzel, Yury Kudryashov -/ module -import Mathlib.Analysis.Calculus.Deriv.Pow public import Mathlib.Analysis.Calculus.Deriv.Inv public import Mathlib.Analysis.Calculus.Deriv.Shift +import Mathlib.Analysis.Calculus.Deriv.Pow + /-! # Derivatives of `x ^ m`, `m : ℤ` diff --git a/Mathlib/Analysis/Calculus/DerivativeTest.lean b/Mathlib/Analysis/Calculus/DerivativeTest.lean index 052602c9815bb4..6de420075d856a 100644 --- a/Mathlib/Analysis/Calculus/DerivativeTest.lean +++ b/Mathlib/Analysis/Calculus/DerivativeTest.lean @@ -7,6 +7,7 @@ Yongxi Lin, Louis (Yiyang) Liu module public import Mathlib.Analysis.Calculus.Deriv.MeanValue + import Mathlib.LinearAlgebra.AffineSpace.Ordered /-! diff --git a/Mathlib/Analysis/Calculus/DifferentialForm/Basic.lean b/Mathlib/Analysis/Calculus/DifferentialForm/Basic.lean index a40d757f6d8312..b23b95c6fe8935 100644 --- a/Mathlib/Analysis/Calculus/DifferentialForm/Basic.lean +++ b/Mathlib/Analysis/Calculus/DifferentialForm/Basic.lean @@ -7,6 +7,7 @@ module public import Mathlib.Analysis.Normed.Module.Alternating.Uncurry.Fin public import Mathlib.Analysis.Calculus.FDeriv.Symmetric + import Mathlib.Analysis.Calculus.FDeriv.ContinuousAlternatingMap /-! diff --git a/Mathlib/Analysis/Calculus/DifferentialForm/VectorField.lean b/Mathlib/Analysis/Calculus/DifferentialForm/VectorField.lean index 818387da655610..dcfbafe829b834 100644 --- a/Mathlib/Analysis/Calculus/DifferentialForm/VectorField.lean +++ b/Mathlib/Analysis/Calculus/DifferentialForm/VectorField.lean @@ -6,9 +6,10 @@ Authors: Yury G. Kudryashov module public import Mathlib.Analysis.Calculus.DifferentialForm.Basic -import Mathlib.Analysis.Calculus.FDeriv.ContinuousAlternatingMap public import Mathlib.Analysis.Calculus.VectorField +import Mathlib.Analysis.Calculus.FDeriv.ContinuousAlternatingMap + /-! # Evaluation of the derivative of differential forms on vector fields diff --git a/Mathlib/Analysis/Calculus/FDeriv/Affine.lean b/Mathlib/Analysis/Calculus/FDeriv/Affine.lean index b7a153c9ee13cf..a90cea26eef488 100644 --- a/Mathlib/Analysis/Calculus/FDeriv/Affine.lean +++ b/Mathlib/Analysis/Calculus/FDeriv/Affine.lean @@ -7,9 +7,10 @@ module public import Mathlib.Analysis.Normed.Group.AddTorsor public import Mathlib.Topology.Algebra.ContinuousAffineMap -import Mathlib.Algebra.Order.Field.Power public import Mathlib.Analysis.Calculus.FDeriv.Basic +import Mathlib.Algebra.Order.Field.Power + /-! # The derivative of continuous affine maps diff --git a/Mathlib/Analysis/Calculus/FDeriv/Analytic.lean b/Mathlib/Analysis/Calculus/FDeriv/Analytic.lean index 44ee525bbc0f19..4c2e7698d83e4d 100644 --- a/Mathlib/Analysis/Calculus/FDeriv/Analytic.lean +++ b/Mathlib/Analysis/Calculus/FDeriv/Analytic.lean @@ -7,13 +7,14 @@ module public import Mathlib.Analysis.Analytic.CPolynomial public import Mathlib.Analysis.Analytic.Inverse -import Mathlib.Analysis.Analytic.Within public import Mathlib.Analysis.Calculus.Deriv.Basic public import Mathlib.Analysis.Calculus.ContDiff.FTaylorSeries public import Mathlib.Analysis.Calculus.FDeriv.Add public import Mathlib.Analysis.Calculus.FDeriv.Prod public import Mathlib.Analysis.Normed.Module.Completion +import Mathlib.Analysis.Analytic.Within + /-! # Fréchet derivatives of analytic functions. diff --git a/Mathlib/Analysis/Calculus/FDeriv/Basic.lean b/Mathlib/Analysis/Calculus/FDeriv/Basic.lean index 12ef16d4a4c2af..dbfb3b7c393706 100644 --- a/Mathlib/Analysis/Calculus/FDeriv/Basic.lean +++ b/Mathlib/Analysis/Calculus/FDeriv/Basic.lean @@ -9,6 +9,7 @@ public import Mathlib.Analysis.Asymptotics.AsymptoticEquivalent public import Mathlib.Analysis.Calculus.FDeriv.Defs public import Mathlib.Analysis.Normed.Operator.Asymptotics public import Mathlib.Analysis.Calculus.TangentCone.Basic + import Mathlib.Analysis.Asymptotics.Lemmas import Mathlib.Analysis.Calculus.TangentCone.DimOne diff --git a/Mathlib/Analysis/Calculus/FDeriv/ContinuousMultilinearMap.lean b/Mathlib/Analysis/Calculus/FDeriv/ContinuousMultilinearMap.lean index b0c9cbd64f7bdd..8bd344e9dc2cf2 100644 --- a/Mathlib/Analysis/Calculus/FDeriv/ContinuousMultilinearMap.lean +++ b/Mathlib/Analysis/Calculus/FDeriv/ContinuousMultilinearMap.lean @@ -6,6 +6,7 @@ Authors: Yury Kudryashov module public import Mathlib.Analysis.Calculus.FDeriv.Analytic + import Mathlib.Analysis.Calculus.FDeriv.CompCLM /-! diff --git a/Mathlib/Analysis/Calculus/FDeriv/Equiv.lean b/Mathlib/Analysis/Calculus/FDeriv/Equiv.lean index f06c4ef4edd1d2..58cbacc46f9871 100644 --- a/Mathlib/Analysis/Calculus/FDeriv/Equiv.lean +++ b/Mathlib/Analysis/Calculus/FDeriv/Equiv.lean @@ -5,9 +5,10 @@ Authors: Jeremy Avigad, Sébastien Gouëzel, Yury Kudryashov -/ module -import Mathlib.Analysis.Calculus.FDeriv.Add public import Mathlib.Analysis.Calculus.FDeriv.Linear +import Mathlib.Analysis.Calculus.FDeriv.Add + /-! # The derivative of a linear equivalence diff --git a/Mathlib/Analysis/Calculus/FDeriv/Mul.lean b/Mathlib/Analysis/Calculus/FDeriv/Mul.lean index 77475ec1378354..08c4f1637f4bdd 100644 --- a/Mathlib/Analysis/Calculus/FDeriv/Mul.lean +++ b/Mathlib/Analysis/Calculus/FDeriv/Mul.lean @@ -5,8 +5,9 @@ Authors: Jeremy Avigad, Sébastien Gouëzel, Yury Kudryashov -/ module -import Mathlib.Analysis.Analytic.Constructions public import Mathlib.Analysis.Calculus.FDeriv.Analytic + +import Mathlib.Analysis.Analytic.Constructions import Mathlib.Analysis.Calculus.FDeriv.Bilinear /-! diff --git a/Mathlib/Analysis/Calculus/FDeriv/Norm.lean b/Mathlib/Analysis/Calculus/FDeriv/Norm.lean index d0a2fb7ede3950..870a40d3af79b6 100644 --- a/Mathlib/Analysis/Calculus/FDeriv/Norm.lean +++ b/Mathlib/Analysis/Calculus/FDeriv/Norm.lean @@ -6,6 +6,7 @@ Authors: Etienne Marion module public import Mathlib.Analysis.Calculus.Deriv.Abs + import Mathlib.Analysis.Calculus.LineDeriv.Basic /-! diff --git a/Mathlib/Analysis/Calculus/FDeriv/OfCompLeft.lean b/Mathlib/Analysis/Calculus/FDeriv/OfCompLeft.lean index 40073ef9a332f9..4019d5a038ad18 100644 --- a/Mathlib/Analysis/Calculus/FDeriv/OfCompLeft.lean +++ b/Mathlib/Analysis/Calculus/FDeriv/OfCompLeft.lean @@ -7,6 +7,7 @@ module public import Mathlib.Analysis.Calculus.FDeriv.Basic public import Mathlib.Topology.OpenPartialHomeomorph.Defs + import Mathlib.Topology.OpenPartialHomeomorph.Continuity /-! diff --git a/Mathlib/Analysis/Calculus/FDeriv/Pi.lean b/Mathlib/Analysis/Calculus/FDeriv/Pi.lean index 05ca2a4bc1fe31..947d18b7ce1dc2 100644 --- a/Mathlib/Analysis/Calculus/FDeriv/Pi.lean +++ b/Mathlib/Analysis/Calculus/FDeriv/Pi.lean @@ -6,6 +6,7 @@ Authors: Floris van Doorn, Heather Macbeth module public import Mathlib.Analysis.Calculus.FDeriv.Prod + import Mathlib.Analysis.Calculus.FDeriv.Const /-! diff --git a/Mathlib/Analysis/Calculus/FDeriv/Prod.lean b/Mathlib/Analysis/Calculus/FDeriv/Prod.lean index d403d354620d71..0fe000bcf0894e 100644 --- a/Mathlib/Analysis/Calculus/FDeriv/Prod.lean +++ b/Mathlib/Analysis/Calculus/FDeriv/Prod.lean @@ -6,10 +6,11 @@ Authors: Jeremy Avigad, Sébastien Gouëzel, Yury Kudryashov, Eric Wieser module public import Mathlib.Analysis.Calculus.FDeriv.Comp -import Mathlib.Analysis.Calculus.FDeriv.Const public import Mathlib.Analysis.Calculus.FDeriv.Linear public import Mathlib.Topology.Algebra.Module.Equiv.Pi +import Mathlib.Analysis.Calculus.FDeriv.Const + /-! # Derivative of the Cartesian product of functions diff --git a/Mathlib/Analysis/Calculus/FDeriv/Star.lean b/Mathlib/Analysis/Calculus/FDeriv/Star.lean index 7233637f7a4123..fc4c0eea916f6e 100644 --- a/Mathlib/Analysis/Calculus/FDeriv/Star.lean +++ b/Mathlib/Analysis/Calculus/FDeriv/Star.lean @@ -5,10 +5,11 @@ Authors: Eric Wieser -/ module -import Mathlib.Analysis.Calculus.FDeriv.Comp public import Mathlib.Analysis.Calculus.FDeriv.Equiv public import Mathlib.Analysis.CStarAlgebra.Basic +import Mathlib.Analysis.Calculus.FDeriv.Comp + /-! # Star operations on derivatives diff --git a/Mathlib/Analysis/Calculus/FDeriv/Symmetric.lean b/Mathlib/Analysis/Calculus/FDeriv/Symmetric.lean index 3fcc707af4b367..f3da0a804eb29c 100644 --- a/Mathlib/Analysis/Calculus/FDeriv/Symmetric.lean +++ b/Mathlib/Analysis/Calculus/FDeriv/Symmetric.lean @@ -6,9 +6,10 @@ Authors: Sébastien Gouëzel module public import Mathlib.Analysis.Analytic.IteratedFDeriv -import Mathlib.Analysis.Calculus.Deriv.Pow public import Mathlib.Analysis.Calculus.MeanValue +import Mathlib.Analysis.Calculus.Deriv.Pow + /-! # Symmetry of the second derivative diff --git a/Mathlib/Analysis/Calculus/FDeriv/WithLp.lean b/Mathlib/Analysis/Calculus/FDeriv/WithLp.lean index 5574f57921621a..b21c5fd694a5b9 100644 --- a/Mathlib/Analysis/Calculus/FDeriv/WithLp.lean +++ b/Mathlib/Analysis/Calculus/FDeriv/WithLp.lean @@ -5,10 +5,11 @@ Authors: Anatole Dedecker, Eric Wieser -/ module -import Mathlib.Analysis.Calculus.FDeriv.Prod public import Mathlib.Analysis.Calculus.FDeriv.Equiv public import Mathlib.Analysis.Normed.Lp.PiLp +import Mathlib.Analysis.Calculus.FDeriv.Prod + /-! # Derivatives on `WithLp` -/ diff --git a/Mathlib/Analysis/Calculus/Implicit.lean b/Mathlib/Analysis/Calculus/Implicit.lean index 82054e9278fdc3..ed045f81b4cf12 100644 --- a/Mathlib/Analysis/Calculus/Implicit.lean +++ b/Mathlib/Analysis/Calculus/Implicit.lean @@ -6,11 +6,12 @@ Authors: Yury Kudryashov module public import Mathlib.Analysis.Calculus.InverseFunctionTheorem.FDeriv -import Mathlib.Analysis.Calculus.FDeriv.Add public import Mathlib.Analysis.Calculus.FDeriv.Prod public import Mathlib.Analysis.Normed.Module.Complemented public import Mathlib.Topology.Algebra.Module.FiniteDimension +import Mathlib.Analysis.Calculus.FDeriv.Add + /-! # Implicit function theorem diff --git a/Mathlib/Analysis/Calculus/InverseFunctionTheorem/FDeriv.lean b/Mathlib/Analysis/Calculus/InverseFunctionTheorem/FDeriv.lean index 0d1e981110e945..9c0ad06b191701 100644 --- a/Mathlib/Analysis/Calculus/InverseFunctionTheorem/FDeriv.lean +++ b/Mathlib/Analysis/Calculus/InverseFunctionTheorem/FDeriv.lean @@ -6,9 +6,10 @@ Authors: Yury Kudryashov, Sébastien Gouëzel module public import Mathlib.Analysis.Calculus.InverseFunctionTheorem.ApproximatesLinearOn +public import Mathlib.Analysis.Calculus.FDeriv.Congr + import Mathlib.Analysis.Calculus.FDeriv.OfCompLeft import Mathlib.Algebra.Order.Field.Power -public import Mathlib.Analysis.Calculus.FDeriv.Congr import Mathlib.Topology.OpenPartialHomeomorph.Continuity /-! diff --git a/Mathlib/Analysis/Calculus/IteratedDeriv/Analytic.lean b/Mathlib/Analysis/Calculus/IteratedDeriv/Analytic.lean index 967efd1a6af7c0..d3e563a30d2412 100644 --- a/Mathlib/Analysis/Calculus/IteratedDeriv/Analytic.lean +++ b/Mathlib/Analysis/Calculus/IteratedDeriv/Analytic.lean @@ -5,10 +5,11 @@ Authors: Michail Karatarakis -/ module +public import Mathlib.Analysis.Calculus.IteratedDeriv.Defs + import Mathlib.Analysis.Calculus.Deriv.Pow import Mathlib.Analysis.Calculus.Deriv.Add import Mathlib.Analysis.Calculus.Deriv.Mul -public import Mathlib.Analysis.Calculus.IteratedDeriv.Defs /-! # Iterated derivatives of analytic functions with power factors diff --git a/Mathlib/Analysis/Calculus/IteratedDeriv/ConvergenceOnBall.lean b/Mathlib/Analysis/Calculus/IteratedDeriv/ConvergenceOnBall.lean index 98166eafb91347..8adc23e838848d 100644 --- a/Mathlib/Analysis/Calculus/IteratedDeriv/ConvergenceOnBall.lean +++ b/Mathlib/Analysis/Calculus/IteratedDeriv/ConvergenceOnBall.lean @@ -5,11 +5,12 @@ Authors: Vasilii Nesterov -/ module -import Mathlib.Analysis.Analytic.Uniqueness public import Mathlib.Analysis.Calculus.IteratedDeriv.Defs public import Mathlib.Analysis.Normed.Module.Connected public import Mathlib.Analysis.RCLike.Basic +import Mathlib.Analysis.Analytic.Uniqueness + /-! # Taylor series converges to function on whole ball diff --git a/Mathlib/Analysis/Calculus/IteratedDeriv/WithinZpow.lean b/Mathlib/Analysis/Calculus/IteratedDeriv/WithinZpow.lean index 20548fde3c5805..c745f66620c585 100644 --- a/Mathlib/Analysis/Calculus/IteratedDeriv/WithinZpow.lean +++ b/Mathlib/Analysis/Calculus/IteratedDeriv/WithinZpow.lean @@ -6,6 +6,7 @@ Authors: Chris Birkbeck module public import Mathlib.Analysis.Calculus.IteratedDeriv.Defs + import Mathlib.Analysis.Calculus.Deriv.ZPow /-! diff --git a/Mathlib/Analysis/Calculus/LHopital.lean b/Mathlib/Analysis/Calculus/LHopital.lean index cf03edd5a3d003..071fb08ac1294f 100644 --- a/Mathlib/Analysis/Calculus/LHopital.lean +++ b/Mathlib/Analysis/Calculus/LHopital.lean @@ -5,9 +5,10 @@ Authors: Anatole Dedecker -/ module -import Mathlib.Analysis.Calculus.Deriv.Inv public import Mathlib.Analysis.Calculus.Deriv.MeanValue +import Mathlib.Analysis.Calculus.Deriv.Inv + /-! # L'Hôpital's rule for 0/0 indeterminate forms diff --git a/Mathlib/Analysis/Calculus/LagrangeMultipliers.lean b/Mathlib/Analysis/Calculus/LagrangeMultipliers.lean index fb149b1d2fc88f..efdc6883098e9c 100644 --- a/Mathlib/Analysis/Calculus/LagrangeMultipliers.lean +++ b/Mathlib/Analysis/Calculus/LagrangeMultipliers.lean @@ -5,9 +5,10 @@ Authors: Yury Kudryashov -/ module -import Mathlib.Analysis.Calculus.FDeriv.Prod public import Mathlib.Analysis.Calculus.InverseFunctionTheorem.FDeriv +import Mathlib.Analysis.Calculus.FDeriv.Prod + /-! # Lagrange multipliers diff --git a/Mathlib/Analysis/Calculus/LineDeriv/Basic.lean b/Mathlib/Analysis/Calculus/LineDeriv/Basic.lean index 275bb7c67fd1db..88ea055936bb79 100644 --- a/Mathlib/Analysis/Calculus/LineDeriv/Basic.lean +++ b/Mathlib/Analysis/Calculus/LineDeriv/Basic.lean @@ -5,11 +5,12 @@ Authors: Sébastien Gouëzel -/ module -import Mathlib.Analysis.Calculus.Deriv.Comp public import Mathlib.Analysis.Calculus.Deriv.Mul -import Mathlib.Analysis.Calculus.Deriv.Pow public import Mathlib.Analysis.Calculus.Deriv.Slope +import Mathlib.Analysis.Calculus.Deriv.Comp +import Mathlib.Analysis.Calculus.Deriv.Pow + /-! # Line derivatives diff --git a/Mathlib/Analysis/Calculus/LocalExtr/LineDeriv.lean b/Mathlib/Analysis/Calculus/LocalExtr/LineDeriv.lean index f1ec03ecfab937..53274510e7461a 100644 --- a/Mathlib/Analysis/Calculus/LocalExtr/LineDeriv.lean +++ b/Mathlib/Analysis/Calculus/LocalExtr/LineDeriv.lean @@ -5,9 +5,10 @@ Authors: Yury Kudryashov -/ module -import Mathlib.Analysis.Calculus.LocalExtr.Basic public import Mathlib.Analysis.Calculus.LineDeriv.Basic +import Mathlib.Analysis.Calculus.LocalExtr.Basic + /-! # Local extremum and line derivatives diff --git a/Mathlib/Analysis/Calculus/LocalExtr/Polynomial.lean b/Mathlib/Analysis/Calculus/LocalExtr/Polynomial.lean index cfd90c9ac7f1e8..63e1bbb0e626c7 100644 --- a/Mathlib/Analysis/Calculus/LocalExtr/Polynomial.lean +++ b/Mathlib/Analysis/Calculus/LocalExtr/Polynomial.lean @@ -5,9 +5,10 @@ Authors: Benjamin Davidson, Yury Kudryashov -/ module +public import Mathlib.Topology.Algebra.Polynomial + import Mathlib.Analysis.Calculus.LocalExtr.Rolle import Mathlib.Analysis.Calculus.Deriv.Polynomial -public import Mathlib.Topology.Algebra.Polynomial /-! # Rolle's Theorem for polynomials diff --git a/Mathlib/Analysis/Calculus/MeanValue.lean b/Mathlib/Analysis/Calculus/MeanValue.lean index 9372989da946b9..7004c9f6d2bf12 100644 --- a/Mathlib/Analysis/Calculus/MeanValue.lean +++ b/Mathlib/Analysis/Calculus/MeanValue.lean @@ -5,8 +5,6 @@ Authors: Sébastien Gouëzel, Yury Kudryashov -/ module -import Mathlib.Analysis.Calculus.Deriv.AffineMap -import Mathlib.Analysis.Calculus.Deriv.Comp public import Mathlib.Analysis.Calculus.Deriv.Mul public import Mathlib.Analysis.Calculus.Deriv.Slope public import Mathlib.Analysis.Normed.Group.AddTorsor @@ -14,6 +12,9 @@ public import Mathlib.Analysis.RCLike.Basic public import Mathlib.Topology.Instances.RealVectorSpace public import Mathlib.Topology.LocallyConstant.Basic +import Mathlib.Analysis.Calculus.Deriv.AffineMap +import Mathlib.Analysis.Calculus.Deriv.Comp + /-! # The mean value inequality and equalities diff --git a/Mathlib/Analysis/Calculus/Monotone.lean b/Mathlib/Analysis/Calculus/Monotone.lean index f494104ee3e0ec..417413348e1c1e 100644 --- a/Mathlib/Analysis/Calculus/Monotone.lean +++ b/Mathlib/Analysis/Calculus/Monotone.lean @@ -7,6 +7,7 @@ module public import Mathlib.Analysis.Calculus.Deriv.Slope public import Mathlib.MeasureTheory.Covering.OneDim + import Mathlib.Order.Monotone.Extension /-! diff --git a/Mathlib/Analysis/Calculus/Rademacher.lean b/Mathlib/Analysis/Calculus/Rademacher.lean index 9cbb909e17dbee..a1bda8766a3f3f 100644 --- a/Mathlib/Analysis/Calculus/Rademacher.lean +++ b/Mathlib/Analysis/Calculus/Rademacher.lean @@ -6,10 +6,11 @@ Authors: Sébastien Gouëzel module public import Mathlib.Analysis.Calculus.LineDeriv.Measurable +public import Mathlib.MeasureTheory.Measure.Haar.Disintegration + import Mathlib.MeasureTheory.Measure.Lebesgue.EqHaar import Mathlib.Analysis.BoundedVariation import Mathlib.Analysis.Distribution.AEEqOfIntegralContDiff -public import Mathlib.MeasureTheory.Measure.Haar.Disintegration /-! # Rademacher's theorem: a Lipschitz function is differentiable almost everywhere diff --git a/Mathlib/Analysis/Calculus/SmoothSeries.lean b/Mathlib/Analysis/Calculus/SmoothSeries.lean index b169e34edc4903..b93d83a2e88250 100644 --- a/Mathlib/Analysis/Calculus/SmoothSeries.lean +++ b/Mathlib/Analysis/Calculus/SmoothSeries.lean @@ -7,6 +7,7 @@ module public import Mathlib.Analysis.Calculus.ContDiff.Operations public import Mathlib.Analysis.Calculus.UniformLimitsDeriv + import Mathlib.Analysis.Normed.Group.FunctionSeries /-! diff --git a/Mathlib/Analysis/Calculus/TangentCone/Basic.lean b/Mathlib/Analysis/Calculus/TangentCone/Basic.lean index 3d657cf2dbbd62..64497b3bf459de 100644 --- a/Mathlib/Analysis/Calculus/TangentCone/Basic.lean +++ b/Mathlib/Analysis/Calculus/TangentCone/Basic.lean @@ -7,6 +7,7 @@ module public import Mathlib.Analysis.Calculus.TangentCone.Defs public import Mathlib.Topology.Algebra.Group.Basic + import Mathlib.LinearAlgebra.Span.Basic /-! diff --git a/Mathlib/Analysis/Calculus/TangentCone/DimOne.lean b/Mathlib/Analysis/Calculus/TangentCone/DimOne.lean index 7a44d5aecd97e3..d1453100a851de 100644 --- a/Mathlib/Analysis/Calculus/TangentCone/DimOne.lean +++ b/Mathlib/Analysis/Calculus/TangentCone/DimOne.lean @@ -6,9 +6,10 @@ Authors: Sébastien Gouëzel, Yury Kudryashov module public import Mathlib.Analysis.Calculus.TangentCone.Defs +public import Mathlib.Analysis.Normed.Field.Basic + import Mathlib.Analysis.Calculus.TangentCone.Basic import Mathlib.Analysis.Normed.Group.Uniform -public import Mathlib.Analysis.Normed.Field.Basic /-! # Unique differentiability property of a set in the base field diff --git a/Mathlib/Analysis/Calculus/TangentCone/Pi.lean b/Mathlib/Analysis/Calculus/TangentCone/Pi.lean index 7c4708508f2b66..14b67fd852ebfb 100644 --- a/Mathlib/Analysis/Calculus/TangentCone/Pi.lean +++ b/Mathlib/Analysis/Calculus/TangentCone/Pi.lean @@ -6,6 +6,7 @@ Authors: Sébastien Gouëzel module public import Mathlib.Analysis.Calculus.TangentCone.Basic + import Mathlib.Topology.Algebra.Module.Basic /-! diff --git a/Mathlib/Analysis/Calculus/TangentCone/Prod.lean b/Mathlib/Analysis/Calculus/TangentCone/Prod.lean index af8adc824c2483..dea7b965801d8e 100644 --- a/Mathlib/Analysis/Calculus/TangentCone/Prod.lean +++ b/Mathlib/Analysis/Calculus/TangentCone/Prod.lean @@ -8,6 +8,7 @@ module public import Mathlib.Analysis.Calculus.TangentCone.Defs public import Mathlib.LinearAlgebra.Prod public import Mathlib.Topology.Algebra.Monoid + import Mathlib.Analysis.Calculus.TangentCone.Basic /-! diff --git a/Mathlib/Analysis/Calculus/TangentCone/Real.lean b/Mathlib/Analysis/Calculus/TangentCone/Real.lean index 8a228b5c5199a0..4bbe9f914c84b9 100644 --- a/Mathlib/Analysis/Calculus/TangentCone/Real.lean +++ b/Mathlib/Analysis/Calculus/TangentCone/Real.lean @@ -7,6 +7,7 @@ module public import Mathlib.Analysis.Calculus.TangentCone.Basic public import Mathlib.Analysis.Convex.Topology + import Mathlib.Analysis.Normed.Field.Basic /-! diff --git a/Mathlib/Analysis/Calculus/TangentCone/Seq.lean b/Mathlib/Analysis/Calculus/TangentCone/Seq.lean index b204534ef5c97c..45940b93d696d5 100644 --- a/Mathlib/Analysis/Calculus/TangentCone/Seq.lean +++ b/Mathlib/Analysis/Calculus/TangentCone/Seq.lean @@ -7,6 +7,7 @@ module public import Mathlib.Analysis.Calculus.TangentCone.Basic public import Mathlib.Analysis.Normed.Module.Basic + import Mathlib.Analysis.SpecificLimits.Normed /-! diff --git a/Mathlib/Analysis/Calculus/Taylor.lean b/Mathlib/Analysis/Calculus/Taylor.lean index 1ea479c5a2c5c1..6dc2184a722a20 100644 --- a/Mathlib/Analysis/Calculus/Taylor.lean +++ b/Mathlib/Analysis/Calculus/Taylor.lean @@ -6,11 +6,12 @@ Authors: Moritz Doll module public import Mathlib.Algebra.Polynomial.Module.Basic +public import Mathlib.Analysis.Calculus.IteratedDeriv.Defs +public import Mathlib.MeasureTheory.Integral.IntervalIntegral.AbsolutelyContinuousFun + import Mathlib.Analysis.Calculus.ContDiff.Operations import Mathlib.Analysis.Calculus.Deriv.MeanValue import Mathlib.Analysis.Calculus.Deriv.Pow -public import Mathlib.Analysis.Calculus.IteratedDeriv.Defs -public import Mathlib.MeasureTheory.Integral.IntervalIntegral.AbsolutelyContinuousFun import Mathlib.MeasureTheory.Integral.IntervalIntegral.IntegrationByParts /-! diff --git a/Mathlib/Analysis/Calculus/TaylorIntegral.lean b/Mathlib/Analysis/Calculus/TaylorIntegral.lean index 4f56550d0d5792..2c875af496d72c 100644 --- a/Mathlib/Analysis/Calculus/TaylorIntegral.lean +++ b/Mathlib/Analysis/Calculus/TaylorIntegral.lean @@ -6,9 +6,10 @@ Authors: Moritz Doll module public import Mathlib.MeasureTheory.Integral.IntervalIntegral.IntegrationByParts -import Mathlib.Analysis.Calculus.Deriv.Pow public import Mathlib.Analysis.Calculus.ContDiff.Comp +import Mathlib.Analysis.Calculus.Deriv.Pow + /-! # Taylor's formula with an integral remainder in higher dimensions diff --git a/Mathlib/Analysis/Calculus/UniformLimitsDeriv.lean b/Mathlib/Analysis/Calculus/UniformLimitsDeriv.lean index 3d3f022a3a9491..1875954cf91b48 100644 --- a/Mathlib/Analysis/Calculus/UniformLimitsDeriv.lean +++ b/Mathlib/Analysis/Calculus/UniformLimitsDeriv.lean @@ -6,6 +6,7 @@ Authors: Kevin H. Wilson module public import Mathlib.Analysis.Calculus.MeanValue + import Mathlib.Analysis.Normed.Module.RCLike.Basic /-! diff --git a/Mathlib/Analysis/Complex/AbelLimit.lean b/Mathlib/Analysis/Complex/AbelLimit.lean index f05293064bb6fb..09a73bab4129e5 100644 --- a/Mathlib/Analysis/Complex/AbelLimit.lean +++ b/Mathlib/Analysis/Complex/AbelLimit.lean @@ -6,6 +6,7 @@ Authors: Jeremy Tan module public import Mathlib.Analysis.Complex.Basic + import Mathlib.Analysis.SpecificLimits.Normed import Mathlib.Tactic.Peel import Mathlib.Tactic.Positivity diff --git a/Mathlib/Analysis/Complex/AbsMax.lean b/Mathlib/Analysis/Complex/AbsMax.lean index 9e8906b8a38e97..406611eb2da897 100644 --- a/Mathlib/Analysis/Complex/AbsMax.lean +++ b/Mathlib/Analysis/Complex/AbsMax.lean @@ -9,6 +9,7 @@ public import Mathlib.Analysis.Complex.CauchyIntegral public import Mathlib.Analysis.InnerProductSpace.Convex public import Mathlib.Analysis.Normed.Affine.AddTorsor public import Mathlib.Analysis.Normed.Module.Extr + import Mathlib.LinearAlgebra.Complex.FiniteDimensional import Mathlib.Topology.Order.ExtrClosure diff --git a/Mathlib/Analysis/Complex/BranchLogRoot.lean b/Mathlib/Analysis/Complex/BranchLogRoot.lean index 3a96b40aa81bf7..98ddbbe4eb6293 100644 --- a/Mathlib/Analysis/Complex/BranchLogRoot.lean +++ b/Mathlib/Analysis/Complex/BranchLogRoot.lean @@ -8,6 +8,7 @@ module public import Mathlib.Topology.Connected.LocallyPathConnected public import Mathlib.AlgebraicTopology.FundamentalGroupoid.SimplyConnected public import Mathlib.Analysis.Complex.UnitDisc.Basic + import Mathlib.Analysis.Complex.CoveringMap import Mathlib.Topology.Homotopy.Lifting diff --git a/Mathlib/Analysis/Complex/CanonicalDecomposition.lean b/Mathlib/Analysis/Complex/CanonicalDecomposition.lean index 404f5b06e1a1f2..bd039a04dca41e 100644 --- a/Mathlib/Analysis/Complex/CanonicalDecomposition.lean +++ b/Mathlib/Analysis/Complex/CanonicalDecomposition.lean @@ -6,6 +6,7 @@ Authors: Stefan Kebekus module public import Mathlib.Analysis.Meromorphic.FactorizedRational + import Mathlib.Analysis.Meromorphic.RCLike import Mathlib.Analysis.Normed.Module.Connected diff --git a/Mathlib/Analysis/Complex/CauchyIntegral.lean b/Mathlib/Analysis/Complex/CauchyIntegral.lean index f2bf15165e92bc..ca90602d22f075 100644 --- a/Mathlib/Analysis/Complex/CauchyIntegral.lean +++ b/Mathlib/Analysis/Complex/CauchyIntegral.lean @@ -8,11 +8,12 @@ module public import Mathlib.Analysis.Calculus.DiffContOnCl public import Mathlib.Analysis.Calculus.ParametricIntervalIntegral public import Mathlib.Analysis.Complex.ReImTopology -import Mathlib.Analysis.Real.Cardinality public import Mathlib.MeasureTheory.Integral.CircleIntegral public import Mathlib.MeasureTheory.Integral.DivergenceTheorem public import Mathlib.MeasureTheory.Measure.Lebesgue.Complex +import Mathlib.Analysis.Real.Cardinality + /-! # Cauchy integral formula diff --git a/Mathlib/Analysis/Complex/Conformal.lean b/Mathlib/Analysis/Complex/Conformal.lean index b6e0954a0d705c..bdd654536bb310 100644 --- a/Mathlib/Analysis/Complex/Conformal.lean +++ b/Mathlib/Analysis/Complex/Conformal.lean @@ -7,11 +7,12 @@ module public import Mathlib.Analysis.Calculus.Conformal.NormedSpace public import Mathlib.Analysis.Calculus.Deriv.Basic +public import Mathlib.Analysis.Complex.Isometry +public import Mathlib.LinearAlgebra.Complex.FiniteDimensional + import Mathlib.Analysis.Calculus.FDeriv.Equiv import Mathlib.Analysis.Calculus.FDeriv.RestrictScalars -public import Mathlib.Analysis.Complex.Isometry import Mathlib.Analysis.Normed.Module.FiniteDimension -public import Mathlib.LinearAlgebra.Complex.FiniteDimensional /-! # Conformal maps between complex vector spaces diff --git a/Mathlib/Analysis/Complex/CoveringMap.lean b/Mathlib/Analysis/Complex/CoveringMap.lean index 925adcbfe7a3f6..33bcc1ff457a88 100644 --- a/Mathlib/Analysis/Complex/CoveringMap.lean +++ b/Mathlib/Analysis/Complex/CoveringMap.lean @@ -5,13 +5,14 @@ Authors: Junyan Xu -/ module -import Mathlib.Analysis.Calculus.Deriv.Polynomial public import Mathlib.Analysis.SpecialFunctions.Complex.LogDeriv public import Mathlib.Analysis.SpecialFunctions.Pow.Complex -import Mathlib.RingTheory.RootsOfUnity.Basic -import Mathlib.Topology.Algebra.Group.Units public import Mathlib.Topology.Algebra.Polynomial public import Mathlib.Topology.Covering.Quotient + +import Mathlib.Analysis.Calculus.Deriv.Polynomial +import Mathlib.RingTheory.RootsOfUnity.Basic +import Mathlib.Topology.Algebra.Group.Units import Mathlib.Topology.GDelta.MetrizableSpace import Mathlib.Topology.LocalAtTarget diff --git a/Mathlib/Analysis/Complex/Exponential.lean b/Mathlib/Analysis/Complex/Exponential.lean index 381b6bc8f96c06..3a772ecf1e240f 100644 --- a/Mathlib/Analysis/Complex/Exponential.lean +++ b/Mathlib/Analysis/Complex/Exponential.lean @@ -5,15 +5,16 @@ Authors: Chris Hughes, Abhimanyu Pallavi Sudhir -/ module -import Mathlib.Algebra.CharP.Defs public import Mathlib.Algebra.Order.CauSeq.BigOperators public import Mathlib.Algebra.Order.Star.Basic public import Mathlib.Analysis.Complex.Norm -import Mathlib.Basic.Complex.BigOperators -import Mathlib.Data.Nat.Choose.Sum public import Mathlib.Tactic.NormNum.BigOperators public import Mathlib.Tactic.NormNum.NatFactorial +import Mathlib.Algebra.CharP.Defs +import Mathlib.Basic.Complex.BigOperators +import Mathlib.Data.Nat.Choose.Sum + /-! # Exponential Function diff --git a/Mathlib/Analysis/Complex/ExponentialBounds.lean b/Mathlib/Analysis/Complex/ExponentialBounds.lean index f60b8e623205f0..bbc13e49781e7f 100644 --- a/Mathlib/Analysis/Complex/ExponentialBounds.lean +++ b/Mathlib/Analysis/Complex/ExponentialBounds.lean @@ -6,6 +6,7 @@ Authors: Mario Carneiro, Joseph Myers module public import Mathlib.Analysis.SpecialFunctions.Log.Deriv + import Mathlib.Analysis.SpecialFunctions.Pow.Real /-! diff --git a/Mathlib/Analysis/Complex/Hadamard.lean b/Mathlib/Analysis/Complex/Hadamard.lean index 94c8159c62d029..c95013ac137488 100644 --- a/Mathlib/Analysis/Complex/Hadamard.lean +++ b/Mathlib/Analysis/Complex/Hadamard.lean @@ -5,9 +5,10 @@ Authors: Xavier Généreux -/ module -import Mathlib.Analysis.SpecialFunctions.Pow.Deriv public import Mathlib.Analysis.Complex.PhragmenLindelof +import Mathlib.Analysis.SpecialFunctions.Pow.Deriv + /-! # Hadamard three-lines Theorem diff --git a/Mathlib/Analysis/Complex/HalfPlane.lean b/Mathlib/Analysis/Complex/HalfPlane.lean index 0f88c516880397..fea88933cb1977 100644 --- a/Mathlib/Analysis/Complex/HalfPlane.lean +++ b/Mathlib/Analysis/Complex/HalfPlane.lean @@ -6,6 +6,7 @@ Authors: Michael Stoll module public import Mathlib.Analysis.Complex.Basic + import Mathlib.Topology.Instances.EReal.Lemmas /-! diff --git a/Mathlib/Analysis/Complex/Harmonic/Analytic.lean b/Mathlib/Analysis/Complex/Harmonic/Analytic.lean index 75520aa4841980..2bcefd6e1161f3 100644 --- a/Mathlib/Analysis/Complex/Harmonic/Analytic.lean +++ b/Mathlib/Analysis/Complex/Harmonic/Analytic.lean @@ -5,11 +5,12 @@ Authors: Stefan Kebekus -/ module -import Mathlib.Analysis.Calculus.FDeriv.Symmetric public import Mathlib.Analysis.Complex.Conformal -import Mathlib.Analysis.Complex.HasPrimitives public import Mathlib.Analysis.InnerProductSpace.Harmonic.Basic +import Mathlib.Analysis.Calculus.FDeriv.Symmetric +import Mathlib.Analysis.Complex.HasPrimitives + /-! # Analyticity of Harmonic Functions diff --git a/Mathlib/Analysis/Complex/Harmonic/Liouville.lean b/Mathlib/Analysis/Complex/Harmonic/Liouville.lean index a5ca5a25e2bdeb..22562532ab4d1d 100644 --- a/Mathlib/Analysis/Complex/Harmonic/Liouville.lean +++ b/Mathlib/Analysis/Complex/Harmonic/Liouville.lean @@ -5,8 +5,9 @@ Authors: Stefan Kebekus -/ module -import Mathlib.Analysis.Complex.Liouville public import Mathlib.Analysis.Complex.Harmonic.Analytic + +import Mathlib.Analysis.Complex.Liouville import Mathlib.Analysis.Normed.Module.HahnBanach /-! diff --git a/Mathlib/Analysis/Complex/HasPrimitives.lean b/Mathlib/Analysis/Complex/HasPrimitives.lean index 18a7dce8df7b5b..4bcbb3aa38f302 100644 --- a/Mathlib/Analysis/Complex/HasPrimitives.lean +++ b/Mathlib/Analysis/Complex/HasPrimitives.lean @@ -6,6 +6,7 @@ Authors: Ian Jauslin, Alex Kontorovich, Oliver Nash module public import Mathlib.Analysis.Complex.CauchyIntegral + import Mathlib.Analysis.Complex.Convex /-! diff --git a/Mathlib/Analysis/Complex/Isometry.lean b/Mathlib/Analysis/Complex/Isometry.lean index 0327166238b906..0443fdbc828694 100644 --- a/Mathlib/Analysis/Complex/Isometry.lean +++ b/Mathlib/Analysis/Complex/Isometry.lean @@ -8,6 +8,7 @@ module public import Mathlib.Analysis.Complex.Circle public import Mathlib.LinearAlgebra.Determinant public import Mathlib.LinearAlgebra.Matrix.GeneralLinearGroup.Basic + import Mathlib.Tactic.SuppressCompilation /-! diff --git a/Mathlib/Analysis/Complex/LocallyUniformLimit.lean b/Mathlib/Analysis/Complex/LocallyUniformLimit.lean index ba31a27dae7752..3c9d13b9b2599f 100644 --- a/Mathlib/Analysis/Complex/LocallyUniformLimit.lean +++ b/Mathlib/Analysis/Complex/LocallyUniformLimit.lean @@ -6,6 +6,7 @@ Authors: Vincent Beffara module public import Mathlib.Analysis.Complex.RemovableSingularity + import Mathlib.Analysis.Calculus.UniformLimitsDeriv /-! diff --git a/Mathlib/Analysis/Complex/OpenMapping.lean b/Mathlib/Analysis/Complex/OpenMapping.lean index 0a793e5fb858f0..d660b0a7d5cb8c 100644 --- a/Mathlib/Analysis/Complex/OpenMapping.lean +++ b/Mathlib/Analysis/Complex/OpenMapping.lean @@ -5,9 +5,10 @@ Authors: Vincent Beffara -/ module +public import Mathlib.Analysis.Complex.Polynomial.Basic + import Mathlib.Analysis.Analytic.Polynomial import Mathlib.Analysis.Complex.AbsMax -public import Mathlib.Analysis.Complex.Polynomial.Basic import Mathlib.Topology.MetricSpace.ProperSpace.Lemmas /-! diff --git a/Mathlib/Analysis/Complex/Periodic.lean b/Mathlib/Analysis/Complex/Periodic.lean index f6bd0a37690e51..6ab242846a525b 100644 --- a/Mathlib/Analysis/Complex/Periodic.lean +++ b/Mathlib/Analysis/Complex/Periodic.lean @@ -6,9 +6,10 @@ Authors: David Loeffler module public import Mathlib.Analysis.Complex.RemovableSingularity -import Mathlib.Analysis.Calculus.InverseFunctionTheorem.Deriv public import Mathlib.Order.Filter.ZeroAndBoundedAtFilter +import Mathlib.Analysis.Calculus.InverseFunctionTheorem.Deriv + /-! # Periodic holomorphic functions diff --git a/Mathlib/Analysis/Complex/RealDeriv.lean b/Mathlib/Analysis/Complex/RealDeriv.lean index 014dc5105a20b9..d7223234773ef2 100644 --- a/Mathlib/Analysis/Complex/RealDeriv.lean +++ b/Mathlib/Analysis/Complex/RealDeriv.lean @@ -6,9 +6,10 @@ Authors: Sébastien Gouëzel, Yourong Zang module public import Mathlib.Analysis.Calculus.ContDiff.Operations -import Mathlib.Analysis.Calculus.Deriv.Linear public import Mathlib.Analysis.Complex.Basic +import Mathlib.Analysis.Calculus.Deriv.Linear + /-! # Real differentiability of complex-differentiable functions `HasDerivAt.real_of_complex` expresses that, if a function on `ℂ` is differentiable (over `ℂ`), diff --git a/Mathlib/Analysis/Complex/RemovableSingularity.lean b/Mathlib/Analysis/Complex/RemovableSingularity.lean index 9e5f313899e2d3..58f06c94275dda 100644 --- a/Mathlib/Analysis/Complex/RemovableSingularity.lean +++ b/Mathlib/Analysis/Complex/RemovableSingularity.lean @@ -5,9 +5,10 @@ Authors: Yury Kudryashov -/ module -import Mathlib.Analysis.Asymptotics.SpecificAsymptotics public import Mathlib.Analysis.Complex.CauchyIntegral +import Mathlib.Analysis.Asymptotics.SpecificAsymptotics + /-! # Removable singularity theorem diff --git a/Mathlib/Analysis/Complex/Schwarz.lean b/Mathlib/Analysis/Complex/Schwarz.lean index eaf24055b77e3a..4d427c20af3f59 100644 --- a/Mathlib/Analysis/Complex/Schwarz.lean +++ b/Mathlib/Analysis/Complex/Schwarz.lean @@ -6,6 +6,7 @@ Authors: Yury Kudryashov module public import Mathlib.Analysis.Complex.AbsMax + import Mathlib.Analysis.Complex.RemovableSingularity import Mathlib.Analysis.Normed.Module.HahnBanach diff --git a/Mathlib/Analysis/Complex/Tietze.lean b/Mathlib/Analysis/Complex/Tietze.lean index 83645eef29d554..95054a082b0226 100644 --- a/Mathlib/Analysis/Complex/Tietze.lean +++ b/Mathlib/Analysis/Complex/Tietze.lean @@ -8,6 +8,7 @@ module public import Mathlib.Analysis.Complex.Basic public import Mathlib.Analysis.RCLike.Lemmas public import Mathlib.Topology.TietzeExtension + import Mathlib.Analysis.Normed.Module.Ball.Homeomorph /-! # Finite-dimensional topological vector spaces over `ℝ` satisfy the Tietze extension property diff --git a/Mathlib/Analysis/Complex/UpperHalfPlane/FixedPoints.lean b/Mathlib/Analysis/Complex/UpperHalfPlane/FixedPoints.lean index 09547b8c4dbaf1..c15a77881357ec 100644 --- a/Mathlib/Analysis/Complex/UpperHalfPlane/FixedPoints.lean +++ b/Mathlib/Analysis/Complex/UpperHalfPlane/FixedPoints.lean @@ -7,6 +7,7 @@ module public import Mathlib.Analysis.Complex.UpperHalfPlane.MoebiusAction public import Mathlib.LinearAlgebra.Matrix.GeneralLinearGroup.FinTwo + import Mathlib.Algebra.QuadraticDiscriminant /-! diff --git a/Mathlib/Analysis/Complex/UpperHalfPlane/Manifold.lean b/Mathlib/Analysis/Complex/UpperHalfPlane/Manifold.lean index 2e14296aa8dc88..19b3f103216976 100644 --- a/Mathlib/Analysis/Complex/UpperHalfPlane/Manifold.lean +++ b/Mathlib/Analysis/Complex/UpperHalfPlane/Manifold.lean @@ -10,10 +10,11 @@ public import Mathlib.Analysis.Complex.UpperHalfPlane.Topology public import Mathlib.Analysis.Meromorphic.Order public import Mathlib.Geometry.Manifold.Algebra.Structures public import Mathlib.Geometry.Manifold.ContMDiff.Atlas +public import Mathlib.RingTheory.Norm.Transitivity + import Mathlib.Geometry.Manifold.MFDeriv.FDeriv import Mathlib.LinearAlgebra.Complex.Determinant import Mathlib.RingTheory.Complex -public import Mathlib.RingTheory.Norm.Transitivity /-! # Manifold structure on the upper half plane. diff --git a/Mathlib/Analysis/Complex/UpperHalfPlane/Measure.lean b/Mathlib/Analysis/Complex/UpperHalfPlane/Measure.lean index 4eb216defd80bf..d2b7b948356394 100644 --- a/Mathlib/Analysis/Complex/UpperHalfPlane/Measure.lean +++ b/Mathlib/Analysis/Complex/UpperHalfPlane/Measure.lean @@ -8,6 +8,7 @@ module public import Mathlib.Analysis.Complex.UpperHalfPlane.Manifold public import Mathlib.LinearAlgebra.Complex.FiniteDimensional + import Mathlib.MeasureTheory.Function.Jacobian /-! diff --git a/Mathlib/Analysis/Complex/UpperHalfPlane/Metric.lean b/Mathlib/Analysis/Complex/UpperHalfPlane/Metric.lean index 6a8b8584311708..afc9dd2a0e52a6 100644 --- a/Mathlib/Analysis/Complex/UpperHalfPlane/Metric.lean +++ b/Mathlib/Analysis/Complex/UpperHalfPlane/Metric.lean @@ -7,6 +7,7 @@ module public import Mathlib.Analysis.Complex.UpperHalfPlane.Topology public import Mathlib.Analysis.SpecialFunctions.Arsinh + import Mathlib.Geometry.Euclidean.Inversion.Basic /-! diff --git a/Mathlib/Analysis/Complex/UpperHalfPlane/Topology.lean b/Mathlib/Analysis/Complex/UpperHalfPlane/Topology.lean index 0188ff4a7fbd3b..f999dede3fb2b9 100644 --- a/Mathlib/Analysis/Complex/UpperHalfPlane/Topology.lean +++ b/Mathlib/Analysis/Complex/UpperHalfPlane/Topology.lean @@ -6,12 +6,13 @@ Authors: Yury Kudryashov module public import Mathlib.Analysis.Complex.UpperHalfPlane.MoebiusAction -import Mathlib.Analysis.Convex.Contractible public import Mathlib.Analysis.LocallyConvex.WithSeminorms public import Mathlib.Analysis.Complex.Convex public import Mathlib.Topology.Homotopy.Contractible public import Mathlib.Topology.OpenPartialHomeomorph.Basic +import Mathlib.Analysis.Convex.Contractible + /-! # Topology on the upper half plane diff --git a/Mathlib/Analysis/Complex/ValueDistribution/Cartan.lean b/Mathlib/Analysis/Complex/ValueDistribution/Cartan.lean index 305880e2c46041..e5b5e59bc16b58 100644 --- a/Mathlib/Analysis/Complex/ValueDistribution/Cartan.lean +++ b/Mathlib/Analysis/Complex/ValueDistribution/Cartan.lean @@ -6,9 +6,10 @@ Authors: Matteo Cipollina, Stefan Kebekus module -import Mathlib.Analysis.Complex.ValueDistribution.Proximity.IntegralPresentation public import Mathlib.Analysis.Complex.ValueDistribution.CharacteristicFunction +import Mathlib.Analysis.Complex.ValueDistribution.Proximity.IntegralPresentation + /-! # Cartan's Formula diff --git a/Mathlib/Analysis/Complex/ValueDistribution/Proximity/IntegralPresentation.lean b/Mathlib/Analysis/Complex/ValueDistribution/Proximity/IntegralPresentation.lean index b0a8869e0e5396..d752bb75dd8053 100644 --- a/Mathlib/Analysis/Complex/ValueDistribution/Proximity/IntegralPresentation.lean +++ b/Mathlib/Analysis/Complex/ValueDistribution/Proximity/IntegralPresentation.lean @@ -7,6 +7,7 @@ Authors: Matteo Cipollina, Stefan Kebekus module public import Mathlib.Analysis.Complex.ValueDistribution.Proximity.Basic + import Mathlib.Analysis.SpecialFunctions.Integrals.PosLog /-! diff --git a/Mathlib/Analysis/Complex/ValueDistribution/SecondMainTheorem.lean b/Mathlib/Analysis/Complex/ValueDistribution/SecondMainTheorem.lean index da9c21120fc08f..99291979d07380 100644 --- a/Mathlib/Analysis/Complex/ValueDistribution/SecondMainTheorem.lean +++ b/Mathlib/Analysis/Complex/ValueDistribution/SecondMainTheorem.lean @@ -6,6 +6,7 @@ Authors: Stefan Kebekus module public import Mathlib.Analysis.SpecialFunctions.Log.PosLog + import Mathlib.Topology.MetricSpace.Infsep /-! diff --git a/Mathlib/Analysis/ConstantSpeed.lean b/Mathlib/Analysis/ConstantSpeed.lean index bfb20089d13db7..59a8aff1c9f9b6 100644 --- a/Mathlib/Analysis/ConstantSpeed.lean +++ b/Mathlib/Analysis/ConstantSpeed.lean @@ -6,6 +6,7 @@ Authors: Rémi Bottinelli module public import Mathlib.Topology.EMetricSpace.VariationOnFromTo + import Mathlib.Algebra.Order.BigOperators.Expect import Mathlib.Analysis.Real.Sqrt import Mathlib.Tactic.ContinuousFunctionalCalculus diff --git a/Mathlib/Analysis/Convex/AmpleSet.lean b/Mathlib/Analysis/Convex/AmpleSet.lean index c33971dd477b3b..35240b398a8ae5 100644 --- a/Mathlib/Analysis/Convex/AmpleSet.lean +++ b/Mathlib/Analysis/Convex/AmpleSet.lean @@ -5,11 +5,12 @@ Authors: Anatole Dedecker, Floris van Doorn -/ module -import Mathlib.Algebra.CharP.Invertible public import Mathlib.Analysis.Normed.Module.Convex public import Mathlib.Analysis.Normed.Module.Connected public import Mathlib.Topology.Algebra.ContinuousAffineEquiv +import Mathlib.Algebra.CharP.Invertible + /-! # Ample subsets of real vector spaces diff --git a/Mathlib/Analysis/Convex/Basic.lean b/Mathlib/Analysis/Convex/Basic.lean index 5126c22d52bb2c..f6c17212beec25 100644 --- a/Mathlib/Analysis/Convex/Basic.lean +++ b/Mathlib/Analysis/Convex/Basic.lean @@ -5,10 +5,11 @@ Authors: Alexander Bentkamp, Yury Kudryashov, Yaël Dillies -/ module -import Mathlib.Algebra.Ring.Action.Pointwise.Set public import Mathlib.Analysis.Convex.Star public import Mathlib.Tactic.Field public import Mathlib.LinearAlgebra.AffineSpace.AffineSubspace.Defs + +import Mathlib.Algebra.Ring.Action.Pointwise.Set import Mathlib.Tactic.NoncommRing /-! diff --git a/Mathlib/Analysis/Convex/Between.lean b/Mathlib/Analysis/Convex/Between.lean index 7741ab1d1a030e..20e3b3ed186fac 100644 --- a/Mathlib/Analysis/Convex/Between.lean +++ b/Mathlib/Analysis/Convex/Between.lean @@ -6,10 +6,10 @@ Authors: Joseph Myers module public import Mathlib.Algebra.CharP.Invertible -import Mathlib.Algebra.Order.Interval.Set.Group public import Mathlib.Analysis.Convex.Basic public import Mathlib.LinearAlgebra.AffineSpace.FiniteDimensional +import Mathlib.Algebra.Order.Interval.Set.Group import Mathlib.Tactic.Bound /-! diff --git a/Mathlib/Analysis/Convex/Birkhoff.lean b/Mathlib/Analysis/Convex/Birkhoff.lean index 69ea2d8048dac8..5f1adb86f75f8b 100644 --- a/Mathlib/Analysis/Convex/Birkhoff.lean +++ b/Mathlib/Analysis/Convex/Birkhoff.lean @@ -6,9 +6,10 @@ Authors: Bhavik Mehta module public import Mathlib.Analysis.Convex.Extreme -import Mathlib.Combinatorics.Hall.Basic public import Mathlib.Analysis.Convex.DoublyStochasticMatrix +import Mathlib.Combinatorics.Hall.Basic + /-! # Birkhoff's theorem diff --git a/Mathlib/Analysis/Convex/Combination.lean b/Mathlib/Analysis/Convex/Combination.lean index a3669130448c9a..057182b3e8d816 100644 --- a/Mathlib/Analysis/Convex/Combination.lean +++ b/Mathlib/Analysis/Convex/Combination.lean @@ -5,11 +5,12 @@ Authors: Yury Kudryashov -/ module -import Mathlib.Algebra.Order.BigOperators.GroupWithZero.Finset public import Mathlib.Analysis.Convex.Hull public import Mathlib.LinearAlgebra.AffineSpace.Basis public import Mathlib.LinearAlgebra.AffineSpace.Simplex.Basic +import Mathlib.Algebra.Order.BigOperators.GroupWithZero.Finset + /-! # Convex combinations diff --git a/Mathlib/Analysis/Convex/Cone/TensorProduct.lean b/Mathlib/Analysis/Convex/Cone/TensorProduct.lean index 61032cb50b359c..63fe8c9a741637 100644 --- a/Mathlib/Analysis/Convex/Cone/TensorProduct.lean +++ b/Mathlib/Analysis/Convex/Cone/TensorProduct.lean @@ -8,6 +8,7 @@ module public import Mathlib.Analysis.Convex.Cone.Dual public import Mathlib.Geometry.Convex.Cone.Simplicial public import Mathlib.Geometry.Convex.Cone.TensorProduct + import Mathlib.Topology.Algebra.Module.TopDualPairing /-! diff --git a/Mathlib/Analysis/Convex/Continuous.lean b/Mathlib/Analysis/Convex/Continuous.lean index e9512ef0d2d268..dc605f46dc73b0 100644 --- a/Mathlib/Analysis/Convex/Continuous.lean +++ b/Mathlib/Analysis/Convex/Continuous.lean @@ -6,6 +6,7 @@ Authors: Yaël Dillies, Zichen Wang module public import Mathlib.Analysis.Convex.Intrinsic + import Mathlib.Analysis.Normed.Affine.Convex /-! diff --git a/Mathlib/Analysis/Convex/Deriv.lean b/Mathlib/Analysis/Convex/Deriv.lean index 38f14c085d3d89..0ad2c1bc56ff26 100644 --- a/Mathlib/Analysis/Convex/Deriv.lean +++ b/Mathlib/Analysis/Convex/Deriv.lean @@ -5,9 +5,10 @@ Authors: Sébastien Gouëzel, Yury Kudryashov, David Loeffler -/ module -import Mathlib.Analysis.Convex.Slope public import Mathlib.Analysis.Calculus.Deriv.MeanValue +import Mathlib.Analysis.Convex.Slope + /-! # Convexity of functions and derivatives diff --git a/Mathlib/Analysis/Convex/Exposed.lean b/Mathlib/Analysis/Convex/Exposed.lean index 5404b879dc63a1..d8655f0056b386 100644 --- a/Mathlib/Analysis/Convex/Exposed.lean +++ b/Mathlib/Analysis/Convex/Exposed.lean @@ -6,9 +6,10 @@ Authors: Yaël Dillies, Bhavik Mehta module public import Mathlib.Analysis.Convex.Extreme -import Mathlib.Analysis.Convex.Function public import Mathlib.Topology.Algebra.Module.ContinuousLinearMap.Basic +import Mathlib.Analysis.Convex.Function + /-! # Exposed sets diff --git a/Mathlib/Analysis/Convex/FunctionTopology.lean b/Mathlib/Analysis/Convex/FunctionTopology.lean index 52d6e02cd430a1..81ca2cb9f4dc91 100644 --- a/Mathlib/Analysis/Convex/FunctionTopology.lean +++ b/Mathlib/Analysis/Convex/FunctionTopology.lean @@ -6,10 +6,11 @@ Authors: Frédéric Dupuis module public import Mathlib.Analysis.Convex.Function -import Mathlib.Topology.Algebra.Monoid public import Mathlib.Topology.Algebra.ConstMulAction public import Mathlib.Topology.Algebra.Monoid.Defs +import Mathlib.Topology.Algebra.Monoid + /-! # Topological properties of the set of convex/concave functions diff --git a/Mathlib/Analysis/Convex/Gauge.lean b/Mathlib/Analysis/Convex/Gauge.lean index 4f6efe939fd610..e0c9dc67b24deb 100644 --- a/Mathlib/Analysis/Convex/Gauge.lean +++ b/Mathlib/Analysis/Convex/Gauge.lean @@ -5,11 +5,12 @@ Authors: Yaël Dillies, Bhavik Mehta -/ module -import Mathlib.Analysis.Convex.Topology public import Mathlib.Analysis.Normed.Module.Ball.Pointwise public import Mathlib.Analysis.LocallyConvex.Bounded public import Mathlib.Analysis.RCLike.Basic +import Mathlib.Analysis.Convex.Topology + /-! # The Minkowski functional diff --git a/Mathlib/Analysis/Convex/GaugeRescale.lean b/Mathlib/Analysis/Convex/GaugeRescale.lean index deca8f0f01c62d..22fa62e77664dd 100644 --- a/Mathlib/Analysis/Convex/GaugeRescale.lean +++ b/Mathlib/Analysis/Convex/GaugeRescale.lean @@ -6,6 +6,7 @@ Authors: Yury Kudryashov module public import Mathlib.Analysis.Convex.Gauge + import Mathlib.Analysis.Normed.Module.Convex /-! # "Gauge rescale" homeomorphism between convex sets diff --git a/Mathlib/Analysis/Convex/Independent.lean b/Mathlib/Analysis/Convex/Independent.lean index c060136990b1c8..f48256b5d17bf2 100644 --- a/Mathlib/Analysis/Convex/Independent.lean +++ b/Mathlib/Analysis/Convex/Independent.lean @@ -5,9 +5,10 @@ Authors: Yaël Dillies, Bhavik Mehta -/ module -import Mathlib.Analysis.Convex.Combination public import Mathlib.Analysis.Convex.Extreme +import Mathlib.Analysis.Convex.Combination + /-! # Convex independence diff --git a/Mathlib/Analysis/Convex/LinearIsometry.lean b/Mathlib/Analysis/Convex/LinearIsometry.lean index 1d9e483dfecc24..da219179233c3c 100644 --- a/Mathlib/Analysis/Convex/LinearIsometry.lean +++ b/Mathlib/Analysis/Convex/LinearIsometry.lean @@ -5,10 +5,11 @@ Authors: Yury Kudryashov -/ module -import Mathlib.Analysis.Convex.ContinuousLinearEquiv public import Mathlib.Analysis.Convex.StrictConvexSpace public import Mathlib.Analysis.Normed.Operator.LinearIsometry +import Mathlib.Analysis.Convex.ContinuousLinearEquiv + /-! # (Strict) convexity and linear isometries diff --git a/Mathlib/Analysis/Convex/Measure.lean b/Mathlib/Analysis/Convex/Measure.lean index 425aac7c48a4a9..1c4f8ebee19bc9 100644 --- a/Mathlib/Analysis/Convex/Measure.lean +++ b/Mathlib/Analysis/Convex/Measure.lean @@ -5,9 +5,10 @@ Authors: Yury Kudryashov -/ module -import Mathlib.Analysis.Normed.Affine.AddTorsorBases public import Mathlib.MeasureTheory.Measure.Lebesgue.EqHaar +import Mathlib.Analysis.Normed.Affine.AddTorsorBases + /-! # Convex sets are null-measurable diff --git a/Mathlib/Analysis/Convex/MetricSpace.lean b/Mathlib/Analysis/Convex/MetricSpace.lean index ff7f90802852e5..9107f10eb031e2 100644 --- a/Mathlib/Analysis/Convex/MetricSpace.lean +++ b/Mathlib/Analysis/Convex/MetricSpace.lean @@ -8,6 +8,7 @@ module public import Mathlib.Analysis.Normed.Group.AddTorsor public import Mathlib.Analysis.Normed.Module.Basic public import Mathlib.Geometry.Convex.ConvexSpace.AffineSpace + import Mathlib.Algebra.Order.Algebra /-! diff --git a/Mathlib/Analysis/Convex/NNReal.lean b/Mathlib/Analysis/Convex/NNReal.lean index 2dc94cdef6c20c..8e8da326aa4c9a 100644 --- a/Mathlib/Analysis/Convex/NNReal.lean +++ b/Mathlib/Analysis/Convex/NNReal.lean @@ -5,10 +5,11 @@ Authors: Anatole Dedecker -/ module -import Mathlib.Algebra.Order.Module.Field public import Mathlib.Analysis.Convex.Basic public import Mathlib.Basic.NNReal.Defs +import Mathlib.Algebra.Order.Module.Field + /-! # Specific lemmas about convexity over `ℝ≥0` diff --git a/Mathlib/Analysis/Convex/PathConnected.lean b/Mathlib/Analysis/Convex/PathConnected.lean index d9bf1eb2d494c5..335bd9c06b4b8b 100644 --- a/Mathlib/Analysis/Convex/PathConnected.lean +++ b/Mathlib/Analysis/Convex/PathConnected.lean @@ -6,9 +6,10 @@ Authors: Patrick Massot, Yury Kudryashov module public import Mathlib.Analysis.Convex.Basic -import Mathlib.LinearAlgebra.Projection public import Mathlib.Topology.Connected.PathConnected +import Mathlib.LinearAlgebra.Projection + /-! # Segment between 2 points as a bundled path diff --git a/Mathlib/Analysis/Convex/Slope.lean b/Mathlib/Analysis/Convex/Slope.lean index e9de4adf846325..ac03af4bbc628a 100644 --- a/Mathlib/Analysis/Convex/Slope.lean +++ b/Mathlib/Analysis/Convex/Slope.lean @@ -6,6 +6,7 @@ Authors: Yury Kudryashov, Malo Jaffré module public import Mathlib.Analysis.Convex.Function + import Mathlib.Tactic.AdaptationNote import Mathlib.Tactic.Linarith diff --git a/Mathlib/Analysis/Convex/SpecificFunctions/Deriv.lean b/Mathlib/Analysis/Convex/SpecificFunctions/Deriv.lean index 187776e67d205e..75ec64751154bf 100644 --- a/Mathlib/Analysis/Convex/SpecificFunctions/Deriv.lean +++ b/Mathlib/Analysis/Convex/SpecificFunctions/Deriv.lean @@ -5,9 +5,10 @@ Authors: Yury Kudryashov, Sébastien Gouëzel -/ module -import Mathlib.Analysis.SpecialFunctions.Sqrt public import Mathlib.Analysis.SpecialFunctions.Log.Deriv public import Mathlib.Analysis.SpecialFunctions.Trigonometric.Basic + +import Mathlib.Analysis.SpecialFunctions.Sqrt import Mathlib.Analysis.SpecialFunctions.Trigonometric.Deriv import Mathlib.Analysis.Convex.Deriv diff --git a/Mathlib/Analysis/Convex/StdSimplex.lean b/Mathlib/Analysis/Convex/StdSimplex.lean index a7d345090e06b8..4652d47487324c 100644 --- a/Mathlib/Analysis/Convex/StdSimplex.lean +++ b/Mathlib/Analysis/Convex/StdSimplex.lean @@ -10,9 +10,10 @@ public import Mathlib.Geometry.Convex.ConvexSpace.Barycenter public import Mathlib.Geometry.Convex.ConvexSpace.CompactSpaceStdSimplex public import Mathlib.Geometry.Convex.ConvexSpace.PathConnectedSpaceStdSimplex public import Mathlib.Geometry.Convex.ConvexSpace.Module -import Mathlib.Analysis.Convex.PathConnected public import Mathlib.Topology.Algebra.Monoid.FunOnFinite +import Mathlib.Analysis.Convex.PathConnected + /-! # The standard simplex diff --git a/Mathlib/Analysis/Convex/StoneSeparation.lean b/Mathlib/Analysis/Convex/StoneSeparation.lean index d3fbc4c5f9d622..36bfd378720605 100644 --- a/Mathlib/Analysis/Convex/StoneSeparation.lean +++ b/Mathlib/Analysis/Convex/StoneSeparation.lean @@ -5,9 +5,10 @@ Authors: Yaël Dillies -/ module -import Mathlib.Analysis.Convex.Combination public import Mathlib.Analysis.Convex.Join +import Mathlib.Analysis.Convex.Combination + /-! # Stone's separation theorem diff --git a/Mathlib/Analysis/Convex/StrictConvexSpace.lean b/Mathlib/Analysis/Convex/StrictConvexSpace.lean index 750231e8cec324..be5826dcf7e483 100644 --- a/Mathlib/Analysis/Convex/StrictConvexSpace.lean +++ b/Mathlib/Analysis/Convex/StrictConvexSpace.lean @@ -7,6 +7,7 @@ module public import Mathlib.Analysis.Normed.Module.Convex public import Mathlib.Analysis.Normed.Module.Ray + import Mathlib.Analysis.Normed.Module.Ball.Pointwise /-! diff --git a/Mathlib/Analysis/Convex/TotallyBounded.lean b/Mathlib/Analysis/Convex/TotallyBounded.lean index 8a9cafe18124c4..392bdfbe811c23 100644 --- a/Mathlib/Analysis/Convex/TotallyBounded.lean +++ b/Mathlib/Analysis/Convex/TotallyBounded.lean @@ -5,9 +5,10 @@ Authors: Christopher Hoskin -/ module -import Mathlib.Topology.Algebra.IsUniformGroup.Basic public import Mathlib.Topology.Algebra.Module.LocallyConvex +import Mathlib.Topology.Algebra.IsUniformGroup.Basic + /-! # Totally Bounded sets and Convex Hulls diff --git a/Mathlib/Analysis/Convex/Visible.lean b/Mathlib/Analysis/Convex/Visible.lean index 91f6bfa07f1047..b94ef797cd6eba 100644 --- a/Mathlib/Analysis/Convex/Visible.lean +++ b/Mathlib/Analysis/Convex/Visible.lean @@ -5,12 +5,13 @@ Authors: Yaël Dillies -/ module -import Mathlib.Algebra.BigOperators.Field -import Mathlib.Algebra.Group.Pointwise.Set.Card public import Mathlib.Analysis.Convex.Between public import Mathlib.Analysis.Convex.Combination public import Mathlib.Topology.Algebra.Affine public import Mathlib.Topology.MetricSpace.Pseudo.Lemmas + +import Mathlib.Algebra.BigOperators.Field +import Mathlib.Algebra.Group.Pointwise.Set.Card import Mathlib.Topology.Order.Monotone /-! diff --git a/Mathlib/Analysis/Convolution.lean b/Mathlib/Analysis/Convolution.lean index a7ea1b187deffb..69e7e0591392d7 100644 --- a/Mathlib/Analysis/Convolution.lean +++ b/Mathlib/Analysis/Convolution.lean @@ -5,10 +5,11 @@ Authors: Floris van Doorn -/ module +public import Mathlib.MeasureTheory.Integral.IntervalIntegral.Basic + import Mathlib.MeasureTheory.Integral.Prod import Mathlib.MeasureTheory.Function.Holder import Mathlib.MeasureTheory.Group.Integral -public import Mathlib.MeasureTheory.Integral.IntervalIntegral.Basic /-! # Convolution of functions diff --git a/Mathlib/Analysis/Distribution/Distribution.lean b/Mathlib/Analysis/Distribution/Distribution.lean index a7059fe632e268..552a32067cfa5f 100644 --- a/Mathlib/Analysis/Distribution/Distribution.lean +++ b/Mathlib/Analysis/Distribution/Distribution.lean @@ -5,10 +5,11 @@ Authors: Anatole Dedecker, Luigi Massacci -/ module -import Mathlib.Analysis.Distribution.AEEqOfIntegralContDiff public import Mathlib.Analysis.Distribution.TestFunction public import Mathlib.Topology.Algebra.Module.Spaces.CompactConvergenceCLM +import Mathlib.Analysis.Distribution.AEEqOfIntegralContDiff + /-! # Distributions diff --git a/Mathlib/Analysis/Distribution/SchwartzSpace/Basic.lean b/Mathlib/Analysis/Distribution/SchwartzSpace/Basic.lean index fbcdc1f9c37ae7..1735ccf92ca2bf 100644 --- a/Mathlib/Analysis/Distribution/SchwartzSpace/Basic.lean +++ b/Mathlib/Analysis/Distribution/SchwartzSpace/Basic.lean @@ -9,11 +9,11 @@ public import Mathlib.Analysis.Calculus.IteratedDeriv.Defs public import Mathlib.Analysis.Distribution.TemperateGrowth public import Mathlib.MeasureTheory.Function.L2Space public import Mathlib.Topology.Algebra.UniformFilterBasis +public import Mathlib.Topology.ContinuousMap.ZeroAtInfty import Mathlib.Analysis.Calculus.ContDiff.Bounds import Mathlib.Analysis.Calculus.ContDiff.Operations import Mathlib.Analysis.Normed.Lp.SmoothApprox -public import Mathlib.Topology.ContinuousMap.ZeroAtInfty /-! diff --git a/Mathlib/Analysis/Fourier/AddCircleMulti.lean b/Mathlib/Analysis/Fourier/AddCircleMulti.lean index 038aaccf985195..998ac5a1e1d946 100644 --- a/Mathlib/Analysis/Fourier/AddCircleMulti.lean +++ b/Mathlib/Analysis/Fourier/AddCircleMulti.lean @@ -6,6 +6,7 @@ Authors: David Loeffler module public import Mathlib.Analysis.Fourier.AddCircle + import Mathlib.MeasureTheory.Integral.Pi /-! diff --git a/Mathlib/Analysis/Fourier/FiniteAbelian/PontryaginDuality.lean b/Mathlib/Analysis/Fourier/FiniteAbelian/PontryaginDuality.lean index 414bf80c559245..4d0d333cde331d 100644 --- a/Mathlib/Analysis/Fourier/FiniteAbelian/PontryaginDuality.lean +++ b/Mathlib/Analysis/Fourier/FiniteAbelian/PontryaginDuality.lean @@ -5,9 +5,10 @@ Authors: Yaël Dillies, Bhavik Mehta -/ module -import Mathlib.Algebra.DirectSum.AddChar public import Mathlib.Analysis.Fourier.FiniteAbelian.Orthogonality public import Mathlib.Analysis.SpecialFunctions.Complex.Circle + +import Mathlib.Algebra.DirectSum.AddChar import Mathlib.GroupTheory.FiniteAbelian.Basic import Mathlib.Topology.Instances.AddCircle.Real import Mathlib.Algebra.Field.ModEq diff --git a/Mathlib/Analysis/Fourier/FourierTransform.lean b/Mathlib/Analysis/Fourier/FourierTransform.lean index 6b915211999280..cb5012ad4d084f 100644 --- a/Mathlib/Analysis/Fourier/FourierTransform.lean +++ b/Mathlib/Analysis/Fourier/FourierTransform.lean @@ -7,11 +7,12 @@ module public import Mathlib.Analysis.Complex.Circle public import Mathlib.Analysis.Fourier.Notation -import Mathlib.MeasureTheory.Group.Integral -import Mathlib.MeasureTheory.Integral.Prod public import Mathlib.MeasureTheory.Integral.Bochner.Set public import Mathlib.MeasureTheory.Measure.Haar.InnerProductSpace +import Mathlib.MeasureTheory.Group.Integral +import Mathlib.MeasureTheory.Integral.Prod + /-! # The Fourier transform diff --git a/Mathlib/Analysis/Fourier/Inversion.lean b/Mathlib/Analysis/Fourier/Inversion.lean index c67b8ab41ee1e1..9cd3a779555bd8 100644 --- a/Mathlib/Analysis/Fourier/Inversion.lean +++ b/Mathlib/Analysis/Fourier/Inversion.lean @@ -5,9 +5,10 @@ Authors: Sébastien Gouëzel -/ module -import Mathlib.MeasureTheory.Integral.PeakFunction public import Mathlib.Analysis.SpecialFunctions.Gaussian.FourierTransform +import Mathlib.MeasureTheory.Integral.PeakFunction + /-! # Fourier inversion formula diff --git a/Mathlib/Analysis/Fourier/PoissonSummation.lean b/Mathlib/Analysis/Fourier/PoissonSummation.lean index 740e29a3f89136..b070ca70ea265d 100644 --- a/Mathlib/Analysis/Fourier/PoissonSummation.lean +++ b/Mathlib/Analysis/Fourier/PoissonSummation.lean @@ -5,10 +5,11 @@ Authors: David Loeffler -/ module -import Mathlib.Analysis.PSeries public import Mathlib.Analysis.Distribution.SchwartzSpace.Fourier public import Mathlib.Topology.ContinuousMap.Periodic +import Mathlib.Analysis.PSeries + /-! # Poisson's summation formula diff --git a/Mathlib/Analysis/Fourier/RiemannLebesgueLemma.lean b/Mathlib/Analysis/Fourier/RiemannLebesgueLemma.lean index bd85359e6529cf..9137633a762912 100644 --- a/Mathlib/Analysis/Fourier/RiemannLebesgueLemma.lean +++ b/Mathlib/Analysis/Fourier/RiemannLebesgueLemma.lean @@ -6,10 +6,11 @@ Authors: David Loeffler module public import Mathlib.Analysis.Fourier.FourierTransform +public import Mathlib.MeasureTheory.Measure.Haar.Unique + import Mathlib.Analysis.InnerProductSpace.Dual import Mathlib.Analysis.InnerProductSpace.EuclideanDist import Mathlib.MeasureTheory.Function.ContinuousMapDense -public import Mathlib.MeasureTheory.Measure.Haar.Unique /-! # The Riemann-Lebesgue Lemma diff --git a/Mathlib/Analysis/FunctionalSpaces/SobolevInequality.lean b/Mathlib/Analysis/FunctionalSpaces/SobolevInequality.lean index 1f94f3074c6d2b..bb2eee5802db84 100644 --- a/Mathlib/Analysis/FunctionalSpaces/SobolevInequality.lean +++ b/Mathlib/Analysis/FunctionalSpaces/SobolevInequality.lean @@ -5,11 +5,12 @@ Authors: Floris van Doorn, Heather Macbeth -/ module -import Mathlib.Analysis.Calculus.Deriv.Pi public import Mathlib.Analysis.InnerProductSpace.EuclideanDist +public import Mathlib.MeasureTheory.Integral.IntegralEqImproper + +import Mathlib.Analysis.Calculus.Deriv.Pi import Mathlib.Analysis.InnerProductSpace.NormPow import Mathlib.Data.Finset.Interval -public import Mathlib.MeasureTheory.Integral.IntegralEqImproper /-! # Gagliardo-Nirenberg-Sobolev inequality diff --git a/Mathlib/Analysis/InnerProductSpace/Calculus.lean b/Mathlib/Analysis/InnerProductSpace/Calculus.lean index c4198a999395d2..2ec2af18840266 100644 --- a/Mathlib/Analysis/InnerProductSpace/Calculus.lean +++ b/Mathlib/Analysis/InnerProductSpace/Calculus.lean @@ -8,6 +8,7 @@ module public import Mathlib.Analysis.InnerProductSpace.PiL2 public import Mathlib.Analysis.SpecialFunctions.Sqrt public import Mathlib.Analysis.Normed.Module.Ball.Homeomorph + import Mathlib.Analysis.Calculus.ContDiff.WithLp import Mathlib.Analysis.Calculus.FDeriv.WithLp diff --git a/Mathlib/Analysis/InnerProductSpace/Defs.lean b/Mathlib/Analysis/InnerProductSpace/Defs.lean index a45810b72d8a91..4e79b8b6fcc4ef 100644 --- a/Mathlib/Analysis/InnerProductSpace/Defs.lean +++ b/Mathlib/Analysis/InnerProductSpace/Defs.lean @@ -5,9 +5,10 @@ Authors: Zhouhang Zhou, Sébastien Gouëzel, Frédéric Dupuis -/ module -import Mathlib.Algebra.QuadraticDiscriminant public import Mathlib.Analysis.LocallyConvex.WithSeminorms public import Mathlib.Analysis.RCLike.Basic + +import Mathlib.Algebra.QuadraticDiscriminant import Mathlib.Basic.Complex.Basic /-! diff --git a/Mathlib/Analysis/InnerProductSpace/EuclideanDist.lean b/Mathlib/Analysis/InnerProductSpace/EuclideanDist.lean index 8910c2a8206a43..f00f54b5654b14 100644 --- a/Mathlib/Analysis/InnerProductSpace/EuclideanDist.lean +++ b/Mathlib/Analysis/InnerProductSpace/EuclideanDist.lean @@ -6,6 +6,7 @@ Authors: Yury Kudryashov module public import Mathlib.Analysis.InnerProductSpace.Calculus + import Mathlib.Topology.MetricSpace.ProperSpace.Lemmas /-! diff --git a/Mathlib/Analysis/InnerProductSpace/GramMatrix.lean b/Mathlib/Analysis/InnerProductSpace/GramMatrix.lean index 06d205a8cea1a2..14a19e6f8df4c6 100644 --- a/Mathlib/Analysis/InnerProductSpace/GramMatrix.lean +++ b/Mathlib/Analysis/InnerProductSpace/GramMatrix.lean @@ -7,6 +7,7 @@ module public import Mathlib.Analysis.InnerProductSpace.PiL2 public import Mathlib.LinearAlgebra.Matrix.PosDef + import Mathlib.Analysis.Matrix.Order /-! # Gram Matrices diff --git a/Mathlib/Analysis/InnerProductSpace/Harmonic/Constructions.lean b/Mathlib/Analysis/InnerProductSpace/Harmonic/Constructions.lean index f639745d6c2afd..1629bb835905a8 100644 --- a/Mathlib/Analysis/InnerProductSpace/Harmonic/Constructions.lean +++ b/Mathlib/Analysis/InnerProductSpace/Harmonic/Constructions.lean @@ -6,6 +6,7 @@ Authors: Stefan Kebekus module public import Mathlib.Analysis.InnerProductSpace.Harmonic.Basic + import Mathlib.Analysis.Calculus.ContDiff.RestrictScalars import Mathlib.Analysis.SpecialFunctions.Complex.Analytic diff --git a/Mathlib/Analysis/InnerProductSpace/JointEigenspace.lean b/Mathlib/Analysis/InnerProductSpace/JointEigenspace.lean index 57d5dbd4aaf0ed..2276ff768d6c71 100644 --- a/Mathlib/Analysis/InnerProductSpace/JointEigenspace.lean +++ b/Mathlib/Analysis/InnerProductSpace/JointEigenspace.lean @@ -5,11 +5,12 @@ Authors: Jon Bannon, Jack Cheverton, Samyak Dhar Tuladhar -/ module -import Mathlib.Analysis.InnerProductSpace.Spectrum -import Mathlib.LinearAlgebra.Eigenspace.Pi public import Mathlib.LinearAlgebra.Eigenspace.Semisimple public import Mathlib.Analysis.InnerProductSpace.Semisimple +import Mathlib.Analysis.InnerProductSpace.Spectrum +import Mathlib.LinearAlgebra.Eigenspace.Pi + /-! # Joint eigenspaces of commuting symmetric operators This file collects various decomposition results for joint eigenspaces of commuting diff --git a/Mathlib/Analysis/InnerProductSpace/NormPow.lean b/Mathlib/Analysis/InnerProductSpace/NormPow.lean index 517124159b632e..7b7d18e7135258 100644 --- a/Mathlib/Analysis/InnerProductSpace/NormPow.lean +++ b/Mathlib/Analysis/InnerProductSpace/NormPow.lean @@ -6,6 +6,7 @@ Authors: Floris van Doorn, Heather Macbeth module public import Mathlib.Analysis.InnerProductSpace.Calculus + import Mathlib.Analysis.SpecialFunctions.Pow.Deriv /-! diff --git a/Mathlib/Analysis/InnerProductSpace/OfNorm.lean b/Mathlib/Analysis/InnerProductSpace/OfNorm.lean index 566b662a284561..9204a016e45216 100644 --- a/Mathlib/Analysis/InnerProductSpace/OfNorm.lean +++ b/Mathlib/Analysis/InnerProductSpace/OfNorm.lean @@ -6,6 +6,7 @@ Authors: Heather Macbeth module public import Mathlib.Analysis.InnerProductSpace.Convex + import Mathlib.Algebra.Module.LinearMap.Rat /-! diff --git a/Mathlib/Analysis/InnerProductSpace/PiL2.lean b/Mathlib/Analysis/InnerProductSpace/PiL2.lean index a55bb9d8f55890..3f9e6baaa9cb46 100644 --- a/Mathlib/Analysis/InnerProductSpace/PiL2.lean +++ b/Mathlib/Analysis/InnerProductSpace/PiL2.lean @@ -11,6 +11,7 @@ public import Mathlib.Analysis.Normed.Order.Lattice public import Mathlib.LinearAlgebra.FiniteDimensional.Lemmas public import Mathlib.LinearAlgebra.UnitaryGroup public import Mathlib.Util.Superscript + import Mathlib.LinearAlgebra.Matrix.InvariantBasisNumber /-! diff --git a/Mathlib/Analysis/InnerProductSpace/Positive.lean b/Mathlib/Analysis/InnerProductSpace/Positive.lean index 96f859cfb5b330..20ab0533e3486b 100644 --- a/Mathlib/Analysis/InnerProductSpace/Positive.lean +++ b/Mathlib/Analysis/InnerProductSpace/Positive.lean @@ -6,11 +6,12 @@ Authors: Anatole Dedecker module public import Mathlib.Analysis.InnerProductSpace.Spectrum -import Mathlib.Analysis.Matrix.Hermitian public import Mathlib.Algebra.Order.Module.PositiveLinearMap public import Mathlib.Analysis.SpecialFunctions.Bernstein public import Mathlib.LinearAlgebra.Matrix.PosDef +import Mathlib.Analysis.Matrix.Hermitian + /-! # Positive operators diff --git a/Mathlib/Analysis/InnerProductSpace/Projection/Minimal.lean b/Mathlib/Analysis/InnerProductSpace/Projection/Minimal.lean index ad382634888257..3db1ec9be22bc1 100644 --- a/Mathlib/Analysis/InnerProductSpace/Projection/Minimal.lean +++ b/Mathlib/Analysis/InnerProductSpace/Projection/Minimal.lean @@ -6,6 +6,7 @@ Authors: Zhouhang Zhou, Frédéric Dupuis, Heather Macbeth module public import Mathlib.Analysis.InnerProductSpace.Basic + import Mathlib.Analysis.SpecificLimits.Basic /-! diff --git a/Mathlib/Analysis/InnerProductSpace/Rayleigh.lean b/Mathlib/Analysis/InnerProductSpace/Rayleigh.lean index 06edd0fad43c64..d1243a1d54c436 100644 --- a/Mathlib/Analysis/InnerProductSpace/Rayleigh.lean +++ b/Mathlib/Analysis/InnerProductSpace/Rayleigh.lean @@ -6,11 +6,12 @@ Authors: Heather Macbeth, Frédéric Dupuis module public import Mathlib.Analysis.InnerProductSpace.Adjoint -import Mathlib.Analysis.InnerProductSpace.Calculus public import Mathlib.Analysis.Normed.Algebra.Spectrum public import Mathlib.Analysis.Calculus.LagrangeMultipliers public import Mathlib.LinearAlgebra.Eigenspace.Basic +import Mathlib.Analysis.InnerProductSpace.Calculus + /-! # The Rayleigh quotient diff --git a/Mathlib/Analysis/InnerProductSpace/SingularValues.lean b/Mathlib/Analysis/InnerProductSpace/SingularValues.lean index 91cd28111ec28d..480ffe66a4a667 100644 --- a/Mathlib/Analysis/InnerProductSpace/SingularValues.lean +++ b/Mathlib/Analysis/InnerProductSpace/SingularValues.lean @@ -6,6 +6,7 @@ Authors: Niels Voss, Arnav Mehta module public import Mathlib.Analysis.InnerProductSpace.Positive + import Mathlib.LinearAlgebra.Eigenspace.Zero /-! diff --git a/Mathlib/Analysis/InnerProductSpace/Spectrum.lean b/Mathlib/Analysis/InnerProductSpace/Spectrum.lean index e356b7d7df361b..d2dc27ae1235f1 100644 --- a/Mathlib/Analysis/InnerProductSpace/Spectrum.lean +++ b/Mathlib/Analysis/InnerProductSpace/Spectrum.lean @@ -6,13 +6,14 @@ Authors: Heather Macbeth module public import Mathlib.Analysis.InnerProductSpace.Rayleigh -import Mathlib.Analysis.Normed.Operator.Compact.FredholmAlternative public import Mathlib.Analysis.Normed.Operator.Compact.FiniteDimension public import Mathlib.LinearAlgebra.Eigenspace.Charpoly -import Mathlib.LinearAlgebra.Eigenspace.ContinuousLinearMap public import Mathlib.LinearAlgebra.Eigenspace.Minpoly public import Mathlib.Data.Fin.Tuple.Sort +import Mathlib.Analysis.Normed.Operator.Compact.FredholmAlternative +import Mathlib.LinearAlgebra.Eigenspace.ContinuousLinearMap + /-! # Spectral theory of self-adjoint operators This file covers the spectral theory of self-adjoint operators on an inner product space. diff --git a/Mathlib/Analysis/InnerProductSpace/StarOrder.lean b/Mathlib/Analysis/InnerProductSpace/StarOrder.lean index a7ac76f92137a3..97d9195f0d8d54 100644 --- a/Mathlib/Analysis/InnerProductSpace/StarOrder.lean +++ b/Mathlib/Analysis/InnerProductSpace/StarOrder.lean @@ -7,6 +7,7 @@ module public import Mathlib.Analysis.InnerProductSpace.Positive public import Mathlib.Analysis.CStarAlgebra.ContinuousFunctionalCalculus.Basic + import Mathlib.Analysis.CStarAlgebra.ContinuousLinearMap /-! diff --git a/Mathlib/Analysis/InnerProductSpace/Symmetric.lean b/Mathlib/Analysis/InnerProductSpace/Symmetric.lean index 72d6c53e31f33f..8f5fb3fa44ec28 100644 --- a/Mathlib/Analysis/InnerProductSpace/Symmetric.lean +++ b/Mathlib/Analysis/InnerProductSpace/Symmetric.lean @@ -7,6 +7,7 @@ module public import Mathlib.Analysis.Normed.Operator.Banach public import Mathlib.Analysis.InnerProductSpace.Orthogonal + import Mathlib.Topology.Algebra.Module.ContinuousLinearMap.Idempotent /-! diff --git a/Mathlib/Analysis/InnerProductSpace/TensorProduct.lean b/Mathlib/Analysis/InnerProductSpace/TensorProduct.lean index e1cf1facaedf07..2b628814e39681 100644 --- a/Mathlib/Analysis/InnerProductSpace/TensorProduct.lean +++ b/Mathlib/Analysis/InnerProductSpace/TensorProduct.lean @@ -7,6 +7,7 @@ module public import Mathlib.Analysis.InnerProductSpace.Adjoint public import Mathlib.RingTheory.TensorProduct.Finite + import Mathlib.Analysis.InnerProductSpace.GramMatrix import Mathlib.Analysis.InnerProductSpace.Positive import Mathlib.Algebra.Order.Star.Real diff --git a/Mathlib/Analysis/LocallyConvex/ContinuousOfBounded.lean b/Mathlib/Analysis/LocallyConvex/ContinuousOfBounded.lean index 0937a4f3ab9fef..07637a2fdcae79 100644 --- a/Mathlib/Analysis/LocallyConvex/ContinuousOfBounded.lean +++ b/Mathlib/Analysis/LocallyConvex/ContinuousOfBounded.lean @@ -6,6 +6,7 @@ Authors: Moritz Doll module public import Mathlib.Analysis.LocallyConvex.Bounded + import Mathlib.Analysis.SpecificLimits.Normed /-! diff --git a/Mathlib/Analysis/LocallyConvex/HahnBanach.lean b/Mathlib/Analysis/LocallyConvex/HahnBanach.lean index 9524c016b16699..1e27b6fb5ced7c 100644 --- a/Mathlib/Analysis/LocallyConvex/HahnBanach.lean +++ b/Mathlib/Analysis/LocallyConvex/HahnBanach.lean @@ -5,11 +5,12 @@ Authors: Yongxi Lin -/ module -import Mathlib.Analysis.Convex.Cone.Extension public import Mathlib.Analysis.LocallyConvex.WeakDual public import Mathlib.Analysis.Normed.Module.RCLike.Extend public import Mathlib.Topology.Algebra.Module.FiniteDimension +import Mathlib.Analysis.Convex.Cone.Extension + /-! # Hahn-Banach theorem for polynormable spaces diff --git a/Mathlib/Analysis/LocallyConvex/PointwiseConvergence.lean b/Mathlib/Analysis/LocallyConvex/PointwiseConvergence.lean index 3cbe23bbe948ec..da7d08d73e971a 100644 --- a/Mathlib/Analysis/LocallyConvex/PointwiseConvergence.lean +++ b/Mathlib/Analysis/LocallyConvex/PointwiseConvergence.lean @@ -7,6 +7,7 @@ module public import Mathlib.Topology.Algebra.Module.Spaces.PointwiseConvergenceCLM public import Mathlib.Analysis.LocallyConvex.WithSeminorms + import Mathlib.Analysis.LocallyConvex.StrongTopology /-! diff --git a/Mathlib/Analysis/LocallyConvex/SeparatingDual.lean b/Mathlib/Analysis/LocallyConvex/SeparatingDual.lean index c0253e5b3686e0..ef6e8f5a069f9c 100644 --- a/Mathlib/Analysis/LocallyConvex/SeparatingDual.lean +++ b/Mathlib/Analysis/LocallyConvex/SeparatingDual.lean @@ -8,9 +8,10 @@ module public import Mathlib.Algebra.Central.Basic public import Mathlib.Analysis.LocallyConvex.Separation public import Mathlib.Analysis.LocallyConvex.WithSeminorms -import Mathlib.LinearAlgebra.Dual.Lemmas public import Mathlib.Topology.Algebra.Module.Spaces.ContinuousLinearMap +import Mathlib.LinearAlgebra.Dual.Lemmas + /-! # Spaces with separating dual diff --git a/Mathlib/Analysis/Matrix/Hermitian.lean b/Mathlib/Analysis/Matrix/Hermitian.lean index 9dbd853665b565..c01ba4e84592f4 100644 --- a/Mathlib/Analysis/Matrix/Hermitian.lean +++ b/Mathlib/Analysis/Matrix/Hermitian.lean @@ -7,6 +7,7 @@ module public import Mathlib.Analysis.InnerProductSpace.PiL2 public import Mathlib.LinearAlgebra.Matrix.Hermitian + import Mathlib.Analysis.InnerProductSpace.Adjoint /-! diff --git a/Mathlib/Analysis/Matrix/HermitianFunctionalCalculus.lean b/Mathlib/Analysis/Matrix/HermitianFunctionalCalculus.lean index f7f6e44d41400e..4392da0493e7a6 100644 --- a/Mathlib/Analysis/Matrix/HermitianFunctionalCalculus.lean +++ b/Mathlib/Analysis/Matrix/HermitianFunctionalCalculus.lean @@ -7,6 +7,7 @@ module public import Mathlib.Analysis.CStarAlgebra.ContinuousFunctionalCalculus.Unique public import Mathlib.Analysis.Matrix.Spectrum + import Mathlib.Topology.ContinuousMap.Units /-! diff --git a/Mathlib/Analysis/Matrix/Spectrum.lean b/Mathlib/Analysis/Matrix/Spectrum.lean index d942c96d30ec61..5af1845164c4a1 100644 --- a/Mathlib/Analysis/Matrix/Spectrum.lean +++ b/Mathlib/Analysis/Matrix/Spectrum.lean @@ -8,9 +8,10 @@ module public import Mathlib.Analysis.InnerProductSpace.Spectrum public import Mathlib.Analysis.Matrix.Hermitian public import Mathlib.LinearAlgebra.Eigenspace.Matrix -import Mathlib.LinearAlgebra.Matrix.Charpoly.Eigs public import Mathlib.LinearAlgebra.Matrix.Rank +import Mathlib.LinearAlgebra.Matrix.Charpoly.Eigs + /-! # Spectral theory of Hermitian matrices This file proves the spectral theorem for matrices. The proof of the spectral theorem is based on diff --git a/Mathlib/Analysis/MeanInequalities.lean b/Mathlib/Analysis/MeanInequalities.lean index 30634a3f70ebee..a14ae2719a64f2 100644 --- a/Mathlib/Analysis/MeanInequalities.lean +++ b/Mathlib/Analysis/MeanInequalities.lean @@ -6,11 +6,12 @@ Authors: Yury Kudryashov, Sébastien Gouëzel, Rémy Degenne, Jireh Loreaux module public import Mathlib.Algebra.BigOperators.Field -import Mathlib.Analysis.Convex.Jensen public import Mathlib.Analysis.Convex.SpecificFunctions.Basic public import Mathlib.Analysis.SpecialFunctions.Pow.NNReal public import Mathlib.Basic.Real.ConjExponents +import Mathlib.Analysis.Convex.Jensen + /-! # Mean value inequalities diff --git a/Mathlib/Analysis/MeanInequalitiesPow.lean b/Mathlib/Analysis/MeanInequalitiesPow.lean index af76b74a48238e..b15afba11b62fe 100644 --- a/Mathlib/Analysis/MeanInequalitiesPow.lean +++ b/Mathlib/Analysis/MeanInequalitiesPow.lean @@ -5,11 +5,12 @@ Authors: Yury Kudryashov, Sébastien Gouëzel, Rémy Degenne -/ module -import Mathlib.Analysis.Convex.Jensen public import Mathlib.Analysis.Convex.Mul -import Mathlib.Analysis.Convex.SpecificFunctions.Basic public import Mathlib.Analysis.SpecialFunctions.Pow.NNReal +import Mathlib.Analysis.Convex.Jensen +import Mathlib.Analysis.Convex.SpecificFunctions.Basic + /-! # Mean value inequalities diff --git a/Mathlib/Analysis/MellinTransform.lean b/Mathlib/Analysis/MellinTransform.lean index 6feca18920d679..6455dac208dbeb 100644 --- a/Mathlib/Analysis/MellinTransform.lean +++ b/Mathlib/Analysis/MellinTransform.lean @@ -6,6 +6,7 @@ Authors: David Loeffler module public import Mathlib.Analysis.SpecialFunctions.ImproperIntegrals + import Mathlib.Analysis.Calculus.ParametricIntegral /-! # The Mellin transform diff --git a/Mathlib/Analysis/Meromorphic/Divisor.lean b/Mathlib/Analysis/Meromorphic/Divisor.lean index 498a34ba5b6411..7354ec463d3839 100644 --- a/Mathlib/Analysis/Meromorphic/Divisor.lean +++ b/Mathlib/Analysis/Meromorphic/Divisor.lean @@ -5,10 +5,11 @@ Authors: Stefan Kebekus -/ module -import Mathlib.Analysis.Meromorphic.IsolatedZeros public import Mathlib.Analysis.Meromorphic.Order public import Mathlib.Topology.LocallyFinsupp +import Mathlib.Analysis.Meromorphic.IsolatedZeros + /-! # The Divisor of a meromorphic function diff --git a/Mathlib/Analysis/Normed/Affine/AddTorsorBases.lean b/Mathlib/Analysis/Normed/Affine/AddTorsorBases.lean index f4a704429030a0..8dc1e3d93b4a05 100644 --- a/Mathlib/Analysis/Normed/Affine/AddTorsorBases.lean +++ b/Mathlib/Analysis/Normed/Affine/AddTorsorBases.lean @@ -6,6 +6,7 @@ Authors: Oliver Nash module public import Mathlib.Analysis.Normed.Module.FiniteDimension + import Mathlib.LinearAlgebra.AffineSpace.FiniteDimensional /-! diff --git a/Mathlib/Analysis/Normed/Affine/Convex.lean b/Mathlib/Analysis/Normed/Affine/Convex.lean index 595197ea557025..2076919715b73e 100644 --- a/Mathlib/Analysis/Normed/Affine/Convex.lean +++ b/Mathlib/Analysis/Normed/Affine/Convex.lean @@ -6,9 +6,10 @@ Authors: Alexander Bentkamp, Yury Kudryashov module public import Mathlib.Analysis.Convex.Between -import Mathlib.Analysis.Normed.Affine.AddTorsor public import Mathlib.Analysis.Normed.Affine.AddTorsorBases +import Mathlib.Analysis.Normed.Affine.AddTorsor + /-! # Simplices in normed affine spaces diff --git a/Mathlib/Analysis/Normed/Algebra/Basic.lean b/Mathlib/Analysis/Normed/Algebra/Basic.lean index a94d9899f30dd3..66c2f0650503c3 100644 --- a/Mathlib/Analysis/Normed/Algebra/Basic.lean +++ b/Mathlib/Analysis/Normed/Algebra/Basic.lean @@ -5,9 +5,10 @@ Authors: Frédéric Dupuis -/ module -import Mathlib.Analysis.Normed.Module.WeakDual public import Mathlib.Analysis.Normed.Algebra.Spectrum +import Mathlib.Analysis.Normed.Module.WeakDual + /-! # Normed algebras diff --git a/Mathlib/Analysis/Normed/Algebra/Exponential.lean b/Mathlib/Analysis/Normed/Algebra/Exponential.lean index c6ce78a13c1ad3..abfaa125e9b213 100644 --- a/Mathlib/Analysis/Normed/Algebra/Exponential.lean +++ b/Mathlib/Analysis/Normed/Algebra/Exponential.lean @@ -5,13 +5,14 @@ Authors: Anatole Dedecker, Eric Wieser, Yuyang Zhao -/ module -import Mathlib.Algebra.Algebra.TransferInstance public import Mathlib.Algebra.Ring.Action.ConjAct public import Mathlib.Analysis.Analytic.ChangeOrigin public import Mathlib.Analysis.Complex.Basic -import Mathlib.Data.Nat.Choose.Cast public import Mathlib.Analysis.Analytic.OfScalars +import Mathlib.Algebra.Algebra.TransferInstance +import Mathlib.Data.Nat.Choose.Cast + /-! # Exponential in a Banach algebra diff --git a/Mathlib/Analysis/Normed/Algebra/GelfandFormula.lean b/Mathlib/Analysis/Normed/Algebra/GelfandFormula.lean index 0a248197e2064b..374664775c1254 100644 --- a/Mathlib/Analysis/Normed/Algebra/GelfandFormula.lean +++ b/Mathlib/Analysis/Normed/Algebra/GelfandFormula.lean @@ -8,6 +8,7 @@ module public import Mathlib.Analysis.Normed.Algebra.Spectrum public import Mathlib.Analysis.Calculus.Deriv.Basic public import Mathlib.Analysis.Normed.Operator.Mul + import Mathlib.Analysis.Complex.Polynomial.Basic import Mathlib.Analysis.Analytic.RadiusLiminf diff --git a/Mathlib/Analysis/Normed/Algebra/Logarithm.lean b/Mathlib/Analysis/Normed/Algebra/Logarithm.lean index 4c22aa2336b3a0..f8a1ed39a16f9a 100644 --- a/Mathlib/Analysis/Normed/Algebra/Logarithm.lean +++ b/Mathlib/Analysis/Normed/Algebra/Logarithm.lean @@ -5,9 +5,10 @@ Authors: Kevin Buzzard -/ module -import Mathlib.Algebra.Algebra.TransferInstance public import Mathlib.Analysis.Analytic.OfScalars +import Mathlib.Algebra.Algebra.TransferInstance + /-! # The logarithm in a topological algebra diff --git a/Mathlib/Analysis/Normed/Algebra/MatrixExponential.lean b/Mathlib/Analysis/Normed/Algebra/MatrixExponential.lean index e60269eb7e5150..40004b06112451 100644 --- a/Mathlib/Analysis/Normed/Algebra/MatrixExponential.lean +++ b/Mathlib/Analysis/Normed/Algebra/MatrixExponential.lean @@ -6,11 +6,12 @@ Authors: Eric Wieser module public import Mathlib.Analysis.Normed.Algebra.Exponential -import Mathlib.Analysis.Matrix.Normed public import Mathlib.LinearAlgebra.Matrix.Hermitian -import Mathlib.Topology.UniformSpace.Matrix public import Mathlib.Topology.Instances.Matrix +import Mathlib.Analysis.Matrix.Normed +import Mathlib.Topology.UniformSpace.Matrix + /-! # Lemmas about the matrix exponential diff --git a/Mathlib/Analysis/Normed/Algebra/Spectrum.lean b/Mathlib/Analysis/Normed/Algebra/Spectrum.lean index 9d8e2f060b4bb8..ff0c8d722239fc 100644 --- a/Mathlib/Analysis/Normed/Algebra/Spectrum.lean +++ b/Mathlib/Analysis/Normed/Algebra/Spectrum.lean @@ -8,10 +8,11 @@ module public import Mathlib.Analysis.Real.Spectrum public import Mathlib.Analysis.Normed.Algebra.Exponential public import Mathlib.Analysis.Normed.Algebra.UnitizationL1 -import Mathlib.Analysis.Normed.Ring.Units -import Mathlib.Analysis.SpecialFunctions.Pow.Continuity public import Mathlib.FieldTheory.IsAlgClosed.Spectrum public import Mathlib.Topology.Algebra.Module.Spaces.CharacterSpace + +import Mathlib.Analysis.Normed.Ring.Units +import Mathlib.Analysis.SpecialFunctions.Pow.Continuity import Mathlib.Topology.Semicontinuity.Hemicontinuity /-! diff --git a/Mathlib/Analysis/Normed/Field/Approximation.lean b/Mathlib/Analysis/Normed/Field/Approximation.lean index f1f813096042fe..228ec8efad3602 100644 --- a/Mathlib/Analysis/Normed/Field/Approximation.lean +++ b/Mathlib/Analysis/Normed/Field/Approximation.lean @@ -7,6 +7,7 @@ module public import Mathlib.Algebra.Polynomial.Splits public import Mathlib.Analysis.Normed.Unbundled.RingSeminorm + import Mathlib.RingTheory.LocalRing.Basic /-! diff --git a/Mathlib/Analysis/Normed/Field/Basic.lean b/Mathlib/Analysis/Normed/Field/Basic.lean index eb6f5f01f9a432..b6352ad10ddbbf 100644 --- a/Mathlib/Analysis/Normed/Field/Basic.lean +++ b/Mathlib/Analysis/Normed/Field/Basic.lean @@ -6,9 +6,10 @@ Authors: Patrick Massot, Johannes Hölzl module public import Mathlib.Algebra.Field.Subfield.Defs -import Mathlib.Algebra.Order.Group.Pointwise.Interval public import Mathlib.Analysis.Normed.Ring.Basic +import Mathlib.Algebra.Order.Group.Pointwise.Interval + /-! # Normed division rings and fields diff --git a/Mathlib/Analysis/Normed/Field/Dense.lean b/Mathlib/Analysis/Normed/Field/Dense.lean index 46365576bbe08a..4233323b383571 100644 --- a/Mathlib/Analysis/Normed/Field/Dense.lean +++ b/Mathlib/Analysis/Normed/Field/Dense.lean @@ -5,9 +5,10 @@ Authors: Jiedong Jiang -/ module -import Mathlib.Analysis.Normed.Field.Approximation public import Mathlib.Analysis.Normed.Field.Krasner +import Mathlib.Analysis.Normed.Field.Approximation + /-! # Transfer algebraic properties from dense subfields diff --git a/Mathlib/Analysis/Normed/Field/Instances.lean b/Mathlib/Analysis/Normed/Field/Instances.lean index 606d10649fa53a..b754f32f8cb7d7 100644 --- a/Mathlib/Analysis/Normed/Field/Instances.lean +++ b/Mathlib/Analysis/Normed/Field/Instances.lean @@ -6,9 +6,10 @@ Authors: Michael Stoll, Patrick Massot, Anatole Dedecker module public import Mathlib.Analysis.Normed.Field.Basic +public import Mathlib.Topology.Algebra.UniformField + import Mathlib.Analysis.Normed.Ring.Lemmas import Mathlib.Order.Filter.IsBounded -public import Mathlib.Topology.Algebra.UniformField /-! # A normed field is a completable topological field diff --git a/Mathlib/Analysis/Normed/Field/Lemmas.lean b/Mathlib/Analysis/Normed/Field/Lemmas.lean index 45e279ea0d992b..72d3a914a561e0 100644 --- a/Mathlib/Analysis/Normed/Field/Lemmas.lean +++ b/Mathlib/Analysis/Normed/Field/Lemmas.lean @@ -9,6 +9,7 @@ public import Mathlib.Analysis.Normed.Field.Basic public import Mathlib.Analysis.Normed.Group.Rat public import Mathlib.Analysis.Normed.Ring.Lemmas public import Mathlib.Topology.MetricSpace.DilationEquiv + import Mathlib.Analysis.Normed.MulAction /-! diff --git a/Mathlib/Analysis/Normed/Field/TransferInstance.lean b/Mathlib/Analysis/Normed/Field/TransferInstance.lean index 2801dacaab7dc3..1032842e9f061a 100644 --- a/Mathlib/Analysis/Normed/Field/TransferInstance.lean +++ b/Mathlib/Analysis/Normed/Field/TransferInstance.lean @@ -7,6 +7,7 @@ module public import Mathlib.Algebra.Field.TransferInstance public import Mathlib.Analysis.Normed.Field.Basic + import Mathlib.Data.EReal.Operations import Mathlib.Topology.MetricSpace.Bounded diff --git a/Mathlib/Analysis/Normed/Field/Ultra.lean b/Mathlib/Analysis/Normed/Field/Ultra.lean index 9c15bd954c702d..7473e6e8c82379 100644 --- a/Mathlib/Analysis/Normed/Field/Ultra.lean +++ b/Mathlib/Analysis/Normed/Field/Ultra.lean @@ -7,6 +7,7 @@ module public import Mathlib.Analysis.Normed.Field.Basic public import Mathlib.Analysis.Normed.Ring.Ultra + import Mathlib.Data.Nat.Choose.Sum /-! diff --git a/Mathlib/Analysis/Normed/Field/WithAbs.lean b/Mathlib/Analysis/Normed/Field/WithAbs.lean index a9de3b756f456f..654b5163ca27c9 100644 --- a/Mathlib/Analysis/Normed/Field/WithAbs.lean +++ b/Mathlib/Analysis/Normed/Field/WithAbs.lean @@ -8,11 +8,12 @@ module public import Mathlib.Analysis.Normed.Field.Lemmas public import Mathlib.Analysis.Normed.Field.TransferInstance public import Mathlib.Analysis.Normed.Ring.WithAbs -import Mathlib.Analysis.SpecificLimits.Basic public import Mathlib.FieldTheory.Separable -import Mathlib.Topology.Algebra.UniformField public import Mathlib.Topology.MetricSpace.Completion +import Mathlib.Analysis.SpecificLimits.Basic +import Mathlib.Topology.Algebra.UniformField + /-! # WithAbs for fields diff --git a/Mathlib/Analysis/Normed/Group/Basic.lean b/Mathlib/Analysis/Normed/Group/Basic.lean index bbbec742226338..d35a969b0e38c8 100644 --- a/Mathlib/Analysis/Normed/Group/Basic.lean +++ b/Mathlib/Analysis/Normed/Group/Basic.lean @@ -9,6 +9,7 @@ public import Mathlib.Analysis.Normed.Group.Defs public import Mathlib.Basic.NNReal.Basic public import Mathlib.Topology.Algebra.Support public import Mathlib.Topology.MetricSpace.Basic + import Mathlib.Tactic.Basify.Attr /-! diff --git a/Mathlib/Analysis/Normed/Group/Completeness.lean b/Mathlib/Analysis/Normed/Group/Completeness.lean index a1c75793bab7ab..868af0c2cb105f 100644 --- a/Mathlib/Analysis/Normed/Group/Completeness.lean +++ b/Mathlib/Analysis/Normed/Group/Completeness.lean @@ -6,6 +6,7 @@ Authors: Frédéric Dupuis module public import Mathlib.Analysis.Normed.Group.Uniform + import Mathlib.Analysis.SpecificLimits.Basic /-! diff --git a/Mathlib/Analysis/Normed/Group/ControlledClosure.lean b/Mathlib/Analysis/Normed/Group/ControlledClosure.lean index 7c3ea4feb31527..f20eb88f3bf692 100644 --- a/Mathlib/Analysis/Normed/Group/ControlledClosure.lean +++ b/Mathlib/Analysis/Normed/Group/ControlledClosure.lean @@ -6,6 +6,7 @@ Authors: Patrick Massot module public import Mathlib.Analysis.Normed.Group.Hom + import Mathlib.Analysis.SpecificLimits.Normed /-! # Extending a backward bound on a normed group homomorphism from a dense set diff --git a/Mathlib/Analysis/Normed/Group/Defs.lean b/Mathlib/Analysis/Normed/Group/Defs.lean index 32d38d8eb906c6..1f8acd958c5bf7 100644 --- a/Mathlib/Analysis/Normed/Group/Defs.lean +++ b/Mathlib/Analysis/Normed/Group/Defs.lean @@ -11,6 +11,7 @@ public import Mathlib.Algebra.Order.BigOperators.Ring.Finset public import Mathlib.Algebra.Order.Module.Field public import Mathlib.Tactic.Group public import Mathlib.Topology.MetricSpace.Defs + import Mathlib.Tactic.Basify.Attr /-! diff --git a/Mathlib/Analysis/Normed/Group/Indicator.lean b/Mathlib/Analysis/Normed/Group/Indicator.lean index 7fd796b19b34ad..b51e3fb44ba0cc 100644 --- a/Mathlib/Analysis/Normed/Group/Indicator.lean +++ b/Mathlib/Analysis/Normed/Group/Indicator.lean @@ -5,9 +5,10 @@ Authors: Zhouhang Zhou, Yury Kudryashov -/ module -import Mathlib.Algebra.Order.Group.Indicator public import Mathlib.Analysis.Normed.Group.Basic +import Mathlib.Algebra.Order.Group.Indicator + /-! # Indicator function and (e)norm diff --git a/Mathlib/Analysis/Normed/Group/NullSubmodule.lean b/Mathlib/Analysis/Normed/Group/NullSubmodule.lean index 9c84ceb261b2d4..8ba89ab6c4e803 100644 --- a/Mathlib/Analysis/Normed/Group/NullSubmodule.lean +++ b/Mathlib/Analysis/Normed/Group/NullSubmodule.lean @@ -5,9 +5,10 @@ Authors: Yoh Tanimoto -/ module -import Mathlib.Analysis.Normed.Group.Continuity public import Mathlib.Analysis.Normed.MulAction +import Mathlib.Analysis.Normed.Group.Continuity + /-! # The null subgroup in a seminormed commutative group diff --git a/Mathlib/Analysis/Normed/Group/Pointwise.lean b/Mathlib/Analysis/Normed/Group/Pointwise.lean index c06ee3c8944674..a8abfe9fc94592 100644 --- a/Mathlib/Analysis/Normed/Group/Pointwise.lean +++ b/Mathlib/Analysis/Normed/Group/Pointwise.lean @@ -5,10 +5,11 @@ Authors: Sébastien Gouëzel, Yaël Dillies -/ module -import Mathlib.Analysis.Normed.Group.Bounded public import Mathlib.Analysis.Normed.Group.Uniform public import Mathlib.Topology.MetricSpace.Thickening +import Mathlib.Analysis.Normed.Group.Bounded + /-! # Properties of pointwise addition of sets in normed groups diff --git a/Mathlib/Analysis/Normed/Group/Tannery.lean b/Mathlib/Analysis/Normed/Group/Tannery.lean index 81edbdb04b0b80..11730d60a78f26 100644 --- a/Mathlib/Analysis/Normed/Group/Tannery.lean +++ b/Mathlib/Analysis/Normed/Group/Tannery.lean @@ -5,10 +5,11 @@ Authors: David Loeffler -/ module -import Mathlib.Analysis.Normed.Group.InfiniteSum -import Mathlib.Algebra.Order.BigOperators.Expect public import Mathlib.Analysis.Normed.Ring.Basic public import Mathlib.Analysis.Real.Sqrt + +import Mathlib.Analysis.Normed.Group.InfiniteSum +import Mathlib.Algebra.Order.BigOperators.Expect import Mathlib.Tactic.ContinuousFunctionalCalculus /-! diff --git a/Mathlib/Analysis/Normed/Lp/lpHolder.lean b/Mathlib/Analysis/Normed/Lp/lpHolder.lean index f56a7014756089..3728d24d4284aa 100644 --- a/Mathlib/Analysis/Normed/Lp/lpHolder.lean +++ b/Mathlib/Analysis/Normed/Lp/lpHolder.lean @@ -7,6 +7,7 @@ module public import Mathlib.Analysis.Normed.Lp.lpSpace public import Mathlib.Analysis.Normed.Operator.Bilinear + import Mathlib.Tactic.Positivity.Finset /-! # Hölder's inequality for `lp` spaces diff --git a/Mathlib/Analysis/Normed/Lp/lpSpace.lean b/Mathlib/Analysis/Normed/Lp/lpSpace.lean index 257c626c66f2f8..31e62e9c304cb6 100644 --- a/Mathlib/Analysis/Normed/Lp/lpSpace.lean +++ b/Mathlib/Analysis/Normed/Lp/lpSpace.lean @@ -6,10 +6,11 @@ Authors: Heather Macbeth, Jireh Loreaux module public import Mathlib.Analysis.MeanInequalities -import Mathlib.Analysis.MeanInequalitiesPow public import Mathlib.Analysis.SpecialFunctions.Pow.Continuity public import Mathlib.Algebra.Order.Group.Pointwise.Bounds +import Mathlib.Analysis.MeanInequalitiesPow + /-! # ℓp space diff --git a/Mathlib/Analysis/Normed/Module/Ball/RadialEquiv.lean b/Mathlib/Analysis/Normed/Module/Ball/RadialEquiv.lean index 59bb924aa40b70..311c5932b3977b 100644 --- a/Mathlib/Analysis/Normed/Module/Ball/RadialEquiv.lean +++ b/Mathlib/Analysis/Normed/Module/Ball/RadialEquiv.lean @@ -6,6 +6,7 @@ Authors: Yury Kudryashov module public import Mathlib.Analysis.Normed.Module.Basic + import Mathlib.Algebra.Ring.Action.Pointwise.Set /-! diff --git a/Mathlib/Analysis/Normed/Module/Bases.lean b/Mathlib/Analysis/Normed/Module/Bases.lean index 6dbeabc73b7a88..f8e0aa873256f1 100644 --- a/Mathlib/Analysis/Normed/Module/Bases.lean +++ b/Mathlib/Analysis/Normed/Module/Bases.lean @@ -5,9 +5,10 @@ Authors: Michał Świętek -/ module -import Mathlib.Analysis.Normed.Group.InfiniteSum public import Mathlib.Analysis.Normed.Operator.BanachSteinhaus public import Mathlib.LinearAlgebra.FiniteDimensional.Lemmas + +import Mathlib.Analysis.Normed.Group.InfiniteSum import Mathlib.Algebra.Order.Field.Power import Mathlib.Data.Nat.Totient import Mathlib.Data.Sym.Sym2 diff --git a/Mathlib/Analysis/Normed/Module/Complemented.lean b/Mathlib/Analysis/Normed/Module/Complemented.lean index 2644fd97721d07..1979af8e5997a3 100644 --- a/Mathlib/Analysis/Normed/Module/Complemented.lean +++ b/Mathlib/Analysis/Normed/Module/Complemented.lean @@ -7,6 +7,7 @@ module public import Mathlib.Analysis.Normed.Operator.Banach public import Mathlib.Topology.Algebra.Module.Complement + import Mathlib.Algebra.Order.Field.Power import Mathlib.Data.Nat.Totient import Mathlib.Data.Sym.Sym2 diff --git a/Mathlib/Analysis/Normed/Module/Connected.lean b/Mathlib/Analysis/Normed/Module/Connected.lean index 8f89797575f05f..4f4d400502c293 100644 --- a/Mathlib/Analysis/Normed/Module/Connected.lean +++ b/Mathlib/Analysis/Normed/Module/Connected.lean @@ -6,11 +6,12 @@ Authors: Sébastien Gouëzel module public import Mathlib.Analysis.Convex.Contractible -import Mathlib.Analysis.Convex.Topology -import Mathlib.Analysis.Normed.Module.Convex public import Mathlib.LinearAlgebra.Dimension.DivisionRing public import Mathlib.Topology.Algebra.Module.Cardinality +import Mathlib.Analysis.Convex.Topology +import Mathlib.Analysis.Normed.Module.Convex + /-! # Connectedness of subsets of vector spaces diff --git a/Mathlib/Analysis/Normed/Module/FiniteDimension.lean b/Mathlib/Analysis/Normed/Module/FiniteDimension.lean index 9ad8dcffe887aa..aa7ff5cd181b5a 100644 --- a/Mathlib/Analysis/Normed/Module/FiniteDimension.lean +++ b/Mathlib/Analysis/Normed/Module/FiniteDimension.lean @@ -9,12 +9,13 @@ public import Mathlib.Analysis.Asymptotics.AsymptoticEquivalent public import Mathlib.Analysis.Normed.Group.Lemmas public import Mathlib.Analysis.Normed.Affine.Isometry public import Mathlib.Analysis.Normed.Module.RieszLemma -import Mathlib.Analysis.Normed.Module.Ball.Pointwise public import Mathlib.Topology.Algebra.Module.FiniteDimension -import Mathlib.Topology.Algebra.InfiniteSum.Module public import Mathlib.Topology.Instances.Matrix public import Mathlib.LinearAlgebra.Dimension.LinearMap +import Mathlib.Analysis.Normed.Module.Ball.Pointwise +import Mathlib.Topology.Algebra.InfiniteSum.Module + /-! # Finite-dimensional normed spaces over complete fields diff --git a/Mathlib/Analysis/Normed/Module/MStructure.lean b/Mathlib/Analysis/Normed/Module/MStructure.lean index cb993d92468b03..e2d5d5ce1517a0 100644 --- a/Mathlib/Analysis/Normed/Module/MStructure.lean +++ b/Mathlib/Analysis/Normed/Module/MStructure.lean @@ -7,6 +7,7 @@ module public import Mathlib.Algebra.Ring.Idempotent public import Mathlib.Analysis.Normed.Group.Basic + import Mathlib.Tactic.NoncommRing /-! diff --git a/Mathlib/Analysis/Normed/Module/MultipliableUniformlyOn.lean b/Mathlib/Analysis/Normed/Module/MultipliableUniformlyOn.lean index a750831d575335..5ef6f38bce1a4e 100644 --- a/Mathlib/Analysis/Normed/Module/MultipliableUniformlyOn.lean +++ b/Mathlib/Analysis/Normed/Module/MultipliableUniformlyOn.lean @@ -7,6 +7,7 @@ module public import Mathlib.Analysis.SpecialFunctions.Log.Summable public import Mathlib.Topology.Algebra.InfiniteSum.UniformOn + import Mathlib.Topology.Algebra.IsUniformGroup.Order /-! diff --git a/Mathlib/Analysis/Normed/Module/PiTensorProduct/InjectiveSeminorm.lean b/Mathlib/Analysis/Normed/Module/PiTensorProduct/InjectiveSeminorm.lean index 616c6e2d435367..aaad4298328bec 100644 --- a/Mathlib/Analysis/Normed/Module/PiTensorProduct/InjectiveSeminorm.lean +++ b/Mathlib/Analysis/Normed/Module/PiTensorProduct/InjectiveSeminorm.lean @@ -6,6 +6,7 @@ Authors: Sophie Morel module public import Mathlib.Analysis.Normed.Module.PiTensorProduct.ProjectiveSeminorm + import Mathlib.LinearAlgebra.Isomorphisms /-! diff --git a/Mathlib/Analysis/Normed/Module/Seminorm/Basic.lean b/Mathlib/Analysis/Normed/Module/Seminorm/Basic.lean index 60d7ee2b956d29..f78d1a1a8651fc 100644 --- a/Mathlib/Analysis/Normed/Module/Seminorm/Basic.lean +++ b/Mathlib/Analysis/Normed/Module/Seminorm/Basic.lean @@ -5,10 +5,11 @@ Authors: Jean Lo, Yaël Dillies, Moritz Doll -/ module -import Mathlib.Algebra.Order.Pi public import Mathlib.Analysis.Convex.Function public import Mathlib.Analysis.LocallyConvex.Basic +import Mathlib.Algebra.Order.Pi + /-! # Seminorms diff --git a/Mathlib/Analysis/Normed/Module/WeakDual.lean b/Mathlib/Analysis/Normed/Module/WeakDual.lean index 8141bdd00f0849..a0911fe7ef42d5 100644 --- a/Mathlib/Analysis/Normed/Module/WeakDual.lean +++ b/Mathlib/Analysis/Normed/Module/WeakDual.lean @@ -6,11 +6,12 @@ Authors: Kalle Kytölä, Yury Kudryashov, Michał Świętek module public import Mathlib.Analysis.Normed.Module.Dual -import Mathlib.Analysis.Normed.Operator.Completeness public import Mathlib.Topology.Algebra.Module.Spaces.WeakDual +public import Mathlib.Analysis.LocallyConvex.WeakDual + +import Mathlib.Analysis.Normed.Operator.Completeness import Mathlib.Topology.MetricSpace.PiNat import Mathlib.Analysis.Normed.Operator.BanachSteinhaus -public import Mathlib.Analysis.LocallyConvex.WeakDual /-! # Weak dual of normed space diff --git a/Mathlib/Analysis/Normed/Operator/Banach.lean b/Mathlib/Analysis/Normed/Operator/Banach.lean index 7ad74becdd4fc7..58ced8b3b40be7 100644 --- a/Mathlib/Analysis/Normed/Operator/Banach.lean +++ b/Mathlib/Analysis/Normed/Operator/Banach.lean @@ -8,9 +8,10 @@ module public import Mathlib.Algebra.Algebra.Spectrum.Basic public import Mathlib.Topology.Baire.CompleteMetrizable public import Mathlib.Analysis.Normed.Operator.NormedSpace -import Mathlib.Analysis.Normed.Group.InfiniteSum public import Mathlib.Analysis.Normed.Group.AddTorsor +import Mathlib.Analysis.Normed.Group.InfiniteSum + /-! # Banach open mapping theorem diff --git a/Mathlib/Analysis/Normed/Operator/BanachSteinhaus.lean b/Mathlib/Analysis/Normed/Operator/BanachSteinhaus.lean index ebe6f6fbe6fc14..d8d1c3147cc4e2 100644 --- a/Mathlib/Analysis/Normed/Operator/BanachSteinhaus.lean +++ b/Mathlib/Analysis/Normed/Operator/BanachSteinhaus.lean @@ -6,6 +6,7 @@ Authors: Jireh Loreaux module public import Mathlib.Analysis.Normed.Operator.NormedSpace + import Mathlib.Analysis.LocallyConvex.Barrelled import Mathlib.Topology.Baire.CompleteMetrizable diff --git a/Mathlib/Analysis/Normed/Operator/Compact/FredholmAlternative.lean b/Mathlib/Analysis/Normed/Operator/Compact/FredholmAlternative.lean index e433eb68cb988b..98842d83b6cf2c 100644 --- a/Mathlib/Analysis/Normed/Operator/Compact/FredholmAlternative.lean +++ b/Mathlib/Analysis/Normed/Operator/Compact/FredholmAlternative.lean @@ -5,12 +5,13 @@ Authors: Bhavik Mehta -/ module +public import Mathlib.Analysis.Normed.Operator.Compact.Basic +public import Mathlib.LinearAlgebra.Eigenspace.Basic + import Mathlib.Algebra.Order.Ring.Star import Mathlib.Analysis.Normed.Module.RieszLemma import Mathlib.Analysis.Normed.Operator.Banach import Mathlib.Analysis.Normed.Operator.BoundedLinearMaps -public import Mathlib.Analysis.Normed.Operator.Compact.Basic -public import Mathlib.LinearAlgebra.Eigenspace.Basic /-! # Spectral theory of compact operators diff --git a/Mathlib/Analysis/Normed/Operator/CompleteCodomain.lean b/Mathlib/Analysis/Normed/Operator/CompleteCodomain.lean index 7b8eddfa4efbaa..f183ffe41fe171 100644 --- a/Mathlib/Analysis/Normed/Operator/CompleteCodomain.lean +++ b/Mathlib/Analysis/Normed/Operator/CompleteCodomain.lean @@ -7,6 +7,7 @@ module public import Mathlib.Analysis.LocallyConvex.SeparatingDual public import Mathlib.Analysis.Normed.Module.Multilinear.Basic + import Mathlib.LinearAlgebra.Dual.Lemmas /-! # Completeness of spaces of linear and multilinear maps diff --git a/Mathlib/Analysis/Normed/Operator/Completeness.lean b/Mathlib/Analysis/Normed/Operator/Completeness.lean index 5b9582648fa4b6..2b83b13f6d0b6c 100644 --- a/Mathlib/Analysis/Normed/Operator/Completeness.lean +++ b/Mathlib/Analysis/Normed/Operator/Completeness.lean @@ -5,9 +5,10 @@ Authors: Jan-David Salchow, Sébastien Gouëzel, Jean Lo -/ module -import Mathlib.Analysis.Normed.Operator.Bilinear public import Mathlib.Analysis.Normed.Operator.NNNorm +import Mathlib.Analysis.Normed.Operator.Bilinear + /-! # Operators on complete normed spaces diff --git a/Mathlib/Analysis/Normed/Operator/Perturbation/StrictByFinite.lean b/Mathlib/Analysis/Normed/Operator/Perturbation/StrictByFinite.lean index 4548acc44f5b0e..bae66bdbaffd82 100644 --- a/Mathlib/Analysis/Normed/Operator/Perturbation/StrictByFinite.lean +++ b/Mathlib/Analysis/Normed/Operator/Perturbation/StrictByFinite.lean @@ -6,10 +6,11 @@ Authors: Anatole Dedecker module public import Mathlib.Topology.Maps.Strict.Module -import Mathlib.Topology.LocalAtTarget public import Mathlib.Topology.Algebra.Module.FiniteDimension public import Mathlib.Algebra.Module.LinearMap.FiniteRange +import Mathlib.Topology.LocalAtTarget + /-! # Strict linear maps with closed range are closed under finite-rank perturbation diff --git a/Mathlib/Analysis/Normed/Order/UpperLower.lean b/Mathlib/Analysis/Normed/Order/UpperLower.lean index 325066d0a42f64..32b75df29c54b6 100644 --- a/Mathlib/Analysis/Normed/Order/UpperLower.lean +++ b/Mathlib/Analysis/Normed/Order/UpperLower.lean @@ -5,15 +5,15 @@ Authors: Yaël Dillies -/ module +public import Mathlib.Analysis.Normed.Group.Pointwise +public import Mathlib.Analysis.Normed.Order.Lattice + import Mathlib.Algebra.Order.Field.Pi import Mathlib.Algebra.Order.Pi import Mathlib.Analysis.Normed.Field.Basic import Mathlib.Topology.Algebra.Order.UpperLower import Mathlib.Topology.MetricSpace.Sequences -public import Mathlib.Analysis.Normed.Group.Pointwise -public import Mathlib.Analysis.Normed.Order.Lattice - /-! # Upper/lower/order-connected sets in normed groups diff --git a/Mathlib/Analysis/Normed/Ring/InfiniteProd.lean b/Mathlib/Analysis/Normed/Ring/InfiniteProd.lean index 7ac0d551f80c24..a874daf73788a6 100644 --- a/Mathlib/Analysis/Normed/Ring/InfiniteProd.lean +++ b/Mathlib/Analysis/Normed/Ring/InfiniteProd.lean @@ -5,9 +5,10 @@ Authors: Chris Birkbeck -/ module -import Mathlib.Analysis.SpecialFunctions.Log.Summable public import Mathlib.Analysis.Normed.Group.Tannery +import Mathlib.Analysis.SpecialFunctions.Log.Summable + /-! # Infinite products in normed rings diff --git a/Mathlib/Analysis/Normed/Ring/InfiniteSum.lean b/Mathlib/Analysis/Normed/Ring/InfiniteSum.lean index 70d77f4b5221d6..c8f85b5ba25e00 100644 --- a/Mathlib/Analysis/Normed/Ring/InfiniteSum.lean +++ b/Mathlib/Analysis/Normed/Ring/InfiniteSum.lean @@ -5,9 +5,10 @@ Authors: Anatole Dedecker -/ module +public import Mathlib.Analysis.Normed.Ring.Lemmas + import Mathlib.Analysis.Normed.Group.InfiniteSum import Mathlib.Topology.Algebra.InfiniteSum.Real -public import Mathlib.Analysis.Normed.Ring.Lemmas /-! # Multiplying two infinite sums in a normed ring diff --git a/Mathlib/Analysis/Normed/Unbundled/FiniteExtension.lean b/Mathlib/Analysis/Normed/Unbundled/FiniteExtension.lean index 1836dd12f20dc5..e78b0e11574377 100644 --- a/Mathlib/Analysis/Normed/Unbundled/FiniteExtension.lean +++ b/Mathlib/Analysis/Normed/Unbundled/FiniteExtension.lean @@ -6,10 +6,11 @@ Authors: María Inés de Frutos-Fernández module public import Mathlib.Analysis.Normed.Unbundled.AlgebraNorm -import Mathlib.Analysis.Normed.Unbundled.SeminormFromBounded public import Mathlib.Analysis.Normed.Unbundled.SmoothingSeminorm public import Mathlib.LinearAlgebra.FiniteDimensional.Defs +import Mathlib.Analysis.Normed.Unbundled.SeminormFromBounded + /-! # Basis.norm diff --git a/Mathlib/Analysis/Normed/Unbundled/IsPowMulFaithful.lean b/Mathlib/Analysis/Normed/Unbundled/IsPowMulFaithful.lean index bd8867a8adc826..f2a4ddb7a23625 100644 --- a/Mathlib/Analysis/Normed/Unbundled/IsPowMulFaithful.lean +++ b/Mathlib/Analysis/Normed/Unbundled/IsPowMulFaithful.lean @@ -6,6 +6,7 @@ Authors: María Inés de Frutos-Fernández module public import Mathlib.Analysis.Normed.Unbundled.AlgebraNorm + import Mathlib.Analysis.SpecialFunctions.Pow.Continuity /-! diff --git a/Mathlib/Analysis/Normed/Unbundled/SmoothingSeminorm.lean b/Mathlib/Analysis/Normed/Unbundled/SmoothingSeminorm.lean index ab799464e356e1..0ed6edf8c517d8 100644 --- a/Mathlib/Analysis/Normed/Unbundled/SmoothingSeminorm.lean +++ b/Mathlib/Analysis/Normed/Unbundled/SmoothingSeminorm.lean @@ -5,9 +5,10 @@ Authors: María Inés de Frutos-Fernández -/ module -import Mathlib.Algebra.Order.GroupWithZero.Bounds public import Mathlib.Analysis.Normed.Unbundled.RingSeminorm public import Mathlib.Analysis.SpecialFunctions.Pow.Continuity + +import Mathlib.Algebra.Order.GroupWithZero.Bounds import Mathlib.Topology.MetricSpace.Sequences import Mathlib.Topology.UnitInterval import Mathlib.Topology.Algebra.Order.LiminfLimsup diff --git a/Mathlib/Analysis/Normed/Unbundled/SpectralNorm.lean b/Mathlib/Analysis/Normed/Unbundled/SpectralNorm.lean index a182d8adb82854..b4fa0863973db0 100644 --- a/Mathlib/Analysis/Normed/Unbundled/SpectralNorm.lean +++ b/Mathlib/Analysis/Normed/Unbundled/SpectralNorm.lean @@ -7,10 +7,11 @@ module public import Mathlib.Analysis.Normed.Operator.BoundedLinearMaps public import Mathlib.Analysis.Normed.Unbundled.InvariantExtension -import Mathlib.Analysis.Normed.Unbundled.IsPowMulFaithful -import Mathlib.Analysis.Normed.Unbundled.SeminormFromConst public import Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure public import Mathlib.FieldTheory.Normal.Closure + +import Mathlib.Analysis.Normed.Unbundled.IsPowMulFaithful +import Mathlib.Analysis.Normed.Unbundled.SeminormFromConst import Mathlib.RingTheory.Polynomial.Vieta import Mathlib.Topology.Algebra.Module.FiniteDimension diff --git a/Mathlib/Analysis/ODE/DiscreteGronwall.lean b/Mathlib/Analysis/ODE/DiscreteGronwall.lean index 1c00dfe35dde9b..edb5611b827f34 100644 --- a/Mathlib/Analysis/ODE/DiscreteGronwall.lean +++ b/Mathlib/Analysis/ODE/DiscreteGronwall.lean @@ -5,11 +5,12 @@ Authors: Dennj Osele -/ module +public import Mathlib.Analysis.Complex.Trigonometric + import Mathlib.Algebra.Order.Algebra import Mathlib.Algebra.Order.BigOperators.Expect import Mathlib.Algebra.Order.Field.Power import Mathlib.Analysis.Complex.Order -public import Mathlib.Analysis.Complex.Trigonometric import Mathlib.Data.EReal.Inv import Mathlib.Tactic.Positivity diff --git a/Mathlib/Analysis/ODE/ExistUnique.lean b/Mathlib/Analysis/ODE/ExistUnique.lean index d7d04f279de02a..73c487c0a678e9 100644 --- a/Mathlib/Analysis/ODE/ExistUnique.lean +++ b/Mathlib/Analysis/ODE/ExistUnique.lean @@ -5,9 +5,10 @@ Authors: Winston Yin -/ module -import Mathlib.Analysis.ODE.Gronwall public import Mathlib.Analysis.ODE.PicardLindelof +import Mathlib.Analysis.ODE.Gronwall + /-! # Existence and uniqueness of solutions to ODEs diff --git a/Mathlib/Analysis/ODE/PicardLindelof.lean b/Mathlib/Analysis/ODE/PicardLindelof.lean index cae3c87f97b6ef..ee884f36e38017 100644 --- a/Mathlib/Analysis/ODE/PicardLindelof.lean +++ b/Mathlib/Analysis/ODE/PicardLindelof.lean @@ -6,9 +6,10 @@ Authors: Yury Kudryashov, Winston Yin module public import Mathlib.Analysis.SpecialFunctions.Integrals.Basic -import Mathlib.Topology.Algebra.Order.Floor public import Mathlib.Topology.MetricSpace.Contracting +import Mathlib.Topology.Algebra.Order.Floor + /-! # Picard-Lindelöf (Cauchy-Lipschitz) Theorem diff --git a/Mathlib/Analysis/ODE/Transform.lean b/Mathlib/Analysis/ODE/Transform.lean index 8d53fa51233bb2..5dcbfb4f8345ba 100644 --- a/Mathlib/Analysis/ODE/Transform.lean +++ b/Mathlib/Analysis/ODE/Transform.lean @@ -6,6 +6,7 @@ Authors: Winston Yin module public import Mathlib.Analysis.ODE.Basic + import Mathlib.Analysis.Calculus.FDeriv.Add import Mathlib.Analysis.Calculus.FDeriv.Equiv import Mathlib.Analysis.Calculus.Deriv.Comp diff --git a/Mathlib/Analysis/Oscillation.lean b/Mathlib/Analysis/Oscillation.lean index 1f01429cb6a23d..5743ff01298bba 100644 --- a/Mathlib/Analysis/Oscillation.lean +++ b/Mathlib/Analysis/Oscillation.lean @@ -5,9 +5,10 @@ Authors: James Sundstrom -/ module -import Mathlib.Order.WellFoundedSet public import Mathlib.Topology.EMetricSpace.Diam +import Mathlib.Order.WellFoundedSet + /-! # Oscillation diff --git a/Mathlib/Analysis/PSeries.lean b/Mathlib/Analysis/PSeries.lean index 99c261268cc16b..f666ed2a427ed9 100644 --- a/Mathlib/Analysis/PSeries.lean +++ b/Mathlib/Analysis/PSeries.lean @@ -6,10 +6,10 @@ Authors: Yury Kudryashov module public import Mathlib.Analysis.SumOverResidueClass +public import Mathlib.Analysis.SpecialFunctions.Pow.NNReal import Mathlib.Analysis.Asymptotics.SpecificAsymptotics import Mathlib.Analysis.Normed.Module.FiniteDimension -public import Mathlib.Analysis.SpecialFunctions.Pow.NNReal /-! # Convergence of `p`-series diff --git a/Mathlib/Analysis/PSeriesComplex.lean b/Mathlib/Analysis/PSeriesComplex.lean index 0fb7e5d4a04e79..74493bdb31f0fb 100644 --- a/Mathlib/Analysis/PSeriesComplex.lean +++ b/Mathlib/Analysis/PSeriesComplex.lean @@ -5,8 +5,9 @@ Authors: David Loeffler -/ module -import Mathlib.Analysis.Normed.Module.FiniteDimension public import Mathlib.Analysis.PSeries + +import Mathlib.Analysis.Normed.Module.FiniteDimension import Mathlib.LinearAlgebra.Complex.FiniteDimensional /-! diff --git a/Mathlib/Analysis/Polynomial/CauchyBound.lean b/Mathlib/Analysis/Polynomial/CauchyBound.lean index 546861a32a22cf..cdafef80580690 100644 --- a/Mathlib/Analysis/Polynomial/CauchyBound.lean +++ b/Mathlib/Analysis/Polynomial/CauchyBound.lean @@ -5,10 +5,11 @@ Authors: Daniel Weber -/ module -import Mathlib.Algebra.Order.Field.GeomSum public import Mathlib.Algebra.Polynomial.Monic public import Mathlib.Analysis.Normed.Field.Basic +import Mathlib.Algebra.Order.Field.GeomSum + /-! # Cauchy's bound on polynomial roots. diff --git a/Mathlib/Analysis/Polynomial/MahlerMeasure.lean b/Mathlib/Analysis/Polynomial/MahlerMeasure.lean index 2490e3f4e7a47b..49ed47a1bc3cb2 100644 --- a/Mathlib/Analysis/Polynomial/MahlerMeasure.lean +++ b/Mathlib/Analysis/Polynomial/MahlerMeasure.lean @@ -5,13 +5,14 @@ Authors: Fabrizio Barroero, Kevin H. Wilson -/ module -import Mathlib.Analysis.Analytic.Polynomial -import Mathlib.Analysis.Complex.Polynomial.Basic public import Mathlib.Analysis.Polynomial.Norm public import Mathlib.Analysis.SpecialFunctions.Integrals.PosLog -import Mathlib.Analysis.Convex.Integral public import Mathlib.Analysis.Polynomial.Fourier +import Mathlib.Analysis.Analytic.Polynomial +import Mathlib.Analysis.Complex.Polynomial.Basic +import Mathlib.Analysis.Convex.Integral + /-! # Mahler measure of complex polynomials diff --git a/Mathlib/Analysis/Polynomial/Order.lean b/Mathlib/Analysis/Polynomial/Order.lean index 30b74a412dbfcb..599cc18bf50c14 100644 --- a/Mathlib/Analysis/Polynomial/Order.lean +++ b/Mathlib/Analysis/Polynomial/Order.lean @@ -6,6 +6,7 @@ Authors: Yuval Filmus module public import Mathlib.Analysis.Polynomial.Basic + import Mathlib.Topology.Algebra.Polynomial /-! diff --git a/Mathlib/Analysis/RCLike/BoundedContinuous.lean b/Mathlib/Analysis/RCLike/BoundedContinuous.lean index fa7071b344dbb0..5a0a8dbf629a39 100644 --- a/Mathlib/Analysis/RCLike/BoundedContinuous.lean +++ b/Mathlib/Analysis/RCLike/BoundedContinuous.lean @@ -6,10 +6,11 @@ Authors: Jakob Stiefel module public import Mathlib.Algebra.Algebra.Subalgebra.Tower -import Mathlib.Analysis.Normed.Operator.NNNorm public import Mathlib.Analysis.RCLike.Basic public import Mathlib.Topology.ContinuousMap.Bounded.Star +import Mathlib.Analysis.Normed.Operator.NNNorm + /-! # Results on bounded continuous functions with `RCLike` values -/ public section diff --git a/Mathlib/Analysis/RCLike/ContinuousMap.lean b/Mathlib/Analysis/RCLike/ContinuousMap.lean index 0ccede3a32df44..0270e9c3a00f94 100644 --- a/Mathlib/Analysis/RCLike/ContinuousMap.lean +++ b/Mathlib/Analysis/RCLike/ContinuousMap.lean @@ -8,6 +8,7 @@ module public import Mathlib.Analysis.RCLike.Basic public import Mathlib.Topology.ContinuousMap.Compact public import Mathlib.Topology.ContinuousMap.Ordered + import Mathlib.Topology.ContinuousMap.Units /-! # Mapping `C(X, ℝ)` to `C(X, 𝕜)` and back diff --git a/Mathlib/Analysis/Real/Hyperreal.lean b/Mathlib/Analysis/Real/Hyperreal.lean index deb61a84b4cae9..4e1ac6c030448a 100644 --- a/Mathlib/Analysis/Real/Hyperreal.lean +++ b/Mathlib/Analysis/Real/Hyperreal.lean @@ -7,10 +7,11 @@ module public import Mathlib.Algebra.Order.Ring.StandardPart public import Mathlib.Order.Filter.FilterProduct +public import Mathlib.Topology.MetricSpace.Bounded + import Mathlib.Algebra.Order.Module.Field import Mathlib.Data.EReal.Inv import Mathlib.Topology.Algebra.InfiniteSum.Order -public import Mathlib.Topology.MetricSpace.Bounded /-! # Construction of the hyperreal numbers as an ultraproduct of real sequences diff --git a/Mathlib/Analysis/Real/OfDigits.lean b/Mathlib/Analysis/Real/OfDigits.lean index 8fab9d7814f115..f4d792f84f3c47 100644 --- a/Mathlib/Analysis/Real/OfDigits.lean +++ b/Mathlib/Analysis/Real/OfDigits.lean @@ -5,8 +5,9 @@ Authors: Vasilii Nesterov -/ module -import Mathlib.Analysis.Normed.Group.FunctionSeries public import Mathlib.Analysis.SpecificLimits.Normed + +import Mathlib.Analysis.Normed.Group.FunctionSeries import Mathlib.Tactic.Rify import Mathlib.Tactic.Qify diff --git a/Mathlib/Analysis/Real/Pi/Chudnovsky.lean b/Mathlib/Analysis/Real/Pi/Chudnovsky.lean index d29fbe971c4d56..7bf88a4a7b3ba5 100644 --- a/Mathlib/Analysis/Real/Pi/Chudnovsky.lean +++ b/Mathlib/Analysis/Real/Pi/Chudnovsky.lean @@ -5,11 +5,12 @@ Authors: Kim Morrison -/ module -meta import Batteries.Data.Float.Rat -- shake: keep (for `#eval` sanity check) public import Mathlib.Analysis.SpecialFunctions.Trigonometric.Arctan public import Mathlib.MeasureTheory.Integral.Bochner.Basic public import Mathlib.Tactic.Positivity +meta import Batteries.Data.Float.Rat -- shake: keep (for `#eval` sanity check) + /-! # Chudnovsky's formula for π diff --git a/Mathlib/Analysis/Real/Pi/Irrational.lean b/Mathlib/Analysis/Real/Pi/Irrational.lean index b887b1a034f84f..a919afc4f369c3 100644 --- a/Mathlib/Analysis/Real/Pi/Irrational.lean +++ b/Mathlib/Analysis/Real/Pi/Irrational.lean @@ -6,9 +6,10 @@ Authors: Bhavik Mehta module public import Mathlib.Analysis.SpecialFunctions.Integrals.Basic -import Mathlib.Topology.Algebra.Order.Floor public import Mathlib.NumberTheory.Real.Irrational +import Mathlib.Topology.Algebra.Order.Floor + /-! # `Real.pi` is irrational diff --git a/Mathlib/Analysis/Real/Pi/Leibniz.lean b/Mathlib/Analysis/Real/Pi/Leibniz.lean index 773c7574e7fae1..d5c4eab558363a 100644 --- a/Mathlib/Analysis/Real/Pi/Leibniz.lean +++ b/Mathlib/Analysis/Real/Pi/Leibniz.lean @@ -5,9 +5,10 @@ Authors: Benjamin Davidson, Jeremy Tan -/ module -import Mathlib.Analysis.Complex.AbelLimit public import Mathlib.Analysis.SpecialFunctions.Complex.Arctan +import Mathlib.Analysis.Complex.AbelLimit + /-! # Leibniz's series for `π` -/ public section diff --git a/Mathlib/Analysis/Real/Spectrum.lean b/Mathlib/Analysis/Real/Spectrum.lean index a33f9d463ceb39..d5932f871ce785 100644 --- a/Mathlib/Analysis/Real/Spectrum.lean +++ b/Mathlib/Analysis/Real/Spectrum.lean @@ -7,6 +7,7 @@ module public import Mathlib.Algebra.Algebra.Spectrum.Quasispectrum public import Mathlib.Topology.Instances.NNReal.Lemmas + import Mathlib.Tactic.ContinuousFunctionalCalculus /-! diff --git a/Mathlib/Analysis/SpecialFunctions/ArithmeticGeometricMean.lean b/Mathlib/Analysis/SpecialFunctions/ArithmeticGeometricMean.lean index cf429929dadf46..b7418406d2e56c 100644 --- a/Mathlib/Analysis/SpecialFunctions/ArithmeticGeometricMean.lean +++ b/Mathlib/Analysis/SpecialFunctions/ArithmeticGeometricMean.lean @@ -5,9 +5,10 @@ Authors: Jeremy Tan -/ module -import Mathlib.Analysis.SpecificLimits.Basic public import Mathlib.Analysis.Real.Sqrt +import Mathlib.Analysis.SpecificLimits.Basic + /-! # The arithmetic-geometric mean diff --git a/Mathlib/Analysis/SpecialFunctions/Bernstein.lean b/Mathlib/Analysis/SpecialFunctions/Bernstein.lean index d52429253124e8..8c46d8e8f18ac0 100644 --- a/Mathlib/Analysis/SpecialFunctions/Bernstein.lean +++ b/Mathlib/Analysis/SpecialFunctions/Bernstein.lean @@ -5,13 +5,14 @@ Authors: Kim Morrison -/ module -import Mathlib.Algebra.BigOperators.Field public import Mathlib.Analysis.Convex.Gauge -import Mathlib.Analysis.Normed.Order.Lattice public import Mathlib.RingTheory.Polynomial.Bernstein public import Mathlib.Topology.Algebra.Module.LocallyConvex public import Mathlib.Topology.ContinuousMap.Polynomial +import Mathlib.Algebra.BigOperators.Field +import Mathlib.Analysis.Normed.Order.Lattice + /-! # Bernstein approximations and Weierstrass' theorem diff --git a/Mathlib/Analysis/SpecialFunctions/BinaryEntropy.lean b/Mathlib/Analysis/SpecialFunctions/BinaryEntropy.lean index bfb9f9b5fa567f..491fb63db55cbd 100644 --- a/Mathlib/Analysis/SpecialFunctions/BinaryEntropy.lean +++ b/Mathlib/Analysis/SpecialFunctions/BinaryEntropy.lean @@ -6,6 +6,7 @@ Authors: Adomas Baliuka module public import Mathlib.Analysis.SpecialFunctions.Log.NegMulLog + import Mathlib.Analysis.Convex.SpecificFunctions.Basic /-! diff --git a/Mathlib/Analysis/SpecialFunctions/Choose.lean b/Mathlib/Analysis/SpecialFunctions/Choose.lean index 3653271498139d..5e99be30c2c40c 100644 --- a/Mathlib/Analysis/SpecialFunctions/Choose.lean +++ b/Mathlib/Analysis/SpecialFunctions/Choose.lean @@ -5,8 +5,9 @@ Authors: Mitchell Horner -/ module -import Mathlib.Analysis.SpecificLimits.Basic public import Mathlib.Analysis.Asymptotics.AsymptoticEquivalent + +import Mathlib.Analysis.SpecificLimits.Basic import Mathlib.Data.Nat.Cast.Field import Mathlib.Analysis.Asymptotics.Theta diff --git a/Mathlib/Analysis/SpecialFunctions/Complex/Analytic.lean b/Mathlib/Analysis/SpecialFunctions/Complex/Analytic.lean index 146807c6c51d1b..e8a5f68a91b8d6 100644 --- a/Mathlib/Analysis/SpecialFunctions/Complex/Analytic.lean +++ b/Mathlib/Analysis/SpecialFunctions/Complex/Analytic.lean @@ -6,6 +6,7 @@ Authors: Geoffrey Irving module public import Mathlib.Analysis.Complex.CauchyIntegral + import Mathlib.Analysis.SpecialFunctions.Complex.LogDeriv /-! diff --git a/Mathlib/Analysis/SpecialFunctions/Complex/Arctan.lean b/Mathlib/Analysis/SpecialFunctions/Complex/Arctan.lean index 45884dd529fbc9..ceef0bf43964c0 100644 --- a/Mathlib/Analysis/SpecialFunctions/Complex/Arctan.lean +++ b/Mathlib/Analysis/SpecialFunctions/Complex/Arctan.lean @@ -6,6 +6,7 @@ Authors: Jeremy Tan module public import Mathlib.Analysis.SpecialFunctions.Complex.LogBounds + import Mathlib.Algebra.Order.Interval.Set.Group /-! diff --git a/Mathlib/Analysis/SpecialFunctions/Complex/LogBounds.lean b/Mathlib/Analysis/SpecialFunctions/Complex/LogBounds.lean index d8db6e308ba956..c4e5fcb7633a8c 100644 --- a/Mathlib/Analysis/SpecialFunctions/Complex/LogBounds.lean +++ b/Mathlib/Analysis/SpecialFunctions/Complex/LogBounds.lean @@ -7,8 +7,8 @@ module public import Mathlib.Analysis.Complex.Convex public import Mathlib.Analysis.SpecialFunctions.Integrals.Basic -import Mathlib.Analysis.SpecificLimits.RCLike +import Mathlib.Analysis.SpecificLimits.RCLike import Mathlib.Analysis.SpecialFunctions.Complex.LogDeriv /-! diff --git a/Mathlib/Analysis/SpecialFunctions/ContinuousFunctionalCalculus/Abs.lean b/Mathlib/Analysis/SpecialFunctions/ContinuousFunctionalCalculus/Abs.lean index ca888682f9861a..b41d10cf385f56 100644 --- a/Mathlib/Analysis/SpecialFunctions/ContinuousFunctionalCalculus/Abs.lean +++ b/Mathlib/Analysis/SpecialFunctions/ContinuousFunctionalCalculus/Abs.lean @@ -7,6 +7,7 @@ module public import Mathlib.Analysis.SpecialFunctions.ContinuousFunctionalCalculus.Rpow.Basic public import Mathlib.Analysis.CStarAlgebra.ContinuousFunctionalCalculus.Isometric + import Mathlib.Analysis.CStarAlgebra.ContinuousFunctionalCalculus.Commute import Mathlib.Analysis.SpecialFunctions.ContinuousFunctionalCalculus.Rpow.Isometric diff --git a/Mathlib/Analysis/SpecialFunctions/ContinuousFunctionalCalculus/ExpLog/Basic.lean b/Mathlib/Analysis/SpecialFunctions/ContinuousFunctionalCalculus/ExpLog/Basic.lean index 0ff4f2bbf98b52..99b809498cac5c 100644 --- a/Mathlib/Analysis/SpecialFunctions/ContinuousFunctionalCalculus/ExpLog/Basic.lean +++ b/Mathlib/Analysis/SpecialFunctions/ContinuousFunctionalCalculus/ExpLog/Basic.lean @@ -5,8 +5,9 @@ Authors: Frédéric Dupuis -/ module -import Mathlib.Analysis.SpecialFunctions.Exponential public import Mathlib.Analysis.CStarAlgebra.ContinuousFunctionalCalculus.Isometric + +import Mathlib.Analysis.SpecialFunctions.Exponential import Mathlib.Topology.ContinuousMap.ContinuousSqrt import Mathlib.Analysis.CStarAlgebra.ContinuousFunctionalCalculus.Continuity diff --git a/Mathlib/Analysis/SpecialFunctions/ContinuousFunctionalCalculus/ExpLog/Order.lean b/Mathlib/Analysis/SpecialFunctions/ContinuousFunctionalCalculus/ExpLog/Order.lean index 27829bb8786e55..80728dcfb1cd54 100644 --- a/Mathlib/Analysis/SpecialFunctions/ContinuousFunctionalCalculus/ExpLog/Order.lean +++ b/Mathlib/Analysis/SpecialFunctions/ContinuousFunctionalCalculus/ExpLog/Order.lean @@ -7,6 +7,7 @@ module public import Mathlib.Analysis.CStarAlgebra.ContinuousFunctionalCalculus.Basic public import Mathlib.Analysis.SpecialFunctions.ContinuousFunctionalCalculus.ExpLog.Basic + import Mathlib.Analysis.CStarAlgebra.ContinuousFunctionalCalculus.Continuity import Mathlib.Analysis.CStarAlgebra.ContinuousFunctionalCalculus.Order import Mathlib.Analysis.SpecialFunctions.ContinuousFunctionalCalculus.Rpow.Order diff --git a/Mathlib/Analysis/SpecialFunctions/ContinuousFunctionalCalculus/Rpow/Basic.lean b/Mathlib/Analysis/SpecialFunctions/ContinuousFunctionalCalculus/Rpow/Basic.lean index 8e9c868acf6966..5cf8bdf47b6dbc 100644 --- a/Mathlib/Analysis/SpecialFunctions/ContinuousFunctionalCalculus/Rpow/Basic.lean +++ b/Mathlib/Analysis/SpecialFunctions/ContinuousFunctionalCalculus/Rpow/Basic.lean @@ -7,10 +7,11 @@ module public import Mathlib.Algebra.Order.Star.Prod public import Mathlib.Analysis.CStarAlgebra.ContinuousFunctionalCalculus.Instances -import Mathlib.Analysis.CStarAlgebra.ContinuousFunctionalCalculus.Pi public import Mathlib.Analysis.SpecialFunctions.ContinuousFunctionalCalculus.PosPart.Basic public import Mathlib.Analysis.SpecialFunctions.Pow.Continuity +import Mathlib.Analysis.CStarAlgebra.ContinuousFunctionalCalculus.Pi + /-! # Real powers defined via the continuous functional calculus diff --git a/Mathlib/Analysis/SpecialFunctions/ContinuousFunctionalCalculus/Rpow/IntegralRepresentation.lean b/Mathlib/Analysis/SpecialFunctions/ContinuousFunctionalCalculus/Rpow/IntegralRepresentation.lean index 1f051aa857c852..2435c1a28e87d7 100644 --- a/Mathlib/Analysis/SpecialFunctions/ContinuousFunctionalCalculus/Rpow/IntegralRepresentation.lean +++ b/Mathlib/Analysis/SpecialFunctions/ContinuousFunctionalCalculus/Rpow/IntegralRepresentation.lean @@ -8,6 +8,7 @@ module public import Mathlib.Analysis.CStarAlgebra.ContinuousFunctionalCalculus.Integral public import Mathlib.Analysis.CStarAlgebra.ApproximateUnit public import Mathlib.MeasureTheory.Measure.Haar.OfBasis + import Mathlib.Analysis.SpecialFunctions.ImproperIntegrals import Mathlib.Analysis.SpecialFunctions.ContinuousFunctionalCalculus.Rpow.RingInverseOrder diff --git a/Mathlib/Analysis/SpecialFunctions/ContinuousFunctionalCalculus/Rpow/Isometric.lean b/Mathlib/Analysis/SpecialFunctions/ContinuousFunctionalCalculus/Rpow/Isometric.lean index c71d78b60580b5..4f4c91fdf6b02d 100644 --- a/Mathlib/Analysis/SpecialFunctions/ContinuousFunctionalCalculus/Rpow/Isometric.lean +++ b/Mathlib/Analysis/SpecialFunctions/ContinuousFunctionalCalculus/Rpow/Isometric.lean @@ -7,6 +7,7 @@ module public import Mathlib.Analysis.SpecialFunctions.ContinuousFunctionalCalculus.Rpow.Basic public import Mathlib.Analysis.CStarAlgebra.ContinuousFunctionalCalculus.Isometric + import Mathlib.Analysis.CStarAlgebra.ContinuousFunctionalCalculus.Continuity /-! # Properties of `rpow` and `sqrt` over an algebra with an isometric CFC diff --git a/Mathlib/Analysis/SpecialFunctions/ContinuousFunctionalCalculus/Rpow/Order.lean b/Mathlib/Analysis/SpecialFunctions/ContinuousFunctionalCalculus/Rpow/Order.lean index 983344aa4559ed..41417e51b6d080 100644 --- a/Mathlib/Analysis/SpecialFunctions/ContinuousFunctionalCalculus/Rpow/Order.lean +++ b/Mathlib/Analysis/SpecialFunctions/ContinuousFunctionalCalculus/Rpow/Order.lean @@ -7,6 +7,7 @@ module public import Mathlib.Analysis.CStarAlgebra.ContinuousFunctionalCalculus.Basic public import Mathlib.Analysis.SpecialFunctions.ContinuousFunctionalCalculus.Rpow.Basic + import Mathlib.Analysis.SpecialFunctions.ContinuousFunctionalCalculus.Rpow.IntegralRepresentation /-! diff --git a/Mathlib/Analysis/SpecialFunctions/ContinuousFunctionalCalculus/Rpow/RingInverseOrder.lean b/Mathlib/Analysis/SpecialFunctions/ContinuousFunctionalCalculus/Rpow/RingInverseOrder.lean index 9abd3b04d303ce..43670b9c76c252 100644 --- a/Mathlib/Analysis/SpecialFunctions/ContinuousFunctionalCalculus/Rpow/RingInverseOrder.lean +++ b/Mathlib/Analysis/SpecialFunctions/ContinuousFunctionalCalculus/Rpow/RingInverseOrder.lean @@ -5,12 +5,13 @@ Authors: Frédéric Dupuis -/ module -import Mathlib.Analysis.SpecialFunctions.ContinuousFunctionalCalculus.Rpow.ConjSqrt -import Mathlib.Analysis.CStarAlgebra.ContinuousFunctionalCalculus.Order -import Mathlib.Analysis.Convex.Mul public import Mathlib.Algebra.Algebra.StrictPositivity public import Mathlib.Analysis.CStarAlgebra.Classes public import Mathlib.Analysis.SpecialFunctions.Bernstein + +import Mathlib.Analysis.SpecialFunctions.ContinuousFunctionalCalculus.Rpow.ConjSqrt +import Mathlib.Analysis.CStarAlgebra.ContinuousFunctionalCalculus.Order +import Mathlib.Analysis.Convex.Mul import Mathlib.Analysis.SpecialFunctions.Pow.NNReal import Mathlib.Tactic.NormNum.GCD diff --git a/Mathlib/Analysis/SpecialFunctions/Elliptic/Weierstrass.lean b/Mathlib/Analysis/SpecialFunctions/Elliptic/Weierstrass.lean index 569a663c515521..70f93bfa483dea 100644 --- a/Mathlib/Analysis/SpecialFunctions/Elliptic/Weierstrass.lean +++ b/Mathlib/Analysis/SpecialFunctions/Elliptic/Weierstrass.lean @@ -6,12 +6,13 @@ Authors: Andrew Yang module public import Mathlib.Algebra.Module.ZLattice.Summable -import Mathlib.Analysis.Analytic.Binomial -import Mathlib.Analysis.Complex.Liouville -import Mathlib.Analysis.Complex.LocallyUniformLimit public import Mathlib.Analysis.Meromorphic.Order public import Mathlib.LinearAlgebra.Complex.FiniteDimensional public import Mathlib.Topology.Algebra.InfiniteSum.UniformOn + +import Mathlib.Analysis.Analytic.Binomial +import Mathlib.Analysis.Complex.Liouville +import Mathlib.Analysis.Complex.LocallyUniformLimit import Mathlib.Topology.MetricSpace.ProperSpace.Lemmas /-! diff --git a/Mathlib/Analysis/SpecialFunctions/Exp.lean b/Mathlib/Analysis/SpecialFunctions/Exp.lean index 9d001b50e2b79c..9a898d89a28728 100644 --- a/Mathlib/Analysis/SpecialFunctions/Exp.lean +++ b/Mathlib/Analysis/SpecialFunctions/Exp.lean @@ -9,6 +9,7 @@ public import Mathlib.Analysis.Complex.Asymptotics public import Mathlib.Analysis.Complex.Trigonometric public import Mathlib.Analysis.SpecificLimits.Normed public import Mathlib.Topology.Algebra.MetricSpace.Lipschitz + import Mathlib.Topology.Order.AtTopBotIxx /-! diff --git a/Mathlib/Analysis/SpecialFunctions/FrullaniIntegral.lean b/Mathlib/Analysis/SpecialFunctions/FrullaniIntegral.lean index 7707c6d7799942..fbdcafab4f4785 100644 --- a/Mathlib/Analysis/SpecialFunctions/FrullaniIntegral.lean +++ b/Mathlib/Analysis/SpecialFunctions/FrullaniIntegral.lean @@ -5,9 +5,10 @@ Authors: Louis (Yiyang) Liu -/ module -import Mathlib.Analysis.SpecialFunctions.Integrals.Basic public import Mathlib.MeasureTheory.Integral.IntegralEqImproper +import Mathlib.Analysis.SpecialFunctions.Integrals.Basic + /-! # Frullani's integral diff --git a/Mathlib/Analysis/SpecialFunctions/Gamma/Beta.lean b/Mathlib/Analysis/SpecialFunctions/Gamma/Beta.lean index 5fa2e1d1200481..56d1d21bb903b8 100644 --- a/Mathlib/Analysis/SpecialFunctions/Gamma/Beta.lean +++ b/Mathlib/Analysis/SpecialFunctions/Gamma/Beta.lean @@ -5,12 +5,13 @@ Authors: David Loeffler -/ module -import Mathlib.Analysis.Convolution public import Mathlib.Analysis.SpecialFunctions.Complex.LogBounds -import Mathlib.Analysis.SpecialFunctions.Trigonometric.EulerSineProd public import Mathlib.Analysis.SpecialFunctions.Gamma.BohrMollerup public import Mathlib.Analysis.Complex.CauchyIntegral +import Mathlib.Analysis.Convolution +import Mathlib.Analysis.SpecialFunctions.Trigonometric.EulerSineProd + /-! # The Beta function, and further properties of the Gamma function diff --git a/Mathlib/Analysis/SpecialFunctions/Gaussian/FourierTransform.lean b/Mathlib/Analysis/SpecialFunctions/Gaussian/FourierTransform.lean index 9af935b66cccba..4762eea016f3ea 100644 --- a/Mathlib/Analysis/SpecialFunctions/Gaussian/FourierTransform.lean +++ b/Mathlib/Analysis/SpecialFunctions/Gaussian/FourierTransform.lean @@ -6,9 +6,10 @@ Authors: Sébastien Gouëzel module public import Mathlib.Analysis.SpecialFunctions.Gaussian.GaussianIntegral +public import Mathlib.Analysis.Fourier.FourierTransform + import Mathlib.Analysis.Complex.CauchyIntegral import Mathlib.MeasureTheory.Integral.Pi -public import Mathlib.Analysis.Fourier.FourierTransform /-! # Fourier transform of the Gaussian diff --git a/Mathlib/Analysis/SpecialFunctions/Gaussian/GaussianIntegral.lean b/Mathlib/Analysis/SpecialFunctions/Gaussian/GaussianIntegral.lean index 51023c53621a21..5c230e04764cba 100644 --- a/Mathlib/Analysis/SpecialFunctions/Gaussian/GaussianIntegral.lean +++ b/Mathlib/Analysis/SpecialFunctions/Gaussian/GaussianIntegral.lean @@ -6,10 +6,11 @@ Authors: Sébastien Gouëzel module public import Mathlib.Analysis.SpecialFunctions.Gamma.Basic -import Mathlib.Analysis.SpecialFunctions.PolarCoord public import Mathlib.Analysis.Complex.Convex public import Mathlib.Data.Nat.Factorial.DoubleFactorial +import Mathlib.Analysis.SpecialFunctions.PolarCoord + /-! # Gaussian integral diff --git a/Mathlib/Analysis/SpecialFunctions/Integrability/Basic.lean b/Mathlib/Analysis/SpecialFunctions/Integrability/Basic.lean index f6a87382efb97e..de1747c1f8a8c0 100644 --- a/Mathlib/Analysis/SpecialFunctions/Integrability/Basic.lean +++ b/Mathlib/Analysis/SpecialFunctions/Integrability/Basic.lean @@ -5,9 +5,9 @@ Authors: Benjamin Davidson -/ module -import Mathlib.Analysis.SpecialFunctions.Log.NegMulLog public import Mathlib.Analysis.SpecialFunctions.NonIntegrable +import Mathlib.Analysis.SpecialFunctions.Log.NegMulLog import Mathlib.Analysis.SpecialFunctions.Pow.Deriv /-! diff --git a/Mathlib/Analysis/SpecialFunctions/Integrability/Log.lean b/Mathlib/Analysis/SpecialFunctions/Integrability/Log.lean index 872089240a754c..14b9986c054534 100644 --- a/Mathlib/Analysis/SpecialFunctions/Integrability/Log.lean +++ b/Mathlib/Analysis/SpecialFunctions/Integrability/Log.lean @@ -6,12 +6,12 @@ Authors: Stefan Kebekus module public import Mathlib.Analysis.Meromorphic.FactorizedRational -import Mathlib.Analysis.Normed.Module.Connected -import Mathlib.Analysis.SpecialFunctions.Integrability.Basic public import Mathlib.Analysis.SpecialFunctions.Log.PosLog -import Mathlib.LinearAlgebra.Complex.FiniteDimensional public import Mathlib.MeasureTheory.Integral.CircleIntegral +import Mathlib.Analysis.Normed.Module.Connected +import Mathlib.Analysis.SpecialFunctions.Integrability.Basic +import Mathlib.LinearAlgebra.Complex.FiniteDimensional import Mathlib.Analysis.SpecialFunctions.Trigonometric.Deriv /-! diff --git a/Mathlib/Analysis/SpecialFunctions/Integrals/Basic.lean b/Mathlib/Analysis/SpecialFunctions/Integrals/Basic.lean index cf7a7b2e4e3f02..d802ece7b917c4 100644 --- a/Mathlib/Analysis/SpecialFunctions/Integrals/Basic.lean +++ b/Mathlib/Analysis/SpecialFunctions/Integrals/Basic.lean @@ -5,13 +5,14 @@ Authors: Benjamin Davidson -/ module -import Mathlib.Analysis.SpecialFunctions.Log.NegMulLog -import Mathlib.Analysis.SpecialFunctions.Pow.Deriv public import Mathlib.Analysis.SpecialFunctions.Integrability.Basic public import Mathlib.Analysis.SpecialFunctions.Trigonometric.Sinc public import Mathlib.Analysis.SpecialFunctions.Log.InvLog public import Mathlib.MeasureTheory.Integral.IntervalIntegral.IntegrationByParts +import Mathlib.Analysis.SpecialFunctions.Log.NegMulLog +import Mathlib.Analysis.SpecialFunctions.Pow.Deriv + /-! # Integration of specific interval integrals diff --git a/Mathlib/Analysis/SpecialFunctions/Log/Base.lean b/Mathlib/Analysis/SpecialFunctions/Log/Base.lean index f03905de4867e9..9e0a371eee3e1e 100644 --- a/Mathlib/Analysis/SpecialFunctions/Log/Base.lean +++ b/Mathlib/Analysis/SpecialFunctions/Log/Base.lean @@ -5,10 +5,11 @@ Authors: Bolton Bailey, Chris Hughes, Abhimanyu Pallavi Sudhir, Jean Lo, Calle S -/ module -import Mathlib.Algebra.BigOperators.Field public import Mathlib.Analysis.SpecialFunctions.Pow.Real public import Mathlib.Data.Int.Log +import Mathlib.Algebra.BigOperators.Field + /-! # Real logarithm base `b` diff --git a/Mathlib/Analysis/SpecialFunctions/Log/Basic.lean b/Mathlib/Analysis/SpecialFunctions/Log/Basic.lean index 9a7df2d42999a5..de64f93faa0414 100644 --- a/Mathlib/Analysis/SpecialFunctions/Log/Basic.lean +++ b/Mathlib/Analysis/SpecialFunctions/Log/Basic.lean @@ -7,6 +7,7 @@ module public import Mathlib.Analysis.SpecialFunctions.Exp public import Mathlib.Data.Nat.Factorization.Defs + import Mathlib.Analysis.Normed.Module.RCLike.Real /-! diff --git a/Mathlib/Analysis/SpecialFunctions/Log/Deriv.lean b/Mathlib/Analysis/SpecialFunctions/Log/Deriv.lean index 309216d508e5f2..0a17a8a5c1fb8c 100644 --- a/Mathlib/Analysis/SpecialFunctions/Log/Deriv.lean +++ b/Mathlib/Analysis/SpecialFunctions/Log/Deriv.lean @@ -10,6 +10,7 @@ public import Mathlib.Analysis.Calculus.LogDeriv public import Mathlib.Analysis.SpecialFunctions.Log.Basic public import Mathlib.Analysis.SpecialFunctions.ExpDeriv public import Mathlib.Analysis.Calculus.Deriv.MeanValue + import Mathlib.Tactic.AdaptationNote /-! diff --git a/Mathlib/Analysis/SpecialFunctions/Log/InvLog.lean b/Mathlib/Analysis/SpecialFunctions/Log/InvLog.lean index 66b730cc821036..82d7bfc146dbf0 100644 --- a/Mathlib/Analysis/SpecialFunctions/Log/InvLog.lean +++ b/Mathlib/Analysis/SpecialFunctions/Log/InvLog.lean @@ -7,6 +7,7 @@ Authors: Alastair Irving, Michael Stoll, Terence Tao module public import Mathlib.Analysis.SpecialFunctions.Log.Deriv + import Mathlib.Analysis.SpecialFunctions.Pow.Asymptotics /-! diff --git a/Mathlib/Analysis/SpecialFunctions/Log/Summable.lean b/Mathlib/Analysis/SpecialFunctions/Log/Summable.lean index 4d22d525df5ac5..41a0dbab18f721 100644 --- a/Mathlib/Analysis/SpecialFunctions/Log/Summable.lean +++ b/Mathlib/Analysis/SpecialFunctions/Log/Summable.lean @@ -6,6 +6,7 @@ Authors: Chris Birkbeck module public import Mathlib.Analysis.SpecialFunctions.Complex.LogBounds + import Mathlib.Topology.Algebra.InfiniteSum.Field /-! diff --git a/Mathlib/Analysis/SpecialFunctions/MulExpNegMulSq.lean b/Mathlib/Analysis/SpecialFunctions/MulExpNegMulSq.lean index a31d477334aa55..d8eb861fbb9afa 100644 --- a/Mathlib/Analysis/SpecialFunctions/MulExpNegMulSq.lean +++ b/Mathlib/Analysis/SpecialFunctions/MulExpNegMulSq.lean @@ -6,9 +6,10 @@ Authors: Jakob Stiefel module public import Mathlib.Analysis.SpecialFunctions.ExpDeriv -import Mathlib.Analysis.SpecialFunctions.Log.Basic public import Mathlib.Topology.ContinuousMap.Bounded.Normed +import Mathlib.Analysis.SpecialFunctions.Log.Basic + /-! # Definition of `mulExpNegMulSq` and properties diff --git a/Mathlib/Analysis/SpecialFunctions/MulExpNegMulSqIntegral.lean b/Mathlib/Analysis/SpecialFunctions/MulExpNegMulSqIntegral.lean index 1abe2a8b6fb729..ab7b1cf7c42627 100644 --- a/Mathlib/Analysis/SpecialFunctions/MulExpNegMulSqIntegral.lean +++ b/Mathlib/Analysis/SpecialFunctions/MulExpNegMulSqIntegral.lean @@ -7,10 +7,11 @@ module public import Mathlib.Analysis.SpecialFunctions.MulExpNegMulSq public import Mathlib.Analysis.SpecialFunctions.Complex.LogBounds -import Mathlib.MeasureTheory.Integral.BoundedContinuousFunction public import Mathlib.MeasureTheory.Measure.RegularityCompacts public import Mathlib.Topology.ContinuousMap.StoneWeierstrass +import Mathlib.MeasureTheory.Integral.BoundedContinuousFunction + /-! # Properties of the integral of `mulExpNegMulSq` diff --git a/Mathlib/Analysis/SpecialFunctions/Pochhammer.lean b/Mathlib/Analysis/SpecialFunctions/Pochhammer.lean index f4099693ee38c7..9b3bf0ac8fd3c3 100644 --- a/Mathlib/Analysis/SpecialFunctions/Pochhammer.lean +++ b/Mathlib/Analysis/SpecialFunctions/Pochhammer.lean @@ -5,11 +5,12 @@ Authors: Mitchell Horner -/ module -import Mathlib.Algebra.BigOperators.Field public import Mathlib.Analysis.Convex.Deriv -import Mathlib.Analysis.Convex.Piecewise public import Mathlib.RingTheory.Polynomial.Pochhammer +import Mathlib.Algebra.BigOperators.Field +import Mathlib.Analysis.Convex.Piecewise + /-! # Pochhammer polynomials diff --git a/Mathlib/Analysis/SpecialFunctions/PolarCoord.lean b/Mathlib/Analysis/SpecialFunctions/PolarCoord.lean index 873dc2208cfdc1..442485b4285bc4 100644 --- a/Mathlib/Analysis/SpecialFunctions/PolarCoord.lean +++ b/Mathlib/Analysis/SpecialFunctions/PolarCoord.lean @@ -7,9 +7,10 @@ module public import Mathlib.MeasureTheory.Function.Jacobian public import Mathlib.MeasureTheory.Measure.Lebesgue.Complex -import Mathlib.Analysis.SpecialFunctions.Trigonometric.Deriv public import Mathlib.Topology.OpenPartialHomeomorph.Composition +import Mathlib.Analysis.SpecialFunctions.Trigonometric.Deriv + /-! # Polar coordinates diff --git a/Mathlib/Analysis/SpecialFunctions/Pow/Deriv.lean b/Mathlib/Analysis/SpecialFunctions/Pow/Deriv.lean index c60f05df8047d3..8a8a9d67f75400 100644 --- a/Mathlib/Analysis/SpecialFunctions/Pow/Deriv.lean +++ b/Mathlib/Analysis/SpecialFunctions/Pow/Deriv.lean @@ -7,12 +7,12 @@ Authors: Chris Hughes, Abhimanyu Pallavi Sudhir, Jean Lo, Calle Sönne, Sébasti module public import Mathlib.Analysis.SpecialFunctions.Pow.Continuity -import Mathlib.Analysis.Calculus.FDeriv.Extend -import Mathlib.Analysis.Calculus.Deriv.Prod -import Mathlib.Analysis.SpecialFunctions.Log.Deriv public import Mathlib.Analysis.SpecialFunctions.Trigonometric.Deriv public import Mathlib.RingTheory.Polynomial.Pochhammer +import Mathlib.Analysis.Calculus.FDeriv.Extend +import Mathlib.Analysis.Calculus.Deriv.Prod +import Mathlib.Analysis.SpecialFunctions.Log.Deriv import Mathlib.Analysis.SpecialFunctions.Complex.LogDeriv import Mathlib.Topology.GDelta.MetrizableSpace diff --git a/Mathlib/Analysis/SpecialFunctions/Pow/Integral.lean b/Mathlib/Analysis/SpecialFunctions/Pow/Integral.lean index 7dd220952f0c0d..0aeff401fa6afa 100644 --- a/Mathlib/Analysis/SpecialFunctions/Pow/Integral.lean +++ b/Mathlib/Analysis/SpecialFunctions/Pow/Integral.lean @@ -5,9 +5,10 @@ Authors: Kalle Kytölä -/ module +public import Mathlib.MeasureTheory.Constructions.HaarToSphere + import Mathlib.Analysis.SpecialFunctions.Integrals.Basic import Mathlib.MeasureTheory.Integral.Layercake -public import Mathlib.MeasureTheory.Constructions.HaarToSphere import Mathlib.Tactic.MoveAdd /-! diff --git a/Mathlib/Analysis/SpecialFunctions/Pow/NNReal.lean b/Mathlib/Analysis/SpecialFunctions/Pow/NNReal.lean index 4294768e966bbe..8d528b908f25c8 100644 --- a/Mathlib/Analysis/SpecialFunctions/Pow/NNReal.lean +++ b/Mathlib/Analysis/SpecialFunctions/Pow/NNReal.lean @@ -9,6 +9,7 @@ module public import Mathlib.Analysis.SpecialFunctions.Pow.Real public meta import Mathlib.Data.Nat.NthRoot.Defs public import Mathlib.Tactic.Rify + import Mathlib.Tactic.Basify.Attr /-! diff --git a/Mathlib/Analysis/SpecialFunctions/Pow/NthRootLemmas.lean b/Mathlib/Analysis/SpecialFunctions/Pow/NthRootLemmas.lean index 70b9b6a989b67c..d1e94765b571a4 100644 --- a/Mathlib/Analysis/SpecialFunctions/Pow/NthRootLemmas.lean +++ b/Mathlib/Analysis/SpecialFunctions/Pow/NthRootLemmas.lean @@ -6,10 +6,11 @@ Authors: Yury Kudryashov module public import Mathlib.Data.Nat.NthRoot.Defs +public import Mathlib.Algebra.Order.Ring.Pow + import Mathlib.Tactic.Linarith import Mathlib.Tactic.Ring.Basic import Mathlib.Tactic.Zify -public import Mathlib.Algebra.Order.Ring.Pow /-! # Lemmas about `Nat.nthRoot` diff --git a/Mathlib/Analysis/SpecialFunctions/Sigmoid.lean b/Mathlib/Analysis/SpecialFunctions/Sigmoid.lean index b1e431b61ad563..296ed71f4997dc 100644 --- a/Mathlib/Analysis/SpecialFunctions/Sigmoid.lean +++ b/Mathlib/Analysis/SpecialFunctions/Sigmoid.lean @@ -5,13 +5,14 @@ Authors: Gaëtan Serré, Rémy Degenne -/ module -import Mathlib.Analysis.Calculus.Deriv.Inv public import Mathlib.Analysis.InnerProductSpace.Basic public import Mathlib.Analysis.SpecialFunctions.ExpDeriv -import Mathlib.Analysis.SpecialFunctions.Log.Basic public import Mathlib.MeasureTheory.Constructions.Polish.EmbeddingReal public import Mathlib.Topology.Algebra.Module.ModuleTopology +import Mathlib.Analysis.Calculus.Deriv.Inv +import Mathlib.Analysis.SpecialFunctions.Log.Basic + /-! # Sigmoid function diff --git a/Mathlib/Analysis/SpecialFunctions/SmoothTransition.lean b/Mathlib/Analysis/SpecialFunctions/SmoothTransition.lean index 5e3e01b0830798..baad1b5f7fad8c 100644 --- a/Mathlib/Analysis/SpecialFunctions/SmoothTransition.lean +++ b/Mathlib/Analysis/SpecialFunctions/SmoothTransition.lean @@ -5,12 +5,13 @@ Authors: Sébastien Gouëzel, Yury Kudryashov -/ module -import Mathlib.Analysis.Calculus.Deriv.Inv public import Mathlib.Analysis.Calculus.Deriv.Polynomial public import Mathlib.Analysis.SpecialFunctions.ExpDeriv -import Mathlib.Analysis.SpecialFunctions.PolynomialExp public import Mathlib.Analysis.Analytic.IsolatedZeros +import Mathlib.Analysis.Calculus.Deriv.Inv +import Mathlib.Analysis.SpecialFunctions.PolynomialExp + /-! # Infinitely smooth transition function diff --git a/Mathlib/Analysis/SpecialFunctions/Stirling.lean b/Mathlib/Analysis/SpecialFunctions/Stirling.lean index 8d70d3dc867ccf..1f24d6f57a02ad 100644 --- a/Mathlib/Analysis/SpecialFunctions/Stirling.lean +++ b/Mathlib/Analysis/SpecialFunctions/Stirling.lean @@ -6,6 +6,7 @@ Authors: Moritz Firsching, Fabian Kruse, Nikolas Kuhn module public import Mathlib.Analysis.Real.Pi.Wallis + import Mathlib.Tactic.AdaptationNote /-! diff --git a/Mathlib/Analysis/SpecialFunctions/Trigonometric/Angle.lean b/Mathlib/Analysis/SpecialFunctions/Trigonometric/Angle.lean index 5c56b6dfcac3e6..5393380d9cb71e 100644 --- a/Mathlib/Analysis/SpecialFunctions/Trigonometric/Angle.lean +++ b/Mathlib/Analysis/SpecialFunctions/Trigonometric/Angle.lean @@ -9,6 +9,7 @@ public import Mathlib.Analysis.SpecialFunctions.Trigonometric.Basic public import Mathlib.Analysis.Normed.Group.AddCircle public import Mathlib.Algebra.CharZero.Quotient public import Mathlib.Topology.Instances.Sign + import Mathlib.Algebra.Order.Ring.Interval /-! diff --git a/Mathlib/Analysis/SpecialFunctions/Trigonometric/Arctan.lean b/Mathlib/Analysis/SpecialFunctions/Trigonometric/Arctan.lean index d8f7464f734096..1e9767ba452eac 100644 --- a/Mathlib/Analysis/SpecialFunctions/Trigonometric/Arctan.lean +++ b/Mathlib/Analysis/SpecialFunctions/Trigonometric/Arctan.lean @@ -6,6 +6,7 @@ Authors: Chris Hughes, Abhimanyu Pallavi Sudhir, Jean Lo, Calle Sönne, Benjamin module public import Mathlib.Analysis.SpecialFunctions.Trigonometric.Complex + import Mathlib.Topology.Order.AtTopBotIxx /-! diff --git a/Mathlib/Analysis/SpecialFunctions/Trigonometric/Bounds.lean b/Mathlib/Analysis/SpecialFunctions/Trigonometric/Bounds.lean index 7419fa9e535e2f..20ca4b0ac7851f 100644 --- a/Mathlib/Analysis/SpecialFunctions/Trigonometric/Bounds.lean +++ b/Mathlib/Analysis/SpecialFunctions/Trigonometric/Bounds.lean @@ -5,9 +5,10 @@ Authors: David Loeffler, Yaël Dillies, Bhavik Mehta -/ module -import Mathlib.Analysis.Convex.SpecificFunctions.Deriv public import Mathlib.Analysis.SpecialFunctions.Trigonometric.ArctanDeriv +import Mathlib.Analysis.Convex.SpecificFunctions.Deriv + /-! # Polynomial bounds for trigonometric functions diff --git a/Mathlib/Analysis/SpecialFunctions/Trigonometric/Chebyshev/Basic.lean b/Mathlib/Analysis/SpecialFunctions/Trigonometric/Chebyshev/Basic.lean index d9603f30fc4e24..33a813982aaa5f 100644 --- a/Mathlib/Analysis/SpecialFunctions/Trigonometric/Chebyshev/Basic.lean +++ b/Mathlib/Analysis/SpecialFunctions/Trigonometric/Chebyshev/Basic.lean @@ -6,9 +6,10 @@ Authors: Johan Commelin module public import Mathlib.Analysis.Complex.Trigonometric -import Mathlib.LinearAlgebra.Complex.Module public import Mathlib.RingTheory.Polynomial.Chebyshev +import Mathlib.LinearAlgebra.Complex.Module + /-! # Multiple angle formulas in terms of Chebyshev polynomials diff --git a/Mathlib/Analysis/SpecialFunctions/Trigonometric/Chebyshev/ChebyshevGauss.lean b/Mathlib/Analysis/SpecialFunctions/Trigonometric/Chebyshev/ChebyshevGauss.lean index 5ba0340106b92f..ea1965bee7d738 100644 --- a/Mathlib/Analysis/SpecialFunctions/Trigonometric/Chebyshev/ChebyshevGauss.lean +++ b/Mathlib/Analysis/SpecialFunctions/Trigonometric/Chebyshev/ChebyshevGauss.lean @@ -6,8 +6,9 @@ Authors: Yuval Filmus module -import Mathlib.Analysis.SpecialFunctions.Trigonometric.Chebyshev.Basic public import Mathlib.Analysis.SpecialFunctions.Trigonometric.Chebyshev.Orthogonality + +import Mathlib.Analysis.SpecialFunctions.Trigonometric.Chebyshev.Basic import Mathlib.Topology.Algebra.Polynomial /-! diff --git a/Mathlib/Analysis/SpecialFunctions/Trigonometric/Chebyshev/Extremal.lean b/Mathlib/Analysis/SpecialFunctions/Trigonometric/Chebyshev/Extremal.lean index 3e2d46547b94a3..d66b9eece039fa 100644 --- a/Mathlib/Analysis/SpecialFunctions/Trigonometric/Chebyshev/Extremal.lean +++ b/Mathlib/Analysis/SpecialFunctions/Trigonometric/Chebyshev/Extremal.lean @@ -7,6 +7,7 @@ module public import Mathlib.Analysis.SpecialFunctions.Trigonometric.Basic public import Mathlib.Analysis.SpecialFunctions.Trigonometric.Chebyshev.Basic + import Mathlib.LinearAlgebra.Lagrange import Mathlib.Tactic.Positivity diff --git a/Mathlib/Analysis/SpecialFunctions/Trigonometric/Chebyshev/Orthogonality.lean b/Mathlib/Analysis/SpecialFunctions/Trigonometric/Chebyshev/Orthogonality.lean index ecd1e76ce5e1c9..e4c32d855d93e9 100644 --- a/Mathlib/Analysis/SpecialFunctions/Trigonometric/Chebyshev/Orthogonality.lean +++ b/Mathlib/Analysis/SpecialFunctions/Trigonometric/Chebyshev/Orthogonality.lean @@ -7,6 +7,7 @@ module public import Mathlib.RingTheory.Polynomial.Chebyshev public import Mathlib.MeasureTheory.Integral.IntervalIntegral.Basic + import Mathlib.Analysis.SpecialFunctions.Trigonometric.Chebyshev.Basic import Mathlib.Analysis.SpecialFunctions.Trigonometric.InverseDeriv import Mathlib.MeasureTheory.Integral.IntegrableOn diff --git a/Mathlib/Analysis/SpecialFunctions/Trigonometric/Chebyshev/RootsExtrema.lean b/Mathlib/Analysis/SpecialFunctions/Trigonometric/Chebyshev/RootsExtrema.lean index a5940d1dbdac79..f8117b8c1752a4 100644 --- a/Mathlib/Analysis/SpecialFunctions/Trigonometric/Chebyshev/RootsExtrema.lean +++ b/Mathlib/Analysis/SpecialFunctions/Trigonometric/Chebyshev/RootsExtrema.lean @@ -8,6 +8,7 @@ module public import Mathlib.Analysis.SpecialFunctions.Trigonometric.Basic public import Mathlib.NumberTheory.Real.Irrational public import Mathlib.RingTheory.Polynomial.Chebyshev + import Mathlib.Analysis.Calculus.Deriv.Polynomial import Mathlib.Analysis.SpecialFunctions.Arcosh import Mathlib.Analysis.SpecialFunctions.Trigonometric.Chebyshev.Basic diff --git a/Mathlib/Analysis/SpecialFunctions/Trigonometric/Cotangent.lean b/Mathlib/Analysis/SpecialFunctions/Trigonometric/Cotangent.lean index 94561e1699dba1..78fc0be22ee824 100644 --- a/Mathlib/Analysis/SpecialFunctions/Trigonometric/Cotangent.lean +++ b/Mathlib/Analysis/SpecialFunctions/Trigonometric/Cotangent.lean @@ -5,15 +5,16 @@ Authors: Chris Birkbeck -/ module +public import Mathlib.Analysis.Complex.IntegerCompl +public import Mathlib.Analysis.Normed.Module.MultipliableUniformlyOn +public import Mathlib.Topology.Algebra.InfiniteSum.TsumUniformlyOn + import Mathlib.Analysis.Calculus.IteratedDeriv.WithinZpow import Mathlib.Analysis.Complex.UpperHalfPlane.Exp -public import Mathlib.Analysis.Complex.IntegerCompl import Mathlib.Analysis.Complex.LocallyUniformLimit import Mathlib.Analysis.PSeries import Mathlib.Analysis.SpecialFunctions.Trigonometric.EulerSineProd -public import Mathlib.Analysis.Normed.Module.MultipliableUniformlyOn import Mathlib.NumberTheory.ModularForms.EisensteinSeries.Summable -public import Mathlib.Topology.Algebra.InfiniteSum.TsumUniformlyOn /-! # Cotangent diff --git a/Mathlib/Analysis/SpecialFunctions/Trigonometric/DerivHyp.lean b/Mathlib/Analysis/SpecialFunctions/Trigonometric/DerivHyp.lean index cb2f4898ae728f..0fa9bcedf76e4b 100644 --- a/Mathlib/Analysis/SpecialFunctions/Trigonometric/DerivHyp.lean +++ b/Mathlib/Analysis/SpecialFunctions/Trigonometric/DerivHyp.lean @@ -5,12 +5,13 @@ Authors: Chris Hughes, Abhimanyu Pallavi Sudhir, Jean Lo, Calle Sönne, Benjamin -/ module -import Mathlib.Order.Monotone.Odd public import Mathlib.Analysis.Calculus.LogDeriv public import Mathlib.Analysis.SpecialFunctions.ExpDeriv public import Mathlib.Analysis.SpecialFunctions.Trigonometric.Basic public import Mathlib.Analysis.Calculus.Deriv.MeanValue +import Mathlib.Order.Monotone.Odd + /-! # Differentiability of hyperbolic trigonometric functions diff --git a/Mathlib/Analysis/SpecialFunctions/Trigonometric/EulerSineProd.lean b/Mathlib/Analysis/SpecialFunctions/Trigonometric/EulerSineProd.lean index 2857a6e7c83088..e59264d5f8a2de 100644 --- a/Mathlib/Analysis/SpecialFunctions/Trigonometric/EulerSineProd.lean +++ b/Mathlib/Analysis/SpecialFunctions/Trigonometric/EulerSineProd.lean @@ -5,9 +5,10 @@ Authors: David Loeffler -/ module -import Mathlib.Analysis.SpecialFunctions.Integrals.Basic public import Mathlib.MeasureTheory.Integral.PeakFunction +import Mathlib.Analysis.SpecialFunctions.Integrals.Basic + /-! # Euler's infinite product for the sine function This file proves the infinite product formula diff --git a/Mathlib/Analysis/SpecialFunctions/Trigonometric/Inverse.lean b/Mathlib/Analysis/SpecialFunctions/Trigonometric/Inverse.lean index 57456962e211c8..e562754c879e57 100644 --- a/Mathlib/Analysis/SpecialFunctions/Trigonometric/Inverse.lean +++ b/Mathlib/Analysis/SpecialFunctions/Trigonometric/Inverse.lean @@ -6,6 +6,7 @@ Authors: Chris Hughes, Abhimanyu Pallavi Sudhir, Jean Lo, Calle Sönne, Benjamin module public import Mathlib.Analysis.SpecialFunctions.Trigonometric.Basic + import Mathlib.Topology.Order.ProjIcc /-! diff --git a/Mathlib/Analysis/SpecialFunctions/Trigonometric/Meromorphic.lean b/Mathlib/Analysis/SpecialFunctions/Trigonometric/Meromorphic.lean index 4d69d4bce9ff7a..77dddfced44272 100644 --- a/Mathlib/Analysis/SpecialFunctions/Trigonometric/Meromorphic.lean +++ b/Mathlib/Analysis/SpecialFunctions/Trigonometric/Meromorphic.lean @@ -6,9 +6,10 @@ Authors: Xuanji Li module public import Mathlib.Analysis.Meromorphic.NormalForm -import Mathlib.Analysis.SpecialFunctions.Trigonometric.Deriv public import Mathlib.Analysis.SpecialFunctions.Trigonometric.DerivHyp +import Mathlib.Analysis.SpecialFunctions.Trigonometric.Deriv + /-! # Meromorphicity of `Complex.tan` and `Complex.tanh` -/ diff --git a/Mathlib/Analysis/SpecificLimits/Fibonacci.lean b/Mathlib/Analysis/SpecificLimits/Fibonacci.lean index e7d6d6ac539f15..7501d00831dfc8 100644 --- a/Mathlib/Analysis/SpecificLimits/Fibonacci.lean +++ b/Mathlib/Analysis/SpecificLimits/Fibonacci.lean @@ -5,9 +5,10 @@ Authors: Snir Broshi -/ module -import Mathlib.Analysis.SpecificLimits.Normed public import Mathlib.NumberTheory.Real.GoldenRatio +import Mathlib.Analysis.SpecificLimits.Normed + /-! # The ratio of consecutive Fibonacci numbers diff --git a/Mathlib/Analysis/SpecificLimits/FloorPow.lean b/Mathlib/Analysis/SpecificLimits/FloorPow.lean index 4b596e77250764..2e5510647df56b 100644 --- a/Mathlib/Analysis/SpecificLimits/FloorPow.lean +++ b/Mathlib/Analysis/SpecificLimits/FloorPow.lean @@ -5,9 +5,10 @@ Authors: Sébastien Gouëzel -/ module -import Mathlib.Algebra.Order.Field.GeomSum public import Mathlib.Analysis.SpecialFunctions.Pow.Real +import Mathlib.Algebra.Order.Field.GeomSum + /-! # Results on discretized exponentials diff --git a/Mathlib/Analysis/SpecificLimits/RCLike.lean b/Mathlib/Analysis/SpecificLimits/RCLike.lean index 227fcafd2a47cf..13ffc14903f3a0 100644 --- a/Mathlib/Analysis/SpecificLimits/RCLike.lean +++ b/Mathlib/Analysis/SpecificLimits/RCLike.lean @@ -6,6 +6,7 @@ Authors: Xavier Généreux, Patrick Massot module public import Mathlib.Analysis.RCLike.Basic + import Mathlib.Data.EReal.Inv /-! diff --git a/Mathlib/Analysis/SumIntegralExpDecay.lean b/Mathlib/Analysis/SumIntegralExpDecay.lean index 27598418449bf9..0ec4c236e9f0b9 100644 --- a/Mathlib/Analysis/SumIntegralExpDecay.lean +++ b/Mathlib/Analysis/SumIntegralExpDecay.lean @@ -5,9 +5,10 @@ Authors: Sébastien Gouëzel, Pietro Monticone -/ module -import Mathlib.Analysis.SpecialFunctions.Gamma.Basic public import Mathlib.Analysis.SumIntegralComparisons +import Mathlib.Analysis.SpecialFunctions.Gamma.Basic + /-! # Bounds for sums and integrals of `x ^ k * exp (-c * x)` diff --git a/Mathlib/Analysis/SumOverResidueClass.lean b/Mathlib/Analysis/SumOverResidueClass.lean index 46e7d0aced0fef..20cf9c7aa162a5 100644 --- a/Mathlib/Analysis/SumOverResidueClass.lean +++ b/Mathlib/Analysis/SumOverResidueClass.lean @@ -5,10 +5,11 @@ Authors: Michael Stoll -/ module -import Mathlib.Analysis.Normed.Group.Real public import Mathlib.Data.ZMod.Basic public import Mathlib.Topology.Algebra.InfiniteSum.ENNReal +import Mathlib.Analysis.Normed.Group.Real + /-! # Sums over residue classes diff --git a/Mathlib/Basic/Complex/Basic.lean b/Mathlib/Basic/Complex/Basic.lean index 422fb86c355528..0bd1c511d5e648 100644 --- a/Mathlib/Basic/Complex/Basic.lean +++ b/Mathlib/Basic/Complex/Basic.lean @@ -5,13 +5,14 @@ Authors: Kevin Buzzard, Mario Carneiro -/ module -import Mathlib.Algebra.Ring.CharZero public import Mathlib.Algebra.Ring.Torsion public import Mathlib.Algebra.Star.Basic public import Mathlib.Basic.Real.Basic public import Mathlib.Order.Interval.Set.UnorderedInterval public import Mathlib.Tactic.Ring +import Mathlib.Algebra.Ring.CharZero + /-! # The complex numbers diff --git a/Mathlib/Basic/Countable/Defs.lean b/Mathlib/Basic/Countable/Defs.lean index 2d58c4588e0bad..221bdc93c07266 100644 --- a/Mathlib/Basic/Countable/Defs.lean +++ b/Mathlib/Basic/Countable/Defs.lean @@ -7,6 +7,7 @@ module public import Mathlib.Basic.Finite.Defs public import Mathlib.Data.Bool.Basic + import Mathlib.Tactic.CrossRefAttribute /-! diff --git a/Mathlib/Basic/ENNReal/Basic.lean b/Mathlib/Basic/ENNReal/Basic.lean index 29442b08b62fab..242f8bc87ce2a8 100644 --- a/Mathlib/Basic/ENNReal/Basic.lean +++ b/Mathlib/Basic/ENNReal/Basic.lean @@ -9,6 +9,7 @@ public import Mathlib.Algebra.Order.Ring.WithTop public import Mathlib.Algebra.Order.Sub.WithTop public import Mathlib.Basic.NNReal.Defs public import Mathlib.Order.Interval.Set.WithBotTop + import Mathlib.Tactic.Basify.Attr /-! diff --git a/Mathlib/Basic/ENNReal/Inv.lean b/Mathlib/Basic/ENNReal/Inv.lean index f0fe4b436c06a5..fd51b663656c80 100644 --- a/Mathlib/Basic/ENNReal/Inv.lean +++ b/Mathlib/Basic/ENNReal/Inv.lean @@ -6,6 +6,7 @@ Authors: Johannes Hölzl, Yury Kudryashov module public import Mathlib.Basic.ENNReal.Operations + import Mathlib.Tactic.Basify.Attr /-! diff --git a/Mathlib/Basic/ENNReal/Operations.lean b/Mathlib/Basic/ENNReal/Operations.lean index 1e739c887486a9..86a4ae9a44f028 100644 --- a/Mathlib/Basic/ENNReal/Operations.lean +++ b/Mathlib/Basic/ENNReal/Operations.lean @@ -7,6 +7,7 @@ module public import Mathlib.Basic.ENNReal.Real public import Mathlib.Tactic.Finiteness + import Mathlib.Tactic.Basify.Attr /-! diff --git a/Mathlib/Basic/Finite/Prod.lean b/Mathlib/Basic/Finite/Prod.lean index 557ffb3a74f67a..5fffd8ac73db63 100644 --- a/Mathlib/Basic/Finite/Prod.lean +++ b/Mathlib/Basic/Finite/Prod.lean @@ -7,9 +7,10 @@ module public import Mathlib.Data.Fintype.Prod public import Mathlib.Data.Fintype.Pi -import Mathlib.Data.ULift public import Mathlib.Data.Set.NAry +import Mathlib.Data.ULift + /-! # Finiteness of products -/ diff --git a/Mathlib/Basic/Finite/Sigma.lean b/Mathlib/Basic/Finite/Sigma.lean index 620f33f69f2891..0d29b8746cc19c 100644 --- a/Mathlib/Basic/Finite/Sigma.lean +++ b/Mathlib/Basic/Finite/Sigma.lean @@ -5,10 +5,11 @@ Authors: Kyle Miller -/ module -import Mathlib.Data.Fintype.EquivFin public import Mathlib.Data.Fintype.Sigma public import Mathlib.Logic.Equiv.Sigma +import Mathlib.Data.Fintype.EquivFin + /-! # Finiteness of sigma types -/ diff --git a/Mathlib/Basic/Logic/Lemmas.lean b/Mathlib/Basic/Logic/Lemmas.lean index 8f9c92b39f8921..4305a3393fdd7e 100644 --- a/Mathlib/Basic/Logic/Lemmas.lean +++ b/Mathlib/Basic/Logic/Lemmas.lean @@ -5,9 +5,10 @@ Authors: Yaël Dillies -/ module +public import Mathlib.Tactic.Tauto + import Mathlib.Basic.Logic.Basic import Mathlib.Tactic.SplitIfs -public import Mathlib.Tactic.Tauto /-! # More basic logic properties diff --git a/Mathlib/Basic/NNReal/Defs.lean b/Mathlib/Basic/NNReal/Defs.lean index f555d7d6ed7a24..3a590beb85007b 100644 --- a/Mathlib/Basic/NNReal/Defs.lean +++ b/Mathlib/Basic/NNReal/Defs.lean @@ -9,6 +9,7 @@ public import Mathlib.Algebra.Algebra.Defs public import Mathlib.Algebra.Order.Archimedean.Real.Basic public import Mathlib.Algebra.Order.Nonneg.Module public import Mathlib.Order.ConditionallyCompleteLattice.Indexed + import Mathlib.Tactic.Basify.Attr /-! diff --git a/Mathlib/Basic/PEquiv.lean b/Mathlib/Basic/PEquiv.lean index 19089fd29e9ea0..4ad5d1a65aafda 100644 --- a/Mathlib/Basic/PEquiv.lean +++ b/Mathlib/Basic/PEquiv.lean @@ -6,9 +6,10 @@ Authors: Chris Hughes module public import Mathlib.Data.Option.Basic -import Batteries.Tactic.Congr public import Mathlib.Data.Set.Basic +import Batteries.Tactic.Congr + /-! # Partial Equivalences diff --git a/Mathlib/Basic/Real/ConjExponents.lean b/Mathlib/Basic/Real/ConjExponents.lean index 5be40934c7d866..a697523e7dac02 100644 --- a/Mathlib/Basic/Real/ConjExponents.lean +++ b/Mathlib/Basic/Real/ConjExponents.lean @@ -6,6 +6,7 @@ Authors: Sébastien Gouëzel, Yury Kudryashov module public import Mathlib.Basic.ENNReal.Holder + import Mathlib.Tactic.LinearCombination /-! diff --git a/Mathlib/Basic/Real/Embedding.lean b/Mathlib/Basic/Real/Embedding.lean index 141f7cfe7a61cf..71605e1511a554 100644 --- a/Mathlib/Basic/Real/Embedding.lean +++ b/Mathlib/Basic/Real/Embedding.lean @@ -6,8 +6,9 @@ Authors: Weiyi Wang module public import Mathlib.Algebra.Order.Archimedean.Real.Basic -import Mathlib.Algebra.Order.Group.Pointwise.CompleteLattice public import Mathlib.Algebra.Order.Hom.Monoid + +import Mathlib.Algebra.Order.Group.Pointwise.CompleteLattice import Mathlib.Algebra.Order.Module.Defs /-! diff --git a/Mathlib/Basic/Real/Pointwise.lean b/Mathlib/Basic/Real/Pointwise.lean index 9bf2da06f8774b..0673a1eb39c824 100644 --- a/Mathlib/Basic/Real/Pointwise.lean +++ b/Mathlib/Basic/Real/Pointwise.lean @@ -8,6 +8,7 @@ module public import Mathlib.Algebra.GroupWithZero.Action.Pointwise.Set public import Mathlib.Algebra.Order.Archimedean.Real.Basic public import Mathlib.Algebra.Order.Module.Pointwise + import Mathlib.Order.ConditionallyCompleteLattice.Indexed /-! diff --git a/Mathlib/Basic/Rel/Separated.lean b/Mathlib/Basic/Rel/Separated.lean index 8854f92c31238c..9263a4546a04db 100644 --- a/Mathlib/Basic/Rel/Separated.lean +++ b/Mathlib/Basic/Rel/Separated.lean @@ -6,6 +6,7 @@ Authors: Yaël Dillies module public import Mathlib.Basic.Rel + import Mathlib.Data.Set.Pairwise.Basic /-! diff --git a/Mathlib/Basic/Sign/Basic.lean b/Mathlib/Basic/Sign/Basic.lean index 33011c23a25409..476cd43cd6c6d2 100644 --- a/Mathlib/Basic/Sign/Basic.lean +++ b/Mathlib/Basic/Sign/Basic.lean @@ -5,12 +5,13 @@ Authors: Eric Rodriguez -/ module -import Mathlib.Algebra.GroupWithZero.Units.Lemmas public import Mathlib.Algebra.Order.BigOperators.Group.Finset public import Mathlib.Algebra.Order.Ring.Cast public import Mathlib.Basic.Sign.Defs public import Mathlib.Data.Fintype.BigOperators +import Mathlib.Algebra.GroupWithZero.Units.Lemmas + /-! # Sign function diff --git a/Mathlib/Basic/Sign/Defs.lean b/Mathlib/Basic/Sign/Defs.lean index 50126e018a61fa..657f02161ced81 100644 --- a/Mathlib/Basic/Sign/Defs.lean +++ b/Mathlib/Basic/Sign/Defs.lean @@ -7,11 +7,12 @@ module public import Mathlib.Algebra.Order.Ring.Defs public import Mathlib.Tactic.DeriveFintype -- shake: keep (deriving handlers not tracked yet) -import Mathlib.Data.Multiset.Defs -import Mathlib.Data.Fintype.Defs public import Mathlib.Algebra.Group.Equiv.Defs public import Mathlib.Algebra.Group.Int.Defs +import Mathlib.Data.Multiset.Defs +import Mathlib.Data.Fintype.Defs + /-! # Sign type diff --git a/Mathlib/CategoryTheory/Abelian/DiagramLemmas/Four.lean b/Mathlib/CategoryTheory/Abelian/DiagramLemmas/Four.lean index 319bc66363dc2b..9e36d41faa3bfd 100644 --- a/Mathlib/CategoryTheory/Abelian/DiagramLemmas/Four.lean +++ b/Mathlib/CategoryTheory/Abelian/DiagramLemmas/Four.lean @@ -6,6 +6,7 @@ Authors: Markus Himmel, Joël Riou module public import Mathlib.Algebra.Homology.ExactSequence + import Mathlib.CategoryTheory.Abelian.Refinements /-! diff --git a/Mathlib/CategoryTheory/Abelian/GrothendieckAxioms/Basic.lean b/Mathlib/CategoryTheory/Abelian/GrothendieckAxioms/Basic.lean index bbf465f376562f..7e441b53c372fe 100644 --- a/Mathlib/CategoryTheory/Abelian/GrothendieckAxioms/Basic.lean +++ b/Mathlib/CategoryTheory/Abelian/GrothendieckAxioms/Basic.lean @@ -10,6 +10,7 @@ public import Mathlib.CategoryTheory.Abelian.FunctorCategory public import Mathlib.CategoryTheory.Limits.Constructions.Filtered public import Mathlib.CategoryTheory.Limits.Preserves.FunctorCategory public import Mathlib.CategoryTheory.Limits.Shapes.Countable + import Mathlib.Logic.Equiv.List /-! diff --git a/Mathlib/CategoryTheory/Abelian/GrothendieckAxioms/Colim.lean b/Mathlib/CategoryTheory/Abelian/GrothendieckAxioms/Colim.lean index 96c14113ab32a3..0e5ddc0543afc3 100644 --- a/Mathlib/CategoryTheory/Abelian/GrothendieckAxioms/Colim.lean +++ b/Mathlib/CategoryTheory/Abelian/GrothendieckAxioms/Colim.lean @@ -5,10 +5,11 @@ Authors: Joël Riou -/ module -import Mathlib.CategoryTheory.Filtered.Final public import Mathlib.CategoryTheory.MorphismProperty.Limits public import Mathlib.CategoryTheory.Abelian.GrothendieckAxioms.Basic +import Mathlib.CategoryTheory.Filtered.Final + /-! # Exactness of colimits diff --git a/Mathlib/CategoryTheory/Abelian/GrothendieckAxioms/Connected.lean b/Mathlib/CategoryTheory/Abelian/GrothendieckAxioms/Connected.lean index 5d789fd9cda704..836223564d2bc7 100644 --- a/Mathlib/CategoryTheory/Abelian/GrothendieckAxioms/Connected.lean +++ b/Mathlib/CategoryTheory/Abelian/GrothendieckAxioms/Connected.lean @@ -6,6 +6,7 @@ Authors: Markus Himmel module public import Mathlib.CategoryTheory.Abelian.GrothendieckAxioms.Basic + import Mathlib.CategoryTheory.Limits.FunctorCategory.Shapes.Pullbacks /-! diff --git a/Mathlib/CategoryTheory/Abelian/GrothendieckAxioms/Indization.lean b/Mathlib/CategoryTheory/Abelian/GrothendieckAxioms/Indization.lean index 464e9fc9f4d099..4975315ee2b8df 100644 --- a/Mathlib/CategoryTheory/Abelian/GrothendieckAxioms/Indization.lean +++ b/Mathlib/CategoryTheory/Abelian/GrothendieckAxioms/Indization.lean @@ -5,11 +5,12 @@ Authors: Markus Himmel -/ module +public import Mathlib.CategoryTheory.Abelian.Indization +public import Mathlib.CategoryTheory.Abelian.GrothendieckCategory.Basic + import Mathlib.CategoryTheory.Abelian.GrothendieckAxioms.FunctorCategory import Mathlib.CategoryTheory.Abelian.GrothendieckAxioms.Types -public import Mathlib.CategoryTheory.Abelian.Indization import Mathlib.CategoryTheory.Generator.Indization -public import Mathlib.CategoryTheory.Abelian.GrothendieckCategory.Basic /-! # AB axioms in the category of ind-objects diff --git a/Mathlib/CategoryTheory/Abelian/GrothendieckAxioms/PresheafOfModules.lean b/Mathlib/CategoryTheory/Abelian/GrothendieckAxioms/PresheafOfModules.lean index e91a1211adf2d9..7a5fe8bb3dc378 100644 --- a/Mathlib/CategoryTheory/Abelian/GrothendieckAxioms/PresheafOfModules.lean +++ b/Mathlib/CategoryTheory/Abelian/GrothendieckAxioms/PresheafOfModules.lean @@ -9,6 +9,7 @@ public import Mathlib.Algebra.Category.Grp.FilteredColimits public import Mathlib.Algebra.Category.ModuleCat.Presheaf.Generator public import Mathlib.CategoryTheory.Abelian.GrothendieckCategory.Basic public import Mathlib.CategoryTheory.Functor.ReflectsIso.Balanced + import Mathlib.CategoryTheory.Limits.FilteredColimitCommutesFiniteLimit /-! diff --git a/Mathlib/CategoryTheory/Abelian/GrothendieckAxioms/Sheaf.lean b/Mathlib/CategoryTheory/Abelian/GrothendieckAxioms/Sheaf.lean index e905b3d162d047..25d4d23ef3689a 100644 --- a/Mathlib/CategoryTheory/Abelian/GrothendieckAxioms/Sheaf.lean +++ b/Mathlib/CategoryTheory/Abelian/GrothendieckAxioms/Sheaf.lean @@ -5,12 +5,13 @@ Authors: Dagur Asgeirsson, Joël Riou -/ module -import Mathlib.CategoryTheory.Abelian.GrothendieckAxioms.FunctorCategory public import Mathlib.CategoryTheory.Abelian.GrothendieckCategory.Basic -import Mathlib.CategoryTheory.Generator.Sheaf public import Mathlib.CategoryTheory.Sites.Abelian public import Mathlib.CategoryTheory.Sites.Equivalence +import Mathlib.CategoryTheory.Abelian.GrothendieckAxioms.FunctorCategory +import Mathlib.CategoryTheory.Generator.Sheaf + /-! # AB axioms in sheaf categories diff --git a/Mathlib/CategoryTheory/Abelian/GrothendieckAxioms/Types.lean b/Mathlib/CategoryTheory/Abelian/GrothendieckAxioms/Types.lean index 20c1c852b744e6..62115102b694b3 100644 --- a/Mathlib/CategoryTheory/Abelian/GrothendieckAxioms/Types.lean +++ b/Mathlib/CategoryTheory/Abelian/GrothendieckAxioms/Types.lean @@ -5,9 +5,10 @@ Authors: Markus Himmel -/ module -import Mathlib.CategoryTheory.Limits.FilteredColimitCommutesFiniteLimit public import Mathlib.CategoryTheory.Abelian.GrothendieckAxioms.Basic +import Mathlib.CategoryTheory.Limits.FilteredColimitCommutesFiniteLimit + /-! # The category of types satisfies Grothendieck's AB5 axiom diff --git a/Mathlib/CategoryTheory/Abelian/GrothendieckCategory/Basic.lean b/Mathlib/CategoryTheory/Abelian/GrothendieckCategory/Basic.lean index 95b45785e6885c..cd9fbada4ac098 100644 --- a/Mathlib/CategoryTheory/Abelian/GrothendieckCategory/Basic.lean +++ b/Mathlib/CategoryTheory/Abelian/GrothendieckCategory/Basic.lean @@ -6,10 +6,11 @@ Authors: Paul Reichert module public import Mathlib.CategoryTheory.Abelian.GrothendieckAxioms.Basic -import Mathlib.CategoryTheory.Abelian.Subobject public import Mathlib.CategoryTheory.Abelian.Transfer public import Mathlib.CategoryTheory.Adjunction.AdjointFunctorTheorems +import Mathlib.CategoryTheory.Abelian.Subobject + /-! # Grothendieck categories diff --git a/Mathlib/CategoryTheory/Abelian/GrothendieckCategory/EnoughInjectives.lean b/Mathlib/CategoryTheory/Abelian/GrothendieckCategory/EnoughInjectives.lean index d71333a697b972..3ef32d0f6514ce 100644 --- a/Mathlib/CategoryTheory/Abelian/GrothendieckCategory/EnoughInjectives.lean +++ b/Mathlib/CategoryTheory/Abelian/GrothendieckCategory/EnoughInjectives.lean @@ -5,14 +5,15 @@ Authors: Joël Riou -/ module -import Mathlib.CategoryTheory.Abelian.CommSq -import Mathlib.CategoryTheory.Abelian.GrothendieckCategory.ColimCoyoneda public import Mathlib.CategoryTheory.Abelian.GrothendieckCategory.Monomorphisms -import Mathlib.CategoryTheory.Preadditive.Injective.LiftingProperties public import Mathlib.CategoryTheory.SmallObject.Basic public import Mathlib.CategoryTheory.Subobject.HasCardinalLT public import Mathlib.Order.TransfiniteIteration +import Mathlib.CategoryTheory.Abelian.CommSq +import Mathlib.CategoryTheory.Abelian.GrothendieckCategory.ColimCoyoneda +import Mathlib.CategoryTheory.Preadditive.Injective.LiftingProperties + /-! # Grothendieck abelian categories have enough injectives diff --git a/Mathlib/CategoryTheory/Abelian/GrothendieckCategory/ModuleEmbedding/GabrielPopescu.lean b/Mathlib/CategoryTheory/Abelian/GrothendieckCategory/ModuleEmbedding/GabrielPopescu.lean index e2383a34d3939b..1c9a916a88ebc8 100644 --- a/Mathlib/CategoryTheory/Abelian/GrothendieckCategory/ModuleEmbedding/GabrielPopescu.lean +++ b/Mathlib/CategoryTheory/Abelian/GrothendieckCategory/ModuleEmbedding/GabrielPopescu.lean @@ -5,10 +5,11 @@ Authors: Markus Himmel -/ module -import Mathlib.Algebra.Category.ModuleCat.Injective -import Mathlib.CategoryTheory.Abelian.GrothendieckAxioms.Connected public import Mathlib.CategoryTheory.Abelian.GrothendieckCategory.Coseparator public import Mathlib.CategoryTheory.Preadditive.Injective.Preserves + +import Mathlib.Algebra.Category.ModuleCat.Injective +import Mathlib.CategoryTheory.Abelian.GrothendieckAxioms.Connected import Mathlib.CategoryTheory.Preadditive.LiftToFinset import Mathlib.CategoryTheory.Preadditive.Yoneda.Limits diff --git a/Mathlib/CategoryTheory/Abelian/GrothendieckCategory/ModuleEmbedding/Opposite.lean b/Mathlib/CategoryTheory/Abelian/GrothendieckCategory/ModuleEmbedding/Opposite.lean index 3896da22787e0e..2106bbe5097102 100644 --- a/Mathlib/CategoryTheory/Abelian/GrothendieckCategory/ModuleEmbedding/Opposite.lean +++ b/Mathlib/CategoryTheory/Abelian/GrothendieckCategory/ModuleEmbedding/Opposite.lean @@ -6,9 +6,10 @@ Authors: Markus Himmel module public import Mathlib.CategoryTheory.Abelian.Yoneda -import Mathlib.CategoryTheory.Generator.Abelian public import Mathlib.CategoryTheory.Abelian.GrothendieckCategory.EnoughInjectives +import Mathlib.CategoryTheory.Generator.Abelian + /-! # Embedding opposites of Grothendieck categories diff --git a/Mathlib/CategoryTheory/Abelian/GrothendieckCategory/Monomorphisms.lean b/Mathlib/CategoryTheory/Abelian/GrothendieckCategory/Monomorphisms.lean index 622d4775c997f5..068b7a731cfb62 100644 --- a/Mathlib/CategoryTheory/Abelian/GrothendieckCategory/Monomorphisms.lean +++ b/Mathlib/CategoryTheory/Abelian/GrothendieckCategory/Monomorphisms.lean @@ -6,9 +6,10 @@ Authors: Joël Riou module public import Mathlib.CategoryTheory.Abelian.GrothendieckCategory.Basic -import Mathlib.CategoryTheory.Abelian.GrothendieckAxioms.Colim public import Mathlib.CategoryTheory.MorphismProperty.TransfiniteComposition +import Mathlib.CategoryTheory.Abelian.GrothendieckAxioms.Colim + /-! # Monomorphisms in Grothendieck abelian categories diff --git a/Mathlib/CategoryTheory/Abelian/Indization.lean b/Mathlib/CategoryTheory/Abelian/Indization.lean index ab9bd73e2674a5..9aef3f5b91ec42 100644 --- a/Mathlib/CategoryTheory/Abelian/Indization.lean +++ b/Mathlib/CategoryTheory/Abelian/Indization.lean @@ -7,6 +7,7 @@ module public import Mathlib.CategoryTheory.Preadditive.Indization public import Mathlib.CategoryTheory.Abelian.FunctorCategory + import Mathlib.CategoryTheory.Limits.Preserves.Shapes.AbelianImages /-! diff --git a/Mathlib/CategoryTheory/Abelian/Injective/Basic.lean b/Mathlib/CategoryTheory/Abelian/Injective/Basic.lean index 1a1cdbf542ff48..289c7488927cea 100644 --- a/Mathlib/CategoryTheory/Abelian/Injective/Basic.lean +++ b/Mathlib/CategoryTheory/Abelian/Injective/Basic.lean @@ -5,10 +5,11 @@ Authors: Jakob von Raumer -/ module -import Mathlib.CategoryTheory.Preadditive.Yoneda.Limits public import Mathlib.CategoryTheory.Preadditive.Yoneda.Injective public import Mathlib.Algebra.Homology.ShortComplex.ExactFunctor +import Mathlib.CategoryTheory.Preadditive.Yoneda.Limits + /-! # Injective objects in abelian categories diff --git a/Mathlib/CategoryTheory/Abelian/Injective/Dimension.lean b/Mathlib/CategoryTheory/Abelian/Injective/Dimension.lean index f02b08680231c8..ab5202185e21bd 100644 --- a/Mathlib/CategoryTheory/Abelian/Injective/Dimension.lean +++ b/Mathlib/CategoryTheory/Abelian/Injective/Dimension.lean @@ -6,9 +6,10 @@ Authors: Nailin Guan module public import Mathlib.Algebra.Homology.DerivedCategory.Ext.EnoughInjectives +public import Mathlib.Data.ENat.Lattice + import Mathlib.Algebra.Homology.DerivedCategory.Ext.EnoughProjectives import Mathlib.CategoryTheory.Abelian.Exact -public import Mathlib.Data.ENat.Lattice /-! # Injective dimension diff --git a/Mathlib/CategoryTheory/Abelian/Injective/Resolution.lean b/Mathlib/CategoryTheory/Abelian/Injective/Resolution.lean index c37250bad916f2..fd3797140db2c8 100644 --- a/Mathlib/CategoryTheory/Abelian/Injective/Resolution.lean +++ b/Mathlib/CategoryTheory/Abelian/Injective/Resolution.lean @@ -7,8 +7,9 @@ module public import Mathlib.Algebra.Homology.HomotopyCategory public import Mathlib.Algebra.Homology.ShortComplex.ShortExact -import Mathlib.CategoryTheory.Abelian.Exact public import Mathlib.CategoryTheory.Preadditive.Injective.Resolution + +import Mathlib.CategoryTheory.Abelian.Exact import Mathlib.Tactic.AdaptationNote /-! diff --git a/Mathlib/CategoryTheory/Abelian/Preradical/Colon.lean b/Mathlib/CategoryTheory/Abelian/Preradical/Colon.lean index 856c7255e7cca9..9cb2982d7c6edd 100644 --- a/Mathlib/CategoryTheory/Abelian/Preradical/Colon.lean +++ b/Mathlib/CategoryTheory/Abelian/Preradical/Colon.lean @@ -8,6 +8,7 @@ module public import Mathlib.CategoryTheory.Abelian.Preradical.Basic public import Mathlib.CategoryTheory.Abelian.FunctorCategory public import Mathlib.Algebra.Homology.ShortComplex.ShortExact + import Mathlib.CategoryTheory.Limits.Shapes.Pullback.IsPullback.Basic /-! diff --git a/Mathlib/CategoryTheory/Abelian/Projective/Dimension.lean b/Mathlib/CategoryTheory/Abelian/Projective/Dimension.lean index be40395d5e7786..2e594816c6d255 100644 --- a/Mathlib/CategoryTheory/Abelian/Projective/Dimension.lean +++ b/Mathlib/CategoryTheory/Abelian/Projective/Dimension.lean @@ -5,11 +5,12 @@ Authors: Joël Riou, Nailin Guan -/ module -import Mathlib.Algebra.Homology.DerivedCategory.Ext.EnoughInjectives public import Mathlib.Algebra.Homology.DerivedCategory.Ext.EnoughProjectives public import Mathlib.CategoryTheory.Abelian.Exact public import Mathlib.Data.ENat.Lattice +import Mathlib.Algebra.Homology.DerivedCategory.Ext.EnoughInjectives + /-! # Projective dimension diff --git a/Mathlib/CategoryTheory/Abelian/SerreClass/Localization.lean b/Mathlib/CategoryTheory/Abelian/SerreClass/Localization.lean index f3bd0cc37a4b29..af15d2519c3100 100644 --- a/Mathlib/CategoryTheory/Abelian/SerreClass/Localization.lean +++ b/Mathlib/CategoryTheory/Abelian/SerreClass/Localization.lean @@ -5,10 +5,11 @@ Authors: Joël Riou -/ module -import Mathlib.Algebra.Homology.ShortComplex.ExactFunctor public import Mathlib.CategoryTheory.Abelian.SerreClass.MorphismProperty public import Mathlib.CategoryTheory.Localization.CalculusOfFractions.Preadditive +import Mathlib.Algebra.Homology.ShortComplex.ExactFunctor + /-! # Localization with respect to a Serre class diff --git a/Mathlib/CategoryTheory/Abelian/SerreClass/MorphismProperty.lean b/Mathlib/CategoryTheory/Abelian/SerreClass/MorphismProperty.lean index b378b9fe649ec5..7253f136292f63 100644 --- a/Mathlib/CategoryTheory/Abelian/SerreClass/MorphismProperty.lean +++ b/Mathlib/CategoryTheory/Abelian/SerreClass/MorphismProperty.lean @@ -6,13 +6,14 @@ Authors: Joël Riou module public import Mathlib.CategoryTheory.Abelian.SerreClass.Basic -import Mathlib.CategoryTheory.Abelian.CommSq public import Mathlib.CategoryTheory.Abelian.DiagramLemmas.KernelCokernelComp -import Mathlib.CategoryTheory.Limits.Shapes.Pullback.IsPullback.Kernels public import Mathlib.CategoryTheory.MorphismProperty.Retract public import Mathlib.CategoryTheory.MorphismProperty.Limits public import Mathlib.CategoryTheory.MorphismProperty.IsInvertedBy +import Mathlib.CategoryTheory.Abelian.CommSq +import Mathlib.CategoryTheory.Limits.Shapes.Pullback.IsPullback.Kernels + /-! # The class of isomorphisms modulo a Serre class diff --git a/Mathlib/CategoryTheory/Abelian/ShortExact.lean b/Mathlib/CategoryTheory/Abelian/ShortExact.lean index cb0c070b04d51f..f2e097d9dada82 100644 --- a/Mathlib/CategoryTheory/Abelian/ShortExact.lean +++ b/Mathlib/CategoryTheory/Abelian/ShortExact.lean @@ -6,6 +6,7 @@ Authors: Paul Lezeau, Edison Xie module public import Mathlib.Algebra.Homology.ShortComplex.ShortExact + import Mathlib.CategoryTheory.Abelian.Exact /-! # Short Exact Sequences in Abelian Categories diff --git a/Mathlib/CategoryTheory/Abelian/Yoneda.lean b/Mathlib/CategoryTheory/Abelian/Yoneda.lean index 70f8e90189b145..18cc972513d081 100644 --- a/Mathlib/CategoryTheory/Abelian/Yoneda.lean +++ b/Mathlib/CategoryTheory/Abelian/Yoneda.lean @@ -5,10 +5,11 @@ Authors: Markus Himmel -/ module -import Mathlib.Algebra.Category.Grp.Abelian -import Mathlib.CategoryTheory.Abelian.DiagramLemmas.Four public import Mathlib.CategoryTheory.Abelian.Projective.Basic public import Mathlib.CategoryTheory.Generator.Preadditive + +import Mathlib.Algebra.Category.Grp.Abelian +import Mathlib.CategoryTheory.Abelian.DiagramLemmas.Four import Mathlib.CategoryTheory.Limits.Preserves.Opposites /-! diff --git a/Mathlib/CategoryTheory/Action/Basic.lean b/Mathlib/CategoryTheory/Action/Basic.lean index 901524ea739d7e..d04cf456174f36 100644 --- a/Mathlib/CategoryTheory/Action/Basic.lean +++ b/Mathlib/CategoryTheory/Action/Basic.lean @@ -7,11 +7,12 @@ module public import Mathlib.Algebra.Category.Grp.Basic public import Mathlib.Algebra.Ring.PUnit -import Mathlib.CategoryTheory.Adjunction.Limits public import Mathlib.CategoryTheory.Conj -import Mathlib.CategoryTheory.Limits.FunctorCategory.Basic public import Mathlib.CategoryTheory.Limits.Preserves.Basic public import Mathlib.CategoryTheory.SingleObj + +import Mathlib.CategoryTheory.Adjunction.Limits +import Mathlib.CategoryTheory.Limits.FunctorCategory.Basic import Mathlib.Tactic.ApplyFun /-! diff --git a/Mathlib/CategoryTheory/Adhesive/Basic.lean b/Mathlib/CategoryTheory/Adhesive/Basic.lean index 514cdf82a4e94e..2517e7a74f5e55 100644 --- a/Mathlib/CategoryTheory/Adhesive/Basic.lean +++ b/Mathlib/CategoryTheory/Adhesive/Basic.lean @@ -7,6 +7,7 @@ module public import Mathlib.CategoryTheory.Extensive public import Mathlib.CategoryTheory.Limits.Shapes.KernelPair + import Mathlib.CategoryTheory.Limits.Constructions.EpiMono /-! diff --git a/Mathlib/CategoryTheory/Adhesive/Over.lean b/Mathlib/CategoryTheory/Adhesive/Over.lean index 84f26a0133a41b..dc015de3af52e2 100644 --- a/Mathlib/CategoryTheory/Adhesive/Over.lean +++ b/Mathlib/CategoryTheory/Adhesive/Over.lean @@ -6,6 +6,7 @@ Authors: Dénes Pápai module public import Mathlib.CategoryTheory.Adhesive.Basic + import Mathlib.CategoryTheory.Limits.Constructions.Over.Connected /-! # Adhesive structure on slice categories diff --git a/Mathlib/CategoryTheory/Adjunction/AdjointFunctorTheorems.lean b/Mathlib/CategoryTheory/Adjunction/AdjointFunctorTheorems.lean index 2fafd8f7bfdbff..3abaaf160b8bd4 100644 --- a/Mathlib/CategoryTheory/Adjunction/AdjointFunctorTheorems.lean +++ b/Mathlib/CategoryTheory/Adjunction/AdjointFunctorTheorems.lean @@ -6,6 +6,7 @@ Authors: Bhavik Mehta module public import Mathlib.CategoryTheory.Generator.Basic + import Mathlib.CategoryTheory.Limits.ConeCategory import Mathlib.CategoryTheory.Limits.Constructions.WeaklyInitial import Mathlib.CategoryTheory.Subobject.Comma diff --git a/Mathlib/CategoryTheory/Adjunction/FullyFaithfulLimits.lean b/Mathlib/CategoryTheory/Adjunction/FullyFaithfulLimits.lean index 91c9e100359146..a3a2778f4c8e84 100644 --- a/Mathlib/CategoryTheory/Adjunction/FullyFaithfulLimits.lean +++ b/Mathlib/CategoryTheory/Adjunction/FullyFaithfulLimits.lean @@ -5,9 +5,10 @@ Authors: Joël Riou -/ module -import Mathlib.CategoryTheory.Adjunction.FullyFaithful public import Mathlib.CategoryTheory.Adjunction.Limits +import Mathlib.CategoryTheory.Adjunction.FullyFaithful + /-! # Preservation of colimits and reflective adjunctions diff --git a/Mathlib/CategoryTheory/Adjunction/Reflective.lean b/Mathlib/CategoryTheory/Adjunction/Reflective.lean index 53c1046f2330c9..9e0d089ce67643 100644 --- a/Mathlib/CategoryTheory/Adjunction/Reflective.lean +++ b/Mathlib/CategoryTheory/Adjunction/Reflective.lean @@ -6,9 +6,10 @@ Authors: Bhavik Mehta module public import Mathlib.CategoryTheory.Adjunction.FullyFaithful -import Mathlib.CategoryTheory.Functor.EpiMono public import Mathlib.CategoryTheory.HomCongr +import Mathlib.CategoryTheory.Functor.EpiMono + /-! # Reflective functors diff --git a/Mathlib/CategoryTheory/Adjunction/Triple.lean b/Mathlib/CategoryTheory/Adjunction/Triple.lean index 03538721dcda4b..913551860197d7 100644 --- a/Mathlib/CategoryTheory/Adjunction/Triple.lean +++ b/Mathlib/CategoryTheory/Adjunction/Triple.lean @@ -6,8 +6,9 @@ Authors: Dagur Asgeirsson, Ben Eltschig module public import Mathlib.CategoryTheory.Adjunction.Opposites -import Mathlib.CategoryTheory.Adjunction.Unique public import Mathlib.CategoryTheory.Monad.Adjunction + +import Mathlib.CategoryTheory.Adjunction.Unique /-! # Adjoint triples diff --git a/Mathlib/CategoryTheory/Category/Cat/Colimit.lean b/Mathlib/CategoryTheory/Category/Cat/Colimit.lean index f1d9b3dc82fa85..cd9622693421d7 100644 --- a/Mathlib/CategoryTheory/Category/Cat/Colimit.lean +++ b/Mathlib/CategoryTheory/Category/Cat/Colimit.lean @@ -5,9 +5,10 @@ Authors: Mario Carneiro, Emily Riehl -/ module -import Mathlib.AlgebraicTopology.SimplicialSet.NerveAdjunction public import Mathlib.CategoryTheory.Monad.Limits +import Mathlib.AlgebraicTopology.SimplicialSet.NerveAdjunction + /-! # The category of small categories has all small colimits. diff --git a/Mathlib/CategoryTheory/Category/Init.lean b/Mathlib/CategoryTheory/Category/Init.lean index f0ee32127b030d..e17bb04830fa81 100644 --- a/Mathlib/CategoryTheory/Category/Init.lean +++ b/Mathlib/CategoryTheory/Category/Init.lean @@ -5,9 +5,10 @@ Authors: Jannis Limperg -/ module -import Mathlib.Init public import Aesop +import Mathlib.Init + /-! # Category Theory Rule Set diff --git a/Mathlib/CategoryTheory/Category/Preorder.lean b/Mathlib/CategoryTheory/Category/Preorder.lean index 85ef4369a908fa..6ea8a084e1c587 100644 --- a/Mathlib/CategoryTheory/Category/Preorder.lean +++ b/Mathlib/CategoryTheory/Category/Preorder.lean @@ -7,6 +7,7 @@ module public import Mathlib.CategoryTheory.EqToHom public import Mathlib.Order.Hom.Basic + import Mathlib.Data.ULift /-! diff --git a/Mathlib/CategoryTheory/Category/ULift.lean b/Mathlib/CategoryTheory/Category/ULift.lean index af2f93928c55b1..611067e85c3380 100644 --- a/Mathlib/CategoryTheory/Category/ULift.lean +++ b/Mathlib/CategoryTheory/Category/ULift.lean @@ -6,6 +6,7 @@ Authors: Adam Topaz module public import Mathlib.CategoryTheory.EqToHom + import Mathlib.Data.ULift /-! diff --git a/Mathlib/CategoryTheory/Comma/Final.lean b/Mathlib/CategoryTheory/Comma/Final.lean index 46d2e1932a5120..8873568f9c0dfc 100644 --- a/Mathlib/CategoryTheory/Comma/Final.lean +++ b/Mathlib/CategoryTheory/Comma/Final.lean @@ -6,6 +6,7 @@ Authors: Jakob von Raumer module public import Mathlib.CategoryTheory.Filtered.Final + import Mathlib.CategoryTheory.Comma.StructuredArrow.CommaMap /-! diff --git a/Mathlib/CategoryTheory/Comma/StructuredArrow/Final.lean b/Mathlib/CategoryTheory/Comma/StructuredArrow/Final.lean index 77e9191552330a..1a6b71c85647be 100644 --- a/Mathlib/CategoryTheory/Comma/StructuredArrow/Final.lean +++ b/Mathlib/CategoryTheory/Comma/StructuredArrow/Final.lean @@ -5,9 +5,10 @@ Authors: Jakob von Raumer -/ module -import Mathlib.CategoryTheory.Functor.KanExtension.Adjunction public import Mathlib.CategoryTheory.Limits.Final +import Mathlib.CategoryTheory.Functor.KanExtension.Adjunction + /-! # Finality on Costructured Arrow categories diff --git a/Mathlib/CategoryTheory/ConnectedComponents.lean b/Mathlib/CategoryTheory/ConnectedComponents.lean index 54a08e850923f0..9fddaaefd38fba 100644 --- a/Mathlib/CategoryTheory/ConnectedComponents.lean +++ b/Mathlib/CategoryTheory/ConnectedComponents.lean @@ -5,10 +5,11 @@ Authors: Bhavik Mehta -/ module -import Mathlib.Data.List.Chain public import Mathlib.CategoryTheory.IsConnected public import Mathlib.CategoryTheory.Sigma.Basic +import Mathlib.Data.List.Chain + /-! # Connected components of a category diff --git a/Mathlib/CategoryTheory/EffectiveEpi/Coproduct.lean b/Mathlib/CategoryTheory/EffectiveEpi/Coproduct.lean index 320779ea646a97..59f45ca4dab5c9 100644 --- a/Mathlib/CategoryTheory/EffectiveEpi/Coproduct.lean +++ b/Mathlib/CategoryTheory/EffectiveEpi/Coproduct.lean @@ -7,6 +7,7 @@ module public import Mathlib.CategoryTheory.EffectiveEpi.Basic public import Mathlib.CategoryTheory.Limits.Shapes.Pullback.HasPullback + import Mathlib.Tactic.ApplyFun /-! diff --git a/Mathlib/CategoryTheory/Endofunctor/Algebra.lean b/Mathlib/CategoryTheory/Endofunctor/Algebra.lean index eab8539880cc76..ad083f1bbec871 100644 --- a/Mathlib/CategoryTheory/Endofunctor/Algebra.lean +++ b/Mathlib/CategoryTheory/Endofunctor/Algebra.lean @@ -6,6 +6,7 @@ Authors: Kim Morrison, Bhavik Mehta, Johan Commelin, Reid Barton, Robert Y. Lewi module public import Mathlib.CategoryTheory.Limits.Shapes.IsTerminal + import Mathlib.CategoryTheory.Functor.EpiMono /-! diff --git a/Mathlib/CategoryTheory/Enriched/Basic.lean b/Mathlib/CategoryTheory/Enriched/Basic.lean index eeb6f0ac2fad05..c6b228c4d44f18 100644 --- a/Mathlib/CategoryTheory/Enriched/Basic.lean +++ b/Mathlib/CategoryTheory/Enriched/Basic.lean @@ -7,6 +7,7 @@ module public import Mathlib.CategoryTheory.Monoidal.Types.Coyoneda public import Mathlib.CategoryTheory.Monoidal.Center + import Mathlib.Tactic.ApplyFun /-! diff --git a/Mathlib/CategoryTheory/Extensive.lean b/Mathlib/CategoryTheory/Extensive.lean index f7938504904e45..a47747b56f5216 100644 --- a/Mathlib/CategoryTheory/Extensive.lean +++ b/Mathlib/CategoryTheory/Extensive.lean @@ -7,12 +7,13 @@ module public import Mathlib.CategoryTheory.Limits.Types.Coproducts public import Mathlib.CategoryTheory.Limits.Types.Products -import Mathlib.CategoryTheory.Limits.Types.Pullbacks public import Mathlib.Topology.Category.TopCat.Limits.Pullbacks public import Mathlib.CategoryTheory.Limits.VanKampen public import Mathlib.CategoryTheory.Limits.MonoCoprod public import Mathlib.CategoryTheory.Limits.Shapes.DisjointCoproduct +import Mathlib.CategoryTheory.Limits.Types.Pullbacks + /-! # Extensive categories diff --git a/Mathlib/CategoryTheory/Filtered/CostructuredArrow.lean b/Mathlib/CategoryTheory/Filtered/CostructuredArrow.lean index fd271a7cf7d351..fb4f81c8ffd700 100644 --- a/Mathlib/CategoryTheory/Filtered/CostructuredArrow.lean +++ b/Mathlib/CategoryTheory/Filtered/CostructuredArrow.lean @@ -5,12 +5,13 @@ Authors: Jakob von Raumer -/ module +public import Mathlib.CategoryTheory.Limits.Final + import Mathlib.CategoryTheory.Filtered.OfColimitCommutesFiniteLimit import Mathlib.CategoryTheory.Functor.KanExtension.Adjunction import Mathlib.CategoryTheory.Limits.ConcreteCategory.Basic import Mathlib.CategoryTheory.Limits.FilteredColimitCommutesFiniteLimit import Mathlib.CategoryTheory.Limits.Preserves.Grothendieck -public import Mathlib.CategoryTheory.Limits.Final /-! # Inferring Filteredness from Filteredness of Costructured Arrow Categories diff --git a/Mathlib/CategoryTheory/Filtered/Flat.lean b/Mathlib/CategoryTheory/Filtered/Flat.lean index 12b58e3af874c4..51b076b9f77e40 100644 --- a/Mathlib/CategoryTheory/Filtered/Flat.lean +++ b/Mathlib/CategoryTheory/Filtered/Flat.lean @@ -5,9 +5,10 @@ Authors: Jakob von Raumer -/ module -import Mathlib.CategoryTheory.Filtered.CostructuredArrow public import Mathlib.CategoryTheory.Functor.Flat +import Mathlib.CategoryTheory.Filtered.CostructuredArrow + /-! # Pulling back filteredness along representably flat functors diff --git a/Mathlib/CategoryTheory/Filtration/Basic.lean b/Mathlib/CategoryTheory/Filtration/Basic.lean index 4244287b6358af..e7bb262c426bce 100644 --- a/Mathlib/CategoryTheory/Filtration/Basic.lean +++ b/Mathlib/CategoryTheory/Filtration/Basic.lean @@ -6,10 +6,11 @@ Authors: Simone M. Chiarello, Matteo Cipollina module -import Mathlib.CategoryTheory.Limits.Shapes.Pullback.IsPullback.Basic public import Mathlib.CategoryTheory.MorphismProperty.Composition public import Mathlib.CategoryTheory.Subobject.MonoOver +import Mathlib.CategoryTheory.Limits.Shapes.Pullback.IsPullback.Basic + /-! # Filtrations diff --git a/Mathlib/CategoryTheory/Functor/Flat.lean b/Mathlib/CategoryTheory/Functor/Flat.lean index cc700e4497b209..85a15cad512554 100644 --- a/Mathlib/CategoryTheory/Functor/Flat.lean +++ b/Mathlib/CategoryTheory/Functor/Flat.lean @@ -7,11 +7,12 @@ module public import Mathlib.CategoryTheory.Filtered.Connected public import Mathlib.CategoryTheory.Limits.ConcreteCategory.Basic -import Mathlib.CategoryTheory.Limits.FilteredColimitCommutesFiniteLimit public import Mathlib.CategoryTheory.Limits.Preserves.Filtered public import Mathlib.CategoryTheory.Limits.Preserves.FunctorCategory public import Mathlib.CategoryTheory.Limits.Bicones public import Mathlib.CategoryTheory.Limits.Preserves.Opposites + +import Mathlib.CategoryTheory.Limits.FilteredColimitCommutesFiniteLimit /-! # Representably flat functors diff --git a/Mathlib/CategoryTheory/Functor/ReflectsIso/Jointly.lean b/Mathlib/CategoryTheory/Functor/ReflectsIso/Jointly.lean index 546d6106ebf7bc..f7eca2cb614c1b 100644 --- a/Mathlib/CategoryTheory/Functor/ReflectsIso/Jointly.lean +++ b/Mathlib/CategoryTheory/Functor/ReflectsIso/Jointly.lean @@ -5,9 +5,10 @@ Authors: Joël Riou, Christian Merten -/ module +public import Mathlib.CategoryTheory.Limits.Preserves.Shapes.Pullbacks + import Mathlib.CategoryTheory.Limits.EpiMono import Mathlib.CategoryTheory.Limits.Preserves.Shapes.Equalizers -public import Mathlib.CategoryTheory.Limits.Preserves.Shapes.Pullbacks /-! # Families of functors which jointly reflect isomorphisms diff --git a/Mathlib/CategoryTheory/Functor/RegularEpi.lean b/Mathlib/CategoryTheory/Functor/RegularEpi.lean index 8a3049aa4b777f..3ae16e39426a63 100644 --- a/Mathlib/CategoryTheory/Functor/RegularEpi.lean +++ b/Mathlib/CategoryTheory/Functor/RegularEpi.lean @@ -5,9 +5,10 @@ Authors: Dagur Asgeirsson -/ module +public import Mathlib.CategoryTheory.Limits.Shapes.RegularMono + import Mathlib.CategoryTheory.Limits.FunctorCategory.EpiMono import Mathlib.CategoryTheory.Limits.FunctorCategory.Shapes.Pullbacks -public import Mathlib.CategoryTheory.Limits.Shapes.RegularMono /-! diff --git a/Mathlib/CategoryTheory/Functor/TypeValuedFlat.lean b/Mathlib/CategoryTheory/Functor/TypeValuedFlat.lean index 91806b780ab773..c681cc5095f94c 100644 --- a/Mathlib/CategoryTheory/Functor/TypeValuedFlat.lean +++ b/Mathlib/CategoryTheory/Functor/TypeValuedFlat.lean @@ -6,9 +6,10 @@ Authors: Joël Riou module public import Mathlib.CategoryTheory.Filtered.Final +public import Mathlib.CategoryTheory.Subfunctor.Basic + import Mathlib.CategoryTheory.Limits.Preserves.Shapes.Equalizers import Mathlib.CategoryTheory.Limits.Types.Equalizers -public import Mathlib.CategoryTheory.Subfunctor.Basic /-! # Type-valued flat functors diff --git a/Mathlib/CategoryTheory/Galois/Basic.lean b/Mathlib/CategoryTheory/Galois/Basic.lean index 372ead565c3bd0..a30679e4ca3f3e 100644 --- a/Mathlib/CategoryTheory/Galois/Basic.lean +++ b/Mathlib/CategoryTheory/Galois/Basic.lean @@ -10,11 +10,12 @@ public import Mathlib.CategoryTheory.Limits.Constructions.LimitsOfProductsAndEqu public import Mathlib.CategoryTheory.Limits.FintypeCat public import Mathlib.CategoryTheory.Limits.MonoCoprod public import Mathlib.CategoryTheory.Limits.Shapes.ConcreteCategory -import Mathlib.CategoryTheory.Limits.Shapes.Diagonal public import Mathlib.CategoryTheory.Limits.Types.Equalizers public import Mathlib.CategoryTheory.SingleObj public import Mathlib.SetTheory.Cardinal.NatCard +import Mathlib.CategoryTheory.Limits.Shapes.Diagonal + /-! # Definition and basic properties of Galois categories diff --git a/Mathlib/CategoryTheory/Galois/ContAction.lean b/Mathlib/CategoryTheory/Galois/ContAction.lean index 09c1bf98c1db7d..54de4ab206abff 100644 --- a/Mathlib/CategoryTheory/Galois/ContAction.lean +++ b/Mathlib/CategoryTheory/Galois/ContAction.lean @@ -6,11 +6,12 @@ Authors: Joël Riou module public import Mathlib.CategoryTheory.Action.Continuous -import Mathlib.CategoryTheory.Galois.Examples public import Mathlib.CategoryTheory.Galois.FullSubcategory public import Mathlib.Topology.Algebra.OpenSubgroup public import Mathlib.Topology.Category.FinTopCat +import Mathlib.CategoryTheory.Galois.Examples + /-! # The Galois category of finite sets with a continuous action of a topological group diff --git a/Mathlib/CategoryTheory/Galois/Decomposition.lean b/Mathlib/CategoryTheory/Galois/Decomposition.lean index 2e962b4920ae82..d4c5862f9853f9 100644 --- a/Mathlib/CategoryTheory/Galois/Decomposition.lean +++ b/Mathlib/CategoryTheory/Galois/Decomposition.lean @@ -5,8 +5,9 @@ Authors: Christian Merten -/ module -import Mathlib.Basic.Finite.Sum public import Mathlib.CategoryTheory.Galois.GaloisObjects + +import Mathlib.Basic.Finite.Sum import Mathlib.CategoryTheory.Limits.Shapes.CombinedProducts /-! diff --git a/Mathlib/CategoryTheory/Galois/FullSubcategory.lean b/Mathlib/CategoryTheory/Galois/FullSubcategory.lean index e0e78d7e33a7b0..ab47549dbbb049 100644 --- a/Mathlib/CategoryTheory/Galois/FullSubcategory.lean +++ b/Mathlib/CategoryTheory/Galois/FullSubcategory.lean @@ -8,6 +8,7 @@ module public import Mathlib.CategoryTheory.Galois.Basic public import Mathlib.CategoryTheory.ObjectProperty.EpiMono public import Mathlib.CategoryTheory.ObjectProperty.FiniteLimits + import Mathlib.CategoryTheory.Limits.FullSubcategory /-! diff --git a/Mathlib/CategoryTheory/Galois/IsFundamentalgroup.lean b/Mathlib/CategoryTheory/Galois/IsFundamentalgroup.lean index bd76a25cb793d9..b665ca7a389ef8 100644 --- a/Mathlib/CategoryTheory/Galois/IsFundamentalgroup.lean +++ b/Mathlib/CategoryTheory/Galois/IsFundamentalgroup.lean @@ -6,6 +6,7 @@ Authors: Christian Merten module public import Mathlib.CategoryTheory.Galois.Topology + import Mathlib.Topology.Algebra.OpenSubgroup /-! diff --git a/Mathlib/CategoryTheory/Generator/Abelian.lean b/Mathlib/CategoryTheory/Generator/Abelian.lean index a9e41dccdd0ee5..6c2d9374203a95 100644 --- a/Mathlib/CategoryTheory/Generator/Abelian.lean +++ b/Mathlib/CategoryTheory/Generator/Abelian.lean @@ -5,11 +5,12 @@ Authors: Markus Himmel -/ module -import Mathlib.CategoryTheory.Abelian.Subobject public import Mathlib.CategoryTheory.Preadditive.Injective.Basic public import Mathlib.CategoryTheory.Generator.Preadditive public import Mathlib.CategoryTheory.Abelian.Opposite +import Mathlib.CategoryTheory.Abelian.Subobject + /-! # A complete abelian category with enough injectives and a separator has an injective coseparator diff --git a/Mathlib/CategoryTheory/Generator/Basic.lean b/Mathlib/CategoryTheory/Generator/Basic.lean index 7e763c6cc306b8..8e0c249b535494 100644 --- a/Mathlib/CategoryTheory/Generator/Basic.lean +++ b/Mathlib/CategoryTheory/Generator/Basic.lean @@ -6,10 +6,11 @@ Authors: Markus Himmel module public import Mathlib.CategoryTheory.Limits.EssentiallySmall -import Mathlib.CategoryTheory.Limits.Shapes.Opposites.Equalizers public import Mathlib.CategoryTheory.Subobject.Lattice public import Mathlib.CategoryTheory.Comma.StructuredArrow.Small +import Mathlib.CategoryTheory.Limits.Shapes.Opposites.Equalizers + /-! # Separating and detecting sets diff --git a/Mathlib/CategoryTheory/GlueData.lean b/Mathlib/CategoryTheory/GlueData.lean index bb5b46282a629d..f82efcc00b75cf 100644 --- a/Mathlib/CategoryTheory/GlueData.lean +++ b/Mathlib/CategoryTheory/GlueData.lean @@ -7,6 +7,7 @@ module public import Mathlib.CategoryTheory.Limits.Shapes.Multiequalizer public import Mathlib.CategoryTheory.Limits.Constructions.EpiMono + import Mathlib.CategoryTheory.Limits.Types.Coproducts /-! diff --git a/Mathlib/CategoryTheory/GuitartExact/Over.lean b/Mathlib/CategoryTheory/GuitartExact/Over.lean index 8a0d1d7c474e33..21f93f02a5bb37 100644 --- a/Mathlib/CategoryTheory/GuitartExact/Over.lean +++ b/Mathlib/CategoryTheory/GuitartExact/Over.lean @@ -6,6 +6,7 @@ Authors: Joël Riou module public import Mathlib.CategoryTheory.GuitartExact.Basic + import Mathlib.CategoryTheory.Limits.Preserves.Shapes.BinaryProducts /-! diff --git a/Mathlib/CategoryTheory/GuitartExact/VerticalComposition.lean b/Mathlib/CategoryTheory/GuitartExact/VerticalComposition.lean index a2ec49921e6601..1d5d2d7ad495ec 100644 --- a/Mathlib/CategoryTheory/GuitartExact/VerticalComposition.lean +++ b/Mathlib/CategoryTheory/GuitartExact/VerticalComposition.lean @@ -5,9 +5,10 @@ Authors: Joël Riou -/ module -import Mathlib.CategoryTheory.CatCommSq public import Mathlib.CategoryTheory.GuitartExact.Basic +import Mathlib.CategoryTheory.CatCommSq + /-! # Vertical composition of Guitart exact squares diff --git a/Mathlib/CategoryTheory/IsConnected.lean b/Mathlib/CategoryTheory/IsConnected.lean index ee01a6ceb53d34..10272024d3be29 100644 --- a/Mathlib/CategoryTheory/IsConnected.lean +++ b/Mathlib/CategoryTheory/IsConnected.lean @@ -5,11 +5,12 @@ Authors: Bhavik Mehta, Jakob von Raumer -/ module -import Mathlib.Data.List.Chain public import Mathlib.CategoryTheory.PUnit public import Mathlib.CategoryTheory.Groupoid public import Mathlib.CategoryTheory.Category.ULift +import Mathlib.Data.List.Chain + /-! # Connected category diff --git a/Mathlib/CategoryTheory/LiftingProperties/PushoutProduct.lean b/Mathlib/CategoryTheory/LiftingProperties/PushoutProduct.lean index f3f6384beadb7c..7d72dfcfc3cad6 100644 --- a/Mathlib/CategoryTheory/LiftingProperties/PushoutProduct.lean +++ b/Mathlib/CategoryTheory/LiftingProperties/PushoutProduct.lean @@ -5,9 +5,10 @@ Authors: Jack McKoen -/ module -import Mathlib.CategoryTheory.LiftingProperties.ParametrizedAdjunction public import Mathlib.CategoryTheory.Monoidal.PushoutProduct +import Mathlib.CategoryTheory.LiftingProperties.ParametrizedAdjunction + /-! # Lifting properties and pushout-products / pullback-homs diff --git a/Mathlib/CategoryTheory/Limits/ColimitLimit.lean b/Mathlib/CategoryTheory/Limits/ColimitLimit.lean index e88b309cdbc440..980ec288752c55 100644 --- a/Mathlib/CategoryTheory/Limits/ColimitLimit.lean +++ b/Mathlib/CategoryTheory/Limits/ColimitLimit.lean @@ -5,8 +5,9 @@ Authors: Kim Morrison -/ module -import Mathlib.CategoryTheory.Limits.Types.Limits public import Mathlib.CategoryTheory.Limits.FunctorCategory.Basic + +import Mathlib.CategoryTheory.Limits.Types.Limits import Mathlib.CategoryTheory.ConcreteCategory.Elementwise /-! diff --git a/Mathlib/CategoryTheory/Limits/ConstructLimitMap.lean b/Mathlib/CategoryTheory/Limits/ConstructLimitMap.lean index 3fa2d8b3185352..1d4c4ce7c438b4 100644 --- a/Mathlib/CategoryTheory/Limits/ConstructLimitMap.lean +++ b/Mathlib/CategoryTheory/Limits/ConstructLimitMap.lean @@ -5,9 +5,10 @@ Authors: Christian Merten -/ module -import Mathlib.CategoryTheory.Comma.Final public import Mathlib.CategoryTheory.Presentable.Basic +import Mathlib.CategoryTheory.Comma.Final + /-! # Morphisms between (co)filtered (co)limits diff --git a/Mathlib/CategoryTheory/Limits/Constructions/Equalizers.lean b/Mathlib/CategoryTheory/Limits/Constructions/Equalizers.lean index c96a1697308e68..9da0f0117338cb 100644 --- a/Mathlib/CategoryTheory/Limits/Constructions/Equalizers.lean +++ b/Mathlib/CategoryTheory/Limits/Constructions/Equalizers.lean @@ -5,9 +5,10 @@ Authors: Bhavik Mehta, Andrew Yang -/ module -import Mathlib.CategoryTheory.Limits.Preserves.Shapes.BinaryProducts public import Mathlib.CategoryTheory.Limits.Preserves.Shapes.Pullbacks +import Mathlib.CategoryTheory.Limits.Preserves.Shapes.BinaryProducts + /-! # Constructing equalizers from pullbacks and binary products. diff --git a/Mathlib/CategoryTheory/Limits/Constructions/LimitsOfProductsAndEqualizers.lean b/Mathlib/CategoryTheory/Limits/Constructions/LimitsOfProductsAndEqualizers.lean index 0c2e48e8620510..defbd7e454964d 100644 --- a/Mathlib/CategoryTheory/Limits/Constructions/LimitsOfProductsAndEqualizers.lean +++ b/Mathlib/CategoryTheory/Limits/Constructions/LimitsOfProductsAndEqualizers.lean @@ -5,7 +5,6 @@ Authors: Bhavik Mehta, Kim Morrison -/ module -import Mathlib.CategoryTheory.Limits.Constructions.BinaryProducts public import Mathlib.CategoryTheory.Limits.Constructions.Equalizers public import Mathlib.CategoryTheory.Limits.Constructions.FiniteProductsOfBinaryProducts public import Mathlib.CategoryTheory.Limits.Preserves.Creates.Finite @@ -13,6 +12,8 @@ public import Mathlib.CategoryTheory.Limits.Preserves.Shapes.Equalizers public import Mathlib.Data.Fintype.Prod public import Mathlib.Data.Fintype.Sigma +import Mathlib.CategoryTheory.Limits.Constructions.BinaryProducts + /-! # Constructing limits from products and equalizers. diff --git a/Mathlib/CategoryTheory/Limits/Constructions/Over/Basic.lean b/Mathlib/CategoryTheory/Limits/Constructions/Over/Basic.lean index 1894997c64c909..03ef6496cd1fba 100644 --- a/Mathlib/CategoryTheory/Limits/Constructions/Over/Basic.lean +++ b/Mathlib/CategoryTheory/Limits/Constructions/Over/Basic.lean @@ -5,10 +5,11 @@ Authors: Johan Commelin, Reid Barton, Bhavik Mehta -/ module -import Mathlib.CategoryTheory.Limits.Constructions.Over.Products public import Mathlib.CategoryTheory.Limits.Constructions.Over.Connected public import Mathlib.CategoryTheory.Limits.Constructions.LimitsOfProductsAndEqualizers +import Mathlib.CategoryTheory.Limits.Constructions.Over.Products + /-! # Limits in the over category diff --git a/Mathlib/CategoryTheory/Limits/EpiMono.lean b/Mathlib/CategoryTheory/Limits/EpiMono.lean index c37d1e0289843b..bebef864bd8ff0 100644 --- a/Mathlib/CategoryTheory/Limits/EpiMono.lean +++ b/Mathlib/CategoryTheory/Limits/EpiMono.lean @@ -6,6 +6,7 @@ Authors: Joël Riou module public import Mathlib.CategoryTheory.Limits.Shapes.Pullback.IsPullback.Defs + import Mathlib.CategoryTheory.Limits.Shapes.Pullback.Mono /-! diff --git a/Mathlib/CategoryTheory/Limits/FilteredColimitCommutesFiniteLimit.lean b/Mathlib/CategoryTheory/Limits/FilteredColimitCommutesFiniteLimit.lean index 51873a413b6177..618ed6018bd1c3 100644 --- a/Mathlib/CategoryTheory/Limits/FilteredColimitCommutesFiniteLimit.lean +++ b/Mathlib/CategoryTheory/Limits/FilteredColimitCommutesFiniteLimit.lean @@ -9,9 +9,10 @@ public import Mathlib.Basic.Countable.Small public import Mathlib.CategoryTheory.ConcreteCategory.Forget public import Mathlib.CategoryTheory.Limits.ColimitLimit public import Mathlib.CategoryTheory.Limits.Preserves.FunctorCategory -import Mathlib.CategoryTheory.Limits.Types.Filtered public import Mathlib.CategoryTheory.Products.Bifunctor +import Mathlib.CategoryTheory.Limits.Types.Filtered + /-! # Filtered colimits commute with finite limits. diff --git a/Mathlib/CategoryTheory/Limits/FinallySmall.lean b/Mathlib/CategoryTheory/Limits/FinallySmall.lean index f49f52dc50f0c5..9e6b3b5c804e99 100644 --- a/Mathlib/CategoryTheory/Limits/FinallySmall.lean +++ b/Mathlib/CategoryTheory/Limits/FinallySmall.lean @@ -5,8 +5,9 @@ Authors: Markus Himmel -/ module -import Mathlib.Logic.Small.Set public import Mathlib.CategoryTheory.Filtered.Final + +import Mathlib.Logic.Small.Set import Mathlib.CategoryTheory.Comma.StructuredArrow.Small /-! diff --git a/Mathlib/CategoryTheory/Limits/FintypeCat.lean b/Mathlib/CategoryTheory/Limits/FintypeCat.lean index bfbb80271a3c88..3d964b9935de2d 100644 --- a/Mathlib/CategoryTheory/Limits/FintypeCat.lean +++ b/Mathlib/CategoryTheory/Limits/FintypeCat.lean @@ -5,7 +5,6 @@ Authors: Christian Merten -/ module -import Mathlib.Basic.Finite.Sigma public import Mathlib.CategoryTheory.FintypeCat public import Mathlib.CategoryTheory.Limits.Creates public import Mathlib.CategoryTheory.Limits.Preserves.Finite @@ -13,6 +12,8 @@ public import Mathlib.CategoryTheory.Limits.Preserves.Shapes.Products public import Mathlib.CategoryTheory.Limits.Types.Colimits public import Mathlib.CategoryTheory.Limits.Types.Products +import Mathlib.Basic.Finite.Sigma + /-! # (Co)limits in the category of finite types diff --git a/Mathlib/CategoryTheory/Limits/FormalCoproducts/Basic.lean b/Mathlib/CategoryTheory/Limits/FormalCoproducts/Basic.lean index c420573ee3e980..62a23d6d4dee23 100644 --- a/Mathlib/CategoryTheory/Limits/FormalCoproducts/Basic.lean +++ b/Mathlib/CategoryTheory/Limits/FormalCoproducts/Basic.lean @@ -5,10 +5,11 @@ Authors: Joël Riou, Kenny Lau -/ module -import Mathlib.CategoryTheory.Limits.Preserves.Shapes.Products public import Mathlib.CategoryTheory.Limits.Shapes.Opposites.Products public import Mathlib.CategoryTheory.Limits.Shapes.Pullback.IsPullback.Basic +import Mathlib.CategoryTheory.Limits.Preserves.Shapes.Products + /-! # Formal Coproducts diff --git a/Mathlib/CategoryTheory/Limits/Fubini.lean b/Mathlib/CategoryTheory/Limits/Fubini.lean index 0f588355b9bdac..686dbc0d180226 100644 --- a/Mathlib/CategoryTheory/Limits/Fubini.lean +++ b/Mathlib/CategoryTheory/Limits/Fubini.lean @@ -7,6 +7,7 @@ module public import Mathlib.CategoryTheory.Limits.HasLimits public import Mathlib.CategoryTheory.Functor.Currying + import Mathlib.CategoryTheory.Products.Bifunctor /-! diff --git a/Mathlib/CategoryTheory/Limits/FunctorCategory/Filtered.lean b/Mathlib/CategoryTheory/Limits/FunctorCategory/Filtered.lean index 5ff98c0db8d570..1c32fc05a30ced 100644 --- a/Mathlib/CategoryTheory/Limits/FunctorCategory/Filtered.lean +++ b/Mathlib/CategoryTheory/Limits/FunctorCategory/Filtered.lean @@ -5,9 +5,10 @@ Authors: Markus Himmel -/ module -import Mathlib.CategoryTheory.Limits.FunctorCategory.Basic public import Mathlib.CategoryTheory.Limits.Filtered +import Mathlib.CategoryTheory.Limits.FunctorCategory.Basic + /-! # Functor categories have filtered colimits when the target category does diff --git a/Mathlib/CategoryTheory/Limits/FunctorCategory/Finite.lean b/Mathlib/CategoryTheory/Limits/FunctorCategory/Finite.lean index 1867ddb136a9c2..26f6224a100713 100644 --- a/Mathlib/CategoryTheory/Limits/FunctorCategory/Finite.lean +++ b/Mathlib/CategoryTheory/Limits/FunctorCategory/Finite.lean @@ -5,9 +5,10 @@ Authors: Dagur Asgeirsson -/ module -import Mathlib.CategoryTheory.Limits.FunctorCategory.Basic public import Mathlib.CategoryTheory.Limits.Preserves.Finite +import Mathlib.CategoryTheory.Limits.FunctorCategory.Basic + /-! # Functor categories have finite limits when the target category does diff --git a/Mathlib/CategoryTheory/Limits/FunctorToTypes.lean b/Mathlib/CategoryTheory/Limits/FunctorToTypes.lean index 28b69f9cb1dc20..0a525dc97e63b1 100644 --- a/Mathlib/CategoryTheory/Limits/FunctorToTypes.lean +++ b/Mathlib/CategoryTheory/Limits/FunctorToTypes.lean @@ -6,6 +6,7 @@ Authors: Markus Himmel module public import Mathlib.CategoryTheory.Limits.FunctorCategory.Basic + import Mathlib.CategoryTheory.Limits.Types.Colimits /-! diff --git a/Mathlib/CategoryTheory/Limits/Indization/Category.lean b/Mathlib/CategoryTheory/Limits/Indization/Category.lean index e417309a0c68b1..a16d03d4509fde 100644 --- a/Mathlib/CategoryTheory/Limits/Indization/Category.lean +++ b/Mathlib/CategoryTheory/Limits/Indization/Category.lean @@ -10,6 +10,7 @@ public import Mathlib.CategoryTheory.Limits.Constructions.Filtered public import Mathlib.CategoryTheory.Limits.ExactFunctor public import Mathlib.CategoryTheory.Limits.Indization.Equalizers public import Mathlib.CategoryTheory.Limits.Indization.LocallySmall + import Mathlib.CategoryTheory.Limits.Indization.Products import Mathlib.CategoryTheory.Limits.Preserves.Presheaf diff --git a/Mathlib/CategoryTheory/Limits/Indization/Equalizers.lean b/Mathlib/CategoryTheory/Limits/Indization/Equalizers.lean index 99bfd210adc6d3..6a8caa07095803 100644 --- a/Mathlib/CategoryTheory/Limits/Indization/Equalizers.lean +++ b/Mathlib/CategoryTheory/Limits/Indization/Equalizers.lean @@ -5,9 +5,10 @@ Authors: Markus Himmel -/ module -import Mathlib.CategoryTheory.Limits.Indization.FilteredColimits public import Mathlib.CategoryTheory.Limits.Indization.ParallelPair +import Mathlib.CategoryTheory.Limits.Indization.FilteredColimits + /-! # Equalizers of ind-objects diff --git a/Mathlib/CategoryTheory/Limits/Indization/FilteredColimits.lean b/Mathlib/CategoryTheory/Limits/Indization/FilteredColimits.lean index d2b0d32a34f0b5..4cbe1ee654b31d 100644 --- a/Mathlib/CategoryTheory/Limits/Indization/FilteredColimits.lean +++ b/Mathlib/CategoryTheory/Limits/Indization/FilteredColimits.lean @@ -6,10 +6,11 @@ Authors: Markus Himmel module public import Mathlib.CategoryTheory.Comma.Presheaf.Colimit -import Mathlib.CategoryTheory.Limits.Filtered public import Mathlib.CategoryTheory.Limits.FilteredColimitCommutesFiniteLimit -import Mathlib.CategoryTheory.Limits.FunctorToTypes public import Mathlib.CategoryTheory.Limits.Indization.IndObject + +import Mathlib.CategoryTheory.Limits.Filtered +import Mathlib.CategoryTheory.Limits.FunctorToTypes import Mathlib.Logic.Small.Set /-! diff --git a/Mathlib/CategoryTheory/Limits/Indization/IndObject.lean b/Mathlib/CategoryTheory/Limits/Indization/IndObject.lean index db899633677eb4..5b7621df4a3da9 100644 --- a/Mathlib/CategoryTheory/Limits/Indization/IndObject.lean +++ b/Mathlib/CategoryTheory/Limits/Indization/IndObject.lean @@ -6,6 +6,7 @@ Authors: Markus Himmel module public import Mathlib.CategoryTheory.Limits.FinallySmall + import Mathlib.CategoryTheory.Filtered.Small import Mathlib.CategoryTheory.Limits.Preserves.Presheaf diff --git a/Mathlib/CategoryTheory/Limits/Indization/Products.lean b/Mathlib/CategoryTheory/Limits/Indization/Products.lean index 10b1e00a4ee3fc..34220190519016 100644 --- a/Mathlib/CategoryTheory/Limits/Indization/Products.lean +++ b/Mathlib/CategoryTheory/Limits/Indization/Products.lean @@ -5,9 +5,10 @@ Authors: Markus Himmel -/ module -import Mathlib.CategoryTheory.Limits.FilteredColimitCommutesProduct public import Mathlib.CategoryTheory.Limits.Indization.FilteredColimits +import Mathlib.CategoryTheory.Limits.FilteredColimitCommutesProduct + /-! # Ind-objects are closed under products diff --git a/Mathlib/CategoryTheory/Limits/IsConnected.lean b/Mathlib/CategoryTheory/Limits/IsConnected.lean index 36fa07aa5247e9..842abbfcc81b14 100644 --- a/Mathlib/CategoryTheory/Limits/IsConnected.lean +++ b/Mathlib/CategoryTheory/Limits/IsConnected.lean @@ -6,6 +6,7 @@ Authors: Paul Reichert module public import Mathlib.CategoryTheory.Limits.Final + import Mathlib.CategoryTheory.HomCongr /-! diff --git a/Mathlib/CategoryTheory/Limits/Preserves/FunctorCategory.lean b/Mathlib/CategoryTheory/Limits/Preserves/FunctorCategory.lean index 84d1769ac4635f..f110c079209ca5 100644 --- a/Mathlib/CategoryTheory/Limits/Preserves/FunctorCategory.lean +++ b/Mathlib/CategoryTheory/Limits/Preserves/FunctorCategory.lean @@ -5,9 +5,10 @@ Authors: Bhavik Mehta -/ module -import Mathlib.CategoryTheory.Limits.Preserves.Shapes.BinaryProducts public import Mathlib.CategoryTheory.Limits.Presheaf +import Mathlib.CategoryTheory.Limits.Preserves.Shapes.BinaryProducts + /-! # Preservation of (co)limits in the functor category diff --git a/Mathlib/CategoryTheory/Limits/Preserves/Lattice.lean b/Mathlib/CategoryTheory/Limits/Preserves/Lattice.lean index 9f9524342b55c3..1b58aeab44226e 100644 --- a/Mathlib/CategoryTheory/Limits/Preserves/Lattice.lean +++ b/Mathlib/CategoryTheory/Limits/Preserves/Lattice.lean @@ -5,11 +5,12 @@ Authors: Brian Nugent -/ module -import Mathlib.CategoryTheory.Limits.Lattice public import Mathlib.CategoryTheory.Limits.Preserves.Finite public import Mathlib.Order.ConditionallyCompleteLattice.Basic public import Mathlib.Order.Hom.CompleteLattice +import Mathlib.CategoryTheory.Limits.Lattice + /-! # Lattice Homs that Preserve Limits and Colimits diff --git a/Mathlib/CategoryTheory/Limits/Preserves/Presheaf.lean b/Mathlib/CategoryTheory/Limits/Preserves/Presheaf.lean index f005ec12d4a54d..4bee92d9cf8a76 100644 --- a/Mathlib/CategoryTheory/Limits/Preserves/Presheaf.lean +++ b/Mathlib/CategoryTheory/Limits/Preserves/Presheaf.lean @@ -6,6 +6,7 @@ Authors: Markus Himmel module public import Mathlib.CategoryTheory.Limits.FilteredColimitCommutesFiniteLimit + import Mathlib.CategoryTheory.Limits.Elements /-! diff --git a/Mathlib/CategoryTheory/Limits/Preserves/Shapes/Over.lean b/Mathlib/CategoryTheory/Limits/Preserves/Shapes/Over.lean index 13fe67045ebb09..eb449b4f9db8bb 100644 --- a/Mathlib/CategoryTheory/Limits/Preserves/Shapes/Over.lean +++ b/Mathlib/CategoryTheory/Limits/Preserves/Shapes/Over.lean @@ -6,9 +6,10 @@ Authors: Yaël Dillies, Moisés Herradón Cueto module public import Mathlib.CategoryTheory.Limits.Preserves.Finite -import Mathlib.CategoryTheory.WithTerminal.FinCategory public import Mathlib.CategoryTheory.WithTerminal.Cone +import Mathlib.CategoryTheory.WithTerminal.FinCategory + /-! # If a functor preserves limits, so does the induced functor in the `Over` or `Under` category diff --git a/Mathlib/CategoryTheory/Limits/Shapes/FiniteMultiequalizer.lean b/Mathlib/CategoryTheory/Limits/Shapes/FiniteMultiequalizer.lean index 79116f94f26d92..cae172af7497a5 100644 --- a/Mathlib/CategoryTheory/Limits/Shapes/FiniteMultiequalizer.lean +++ b/Mathlib/CategoryTheory/Limits/Shapes/FiniteMultiequalizer.lean @@ -8,6 +8,7 @@ module public import Mathlib.CategoryTheory.FinCategory.Basic public import Mathlib.CategoryTheory.Limits.Shapes.Multiequalizer public import Mathlib.Data.Fintype.Sum + import Mathlib.Tactic.ProxyType /-! diff --git a/Mathlib/CategoryTheory/Limits/Shapes/NormalMono/Equalizers.lean b/Mathlib/CategoryTheory/Limits/Shapes/NormalMono/Equalizers.lean index 0da610421d58a3..37441b0e92f1d8 100644 --- a/Mathlib/CategoryTheory/Limits/Shapes/NormalMono/Equalizers.lean +++ b/Mathlib/CategoryTheory/Limits/Shapes/NormalMono/Equalizers.lean @@ -7,6 +7,7 @@ module public import Mathlib.CategoryTheory.Limits.Shapes.NormalMono.Basic public import Mathlib.CategoryTheory.Limits.Shapes.FiniteProducts + import Mathlib.CategoryTheory.Limits.Preserves.Shapes.Kernels /-! diff --git a/Mathlib/CategoryTheory/Limits/Shapes/Opposites/Filtered.lean b/Mathlib/CategoryTheory/Limits/Shapes/Opposites/Filtered.lean index cbcf1715b80f5e..09399914f243f3 100644 --- a/Mathlib/CategoryTheory/Limits/Shapes/Opposites/Filtered.lean +++ b/Mathlib/CategoryTheory/Limits/Shapes/Opposites/Filtered.lean @@ -5,9 +5,10 @@ Authors: Kim Morrison, Floris van Doorn -/ module -import Mathlib.CategoryTheory.Limits.Opposites public import Mathlib.CategoryTheory.Limits.Filtered +import Mathlib.CategoryTheory.Limits.Opposites + /-! # Filtered colimits and cofiltered limits in `C` and `Cᵒᵖ` diff --git a/Mathlib/CategoryTheory/Limits/Shapes/Opposites/Products.lean b/Mathlib/CategoryTheory/Limits/Shapes/Opposites/Products.lean index dbb13043baf2c6..12a396afb1e2f8 100644 --- a/Mathlib/CategoryTheory/Limits/Shapes/Opposites/Products.lean +++ b/Mathlib/CategoryTheory/Limits/Shapes/Opposites/Products.lean @@ -5,9 +5,10 @@ Authors: Kim Morrison, Floris van Doorn -/ module -import Mathlib.CategoryTheory.Limits.Opposites public import Mathlib.CategoryTheory.Limits.Shapes.FiniteProducts +import Mathlib.CategoryTheory.Limits.Opposites + /-! # Products and coproducts in `C` and `Cᵒᵖ` diff --git a/Mathlib/CategoryTheory/Limits/Shapes/Preorder/HasIterationOfShape.lean b/Mathlib/CategoryTheory/Limits/Shapes/Preorder/HasIterationOfShape.lean index 1ef2f3b38984bd..a151d9811bb7bb 100644 --- a/Mathlib/CategoryTheory/Limits/Shapes/Preorder/HasIterationOfShape.lean +++ b/Mathlib/CategoryTheory/Limits/Shapes/Preorder/HasIterationOfShape.lean @@ -5,12 +5,13 @@ Authors: Joël Riou -/ module -import Mathlib.CategoryTheory.Limits.Comma -import Mathlib.CategoryTheory.Limits.FunctorCategory.Basic public import Mathlib.CategoryTheory.Limits.Shapes.Preorder.Basic public import Mathlib.Order.SuccPred.Limit public import Mathlib.Order.Interval.Set.InitialSeg +import Mathlib.CategoryTheory.Limits.Comma +import Mathlib.CategoryTheory.Limits.FunctorCategory.Basic + /-! # An assumption for constructions by transfinite induction diff --git a/Mathlib/CategoryTheory/Limits/Shapes/Pullback/IsPullback/BicartesianSq.lean b/Mathlib/CategoryTheory/Limits/Shapes/Pullback/IsPullback/BicartesianSq.lean index 7d8a7fb7eb51de..e9f9286633e0a5 100644 --- a/Mathlib/CategoryTheory/Limits/Shapes/Pullback/IsPullback/BicartesianSq.lean +++ b/Mathlib/CategoryTheory/Limits/Shapes/Pullback/IsPullback/BicartesianSq.lean @@ -5,10 +5,11 @@ Authors: Kim Morrison, Joël Riou, Calle Sönne -/ module -import Mathlib.CategoryTheory.Limits.Constructions.ZeroObjects public import Mathlib.CategoryTheory.Limits.Shapes.BinaryBiproducts public import Mathlib.CategoryTheory.Limits.Shapes.Pullback.IsPullback.Basic +import Mathlib.CategoryTheory.Limits.Constructions.ZeroObjects + /-! # Bi-Cartesian squares diff --git a/Mathlib/CategoryTheory/Limits/Shapes/Reflexive.lean b/Mathlib/CategoryTheory/Limits/Shapes/Reflexive.lean index aef928bdb8592c..b21e078f722728 100644 --- a/Mathlib/CategoryTheory/Limits/Shapes/Reflexive.lean +++ b/Mathlib/CategoryTheory/Limits/Shapes/Reflexive.lean @@ -5,10 +5,11 @@ Authors: Bhavik Mehta, Robin Carlier -/ module -import Mathlib.CategoryTheory.Limits.ConeCategory public import Mathlib.CategoryTheory.Limits.Final public import Mathlib.CategoryTheory.Limits.Shapes.KernelPair +import Mathlib.CategoryTheory.Limits.ConeCategory + /-! # Reflexive coequalizers diff --git a/Mathlib/CategoryTheory/Limits/Shapes/SequentialProduct.lean b/Mathlib/CategoryTheory/Limits/Shapes/SequentialProduct.lean index c60efbec48d356..3a0750a27ad9c8 100644 --- a/Mathlib/CategoryTheory/Limits/Shapes/SequentialProduct.lean +++ b/Mathlib/CategoryTheory/Limits/Shapes/SequentialProduct.lean @@ -8,6 +8,7 @@ module public import Mathlib.CategoryTheory.Functor.OfSequence public import Mathlib.CategoryTheory.Limits.Shapes.BinaryBiproducts public import Mathlib.CategoryTheory.Limits.Shapes.Countable + import Mathlib.CategoryTheory.Limits.Shapes.PiProd import Mathlib.Order.Interval.Finset.Nat import Mathlib.CategoryTheory.EffectiveEpi.Basic diff --git a/Mathlib/CategoryTheory/Limits/Sifted.lean b/Mathlib/CategoryTheory/Limits/Sifted.lean index 9a63b86c0ad47f..969ec79ff4470b 100644 --- a/Mathlib/CategoryTheory/Limits/Sifted.lean +++ b/Mathlib/CategoryTheory/Limits/Sifted.lean @@ -9,9 +9,10 @@ public import Mathlib.CategoryTheory.Monoidal.ExternalProduct.Basic public import Mathlib.CategoryTheory.Monoidal.Closed.Types public import Mathlib.CategoryTheory.Monoidal.Limits.Preserves public import Mathlib.CategoryTheory.Limits.Preserves.Bifunctor -import Mathlib.CategoryTheory.Limits.Preserves.FunctorCategory public import Mathlib.CategoryTheory.Limits.IsConnected public import Mathlib.CategoryTheory.Products.Associator + +import Mathlib.CategoryTheory.Limits.Preserves.FunctorCategory /-! # Sifted categories diff --git a/Mathlib/CategoryTheory/Limits/SmallComplete.lean b/Mathlib/CategoryTheory/Limits/SmallComplete.lean index d4ec937a2499ec..151ec6c38b65c4 100644 --- a/Mathlib/CategoryTheory/Limits/SmallComplete.lean +++ b/Mathlib/CategoryTheory/Limits/SmallComplete.lean @@ -6,6 +6,7 @@ Authors: Bhavik Mehta module public import Mathlib.CategoryTheory.Limits.Shapes.Products + import Mathlib.SetTheory.Cardinal.Basic /-! diff --git a/Mathlib/CategoryTheory/Limits/VanKampen.lean b/Mathlib/CategoryTheory/Limits/VanKampen.lean index 0b1b1ae73f5e08..4fe371f61acf48 100644 --- a/Mathlib/CategoryTheory/Limits/VanKampen.lean +++ b/Mathlib/CategoryTheory/Limits/VanKampen.lean @@ -6,11 +6,12 @@ Authors: Andrew Yang module public import Mathlib.CategoryTheory.Adjunction.FullyFaithful -import Mathlib.CategoryTheory.Adjunction.Limits public import Mathlib.CategoryTheory.Limits.Shapes.Pullback.Equifibered public import Mathlib.CategoryTheory.Limits.Shapes.StrictInitial public import Mathlib.CategoryTheory.Limits.Constructions.FiniteProductsOfBinaryProducts +import Mathlib.CategoryTheory.Adjunction.Limits + /-! # Universal colimits and van Kampen colimits diff --git a/Mathlib/CategoryTheory/Limits/Weighted/PreservesLimit.lean b/Mathlib/CategoryTheory/Limits/Weighted/PreservesLimit.lean index 41ea9df6b06f2a..14f5b8681ea56b 100644 --- a/Mathlib/CategoryTheory/Limits/Weighted/PreservesLimit.lean +++ b/Mathlib/CategoryTheory/Limits/Weighted/PreservesLimit.lean @@ -5,11 +5,12 @@ Authors: Joël Riou, Yun Liu, Christian Merten, Robin Carlier, Lyne Moser, Nima -/ module +public import Mathlib.CategoryTheory.Limits.Types.Colimits +public import Mathlib.CategoryTheory.Limits.Weighted.HasWeightedLimit + import Mathlib.CategoryTheory.Adjunction.Limits import Mathlib.CategoryTheory.Limits.FunctorCategory.Basic import Mathlib.CategoryTheory.Limits.Opposites -public import Mathlib.CategoryTheory.Limits.Types.Colimits -public import Mathlib.CategoryTheory.Limits.Weighted.HasWeightedLimit /-! # Weighted limits preserve limits on the weight variable diff --git a/Mathlib/CategoryTheory/Localization/Adjunction.lean b/Mathlib/CategoryTheory/Localization/Adjunction.lean index ed7be48d64016d..e423f1051e0a31 100644 --- a/Mathlib/CategoryTheory/Localization/Adjunction.lean +++ b/Mathlib/CategoryTheory/Localization/Adjunction.lean @@ -6,6 +6,7 @@ Authors: Joël Riou module public import Mathlib.CategoryTheory.Localization.Opposite + import Mathlib.CategoryTheory.Adjunction.FullyFaithful import Mathlib.CategoryTheory.Adjunction.Opposites diff --git a/Mathlib/CategoryTheory/Localization/BousfieldTransfiniteComposition.lean b/Mathlib/CategoryTheory/Localization/BousfieldTransfiniteComposition.lean index c300a5257048c7..e131e920433112 100644 --- a/Mathlib/CategoryTheory/Localization/BousfieldTransfiniteComposition.lean +++ b/Mathlib/CategoryTheory/Localization/BousfieldTransfiniteComposition.lean @@ -7,6 +7,7 @@ module public import Mathlib.CategoryTheory.Localization.Bousfield public import Mathlib.CategoryTheory.MorphismProperty.TransfiniteComposition + import Mathlib.CategoryTheory.SmallObject.WellOrderInductionData /-! diff --git a/Mathlib/CategoryTheory/Localization/CalculusOfFractions/OfAdjunction.lean b/Mathlib/CategoryTheory/Localization/CalculusOfFractions/OfAdjunction.lean index aff602c8881d0e..af9246e72d7769 100644 --- a/Mathlib/CategoryTheory/Localization/CalculusOfFractions/OfAdjunction.lean +++ b/Mathlib/CategoryTheory/Localization/CalculusOfFractions/OfAdjunction.lean @@ -5,9 +5,10 @@ Authors: Joël Riou -/ module +public import Mathlib.CategoryTheory.Localization.CalculusOfFractions + import Mathlib.CategoryTheory.Adjunction.Opposites import Mathlib.CategoryTheory.Adjunction.FullyFaithful -public import Mathlib.CategoryTheory.Localization.CalculusOfFractions /-! # The calculus of fractions deduced from an adjunction diff --git a/Mathlib/CategoryTheory/Localization/DerivabilityStructure/DerivesTriangulated.lean b/Mathlib/CategoryTheory/Localization/DerivabilityStructure/DerivesTriangulated.lean index 64b457cddd883d..87eaeeaff0057a 100644 --- a/Mathlib/CategoryTheory/Localization/DerivabilityStructure/DerivesTriangulated.lean +++ b/Mathlib/CategoryTheory/Localization/DerivabilityStructure/DerivesTriangulated.lean @@ -5,10 +5,11 @@ Authors: Joël Riou -/ module -import Mathlib.CategoryTheory.Functor.Derived.LeftDerivedTriangulated public import Mathlib.CategoryTheory.Functor.Derived.RightDerivedTriangulated public import Mathlib.CategoryTheory.Localization.DerivabilityStructure.Derives +import Mathlib.CategoryTheory.Functor.Derived.LeftDerivedTriangulated + /-! # Triangulated derived functors using derivability structures diff --git a/Mathlib/CategoryTheory/Localization/DerivabilityStructure/OfLocalizedEquivalences.lean b/Mathlib/CategoryTheory/Localization/DerivabilityStructure/OfLocalizedEquivalences.lean index bde043c2da8f40..c5dd3b8471d556 100644 --- a/Mathlib/CategoryTheory/Localization/DerivabilityStructure/OfLocalizedEquivalences.lean +++ b/Mathlib/CategoryTheory/Localization/DerivabilityStructure/OfLocalizedEquivalences.lean @@ -6,6 +6,7 @@ Authors: Joël Riou module public import Mathlib.CategoryTheory.Localization.DerivabilityStructure.Basic + import Mathlib.CategoryTheory.GuitartExact.HorizontalComposition /-! diff --git a/Mathlib/CategoryTheory/Localization/DerivabilityStructure/PointwiseLeftDerived.lean b/Mathlib/CategoryTheory/Localization/DerivabilityStructure/PointwiseLeftDerived.lean index 90e8998503fa6e..ada85e0c0bdba0 100644 --- a/Mathlib/CategoryTheory/Localization/DerivabilityStructure/PointwiseLeftDerived.lean +++ b/Mathlib/CategoryTheory/Localization/DerivabilityStructure/PointwiseLeftDerived.lean @@ -7,6 +7,7 @@ module public import Mathlib.CategoryTheory.Localization.DerivabilityStructure.Basic public import Mathlib.CategoryTheory.Functor.Derived.PointwiseLeftDerived + import Mathlib.CategoryTheory.GuitartExact.KanExtension /-! diff --git a/Mathlib/CategoryTheory/Localization/DerivabilityStructure/PointwiseRightDerived.lean b/Mathlib/CategoryTheory/Localization/DerivabilityStructure/PointwiseRightDerived.lean index fc3712f9bd2233..3b96d55b0dfb4e 100644 --- a/Mathlib/CategoryTheory/Localization/DerivabilityStructure/PointwiseRightDerived.lean +++ b/Mathlib/CategoryTheory/Localization/DerivabilityStructure/PointwiseRightDerived.lean @@ -7,6 +7,7 @@ module public import Mathlib.CategoryTheory.Localization.DerivabilityStructure.Basic public import Mathlib.CategoryTheory.Functor.Derived.PointwiseRightDerived + import Mathlib.CategoryTheory.GuitartExact.KanExtension /-! diff --git a/Mathlib/CategoryTheory/Localization/FiniteProducts.lean b/Mathlib/CategoryTheory/Localization/FiniteProducts.lean index 0d2768908aee91..ecedf996d93d74 100644 --- a/Mathlib/CategoryTheory/Localization/FiniteProducts.lean +++ b/Mathlib/CategoryTheory/Localization/FiniteProducts.lean @@ -5,13 +5,14 @@ Authors: Joël Riou -/ module -import Mathlib.CategoryTheory.Limits.ConeCategory public import Mathlib.CategoryTheory.Limits.Preserves.Finite public import Mathlib.CategoryTheory.Localization.Adjunction public import Mathlib.CategoryTheory.Localization.HasLocalization public import Mathlib.CategoryTheory.Localization.Pi public import Mathlib.CategoryTheory.MorphismProperty.Limits +import Mathlib.CategoryTheory.Limits.ConeCategory + /-! # The localized category has finite products In this file, it is shown that if `L : C ⥤ D` is diff --git a/Mathlib/CategoryTheory/Localization/Pi.lean b/Mathlib/CategoryTheory/Localization/Pi.lean index f74aa71463f6ee..77933e2ab709d6 100644 --- a/Mathlib/CategoryTheory/Localization/Pi.lean +++ b/Mathlib/CategoryTheory/Localization/Pi.lean @@ -5,10 +5,11 @@ Authors: Joël Riou -/ module -import Mathlib.CategoryTheory.Localization.Prod public import Mathlib.CategoryTheory.Localization.Equivalence public import Mathlib.Data.Fintype.Option +import Mathlib.CategoryTheory.Localization.Prod + /-! # Localization of product categories diff --git a/Mathlib/CategoryTheory/Localization/Resolution.lean b/Mathlib/CategoryTheory/Localization/Resolution.lean index 38fcef90094f18..86412dfec31145 100644 --- a/Mathlib/CategoryTheory/Localization/Resolution.lean +++ b/Mathlib/CategoryTheory/Localization/Resolution.lean @@ -5,9 +5,10 @@ Authors: Joël Riou -/ module -import Mathlib.CategoryTheory.Comma.CatCommSq public import Mathlib.CategoryTheory.Localization.LocalizerMorphism +import Mathlib.CategoryTheory.Comma.CatCommSq + /-! # Resolutions for a morphism of localizers diff --git a/Mathlib/CategoryTheory/Localization/Triangulated.lean b/Mathlib/CategoryTheory/Localization/Triangulated.lean index 0a8d7a31864c9c..8b280e9157d240 100644 --- a/Mathlib/CategoryTheory/Localization/Triangulated.lean +++ b/Mathlib/CategoryTheory/Localization/Triangulated.lean @@ -5,11 +5,12 @@ Authors: Joël Riou -/ module -import Mathlib.CategoryTheory.Localization.CalculusOfFractions.ComposableArrows public import Mathlib.CategoryTheory.Localization.CalculusOfFractions.Preadditive public import Mathlib.CategoryTheory.Triangulated.Functor public import Mathlib.CategoryTheory.Shift.Localization +import Mathlib.CategoryTheory.Localization.CalculusOfFractions.ComposableArrows + /-! # Localization of triangulated categories If `L : C ⥤ D` is a localization functor for a class of morphisms `W` that is compatible diff --git a/Mathlib/CategoryTheory/Monad/Limits.lean b/Mathlib/CategoryTheory/Monad/Limits.lean index 24b9444950de76..bb1812d5e71468 100644 --- a/Mathlib/CategoryTheory/Monad/Limits.lean +++ b/Mathlib/CategoryTheory/Monad/Limits.lean @@ -7,6 +7,7 @@ module public import Mathlib.CategoryTheory.Monad.Adjunction public import Mathlib.CategoryTheory.Adjunction.Limits + import Mathlib.CategoryTheory.Limits.Shapes.IsTerminal /-! diff --git a/Mathlib/CategoryTheory/Monoidal/Arrow.lean b/Mathlib/CategoryTheory/Monoidal/Arrow.lean index 7c67bcd9281f92..19f34a5e4409dc 100644 --- a/Mathlib/CategoryTheory/Monoidal/Arrow.lean +++ b/Mathlib/CategoryTheory/Monoidal/Arrow.lean @@ -6,9 +6,10 @@ Authors: Jack McKoen module public import Mathlib.CategoryTheory.Monoidal.Closed.Braided -import Mathlib.CategoryTheory.Monoidal.Limits.HasLimits public import Mathlib.CategoryTheory.Monoidal.PushoutProduct +import Mathlib.CategoryTheory.Monoidal.Limits.HasLimits + /-! # Monoidal structure on the arrow category of a cartesian closed category. diff --git a/Mathlib/CategoryTheory/Monoidal/Braided/Reflection.lean b/Mathlib/CategoryTheory/Monoidal/Braided/Reflection.lean index 38590df221530a..af8e08e6108318 100644 --- a/Mathlib/CategoryTheory/Monoidal/Braided/Reflection.lean +++ b/Mathlib/CategoryTheory/Monoidal/Braided/Reflection.lean @@ -7,9 +7,10 @@ module public import Mathlib.CategoryTheory.Adjunction.Restrict public import Mathlib.CategoryTheory.Monoidal.Closed.Basic -import Mathlib.CategoryTheory.Monad.Adjunction public import Mathlib.CategoryTheory.Monoidal.Braided.Basic public import Mathlib.Tactic.TFAE + +import Mathlib.CategoryTheory.Monad.Adjunction /-! # Day's reflection theorem diff --git a/Mathlib/CategoryTheory/Monoidal/Cartesian/GrpLimits.lean b/Mathlib/CategoryTheory/Monoidal/Cartesian/GrpLimits.lean index b3205dfce52e25..7f971a8fdfcd15 100644 --- a/Mathlib/CategoryTheory/Monoidal/Cartesian/GrpLimits.lean +++ b/Mathlib/CategoryTheory/Monoidal/Cartesian/GrpLimits.lean @@ -6,10 +6,11 @@ Authors: Thomas Browning, Christian Merten module public import Mathlib.Algebra.Group.Invertible.Basic -import Mathlib.CategoryTheory.Limits.Preserves.FunctorCategory public import Mathlib.CategoryTheory.Monoidal.Cartesian.ShrinkYoneda public import Mathlib.CategoryTheory.Monoidal.Internal.Limits +import Mathlib.CategoryTheory.Limits.Preserves.FunctorCategory + /-! # Limits in `Grp C` diff --git a/Mathlib/CategoryTheory/Monoidal/Cartesian/Normal.lean b/Mathlib/CategoryTheory/Monoidal/Cartesian/Normal.lean index 596f4750727a83..bc3d6e9ea92c82 100644 --- a/Mathlib/CategoryTheory/Monoidal/Cartesian/Normal.lean +++ b/Mathlib/CategoryTheory/Monoidal/Cartesian/Normal.lean @@ -5,9 +5,10 @@ Authors: Thomas Browning, Christian Merten -/ module -import Mathlib.CategoryTheory.Limits.Shapes.Pullback.IsPullback.Basic public import Mathlib.CategoryTheory.Monoidal.Cartesian.Grp +import Mathlib.CategoryTheory.Limits.Shapes.Pullback.IsPullback.Basic + /-! # Normal subgroup objects diff --git a/Mathlib/CategoryTheory/Monoidal/Closed/Braided.lean b/Mathlib/CategoryTheory/Monoidal/Closed/Braided.lean index 5ff42dc85def39..bbae67bb48fd49 100644 --- a/Mathlib/CategoryTheory/Monoidal/Closed/Braided.lean +++ b/Mathlib/CategoryTheory/Monoidal/Closed/Braided.lean @@ -5,10 +5,11 @@ Authors: Jack McKoen -/ module -import Mathlib.CategoryTheory.Adjunction.ParametrizedLimits public import Mathlib.CategoryTheory.Monoidal.Braided.Basic public import Mathlib.CategoryTheory.Monoidal.Closed.Basic +import Mathlib.CategoryTheory.Adjunction.ParametrizedLimits + /-! # Closed braided monoidal categories diff --git a/Mathlib/CategoryTheory/Monoidal/Hopf_.lean b/Mathlib/CategoryTheory/Monoidal/Hopf_.lean index 0f7c444eaa6a7e..c49dc5cb740020 100644 --- a/Mathlib/CategoryTheory/Monoidal/Hopf_.lean +++ b/Mathlib/CategoryTheory/Monoidal/Hopf_.lean @@ -6,6 +6,7 @@ Authors: Kim Morrison module public import Mathlib.CategoryTheory.Monoidal.Bimon_ + import Mathlib.CategoryTheory.Monoidal.Conv /-! diff --git a/Mathlib/CategoryTheory/Monoidal/Internal/Module.lean b/Mathlib/CategoryTheory/Monoidal/Internal/Module.lean index af35e079fe4a64..a940ecc295925e 100644 --- a/Mathlib/CategoryTheory/Monoidal/Internal/Module.lean +++ b/Mathlib/CategoryTheory/Monoidal/Internal/Module.lean @@ -8,6 +8,7 @@ module public import Mathlib.Algebra.Category.ModuleCat.Monoidal.Basic public import Mathlib.Algebra.Category.AlgCat.Basic public import Mathlib.CategoryTheory.Monoidal.Mon + import Mathlib.Tactic.SuppressCompilation /-! diff --git a/Mathlib/CategoryTheory/Monoidal/Rigid/Basic.lean b/Mathlib/CategoryTheory/Monoidal/Rigid/Basic.lean index a0c8cf54bfa95f..c0a886a32714f6 100644 --- a/Mathlib/CategoryTheory/Monoidal/Rigid/Basic.lean +++ b/Mathlib/CategoryTheory/Monoidal/Rigid/Basic.lean @@ -7,6 +7,7 @@ module public import Mathlib.Tactic.CategoryTheory.Monoidal.Basic public import Mathlib.CategoryTheory.Monoidal.Closed.Basic + import Mathlib.Tactic.ApplyFun /-! diff --git a/Mathlib/CategoryTheory/MorphismProperty/Descent.lean b/Mathlib/CategoryTheory/MorphismProperty/Descent.lean index 61bb7b25b6556e..67ce970420802a 100644 --- a/Mathlib/CategoryTheory/MorphismProperty/Descent.lean +++ b/Mathlib/CategoryTheory/MorphismProperty/Descent.lean @@ -6,6 +6,7 @@ Authors: Christian Merten module public import Mathlib.CategoryTheory.MorphismProperty.Limits + import Mathlib.CategoryTheory.Limits.Shapes.Pullback.Equalizer /-! diff --git a/Mathlib/CategoryTheory/MorphismProperty/FunctorCategory.lean b/Mathlib/CategoryTheory/MorphismProperty/FunctorCategory.lean index 04854345d155ff..a840a88a3e9129 100644 --- a/Mathlib/CategoryTheory/MorphismProperty/FunctorCategory.lean +++ b/Mathlib/CategoryTheory/MorphismProperty/FunctorCategory.lean @@ -5,10 +5,11 @@ Authors: Joël Riou -/ module -import Mathlib.CategoryTheory.Limits.FunctorCategory.EpiMono public import Mathlib.CategoryTheory.MorphismProperty.Retract public import Mathlib.CategoryTheory.MorphismProperty.TransfiniteComposition +import Mathlib.CategoryTheory.Limits.FunctorCategory.EpiMono + /-! # Stability properties of morphism properties on functor categories diff --git a/Mathlib/CategoryTheory/MorphismProperty/Ind.lean b/Mathlib/CategoryTheory/MorphismProperty/Ind.lean index f0b24f45aca068..3e261b3d283928 100644 --- a/Mathlib/CategoryTheory/MorphismProperty/Ind.lean +++ b/Mathlib/CategoryTheory/MorphismProperty/Ind.lean @@ -5,12 +5,13 @@ Authors: Christian Merten -/ module -import Mathlib.CategoryTheory.Comma.LocallySmall -import Mathlib.CategoryTheory.Limits.Preserves.Over public import Mathlib.CategoryTheory.MorphismProperty.Comma public import Mathlib.CategoryTheory.MorphismProperty.Limits public import Mathlib.CategoryTheory.ObjectProperty.Ind +import Mathlib.CategoryTheory.Comma.LocallySmall +import Mathlib.CategoryTheory.Limits.Preserves.Over + /-! # Ind and pro-properties diff --git a/Mathlib/CategoryTheory/MorphismProperty/IsSmall.lean b/Mathlib/CategoryTheory/MorphismProperty/IsSmall.lean index 65b7ffe5753991..9e062a74bbb2c1 100644 --- a/Mathlib/CategoryTheory/MorphismProperty/IsSmall.lean +++ b/Mathlib/CategoryTheory/MorphismProperty/IsSmall.lean @@ -6,6 +6,7 @@ Authors: Joël Riou module public import Mathlib.CategoryTheory.MorphismProperty.Basic + import Mathlib.Logic.Small.Basic /-! diff --git a/Mathlib/CategoryTheory/MorphismProperty/LiftingProperty.lean b/Mathlib/CategoryTheory/MorphismProperty/LiftingProperty.lean index 07e77fb258d359..bd4d3c3c79df5a 100644 --- a/Mathlib/CategoryTheory/MorphismProperty/LiftingProperty.lean +++ b/Mathlib/CategoryTheory/MorphismProperty/LiftingProperty.lean @@ -7,6 +7,7 @@ module public import Mathlib.CategoryTheory.MorphismProperty.Limits public import Mathlib.CategoryTheory.MorphismProperty.Retract + import Mathlib.CategoryTheory.LiftingProperties.Limits /-! diff --git a/Mathlib/CategoryTheory/MorphismProperty/Local.lean b/Mathlib/CategoryTheory/MorphismProperty/Local.lean index 0178ab6fe26e24..0f606453ca2734 100644 --- a/Mathlib/CategoryTheory/MorphismProperty/Local.lean +++ b/Mathlib/CategoryTheory/MorphismProperty/Local.lean @@ -6,9 +6,10 @@ Authors: Christian Merten, Andrew Yang module public import Mathlib.CategoryTheory.Sites.Hypercover.Zero -import Mathlib.CategoryTheory.Limits.Shapes.Pullback.Equalizer public import Mathlib.CategoryTheory.MorphismProperty.Limits +import Mathlib.CategoryTheory.Limits.Shapes.Pullback.Equalizer + /-! # Locality conditions on morphism properties diff --git a/Mathlib/CategoryTheory/MorphismProperty/OfObjectProperty.lean b/Mathlib/CategoryTheory/MorphismProperty/OfObjectProperty.lean index cbad8470f74d57..03fc1686a8fb95 100644 --- a/Mathlib/CategoryTheory/MorphismProperty/OfObjectProperty.lean +++ b/Mathlib/CategoryTheory/MorphismProperty/OfObjectProperty.lean @@ -6,6 +6,7 @@ Authors: Justus Springer module public import Mathlib.CategoryTheory.MorphismProperty.Basic + import Mathlib.Data.Finset.Attr import Mathlib.Tactic.SetLike diff --git a/Mathlib/CategoryTheory/MorphismProperty/TransfiniteComposition.lean b/Mathlib/CategoryTheory/MorphismProperty/TransfiniteComposition.lean index b1c9fa3c75975f..5167728e532c12 100644 --- a/Mathlib/CategoryTheory/MorphismProperty/TransfiniteComposition.lean +++ b/Mathlib/CategoryTheory/MorphismProperty/TransfiniteComposition.lean @@ -8,6 +8,7 @@ module public import Mathlib.CategoryTheory.Limits.Shapes.Preorder.TransfiniteCompositionOfShape public import Mathlib.CategoryTheory.MorphismProperty.Limits public import Mathlib.Order.Interval.Set.SuccOrder + import Mathlib.Order.Shrink /-! # Classes of morphisms that are stable under transfinite composition diff --git a/Mathlib/CategoryTheory/ObjectProperty/ClosureShift.lean b/Mathlib/CategoryTheory/ObjectProperty/ClosureShift.lean index ae315f78840644..d8a08eee307356 100644 --- a/Mathlib/CategoryTheory/ObjectProperty/ClosureShift.lean +++ b/Mathlib/CategoryTheory/ObjectProperty/ClosureShift.lean @@ -5,11 +5,12 @@ Authors: Justus Springer -/ module -import Mathlib.CategoryTheory.Adjunction.Limits public import Mathlib.CategoryTheory.ObjectProperty.LimitsClosure public import Mathlib.CategoryTheory.ObjectProperty.Retract public import Mathlib.CategoryTheory.ObjectProperty.Shift +import Mathlib.CategoryTheory.Adjunction.Limits + /-! # Closure operators and shifts In this file, we collect facts relating being stable under shifts with diff --git a/Mathlib/CategoryTheory/ObjectProperty/ColimitsCardinalClosure.lean b/Mathlib/CategoryTheory/ObjectProperty/ColimitsCardinalClosure.lean index 88008dfbb3a629..782298ccfc5b1d 100644 --- a/Mathlib/CategoryTheory/ObjectProperty/ColimitsCardinalClosure.lean +++ b/Mathlib/CategoryTheory/ObjectProperty/ColimitsCardinalClosure.lean @@ -7,6 +7,7 @@ module public import Mathlib.CategoryTheory.ObjectProperty.ColimitsClosure public import Mathlib.CategoryTheory.SmallRepresentatives + import Mathlib.CategoryTheory.Comma.CardinalArrow /-! diff --git a/Mathlib/CategoryTheory/ObjectProperty/FiniteLimits.lean b/Mathlib/CategoryTheory/ObjectProperty/FiniteLimits.lean index 724fd91bdc68e2..5eb9321ee30ac4 100644 --- a/Mathlib/CategoryTheory/ObjectProperty/FiniteLimits.lean +++ b/Mathlib/CategoryTheory/ObjectProperty/FiniteLimits.lean @@ -6,9 +6,10 @@ Authors: Joël Riou module public import Mathlib.CategoryTheory.Limits.Preserves.Finite -import Mathlib.CategoryTheory.Limits.FullSubcategory public import Mathlib.CategoryTheory.ObjectProperty.FiniteProducts +import Mathlib.CategoryTheory.Limits.FullSubcategory + /-! # Properties of objects that are closed under finite limits diff --git a/Mathlib/CategoryTheory/ObjectProperty/FiniteProducts.lean b/Mathlib/CategoryTheory/ObjectProperty/FiniteProducts.lean index 8ffa927c853aad..90068297d1f95b 100644 --- a/Mathlib/CategoryTheory/ObjectProperty/FiniteProducts.lean +++ b/Mathlib/CategoryTheory/ObjectProperty/FiniteProducts.lean @@ -5,9 +5,10 @@ Authors: Joël Riou -/ module +public import Mathlib.CategoryTheory.ObjectProperty.ColimitsClosure + import Mathlib.CategoryTheory.Limits.Constructions.FiniteProductsOfBinaryProducts import Mathlib.CategoryTheory.Limits.FullSubcategory -public import Mathlib.CategoryTheory.ObjectProperty.ColimitsClosure import Mathlib.Data.Fintype.Shrink /-! diff --git a/Mathlib/CategoryTheory/ObjectProperty/Shift.lean b/Mathlib/CategoryTheory/ObjectProperty/Shift.lean index 708e2f26e7ea34..4132c462347f25 100644 --- a/Mathlib/CategoryTheory/ObjectProperty/Shift.lean +++ b/Mathlib/CategoryTheory/ObjectProperty/Shift.lean @@ -5,10 +5,11 @@ Authors: Joël Riou -/ module -import Mathlib.CategoryTheory.ObjectProperty.CompleteLattice public import Mathlib.CategoryTheory.Shift.CommShift public import Mathlib.Order.ConditionallyCompleteLattice.Basic +import Mathlib.CategoryTheory.ObjectProperty.CompleteLattice + /-! # Properties of objects on categories equipped with shift diff --git a/Mathlib/CategoryTheory/ObjectProperty/SiteLocal.lean b/Mathlib/CategoryTheory/ObjectProperty/SiteLocal.lean index 79061f4b450779..3e1dfb7324f633 100644 --- a/Mathlib/CategoryTheory/ObjectProperty/SiteLocal.lean +++ b/Mathlib/CategoryTheory/ObjectProperty/SiteLocal.lean @@ -5,9 +5,10 @@ Authors: Christian Merten -/ module -import Mathlib.CategoryTheory.ObjectProperty.CompleteLattice public import Mathlib.CategoryTheory.Sites.Hypercover.Zero +import Mathlib.CategoryTheory.ObjectProperty.CompleteLattice + /-! # Locality conditions on object properties diff --git a/Mathlib/CategoryTheory/Preadditive/LeftExact.lean b/Mathlib/CategoryTheory/Preadditive/LeftExact.lean index 527c0e9d2ff31b..a444c8908bf5e2 100644 --- a/Mathlib/CategoryTheory/Preadditive/LeftExact.lean +++ b/Mathlib/CategoryTheory/Preadditive/LeftExact.lean @@ -5,10 +5,11 @@ Authors: Markus Himmel, Jakob von Raumer -/ module -import Mathlib.CategoryTheory.Limits.Constructions.LimitsOfProductsAndEqualizers public import Mathlib.CategoryTheory.Limits.Preserves.Shapes.Kernels public import Mathlib.CategoryTheory.Preadditive.AdditiveFunctor +import Mathlib.CategoryTheory.Limits.Constructions.LimitsOfProductsAndEqualizers + /-! # Left exactness of functors between preadditive categories diff --git a/Mathlib/CategoryTheory/Preadditive/LiftToFinset.lean b/Mathlib/CategoryTheory/Preadditive/LiftToFinset.lean index a130bcb4a1adf4..5cfe37d30bf4ea 100644 --- a/Mathlib/CategoryTheory/Preadditive/LiftToFinset.lean +++ b/Mathlib/CategoryTheory/Preadditive/LiftToFinset.lean @@ -7,6 +7,7 @@ module public import Mathlib.CategoryTheory.Limits.Constructions.Filtered public import Mathlib.CategoryTheory.Preadditive.Basic + import Mathlib.Algebra.BigOperators.Group.Finset.Basic /-! diff --git a/Mathlib/CategoryTheory/Preadditive/Yoneda/Injective.lean b/Mathlib/CategoryTheory/Preadditive/Yoneda/Injective.lean index 5422cdb4add438..4090bedc657415 100644 --- a/Mathlib/CategoryTheory/Preadditive/Yoneda/Injective.lean +++ b/Mathlib/CategoryTheory/Preadditive/Yoneda/Injective.lean @@ -7,6 +7,7 @@ module public import Mathlib.CategoryTheory.Preadditive.Yoneda.Basic public import Mathlib.CategoryTheory.Preadditive.Injective.Basic + import Mathlib.Algebra.Category.Grp.EpiMono import Mathlib.Algebra.Category.ModuleCat.EpiMono diff --git a/Mathlib/CategoryTheory/Preadditive/Yoneda/Projective.lean b/Mathlib/CategoryTheory/Preadditive/Yoneda/Projective.lean index 88e902fe58a50b..3adc6703065921 100644 --- a/Mathlib/CategoryTheory/Preadditive/Yoneda/Projective.lean +++ b/Mathlib/CategoryTheory/Preadditive/Yoneda/Projective.lean @@ -8,6 +8,7 @@ module public import Mathlib.CategoryTheory.Preadditive.Yoneda.Basic public import Mathlib.CategoryTheory.Preadditive.Projective.Basic public import Mathlib.Algebra.Category.Grp.EpiMono + import Mathlib.Algebra.Category.ModuleCat.EpiMono /-! diff --git a/Mathlib/CategoryTheory/Presentable/Adjunction.lean b/Mathlib/CategoryTheory/Presentable/Adjunction.lean index 3dd7093552c0ee..21430d18487db8 100644 --- a/Mathlib/CategoryTheory/Presentable/Adjunction.lean +++ b/Mathlib/CategoryTheory/Presentable/Adjunction.lean @@ -6,6 +6,7 @@ Authors: Joël Riou module public import Mathlib.CategoryTheory.Presentable.LocallyPresentable + import Mathlib.CategoryTheory.Monad.Limits /-! diff --git a/Mathlib/CategoryTheory/Presentable/CardinalDirectedPoset.lean b/Mathlib/CategoryTheory/Presentable/CardinalDirectedPoset.lean index 8f64e4ae8d7955..1e5e33826d5f50 100644 --- a/Mathlib/CategoryTheory/Presentable/CardinalDirectedPoset.lean +++ b/Mathlib/CategoryTheory/Presentable/CardinalDirectedPoset.lean @@ -8,6 +8,7 @@ module public import Mathlib.CategoryTheory.Limits.Preorder public import Mathlib.CategoryTheory.Presentable.LocallyPresentable public import Mathlib.Order.Category.PartOrdEmb + import Mathlib.Order.Hom.WithTopBot /-! diff --git a/Mathlib/CategoryTheory/Presentable/Comma.lean b/Mathlib/CategoryTheory/Presentable/Comma.lean index 5d58c268430807..6a360c28fa1cf8 100644 --- a/Mathlib/CategoryTheory/Presentable/Comma.lean +++ b/Mathlib/CategoryTheory/Presentable/Comma.lean @@ -5,11 +5,12 @@ Authors: Joël Riou -/ module -import Mathlib.CategoryTheory.Comma.LocallySmall public import Mathlib.CategoryTheory.ObjectProperty.Comma -import Mathlib.CategoryTheory.Presentable.IsDiscrete public import Mathlib.CategoryTheory.Presentable.Uniformization +import Mathlib.CategoryTheory.Comma.LocallySmall +import Mathlib.CategoryTheory.Presentable.IsDiscrete + /-! # Comma categories are accessible diff --git a/Mathlib/CategoryTheory/Presentable/Directed.lean b/Mathlib/CategoryTheory/Presentable/Directed.lean index 7a0c609cccb3f2..9b970039f4af17 100644 --- a/Mathlib/CategoryTheory/Presentable/Directed.lean +++ b/Mathlib/CategoryTheory/Presentable/Directed.lean @@ -5,11 +5,12 @@ Authors: Joël Riou -/ module -import Mathlib.CategoryTheory.Limits.Shapes.Multiequalizer public import Mathlib.CategoryTheory.MorphismProperty.HasCardinalLT public import Mathlib.CategoryTheory.ObjectProperty.HasCardinalLT public import Mathlib.CategoryTheory.Presentable.IsCardinalFiltered +import Mathlib.CategoryTheory.Limits.Shapes.Multiequalizer + /-! # `κ`-filtered categories and `κ`-directed poset diff --git a/Mathlib/CategoryTheory/Presentable/OrthogonalReflection.lean b/Mathlib/CategoryTheory/Presentable/OrthogonalReflection.lean index 32dc135de8369d..4e45baffce9ca2 100644 --- a/Mathlib/CategoryTheory/Presentable/OrthogonalReflection.lean +++ b/Mathlib/CategoryTheory/Presentable/OrthogonalReflection.lean @@ -5,13 +5,14 @@ Authors: Joël Riou -/ module -import Mathlib.CategoryTheory.Adjunction.PartialAdjoint public import Mathlib.CategoryTheory.Limits.Shapes.Multiequalizer public import Mathlib.CategoryTheory.Localization.BousfieldTransfiniteComposition public import Mathlib.CategoryTheory.MorphismProperty.IsSmall public import Mathlib.CategoryTheory.Presentable.Adjunction public import Mathlib.CategoryTheory.SmallObject.TransfiniteIteration +import Mathlib.CategoryTheory.Adjunction.PartialAdjoint + /-! # The Orthogonal-reflection construction diff --git a/Mathlib/CategoryTheory/Presentable/Presheaf.lean b/Mathlib/CategoryTheory/Presentable/Presheaf.lean index 2e77584b435c3b..c1f5fd17abc44b 100644 --- a/Mathlib/CategoryTheory/Presentable/Presheaf.lean +++ b/Mathlib/CategoryTheory/Presentable/Presheaf.lean @@ -6,9 +6,10 @@ Authors: Joël Riou module public import Mathlib.CategoryTheory.Generator.Presheaf -import Mathlib.CategoryTheory.Limits.FunctorCategory.EpiMono public import Mathlib.CategoryTheory.Presentable.StrongGenerator +import Mathlib.CategoryTheory.Limits.FunctorCategory.EpiMono + /-! # Categories of presheaves are locally presentable diff --git a/Mathlib/CategoryTheory/Presentable/Type.lean b/Mathlib/CategoryTheory/Presentable/Type.lean index 6b39112e81ef3b..25ec3007337301 100644 --- a/Mathlib/CategoryTheory/Presentable/Type.lean +++ b/Mathlib/CategoryTheory/Presentable/Type.lean @@ -5,10 +5,11 @@ Authors: Joël Riou -/ module -import Mathlib.CategoryTheory.Generator.Type public import Mathlib.CategoryTheory.Presentable.StrongGenerator public import Mathlib.CategoryTheory.Types.Set +import Mathlib.CategoryTheory.Generator.Type + /-! # Presentable objects in Type diff --git a/Mathlib/CategoryTheory/Shift/CommShiftTwo.lean b/Mathlib/CategoryTheory/Shift/CommShiftTwo.lean index af20ce75cb7ac7..ad6f3fdb8d613b 100644 --- a/Mathlib/CategoryTheory/Shift/CommShiftTwo.lean +++ b/Mathlib/CategoryTheory/Shift/CommShiftTwo.lean @@ -6,10 +6,11 @@ Authors: Joël Riou module public import Mathlib.CategoryTheory.Center.NegOnePow -import Mathlib.CategoryTheory.Linear.LinearFunctor public import Mathlib.CategoryTheory.Shift.Twist public import Mathlib.CategoryTheory.Shift.Pullback +import Mathlib.CategoryTheory.Linear.LinearFunctor + /-! # Commutation with shifts of functors in two variables diff --git a/Mathlib/CategoryTheory/Sites/Coherent/ExtensiveColimits.lean b/Mathlib/CategoryTheory/Sites/Coherent/ExtensiveColimits.lean index ab7f298515b35e..ca92acca985a30 100644 --- a/Mathlib/CategoryTheory/Sites/Coherent/ExtensiveColimits.lean +++ b/Mathlib/CategoryTheory/Sites/Coherent/ExtensiveColimits.lean @@ -5,8 +5,9 @@ Authors: Dagur Asgeirsson -/ module -import Mathlib.CategoryTheory.Preadditive.Biproducts public import Mathlib.CategoryTheory.Sites.Coherent.ExtensiveSheaves + +import Mathlib.CategoryTheory.Preadditive.Biproducts import Mathlib.CategoryTheory.Sites.Limits /-! diff --git a/Mathlib/CategoryTheory/Sites/Coherent/ExtensiveSheaves.lean b/Mathlib/CategoryTheory/Sites/Coherent/ExtensiveSheaves.lean index 362d03cfad0b0c..ed023edaee1e15 100644 --- a/Mathlib/CategoryTheory/Sites/Coherent/ExtensiveSheaves.lean +++ b/Mathlib/CategoryTheory/Sites/Coherent/ExtensiveSheaves.lean @@ -7,6 +7,7 @@ module public import Mathlib.CategoryTheory.Sites.Canonical public import Mathlib.CategoryTheory.Sites.Coherent.Basic + import Mathlib.CategoryTheory.Sites.Preserves /-! diff --git a/Mathlib/CategoryTheory/Sites/Coherent/LocallySurjective.lean b/Mathlib/CategoryTheory/Sites/Coherent/LocallySurjective.lean index 566a18203b6af7..3efa56406f70ca 100644 --- a/Mathlib/CategoryTheory/Sites/Coherent/LocallySurjective.lean +++ b/Mathlib/CategoryTheory/Sites/Coherent/LocallySurjective.lean @@ -5,8 +5,9 @@ Authors: Dagur Asgeirsson -/ module -import Mathlib.CategoryTheory.Sites.Coherent.ExtensiveTopology public import Mathlib.CategoryTheory.Sites.Coherent.SheafComparison + +import Mathlib.CategoryTheory.Sites.Coherent.ExtensiveTopology /-! # Locally surjective morphisms of coherent sheaves diff --git a/Mathlib/CategoryTheory/Sites/Coherent/SequentialLimit.lean b/Mathlib/CategoryTheory/Sites/Coherent/SequentialLimit.lean index 8de1b1a04c1cab..743b1856da2dd9 100644 --- a/Mathlib/CategoryTheory/Sites/Coherent/SequentialLimit.lean +++ b/Mathlib/CategoryTheory/Sites/Coherent/SequentialLimit.lean @@ -8,6 +8,7 @@ module public import Mathlib.CategoryTheory.Functor.OfSequence public import Mathlib.CategoryTheory.Sites.Coherent.LocallySurjective public import Mathlib.CategoryTheory.Sites.EpiMono + import Mathlib.CategoryTheory.Sites.Subcanonical /-! diff --git a/Mathlib/CategoryTheory/Sites/CoproductSheafCondition.lean b/Mathlib/CategoryTheory/Sites/CoproductSheafCondition.lean index 742cf3557a6319..497d8391bbb205 100644 --- a/Mathlib/CategoryTheory/Sites/CoproductSheafCondition.lean +++ b/Mathlib/CategoryTheory/Sites/CoproductSheafCondition.lean @@ -5,10 +5,11 @@ Authors: Christian Merten -/ module -import Mathlib.CategoryTheory.Limits.Final public import Mathlib.CategoryTheory.Limits.VanKampen public import Mathlib.CategoryTheory.Sites.Hypercover.SheafOfTypes +import Mathlib.CategoryTheory.Limits.Final + /-! # The sheaf condition and universal coproducts diff --git a/Mathlib/CategoryTheory/Sites/Descent/Precoverage.lean b/Mathlib/CategoryTheory/Sites/Descent/Precoverage.lean index 47cac9cd14724b..6452aed677f147 100644 --- a/Mathlib/CategoryTheory/Sites/Descent/Precoverage.lean +++ b/Mathlib/CategoryTheory/Sites/Descent/Precoverage.lean @@ -6,6 +6,7 @@ Authors: Joël Riou module public import Mathlib.CategoryTheory.Sites.Descent.IsStack + import Mathlib.CategoryTheory.Limits.Constructions.Over.Connected import Mathlib.CategoryTheory.Limits.Shapes.Connected diff --git a/Mathlib/CategoryTheory/Sites/JointlySurjective.lean b/Mathlib/CategoryTheory/Sites/JointlySurjective.lean index dc78e77b3a006a..0c37fa2c303f92 100644 --- a/Mathlib/CategoryTheory/Sites/JointlySurjective.lean +++ b/Mathlib/CategoryTheory/Sites/JointlySurjective.lean @@ -6,6 +6,7 @@ Authors: Christian Merten module public import Mathlib.CategoryTheory.Sites.Hypercover.Zero + import Mathlib.CategoryTheory.Limits.Types.Pullbacks /-! diff --git a/Mathlib/CategoryTheory/Sites/MayerVietorisSquare.lean b/Mathlib/CategoryTheory/Sites/MayerVietorisSquare.lean index 99486873502fd7..f1316f24f04fd5 100644 --- a/Mathlib/CategoryTheory/Sites/MayerVietorisSquare.lean +++ b/Mathlib/CategoryTheory/Sites/MayerVietorisSquare.lean @@ -11,6 +11,7 @@ public import Mathlib.Algebra.Homology.ShortComplex.ShortExact public import Mathlib.Algebra.Homology.Square public import Mathlib.CategoryTheory.Limits.Preserves.Shapes.Square public import Mathlib.CategoryTheory.Sites.Abelian + import Mathlib.CategoryTheory.Sites.Adjunction /-! diff --git a/Mathlib/CategoryTheory/Sites/Point/Basic.lean b/Mathlib/CategoryTheory/Sites/Point/Basic.lean index f14283f34fb84d..a5916aa7ea6145 100644 --- a/Mathlib/CategoryTheory/Sites/Point/Basic.lean +++ b/Mathlib/CategoryTheory/Sites/Point/Basic.lean @@ -7,9 +7,10 @@ module public import Mathlib.CategoryTheory.Abelian.GrothendieckAxioms.Types public import Mathlib.CategoryTheory.Filtered.FinallySmall -import Mathlib.CategoryTheory.Limits.ConcreteCategory.Filtered public import Mathlib.CategoryTheory.Sites.LocallyBijective +import Mathlib.CategoryTheory.Limits.ConcreteCategory.Filtered + /-! # Points of a site diff --git a/Mathlib/CategoryTheory/Sites/Point/Conservative.lean b/Mathlib/CategoryTheory/Sites/Point/Conservative.lean index 6a31769af00f6c..5fb17d11ec023b 100644 --- a/Mathlib/CategoryTheory/Sites/Point/Conservative.lean +++ b/Mathlib/CategoryTheory/Sites/Point/Conservative.lean @@ -6,8 +6,9 @@ Authors: Joël Riou module public import Mathlib.CategoryTheory.Sites.Point.Category -import Mathlib.CategoryTheory.Sites.Point.Skyscraper public import Mathlib.CategoryTheory.Functor.ReflectsIso.Jointly + +import Mathlib.CategoryTheory.Sites.Point.Skyscraper import Mathlib.CategoryTheory.Types.Epimorphisms /-! diff --git a/Mathlib/CategoryTheory/Sites/Point/Monoidal.lean b/Mathlib/CategoryTheory/Sites/Point/Monoidal.lean index f7a1b666f35678..ad5da3a114dc1c 100644 --- a/Mathlib/CategoryTheory/Sites/Point/Monoidal.lean +++ b/Mathlib/CategoryTheory/Sites/Point/Monoidal.lean @@ -6,10 +6,11 @@ Authors: Joël Riou module public import Mathlib.CategoryTheory.Localization.Monoidal.Functor -import Mathlib.CategoryTheory.Monoidal.Limits.Colimits public import Mathlib.CategoryTheory.Sites.Monoidal public import Mathlib.CategoryTheory.Sites.Point.Skyscraper +import Mathlib.CategoryTheory.Monoidal.Limits.Colimits + /-! # Fiber functors are monoidal diff --git a/Mathlib/CategoryTheory/Sites/Point/Over.lean b/Mathlib/CategoryTheory/Sites/Point/Over.lean index 9ccb702675d1ea..7728fabd5a85d3 100644 --- a/Mathlib/CategoryTheory/Sites/Point/Over.lean +++ b/Mathlib/CategoryTheory/Sites/Point/Over.lean @@ -6,11 +6,12 @@ Authors: Joël Riou module public import Mathlib.CategoryTheory.Functor.TypeValuedFlat -import Mathlib.CategoryTheory.Comma.StructuredArrow.Small -import Mathlib.CategoryTheory.Comma.LocallySmall public import Mathlib.CategoryTheory.Sites.Over public import Mathlib.CategoryTheory.Sites.Point.Conservative +import Mathlib.CategoryTheory.Comma.StructuredArrow.Small +import Mathlib.CategoryTheory.Comma.LocallySmall + /-! # Points of `Over` sites diff --git a/Mathlib/CategoryTheory/Sites/Precoverage/Generates.lean b/Mathlib/CategoryTheory/Sites/Precoverage/Generates.lean index d94a380ed82711..1419fd14f097bd 100644 --- a/Mathlib/CategoryTheory/Sites/Precoverage/Generates.lean +++ b/Mathlib/CategoryTheory/Sites/Precoverage/Generates.lean @@ -5,8 +5,9 @@ Authors: Christian Merten -/ module -import Mathlib.CategoryTheory.Sites.Closed public import Mathlib.CategoryTheory.Sites.Coverage + +import Mathlib.CategoryTheory.Sites.Closed import Mathlib.CategoryTheory.Sites.Precoverage.Subsheaf import Mathlib.Logic.Small.Set diff --git a/Mathlib/CategoryTheory/Sites/Preserves.lean b/Mathlib/CategoryTheory/Sites/Preserves.lean index b3ad1345a8587e..132b1ed6405e79 100644 --- a/Mathlib/CategoryTheory/Sites/Preserves.lean +++ b/Mathlib/CategoryTheory/Sites/Preserves.lean @@ -5,10 +5,11 @@ Authors: Dagur Asgeirsson -/ module -import Mathlib.CategoryTheory.Limits.Preserves.Shapes.Products public import Mathlib.CategoryTheory.Limits.Shapes.Opposites.Products public import Mathlib.CategoryTheory.Sites.EqualizerSheafCondition +import Mathlib.CategoryTheory.Limits.Preserves.Shapes.Products + /-! # Sheaves preserve products diff --git a/Mathlib/CategoryTheory/Sites/Pullback.lean b/Mathlib/CategoryTheory/Sites/Pullback.lean index f33616f8e9e605..afc92a46fa1cfa 100644 --- a/Mathlib/CategoryTheory/Sites/Pullback.lean +++ b/Mathlib/CategoryTheory/Sites/Pullback.lean @@ -8,6 +8,7 @@ module public import Mathlib.CategoryTheory.Adjunction.Restrict public import Mathlib.CategoryTheory.Functor.Flat public import Mathlib.CategoryTheory.Sites.Continuous + import Mathlib.CategoryTheory.Sites.LeftExact /-! diff --git a/Mathlib/CategoryTheory/Sites/RegularEpi.lean b/Mathlib/CategoryTheory/Sites/RegularEpi.lean index 317f449b3e7121..2bd3724079a047 100644 --- a/Mathlib/CategoryTheory/Sites/RegularEpi.lean +++ b/Mathlib/CategoryTheory/Sites/RegularEpi.lean @@ -5,10 +5,11 @@ Authors: Dagur Asgeirsson -/ module +public import Mathlib.CategoryTheory.Sites.LeftExact + import Mathlib.CategoryTheory.EffectiveEpi.Comp import Mathlib.CategoryTheory.Functor.RegularEpi import Mathlib.CategoryTheory.Limits.FunctorCategory.Shapes.Images -public import Mathlib.CategoryTheory.Sites.LeftExact /-! diff --git a/Mathlib/CategoryTheory/Sites/SheafCohomology/Basic.lean b/Mathlib/CategoryTheory/Sites/SheafCohomology/Basic.lean index dc0a050f8d46af..9dbc3678a92361 100644 --- a/Mathlib/CategoryTheory/Sites/SheafCohomology/Basic.lean +++ b/Mathlib/CategoryTheory/Sites/SheafCohomology/Basic.lean @@ -8,9 +8,10 @@ module public import Mathlib.Algebra.Category.Grp.Adjunctions public import Mathlib.CategoryTheory.Sites.Abelian public import Mathlib.Algebra.Homology.DerivedCategory.Ext.EnoughInjectives -import Mathlib.Algebra.Category.Grp.Zero public import Mathlib.CategoryTheory.Adjunction.Additive +import Mathlib.Algebra.Category.Grp.Zero + /-! # Sheaf cohomology diff --git a/Mathlib/CategoryTheory/Subfunctor/SubmonoidFunctor.lean b/Mathlib/CategoryTheory/Subfunctor/SubmonoidFunctor.lean index 91d144c759ea9f..31ea8b1cffebdb 100644 --- a/Mathlib/CategoryTheory/Subfunctor/SubmonoidFunctor.lean +++ b/Mathlib/CategoryTheory/Subfunctor/SubmonoidFunctor.lean @@ -7,9 +7,10 @@ module public import Mathlib.Algebra.Category.MonCat.Basic public import Mathlib.Algebra.Group.Submonoid.Operations -import Mathlib.CategoryTheory.ConcreteCategory.EpiMono public import Mathlib.CategoryTheory.Subfunctor.Basic +import Mathlib.CategoryTheory.ConcreteCategory.EpiMono + /-! # Functors of submonoids diff --git a/Mathlib/CategoryTheory/Subobject/ArtinianObject.lean b/Mathlib/CategoryTheory/Subobject/ArtinianObject.lean index a9f0708439f7bd..6664d75385a650 100644 --- a/Mathlib/CategoryTheory/Subobject/ArtinianObject.lean +++ b/Mathlib/CategoryTheory/Subobject/ArtinianObject.lean @@ -7,9 +7,10 @@ module public import Mathlib.CategoryTheory.ObjectProperty.EpiMono public import Mathlib.CategoryTheory.Limits.Constructions.EventuallyConstant -import Mathlib.Order.OrderIsoNat public import Mathlib.CategoryTheory.Simple +import Mathlib.Order.OrderIsoNat + /-! # Artinian objects diff --git a/Mathlib/CategoryTheory/Subobject/Basic.lean b/Mathlib/CategoryTheory/Subobject/Basic.lean index 568bd9d3e2949e..9356d58d919f09 100644 --- a/Mathlib/CategoryTheory/Subobject/Basic.lean +++ b/Mathlib/CategoryTheory/Subobject/Basic.lean @@ -7,10 +7,11 @@ module public import Mathlib.CategoryTheory.Limits.Skeleton public import Mathlib.CategoryTheory.Subobject.MonoOver -import Mathlib.Tactic.ApplyFun public import Mathlib.CategoryTheory.Limits.Shapes.Pullback.IsPullback.Basic public import Mathlib.CategoryTheory.Category.GaloisConnection +import Mathlib.Tactic.ApplyFun + /-! # Subobjects diff --git a/Mathlib/CategoryTheory/Subobject/NoetherianObject.lean b/Mathlib/CategoryTheory/Subobject/NoetherianObject.lean index 312dd3cdb75b3c..a23e9f1f506899 100644 --- a/Mathlib/CategoryTheory/Subobject/NoetherianObject.lean +++ b/Mathlib/CategoryTheory/Subobject/NoetherianObject.lean @@ -8,6 +8,7 @@ module public import Mathlib.CategoryTheory.Subobject.Lattice public import Mathlib.CategoryTheory.ObjectProperty.EpiMono public import Mathlib.CategoryTheory.Limits.Constructions.EventuallyConstant + import Mathlib.Order.OrderIsoNat /-! diff --git a/Mathlib/CategoryTheory/Triangulated/Adjunction.lean b/Mathlib/CategoryTheory/Triangulated/Adjunction.lean index 2eeea78a7a73e6..8c10632e5a7773 100644 --- a/Mathlib/CategoryTheory/Triangulated/Adjunction.lean +++ b/Mathlib/CategoryTheory/Triangulated/Adjunction.lean @@ -5,9 +5,10 @@ Authors: Joël Riou, Sophie Morel -/ module -import Mathlib.CategoryTheory.Adjunction.Additive public import Mathlib.CategoryTheory.Triangulated.Opposite.Functor +import Mathlib.CategoryTheory.Adjunction.Additive + /-! # The adjoint functor is triangulated diff --git a/Mathlib/CategoryTheory/Triangulated/Generators.lean b/Mathlib/CategoryTheory/Triangulated/Generators.lean index 52a3480b2d1862..b485d917398793 100644 --- a/Mathlib/CategoryTheory/Triangulated/Generators.lean +++ b/Mathlib/CategoryTheory/Triangulated/Generators.lean @@ -5,9 +5,10 @@ Authors: Justus Springer -/ module -import Mathlib.CategoryTheory.ObjectProperty.ClosureShift public import Mathlib.CategoryTheory.Triangulated.Subcategory +import Mathlib.CategoryTheory.ObjectProperty.ClosureShift + /-! # Generators in triangulated categories diff --git a/Mathlib/CategoryTheory/Triangulated/LocalizingSubcategory.lean b/Mathlib/CategoryTheory/Triangulated/LocalizingSubcategory.lean index 9bab6a8a54945d..8a9d04c9b6bc53 100644 --- a/Mathlib/CategoryTheory/Triangulated/LocalizingSubcategory.lean +++ b/Mathlib/CategoryTheory/Triangulated/LocalizingSubcategory.lean @@ -6,6 +6,7 @@ Authors: Joël Riou module public import Mathlib.CategoryTheory.Triangulated.Opposite.Subcategory + import Mathlib.CategoryTheory.Triangulated.Opposite.Triangulated /-! diff --git a/Mathlib/CategoryTheory/Triangulated/Opposite/Basic.lean b/Mathlib/CategoryTheory/Triangulated/Opposite/Basic.lean index 4ae077a19fa8e5..4f2637cf751916 100644 --- a/Mathlib/CategoryTheory/Triangulated/Opposite/Basic.lean +++ b/Mathlib/CategoryTheory/Triangulated/Opposite/Basic.lean @@ -5,10 +5,11 @@ Authors: Joël Riou -/ module -import Mathlib.CategoryTheory.Limits.Shapes.RegularMono public import Mathlib.CategoryTheory.Shift.Opposite public import Mathlib.CategoryTheory.Shift.Pullback +import Mathlib.CategoryTheory.Limits.Shapes.RegularMono + /-! # The shift on the opposite category of a pretriangulated category diff --git a/Mathlib/CategoryTheory/Triangulated/Pretriangulated.lean b/Mathlib/CategoryTheory/Triangulated/Pretriangulated.lean index da1bf3161cf4e8..65ed5da2a28139 100644 --- a/Mathlib/CategoryTheory/Triangulated/Pretriangulated.lean +++ b/Mathlib/CategoryTheory/Triangulated/Pretriangulated.lean @@ -6,9 +6,10 @@ Authors: Luke Kershaw, Joël Riou module public import Mathlib.Algebra.Homology.ShortComplex.Basic -import Mathlib.CategoryTheory.Limits.Constructions.FiniteProductsOfBinaryProducts public import Mathlib.CategoryTheory.Triangulated.TriangleShift +import Mathlib.CategoryTheory.Limits.Constructions.FiniteProductsOfBinaryProducts + /-! # Pretriangulated Categories diff --git a/Mathlib/CategoryTheory/Types/Epimorphisms.lean b/Mathlib/CategoryTheory/Types/Epimorphisms.lean index 9916ea547028b7..452076704d97f1 100644 --- a/Mathlib/CategoryTheory/Types/Epimorphisms.lean +++ b/Mathlib/CategoryTheory/Types/Epimorphisms.lean @@ -6,6 +6,7 @@ Authors: Joël Riou module public import Mathlib.CategoryTheory.MorphismProperty.Limits + import Mathlib.CategoryTheory.Limits.Types.Pullbacks /-! diff --git a/Mathlib/CategoryTheory/Types/Monomorphisms.lean b/Mathlib/CategoryTheory/Types/Monomorphisms.lean index f301515c29b711..99ff38870726c1 100644 --- a/Mathlib/CategoryTheory/Types/Monomorphisms.lean +++ b/Mathlib/CategoryTheory/Types/Monomorphisms.lean @@ -5,11 +5,12 @@ Authors: Joël Riou -/ module -import Mathlib.CategoryTheory.Limits.Types.Filtered public import Mathlib.CategoryTheory.Limits.Types.Pushouts public import Mathlib.CategoryTheory.Limits.Types.Coproducts public import Mathlib.CategoryTheory.MorphismProperty.Limits +import Mathlib.CategoryTheory.Limits.Types.Filtered + /-! # Stability properties of monomorphisms in `Type` diff --git a/Mathlib/Combinatorics/Additive/AP/Three/Behrend.lean b/Mathlib/Combinatorics/Additive/AP/Three/Behrend.lean index cca50b6ff4ffaa..a01588f7f09ebe 100644 --- a/Mathlib/Combinatorics/Additive/AP/Three/Behrend.lean +++ b/Mathlib/Combinatorics/Additive/AP/Three/Behrend.lean @@ -5,10 +5,11 @@ Authors: Yaël Dillies, Bhavik Mehta -/ module -import Mathlib.Analysis.Complex.ExponentialBounds public import Mathlib.Analysis.InnerProductSpace.Convex public import Mathlib.Analysis.InnerProductSpace.PiL2 public import Mathlib.Combinatorics.Additive.AP.Three.Defs + +import Mathlib.Analysis.Complex.ExponentialBounds import Mathlib.Combinatorics.Pigeonhole /-! diff --git a/Mathlib/Combinatorics/Additive/AP/Three/Defs.lean b/Mathlib/Combinatorics/Additive/AP/Three/Defs.lean index 8435abe95296fc..90e5228dbab8e1 100644 --- a/Mathlib/Combinatorics/Additive/AP/Three/Defs.lean +++ b/Mathlib/Combinatorics/Additive/AP/Three/Defs.lean @@ -5,12 +5,13 @@ Authors: Yaël Dillies, Bhavik Mehta -/ module -import Mathlib.Algebra.Order.Interval.Finset.Basic public import Mathlib.Combinatorics.Additive.FreimanHom public import Mathlib.Order.Interval.Finset.Fin public import Mathlib.Algebra.Group.Pointwise.Set.Scalar public import Mathlib.Algebra.Group.Action.Defs +import Mathlib.Algebra.Order.Interval.Finset.Basic + /-! # Sets without arithmetic progressions of length three and Roth numbers diff --git a/Mathlib/Combinatorics/Additive/ApproximateSubgroup.lean b/Mathlib/Combinatorics/Additive/ApproximateSubgroup.lean index d3dd30aaff3168..f1b0afe025e1fd 100644 --- a/Mathlib/Combinatorics/Additive/ApproximateSubgroup.lean +++ b/Mathlib/Combinatorics/Additive/ApproximateSubgroup.lean @@ -7,9 +7,10 @@ module public import Mathlib.Algebra.Group.Subgroup.Pointwise public import Mathlib.Combinatorics.Additive.CovBySMul -import Mathlib.Combinatorics.Additive.RuzsaCovering public import Mathlib.Combinatorics.Additive.SmallTripling +import Mathlib.Combinatorics.Additive.RuzsaCovering + /-! # Approximate subgroups diff --git a/Mathlib/Combinatorics/Additive/Corner/Roth.lean b/Mathlib/Combinatorics/Additive/Corner/Roth.lean index 637fcc82ec947b..b68ee698bfdc6e 100644 --- a/Mathlib/Combinatorics/Additive/Corner/Roth.lean +++ b/Mathlib/Combinatorics/Additive/Corner/Roth.lean @@ -8,6 +8,7 @@ module public import Mathlib.Combinatorics.Additive.AP.Three.Defs public import Mathlib.Combinatorics.Additive.Corner.Defs public import Mathlib.Combinatorics.SimpleGraph.Triangle.Removal + import Mathlib.Combinatorics.SimpleGraph.Triangle.Tripartite /-! diff --git a/Mathlib/Combinatorics/Additive/CovBySMul.lean b/Mathlib/Combinatorics/Additive/CovBySMul.lean index b1d2754982e6d7..1295ef699d0c19 100644 --- a/Mathlib/Combinatorics/Additive/CovBySMul.lean +++ b/Mathlib/Combinatorics/Additive/CovBySMul.lean @@ -5,10 +5,11 @@ Authors: Yaël Dillies -/ module -import Mathlib.Algebra.Group.Action.Pointwise.Set.Basic -import Mathlib.Algebra.Group.Pointwise.Finset.Basic public import Mathlib.Algebra.Group.Pointwise.Finset.Scalar public import Mathlib.Basic.Real.Basic + +import Mathlib.Algebra.Group.Action.Pointwise.Set.Basic +import Mathlib.Algebra.Group.Pointwise.Finset.Basic import Mathlib.Tactic.Positivity.Basic /-! diff --git a/Mathlib/Combinatorics/Additive/Dissociation.lean b/Mathlib/Combinatorics/Additive/Dissociation.lean index 7c2fb484c97274..4c2ad4a1b18215 100644 --- a/Mathlib/Combinatorics/Additive/Dissociation.lean +++ b/Mathlib/Combinatorics/Additive/Dissociation.lean @@ -7,10 +7,11 @@ module public import Mathlib.Algebra.BigOperators.Group.Finset.Piecewise public import Mathlib.Algebra.Group.Pointwise.Set.Basic +public import Mathlib.Data.Fintype.Pi + import Mathlib.Algebra.Group.Units.Equiv import Mathlib.Algebra.Notation.Indicator import Mathlib.Data.Finset.Powerset -public import Mathlib.Data.Fintype.Pi import Mathlib.Order.Preorder.Finite /-! diff --git a/Mathlib/Combinatorics/Additive/DoublingConst.lean b/Mathlib/Combinatorics/Additive/DoublingConst.lean index e5e133aa3524da..a246d5da47bf9b 100644 --- a/Mathlib/Combinatorics/Additive/DoublingConst.lean +++ b/Mathlib/Combinatorics/Additive/DoublingConst.lean @@ -6,6 +6,7 @@ Authors: Yaël Dillies module public import Mathlib.Combinatorics.Additive.PluenneckeRuzsa + import Mathlib.Data.Finset.Density /-! diff --git a/Mathlib/Combinatorics/Additive/ETransform.lean b/Mathlib/Combinatorics/Additive/ETransform.lean index d4865c982b3765..a2bc3a74538437 100644 --- a/Mathlib/Combinatorics/Additive/ETransform.lean +++ b/Mathlib/Combinatorics/Additive/ETransform.lean @@ -6,6 +6,7 @@ Authors: Yaël Dillies module public import Mathlib.Algebra.Group.Action.Pointwise.Finset + import Mathlib.Algebra.Ring.Nat /-! diff --git a/Mathlib/Combinatorics/Additive/ErdosGinzburgZiv.lean b/Mathlib/Combinatorics/Additive/ErdosGinzburgZiv.lean index 20778e42be7f22..49b08305a4e2a5 100644 --- a/Mathlib/Combinatorics/Additive/ErdosGinzburgZiv.lean +++ b/Mathlib/Combinatorics/Additive/ErdosGinzburgZiv.lean @@ -5,9 +5,10 @@ Authors: Yaël Dillies -/ module -import Mathlib.Data.Multiset.Fintype public import Mathlib.FieldTheory.ChevalleyWarning +import Mathlib.Data.Multiset.Fintype + /-! # The Erdős–Ginzburg–Ziv theorem diff --git a/Mathlib/Combinatorics/Additive/FreimanHom.lean b/Mathlib/Combinatorics/Additive/FreimanHom.lean index 42690d063aeda6..a461ffa624bb7e 100644 --- a/Mathlib/Combinatorics/Additive/FreimanHom.lean +++ b/Mathlib/Combinatorics/Additive/FreimanHom.lean @@ -9,10 +9,11 @@ public import Mathlib.Algebra.BigOperators.Ring.Finset public import Mathlib.Algebra.CharP.Basic public import Mathlib.Algebra.Group.Pointwise.Set.Basic public import Mathlib.Algebra.Group.Submonoid.Defs -import Mathlib.Algebra.Order.BigOperators.Group.Multiset public import Mathlib.Algebra.Order.Group.Nat public import Mathlib.Data.ZMod.Defs +import Mathlib.Algebra.Order.BigOperators.Group.Multiset + /-! # Freiman homomorphisms diff --git a/Mathlib/Combinatorics/Additive/PluenneckeRuzsa.lean b/Mathlib/Combinatorics/Additive/PluenneckeRuzsa.lean index 8f3c0082e810cc..d5a8b2e085485e 100644 --- a/Mathlib/Combinatorics/Additive/PluenneckeRuzsa.lean +++ b/Mathlib/Combinatorics/Additive/PluenneckeRuzsa.lean @@ -5,13 +5,14 @@ Authors: Yaël Dillies, George Shakan -/ module -import Mathlib.Algebra.Order.Field.Rat -import Mathlib.Combinatorics.Enumerative.DoubleCounting public import Mathlib.Tactic.FieldSimp public import Mathlib.Tactic.Positivity public import Mathlib.Tactic.Ring public import Mathlib.Algebra.Group.Pointwise.Finset.Basic +import Mathlib.Algebra.Order.Field.Rat +import Mathlib.Combinatorics.Enumerative.DoubleCounting + /-! # The Plünnecke-Ruzsa inequality diff --git a/Mathlib/Combinatorics/Additive/RuzsaCovering.lean b/Mathlib/Combinatorics/Additive/RuzsaCovering.lean index 40236d8ff72cb1..88761d11ea5606 100644 --- a/Mathlib/Combinatorics/Additive/RuzsaCovering.lean +++ b/Mathlib/Combinatorics/Additive/RuzsaCovering.lean @@ -8,6 +8,7 @@ module public import Mathlib.Algebra.Group.Action.Pointwise.Finset public import Mathlib.Basic.Real.Basic public import Mathlib.SetTheory.Cardinal.Finite + import Mathlib.Tactic.Positivity.Finset /-! diff --git a/Mathlib/Combinatorics/Additive/SmallTripling.lean b/Mathlib/Combinatorics/Additive/SmallTripling.lean index 46b4fb2f3e33f7..fbe857ca4de3ad 100644 --- a/Mathlib/Combinatorics/Additive/SmallTripling.lean +++ b/Mathlib/Combinatorics/Additive/SmallTripling.lean @@ -7,9 +7,10 @@ module public import Mathlib.Basic.Real.Basic public import Mathlib.Combinatorics.Additive.PluenneckeRuzsa +public import Mathlib.Tactic.Linarith + import Mathlib.Data.Fin.VecNotation import Mathlib.Tactic.FinCases -public import Mathlib.Tactic.Linarith /-! # Small tripling implies small powers diff --git a/Mathlib/Combinatorics/Additive/SubsetSum.lean b/Mathlib/Combinatorics/Additive/SubsetSum.lean index 1da241d10b6dc6..6ff49e9b72e0aa 100644 --- a/Mathlib/Combinatorics/Additive/SubsetSum.lean +++ b/Mathlib/Combinatorics/Additive/SubsetSum.lean @@ -9,10 +9,10 @@ public import Mathlib.Algebra.Group.Action.Defs public import Mathlib.Algebra.Group.Pointwise.Finset.Scalar public import Mathlib.Algebra.Order.Monoid.Defs public import Mathlib.Data.Finset.Powerset +public import Mathlib.Algebra.BigOperators.Group.Finset.Defs import Mathlib.Algebra.Order.Group.Nat import Mathlib.Algebra.Order.BigOperators.Group.Finset -public import Mathlib.Algebra.BigOperators.Group.Finset.Defs import Mathlib.Data.Finset.Max /-! diff --git a/Mathlib/Combinatorics/Additive/VerySmallDoubling.lean b/Mathlib/Combinatorics/Additive/VerySmallDoubling.lean index 92925e99941762..952c38ece0797f 100644 --- a/Mathlib/Combinatorics/Additive/VerySmallDoubling.lean +++ b/Mathlib/Combinatorics/Additive/VerySmallDoubling.lean @@ -5,9 +5,10 @@ Authors: Yaël Dillies, Patrick Luo, Bhavik Mehta -/ module -import Mathlib.Algebra.Pointwise.Stabilizer public import Mathlib.Combinatorics.Additive.Convolution public import Mathlib.NumberTheory.Real.GoldenRatio + +import Mathlib.Algebra.Pointwise.Stabilizer import Mathlib.Tactic.Positivity import Mathlib.Tactic.Qify diff --git a/Mathlib/Combinatorics/Colex.lean b/Mathlib/Combinatorics/Colex.lean index e3a10deb5211df..1b2edabd1b3945 100644 --- a/Mathlib/Combinatorics/Colex.lean +++ b/Mathlib/Combinatorics/Colex.lean @@ -8,9 +8,10 @@ module public import Mathlib.Algebra.Order.Ring.GeomSum public import Mathlib.Data.Finset.Slice public import Mathlib.Data.Nat.BitIndices -import Mathlib.Order.SupClosed public import Mathlib.Order.UpperLower.Closure +import Mathlib.Order.SupClosed + /-! # Colexicographic order diff --git a/Mathlib/Combinatorics/Compactness.lean b/Mathlib/Combinatorics/Compactness.lean index 1d173a7831f4f2..fc214f5b9bf6f0 100644 --- a/Mathlib/Combinatorics/Compactness.lean +++ b/Mathlib/Combinatorics/Compactness.lean @@ -5,12 +5,13 @@ Authors: Bhavik Mehta -/ module -import Mathlib.Topology.Compactness.Compact public import Mathlib.Basic.Finite.Defs -import Mathlib.Data.Finset.Attr public import Mathlib.Data.Finset.Defs public import Mathlib.Tactic.ToAdditive +import Mathlib.Topology.Compactness.Compact +import Mathlib.Data.Finset.Attr + /-! # Combinatorial compactness and the Rado selection lemma diff --git a/Mathlib/Combinatorics/Configuration.lean b/Mathlib/Combinatorics/Configuration.lean index 08a672d4a148f8..49cc40b2e30739 100644 --- a/Mathlib/Combinatorics/Configuration.lean +++ b/Mathlib/Combinatorics/Configuration.lean @@ -5,10 +5,11 @@ Authors: Thomas Browning -/ module -import Mathlib.Combinatorics.Hall.Basic public import Mathlib.LinearAlgebra.Matrix.Rank public import Mathlib.LinearAlgebra.Projectivization.Constructions +import Mathlib.Combinatorics.Hall.Basic + /-! # Configurations of Points and lines diff --git a/Mathlib/Combinatorics/Derangements/Basic.lean b/Mathlib/Combinatorics/Derangements/Basic.lean index 1089b4445712af..8ba6c5b42768b6 100644 --- a/Mathlib/Combinatorics/Derangements/Basic.lean +++ b/Mathlib/Combinatorics/Derangements/Basic.lean @@ -6,9 +6,10 @@ Authors: Henry Swanson module public import Mathlib.GroupTheory.Perm.Option -import Mathlib.Tactic.ApplyFun public import Mathlib.Dynamics.FixedPoints.Defs +import Mathlib.Tactic.ApplyFun + /-! # Derangements on types diff --git a/Mathlib/Combinatorics/Derangements/Exponential.lean b/Mathlib/Combinatorics/Derangements/Exponential.lean index c96cdc0b35ecba..762cb855469330 100644 --- a/Mathlib/Combinatorics/Derangements/Exponential.lean +++ b/Mathlib/Combinatorics/Derangements/Exponential.lean @@ -5,9 +5,10 @@ Authors: Henry Swanson, Patrick Massot -/ module -import Mathlib.Algebra.BigOperators.Field public import Mathlib.Analysis.SpecialFunctions.Exponential public import Mathlib.Combinatorics.Derangements.Finite + +import Mathlib.Algebra.BigOperators.Field import Mathlib.Data.Nat.Cast.Field /-! diff --git a/Mathlib/Combinatorics/Derangements/Finite.lean b/Mathlib/Combinatorics/Derangements/Finite.lean index 60bb8243bce5d5..f428098ae07561 100644 --- a/Mathlib/Combinatorics/Derangements/Finite.lean +++ b/Mathlib/Combinatorics/Derangements/Finite.lean @@ -5,8 +5,9 @@ Authors: Henry Swanson -/ module -import Mathlib.Algebra.BigOperators.Ring.Finset public import Mathlib.Combinatorics.Derangements.Basic + +import Mathlib.Algebra.BigOperators.Ring.Finset import Mathlib.Data.Fintype.BigOperators import Mathlib.Tactic.Ring diff --git a/Mathlib/Combinatorics/Enumerative/IncidenceAlgebra.lean b/Mathlib/Combinatorics/Enumerative/IncidenceAlgebra.lean index 7c3e148d99a25a..7f46a80025b52a 100644 --- a/Mathlib/Combinatorics/Enumerative/IncidenceAlgebra.lean +++ b/Mathlib/Combinatorics/Enumerative/IncidenceAlgebra.lean @@ -7,10 +7,11 @@ module public import Mathlib.Algebra.Algebra.Defs public import Mathlib.Algebra.BigOperators.Ring.Finset -import Mathlib.Algebra.Module.BigOperators public import Mathlib.Algebra.Module.Pi public import Mathlib.Algebra.Order.BigOperators.Group.LocallyFinite +import Mathlib.Algebra.Module.BigOperators + /-! # Incidence algebras diff --git a/Mathlib/Combinatorics/Enumerative/InclusionExclusion.lean b/Mathlib/Combinatorics/Enumerative/InclusionExclusion.lean index 2074001cad76cd..649561f1b94273 100644 --- a/Mathlib/Combinatorics/Enumerative/InclusionExclusion.lean +++ b/Mathlib/Combinatorics/Enumerative/InclusionExclusion.lean @@ -5,8 +5,9 @@ Authors: Yaël Dillies -/ module -import Mathlib.Algebra.BigOperators.Pi public import Mathlib.Algebra.BigOperators.Ring.Finset + +import Mathlib.Algebra.BigOperators.Pi import Mathlib.Algebra.Module.BigOperators /-! diff --git a/Mathlib/Combinatorics/Enumerative/Partition/Glaisher.lean b/Mathlib/Combinatorics/Enumerative/Partition/Glaisher.lean index 59a519eab2312a..d2be290696241c 100644 --- a/Mathlib/Combinatorics/Enumerative/Partition/Glaisher.lean +++ b/Mathlib/Combinatorics/Enumerative/Partition/Glaisher.lean @@ -6,6 +6,7 @@ Authors: Weiyi Wang module public import Mathlib.Combinatorics.Enumerative.Partition.GenFun + import Mathlib.RingTheory.PowerSeries.NoZeroDivisors /-! diff --git a/Mathlib/Combinatorics/Extremal/RuzsaSzemeredi.lean b/Mathlib/Combinatorics/Extremal/RuzsaSzemeredi.lean index e2588d8f68a274..8d867406d70332 100644 --- a/Mathlib/Combinatorics/Extremal/RuzsaSzemeredi.lean +++ b/Mathlib/Combinatorics/Extremal/RuzsaSzemeredi.lean @@ -7,6 +7,7 @@ module public import Mathlib.Combinatorics.Additive.AP.Three.Behrend public import Mathlib.Combinatorics.SimpleGraph.Triangle.Tripartite + import Mathlib.Tactic.Qify /-! diff --git a/Mathlib/Combinatorics/HalesJewett.lean b/Mathlib/Combinatorics/HalesJewett.lean index eda2d3861e3d07..9eaff25e3696e5 100644 --- a/Mathlib/Combinatorics/HalesJewett.lean +++ b/Mathlib/Combinatorics/HalesJewett.lean @@ -5,11 +5,12 @@ Authors: David Wärn -/ module +public import Mathlib.Data.Fintype.Sum + import Mathlib.Algebra.BigOperators.Group.Finset.Basic import Mathlib.Basic.Finite.Prod import Mathlib.Data.Fintype.Option import Mathlib.Data.Fintype.Shrink -public import Mathlib.Data.Fintype.Sum /-! # The Hales-Jewett theorem diff --git a/Mathlib/Combinatorics/Hall/Basic.lean b/Mathlib/Combinatorics/Hall/Basic.lean index 0ccddd188d0f48..a4260fea6a7f8f 100644 --- a/Mathlib/Combinatorics/Hall/Basic.lean +++ b/Mathlib/Combinatorics/Hall/Basic.lean @@ -6,6 +6,7 @@ Authors: Alena Gusakov, Bhavik Mehta, Kyle Miller module public import Mathlib.CategoryTheory.CofilteredSystem + import Mathlib.Combinatorics.Hall.Finite /-! diff --git a/Mathlib/Combinatorics/Hall/Finite.lean b/Mathlib/Combinatorics/Hall/Finite.lean index 57d584add32b5c..3246d2f4b06162 100644 --- a/Mathlib/Combinatorics/Hall/Finite.lean +++ b/Mathlib/Combinatorics/Hall/Finite.lean @@ -6,6 +6,7 @@ Authors: Alena Gusakov, Bhavik Mehta, Kyle Miller module public import Mathlib.Data.Fintype.Powerset + import Mathlib.Data.Set.Finite.Basic /-! diff --git a/Mathlib/Combinatorics/Hindman.lean b/Mathlib/Combinatorics/Hindman.lean index 4979185007215a..8991c2602faf47 100644 --- a/Mathlib/Combinatorics/Hindman.lean +++ b/Mathlib/Combinatorics/Hindman.lean @@ -6,10 +6,11 @@ Authors: David Wärn module public import Mathlib.Data.Stream.Init -import Mathlib.Topology.Algebra.Semigroup public import Mathlib.Topology.Compactification.StoneCech public import Mathlib.Algebra.BigOperators.Group.Finset.Basic +import Mathlib.Topology.Algebra.Semigroup + /-! # Hindman's theorem on finite sums diff --git a/Mathlib/Combinatorics/KatonaCircle.lean b/Mathlib/Combinatorics/KatonaCircle.lean index 5977c64a0900cc..cde3dbd50e7c5d 100644 --- a/Mathlib/Combinatorics/KatonaCircle.lean +++ b/Mathlib/Combinatorics/KatonaCircle.lean @@ -6,10 +6,11 @@ Authors: Ching-Tsun Chou, Chris Wong, Yaël Dillies module public import Mathlib.Data.Finset.Density -import Mathlib.Data.Fintype.Prod public import Mathlib.Data.Fintype.Perm public import Mathlib.Data.Nat.Choose.Cast +import Mathlib.Data.Fintype.Prod + /-! # The Katona circle method diff --git a/Mathlib/Combinatorics/Matroid/Basic.lean b/Mathlib/Combinatorics/Matroid/Basic.lean index 889de3e69b8e35..51ab1653837bd6 100644 --- a/Mathlib/Combinatorics/Matroid/Basic.lean +++ b/Mathlib/Combinatorics/Matroid/Basic.lean @@ -7,9 +7,10 @@ module public import Mathlib.Combinatorics.Matroid.Init public import Mathlib.Data.Set.Card -import Mathlib.Data.Set.Finite.Powerset public import Mathlib.Order.UpperLower.Closure +import Mathlib.Data.Set.Finite.Powerset + /-! # Matroids diff --git a/Mathlib/Combinatorics/Matroid/IndepAxioms.lean b/Mathlib/Combinatorics/Matroid/IndepAxioms.lean index d952ab657ff389..869570417b686c 100644 --- a/Mathlib/Combinatorics/Matroid/IndepAxioms.lean +++ b/Mathlib/Combinatorics/Matroid/IndepAxioms.lean @@ -7,6 +7,7 @@ module public import Mathlib.Combinatorics.Matroid.Basic public import Mathlib.Data.Set.Finite.Lattice + import Mathlib.Order.Interval.Finset.Nat /-! diff --git a/Mathlib/Combinatorics/Matroid/Init.lean b/Mathlib/Combinatorics/Matroid/Init.lean index 3368754fad4619..ca07422a73c283 100644 --- a/Mathlib/Combinatorics/Matroid/Init.lean +++ b/Mathlib/Combinatorics/Matroid/Init.lean @@ -5,9 +5,10 @@ Authors: Peter Nelson -/ module -import Mathlib.Init public import Aesop +import Mathlib.Init + /-! # Matroid Rule Set diff --git a/Mathlib/Combinatorics/Matroid/Minor/Contract.lean b/Mathlib/Combinatorics/Matroid/Minor/Contract.lean index 7cff5ed3f61a37..530c9bfede5bb3 100644 --- a/Mathlib/Combinatorics/Matroid/Minor/Contract.lean +++ b/Mathlib/Combinatorics/Matroid/Minor/Contract.lean @@ -6,6 +6,7 @@ Authors: Peter Nelson module public import Mathlib.Combinatorics.Matroid.Minor.Delete + import Mathlib.Tactic.TautoSet /-! diff --git a/Mathlib/Combinatorics/Matroid/Rank/Cardinal.lean b/Mathlib/Combinatorics/Matroid/Rank/Cardinal.lean index 207cfa241f66dc..e72a59915af3d4 100644 --- a/Mathlib/Combinatorics/Matroid/Rank/Cardinal.lean +++ b/Mathlib/Combinatorics/Matroid/Rank/Cardinal.lean @@ -6,6 +6,7 @@ Authors: Peter Nelson, Junyan Xu module public import Mathlib.Combinatorics.Matroid.Rank.ENat + import Mathlib.SetTheory.Cardinal.Arithmetic /-! diff --git a/Mathlib/Combinatorics/Matroid/Rank/ENat.lean b/Mathlib/Combinatorics/Matroid/Rank/ENat.lean index 3433da110b0885..560b482f08c2cc 100644 --- a/Mathlib/Combinatorics/Matroid/Rank/ENat.lean +++ b/Mathlib/Combinatorics/Matroid/Rank/ENat.lean @@ -8,6 +8,7 @@ module public import Mathlib.Combinatorics.Matroid.Rank.Finite public import Mathlib.Combinatorics.Matroid.Loop public import Mathlib.Data.ENat.Lattice + import Mathlib.Tactic.TautoSet /-! diff --git a/Mathlib/Combinatorics/Nullstellensatz.lean b/Mathlib/Combinatorics/Nullstellensatz.lean index 34f4215c508423..cb22ff89e7317b 100644 --- a/Mathlib/Combinatorics/Nullstellensatz.lean +++ b/Mathlib/Combinatorics/Nullstellensatz.lean @@ -5,9 +5,10 @@ Authors: Antoine Chambert-Loir -/ module -import Mathlib.RingTheory.MvPolynomial.Groebner public import Mathlib.RingTheory.MvPolynomial.MonomialOrder.DegLex +import Mathlib.RingTheory.MvPolynomial.Groebner + /-! # Alon's Combinatorial Nullstellensatz This is a formalization of Noga Alon's Combinatorial Nullstellensatz. It follows [Alon_1999]. diff --git a/Mathlib/Combinatorics/Pigeonhole.lean b/Mathlib/Combinatorics/Pigeonhole.lean index 3833f12473e195..f7a0bb7d6ed7bf 100644 --- a/Mathlib/Combinatorics/Pigeonhole.lean +++ b/Mathlib/Combinatorics/Pigeonhole.lean @@ -7,8 +7,8 @@ module public import Mathlib.Algebra.Module.BigOperators public import Mathlib.Data.Nat.ModEq -import Mathlib.Order.Preorder.Finite +import Mathlib.Order.Preorder.Finite import Mathlib.Combinatorics.Enumerative.DoubleCounting /-! diff --git a/Mathlib/Combinatorics/Quiver/Covering.lean b/Mathlib/Combinatorics/Quiver/Covering.lean index afa9f947e3d0de..8b6c57d5f2b3a4 100644 --- a/Mathlib/Combinatorics/Quiver/Covering.lean +++ b/Mathlib/Combinatorics/Quiver/Covering.lean @@ -5,11 +5,12 @@ Authors: Antoine Labelle, Rémi Bottinelli -/ module -import Mathlib.Combinatorics.Quiver.Cast public import Mathlib.Combinatorics.Quiver.Symmetric -import Mathlib.Data.Sum.Basic public import Mathlib.Logic.Equiv.Sum public import Mathlib.Tactic.Common + +import Mathlib.Combinatorics.Quiver.Cast +import Mathlib.Data.Sum.Basic import Mathlib.Tactic.Attr.Core /-! diff --git a/Mathlib/Combinatorics/Quiver/Path/Vertices.lean b/Mathlib/Combinatorics/Quiver/Path/Vertices.lean index 23ceaef142ace3..bc7ba82064cdd6 100644 --- a/Mathlib/Combinatorics/Quiver/Path/Vertices.lean +++ b/Mathlib/Combinatorics/Quiver/Path/Vertices.lean @@ -7,6 +7,7 @@ module public import Mathlib.Algebra.Order.Group.Nat public import Mathlib.Combinatorics.Quiver.Path + import Mathlib.Data.Set.Insert import Mathlib.Data.List.Basic import Mathlib.Algebra.NeZero diff --git a/Mathlib/Combinatorics/Schnirelmann.lean b/Mathlib/Combinatorics/Schnirelmann.lean index b128bfd1139778..0d0895fcd5e83c 100644 --- a/Mathlib/Combinatorics/Schnirelmann.lean +++ b/Mathlib/Combinatorics/Schnirelmann.lean @@ -9,8 +9,8 @@ public import Mathlib.Algebra.Order.Archimedean.Real.Basic public import Mathlib.Data.Nat.ModEq public import Mathlib.Data.Nat.Prime.Defs public import Mathlib.Order.Interval.Finset.Nat -import Mathlib.Order.ConditionallyCompleteLattice.Indexed +import Mathlib.Order.ConditionallyCompleteLattice.Indexed import Mathlib.Tactic.Rify /-! diff --git a/Mathlib/Combinatorics/SetFamily/AhlswedeZhang.lean b/Mathlib/Combinatorics/SetFamily/AhlswedeZhang.lean index ff2b4a598f4eea..2c8fa012c6a7a4 100644 --- a/Mathlib/Combinatorics/SetFamily/AhlswedeZhang.lean +++ b/Mathlib/Combinatorics/SetFamily/AhlswedeZhang.lean @@ -5,12 +5,13 @@ Authors: Yaël Dillies, Vladimir Ivanov -/ module +public import Mathlib.Data.Finset.Sups +public import Mathlib.Tactic.Positivity + import Mathlib.Algebra.BigOperators.Intervals import Mathlib.Algebra.BigOperators.Ring.Finset import Mathlib.Algebra.Order.BigOperators.Group.Finset -public import Mathlib.Data.Finset.Sups import Mathlib.Tactic.FieldSimp -public import Mathlib.Tactic.Positivity import Mathlib.Algebra.BigOperators.Group.Finset.Powerset /-! diff --git a/Mathlib/Combinatorics/SetFamily/DualVC.lean b/Mathlib/Combinatorics/SetFamily/DualVC.lean index a3e5f0600278ac..58c7f297d89961 100644 --- a/Mathlib/Combinatorics/SetFamily/DualVC.lean +++ b/Mathlib/Combinatorics/SetFamily/DualVC.lean @@ -6,6 +6,7 @@ Authors: Dhruv Gupta module public import Mathlib.Combinatorics.SetFamily.Shatter + import Mathlib.Data.Fintype.BigOperators /-! diff --git a/Mathlib/Combinatorics/SetFamily/FourFunctions.lean b/Mathlib/Combinatorics/SetFamily/FourFunctions.lean index b53fdda3f0c51a..6bbaa03a0bc1cd 100644 --- a/Mathlib/Combinatorics/SetFamily/FourFunctions.lean +++ b/Mathlib/Combinatorics/SetFamily/FourFunctions.lean @@ -5,15 +5,16 @@ Authors: Yaël Dillies -/ module +public import Mathlib.Data.Finset.Sups +public import Mathlib.Tactic.Ring + import Mathlib.Algebra.BigOperators.Group.Finset.Piecewise import Mathlib.Algebra.Order.BigOperators.Group.Finset import Mathlib.Algebra.Order.Pi -public import Mathlib.Data.Finset.Sups import Mathlib.Order.Birkhoff import Mathlib.Order.Booleanisation import Mathlib.Order.Sublattice import Mathlib.Tactic.Positivity.Basic -public import Mathlib.Tactic.Ring /-! # The four functions theorem and corollaries diff --git a/Mathlib/Combinatorics/SetFamily/LYM.lean b/Mathlib/Combinatorics/SetFamily/LYM.lean index aed8e1094bb2f9..c09aa1798b638d 100644 --- a/Mathlib/Combinatorics/SetFamily/LYM.lean +++ b/Mathlib/Combinatorics/SetFamily/LYM.lean @@ -5,11 +5,12 @@ Authors: Bhavik Mehta, Alena Gusakov, Yaël Dillies -/ module -import Mathlib.Algebra.Field.Basic public import Mathlib.Algebra.Field.Rat +public import Mathlib.Combinatorics.SetFamily.Shadow + +import Mathlib.Algebra.Field.Basic import Mathlib.Algebra.Order.Ring.NNRat import Mathlib.Combinatorics.Enumerative.DoubleCounting -public import Mathlib.Combinatorics.SetFamily.Shadow import Mathlib.Data.Nat.Cast.Order.Ring /-! diff --git a/Mathlib/Combinatorics/SimpleGraph/Clique.lean b/Mathlib/Combinatorics/SimpleGraph/Clique.lean index 9508275e92945a..fb36800a3c29d3 100644 --- a/Mathlib/Combinatorics/SimpleGraph/Clique.lean +++ b/Mathlib/Combinatorics/SimpleGraph/Clique.lean @@ -11,6 +11,7 @@ public import Mathlib.Combinatorics.SimpleGraph.Paths public import Mathlib.Data.Finset.Pairwise public import Mathlib.Data.Fintype.Pigeonhole public import Mathlib.Order.Lattice.Nat + import Mathlib.SetTheory.Cardinal.NatCard /-! diff --git a/Mathlib/Combinatorics/SimpleGraph/Connectivity/Finite.lean b/Mathlib/Combinatorics/SimpleGraph/Connectivity/Finite.lean index 33a8cbab56c912..ee52bb8de62c47 100644 --- a/Mathlib/Combinatorics/SimpleGraph/Connectivity/Finite.lean +++ b/Mathlib/Combinatorics/SimpleGraph/Connectivity/Finite.lean @@ -5,10 +5,11 @@ Authors: Kyle Miller -/ module -import Mathlib.Algebra.BigOperators.Ring.Nat public import Mathlib.Combinatorics.SimpleGraph.Connectivity.Connected public import Mathlib.Combinatorics.SimpleGraph.Walk.Counting +import Mathlib.Algebra.BigOperators.Ring.Nat + /-! # Counting walks of a given length diff --git a/Mathlib/Combinatorics/SimpleGraph/Ends/Defs.lean b/Mathlib/Combinatorics/SimpleGraph/Ends/Defs.lean index 8c3e2cdacad7b5..689aff2c03a897 100644 --- a/Mathlib/Combinatorics/SimpleGraph/Ends/Defs.lean +++ b/Mathlib/Combinatorics/SimpleGraph/Ends/Defs.lean @@ -5,10 +5,11 @@ Authors: Anand Rao, Rémi Bottinelli -/ module -import Mathlib.Basic.Finite.Set public import Mathlib.CategoryTheory.CofilteredSystem public import Mathlib.Combinatorics.SimpleGraph.Connectivity.Connected +import Mathlib.Basic.Finite.Set + /-! # Ends diff --git a/Mathlib/Combinatorics/SimpleGraph/Extremal/ErdosStoneSimonovits.lean b/Mathlib/Combinatorics/SimpleGraph/Extremal/ErdosStoneSimonovits.lean index 3d3324f6966a34..9e9187a7a5050e 100644 --- a/Mathlib/Combinatorics/SimpleGraph/Extremal/ErdosStoneSimonovits.lean +++ b/Mathlib/Combinatorics/SimpleGraph/Extremal/ErdosStoneSimonovits.lean @@ -5,11 +5,12 @@ Authors: Mitchell Horner -/ module -import Mathlib.Combinatorics.Pigeonhole -import Mathlib.Combinatorics.SimpleGraph.Bipartite public import Mathlib.Combinatorics.SimpleGraph.CompleteMultipartite public import Mathlib.Analysis.Real.Sqrt +import Mathlib.Combinatorics.Pigeonhole +import Mathlib.Combinatorics.SimpleGraph.Bipartite + /-! # The Erdős-Stone-Simonovits theorem diff --git a/Mathlib/Combinatorics/SimpleGraph/Extremal/TuranDensity.lean b/Mathlib/Combinatorics/SimpleGraph/Extremal/TuranDensity.lean index 621579bd249bfb..799adabafeac43 100644 --- a/Mathlib/Combinatorics/SimpleGraph/Extremal/TuranDensity.lean +++ b/Mathlib/Combinatorics/SimpleGraph/Extremal/TuranDensity.lean @@ -6,10 +6,10 @@ Authors: Mitchell Horner module public import Mathlib.Analysis.Asymptotics.AsymptoticEquivalent -import Mathlib.Combinatorics.Enumerative.DoubleCounting public import Mathlib.Combinatorics.SimpleGraph.Extremal.Basic -import Mathlib.Data.Nat.Choose.Cast +import Mathlib.Combinatorics.Enumerative.DoubleCounting +import Mathlib.Data.Nat.Choose.Cast import Mathlib.Tactic.Bound import Mathlib.Topology.Instances.Real.Lemmas diff --git a/Mathlib/Combinatorics/SimpleGraph/FiveWheelLike.lean b/Mathlib/Combinatorics/SimpleGraph/FiveWheelLike.lean index 128bc9c9028f49..b515b70ef0b8fa 100644 --- a/Mathlib/Combinatorics/SimpleGraph/FiveWheelLike.lean +++ b/Mathlib/Combinatorics/SimpleGraph/FiveWheelLike.lean @@ -6,6 +6,7 @@ Authors: John Talbot, Lian Bremner Tattersall module public import Mathlib.Combinatorics.SimpleGraph.CompleteMultipartite + import Mathlib.Tactic.Linarith /-! # Five-wheel like graphs diff --git a/Mathlib/Combinatorics/SimpleGraph/Hall.lean b/Mathlib/Combinatorics/SimpleGraph/Hall.lean index 7ebeb36108005a..6682539327bd22 100644 --- a/Mathlib/Combinatorics/SimpleGraph/Hall.lean +++ b/Mathlib/Combinatorics/SimpleGraph/Hall.lean @@ -5,10 +5,11 @@ Authors: Vlad Tsyrklevich -/ module -import Mathlib.Combinatorics.Hall.Basic public import Mathlib.Combinatorics.SimpleGraph.Bipartite public import Mathlib.Combinatorics.SimpleGraph.Matching +import Mathlib.Combinatorics.Hall.Basic + /-! # Hall's Marriage Theorem diff --git a/Mathlib/Combinatorics/SimpleGraph/Init.lean b/Mathlib/Combinatorics/SimpleGraph/Init.lean index c7d675d59dd310..4410712e96dfff 100644 --- a/Mathlib/Combinatorics/SimpleGraph/Init.lean +++ b/Mathlib/Combinatorics/SimpleGraph/Init.lean @@ -5,9 +5,10 @@ Authors: Jannis Limperg -/ module -import Mathlib.Init public import Aesop +import Mathlib.Init + /-! # SimpleGraph Rule Set diff --git a/Mathlib/Combinatorics/SimpleGraph/Matching.lean b/Mathlib/Combinatorics/SimpleGraph/Matching.lean index 8f95d9be7a8707..c92301933a3af9 100644 --- a/Mathlib/Combinatorics/SimpleGraph/Matching.lean +++ b/Mathlib/Combinatorics/SimpleGraph/Matching.lean @@ -8,6 +8,7 @@ module public import Mathlib.Combinatorics.SimpleGraph.Clique public import Mathlib.Combinatorics.SimpleGraph.Connectivity.Finite public import Mathlib.Combinatorics.SimpleGraph.Connectivity.Subgraph + import Mathlib.Combinatorics.SimpleGraph.DegreeSum import Mathlib.Data.Set.Card.Arithmetic import Mathlib.Data.Set.Functor diff --git a/Mathlib/Combinatorics/SimpleGraph/Regularity/Energy.lean b/Mathlib/Combinatorics/SimpleGraph/Regularity/Energy.lean index bb7b2f17b1718b..f594ef25dc7ca8 100644 --- a/Mathlib/Combinatorics/SimpleGraph/Regularity/Energy.lean +++ b/Mathlib/Combinatorics/SimpleGraph/Regularity/Energy.lean @@ -5,9 +5,10 @@ Authors: Yaël Dillies, Bhavik Mehta -/ module +public import Mathlib.Combinatorics.SimpleGraph.Density + import Mathlib.Algebra.Module.NatInt import Mathlib.Algebra.Order.BigOperators.Group.Finset -public import Mathlib.Combinatorics.SimpleGraph.Density import Mathlib.Data.Rat.BigOperators import Mathlib.Data.Rat.Cast.Lemmas diff --git a/Mathlib/Combinatorics/SimpleGraph/Regularity/Equitabilise.lean b/Mathlib/Combinatorics/SimpleGraph/Regularity/Equitabilise.lean index 5ef81d0ff301ec..80d5d2c2a44574 100644 --- a/Mathlib/Combinatorics/SimpleGraph/Regularity/Equitabilise.lean +++ b/Mathlib/Combinatorics/SimpleGraph/Regularity/Equitabilise.lean @@ -5,9 +5,10 @@ Authors: Yaël Dillies, Bhavik Mehta -/ module -import Mathlib.Algebra.Order.Ring.Canonical public import Mathlib.Order.Partition.Equipartition +import Mathlib.Algebra.Order.Ring.Canonical + /-! # Equitabilising a partition diff --git a/Mathlib/Combinatorics/SimpleGraph/Regularity/Uniform.lean b/Mathlib/Combinatorics/SimpleGraph/Regularity/Uniform.lean index a037bbdc20d3a2..e94fe3f79f202f 100644 --- a/Mathlib/Combinatorics/SimpleGraph/Regularity/Uniform.lean +++ b/Mathlib/Combinatorics/SimpleGraph/Regularity/Uniform.lean @@ -7,10 +7,11 @@ module public import Mathlib.Algebra.BigOperators.Ring.Finset public import Mathlib.Combinatorics.SimpleGraph.Density -import Mathlib.Data.Nat.Cast.Order.Field public import Mathlib.Order.Partition.Equipartition public import Mathlib.SetTheory.Cardinal.Order +import Mathlib.Data.Nat.Cast.Order.Field + /-! # Graph uniformity and uniform partitions diff --git a/Mathlib/Combinatorics/SimpleGraph/StronglyRegular.lean b/Mathlib/Combinatorics/SimpleGraph/StronglyRegular.lean index bf337e9425958b..1b78773abf3f5e 100644 --- a/Mathlib/Combinatorics/SimpleGraph/StronglyRegular.lean +++ b/Mathlib/Combinatorics/SimpleGraph/StronglyRegular.lean @@ -5,10 +5,11 @@ Authors: Alena Gusakov, Jeremy Tan -/ module -import Mathlib.Combinatorics.Enumerative.DoubleCounting public import Mathlib.Combinatorics.SimpleGraph.AdjMatrix public import Mathlib.Combinatorics.SimpleGraph.Diam +import Mathlib.Combinatorics.Enumerative.DoubleCounting + /-! # Strongly regular graphs diff --git a/Mathlib/Combinatorics/SimpleGraph/Triangle/Basic.lean b/Mathlib/Combinatorics/SimpleGraph/Triangle/Basic.lean index bdc7d13d85cbdb..f660b41f36c74f 100644 --- a/Mathlib/Combinatorics/SimpleGraph/Triangle/Basic.lean +++ b/Mathlib/Combinatorics/SimpleGraph/Triangle/Basic.lean @@ -5,11 +5,12 @@ Authors: Yaël Dillies, Bhavik Mehta -/ module -import Mathlib.Combinatorics.Enumerative.DoubleCounting public import Mathlib.Combinatorics.SimpleGraph.Clique -import Mathlib.Data.Nat.Choose.Bounds public import Mathlib.Tactic.Positivity +import Mathlib.Combinatorics.Enumerative.DoubleCounting +import Mathlib.Data.Nat.Choose.Bounds + /-! # Triangles in graphs diff --git a/Mathlib/Combinatorics/SimpleGraph/Triangle/Counting.lean b/Mathlib/Combinatorics/SimpleGraph/Triangle/Counting.lean index f506556e7f0fab..466ab0ac1f651c 100644 --- a/Mathlib/Combinatorics/SimpleGraph/Triangle/Counting.lean +++ b/Mathlib/Combinatorics/SimpleGraph/Triangle/Counting.lean @@ -8,6 +8,7 @@ module public import Mathlib.Basic.Real.Basic public import Mathlib.Combinatorics.SimpleGraph.Clique public import Mathlib.Combinatorics.SimpleGraph.Regularity.Uniform + import Mathlib.Tactic.Linarith /-! diff --git a/Mathlib/Combinatorics/SimpleGraph/Triangle/Removal.lean b/Mathlib/Combinatorics/SimpleGraph/Triangle/Removal.lean index 1fbd628230ab6d..bc724bac866afc 100644 --- a/Mathlib/Combinatorics/SimpleGraph/Triangle/Removal.lean +++ b/Mathlib/Combinatorics/SimpleGraph/Triangle/Removal.lean @@ -5,9 +5,10 @@ Authors: Yaël Dillies, Bhavik Mehta -/ module -import Mathlib.Combinatorics.SimpleGraph.DegreeSum public import Mathlib.Combinatorics.SimpleGraph.Regularity.Lemma public import Mathlib.Combinatorics.SimpleGraph.Triangle.Basic + +import Mathlib.Combinatorics.SimpleGraph.DegreeSum import Mathlib.Combinatorics.SimpleGraph.Triangle.Counting import Mathlib.Data.Finset.CastCard diff --git a/Mathlib/Combinatorics/SimpleGraph/Tutte.lean b/Mathlib/Combinatorics/SimpleGraph/Tutte.lean index a493fbe9b2791d..a60bd5b18e1289 100644 --- a/Mathlib/Combinatorics/SimpleGraph/Tutte.lean +++ b/Mathlib/Combinatorics/SimpleGraph/Tutte.lean @@ -5,9 +5,10 @@ Authors: Pim Otte -/ module -import Mathlib.Combinatorics.SimpleGraph.Metric public import Mathlib.Combinatorics.SimpleGraph.UniversalVerts +import Mathlib.Combinatorics.SimpleGraph.Metric + /-! # Tutte's theorem diff --git a/Mathlib/Combinatorics/SimpleGraph/VertexCover.lean b/Mathlib/Combinatorics/SimpleGraph/VertexCover.lean index c4f0e839cdee3b..0ef25269ad7b1c 100644 --- a/Mathlib/Combinatorics/SimpleGraph/VertexCover.lean +++ b/Mathlib/Combinatorics/SimpleGraph/VertexCover.lean @@ -7,8 +7,8 @@ module public import Mathlib.Combinatorics.SimpleGraph.Clique public import Mathlib.Data.ENat.Lattice -import Mathlib.SetTheory.Cardinal.NatCard +import Mathlib.SetTheory.Cardinal.NatCard import Mathlib.Tactic.ENatToNat /-! diff --git a/Mathlib/Combinatorics/SimpleGraph/Walk/Operations.lean b/Mathlib/Combinatorics/SimpleGraph/Walk/Operations.lean index bb1fa92a802397..c8a6202b5d3a06 100644 --- a/Mathlib/Combinatorics/SimpleGraph/Walk/Operations.lean +++ b/Mathlib/Combinatorics/SimpleGraph/Walk/Operations.lean @@ -6,6 +6,7 @@ Authors: Kyle Miller, Pim Otte, Daniel Weber, Rida Hamadani module public import Mathlib.Combinatorics.SimpleGraph.Walk.Traversal + import Mathlib.Data.List.Zip /-! diff --git a/Mathlib/Combinatorics/Young/YoungDiagram.lean b/Mathlib/Combinatorics/Young/YoungDiagram.lean index b00fc3923ea5a8..0a755c333342d4 100644 --- a/Mathlib/Combinatorics/Young/YoungDiagram.lean +++ b/Mathlib/Combinatorics/Young/YoungDiagram.lean @@ -5,11 +5,12 @@ Authors: Jake Levinson -/ module -import Mathlib.Algebra.BigOperators.Group.Finset.Basic public import Mathlib.Data.Finset.Preimage public import Mathlib.Data.Finset.Prod public import Mathlib.Order.UpperLower.Basic +import Mathlib.Algebra.BigOperators.Group.Finset.Basic + /-! # Young diagrams diff --git a/Mathlib/Computability/Ackermann.lean b/Mathlib/Computability/Ackermann.lean index 064f9df886b963..063052271af1ed 100644 --- a/Mathlib/Computability/Ackermann.lean +++ b/Mathlib/Computability/Ackermann.lean @@ -6,6 +6,7 @@ Authors: Violeta Hernández Palacios module public import Mathlib.Computability.PartrecCode + import Mathlib.Tactic.Ring import Mathlib.Tactic.NormNum diff --git a/Mathlib/Computability/AkraBazzi/AkraBazzi.lean b/Mathlib/Computability/AkraBazzi/AkraBazzi.lean index a8a37400da2920..c37127097b7744 100644 --- a/Mathlib/Computability/AkraBazzi/AkraBazzi.lean +++ b/Mathlib/Computability/AkraBazzi/AkraBazzi.lean @@ -6,6 +6,7 @@ Authors: Frédéric Dupuis module public import Mathlib.Computability.AkraBazzi.SumTransform + import Mathlib.Analysis.SpecialFunctions.Pow.Deriv /-! diff --git a/Mathlib/Computability/AkraBazzi/GrowsPolynomially.lean b/Mathlib/Computability/AkraBazzi/GrowsPolynomially.lean index 04ce63e7c1b1cd..1f796c5fcffc97 100644 --- a/Mathlib/Computability/AkraBazzi/GrowsPolynomially.lean +++ b/Mathlib/Computability/AkraBazzi/GrowsPolynomially.lean @@ -5,10 +5,11 @@ Authors: Frédéric Dupuis -/ module -import Mathlib.Algebra.Order.ToIntervalMod public import Mathlib.Analysis.Asymptotics.AsymptoticEquivalent -import Mathlib.Analysis.SpecialFunctions.Log.Base public import Mathlib.Analysis.SpecialFunctions.Pow.Real + +import Mathlib.Algebra.Order.ToIntervalMod +import Mathlib.Analysis.SpecialFunctions.Log.Base import Mathlib.Algebra.Order.Interval.Set.Group /-! diff --git a/Mathlib/Computability/AkraBazzi/SumTransform.lean b/Mathlib/Computability/AkraBazzi/SumTransform.lean index 0db32a6530c441..2ed828b18da960 100644 --- a/Mathlib/Computability/AkraBazzi/SumTransform.lean +++ b/Mathlib/Computability/AkraBazzi/SumTransform.lean @@ -6,10 +6,10 @@ Authors: Frédéric Dupuis module public import Mathlib.Computability.AkraBazzi.GrowsPolynomially -import Mathlib.Analysis.SpecialFunctions.Pow.Continuity +public import Mathlib.Analysis.Calculus.Deriv.Basic +import Mathlib.Analysis.SpecialFunctions.Pow.Continuity import Mathlib.Analysis.SpecialFunctions.Log.InvLog -public import Mathlib.Analysis.Calculus.Deriv.Basic import Mathlib.Tactic.Positivity /-! diff --git a/Mathlib/Computability/DFA.lean b/Mathlib/Computability/DFA.lean index e058274de069e2..06bcffa25d332a 100644 --- a/Mathlib/Computability/DFA.lean +++ b/Mathlib/Computability/DFA.lean @@ -5,11 +5,12 @@ Authors: Fox Thomson, Chris Wong, Rudy Peterson -/ module -import Mathlib.Basic.Countable.Small public import Mathlib.Computability.Language +public import Mathlib.Tactic.NormNum + +import Mathlib.Basic.Countable.Small import Mathlib.Data.Fintype.Pigeonhole import Mathlib.Data.Fintype.Prod -public import Mathlib.Tactic.NormNum /-! # Deterministic Finite Automata diff --git a/Mathlib/Computability/EpsilonNFA.lean b/Mathlib/Computability/EpsilonNFA.lean index bc3f7d3059281f..d22106ca370a39 100644 --- a/Mathlib/Computability/EpsilonNFA.lean +++ b/Mathlib/Computability/EpsilonNFA.lean @@ -6,6 +6,7 @@ Authors: Fox Thomson, Yaël Dillies, Anthony DeRossi module public import Mathlib.Computability.NFA + import Mathlib.Data.List.ReduceOption /-! diff --git a/Mathlib/Computability/MyhillNerode.lean b/Mathlib/Computability/MyhillNerode.lean index 7e69968af2daae..d1226288f751d8 100644 --- a/Mathlib/Computability/MyhillNerode.lean +++ b/Mathlib/Computability/MyhillNerode.lean @@ -6,6 +6,7 @@ Authors: Chris Wong module public import Mathlib.Computability.DFA + import Mathlib.Data.Set.Finite.Basic /-! diff --git a/Mathlib/Computability/RegularExpressions.lean b/Mathlib/Computability/RegularExpressions.lean index f050abfcc3d2e7..f0ad8e85e692ab 100644 --- a/Mathlib/Computability/RegularExpressions.lean +++ b/Mathlib/Computability/RegularExpressions.lean @@ -6,6 +6,7 @@ Authors: Fox Thomson module public import Mathlib.Computability.Language + import Mathlib.Tactic.AdaptationNote /-! diff --git a/Mathlib/Computability/StateTransition.lean b/Mathlib/Computability/StateTransition.lean index 7311b856046b22..20cd1956ef26b1 100644 --- a/Mathlib/Computability/StateTransition.lean +++ b/Mathlib/Computability/StateTransition.lean @@ -7,6 +7,7 @@ module public import Mathlib.Algebra.Order.Group.Nat public import Mathlib.Data.PFun + import Mathlib.Data.Finset.Attr import Mathlib.Tactic.Common import Mathlib.Tactic.SetLike diff --git a/Mathlib/Computability/TuringMachine/Tape.lean b/Mathlib/Computability/TuringMachine/Tape.lean index 09c5f0c4160a97..d5c1834012c729 100644 --- a/Mathlib/Computability/TuringMachine/Tape.lean +++ b/Mathlib/Computability/TuringMachine/Tape.lean @@ -7,10 +7,11 @@ module public import Mathlib.Tactic.ApplyFun public import Mathlib.Data.List.GetD -import Mathlib.Algebra.Group.Int.Defs public import Mathlib.Algebra.Group.Nat.Defs public import Mathlib.Data.List.Basic +import Mathlib.Algebra.Group.Int.Defs + /-! # Turing machine tapes diff --git a/Mathlib/Condensed/AB.lean b/Mathlib/Condensed/AB.lean index 6557981aca2256..b8e516934cfcb5 100644 --- a/Mathlib/Condensed/AB.lean +++ b/Mathlib/Condensed/AB.lean @@ -7,9 +7,10 @@ module public import Mathlib.Algebra.Category.ModuleCat.AB public import Mathlib.CategoryTheory.Abelian.GrothendieckAxioms.Sheaf -import Mathlib.CategoryTheory.Sites.Coherent.ExtensiveColimits public import Mathlib.Condensed.Equivalence public import Mathlib.Condensed.Limits + +import Mathlib.CategoryTheory.Sites.Coherent.ExtensiveColimits /-! # AB axioms in condensed modules diff --git a/Mathlib/Condensed/EffectiveEpi.lean b/Mathlib/Condensed/EffectiveEpi.lean index fb357cbf46f256..37438b83ea93cc 100644 --- a/Mathlib/Condensed/EffectiveEpi.lean +++ b/Mathlib/Condensed/EffectiveEpi.lean @@ -5,11 +5,12 @@ Authors: Jonas van der Schaaf, Dagur Asgeirsson -/ module -import Mathlib.CategoryTheory.Sites.RegularEpi -import Mathlib.Condensed.Epi public import Mathlib.Condensed.Functors public import Mathlib.Condensed.Limits -- shake: keep (compHausToCondensed.PreservesEffectiveEpis), cf. lean#13417 +import Mathlib.CategoryTheory.Sites.RegularEpi +import Mathlib.Condensed.Epi + /-! # The functor from compact Hausdorff spaces to condensed sets preserves effective epimorphisms diff --git a/Mathlib/Condensed/Epi.lean b/Mathlib/Condensed/Epi.lean index 6a615d963c9a9f..00454ec59db8b4 100644 --- a/Mathlib/Condensed/Epi.lean +++ b/Mathlib/Condensed/Epi.lean @@ -5,10 +5,11 @@ Authors: Dagur Asgeirsson -/ module -import Mathlib.CategoryTheory.Sites.Coherent.LocallySurjective public import Mathlib.CategoryTheory.Sites.EpiMono public import Mathlib.Condensed.Equivalence public import Mathlib.Condensed.Module + +import Mathlib.CategoryTheory.Sites.Coherent.LocallySurjective /-! # Epimorphisms of condensed objects diff --git a/Mathlib/Condensed/Functors.lean b/Mathlib/Condensed/Functors.lean index ff70f7546b8721..2e3b7d00eb4d62 100644 --- a/Mathlib/Condensed/Functors.lean +++ b/Mathlib/Condensed/Functors.lean @@ -5,9 +5,10 @@ Authors: Dagur Asgeirsson -/ module -import Mathlib.CategoryTheory.Sites.PreservesLimits public import Mathlib.Condensed.Explicit +import Mathlib.CategoryTheory.Sites.PreservesLimits + /-! # Functors from categories of topological spaces to condensed sets diff --git a/Mathlib/Condensed/Light/AB.lean b/Mathlib/Condensed/Light/AB.lean index d61b0c5de67c9c..b308764e2c3599 100644 --- a/Mathlib/Condensed/Light/AB.lean +++ b/Mathlib/Condensed/Light/AB.lean @@ -5,10 +5,11 @@ Authors: Dagur Asgeirsson -/ module -import Mathlib.Algebra.Category.ModuleCat.AB public import Mathlib.CategoryTheory.Abelian.GrothendieckAxioms.Sheaf public import Mathlib.Condensed.Light.Epi +import Mathlib.Algebra.Category.ModuleCat.AB + /-! # Grothendieck's AB axioms for light condensed modules diff --git a/Mathlib/Condensed/Light/EffectiveEpi.lean b/Mathlib/Condensed/Light/EffectiveEpi.lean index f9d82c81b717a2..22ee43e1b932e5 100644 --- a/Mathlib/Condensed/Light/EffectiveEpi.lean +++ b/Mathlib/Condensed/Light/EffectiveEpi.lean @@ -5,9 +5,10 @@ Authors: Jonas van der Schaaf, Dagur Asgeirsson -/ module -import Mathlib.CategoryTheory.Sites.RegularEpi public import Mathlib.Condensed.Light.Epi +import Mathlib.CategoryTheory.Sites.RegularEpi + /-! # The functor from light profinite sets to light condensed sets preserves effective epimorphisms diff --git a/Mathlib/Condensed/Light/Epi.lean b/Mathlib/Condensed/Light/Epi.lean index 0a24627ea95bc7..0fab51a156e99e 100644 --- a/Mathlib/Condensed/Light/Epi.lean +++ b/Mathlib/Condensed/Light/Epi.lean @@ -5,10 +5,11 @@ Authors: Dagur Asgeirsson -/ module -import Mathlib.CategoryTheory.Limits.Shapes.SequentialProduct -import Mathlib.CategoryTheory.Sites.Coherent.SequentialLimit public import Mathlib.Condensed.Light.Functors public import Mathlib.Condensed.Light.Limits + +import Mathlib.CategoryTheory.Limits.Shapes.SequentialProduct +import Mathlib.CategoryTheory.Sites.Coherent.SequentialLimit /-! # Epimorphisms of light condensed objects diff --git a/Mathlib/Control/Fold.lean b/Mathlib/Control/Fold.lean index d640aee67c7d20..e8d8dd5db23b2f 100644 --- a/Mathlib/Control/Fold.lean +++ b/Mathlib/Control/Fold.lean @@ -9,8 +9,9 @@ public import Mathlib.Algebra.FreeMonoid.Basic public import Mathlib.CategoryTheory.Category.KleisliCat public import Mathlib.CategoryTheory.Endomorphism public import Mathlib.CategoryTheory.Types.Basic -import Mathlib.Control.Traversable.Instances public import Mathlib.Control.Traversable.Lemmas + +import Mathlib.Control.Traversable.Instances import Mathlib.Tactic.AdaptationNote /-! diff --git a/Mathlib/Control/LawfulFix.lean b/Mathlib/Control/LawfulFix.lean index 3a26d51aa175ac..d87378cad0c8b3 100644 --- a/Mathlib/Control/LawfulFix.lean +++ b/Mathlib/Control/LawfulFix.lean @@ -5,10 +5,11 @@ Authors: Simon Hudon -/ module -import Mathlib.Data.Stream.Init public import Mathlib.Control.Fix public import Mathlib.Order.OmegaCompletePartialOrder +import Mathlib.Data.Stream.Init + /-! # Lawful fixed point operators diff --git a/Mathlib/Control/Monad/Cont.lean b/Mathlib/Control/Monad/Cont.lean index 1b9b9c07be659e..587efe7fb57fdd 100644 --- a/Mathlib/Control/Monad/Cont.lean +++ b/Mathlib/Control/Monad/Cont.lean @@ -5,10 +5,11 @@ Authors: Simon Hudon -/ module -import Mathlib.Control.Monad.Basic public import Mathlib.Control.Monad.Writer -import Mathlib.Control.Lawful public import Batteries.Tactic.Congr + +import Mathlib.Control.Monad.Basic +import Mathlib.Control.Lawful import Batteries.Lean.Except /-! diff --git a/Mathlib/Control/Traversable/Equiv.lean b/Mathlib/Control/Traversable/Equiv.lean index 811365dc60f0c8..f74ac502c18f49 100644 --- a/Mathlib/Control/Traversable/Equiv.lean +++ b/Mathlib/Control/Traversable/Equiv.lean @@ -7,6 +7,7 @@ module public import Mathlib.Control.Traversable.Lemmas public import Mathlib.Logic.Equiv.Defs + import Batteries.Tactic.SeqFocus diff --git a/Mathlib/Control/Traversable/Instances.lean b/Mathlib/Control/Traversable/Instances.lean index 9e157a2c454957..890cd0c418638d 100644 --- a/Mathlib/Control/Traversable/Instances.lean +++ b/Mathlib/Control/Traversable/Instances.lean @@ -5,10 +5,11 @@ Authors: Simon Hudon -/ module -import Mathlib.Control.Applicative public import Mathlib.Control.Traversable.Basic public import Mathlib.Data.List.Forall2 public import Mathlib.Data.Set.Functor + +import Mathlib.Control.Applicative import Mathlib.Data.List.Basic /-! diff --git a/Mathlib/Control/ULiftable.lean b/Mathlib/Control/ULiftable.lean index fff06340115d7e..e7414a6529f902 100644 --- a/Mathlib/Control/ULiftable.lean +++ b/Mathlib/Control/ULiftable.lean @@ -9,6 +9,7 @@ public import Mathlib.Control.Monad.Basic public import Mathlib.Control.Monad.Cont public import Mathlib.Logic.Equiv.Basic public import Mathlib.Logic.Equiv.Functor + import Mathlib.Control.Lawful /-! diff --git a/Mathlib/Data/Bool/Count.lean b/Mathlib/Data/Bool/Count.lean index 94812c047a2eef..1978a6df7bcecb 100644 --- a/Mathlib/Data/Bool/Count.lean +++ b/Mathlib/Data/Bool/Count.lean @@ -5,10 +5,11 @@ Authors: Yury Kudryashov -/ module -import Mathlib.Algebra.Order.Group.Nat -import Mathlib.Algebra.Order.Monoid.NatCast public import Mathlib.Data.List.Chain public import Mathlib.Algebra.Group.Nat.Even + +import Mathlib.Algebra.Order.Group.Nat +import Mathlib.Algebra.Order.Monoid.NatCast import Mathlib.Algebra.Ring.Nat /-! diff --git a/Mathlib/Data/DFinsupp/Interval.lean b/Mathlib/Data/DFinsupp/Interval.lean index f79ae4dbd87484..82d1caac6f6d1c 100644 --- a/Mathlib/Data/DFinsupp/Interval.lean +++ b/Mathlib/Data/DFinsupp/Interval.lean @@ -5,12 +5,13 @@ Authors: Yaël Dillies -/ module -import Mathlib.Data.Fintype.BigOperators public import Mathlib.Data.DFinsupp.BigOperators public import Mathlib.Data.DFinsupp.Order public import Mathlib.Order.Interval.Finset.Basic public import Mathlib.Algebra.Group.Pointwise.Finset.Basic +import Mathlib.Data.Fintype.BigOperators + /-! # Finite intervals of finitely supported functions diff --git a/Mathlib/Data/DFinsupp/Order.lean b/Mathlib/Data/DFinsupp/Order.lean index 07a2ffe19f3b33..8bf2c6bd428f48 100644 --- a/Mathlib/Data/DFinsupp/Order.lean +++ b/Mathlib/Data/DFinsupp/Order.lean @@ -6,10 +6,11 @@ Authors: Yaël Dillies module public import Mathlib.Algebra.Order.Module.Defs -import Mathlib.Algebra.Order.Pi public import Mathlib.Algebra.Order.Sub.Basic public import Mathlib.Data.DFinsupp.Module +import Mathlib.Algebra.Order.Pi + /-! # Pointwise order on finitely supported dependent functions diff --git a/Mathlib/Data/DFinsupp/Submonoid.lean b/Mathlib/Data/DFinsupp/Submonoid.lean index bddee793bca71a..4080d4b435eff8 100644 --- a/Mathlib/Data/DFinsupp/Submonoid.lean +++ b/Mathlib/Data/DFinsupp/Submonoid.lean @@ -5,11 +5,12 @@ Authors: Johannes Hölzl, Kenny Lau -/ module -import Mathlib.Algebra.Group.Submonoid.BigOperators public import Mathlib.Algebra.Group.Submonoid.Membership public import Mathlib.Data.DFinsupp.BigOperators public import Mathlib.Order.ConditionallyCompleteLattice.Basic +import Mathlib.Algebra.Group.Submonoid.BigOperators + /-! # `DFinsupp` and submonoids diff --git a/Mathlib/Data/DFinsupp/WellFounded.lean b/Mathlib/Data/DFinsupp/WellFounded.lean index 812201ebab5088..cd9586a90fe994 100644 --- a/Mathlib/Data/DFinsupp/WellFounded.lean +++ b/Mathlib/Data/DFinsupp/WellFounded.lean @@ -8,6 +8,7 @@ module public import Mathlib.Data.DFinsupp.Lex public import Mathlib.Order.GameAdd public import Mathlib.SetTheory.Cardinal.Order + import Mathlib.Tactic.AdaptationNote /-! diff --git a/Mathlib/Data/DList/Instances.lean b/Mathlib/Data/DList/Instances.lean index 67c7c8c2ae9abf..9697f40e499422 100644 --- a/Mathlib/Data/DList/Instances.lean +++ b/Mathlib/Data/DList/Instances.lean @@ -7,6 +7,7 @@ module public import Batteries.Data.DList.Lemmas public import Mathlib.Control.Traversable.Equiv + import Mathlib.Control.Traversable.Instances /-! diff --git a/Mathlib/Data/ENat/Basic.lean b/Mathlib/Data/ENat/Basic.lean index 1cf052d669dc46..63b26ce76fee99 100644 --- a/Mathlib/Data/ENat/Basic.lean +++ b/Mathlib/Data/ENat/Basic.lean @@ -8,8 +8,8 @@ module public import Mathlib.Algebra.Order.Sub.WithTop public import Mathlib.Data.ENat.Defs public import Mathlib.Order.Nat -import Mathlib.Tactic.Basify.Attr +import Mathlib.Tactic.Basify.Attr import Mathlib.Algebra.Order.Group.Nat /-! diff --git a/Mathlib/Data/ENat/BigOperators.lean b/Mathlib/Data/ENat/BigOperators.lean index 3d38fb11599936..a55ba497b974ec 100644 --- a/Mathlib/Data/ENat/BigOperators.lean +++ b/Mathlib/Data/ENat/BigOperators.lean @@ -5,11 +5,12 @@ Authors: Joachim Breitner, Yaël Dillies, Bhavik Mehta -/ module -import Mathlib.Algebra.BigOperators.Ring.Finset -import Mathlib.Algebra.BigOperators.WithTop public import Mathlib.Algebra.Order.BigOperators.Group.Finset public import Mathlib.Data.ENat.Lattice +import Mathlib.Algebra.BigOperators.Ring.Finset +import Mathlib.Algebra.BigOperators.WithTop + /-! # Sum of suprema in `ENat` -/ diff --git a/Mathlib/Data/ENat/Defs.lean b/Mathlib/Data/ENat/Defs.lean index b98888e677e27e..ab54a5ea5ddde0 100644 --- a/Mathlib/Data/ENat/Defs.lean +++ b/Mathlib/Data/ENat/Defs.lean @@ -7,6 +7,7 @@ module public import Mathlib.Data.Nat.Notation public import Mathlib.Order.TypeTags + import Mathlib.Tactic.Basify.Attr /-! # Definition and notation for extended natural numbers -/ diff --git a/Mathlib/Data/ENat/Monoid.lean b/Mathlib/Data/ENat/Monoid.lean index 71022c16b08b66..6086c1ef2710b0 100644 --- a/Mathlib/Data/ENat/Monoid.lean +++ b/Mathlib/Data/ENat/Monoid.lean @@ -8,8 +8,8 @@ module public import Mathlib.Algebra.Order.Ring.Nat public import Mathlib.Algebra.Order.Ring.WithTop public import Mathlib.Data.ENat.Basic -import Mathlib.Tactic.Basify.Attr +import Mathlib.Tactic.Basify.Attr import Mathlib.Algebra.Group.Nat.Units import Mathlib.Data.Nat.Cast.Order.Basic diff --git a/Mathlib/Data/EReal/Inv.lean b/Mathlib/Data/EReal/Inv.lean index aaee28b3af7c8d..cff0d489eb5332 100644 --- a/Mathlib/Data/EReal/Inv.lean +++ b/Mathlib/Data/EReal/Inv.lean @@ -5,11 +5,12 @@ Authors: Kevin Buzzard -/ module -import Mathlib.Basic.ENNReal.Inv public import Mathlib.Basic.Sign.Basic public import Mathlib.Data.EReal.Operations public import Mathlib.Data.Nat.Cast.Order.Field +import Mathlib.Basic.ENNReal.Inv + /-! # Absolute value, sign, inversion and division on extended real numbers diff --git a/Mathlib/Data/FP/Basic.lean b/Mathlib/Data/FP/Basic.lean index 629a54e6340fbd..889ed1533509d8 100644 --- a/Mathlib/Data/FP/Basic.lean +++ b/Mathlib/Data/FP/Basic.lean @@ -9,9 +9,10 @@ public import Mathlib.Data.Semiquot public import Mathlib.Data.Nat.Size public import Mathlib.Data.PNat.Defs public import Mathlib.Data.Rat.Init -import Mathlib.Algebra.Ring.Int.Defs public import Mathlib.Algebra.Order.Group.Unbundled.Basic +import Mathlib.Algebra.Ring.Int.Defs + /-! # Implementation of floating-point numbers (experimental). -/ diff --git a/Mathlib/Data/Fin/FlagRange.lean b/Mathlib/Data/Fin/FlagRange.lean index 9202d35e210e69..3d2de5062515cd 100644 --- a/Mathlib/Data/Fin/FlagRange.lean +++ b/Mathlib/Data/Fin/FlagRange.lean @@ -5,9 +5,10 @@ Authors: Yury Kudryashov -/ module -import Mathlib.Order.Fin.Basic public import Mathlib.Order.Preorder.Chain +import Mathlib.Order.Fin.Basic + /-! # Range of `f : Fin (n + 1) → α` as a `Flag` diff --git a/Mathlib/Data/Fin/Tuple/BubbleSortInduction.lean b/Mathlib/Data/Fin/Tuple/BubbleSortInduction.lean index 86d57c019e5b39..a281d05ea0b667 100644 --- a/Mathlib/Data/Fin/Tuple/BubbleSortInduction.lean +++ b/Mathlib/Data/Fin/Tuple/BubbleSortInduction.lean @@ -5,8 +5,9 @@ Authors: Michael Stoll -/ module -import Mathlib.Basic.Finite.Prod public import Mathlib.Data.Fin.Tuple.Sort + +import Mathlib.Basic.Finite.Prod import Mathlib.Order.PiLex /-! diff --git a/Mathlib/Data/Finite/Perm.lean b/Mathlib/Data/Finite/Perm.lean index c6ade9c40869a2..e723fc261cf7eb 100644 --- a/Mathlib/Data/Finite/Perm.lean +++ b/Mathlib/Data/Finite/Perm.lean @@ -5,9 +5,10 @@ Authors: Antoine Chambert-Loir -/ module -import Mathlib.Data.Fintype.Perm public import Mathlib.GroupTheory.SpecificGroups.Cyclic.Basic +import Mathlib.Data.Fintype.Perm + /-! # Properties of `Equiv.Perm` on `Finite` types Let `α` be a `Finite` type. diff --git a/Mathlib/Data/Finset/Attr.lean b/Mathlib/Data/Finset/Attr.lean index 6050f9a86386c2..c6972bed987148 100644 --- a/Mathlib/Data/Finset/Attr.lean +++ b/Mathlib/Data/Finset/Attr.lean @@ -5,8 +5,9 @@ Authors: Yaël Dillies -/ module -import Mathlib.Init public import Aesop.Frontend + +import Mathlib.Init import Aesop.Frontend.Basic /-! diff --git a/Mathlib/Data/Finset/Card.lean b/Mathlib/Data/Finset/Card.lean index 5f7e400758fcdb..6e51fa71c87cff 100644 --- a/Mathlib/Data/Finset/Card.lean +++ b/Mathlib/Data/Finset/Card.lean @@ -5,9 +5,10 @@ Authors: Leonardo de Moura, Jeremy Avigad -/ module -import Mathlib.Data.Finset.Basic public import Mathlib.Data.Finset.Image +import Mathlib.Data.Finset.Basic + /-! # Cardinality of a finite set diff --git a/Mathlib/Data/Finset/DenselyOrdered.lean b/Mathlib/Data/Finset/DenselyOrdered.lean index a71d4e6778b1d2..f610ced0dc1c9a 100644 --- a/Mathlib/Data/Finset/DenselyOrdered.lean +++ b/Mathlib/Data/Finset/DenselyOrdered.lean @@ -5,9 +5,10 @@ Authors: Kenny Lau -/ module -import Mathlib.Data.Finset.Max public import Mathlib.Data.Set.Finite.Basic +import Mathlib.Data.Finset.Max + /-! # Dense orders and finsets diff --git a/Mathlib/Data/Finset/Finsupp.lean b/Mathlib/Data/Finset/Finsupp.lean index 7d9b750aa65a21..70a9fd00606ea0 100644 --- a/Mathlib/Data/Finset/Finsupp.lean +++ b/Mathlib/Data/Finset/Finsupp.lean @@ -6,9 +6,10 @@ Authors: Yaël Dillies module public import Mathlib.Algebra.BigOperators.Finsupp.Basic -import Mathlib.Data.Fintype.BigOperators public import Mathlib.Algebra.Group.Pointwise.Finset.Basic +import Mathlib.Data.Fintype.BigOperators + /-! # Finitely supported product of finsets diff --git a/Mathlib/Data/Finset/Functor.lean b/Mathlib/Data/Finset/Functor.lean index ba4bad5c57b1fe..5cee8e3921ccb1 100644 --- a/Mathlib/Data/Finset/Functor.lean +++ b/Mathlib/Data/Finset/Functor.lean @@ -5,10 +5,11 @@ Authors: Yaël Dillies, Kim Morrison -/ module -import Mathlib.Data.Finset.Lattice.Union public import Mathlib.Data.Finset.NAry public import Mathlib.Data.Multiset.Functor +import Mathlib.Data.Finset.Lattice.Union + /-! # Functoriality of `Finset` diff --git a/Mathlib/Data/Finset/Interval.lean b/Mathlib/Data/Finset/Interval.lean index b6a8f5a8922d52..0d5565b18d6640 100644 --- a/Mathlib/Data/Finset/Interval.lean +++ b/Mathlib/Data/Finset/Interval.lean @@ -5,10 +5,11 @@ Authors: Yaël Dillies, Yury Kudryashov -/ module -import Mathlib.Data.Finset.Grade public import Mathlib.Data.Finset.Powerset public import Mathlib.Order.Interval.Finset.Basic +import Mathlib.Data.Finset.Grade + /-! # Intervals of finsets as finsets diff --git a/Mathlib/Data/Finset/NAry.lean b/Mathlib/Data/Finset/NAry.lean index 652d2ed59d090c..ed49da4b889a60 100644 --- a/Mathlib/Data/Finset/NAry.lean +++ b/Mathlib/Data/Finset/NAry.lean @@ -7,6 +7,7 @@ module public import Mathlib.Basic.Finite.Prod public import Mathlib.Data.Finset.Lattice.Prod + import Mathlib.Data.Set.Lattice.Image /-! diff --git a/Mathlib/Data/Finset/NoncommProd.lean b/Mathlib/Data/Finset/NoncommProd.lean index c0d702ac51be88..eecb4455671605 100644 --- a/Mathlib/Data/Finset/NoncommProd.lean +++ b/Mathlib/Data/Finset/NoncommProd.lean @@ -8,6 +8,7 @@ module public import Mathlib.Algebra.BigOperators.Group.Finset.Basic public import Mathlib.Algebra.Group.Commute.Hom public import Mathlib.Algebra.Group.Pi.Lemmas + import Mathlib.Data.Fintype.Basic /-! diff --git a/Mathlib/Data/Finset/Order.lean b/Mathlib/Data/Finset/Order.lean index 67aef3c86e4c5c..755a981b078f46 100644 --- a/Mathlib/Data/Finset/Order.lean +++ b/Mathlib/Data/Finset/Order.lean @@ -6,9 +6,10 @@ Authors: Mario Carneiro, Kenny Lau module public import Mathlib.Data.Finset.Defs -import Mathlib.Data.Multiset.ZeroCons public import Mathlib.Order.Directed +import Mathlib.Data.Multiset.ZeroCons + /-! # Finsets of ordered types -/ diff --git a/Mathlib/Data/Finset/PiInduction.lean b/Mathlib/Data/Finset/PiInduction.lean index 85e57dd70775dd..3af2972ebc4001 100644 --- a/Mathlib/Data/Finset/PiInduction.lean +++ b/Mathlib/Data/Finset/PiInduction.lean @@ -5,9 +5,10 @@ Authors: Yury Kudryashov -/ module +public import Mathlib.Data.Fintype.Basic + import Mathlib.Data.Finset.Max import Mathlib.Data.Finset.Sigma -public import Mathlib.Data.Fintype.Basic /-! # Induction principles for `∀ i, Finset (α i)` diff --git a/Mathlib/Data/Finset/Piecewise.lean b/Mathlib/Data/Finset/Piecewise.lean index 3ece73379a6071..d34cb807d019df 100644 --- a/Mathlib/Data/Finset/Piecewise.lean +++ b/Mathlib/Data/Finset/Piecewise.lean @@ -6,6 +6,7 @@ Authors: Sébastien Gouëzel module public import Mathlib.Data.Finset.BooleanAlgebra + import Mathlib.Data.Set.Piecewise import Mathlib.Order.Interval.Set.Basic diff --git a/Mathlib/Data/Finset/Sort.lean b/Mathlib/Data/Finset/Sort.lean index 668db6c3345479..d9b5dc2dd9bab8 100644 --- a/Mathlib/Data/Finset/Sort.lean +++ b/Mathlib/Data/Finset/Sort.lean @@ -7,10 +7,11 @@ module public import Mathlib.Data.Finset.Max public import Mathlib.Data.Fintype.EquivFin -import Mathlib.Data.List.Pairwise public import Mathlib.Data.Multiset.Sort public import Mathlib.Order.RelIso.Set +import Mathlib.Data.List.Pairwise + /-! # Construct a sorted list from a finset. -/ diff --git a/Mathlib/Data/Finsupp/BigOperators.lean b/Mathlib/Data/Finsupp/BigOperators.lean index 29f383cda44d97..5a2aeb36793a71 100644 --- a/Mathlib/Data/Finsupp/BigOperators.lean +++ b/Mathlib/Data/Finsupp/BigOperators.lean @@ -7,6 +7,7 @@ module public import Mathlib.Algebra.BigOperators.Group.Finset.Basic public import Mathlib.Algebra.Group.Finsupp + import Mathlib.Data.Finset.Pairwise /-! diff --git a/Mathlib/Data/Finsupp/Weight.lean b/Mathlib/Data/Finsupp/Weight.lean index d8120d50325ea2..4a9eaa7b3417d2 100644 --- a/Mathlib/Data/Finsupp/Weight.lean +++ b/Mathlib/Data/Finsupp/Weight.lean @@ -5,10 +5,10 @@ Authors: Antoine Chambert-Loir, María Inés de Frutos-Fernández -/ module -import Mathlib.Data.Finsupp.Antidiagonal public import Mathlib.Data.Finsupp.Order public import Mathlib.LinearAlgebra.Finsupp.LinearCombination +import Mathlib.Data.Finsupp.Antidiagonal import Mathlib.Algebra.Group.TypeTags.Pointwise /-! # weights of Finsupp functions diff --git a/Mathlib/Data/Fintype/CardEmbedding.lean b/Mathlib/Data/Fintype/CardEmbedding.lean index de5a7e7757c3ce..cf4ef88af9df2f 100644 --- a/Mathlib/Data/Fintype/CardEmbedding.lean +++ b/Mathlib/Data/Fintype/CardEmbedding.lean @@ -6,9 +6,10 @@ Authors: Eric Rodriguez module public import Mathlib.Data.Fintype.BigOperators -import Mathlib.Data.Set.Finite.Range public import Mathlib.Logic.Equiv.Embedding +import Mathlib.Data.Set.Finite.Range + /-! # Number of embeddings diff --git a/Mathlib/Data/Fintype/Perm.lean b/Mathlib/Data/Fintype/Perm.lean index 001f3850ac1ea5..8dd97b62faecbd 100644 --- a/Mathlib/Data/Fintype/Perm.lean +++ b/Mathlib/Data/Fintype/Perm.lean @@ -5,12 +5,13 @@ Authors: Mario Carneiro -/ module -import Mathlib.Algebra.BigOperators.Group.List.Defs public import Mathlib.Algebra.Group.End -import Mathlib.Algebra.Group.Nat.Defs public import Mathlib.Data.Fintype.EquivFin public import Mathlib.Data.Nat.Factorial.Basic +import Mathlib.Algebra.BigOperators.Group.List.Defs +import Mathlib.Algebra.Group.Nat.Defs + /-! # `Fintype` instances for `Equiv` and `Perm` diff --git a/Mathlib/Data/Fintype/Pigeonhole.lean b/Mathlib/Data/Fintype/Pigeonhole.lean index f595e162618ef1..9cfd1afd693ddb 100644 --- a/Mathlib/Data/Fintype/Pigeonhole.lean +++ b/Mathlib/Data/Fintype/Pigeonhole.lean @@ -5,9 +5,10 @@ Authors: Mario Carneiro -/ module -import Mathlib.Data.Finset.Union public import Mathlib.Data.Fintype.EquivFin +import Mathlib.Data.Finset.Union + /-! # Pigeonhole principles in finite types diff --git a/Mathlib/Data/Int/Basic.lean b/Mathlib/Data/Int/Basic.lean index ab754acd71f3f1..dc7ee5ef308817 100644 --- a/Mathlib/Data/Int/Basic.lean +++ b/Mathlib/Data/Int/Basic.lean @@ -6,12 +6,13 @@ Authors: Jeremy Avigad module public import Mathlib.Data.Int.Init -import Mathlib.Data.Nat.Basic public import Mathlib.Logic.Function.Basic public import Mathlib.Tactic.Conv public import Mathlib.Tactic.Convert public import Mathlib.Tactic.OfNat +import Mathlib.Data.Nat.Basic + /-! # Basic operations on the integers diff --git a/Mathlib/Data/Int/Bitwise.lean b/Mathlib/Data/Int/Bitwise.lean index 0d10d7268a1af3..c2dc6f08c7a26e 100644 --- a/Mathlib/Data/Int/Bitwise.lean +++ b/Mathlib/Data/Int/Bitwise.lean @@ -5,10 +5,11 @@ Authors: Jeremy Avigad -/ module -import Mathlib.Algebra.Ring.Int.Defs public import Mathlib.Data.Nat.Bitwise -import Mathlib.Data.Nat.Size public import Batteries.Data.Int + +import Mathlib.Algebra.Ring.Int.Defs +import Mathlib.Data.Nat.Size import all Init.Data.Nat.Bitwise.Basic -- for unfolding `Nat.bitwise` /-! diff --git a/Mathlib/Data/Int/Cast/Pi.lean b/Mathlib/Data/Int/Cast/Pi.lean index fbd5fef6f09fee..988e187e6e9b05 100644 --- a/Mathlib/Data/Int/Cast/Pi.lean +++ b/Mathlib/Data/Int/Cast/Pi.lean @@ -6,6 +6,7 @@ Authors: Mario Carneiro module public import Mathlib.Data.Int.Notation + import Mathlib.Tactic.Push.Attr /-! diff --git a/Mathlib/Data/Int/Init.lean b/Mathlib/Data/Int/Init.lean index 7df6ccdf14f907..230c1323948f4a 100644 --- a/Mathlib/Data/Int/Init.lean +++ b/Mathlib/Data/Int/Init.lean @@ -5,11 +5,12 @@ Authors: Jeremy Avigad -/ module -import Batteries.Logic public import Mathlib.Data.Int.Notation public import Mathlib.Data.Nat.Notation public import Mathlib.Tactic.DepRewrite +import Batteries.Logic + /-! # Basic operations on the integers diff --git a/Mathlib/Data/Int/ModEq.lean b/Mathlib/Data/Int/ModEq.lean index 0e0f7fd7e3305e..44a56c795ec306 100644 --- a/Mathlib/Data/Int/ModEq.lean +++ b/Mathlib/Data/Int/ModEq.lean @@ -6,6 +6,7 @@ Authors: Chris Hughes module public import Mathlib.Data.Nat.ModEq + import Mathlib.Data.Int.Cast.Lemmas /-! diff --git a/Mathlib/Data/Int/NatPrime.lean b/Mathlib/Data/Int/NatPrime.lean index 64e7c05105d676..dac1d91c750d05 100644 --- a/Mathlib/Data/Int/NatPrime.lean +++ b/Mathlib/Data/Int/NatPrime.lean @@ -6,6 +6,7 @@ Authors: Kevin Lacker, Bryan Gin-ge Chen module public import Mathlib.Data.Nat.Prime.Basic + import Mathlib.Data.Int.Basic /-! diff --git a/Mathlib/Data/Int/Order/Basic.lean b/Mathlib/Data/Int/Order/Basic.lean index ea0593b9eca61f..b7162620884e99 100644 --- a/Mathlib/Data/Int/Order/Basic.lean +++ b/Mathlib/Data/Int/Order/Basic.lean @@ -5,11 +5,12 @@ Authors: Jeremy Avigad -/ module -import Mathlib.Basic.Logic.Basic public import Mathlib.Data.Int.Notation public import Mathlib.Data.Nat.Notation public import Mathlib.Order.Defs.LinearOrder +import Mathlib.Basic.Logic.Basic + /-! # The order relation on the integers -/ diff --git a/Mathlib/Data/List/Chain.lean b/Mathlib/Data/List/Chain.lean index 40e57872cc081f..a302076d828611 100644 --- a/Mathlib/Data/List/Chain.lean +++ b/Mathlib/Data/List/Chain.lean @@ -8,9 +8,10 @@ module public import Mathlib.Data.List.Forall2 public import Mathlib.Data.List.Induction public import Mathlib.Data.List.Lex -import Mathlib.Data.List.Pairwise public import Mathlib.Logic.Function.Iterate +import Mathlib.Data.List.Pairwise + /-! # Relation chain diff --git a/Mathlib/Data/List/ChainOfFn.lean b/Mathlib/Data/List/ChainOfFn.lean index 419ea2dcf526ec..707e68d4c10a1c 100644 --- a/Mathlib/Data/List/ChainOfFn.lean +++ b/Mathlib/Data/List/ChainOfFn.lean @@ -7,6 +7,7 @@ module public import Batteries.Data.List.Lemmas public import Mathlib.Tactic.Common + import Mathlib.Tactic.Finiteness.Attr /-! diff --git a/Mathlib/Data/List/Count.lean b/Mathlib/Data/List/Count.lean index ce74f5c9a0b199..5e5d2013718cdc 100644 --- a/Mathlib/Data/List/Count.lean +++ b/Mathlib/Data/List/Count.lean @@ -5,9 +5,10 @@ Authors: Parikshit Khanna, Jeremy Avigad, Leonardo de Moura, Floris van Doorn, M -/ module -import Batteries.Data.List.Perm public import Mathlib.Tactic.Common public import Batteries.Data.List.Lemmas + +import Batteries.Data.List.Perm import Mathlib.Tactic.Attr.Core /-! diff --git a/Mathlib/Data/List/Cycle.lean b/Mathlib/Data/List/Cycle.lean index 3886f8eb0fb98d..0d2f03e4e4d7ce 100644 --- a/Mathlib/Data/List/Cycle.lean +++ b/Mathlib/Data/List/Cycle.lean @@ -7,6 +7,7 @@ module public import Mathlib.Data.Fintype.List public import Mathlib.Data.Fintype.OfMap + import Mathlib.Data.Fin.Basic /-! diff --git a/Mathlib/Data/List/Dedup.lean b/Mathlib/Data/List/Dedup.lean index 310577d979fc3e..1aafe55b3059b2 100644 --- a/Mathlib/Data/List/Dedup.lean +++ b/Mathlib/Data/List/Dedup.lean @@ -5,10 +5,11 @@ Authors: Mario Carneiro -/ module -import Mathlib.Data.List.Nodup public import Mathlib.Data.List.Lattice public import Batteries.Data.List.Pairwise +import Mathlib.Data.List.Nodup + /-! # Erasure of duplicates in a list diff --git a/Mathlib/Data/List/Destutter.lean b/Mathlib/Data/List/Destutter.lean index 7a3a6cb56897e8..e0c1f66261be98 100644 --- a/Mathlib/Data/List/Destutter.lean +++ b/Mathlib/Data/List/Destutter.lean @@ -6,6 +6,7 @@ Authors: Eric Rodriguez, Eric Wieser module public import Mathlib.Data.List.Chain + import Mathlib.Data.List.Dedup /-! diff --git a/Mathlib/Data/List/DropRight.lean b/Mathlib/Data/List/DropRight.lean index 7e9b8755000a03..2d75f28d66b953 100644 --- a/Mathlib/Data/List/DropRight.lean +++ b/Mathlib/Data/List/DropRight.lean @@ -5,9 +5,10 @@ Authors: Yakov Pechersky -/ module -import Mathlib.Data.List.Induction public import Mathlib.Data.List.TakeWhile +import Mathlib.Data.List.Induction + /-! # Dropping or taking from lists on the right diff --git a/Mathlib/Data/List/FinRange.lean b/Mathlib/Data/List/FinRange.lean index 05fbb9a60623b1..17785d424ae0ce 100644 --- a/Mathlib/Data/List/FinRange.lean +++ b/Mathlib/Data/List/FinRange.lean @@ -5,9 +5,10 @@ Authors: Mario Carneiro, Kenny Lau, Kim Morrison, Alex Keizer -/ module -import Mathlib.Data.List.Nodup public import Mathlib.Data.Fin.Tuple.Basic +import Mathlib.Data.List.Nodup + /-! # Lists of elements of `Fin n` diff --git a/Mathlib/Data/List/Find.lean b/Mathlib/Data/List/Find.lean index acb909c62beb83..9e9eabadb8e8e8 100644 --- a/Mathlib/Data/List/Find.lean +++ b/Mathlib/Data/List/Find.lean @@ -6,6 +6,7 @@ Authors: Eric Wieser module public import Mathlib.Data.Set.Subsingleton + import Batteries.Data.List.Lemmas /-! diff --git a/Mathlib/Data/List/Fold.lean b/Mathlib/Data/List/Fold.lean index b56d59e4cb5280..e008912c3f0415 100644 --- a/Mathlib/Data/List/Fold.lean +++ b/Mathlib/Data/List/Fold.lean @@ -5,9 +5,10 @@ Authors: Jeremy Tan -/ module -import Batteries.Tactic.Alias public import Mathlib.Logic.OpClass +import Batteries.Tactic.Alias + /-! # Bird–Wadler duality of list folds diff --git a/Mathlib/Data/List/GetD.lean b/Mathlib/Data/List/GetD.lean index af95779138b2e4..7e86f3e34ee150 100644 --- a/Mathlib/Data/List/GetD.lean +++ b/Mathlib/Data/List/GetD.lean @@ -6,9 +6,10 @@ Mario Carneiro -/ module -import Mathlib.Basic.Logic.Basic public import Mathlib.Data.List.Defs +import Mathlib.Basic.Logic.Basic + /-! # getD and getI This file provides theorems for working with the `getD` and `getI` functions. These are used to diff --git a/Mathlib/Data/List/Infix.lean b/Mathlib/Data/List/Infix.lean index bcf172e4ad8f21..a524959d1c9fe0 100644 --- a/Mathlib/Data/List/Infix.lean +++ b/Mathlib/Data/List/Infix.lean @@ -5,12 +5,13 @@ Authors: Mario Carneiro -/ module -import Mathlib.Data.List.TakeDrop public import Mathlib.Data.List.Induction public import Mathlib.Data.Nat.Basic public import Mathlib.Order.Basic public import Mathlib.Data.List.Basic +import Mathlib.Data.List.TakeDrop + /-! # Prefixes, suffixes, infixes diff --git a/Mathlib/Data/List/InsertIdx.lean b/Mathlib/Data/List/InsertIdx.lean index 28fd457e666ee9..f36e7f0c98a195 100644 --- a/Mathlib/Data/List/InsertIdx.lean +++ b/Mathlib/Data/List/InsertIdx.lean @@ -5,9 +5,10 @@ Authors: Parikshit Khanna, Jeremy Avigad, Leonardo de Moura, Floris van Doorn, M -/ module -import Mathlib.Tactic.Attr.Core public import Mathlib.Tactic.Common +import Mathlib.Tactic.Attr.Core + /-! # insertIdx diff --git a/Mathlib/Data/List/Intervals.lean b/Mathlib/Data/List/Intervals.lean index 3baa3d7ad25846..7225edbd08b76f 100644 --- a/Mathlib/Data/List/Intervals.lean +++ b/Mathlib/Data/List/Intervals.lean @@ -6,6 +6,7 @@ Authors: Kim Morrison module public import Mathlib.Data.List.Lattice + import Mathlib.Data.Bool.Basic import Mathlib.Order.Lattice diff --git a/Mathlib/Data/List/Lookmap.lean b/Mathlib/Data/List/Lookmap.lean index 5b480d81b944ec..bbc25488629880 100644 --- a/Mathlib/Data/List/Lookmap.lean +++ b/Mathlib/Data/List/Lookmap.lean @@ -6,6 +6,7 @@ Authors: Parikshit Khanna, Jeremy Avigad, Leonardo de Moura, Floris van Doorn, M module public import Batteries.Data.List.Basic + import Mathlib.Init /-! # `List.lookmap` -/ diff --git a/Mathlib/Data/List/Map2.lean b/Mathlib/Data/List/Map2.lean index c49562ef7042b0..3f2f8b4c1d4487 100644 --- a/Mathlib/Data/List/Map2.lean +++ b/Mathlib/Data/List/Map2.lean @@ -7,6 +7,7 @@ module public import Mathlib.Data.List.Defs public import Mathlib.Tactic.Common + import Mathlib.Tactic.Attr.Core /-! diff --git a/Mathlib/Data/List/MinMax.lean b/Mathlib/Data/List/MinMax.lean index 20a602977ffb0f..5e1b929e6e1892 100644 --- a/Mathlib/Data/List/MinMax.lean +++ b/Mathlib/Data/List/MinMax.lean @@ -6,10 +6,11 @@ Authors: Minchao Wu, Chris Hughes, Mantas Bakšys module public import Mathlib.Data.List.Basic +public import Mathlib.Order.WithBot + import Mathlib.Order.BoundedOrder.Lattice import Mathlib.Data.List.Induction import Mathlib.Order.MinMax -public import Mathlib.Order.WithBot /-! # Minimum and maximum of lists diff --git a/Mathlib/Data/List/ModifyLast.lean b/Mathlib/Data/List/ModifyLast.lean index df26430439b171..5af36f9e1c0501 100644 --- a/Mathlib/Data/List/ModifyLast.lean +++ b/Mathlib/Data/List/ModifyLast.lean @@ -6,6 +6,7 @@ Authors: Parikshit Khanna, Jeremy Avigad, Leonardo de Moura, Floris van Doorn, M module public import Batteries.Data.List.Basic + import Mathlib.Init /-! # `List.modifyLast` -/ diff --git a/Mathlib/Data/List/Monad.lean b/Mathlib/Data/List/Monad.lean index d0a8f052f85b8e..ea31f14a516d2f 100644 --- a/Mathlib/Data/List/Monad.lean +++ b/Mathlib/Data/List/Monad.lean @@ -5,8 +5,9 @@ Authors: Leonardo de Moura -/ module -import Mathlib.Init public import Batteries.Control.AlternativeMonad + +import Mathlib.Init /-! # Monad instances for `List` -/ diff --git a/Mathlib/Data/List/OffDiag.lean b/Mathlib/Data/List/OffDiag.lean index 59d9ea7e995ea7..55fa4468e284cf 100644 --- a/Mathlib/Data/List/OffDiag.lean +++ b/Mathlib/Data/List/OffDiag.lean @@ -5,11 +5,12 @@ Authors: Yury Kudryashov -/ module +public import Mathlib.Data.Nat.Notation + import Mathlib.Data.List.Count import Mathlib.Data.List.Enum import Mathlib.Data.List.Nodup import Mathlib.Data.List.Perm.Basic -public import Mathlib.Data.Nat.Notation /-! # Definition and basic properties of `List.offDiag` diff --git a/Mathlib/Data/List/PeriodicityLemma.lean b/Mathlib/Data/List/PeriodicityLemma.lean index 6eac34fe2bbe99..75735097341e56 100644 --- a/Mathlib/Data/List/PeriodicityLemma.lean +++ b/Mathlib/Data/List/PeriodicityLemma.lean @@ -5,9 +5,10 @@ Authors: Štěpán Holub -/ module -import Mathlib.Algebra.Order.Group.Nat public import Mathlib.Order.Lattice.Nat +import Mathlib.Algebra.Order.Group.Nat + /-! # Periods of words (Lists) This file defines the notion of a period of a word (list) and proves the Periodicity Lemma. diff --git a/Mathlib/Data/List/Perm/Lattice.lean b/Mathlib/Data/List/Perm/Lattice.lean index 94638d34ea6f19..af0cdc68c8a4de 100644 --- a/Mathlib/Data/List/Perm/Lattice.lean +++ b/Mathlib/Data/List/Perm/Lattice.lean @@ -5,9 +5,10 @@ Authors: Leonardo de Moura, Jeremy Avigad, Mario Carneiro -/ module -import Mathlib.Data.List.Forall2 public import Mathlib.Data.List.TakeDrop public import Mathlib.Data.List.Lattice + +import Mathlib.Data.List.Forall2 import Mathlib.Data.List.Nodup /-! diff --git a/Mathlib/Data/List/Permutation.lean b/Mathlib/Data/List/Permutation.lean index e0071bc914b418..24137a28e091fa 100644 --- a/Mathlib/Data/List/Permutation.lean +++ b/Mathlib/Data/List/Permutation.lean @@ -6,8 +6,9 @@ Authors: Parikshit Khanna, Jeremy Avigad, Leonardo de Moura, Floris van Doorn, M module public import Mathlib.Data.Nat.Factorial.Basic -import Mathlib.Data.List.Count public import Mathlib.Data.List.Duplicate + +import Mathlib.Data.List.Count import Mathlib.Data.List.InsertIdx import Mathlib.Data.List.Induction import Batteries.Data.List.Perm diff --git a/Mathlib/Data/List/ProdSigma.lean b/Mathlib/Data/List/ProdSigma.lean index 57adae6d7d21b5..76a20011afcf55 100644 --- a/Mathlib/Data/List/ProdSigma.lean +++ b/Mathlib/Data/List/ProdSigma.lean @@ -6,9 +6,10 @@ Authors: Leonardo de Moura, Mario Carneiro module public import Mathlib.Data.List.Defs -import Mathlib.Tactic.Attr.Core public import Mathlib.Tactic.Common +import Mathlib.Tactic.Attr.Core + /-! # Lists in product and sigma types diff --git a/Mathlib/Data/List/Rotate.lean b/Mathlib/Data/List/Rotate.lean index 22b1a00a5c4eef..7ae404e3f0f927 100644 --- a/Mathlib/Data/List/Rotate.lean +++ b/Mathlib/Data/List/Rotate.lean @@ -5,10 +5,11 @@ Authors: Chris Hughes, Yakov Pechersky -/ module -import Mathlib.Data.List.Nodup public import Mathlib.Data.List.Infix public import Mathlib.Data.Quot +import Mathlib.Data.List.Nodup + /-! # List rotation diff --git a/Mathlib/Data/List/Shortlex.lean b/Mathlib/Data/List/Shortlex.lean index e3d214ad7265a7..ff3e474136f1aa 100644 --- a/Mathlib/Data/List/Shortlex.lean +++ b/Mathlib/Data/List/Shortlex.lean @@ -5,9 +5,10 @@ Authors: Hannah Fechtner -/ module -import Mathlib.Data.List.Lex public import Mathlib.Tactic.NormNum +import Mathlib.Data.List.Lex + /-! # Shortlex ordering of lists. diff --git a/Mathlib/Data/List/Sigma.lean b/Mathlib/Data/List/Sigma.lean index 89d112484c5b43..7ec8715b95ffc4 100644 --- a/Mathlib/Data/List/Sigma.lean +++ b/Mathlib/Data/List/Sigma.lean @@ -5,12 +5,13 @@ Authors: Mario Carneiro, Sean Leather -/ module -import Mathlib.Data.List.Pairwise public import Mathlib.Data.List.Nodup public import Mathlib.Data.List.Lookmap public import Mathlib.Data.Sigma.Basic public import Mathlib.Data.Nat.Basic +import Mathlib.Data.List.Pairwise + /-! # Utilities for lists of sigmas diff --git a/Mathlib/Data/List/Sort.lean b/Mathlib/Data/List/Sort.lean index a332b0aaec491b..0dfd9edeae06b2 100644 --- a/Mathlib/Data/List/Sort.lean +++ b/Mathlib/Data/List/Sort.lean @@ -5,10 +5,11 @@ Authors: Jeremy Avigad, Wrenna Robson -/ module -import Batteries.Data.List.Perm public import Mathlib.Data.List.OfFn public import Mathlib.Data.List.Nodup +import Batteries.Data.List.Perm + /-! # Sorting algorithms on lists diff --git a/Mathlib/Data/List/SplitBy.lean b/Mathlib/Data/List/SplitBy.lean index 8f144ec1067686..e963ceb7099520 100644 --- a/Mathlib/Data/List/SplitBy.lean +++ b/Mathlib/Data/List/SplitBy.lean @@ -6,6 +6,7 @@ Authors: Violeta Hernández Palacios module public import Mathlib.Data.List.Chain + import Mathlib.Data.List.Flatten /-! diff --git a/Mathlib/Data/List/Sublists.lean b/Mathlib/Data/List/Sublists.lean index 846d86db00cbb5..fca784fdeb3337 100644 --- a/Mathlib/Data/List/Sublists.lean +++ b/Mathlib/Data/List/Sublists.lean @@ -6,10 +6,11 @@ Authors: Mario Carneiro module public import Mathlib.Data.Nat.Choose.Basic +public import Mathlib.Data.List.Nodup + import Mathlib.Data.List.Perm.Basic import Mathlib.Data.List.Lex import Mathlib.Data.List.Induction -public import Mathlib.Data.List.Nodup import Mathlib.Data.Prod.Basic import Mathlib.Tactic.Finiteness.Attr diff --git a/Mathlib/Data/List/TakeWhile.lean b/Mathlib/Data/List/TakeWhile.lean index a191cf4ef686cd..6766fd2d6b9550 100644 --- a/Mathlib/Data/List/TakeWhile.lean +++ b/Mathlib/Data/List/TakeWhile.lean @@ -6,6 +6,7 @@ Authors: Parikshit Khanna, Jeremy Avigad, Leonardo de Moura, Floris van Doorn, M module public import Mathlib.Order.Basic + import Mathlib.Data.Nat.Basic import Mathlib.Tactic.Set diff --git a/Mathlib/Data/List/Zip.lean b/Mathlib/Data/List/Zip.lean index a9f8e255d7cf48..9ffb72284e196d 100644 --- a/Mathlib/Data/List/Zip.lean +++ b/Mathlib/Data/List/Zip.lean @@ -5,11 +5,12 @@ Authors: Mario Carneiro, Kenny Lau -/ module -import Mathlib.Data.List.Forall2 -import Mathlib.Data.Nat.Basic public import Mathlib.Data.List.Basic public import Mathlib.Logic.OpClass +import Mathlib.Data.List.Forall2 +import Mathlib.Data.Nat.Basic + /-! # zip & unzip diff --git a/Mathlib/Data/Matrix/Mul.lean b/Mathlib/Data/Matrix/Mul.lean index fedd89f7f89a2b..52c3df803a66db 100644 --- a/Mathlib/Data/Matrix/Mul.lean +++ b/Mathlib/Data/Matrix/Mul.lean @@ -7,12 +7,13 @@ module public import Mathlib.Algebra.BigOperators.GroupWithZero.Action public import Mathlib.Algebra.BigOperators.Ring.Finset -import Mathlib.Algebra.Regular.Basic public import Mathlib.Algebra.Ring.Subsemiring.Defs public import Mathlib.Data.Fintype.BigOperators public import Mathlib.Data.Matrix.Diagonal public import Mathlib.Algebra.Order.BigOperators.Group.Finset +import Mathlib.Algebra.Regular.Basic + /-! # Matrix multiplication diff --git a/Mathlib/Data/Multiset/Interval.lean b/Mathlib/Data/Multiset/Interval.lean index 48c7abeb19da65..309ff7ee8108fb 100644 --- a/Mathlib/Data/Multiset/Interval.lean +++ b/Mathlib/Data/Multiset/Interval.lean @@ -8,6 +8,7 @@ module public import Mathlib.Data.DFinsupp.Interval public import Mathlib.Data.DFinsupp.Multiset public import Mathlib.Order.Lattice.Nat + import Mathlib.Algebra.Order.Group.Nat /-! diff --git a/Mathlib/Data/Multiset/Pairwise.lean b/Mathlib/Data/Multiset/Pairwise.lean index 382d48e261fb3a..0df5318ca78c90 100644 --- a/Mathlib/Data/Multiset/Pairwise.lean +++ b/Mathlib/Data/Multiset/Pairwise.lean @@ -5,9 +5,10 @@ Authors: Chris Hughes -/ module -import Mathlib.Data.List.Pairwise public import Mathlib.Data.Multiset.Defs +import Mathlib.Data.List.Pairwise + /-! # Pairwise relations on a multiset diff --git a/Mathlib/Data/NNRat/BigOperators.lean b/Mathlib/Data/NNRat/BigOperators.lean index 84a55b361b3c9d..0b3d2c21b71344 100644 --- a/Mathlib/Data/NNRat/BigOperators.lean +++ b/Mathlib/Data/NNRat/BigOperators.lean @@ -6,6 +6,7 @@ Authors: Yaël Dillies, Bhavik Mehta module public import Mathlib.Algebra.Order.BigOperators.GroupWithZero.Finset + import Mathlib.Algebra.Order.BigOperators.Group.Finset /-! # Casting lemmas for non-negative rational numbers involving sums and products diff --git a/Mathlib/Data/NNRat/Lemmas.lean b/Mathlib/Data/NNRat/Lemmas.lean index 6273767485005a..f99c3521e93dec 100644 --- a/Mathlib/Data/NNRat/Lemmas.lean +++ b/Mathlib/Data/NNRat/Lemmas.lean @@ -7,6 +7,7 @@ module public import Mathlib.Algebra.Group.Indicator public import Mathlib.Algebra.Order.Field.Rat + import Mathlib.Data.Rat.Lemmas import Mathlib.Tactic.Zify diff --git a/Mathlib/Data/Nat/BitIndices.lean b/Mathlib/Data/Nat/BitIndices.lean index 8531ea45e1bd15..8c595f93d699ca 100644 --- a/Mathlib/Data/Nat/BitIndices.lean +++ b/Mathlib/Data/Nat/BitIndices.lean @@ -5,11 +5,12 @@ Authors: Peter Nelson -/ module +public import Mathlib.Algebra.Ring.Nat +public import Mathlib.Data.List.Sort + import Mathlib.Algebra.BigOperators.Ring.List import Mathlib.Algebra.Order.Group.Nat import Mathlib.Algebra.Order.Sub.Basic -public import Mathlib.Algebra.Ring.Nat -public import Mathlib.Data.List.Sort /-! # Bit Indices diff --git a/Mathlib/Data/Nat/Bitwise.lean b/Mathlib/Data/Nat/Bitwise.lean index 331d56e3b7fe2e..1bb753a98208af 100644 --- a/Mathlib/Data/Nat/Bitwise.lean +++ b/Mathlib/Data/Nat/Bitwise.lean @@ -7,8 +7,9 @@ module public import Mathlib.Algebra.Ring.Parity public import Mathlib.Data.Bool.Basic -import Mathlib.Data.List.GetD public import Mathlib.Data.Nat.Bits + +import Mathlib.Data.List.GetD import Mathlib.Order.Basic import Mathlib.Tactic.AdaptationNote import Batteries.Data.Nat.Bitwise diff --git a/Mathlib/Data/Nat/Cast/Field.lean b/Mathlib/Data/Nat/Cast/Field.lean index 8f6e6da07020d7..1b080c7c0bfc94 100644 --- a/Mathlib/Data/Nat/Cast/Field.lean +++ b/Mathlib/Data/Nat/Cast/Field.lean @@ -7,6 +7,7 @@ module public import Mathlib.Data.Nat.Cast.Basic public import Mathlib.Algebra.Field.Defs + import Mathlib.Algebra.GroupWithZero.Units.Basic /-! diff --git a/Mathlib/Data/Nat/Cast/SetInterval.lean b/Mathlib/Data/Nat/Cast/SetInterval.lean index cb4554bf1d19a7..81648d91a00a4b 100644 --- a/Mathlib/Data/Nat/Cast/SetInterval.lean +++ b/Mathlib/Data/Nat/Cast/SetInterval.lean @@ -5,11 +5,12 @@ Authors: Yury Kudryashov -/ module -import Mathlib.Algebra.Ring.Int.Defs public import Mathlib.Data.Nat.Cast.Order.Basic +public import Mathlib.Order.UpperLower.Basic + +import Mathlib.Algebra.Ring.Int.Defs import Mathlib.Order.Interval.Set.OrdConnected import Mathlib.Order.Nat -public import Mathlib.Order.UpperLower.Basic /-! # Images of intervals under `Nat.cast : ℕ → ℤ` diff --git a/Mathlib/Data/Nat/Choose/Cast.lean b/Mathlib/Data/Nat/Choose/Cast.lean index d0d959037c38d6..4242b5261dfbc6 100644 --- a/Mathlib/Data/Nat/Choose/Cast.lean +++ b/Mathlib/Data/Nat/Choose/Cast.lean @@ -6,10 +6,11 @@ Authors: Yaël Dillies module public import Mathlib.Algebra.Field.Defs -import Mathlib.Algebra.GroupWithZero.Units.Basic public import Mathlib.Data.Nat.Choose.Basic public import Mathlib.Data.Nat.Factorial.Cast +import Mathlib.Algebra.GroupWithZero.Units.Basic + /-! # Cast of binomial coefficients diff --git a/Mathlib/Data/Nat/Choose/Central.lean b/Mathlib/Data/Nat/Choose/Central.lean index b2fdfd092aed02..7d869cb40a9673 100644 --- a/Mathlib/Data/Nat/Choose/Central.lean +++ b/Mathlib/Data/Nat/Choose/Central.lean @@ -6,10 +6,11 @@ Authors: Patrick Stevens, Thomas Browning module public import Mathlib.Data.Nat.Choose.Bounds -import Mathlib.Data.Nat.GCD.Basic public import Mathlib.Tactic.Ring public import Mathlib.Tactic.Linarith +import Mathlib.Data.Nat.GCD.Basic + /-! # Central binomial coefficients diff --git a/Mathlib/Data/Nat/Choose/Lucas.lean b/Mathlib/Data/Nat/Choose/Lucas.lean index d7e821c02f645c..2974bb8855e001 100644 --- a/Mathlib/Data/Nat/Choose/Lucas.lean +++ b/Mathlib/Data/Nat/Choose/Lucas.lean @@ -7,6 +7,7 @@ module public import Mathlib.Algebra.CharP.Lemmas public import Mathlib.Data.ZMod.Basic + import Mathlib.RingTheory.Polynomial.Basic /-! diff --git a/Mathlib/Data/Nat/Count.lean b/Mathlib/Data/Nat/Count.lean index 841f72772eb596..4fc8aaf5b2a492 100644 --- a/Mathlib/Data/Nat/Count.lean +++ b/Mathlib/Data/Nat/Count.lean @@ -6,6 +6,7 @@ Authors: Yaël Dillies, Vladimir Goryachev, Kyle Miller, Kim Morrison, Eric Rodr module public import Mathlib.Data.Set.Finite.Basic + import Mathlib.Algebra.Group.Nat.Defs /-! diff --git a/Mathlib/Data/Nat/Digits/Defs.lean b/Mathlib/Data/Nat/Digits/Defs.lean index f3f8c0b281cda2..cb28094625463f 100644 --- a/Mathlib/Data/Nat/Digits/Defs.lean +++ b/Mathlib/Data/Nat/Digits/Defs.lean @@ -7,6 +7,7 @@ module public import Mathlib.Tactic.Ring public import Mathlib.Tactic.Linarith + import all Init.Data.Repr -- for exposing `toDigitsCore` /-! diff --git a/Mathlib/Data/Nat/Dist.lean b/Mathlib/Data/Nat/Dist.lean index 4c108adc710282..642871a271b0a1 100644 --- a/Mathlib/Data/Nat/Dist.lean +++ b/Mathlib/Data/Nat/Dist.lean @@ -5,9 +5,10 @@ Authors: Floris van Doorn, Jeremy Avigad -/ module -import Mathlib.Algebra.Order.Group.Nat public import Mathlib.Algebra.Order.Ring.Canonical +import Mathlib.Algebra.Order.Group.Nat + /-! # Distance function on ℕ diff --git a/Mathlib/Data/Nat/Factorial/BigOperators.lean b/Mathlib/Data/Nat/Factorial/BigOperators.lean index 1a735cf37488aa..8126a690ab4351 100644 --- a/Mathlib/Data/Nat/Factorial/BigOperators.lean +++ b/Mathlib/Data/Nat/Factorial/BigOperators.lean @@ -7,8 +7,8 @@ module public import Mathlib.Algebra.Order.BigOperators.Ring.Finset public import Mathlib.Data.Nat.Prime.Defs -import Mathlib.Tactic.Zify +import Mathlib.Tactic.Zify import Mathlib.Algebra.BigOperators.Associated /-! diff --git a/Mathlib/Data/Nat/Factorization/Basic.lean b/Mathlib/Data/Nat/Factorization/Basic.lean index 71dea5159086c3..a86b1c208e0ac4 100644 --- a/Mathlib/Data/Nat/Factorization/Basic.lean +++ b/Mathlib/Data/Nat/Factorization/Basic.lean @@ -5,10 +5,11 @@ Authors: Stuart Presnell -/ module -import Mathlib.Algebra.Order.Interval.Finset.SuccPred public import Mathlib.Data.Nat.Factorization.Defs public import Mathlib.Order.Interval.Finset.Nat +import Mathlib.Algebra.Order.Interval.Finset.SuccPred + /-! # Basic lemmas on prime factorizations -/ diff --git a/Mathlib/Data/Nat/Factorization/Defs.lean b/Mathlib/Data/Nat/Factorization/Defs.lean index eafd1249b7dbf3..96ec221c904486 100644 --- a/Mathlib/Data/Nat/Factorization/Defs.lean +++ b/Mathlib/Data/Nat/Factorization/Defs.lean @@ -5,12 +5,13 @@ Authors: Stuart Presnell -/ module -import Batteries.Data.List.Count public import Mathlib.Data.Finsupp.Multiset public import Mathlib.Data.Finsupp.Order public import Mathlib.Data.Nat.PrimeFin public import Mathlib.NumberTheory.Padics.PadicVal.Defs +import Batteries.Data.List.Count + /-! # Prime factorizations diff --git a/Mathlib/Data/Nat/Factorization/LCM.lean b/Mathlib/Data/Nat/Factorization/LCM.lean index 80544de7b88b24..7e01c7aec3f455 100644 --- a/Mathlib/Data/Nat/Factorization/LCM.lean +++ b/Mathlib/Data/Nat/Factorization/LCM.lean @@ -6,6 +6,7 @@ Authors: Paul Lezeau module public import Mathlib.Data.Nat.Factorization.Basic + import Mathlib.Data.Nat.GCD.BigOperators /-! diff --git a/Mathlib/Data/Nat/Find.lean b/Mathlib/Data/Nat/Find.lean index 1d936e86d3f4aa..7684bae55031b4 100644 --- a/Mathlib/Data/Nat/Find.lean +++ b/Mathlib/Data/Nat/Find.lean @@ -6,6 +6,7 @@ Authors: Leonardo de Moura, Johannes Hölzl, Mario Carneiro module public import Mathlib.Data.Nat.Basic + import Mathlib.Tactic.Push /-! diff --git a/Mathlib/Data/Nat/GCD/Prime.lean b/Mathlib/Data/Nat/GCD/Prime.lean index 59eb1f62ad5446..6d5a9396531518 100644 --- a/Mathlib/Data/Nat/GCD/Prime.lean +++ b/Mathlib/Data/Nat/GCD/Prime.lean @@ -5,9 +5,10 @@ Authors: Yongshun Ye -/ module -import Mathlib.Data.Nat.GCD.Basic public import Mathlib.Data.Nat.Prime.Defs +import Mathlib.Data.Nat.GCD.Basic + /-! # Lemmas related to `Nat.Prime` and `lcm` diff --git a/Mathlib/Data/Nat/ModEq.lean b/Mathlib/Data/Nat/ModEq.lean index cdc9fae389996e..d777103b17cea7 100644 --- a/Mathlib/Data/Nat/ModEq.lean +++ b/Mathlib/Data/Nat/ModEq.lean @@ -9,9 +9,10 @@ public import Mathlib.Algebra.Order.Group.Unbundled.Int public import Mathlib.Algebra.Group.ModEq public import Mathlib.Data.Int.GCD public import Mathlib.Data.Nat.GCD.Basic -import Mathlib.Data.Nat.Cast.Basic public import Mathlib.Algebra.CharZero.Defs +import Mathlib.Data.Nat.Cast.Basic + /-! # Congruences modulo a natural number diff --git a/Mathlib/Data/Nat/Order/Lemmas.lean b/Mathlib/Data/Nat/Order/Lemmas.lean index 040c0f51960b0d..e241bb47844298 100644 --- a/Mathlib/Data/Nat/Order/Lemmas.lean +++ b/Mathlib/Data/Nat/Order/Lemmas.lean @@ -7,6 +7,7 @@ module public import Mathlib.Data.Nat.Find public import Mathlib.Data.Set.Basic + import Mathlib.Tactic.ByContra /-! diff --git a/Mathlib/Data/Nat/PSub.lean b/Mathlib/Data/Nat/PSub.lean index 9601cf64247f1f..d5c1f4ba5e549a 100644 --- a/Mathlib/Data/Nat/PSub.lean +++ b/Mathlib/Data/Nat/PSub.lean @@ -6,9 +6,10 @@ Authors: Mario Carneiro module public import Mathlib.Algebra.Group.Basic -import Mathlib.Algebra.Group.Nat.Defs public import Mathlib.Data.Nat.Basic +import Mathlib.Algebra.Group.Nat.Defs + /-! # Partial predecessor and partial subtraction on the natural numbers diff --git a/Mathlib/Data/Nat/Prime/Infinite.lean b/Mathlib/Data/Nat/Prime/Infinite.lean index 8ace742c8ade73..877ab69ecdc566 100644 --- a/Mathlib/Data/Nat/Prime/Infinite.lean +++ b/Mathlib/Data/Nat/Prime/Infinite.lean @@ -5,10 +5,11 @@ Authors: Leonardo de Moura, Jeremy Avigad, Mario Carneiro -/ module -import Mathlib.Data.Nat.Factorial.Basic public import Mathlib.Data.Nat.Prime.Defs public import Mathlib.Order.Bounds.Basic +import Mathlib.Data.Nat.Factorial.Basic + /-! # Infinitude of the primes diff --git a/Mathlib/Data/Nat/Prime/Int.lean b/Mathlib/Data/Nat/Prime/Int.lean index b676104eb0c0b6..1d7593c66ec493 100644 --- a/Mathlib/Data/Nat/Prime/Int.lean +++ b/Mathlib/Data/Nat/Prime/Int.lean @@ -7,6 +7,7 @@ module public import Mathlib.Algebra.Ring.Int.Defs public import Mathlib.Data.Nat.Prime.Basic + import Mathlib.Algebra.Group.Int.Units /-! diff --git a/Mathlib/Data/Nat/Upto.lean b/Mathlib/Data/Nat/Upto.lean index e8bce78ae19c70..3f1f3b5dcfd7df 100644 --- a/Mathlib/Data/Nat/Upto.lean +++ b/Mathlib/Data/Nat/Upto.lean @@ -5,9 +5,10 @@ Authors: Simon Hudon -/ module -import Mathlib.Algebra.Order.Group.Nat public import Mathlib.Algebra.Order.Sub.Basic +import Mathlib.Algebra.Order.Group.Nat + /-! # `Nat.Upto` diff --git a/Mathlib/Data/Nat/WithBot.lean b/Mathlib/Data/Nat/WithBot.lean index a6bd57b2c87b10..bec8bd692b5cfb 100644 --- a/Mathlib/Data/Nat/WithBot.lean +++ b/Mathlib/Data/Nat/WithBot.lean @@ -6,9 +6,10 @@ Authors: Chris Hughes module public import Mathlib.Data.Nat.Cast.WithTop -import Mathlib.Order.Nat public import Mathlib.Algebra.Ring.Nat +import Mathlib.Order.Nat + /-! # `WithBot ℕ` diff --git a/Mathlib/Data/Num/Lemmas.lean b/Mathlib/Data/Num/Lemmas.lean index 9ed479f7cf793d..af85532bea3fc1 100644 --- a/Mathlib/Data/Num/Lemmas.lean +++ b/Mathlib/Data/Num/Lemmas.lean @@ -7,11 +7,12 @@ module public import Mathlib.Algebra.Order.Ring.Nat public import Mathlib.Algebra.Ring.Int.Defs -import Mathlib.Data.Nat.Bitwise -import Mathlib.Data.Nat.Cast.Order.Basic public import Mathlib.Data.Nat.PSub public import Mathlib.Data.Nat.Size public import Mathlib.Data.Num.Bitwise + +import Mathlib.Data.Nat.Bitwise +import Mathlib.Data.Nat.Cast.Order.Basic import all Init.Data.Nat.Bitwise.Basic -- for unfolding `bitwise` /-! diff --git a/Mathlib/Data/Num/ZNum.lean b/Mathlib/Data/Num/ZNum.lean index ddcc5a5be47ed4..35b56079cf3ec3 100644 --- a/Mathlib/Data/Num/ZNum.lean +++ b/Mathlib/Data/Num/ZNum.lean @@ -6,9 +6,10 @@ Authors: Mario Carneiro module public import Mathlib.Algebra.Order.Ring.Cast -import Mathlib.Data.Int.Cast.Lemmas public import Mathlib.Data.Num.Lemmas +import Mathlib.Data.Int.Cast.Lemmas + /-! # Properties of the `ZNum` representation of integers diff --git a/Mathlib/Data/Option/Basic.lean b/Mathlib/Data/Option/Basic.lean index 8c8cc5fe263455..dc06109078f099 100644 --- a/Mathlib/Data/Option/Basic.lean +++ b/Mathlib/Data/Option/Basic.lean @@ -9,10 +9,11 @@ public import Mathlib.Control.Combinators public import Mathlib.Data.Option.Defs public import Mathlib.Logic.Relator public import Aesop -import Batteries.Tactic.Lint.Simp public import Mathlib.Logic.Function.Basic public import Mathlib.Basic.IsEmpty.Defs +import Batteries.Tactic.Lint.Simp + /-! # Option of a type diff --git a/Mathlib/Data/PNat/Basic.lean b/Mathlib/Data/PNat/Basic.lean index 1f6e7903cafc25..17da629c4318f7 100644 --- a/Mathlib/Data/PNat/Basic.lean +++ b/Mathlib/Data/PNat/Basic.lean @@ -10,6 +10,7 @@ public import Mathlib.Algebra.Order.Positive.Ring public import Mathlib.Algebra.Order.Ring.Nat public import Mathlib.Algebra.Order.Sub.Basic public import Mathlib.Data.PNat.Equiv + import Mathlib.Tactic.Basify.Attr /-! diff --git a/Mathlib/Data/PNat/Defs.lean b/Mathlib/Data/PNat/Defs.lean index 2e98c2bab0be14..b1b92d3e31cb24 100644 --- a/Mathlib/Data/PNat/Defs.lean +++ b/Mathlib/Data/PNat/Defs.lean @@ -11,6 +11,7 @@ public import Mathlib.Data.PNat.Notation public import Mathlib.Order.Basic public import Mathlib.Tactic.Coe public import Mathlib.Tactic.Lift + import Mathlib.Tactic.Basify.Attr /-! diff --git a/Mathlib/Data/PNat/Xgcd.lean b/Mathlib/Data/PNat/Xgcd.lean index f1e27184f3f9c9..07e06e8e745817 100644 --- a/Mathlib/Data/PNat/Xgcd.lean +++ b/Mathlib/Data/PNat/Xgcd.lean @@ -5,9 +5,10 @@ Authors: Neil Strickland -/ module -import Mathlib.Tactic.Ring public import Mathlib.Data.PNat.Prime +import Mathlib.Tactic.Ring + /-! # Euclidean algorithm for ℕ diff --git a/Mathlib/Data/Prod/Basic.lean b/Mathlib/Data/Prod/Basic.lean index acecbf0d5e304b..3319279968b1e7 100644 --- a/Mathlib/Data/Prod/Basic.lean +++ b/Mathlib/Data/Prod/Basic.lean @@ -6,10 +6,10 @@ Authors: Johannes Hölzl module public import Mathlib.Logic.Function.Iterate -import Mathlib.Tactic.Inhabit - public meta import Lean.PrettyPrinter.Delaborator.Builtins +import Mathlib.Tactic.Inhabit + /-! # Extra facts about `Prod` diff --git a/Mathlib/Data/Rat/Cast/OfScientific.lean b/Mathlib/Data/Rat/Cast/OfScientific.lean index 04d6e476512eff..5a04c3a1c6dbcb 100644 --- a/Mathlib/Data/Rat/Cast/OfScientific.lean +++ b/Mathlib/Data/Rat/Cast/OfScientific.lean @@ -5,9 +5,10 @@ Authors: Kim Morrison -/ module -import Mathlib.Data.Rat.Cast.CharZero public import Mathlib.Data.Rat.Cast.Lemmas +import Mathlib.Data.Rat.Cast.CharZero + /-! # Scientific notation for characteristic-zero fields diff --git a/Mathlib/Data/Rat/Defs.lean b/Mathlib/Data/Rat/Defs.lean index 4835db58481d28..42bef011e2b749 100644 --- a/Mathlib/Data/Rat/Defs.lean +++ b/Mathlib/Data/Rat/Defs.lean @@ -6,10 +6,11 @@ Authors: Johannes Hölzl, Mario Carneiro module public import Mathlib.Algebra.Group.Defs -import Mathlib.Data.Nat.Basic public import Mathlib.Data.Rat.Init -import Mathlib.Order.Basic public import Mathlib.Tactic.Common + +import Mathlib.Data.Nat.Basic +import Mathlib.Order.Basic import Mathlib.Tactic.Attr.Core /-! diff --git a/Mathlib/Data/Rat/Sqrt.lean b/Mathlib/Data/Rat/Sqrt.lean index c2121aea64c704..a06faa0987b867 100644 --- a/Mathlib/Data/Rat/Sqrt.lean +++ b/Mathlib/Data/Rat/Sqrt.lean @@ -5,11 +5,12 @@ Authors: Johannes Hölzl, Mario Carneiro -/ module -import Mathlib.Algebra.Order.Ring.Abs public import Mathlib.Algebra.Order.Ring.Unbundled.Rat -import Mathlib.Data.Rat.Lemmas public import Mathlib.Data.Int.Sqrt +import Mathlib.Algebra.Order.Ring.Abs +import Mathlib.Data.Rat.Lemmas + /-! # Square root on rational numbers diff --git a/Mathlib/Data/Seq/Basic.lean b/Mathlib/Data/Seq/Basic.lean index c3da83823a3d52..6ca681edebb8bf 100644 --- a/Mathlib/Data/Seq/Basic.lean +++ b/Mathlib/Data/Seq/Basic.lean @@ -7,6 +7,7 @@ module public import Mathlib.Data.Seq.Defs public import Mathlib.Tactic.ENatToNat + import Mathlib.Tactic.ApplyFun /-! diff --git a/Mathlib/Data/Set/Card.lean b/Mathlib/Data/Set/Card.lean index f78c09e901433b..1030b8e96cb174 100644 --- a/Mathlib/Data/Set/Card.lean +++ b/Mathlib/Data/Set/Card.lean @@ -6,6 +6,7 @@ Authors: Peter Nelson module public import Mathlib.SetTheory.Cardinal.Finite + import Mathlib.Data.Set.Finite.Powerset /-! diff --git a/Mathlib/Data/Set/Card/Arithmetic.lean b/Mathlib/Data/Set/Card/Arithmetic.lean index ed7570d0d223f3..02dcdbe320774f 100644 --- a/Mathlib/Data/Set/Card/Arithmetic.lean +++ b/Mathlib/Data/Set/Card/Arithmetic.lean @@ -7,8 +7,9 @@ module public import Mathlib.Algebra.BigOperators.Finprod public import Mathlib.Data.Set.Card -import Mathlib.SetTheory.Cardinal.Arithmetic public import Mathlib.Algebra.Order.BigOperators.Group.Finset + +import Mathlib.SetTheory.Cardinal.Arithmetic import Mathlib.Data.Set.Finite.Lattice /-! diff --git a/Mathlib/Data/Set/Enumerate.lean b/Mathlib/Data/Set/Enumerate.lean index 10dc3db018856a..606e715fa25309 100644 --- a/Mathlib/Data/Set/Enumerate.lean +++ b/Mathlib/Data/Set/Enumerate.lean @@ -6,10 +6,11 @@ Authors: Johannes Hölzl module public import Mathlib.Algebra.Group.Nat.Defs -import Mathlib.Tactic.Common public import Mathlib.Data.Set.Insert public import Mathlib.Tactic.Attr.Core +import Mathlib.Tactic.Common + /-! # Set enumeration diff --git a/Mathlib/Data/Set/Finite/List.lean b/Mathlib/Data/Set/Finite/List.lean index 75809bfc688fd9..3e64ad669ae0c1 100644 --- a/Mathlib/Data/Set/Finite/List.lean +++ b/Mathlib/Data/Set/Finite/List.lean @@ -5,9 +5,10 @@ Authors: Johannes Hölzl, Mario Carneiro, Kyle Miller -/ module -import Mathlib.Data.Fintype.Vector public import Mathlib.Data.Set.Finite.Lattice +import Mathlib.Data.Fintype.Vector + /-! # Finiteness of sets of lists diff --git a/Mathlib/Data/Set/Finite/Monad.lean b/Mathlib/Data/Set/Finite/Monad.lean index eee197a72ee5b6..60f467c17b99a5 100644 --- a/Mathlib/Data/Set/Finite/Monad.lean +++ b/Mathlib/Data/Set/Finite/Monad.lean @@ -5,10 +5,11 @@ Authors: Johannes Hölzl, Mario Carneiro, Kyle Miller -/ module -import Mathlib.Basic.Finite.Prod public import Mathlib.Data.Set.Finite.Lattice public import Mathlib.Data.Set.Functor +import Mathlib.Basic.Finite.Prod + /-! # Finiteness of the Set monad operations diff --git a/Mathlib/Data/Set/Finite/Powerset.lean b/Mathlib/Data/Set/Finite/Powerset.lean index 97d7ebedd1bc72..85ecb5c4346829 100644 --- a/Mathlib/Data/Set/Finite/Powerset.lean +++ b/Mathlib/Data/Set/Finite/Powerset.lean @@ -6,6 +6,7 @@ Authors: Johannes Hölzl, Mario Carneiro, Kyle Miller module public import Mathlib.Data.Finset.Powerset + import Mathlib.Data.Set.Finite.Basic /-! diff --git a/Mathlib/Data/Set/Pairwise/List.lean b/Mathlib/Data/Set/Pairwise/List.lean index 421a132a8b87be..ee34026f7b64a1 100644 --- a/Mathlib/Data/Set/Pairwise/List.lean +++ b/Mathlib/Data/Set/Pairwise/List.lean @@ -5,9 +5,10 @@ Authors: Mario Carneiro, Kenny Lau -/ module -import Mathlib.Data.List.Nodup public import Mathlib.Data.Set.Pairwise.Basic +import Mathlib.Data.List.Nodup + /-! # Translating pairwise relations on sets to lists diff --git a/Mathlib/Data/Set/PowersetCard.lean b/Mathlib/Data/Set/PowersetCard.lean index 72d850a5708b06..a6ed86e61e484e 100644 --- a/Mathlib/Data/Set/PowersetCard.lean +++ b/Mathlib/Data/Set/PowersetCard.lean @@ -5,9 +5,10 @@ Authors: Daniel Morrison, Antoine Chambert-Loir -/ module -import Mathlib.Data.ENat.Lattice public import Mathlib.SetTheory.Cardinal.NatCard +import Mathlib.Data.ENat.Lattice + /-! # Combinations Combinations in a type are finite subsets of given cardinality. diff --git a/Mathlib/Data/Stream/Init.lean b/Mathlib/Data/Stream/Init.lean index d1b7dc3e3a90a0..3bf192894e3eb9 100644 --- a/Mathlib/Data/Stream/Init.lean +++ b/Mathlib/Data/Stream/Init.lean @@ -6,10 +6,11 @@ Authors: Leonardo de Moura module public import Mathlib.Data.Stream.Defs -import Mathlib.Data.Nat.Basic public import Mathlib.Tactic.Common public import Mathlib.Tactic.Attr.Core +import Mathlib.Data.Nat.Basic + /-! # Streams a.k.a. infinite lists a.k.a. infinite sequences -/ diff --git a/Mathlib/Data/String/Basic.lean b/Mathlib/Data/String/Basic.lean index 8bbde03eca345b..7e69a67c4c13af 100644 --- a/Mathlib/Data/String/Basic.lean +++ b/Mathlib/Data/String/Basic.lean @@ -9,6 +9,7 @@ public import Batteries.Data.String.Lemmas public import Mathlib.Data.List.Lex public import Mathlib.Data.Char public import Mathlib.Algebra.Order.Group.Nat + import all Init.Data.String.Iterator -- for unfolding `Iterator.curr` import all Init.Data.Ord.String -- for unfolding `String.compare` diff --git a/Mathlib/Data/Subtype.lean b/Mathlib/Data/Subtype.lean index 13d6197a23cbb6..38d24f7c9e8c3d 100644 --- a/Mathlib/Data/Subtype.lean +++ b/Mathlib/Data/Subtype.lean @@ -6,9 +6,10 @@ Authors: Johannes Hölzl module public import Mathlib.Logic.Function.Basic -import Mathlib.Tactic.AdaptationNote public import Mathlib.Tactic.Simps +import Mathlib.Tactic.AdaptationNote + /-! # Subtypes diff --git a/Mathlib/Data/SubtypeNeLift.lean b/Mathlib/Data/SubtypeNeLift.lean index f431083e170204..f2b4b1d5cc687c 100644 --- a/Mathlib/Data/SubtypeNeLift.lean +++ b/Mathlib/Data/SubtypeNeLift.lean @@ -7,6 +7,7 @@ module public import Aesop public import Mathlib.Data.Subtype + import Mathlib.Util.CompileInductive /-! diff --git a/Mathlib/Data/Sum/Basic.lean b/Mathlib/Data/Sum/Basic.lean index 485d59cab0f504..d96b2bd0daa3e4 100644 --- a/Mathlib/Data/Sum/Basic.lean +++ b/Mathlib/Data/Sum/Basic.lean @@ -6,6 +6,7 @@ Authors: Mario Carneiro, Yury Kudryashov module public import Mathlib.Logic.Function.Basic + import Mathlib.Tactic.MkIffOfInductiveProp /-! diff --git a/Mathlib/Data/Sym/Card.lean b/Mathlib/Data/Sym/Card.lean index 5294125b2e6155..fd37adfcde5db9 100644 --- a/Mathlib/Data/Sym/Card.lean +++ b/Mathlib/Data/Sym/Card.lean @@ -6,6 +6,7 @@ Authors: Yaël Dillies, Bhavik Mehta, Huỳnh Trần Khanh, Stuart Presnell module public import Mathlib.Data.Finset.Sym + import Mathlib.Data.Fintype.Sum /-! diff --git a/Mathlib/Data/Sym/Sym2/Init.lean b/Mathlib/Data/Sym/Sym2/Init.lean index f96a6eb30c72e3..9dd56769e3bb4f 100644 --- a/Mathlib/Data/Sym/Sym2/Init.lean +++ b/Mathlib/Data/Sym/Sym2/Init.lean @@ -5,9 +5,10 @@ Authors: Jannis Limperg -/ module -import Mathlib.Init public import Aesop +import Mathlib.Init + /-! # Sym2 Rule Set diff --git a/Mathlib/Data/Tree/Basic.lean b/Mathlib/Data/Tree/Basic.lean index 05d21c7c74b232..86683dab1ea40d 100644 --- a/Mathlib/Data/Tree/Basic.lean +++ b/Mathlib/Data/Tree/Basic.lean @@ -7,6 +7,7 @@ module public import Mathlib.Data.Nat.Notation public import Mathlib.Util.CompileInductive + import Batteries.Tactic.Alias /-! diff --git a/Mathlib/Data/Tree/Traversable.lean b/Mathlib/Data/Tree/Traversable.lean index 9e0ae184306f8b..87a2809663984e 100644 --- a/Mathlib/Data/Tree/Traversable.lean +++ b/Mathlib/Data/Tree/Traversable.lean @@ -6,9 +6,10 @@ Authors: Edward van de Meent module public import Mathlib.Data.Tree.Basic -import Mathlib.Control.Applicative public import Mathlib.Control.Traversable.Basic +import Mathlib.Control.Applicative + /-! # Traversable Binary Tree diff --git a/Mathlib/Data/Vector/Basic.lean b/Mathlib/Data/Vector/Basic.lean index b84628bf0a976b..00621a8cdd0d17 100644 --- a/Mathlib/Data/Vector/Basic.lean +++ b/Mathlib/Data/Vector/Basic.lean @@ -6,13 +6,14 @@ Authors: Mario Carneiro module public import Mathlib.Data.Vector.Defs -import Mathlib.Data.List.Nodup public import Mathlib.Control.Applicative public import Mathlib.Control.Traversable.Basic public import Mathlib.Algebra.BigOperators.Group.List.Basic -import Batteries.Data.Fin.Lemmas public import Mathlib.Data.Fin.SuccPred +import Mathlib.Data.List.Nodup +import Batteries.Data.Fin.Lemmas + /-! # Additional theorems and definitions about the `Vector` type diff --git a/Mathlib/Data/ZMod/Coprime.lean b/Mathlib/Data/ZMod/Coprime.lean index 96aeed6b6b7a15..badf4bbeec470a 100644 --- a/Mathlib/Data/ZMod/Coprime.lean +++ b/Mathlib/Data/ZMod/Coprime.lean @@ -5,9 +5,10 @@ Authors: Michael Stoll -/ module +public import Mathlib.Data.ZMod.Basic + import Mathlib.Algebra.EuclideanDomain.Int import Mathlib.Data.Nat.Prime.Int -public import Mathlib.Data.ZMod.Basic import Mathlib.RingTheory.PrincipalIdealDomain /-! diff --git a/Mathlib/Data/ZMod/Defs.lean b/Mathlib/Data/ZMod/Defs.lean index 75cd99bb22cc20..4df77096385a23 100644 --- a/Mathlib/Data/ZMod/Defs.lean +++ b/Mathlib/Data/ZMod/Defs.lean @@ -10,6 +10,7 @@ public import Mathlib.Algebra.Ring.Int.Defs public import Mathlib.Algebra.Ring.GrindInstances -- shake: keep (used in `example` only) public import Mathlib.Data.Nat.ModEq public import Mathlib.Data.Fintype.EquivFin + import Mathlib.Algebra.Ring.Nat /-! diff --git a/Mathlib/Data/ZMod/Units.lean b/Mathlib/Data/ZMod/Units.lean index c53fcd8a7851fc..ca071f6715eca9 100644 --- a/Mathlib/Data/ZMod/Units.lean +++ b/Mathlib/Data/ZMod/Units.lean @@ -5,10 +5,11 @@ Authors: Moritz Firsching, Ashvni Narayanan, Michael Stoll -/ module -import Mathlib.Algebra.BigOperators.Associated public import Mathlib.Data.ZMod.Basic public import Mathlib.RingTheory.Coprime.Lemmas +import Mathlib.Algebra.BigOperators.Associated + /-! # Lemmas about units in `ZMod`. -/ diff --git a/Mathlib/Data/ZMod/ValMinAbs.lean b/Mathlib/Data/ZMod/ValMinAbs.lean index 956b6cc895314a..4f7921e9268ff8 100644 --- a/Mathlib/Data/ZMod/ValMinAbs.lean +++ b/Mathlib/Data/ZMod/ValMinAbs.lean @@ -6,6 +6,7 @@ Authors: Chris Hughes module public import Mathlib.Data.ZMod.Basic + import Mathlib.Tactic.Linarith /-! diff --git a/Mathlib/Dynamics/Ergodic/Action/OfMinimal.lean b/Mathlib/Dynamics/Ergodic/Action/OfMinimal.lean index 33c01235c7dd23..f4fb9924006477 100644 --- a/Mathlib/Dynamics/Ergodic/Action/OfMinimal.lean +++ b/Mathlib/Dynamics/Ergodic/Action/OfMinimal.lean @@ -6,9 +6,10 @@ Authors: Yury Kudryashov module public import Mathlib.Dynamics.Ergodic.Action.Regular -import Mathlib.MeasureTheory.Measure.ContinuousPreimage public import Mathlib.MeasureTheory.Measure.Haar.Unique +import Mathlib.MeasureTheory.Measure.ContinuousPreimage + /-! # Ergodicity from minimality diff --git a/Mathlib/Dynamics/Ergodic/Action/Regular.lean b/Mathlib/Dynamics/Ergodic/Action/Regular.lean index c48f95f87df234..588d1d9b03980c 100644 --- a/Mathlib/Dynamics/Ergodic/Action/Regular.lean +++ b/Mathlib/Dynamics/Ergodic/Action/Regular.lean @@ -6,6 +6,7 @@ Authors: Yury Kudryashov module public import Mathlib.Dynamics.Ergodic.Action.Basic + import Mathlib.MeasureTheory.Group.Prod /-! diff --git a/Mathlib/Dynamics/Ergodic/AddCircle.lean b/Mathlib/Dynamics/Ergodic/AddCircle.lean index 654d6cb83c1cc9..71a14ea4574ff8 100644 --- a/Mathlib/Dynamics/Ergodic/AddCircle.lean +++ b/Mathlib/Dynamics/Ergodic/AddCircle.lean @@ -5,10 +5,11 @@ Authors: Oliver Nash -/ module -import Mathlib.Dynamics.FixedPoints.Prufer public import Mathlib.Dynamics.Ergodic.Ergodic -import Mathlib.MeasureTheory.Covering.DensityTheorem public import Mathlib.MeasureTheory.Group.AddCircle + +import Mathlib.Dynamics.FixedPoints.Prufer +import Mathlib.MeasureTheory.Covering.DensityTheorem import Mathlib.MeasureTheory.Measure.Haar.Unique /-! diff --git a/Mathlib/Dynamics/Ergodic/AddCircleAdd.lean b/Mathlib/Dynamics/Ergodic/AddCircleAdd.lean index 8ed0775cec92bf..4c8dbe568bef1e 100644 --- a/Mathlib/Dynamics/Ergodic/AddCircleAdd.lean +++ b/Mathlib/Dynamics/Ergodic/AddCircleAdd.lean @@ -6,9 +6,10 @@ Authors: Yury Kudryashov module public import Mathlib.Dynamics.Ergodic.Action.OfMinimal -import Mathlib.Topology.Instances.AddCircle.DenseSubgroup public import Mathlib.MeasureTheory.Integral.IntervalIntegral.Periodic +import Mathlib.Topology.Instances.AddCircle.DenseSubgroup + /-! # Ergodicity of an irrational rotation diff --git a/Mathlib/Dynamics/Ergodic/Conservative.lean b/Mathlib/Dynamics/Ergodic/Conservative.lean index c60fe8404e03ef..165fd4e784ecff 100644 --- a/Mathlib/Dynamics/Ergodic/Conservative.lean +++ b/Mathlib/Dynamics/Ergodic/Conservative.lean @@ -7,6 +7,7 @@ module public import Mathlib.MeasureTheory.Constructions.BorelSpace.Basic public import Mathlib.Dynamics.Ergodic.MeasurePreserving + import Mathlib.Combinatorics.Pigeonhole /-! diff --git a/Mathlib/Dynamics/Ergodic/Extreme.lean b/Mathlib/Dynamics/Ergodic/Extreme.lean index 3c09ec9e799364..824d90106a86c0 100644 --- a/Mathlib/Dynamics/Ergodic/Extreme.lean +++ b/Mathlib/Dynamics/Ergodic/Extreme.lean @@ -7,6 +7,7 @@ module public import Mathlib.Analysis.Convex.Extreme public import Mathlib.Dynamics.Ergodic.Function + import Mathlib.Dynamics.Ergodic.RadonNikodym import Mathlib.Probability.ConditionalProbability diff --git a/Mathlib/Dynamics/Ergodic/RadonNikodym.lean b/Mathlib/Dynamics/Ergodic/RadonNikodym.lean index c5cb097f511c1d..8d2c4dbe41c3db 100644 --- a/Mathlib/Dynamics/Ergodic/RadonNikodym.lean +++ b/Mathlib/Dynamics/Ergodic/RadonNikodym.lean @@ -6,6 +6,7 @@ Authors: Yury Kudryashov module public import Mathlib.MeasureTheory.Measure.Decomposition.RadonNikodym + import Mathlib.Topology.Order.CountableSeparating /-! diff --git a/Mathlib/Dynamics/FixedPoints/Basic.lean b/Mathlib/Dynamics/FixedPoints/Basic.lean index bf607d4b935922..e620733a10526a 100644 --- a/Mathlib/Dynamics/FixedPoints/Basic.lean +++ b/Mathlib/Dynamics/FixedPoints/Basic.lean @@ -6,9 +6,10 @@ Authors: Yury Kudryashov module public import Mathlib.Algebra.Group.End -import Mathlib.Data.Set.Function public import Mathlib.Dynamics.FixedPoints.Defs +import Mathlib.Data.Set.Function + /-! # Fixed points of a self-map diff --git a/Mathlib/Dynamics/FixedPoints/Prufer.lean b/Mathlib/Dynamics/FixedPoints/Prufer.lean index 556d08437498bd..ad74544f5ac17c 100644 --- a/Mathlib/Dynamics/FixedPoints/Prufer.lean +++ b/Mathlib/Dynamics/FixedPoints/Prufer.lean @@ -6,6 +6,7 @@ Authors: Oliver Nash module public import Mathlib.Algebra.Group.Action.Pointwise.Set.Basic + import Mathlib.Dynamics.FixedPoints.Basic /-! diff --git a/Mathlib/Dynamics/PeriodicPts/Defs.lean b/Mathlib/Dynamics/PeriodicPts/Defs.lean index 331bc7be1b2595..8b40be377037e4 100644 --- a/Mathlib/Dynamics/PeriodicPts/Defs.lean +++ b/Mathlib/Dynamics/PeriodicPts/Defs.lean @@ -6,12 +6,13 @@ Authors: Yury Kudryashov module public import Mathlib.Algebra.Group.Action.Defs -import Mathlib.Algebra.Order.Group.Nat -import Mathlib.Algebra.Order.Sub.Basic public import Mathlib.Data.List.Cycle public import Mathlib.Data.PNat.Notation public import Mathlib.Dynamics.FixedPoints.Basic +import Mathlib.Algebra.Order.Group.Nat +import Mathlib.Algebra.Order.Sub.Basic + /-! # Periodic points diff --git a/Mathlib/Dynamics/TopologicalEntropy/DynamicalEntourage.lean b/Mathlib/Dynamics/TopologicalEntropy/DynamicalEntourage.lean index 03a00523e112e2..b54d3487f6b8ec 100644 --- a/Mathlib/Dynamics/TopologicalEntropy/DynamicalEntourage.lean +++ b/Mathlib/Dynamics/TopologicalEntropy/DynamicalEntourage.lean @@ -5,9 +5,10 @@ Authors: Damien Thomine, Pietro Monticone -/ module -import Mathlib.Order.Lattice.Nat public import Mathlib.Topology.UniformSpace.Basic +import Mathlib.Order.Lattice.Nat + /-! # Dynamical entourages diff --git a/Mathlib/FieldTheory/Cardinality.lean b/Mathlib/FieldTheory/Cardinality.lean index 3bed2708154a07..44feb4b52308db 100644 --- a/Mathlib/FieldTheory/Cardinality.lean +++ b/Mathlib/FieldTheory/Cardinality.lean @@ -5,12 +5,13 @@ Authors: Eric Rodriguez -/ module +public import Mathlib.RingTheory.Localization.Cardinality +public import Mathlib.SetTheory.Cardinal.Divisibility + import Mathlib.Algebra.Field.TransferInstance import Mathlib.Algebra.MonoidAlgebra.Cardinal import Mathlib.Data.Rat.Encodable import Mathlib.FieldTheory.Finite.GaloisField -public import Mathlib.RingTheory.Localization.Cardinality -public import Mathlib.SetTheory.Cardinal.Divisibility /-! # Cardinality of Fields diff --git a/Mathlib/FieldTheory/ChevalleyWarning.lean b/Mathlib/FieldTheory/ChevalleyWarning.lean index 17dd873764f03c..0aa3a521f6b31a 100644 --- a/Mathlib/FieldTheory/ChevalleyWarning.lean +++ b/Mathlib/FieldTheory/ChevalleyWarning.lean @@ -6,6 +6,7 @@ Authors: Johan Commelin module public import Mathlib.FieldTheory.Finite.Basic + import Mathlib.Algebra.MvPolynomial.CommRing /-! diff --git a/Mathlib/FieldTheory/Differential/Liouville.lean b/Mathlib/FieldTheory/Differential/Liouville.lean index aa243024becc45..2e3031baf1c24a 100644 --- a/Mathlib/FieldTheory/Differential/Liouville.lean +++ b/Mathlib/FieldTheory/Differential/Liouville.lean @@ -5,9 +5,10 @@ Authors: Daniel Weber -/ module +public import Mathlib.FieldTheory.Differential.Basic + import Mathlib.Algebra.Algebra.Field import Mathlib.Algebra.BigOperators.Field -public import Mathlib.FieldTheory.Differential.Basic import Mathlib.FieldTheory.Galois.Basic import Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure diff --git a/Mathlib/FieldTheory/FinTrdeg.lean b/Mathlib/FieldTheory/FinTrdeg.lean index e1dd2c0a793733..dd02f6b7a61aff 100644 --- a/Mathlib/FieldTheory/FinTrdeg.lean +++ b/Mathlib/FieldTheory/FinTrdeg.lean @@ -6,6 +6,7 @@ Authors: Aaron Liu module public import Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis + import Mathlib.FieldTheory.IntermediateField.Adjoin.Basic /-! diff --git a/Mathlib/FieldTheory/Finite/Basic.lean b/Mathlib/FieldTheory/Finite/Basic.lean index 5bf444aca15e3f..4efc60831b0932 100644 --- a/Mathlib/FieldTheory/Finite/Basic.lean +++ b/Mathlib/FieldTheory/Finite/Basic.lean @@ -9,11 +9,12 @@ public import Mathlib.Algebra.CharP.Algebra public import Mathlib.Algebra.Field.ZMod public import Mathlib.Data.Nat.Prime.Int public import Mathlib.Data.ZMod.ValMinAbs -import Mathlib.LinearAlgebra.FreeModule.Finite.Matrix public import Mathlib.FieldTheory.Finiteness public import Mathlib.FieldTheory.Galois.Notation public import Mathlib.FieldTheory.Perfect +import Mathlib.LinearAlgebra.FreeModule.Finite.Matrix + /-! # Finite fields diff --git a/Mathlib/FieldTheory/Finite/Polynomial.lean b/Mathlib/FieldTheory/Finite/Polynomial.lean index 5d2c207302c009..ae6cdd0b375ce8 100644 --- a/Mathlib/FieldTheory/Finite/Polynomial.lean +++ b/Mathlib/FieldTheory/Finite/Polynomial.lean @@ -7,6 +7,7 @@ module public import Mathlib.Algebra.MvPolynomial.Expand public import Mathlib.FieldTheory.Finite.Basic + import Mathlib.LinearAlgebra.FiniteDimensional.Lemmas import Mathlib.Algebra.MvPolynomial.CommRing diff --git a/Mathlib/FieldTheory/Fixed.lean b/Mathlib/FieldTheory/Fixed.lean index 3453f1a09368d9..d4e36b1eff23ae 100644 --- a/Mathlib/FieldTheory/Fixed.lean +++ b/Mathlib/FieldTheory/Fixed.lean @@ -8,11 +8,12 @@ module public import Mathlib.Algebra.Polynomial.GroupRingAction public import Mathlib.Algebra.Ring.Action.Field public import Mathlib.Algebra.Ring.Action.Invariant -import Mathlib.FieldTheory.Finiteness public import Mathlib.FieldTheory.Normal.Defs public import Mathlib.FieldTheory.Separable public import Mathlib.LinearAlgebra.FreeModule.Finite.Matrix +import Mathlib.FieldTheory.Finiteness + /-! # Fixed field under a group action. diff --git a/Mathlib/FieldTheory/Galois/IsGaloisGroup.lean b/Mathlib/FieldTheory/Galois/IsGaloisGroup.lean index 86d76f49722699..d16b2b4bd11631 100644 --- a/Mathlib/FieldTheory/Galois/IsGaloisGroup.lean +++ b/Mathlib/FieldTheory/Galois/IsGaloisGroup.lean @@ -5,10 +5,11 @@ Authors: Thomas Browning -/ module -import Mathlib.FieldTheory.Galois.Infinite public import Mathlib.NumberTheory.NumberField.Basic public import Mathlib.RingTheory.IsGaloisGroup.Basic +import Mathlib.FieldTheory.Galois.Infinite + /-! # Galois Groups of Fields diff --git a/Mathlib/FieldTheory/Galois/NormalBasis.lean b/Mathlib/FieldTheory/Galois/NormalBasis.lean index 635f40f2d997d9..0cc12313674fe6 100644 --- a/Mathlib/FieldTheory/Galois/NormalBasis.lean +++ b/Mathlib/FieldTheory/Galois/NormalBasis.lean @@ -5,10 +5,11 @@ Authors: Madison Crim, Aaron Liu, Justus Springer, Junyan Xu -/ module +public import Mathlib.FieldTheory.Galois.Basic + import Mathlib.Algebra.Module.PID import Mathlib.Algebra.MvPolynomial.Funext import Mathlib.FieldTheory.Finite.Basic -public import Mathlib.FieldTheory.Galois.Basic import Mathlib.LinearAlgebra.AnnihilatingPolynomial import Mathlib.LinearAlgebra.Dual.Lemmas diff --git a/Mathlib/FieldTheory/Galois/Notation.lean b/Mathlib/FieldTheory/Galois/Notation.lean index 991271d17e2b60..1f24dfc411378e 100644 --- a/Mathlib/FieldTheory/Galois/Notation.lean +++ b/Mathlib/FieldTheory/Galois/Notation.lean @@ -6,6 +6,7 @@ Authors: Andrew Yang module public import Mathlib.Algebra.Algebra.Equiv + import Lean.PrettyPrinter.Delaborator.Basic /-! diff --git a/Mathlib/FieldTheory/IsAlgClosed/Basic.lean b/Mathlib/FieldTheory/IsAlgClosed/Basic.lean index c78e7a3f34a411..e2a382ab7779e0 100644 --- a/Mathlib/FieldTheory/IsAlgClosed/Basic.lean +++ b/Mathlib/FieldTheory/IsAlgClosed/Basic.lean @@ -6,11 +6,12 @@ Authors: Kenny Lau module public import Mathlib.Algebra.Ring.Hom.InjSurj -import Mathlib.LinearAlgebra.FiniteDimensional.Lemmas public import Mathlib.FieldTheory.Extension public import Mathlib.FieldTheory.Perfect public import Mathlib.RingTheory.Localization.Integral +import Mathlib.LinearAlgebra.FiniteDimensional.Lemmas + /-! # Algebraically Closed Field diff --git a/Mathlib/FieldTheory/IsAlgClosed/Classification.lean b/Mathlib/FieldTheory/IsAlgClosed/Classification.lean index 01f8ea6a1ba8ce..dccf5e0cbe01bb 100644 --- a/Mathlib/FieldTheory/IsAlgClosed/Classification.lean +++ b/Mathlib/FieldTheory/IsAlgClosed/Classification.lean @@ -5,13 +5,14 @@ Authors: Chris Hughes -/ module -import Mathlib.Algebra.Algebra.ZMod public import Mathlib.Algebra.Field.ZMod -import Mathlib.Algebra.MvPolynomial.Cardinal public import Mathlib.FieldTheory.IsAlgClosed.Basic -import Mathlib.RingTheory.Algebraic.Cardinality public import Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis +import Mathlib.Algebra.Algebra.ZMod +import Mathlib.Algebra.MvPolynomial.Cardinal +import Mathlib.RingTheory.Algebraic.Cardinality + /-! # Classification of Algebraically closed fields diff --git a/Mathlib/FieldTheory/IsRealClosed/Basic.lean b/Mathlib/FieldTheory/IsRealClosed/Basic.lean index 043b11eb108162..e49cd18f2c5091 100644 --- a/Mathlib/FieldTheory/IsRealClosed/Basic.lean +++ b/Mathlib/FieldTheory/IsRealClosed/Basic.lean @@ -8,6 +8,7 @@ module public import Mathlib.Algebra.Polynomial.Degree.Domain public import Mathlib.Algebra.Polynomial.Eval.Defs public import Mathlib.Algebra.Ring.Semireal.Defs + import Mathlib.Tactic.LinearCombination /-! diff --git a/Mathlib/FieldTheory/Isaacs.lean b/Mathlib/FieldTheory/Isaacs.lean index 07a34958b50f5f..c1e0bd4fc1052e 100644 --- a/Mathlib/FieldTheory/Isaacs.lean +++ b/Mathlib/FieldTheory/Isaacs.lean @@ -6,6 +6,7 @@ Authors: Junyan Xu module public import Mathlib.FieldTheory.PrimitiveElement + import Mathlib.GroupTheory.CosetCover /-! diff --git a/Mathlib/FieldTheory/JacobsonNoether.lean b/Mathlib/FieldTheory/JacobsonNoether.lean index 219e72afec148b..d4f311783ab8d3 100644 --- a/Mathlib/FieldTheory/JacobsonNoether.lean +++ b/Mathlib/FieldTheory/JacobsonNoether.lean @@ -6,11 +6,12 @@ Authors: Filippo A. E. Nuccio, Huanyu Zheng, Sihan Wu, Wanyi He, Weichen Jiao, Y module public import Mathlib.Algebra.Central.Defs +public import Mathlib.Algebra.Lie.OfAssociative +public import Mathlib.FieldTheory.PurelyInseparable.Basic + import Mathlib.Algebra.CharP.LinearMaps import Mathlib.Algebra.CharP.Subring import Mathlib.Algebra.GroupWithZero.Conj -public import Mathlib.Algebra.Lie.OfAssociative -public import Mathlib.FieldTheory.PurelyInseparable.Basic /-! # The Jacobson-Noether theorem diff --git a/Mathlib/FieldTheory/KrullTopology.lean b/Mathlib/FieldTheory/KrullTopology.lean index 705b0c2df7558e..980eab6fdfc4a3 100644 --- a/Mathlib/FieldTheory/KrullTopology.lean +++ b/Mathlib/FieldTheory/KrullTopology.lean @@ -7,6 +7,7 @@ module public import Mathlib.FieldTheory.Galois.Basic public import Mathlib.Topology.Algebra.FilterBasis + import Mathlib.Topology.Algebra.OpenSubgroup /-! diff --git a/Mathlib/FieldTheory/KummerExtension.lean b/Mathlib/FieldTheory/KummerExtension.lean index 5b23888012c77d..44b760cf5478ac 100644 --- a/Mathlib/FieldTheory/KummerExtension.lean +++ b/Mathlib/FieldTheory/KummerExtension.lean @@ -7,6 +7,7 @@ module public import Mathlib.RingTheory.RootsOfUnity.PrimitiveRoots public import Mathlib.FieldTheory.Galois.Basic + import Mathlib.LinearAlgebra.Eigenspace.Minpoly import Mathlib.RingTheory.Norm.Basic diff --git a/Mathlib/FieldTheory/LinearDisjoint.lean b/Mathlib/FieldTheory/LinearDisjoint.lean index 28366b6d050f49..c60471b6757127 100644 --- a/Mathlib/FieldTheory/LinearDisjoint.lean +++ b/Mathlib/FieldTheory/LinearDisjoint.lean @@ -6,9 +6,10 @@ Authors: Jz Pan module public import Mathlib.FieldTheory.Galois.Basic -import Mathlib.RingTheory.AlgebraicIndependent.RankAndCardinality public import Mathlib.RingTheory.LinearDisjoint +import Mathlib.RingTheory.AlgebraicIndependent.RankAndCardinality + /-! # Linearly disjoint fields diff --git a/Mathlib/FieldTheory/Minpoly/Finite.lean b/Mathlib/FieldTheory/Minpoly/Finite.lean index d5b35d706eb157..c3ca950e955c78 100644 --- a/Mathlib/FieldTheory/Minpoly/Finite.lean +++ b/Mathlib/FieldTheory/Minpoly/Finite.lean @@ -7,6 +7,7 @@ module public import Mathlib.FieldTheory.Minpoly.Basic public import Mathlib.LinearAlgebra.Matrix.Charpoly.LinearMap + import Mathlib.RingTheory.FiniteType /-! diff --git a/Mathlib/FieldTheory/Minpoly/MinpolyDiv.lean b/Mathlib/FieldTheory/Minpoly/MinpolyDiv.lean index c759edd3ff3f5a..b66d183e18b5ce 100644 --- a/Mathlib/FieldTheory/Minpoly/MinpolyDiv.lean +++ b/Mathlib/FieldTheory/Minpoly/MinpolyDiv.lean @@ -5,10 +5,11 @@ Authors: Andrew Yang -/ module -import Mathlib.FieldTheory.Minpoly.Finite public import Mathlib.FieldTheory.Minpoly.IsIntegrallyClosed public import Mathlib.FieldTheory.PrimitiveElement +import Mathlib.FieldTheory.Minpoly.Finite + /-! # Results about `minpoly R x / (X - C x)` diff --git a/Mathlib/FieldTheory/MvRatFunc/Rank.lean b/Mathlib/FieldTheory/MvRatFunc/Rank.lean index 2a610f430020a8..dfd5f0701980a6 100644 --- a/Mathlib/FieldTheory/MvRatFunc/Rank.lean +++ b/Mathlib/FieldTheory/MvRatFunc/Rank.lean @@ -6,11 +6,12 @@ Authors: Jz Pan module public import Mathlib.Algebra.MvPolynomial.Cardinal -import Mathlib.RingTheory.Algebraic.LinearIndependent -import Mathlib.RingTheory.Algebraic.MvPolynomial public import Mathlib.RingTheory.Localization.Cardinality public import Mathlib.RingTheory.MvPolynomial +import Mathlib.RingTheory.Algebraic.LinearIndependent +import Mathlib.RingTheory.Algebraic.MvPolynomial + /-! # Rank of multivariate rational function field -/ diff --git a/Mathlib/FieldTheory/PrimeField.lean b/Mathlib/FieldTheory/PrimeField.lean index 9fee8da88fdf8b..0f172b6bcd03f5 100644 --- a/Mathlib/FieldTheory/PrimeField.lean +++ b/Mathlib/FieldTheory/PrimeField.lean @@ -8,6 +8,7 @@ module public import Mathlib.Algebra.Algebra.Rat public import Mathlib.Algebra.Field.ZMod public import Mathlib.Algebra.Field.Subfield.Basic + import Mathlib.Tactic.NormNum.Inv import Mathlib.Tactic.NormNum.Pow diff --git a/Mathlib/FieldTheory/PurelyInseparable/PerfectClosure.lean b/Mathlib/FieldTheory/PurelyInseparable/PerfectClosure.lean index dd3e87802f81c4..27311a55d90d8b 100644 --- a/Mathlib/FieldTheory/PurelyInseparable/PerfectClosure.lean +++ b/Mathlib/FieldTheory/PurelyInseparable/PerfectClosure.lean @@ -6,6 +6,7 @@ Authors: Jz Pan module public import Mathlib.FieldTheory.PurelyInseparable.Basic + import Mathlib.LinearAlgebra.Dimension.OrzechProperty /-! diff --git a/Mathlib/FieldTheory/RatFunc/AsPolynomial.lean b/Mathlib/FieldTheory/RatFunc/AsPolynomial.lean index 9a4742540c59c7..e2ee0aa6b7d6ac 100644 --- a/Mathlib/FieldTheory/RatFunc/AsPolynomial.lean +++ b/Mathlib/FieldTheory/RatFunc/AsPolynomial.lean @@ -8,6 +8,7 @@ module public import Mathlib.FieldTheory.RatFunc.Basic public import Mathlib.RingTheory.Adjoin.Polynomial.Transcendental public import Mathlib.RingTheory.DedekindDomain.AdicValuation + import Mathlib.RingTheory.Valuation.IsTrivialOn /-! diff --git a/Mathlib/FieldTheory/RatFunc/Basic.lean b/Mathlib/FieldTheory/RatFunc/Basic.lean index 869cd322c3121c..dc1fef37013ae1 100644 --- a/Mathlib/FieldTheory/RatFunc/Basic.lean +++ b/Mathlib/FieldTheory/RatFunc/Basic.lean @@ -5,10 +5,11 @@ Authors: Anne Baanen -/ module -import Mathlib.Algebra.CharP.Algebra public import Mathlib.FieldTheory.RatFunc.Defs public import Mathlib.RingTheory.Algebraic.Integral +import Mathlib.Algebra.CharP.Algebra + /-! # The field structure of rational functions diff --git a/Mathlib/FieldTheory/RatFunc/Luroth.lean b/Mathlib/FieldTheory/RatFunc/Luroth.lean index a3b6371796b0ee..00b5ba565bd14f 100644 --- a/Mathlib/FieldTheory/RatFunc/Luroth.lean +++ b/Mathlib/FieldTheory/RatFunc/Luroth.lean @@ -5,8 +5,9 @@ Authors: Miriam Philipp, Justus Springer, Junyan Xu -/ module -import Mathlib.Algebra.Polynomial.Basis public import Mathlib.FieldTheory.RatFunc.IntermediateField + +import Mathlib.Algebra.Polynomial.Basis import Mathlib.FieldTheory.Relrank /-! diff --git a/Mathlib/FieldTheory/SeparablyGenerated.lean b/Mathlib/FieldTheory/SeparablyGenerated.lean index a5e9c1a94c9516..2d76eec0f02922 100644 --- a/Mathlib/FieldTheory/SeparablyGenerated.lean +++ b/Mathlib/FieldTheory/SeparablyGenerated.lean @@ -5,13 +5,14 @@ Authors: Andrew Yang, Christian Merten, Junyan Xu -/ module -import Mathlib.Algebra.CharP.IntermediateField public import Mathlib.Algebra.MvPolynomial.Nilpotent public import Mathlib.Algebra.MvPolynomial.NoZeroDivisors public import Mathlib.Algebra.Order.Ring.Finset public import Mathlib.FieldTheory.SeparableClosure public import Mathlib.RingTheory.Polynomial.GaussLemma +import Mathlib.Algebra.CharP.IntermediateField + /-! # Separably generated extensions diff --git a/Mathlib/FieldTheory/SplittingField/IsSplittingField.lean b/Mathlib/FieldTheory/SplittingField/IsSplittingField.lean index 79aaa7e2b709e0..79e02773dd6217 100644 --- a/Mathlib/FieldTheory/SplittingField/IsSplittingField.lean +++ b/Mathlib/FieldTheory/SplittingField/IsSplittingField.lean @@ -6,9 +6,10 @@ Authors: Chris Hughes module public import Mathlib.FieldTheory.IntermediateField.Adjoin.Algebra -import Mathlib.LinearAlgebra.Dimension.FreeAndStrongRankCondition public import Mathlib.RingTheory.Adjoin.Field +import Mathlib.LinearAlgebra.Dimension.FreeAndStrongRankCondition + /-! # Splitting fields diff --git a/Mathlib/Geometry/Convex/ConvexSpace/AffineMapCone.lean b/Mathlib/Geometry/Convex/ConvexSpace/AffineMapCone.lean index eddf06002cb1dc..fef39eb8aae5ac 100644 --- a/Mathlib/Geometry/Convex/ConvexSpace/AffineMapCone.lean +++ b/Mathlib/Geometry/Convex/ConvexSpace/AffineMapCone.lean @@ -6,6 +6,7 @@ Authors: Joël Riou module public import Mathlib.Geometry.Convex.ConvexSpace.AffineMap + import Mathlib.Tactic.FinCases /-! diff --git a/Mathlib/Geometry/Convex/ConvexSpace/CompactSpaceStdSimplex.lean b/Mathlib/Geometry/Convex/ConvexSpace/CompactSpaceStdSimplex.lean index eb02323c01bc26..b16e5f84ddb59b 100644 --- a/Mathlib/Geometry/Convex/ConvexSpace/CompactSpaceStdSimplex.lean +++ b/Mathlib/Geometry/Convex/ConvexSpace/CompactSpaceStdSimplex.lean @@ -6,9 +6,10 @@ Authors: Joël Riou module public import Mathlib.Geometry.Convex.ConvexSpace.Topology -import Mathlib.Data.EReal.Operations public import Mathlib.Topology.MetricSpace.Bounded +import Mathlib.Data.EReal.Operations + /-! # The standard simplex is compact diff --git a/Mathlib/Geometry/Convex/ConvexSpace/Defs.lean b/Mathlib/Geometry/Convex/ConvexSpace/Defs.lean index 5822c1857a9095..67374125dddd90 100644 --- a/Mathlib/Geometry/Convex/ConvexSpace/Defs.lean +++ b/Mathlib/Geometry/Convex/ConvexSpace/Defs.lean @@ -4,6 +4,7 @@ Released under Apache 2.0 license as described in the file LICENSE. Authors: Kim Morrison, Andrew Yang, Yaël Dillies -/ module + public import Mathlib.Algebra.BigOperators.Fin public import Mathlib.Algebra.Order.Interval.Set.Instances public import Mathlib.Data.Finsupp.Order diff --git a/Mathlib/Geometry/Euclidean/Altitude.lean b/Mathlib/Geometry/Euclidean/Altitude.lean index 6947ae5f9bf1fd..65fc4fa9c79ed7 100644 --- a/Mathlib/Geometry/Euclidean/Altitude.lean +++ b/Mathlib/Geometry/Euclidean/Altitude.lean @@ -6,9 +6,10 @@ Authors: Joseph Myers module public import Mathlib.Geometry.Euclidean.Projection +public import Mathlib.LinearAlgebra.AffineSpace.AffineSubspace.Shift + import Mathlib.Analysis.InnerProductSpace.Projection.FiniteDimensional import Mathlib.Analysis.InnerProductSpace.Affine -public import Mathlib.LinearAlgebra.AffineSpace.AffineSubspace.Shift /-! # Altitudes of a simplex diff --git a/Mathlib/Geometry/Euclidean/Basic.lean b/Mathlib/Geometry/Euclidean/Basic.lean index f3df17dea3b3b0..228cd8fbc9df57 100644 --- a/Mathlib/Geometry/Euclidean/Basic.lean +++ b/Mathlib/Geometry/Euclidean/Basic.lean @@ -6,6 +6,7 @@ Authors: Joseph Myers, Manuel Candales module public import Mathlib.Geometry.Euclidean.PerpBisector + import Mathlib.Algebra.QuadraticDiscriminant /-! diff --git a/Mathlib/Geometry/Euclidean/Circumcenter.lean b/Mathlib/Geometry/Euclidean/Circumcenter.lean index fca6b8822a0b88..43538282a22a75 100644 --- a/Mathlib/Geometry/Euclidean/Circumcenter.lean +++ b/Mathlib/Geometry/Euclidean/Circumcenter.lean @@ -6,6 +6,7 @@ Authors: Joseph Myers module public import Mathlib.Geometry.Euclidean.Sphere.Basic + import Mathlib.Tactic.DeriveFintype /-! diff --git a/Mathlib/Geometry/Euclidean/Incenter.lean b/Mathlib/Geometry/Euclidean/Incenter.lean index 78c64b7f5fc95d..3162d0e6d7e146 100644 --- a/Mathlib/Geometry/Euclidean/Incenter.lean +++ b/Mathlib/Geometry/Euclidean/Incenter.lean @@ -10,6 +10,7 @@ public import Mathlib.Geometry.Euclidean.Altitude public import Mathlib.Geometry.Euclidean.SignedDist public import Mathlib.Geometry.Euclidean.Sphere.Tangent public import Mathlib.Tactic.Positivity.Finset + import Mathlib.Topology.Instances.Sign /-! diff --git a/Mathlib/Geometry/Euclidean/Inversion/Basic.lean b/Mathlib/Geometry/Euclidean/Inversion/Basic.lean index 2d9329c6443734..c62833fe7d753a 100644 --- a/Mathlib/Geometry/Euclidean/Inversion/Basic.lean +++ b/Mathlib/Geometry/Euclidean/Inversion/Basic.lean @@ -7,6 +7,7 @@ module public import Mathlib.Analysis.InnerProductSpace.Basic public import Mathlib.Analysis.Normed.Group.AddTorsor + import Mathlib.Tactic.AdaptationNote /-! diff --git a/Mathlib/Geometry/Euclidean/Inversion/Calculus.lean b/Mathlib/Geometry/Euclidean/Inversion/Calculus.lean index a61143484fb11b..407761616693d5 100644 --- a/Mathlib/Geometry/Euclidean/Inversion/Calculus.lean +++ b/Mathlib/Geometry/Euclidean/Inversion/Calculus.lean @@ -7,6 +7,7 @@ module public import Mathlib.Geometry.Euclidean.Inversion.Basic public import Mathlib.Analysis.InnerProductSpace.Calculus + import Mathlib.Analysis.Calculus.Deriv.Inv import Mathlib.Tactic.AdaptationNote diff --git a/Mathlib/Geometry/Euclidean/NinePointCircle.lean b/Mathlib/Geometry/Euclidean/NinePointCircle.lean index a8aacba279cb8d..86a3a796d0c4f2 100644 --- a/Mathlib/Geometry/Euclidean/NinePointCircle.lean +++ b/Mathlib/Geometry/Euclidean/NinePointCircle.lean @@ -6,6 +6,7 @@ Authors: Weiyi Wang module public import Mathlib.Geometry.Euclidean.MongePoint + import Mathlib.Geometry.Euclidean.Angle.Sphere import Mathlib.Geometry.Euclidean.Angle.Unoriented.Projection diff --git a/Mathlib/Geometry/Euclidean/Similarity.lean b/Mathlib/Geometry/Euclidean/Similarity.lean index 927de3d0e7bb33..9d996317aeface 100644 --- a/Mathlib/Geometry/Euclidean/Similarity.lean +++ b/Mathlib/Geometry/Euclidean/Similarity.lean @@ -7,6 +7,7 @@ module public import Mathlib.Geometry.Euclidean.Triangle public import Mathlib.Topology.MetricSpace.Similarity + import Mathlib.Geometry.Euclidean.Angle.Unoriented.RightAngle /-! diff --git a/Mathlib/Geometry/Euclidean/Sphere/Basic.lean b/Mathlib/Geometry/Euclidean/Sphere/Basic.lean index b72ac8b4777d17..99a996c8ee07c6 100644 --- a/Mathlib/Geometry/Euclidean/Sphere/Basic.lean +++ b/Mathlib/Geometry/Euclidean/Sphere/Basic.lean @@ -7,10 +7,11 @@ module public import Mathlib.Analysis.Convex.StrictConvexBetween public import Mathlib.Analysis.InnerProductSpace.Convex -import Mathlib.Analysis.Normed.Affine.Convex public import Mathlib.Geometry.Euclidean.Basic public import Mathlib.Geometry.Euclidean.Projection +import Mathlib.Analysis.Normed.Affine.Convex + /-! # Spheres diff --git a/Mathlib/Geometry/Euclidean/Sphere/Power.lean b/Mathlib/Geometry/Euclidean/Sphere/Power.lean index 7292a1cb0538b3..912a3339b9728b 100644 --- a/Mathlib/Geometry/Euclidean/Sphere/Power.lean +++ b/Mathlib/Geometry/Euclidean/Sphere/Power.lean @@ -5,7 +5,6 @@ Authors: Manuel Candales, Benjamin Davidson, Li Jiale -/ module - public import Mathlib.Geometry.Euclidean.Angle.Unoriented.Affine public import Mathlib.Geometry.Euclidean.Sphere.Tangent diff --git a/Mathlib/Geometry/Euclidean/Sphere/Ptolemy.lean b/Mathlib/Geometry/Euclidean/Sphere/Ptolemy.lean index f674b2ee694984..0f537fb12840f1 100644 --- a/Mathlib/Geometry/Euclidean/Sphere/Ptolemy.lean +++ b/Mathlib/Geometry/Euclidean/Sphere/Ptolemy.lean @@ -6,6 +6,7 @@ Authors: Manuel Candales, Benjamin Davidson module public import Mathlib.Geometry.Euclidean.Sphere.Power + import Mathlib.Geometry.Euclidean.Triangle /-! diff --git a/Mathlib/Geometry/Euclidean/Sphere/SecondInter.lean b/Mathlib/Geometry/Euclidean/Sphere/SecondInter.lean index 93709defd640ca..ea105dfd35cbe7 100644 --- a/Mathlib/Geometry/Euclidean/Sphere/SecondInter.lean +++ b/Mathlib/Geometry/Euclidean/Sphere/SecondInter.lean @@ -6,9 +6,10 @@ Authors: Joseph Myers module public import Mathlib.Analysis.Convex.Side -import Mathlib.Analysis.Convex.StrictCombination public import Mathlib.Geometry.Euclidean.Sphere.Basic +import Mathlib.Analysis.Convex.StrictCombination + /-! # Second intersection of a sphere and a line diff --git a/Mathlib/Geometry/Euclidean/Triangle.lean b/Mathlib/Geometry/Euclidean/Triangle.lean index dfcd684f4ad6af..3285f616a15768 100644 --- a/Mathlib/Geometry/Euclidean/Triangle.lean +++ b/Mathlib/Geometry/Euclidean/Triangle.lean @@ -5,9 +5,10 @@ Authors: Joseph Myers, Manuel Candales -/ module -import Mathlib.Analysis.Normed.Affine.AddTorsor public import Mathlib.Geometry.Euclidean.Angle.Oriented.Affine +import Mathlib.Analysis.Normed.Affine.AddTorsor + /-! # Triangles diff --git a/Mathlib/Geometry/Group/Growth/QuotientInter.lean b/Mathlib/Geometry/Group/Growth/QuotientInter.lean index dcc3dd41895a94..0239448366aab6 100644 --- a/Mathlib/Geometry/Group/Growth/QuotientInter.lean +++ b/Mathlib/Geometry/Group/Growth/QuotientInter.lean @@ -5,10 +5,11 @@ Authors: Yaël Dillies -/ module -import Mathlib.Algebra.Order.BigOperators.Group.Finset public import Mathlib.GroupTheory.QuotientGroup.Defs public import Mathlib.Algebra.Group.Pointwise.Finset.Basic +import Mathlib.Algebra.Order.BigOperators.Group.Finset + /-! # Growth in the quotient and intersection with a subgroup diff --git a/Mathlib/Geometry/Manifold/Algebra/Monoid.lean b/Mathlib/Geometry/Manifold/Algebra/Monoid.lean index 82b6cd21966392..cffdd30407857f 100644 --- a/Mathlib/Geometry/Manifold/Algebra/Monoid.lean +++ b/Mathlib/Geometry/Manifold/Algebra/Monoid.lean @@ -6,6 +6,7 @@ Authors: Nicolò Cavalleri module public import Mathlib.Geometry.Manifold.ContMDiffMap + import Mathlib.Geometry.Manifold.MFDeriv.Basic /-! diff --git a/Mathlib/Geometry/Manifold/Bordism.lean b/Mathlib/Geometry/Manifold/Bordism.lean index 0632552518cb84..99fbdecd6d1bb2 100644 --- a/Mathlib/Geometry/Manifold/Bordism.lean +++ b/Mathlib/Geometry/Manifold/Bordism.lean @@ -5,9 +5,10 @@ Authors: Michael Rothgang -/ module -import Mathlib.Analysis.SpecialFunctions.Pow.NNReal public import Mathlib.Geometry.Manifold.IsManifold.InteriorBoundary +import Mathlib.Analysis.SpecialFunctions.Pow.NNReal + /-! ## (Unoriented) bordism theory diff --git a/Mathlib/Geometry/Manifold/BumpFunction.lean b/Mathlib/Geometry/Manifold/BumpFunction.lean index 5c545223a21ccc..d692fa51fcefed 100644 --- a/Mathlib/Geometry/Manifold/BumpFunction.lean +++ b/Mathlib/Geometry/Manifold/BumpFunction.lean @@ -6,9 +6,10 @@ Authors: Yury Kudryashov module public import Mathlib.Analysis.Calculus.BumpFunction.FiniteDimension +public import Mathlib.Geometry.Manifold.ContMDiff.NormedSpace + import Mathlib.Geometry.Manifold.Algebra.SMul import Mathlib.Geometry.Manifold.ContMDiff.Atlas -public import Mathlib.Geometry.Manifold.ContMDiff.NormedSpace import Mathlib.Geometry.Manifold.Notation import Mathlib.Topology.MetricSpace.ProperSpace.Lemmas diff --git a/Mathlib/Geometry/Manifold/Complex.lean b/Mathlib/Geometry/Manifold/Complex.lean index b983b427930d7a..4983d8b031b865 100644 --- a/Mathlib/Geometry/Manifold/Complex.lean +++ b/Mathlib/Geometry/Manifold/Complex.lean @@ -6,9 +6,10 @@ Authors: Heather Macbeth module public import Mathlib.Analysis.Complex.AbsMax +public import Mathlib.Geometry.Manifold.MFDeriv.Defs + import Mathlib.Geometry.Manifold.Notation import Mathlib.Geometry.Manifold.MFDeriv.SpecificFunctions -public import Mathlib.Geometry.Manifold.MFDeriv.Defs /-! # Holomorphic functions on complex manifolds diff --git a/Mathlib/Geometry/Manifold/ContMDiff/Atlas.lean b/Mathlib/Geometry/Manifold/ContMDiff/Atlas.lean index 2d124a98367aa4..a53e487ac5a111 100644 --- a/Mathlib/Geometry/Manifold/ContMDiff/Atlas.lean +++ b/Mathlib/Geometry/Manifold/ContMDiff/Atlas.lean @@ -5,9 +5,10 @@ Authors: Sébastien Gouëzel, Floris van Doorn -/ module -import Mathlib.Geometry.Manifold.ContMDiff.NormedSpace public import Mathlib.Geometry.Manifold.ContMDiff.Defs +import Mathlib.Geometry.Manifold.ContMDiff.NormedSpace + /-! # Smoothness of charts and local structomorphisms diff --git a/Mathlib/Geometry/Manifold/ContMDiff/NormedSpace.lean b/Mathlib/Geometry/Manifold/ContMDiff/NormedSpace.lean index ccc4db68fba80c..1d0545ff614d9d 100644 --- a/Mathlib/Geometry/Manifold/ContMDiff/NormedSpace.lean +++ b/Mathlib/Geometry/Manifold/ContMDiff/NormedSpace.lean @@ -6,6 +6,7 @@ Authors: Sébastien Gouëzel, Floris van Doorn module public import Mathlib.Geometry.Manifold.ContMDiff.Constructions + import Mathlib.Analysis.Normed.Operator.Prod /-! ## Equivalence of smoothness with the basic definition for functions between vector spaces diff --git a/Mathlib/Geometry/Manifold/ContMDiffMFDeriv.lean b/Mathlib/Geometry/Manifold/ContMDiffMFDeriv.lean index 20ba0eb4691525..8148b2408adf73 100644 --- a/Mathlib/Geometry/Manifold/ContMDiffMFDeriv.lean +++ b/Mathlib/Geometry/Manifold/ContMDiffMFDeriv.lean @@ -5,9 +5,10 @@ Authors: Sébastien Gouëzel, Floris van Doorn -/ module -import Mathlib.Geometry.Manifold.MFDeriv.Tangent public import Mathlib.Geometry.Manifold.VectorBundle.Hom +import Mathlib.Geometry.Manifold.MFDeriv.Tangent + /-! ### Interactions between differentiability, smoothness and manifold derivatives diff --git a/Mathlib/Geometry/Manifold/Immersion.lean b/Mathlib/Geometry/Manifold/Immersion.lean index b02879f2023ec4..e4c69fd44f095a 100644 --- a/Mathlib/Geometry/Manifold/Immersion.lean +++ b/Mathlib/Geometry/Manifold/Immersion.lean @@ -7,8 +7,9 @@ module public import Mathlib.Geometry.Manifold.ImmersionDiff public import Mathlib.Geometry.Manifold.LocalSourceTargetProperty -import Mathlib.Geometry.Manifold.MFDeriv.NormedSpace public import Mathlib.Analysis.Normed.Module.Shrink -- shake: keep (NormedAddCommGroup (Shrink ...)), cf. lean#13417 + +import Mathlib.Geometry.Manifold.MFDeriv.NormedSpace import Mathlib.Topology.Algebra.Module.TransferInstance /-! # Smooth immersions diff --git a/Mathlib/Geometry/Manifold/Instances/Icc.lean b/Mathlib/Geometry/Manifold/Instances/Icc.lean index 06deffea81a8f8..f26e833790ad38 100644 --- a/Mathlib/Geometry/Manifold/Instances/Icc.lean +++ b/Mathlib/Geometry/Manifold/Instances/Icc.lean @@ -5,11 +5,12 @@ Authors: Sébastien Gouëzel -/ module -import Mathlib.Analysis.InnerProductSpace.Calculus public import Mathlib.Geometry.Manifold.Instances.Real public import Mathlib.Geometry.Manifold.MFDeriv.NormedSpace public import Mathlib.Geometry.Manifold.SmoothEmbedding +import Mathlib.Analysis.InnerProductSpace.Calculus + /-! # Manifold structure on real intervals The manifold structure on real intervals is defined in `Mathlib.Geometry.Manifold.Instances.Real`. diff --git a/Mathlib/Geometry/Manifold/Instances/Real.lean b/Mathlib/Geometry/Manifold/Instances/Real.lean index e6b62738956fe9..e868f42d055d1b 100644 --- a/Mathlib/Geometry/Manifold/Instances/Real.lean +++ b/Mathlib/Geometry/Manifold/Instances/Real.lean @@ -5,10 +5,11 @@ Authors: Sébastien Gouëzel -/ module -import Mathlib.Analysis.Calculus.ContDiff.WithLp public import Mathlib.Analysis.InnerProductSpace.PiL2 public import Mathlib.Geometry.Manifold.IsManifold.InteriorBoundary +import Mathlib.Analysis.Calculus.ContDiff.WithLp + /-! # Constructing examples of manifolds over ℝ diff --git a/Mathlib/Geometry/Manifold/Instances/Sphere.lean b/Mathlib/Geometry/Manifold/Instances/Sphere.lean index a58e7c2b6755cf..bb06883bd807ba 100644 --- a/Mathlib/Geometry/Manifold/Instances/Sphere.lean +++ b/Mathlib/Geometry/Manifold/Instances/Sphere.lean @@ -5,14 +5,15 @@ Authors: Heather Macbeth -/ module -import Mathlib.Analysis.Calculus.Deriv.Inv public import Mathlib.Analysis.Complex.Circle public import Mathlib.Analysis.Normed.Module.Ball.Action -import Mathlib.Analysis.SpecialFunctions.ExpDeriv -import Mathlib.Analysis.InnerProductSpace.Calculus public import Mathlib.Geometry.Manifold.Algebra.LieGroup public import Mathlib.Geometry.Manifold.Instances.Real public import Mathlib.Geometry.Manifold.MFDeriv.NormedSpace + +import Mathlib.Analysis.Calculus.Deriv.Inv +import Mathlib.Analysis.SpecialFunctions.ExpDeriv +import Mathlib.Analysis.InnerProductSpace.Calculus import Mathlib.LinearAlgebra.Complex.FiniteDimensional /-! diff --git a/Mathlib/Geometry/Manifold/IntegralCurve/ExistUnique.lean b/Mathlib/Geometry/Manifold/IntegralCurve/ExistUnique.lean index d14dd6afeb5392..cd9576d9d2ac04 100644 --- a/Mathlib/Geometry/Manifold/IntegralCurve/ExistUnique.lean +++ b/Mathlib/Geometry/Manifold/IntegralCurve/ExistUnique.lean @@ -5,12 +5,13 @@ Authors: Winston Yin -/ module -import Mathlib.Analysis.ODE.ExistUnique -import Mathlib.Analysis.ODE.Gronwall public import Mathlib.Analysis.ODE.PicardLindelof public import Mathlib.Geometry.Manifold.IntegralCurve.Transform public import Mathlib.Geometry.Manifold.IsManifold.InteriorBoundary +import Mathlib.Analysis.ODE.ExistUnique +import Mathlib.Analysis.ODE.Gronwall + /-! # Existence and uniqueness of integral curves diff --git a/Mathlib/Geometry/Manifold/MFDeriv/Basic.lean b/Mathlib/Geometry/Manifold/MFDeriv/Basic.lean index f8ac2c4675a5d2..573639ef5bb8cf 100644 --- a/Mathlib/Geometry/Manifold/MFDeriv/Basic.lean +++ b/Mathlib/Geometry/Manifold/MFDeriv/Basic.lean @@ -8,6 +8,7 @@ module public import Mathlib.Analysis.Calculus.TangentCone.Prod public import Mathlib.Geometry.Manifold.MFDeriv.Defs public import Mathlib.Geometry.Manifold.ContMDiff.Defs + import Mathlib.Geometry.Manifold.Notation /-! diff --git a/Mathlib/Geometry/Manifold/MFDeriv/FDeriv.lean b/Mathlib/Geometry/Manifold/MFDeriv/FDeriv.lean index 54b16b5c879f2e..43690dd726912f 100644 --- a/Mathlib/Geometry/Manifold/MFDeriv/FDeriv.lean +++ b/Mathlib/Geometry/Manifold/MFDeriv/FDeriv.lean @@ -6,6 +6,7 @@ Authors: Sébastien Gouëzel, Floris van Doorn module public import Mathlib.Geometry.Manifold.MFDeriv.Basic + import Mathlib.Geometry.Manifold.Notation /-! diff --git a/Mathlib/Geometry/Manifold/MFDeriv/SpecificFunctions.lean b/Mathlib/Geometry/Manifold/MFDeriv/SpecificFunctions.lean index 0ce73090768f3d..a3837107a6d92b 100644 --- a/Mathlib/Geometry/Manifold/MFDeriv/SpecificFunctions.lean +++ b/Mathlib/Geometry/Manifold/MFDeriv/SpecificFunctions.lean @@ -7,6 +7,7 @@ module public import Mathlib.Analysis.Calculus.FDeriv.Mul public import Mathlib.Geometry.Manifold.MFDeriv.FDeriv + import Mathlib.Geometry.Manifold.Notation /-! diff --git a/Mathlib/Geometry/Manifold/Metrizable.lean b/Mathlib/Geometry/Manifold/Metrizable.lean index db71b6b8c0453d..4ec06b98e596ef 100644 --- a/Mathlib/Geometry/Manifold/Metrizable.lean +++ b/Mathlib/Geometry/Manifold/Metrizable.lean @@ -7,6 +7,7 @@ module public import Mathlib.Analysis.Normed.Module.FiniteDimension public import Mathlib.Geometry.Manifold.IsManifold.Basic + import Mathlib.Topology.Compactness.Paracompact import Mathlib.Topology.Metrizable.Urysohn diff --git a/Mathlib/Geometry/Manifold/Notation.lean b/Mathlib/Geometry/Manifold/Notation.lean index dc87f1b849f015..f8371c34130329 100644 --- a/Mathlib/Geometry/Manifold/Notation.lean +++ b/Mathlib/Geometry/Manifold/Notation.lean @@ -5,9 +5,10 @@ Authors: Patrick Massot, Michael Rothgang, Thomas Murrills -/ module -import Mathlib.Geometry.Manifold.ContMDiff.Defs public import Mathlib.Geometry.Manifold.MFDeriv.Defs +import Mathlib.Geometry.Manifold.ContMDiff.Defs + /-! # Elaborators for differential geometry diff --git a/Mathlib/Geometry/Manifold/PartitionOfUnity.lean b/Mathlib/Geometry/Manifold/PartitionOfUnity.lean index bd0cdcc34116a1..1293d133eaf7c4 100644 --- a/Mathlib/Geometry/Manifold/PartitionOfUnity.lean +++ b/Mathlib/Geometry/Manifold/PartitionOfUnity.lean @@ -5,10 +5,11 @@ Authors: Yury Kudryashov -/ module -import Mathlib.Geometry.Manifold.Algebra.Structures public import Mathlib.Geometry.Manifold.BumpFunction public import Mathlib.Geometry.Manifold.VectorBundle.ContMDiffSection public import Mathlib.Topology.MetricSpace.PartitionOfUnity + +import Mathlib.Geometry.Manifold.Algebra.Structures import Mathlib.Topology.ShrinkingLemma /-! diff --git a/Mathlib/Geometry/Manifold/Riemannian/Basic.lean b/Mathlib/Geometry/Manifold/Riemannian/Basic.lean index ef4d105d9fd9e1..57f3129fbc021a 100644 --- a/Mathlib/Geometry/Manifold/Riemannian/Basic.lean +++ b/Mathlib/Geometry/Manifold/Riemannian/Basic.lean @@ -7,6 +7,7 @@ module public import Mathlib.Geometry.Manifold.Riemannian.PathELength public import Mathlib.Geometry.Manifold.VectorBundle.Riemannian + import Mathlib.MeasureTheory.Integral.IntervalIntegral.ContDiff /-! # Riemannian manifolds diff --git a/Mathlib/Geometry/Manifold/Riemannian/PathELength.lean b/Mathlib/Geometry/Manifold/Riemannian/PathELength.lean index 818f7fb0b2adb1..fd4f0ca3adb5bd 100644 --- a/Mathlib/Geometry/Manifold/Riemannian/PathELength.lean +++ b/Mathlib/Geometry/Manifold/Riemannian/PathELength.lean @@ -6,11 +6,12 @@ Authors: Sébastien Gouëzel module public import Mathlib.Analysis.Calculus.AddTorsor.AffineMap -import Mathlib.Analysis.SpecialFunctions.SmoothTransition public import Mathlib.Geometry.Manifold.Instances.Icc public import Mathlib.MeasureTheory.Constructions.UnitInterval public import Mathlib.MeasureTheory.Function.JacobianOneDim +import Mathlib.Analysis.SpecialFunctions.SmoothTransition + /-! # Lengths of paths in manifolds Consider a manifold in which the tangent spaces have an enormed structure. Then one defines diff --git a/Mathlib/Geometry/Manifold/StructureGroupoid.lean b/Mathlib/Geometry/Manifold/StructureGroupoid.lean index 48536e96d768f8..b13a8beae0fa12 100644 --- a/Mathlib/Geometry/Manifold/StructureGroupoid.lean +++ b/Mathlib/Geometry/Manifold/StructureGroupoid.lean @@ -5,10 +5,11 @@ Authors: Sébastien Gouëzel -/ module -import Mathlib.Data.EReal.Operations public import Mathlib.Topology.MetricSpace.Bounded public import Mathlib.Topology.OpenPartialHomeomorph.Composition +import Mathlib.Data.EReal.Operations + /-! # Structure groupoids diff --git a/Mathlib/Geometry/Manifold/Submersion.lean b/Mathlib/Geometry/Manifold/Submersion.lean index a0f5f780d7b1e7..306c462679a58d 100644 --- a/Mathlib/Geometry/Manifold/Submersion.lean +++ b/Mathlib/Geometry/Manifold/Submersion.lean @@ -7,9 +7,10 @@ module public import Mathlib.Geometry.Manifold.LocalSourceTargetProperty public import Mathlib.Analysis.Normed.Module.Shrink +public import Mathlib.Geometry.Manifold.ContMDiff.NormedSpace + import Mathlib.Topology.Algebra.Module.TransferInstance import Mathlib.Geometry.Manifold.ContMDiff.Atlas -public import Mathlib.Geometry.Manifold.ContMDiff.NormedSpace import Mathlib.Geometry.Manifold.Notation /-! # Smooth submersions diff --git a/Mathlib/Geometry/Manifold/VectorBundle/CovariantDerivative/Basic.lean b/Mathlib/Geometry/Manifold/VectorBundle/CovariantDerivative/Basic.lean index 616077e930223a..3162f71398014b 100644 --- a/Mathlib/Geometry/Manifold/VectorBundle/CovariantDerivative/Basic.lean +++ b/Mathlib/Geometry/Manifold/VectorBundle/CovariantDerivative/Basic.lean @@ -5,11 +5,12 @@ Authors: Patrick Massot, Michael Rothgang, Heather Macbeth -/ module -import Mathlib.Geometry.Manifold.VectorBundle.ContMDiffSection public import Mathlib.Geometry.Manifold.VectorBundle.Tensoriality public import Mathlib.Geometry.Manifold.VectorBundle.MDifferentiable public import Mathlib.Topology.VectorBundle.Hom +import Mathlib.Geometry.Manifold.VectorBundle.ContMDiffSection + /-! # Covariant derivatives diff --git a/Mathlib/Geometry/Manifold/VectorBundle/CovariantDerivative/LeviCivita.lean b/Mathlib/Geometry/Manifold/VectorBundle/CovariantDerivative/LeviCivita.lean index a089386f125ba0..1bf8bd0192e3fe 100644 --- a/Mathlib/Geometry/Manifold/VectorBundle/CovariantDerivative/LeviCivita.lean +++ b/Mathlib/Geometry/Manifold/VectorBundle/CovariantDerivative/LeviCivita.lean @@ -5,10 +5,11 @@ Authors: Patrick Massot, Michael Rothgang, Heather Macbeth -/ module -import Mathlib.Analysis.InnerProductSpace.Dual public import Mathlib.Geometry.Manifold.VectorBundle.CovariantDerivative.Metric public import Mathlib.Geometry.Manifold.VectorBundle.CovariantDerivative.Torsion +import Mathlib.Analysis.InnerProductSpace.Dual + /-! # The Levi-Civita connection on a Riemannian manifold diff --git a/Mathlib/Geometry/Manifold/VectorBundle/LocalFrame.lean b/Mathlib/Geometry/Manifold/VectorBundle/LocalFrame.lean index 9de8a391837d40..c773ab06d1aac7 100644 --- a/Mathlib/Geometry/Manifold/VectorBundle/LocalFrame.lean +++ b/Mathlib/Geometry/Manifold/VectorBundle/LocalFrame.lean @@ -6,6 +6,7 @@ Authors: Patrick Massot, Michael Rothgang module public import Mathlib.Geometry.Manifold.VectorBundle.MDifferentiable + import Mathlib.Geometry.Manifold.VectorBundle.ContMDiffSection /-! diff --git a/Mathlib/Geometry/Manifold/VectorBundle/Riemannian.lean b/Mathlib/Geometry/Manifold/VectorBundle/Riemannian.lean index 8de513d76c12ce..b596c8b880a34c 100644 --- a/Mathlib/Geometry/Manifold/VectorBundle/Riemannian.lean +++ b/Mathlib/Geometry/Manifold/VectorBundle/Riemannian.lean @@ -5,10 +5,11 @@ Authors: Sébastien Gouëzel -/ module -import Mathlib.Geometry.Manifold.VectorBundle.Hom public import Mathlib.Geometry.Manifold.VectorBundle.MDifferentiable public import Mathlib.Topology.VectorBundle.Riemannian +import Mathlib.Geometry.Manifold.VectorBundle.Hom + /-! # Riemannian vector bundles Given a vector bundle over a manifold whose fibers are all endowed with a scalar product, we diff --git a/Mathlib/Geometry/Manifold/VectorBundle/Tangent.lean b/Mathlib/Geometry/Manifold/VectorBundle/Tangent.lean index f641749dc16fee..08a2bb52fbe4cc 100644 --- a/Mathlib/Geometry/Manifold/VectorBundle/Tangent.lean +++ b/Mathlib/Geometry/Manifold/VectorBundle/Tangent.lean @@ -6,6 +6,7 @@ Authors: Floris van Doorn, Heather Macbeth module public import Mathlib.Geometry.Manifold.VectorBundle.Basic + import Mathlib.Geometry.Manifold.Notation /-! # Tangent bundles diff --git a/Mathlib/Geometry/Manifold/VectorBundle/Tensoriality.lean b/Mathlib/Geometry/Manifold/VectorBundle/Tensoriality.lean index a494d4bef9dae9..8e22bd633730af 100644 --- a/Mathlib/Geometry/Manifold/VectorBundle/Tensoriality.lean +++ b/Mathlib/Geometry/Manifold/VectorBundle/Tensoriality.lean @@ -8,11 +8,12 @@ module public import Mathlib.Topology.Algebra.Module.FiniteDimensionBilinear public import Mathlib.Topology.Algebra.Module.TransferInstance public import Mathlib.Topology.VectorBundle.FiniteDimensional -import Mathlib.Geometry.Manifold.Notation -import Mathlib.Geometry.Manifold.VectorBundle.LocalFrame public import Mathlib.Geometry.Manifold.MFDeriv.Defs public import Mathlib.Geometry.Manifold.VectorBundle.Basic +import Mathlib.Geometry.Manifold.Notation +import Mathlib.Geometry.Manifold.VectorBundle.LocalFrame + /-! # The tensoriality criterion diff --git a/Mathlib/Geometry/Manifold/VectorField/Pullback.lean b/Mathlib/Geometry/Manifold/VectorField/Pullback.lean index 9fc07331195420..1f67d892534a9f 100644 --- a/Mathlib/Geometry/Manifold/VectorField/Pullback.lean +++ b/Mathlib/Geometry/Manifold/VectorField/Pullback.lean @@ -6,9 +6,10 @@ Authors: Sébastien Gouëzel module public import Mathlib.Analysis.Calculus.VectorField -import Mathlib.Geometry.Manifold.ContMDiffMFDeriv public import Mathlib.Geometry.Manifold.VectorBundle.MDifferentiable +import Mathlib.Geometry.Manifold.ContMDiffMFDeriv + /-! # Vector fields in manifolds diff --git a/Mathlib/Geometry/Manifold/WhitneyEmbedding.lean b/Mathlib/Geometry/Manifold/WhitneyEmbedding.lean index 2c71d84917a1a3..87e24810952de3 100644 --- a/Mathlib/Geometry/Manifold/WhitneyEmbedding.lean +++ b/Mathlib/Geometry/Manifold/WhitneyEmbedding.lean @@ -5,9 +5,10 @@ Authors: Yury Kudryashov -/ module -import Mathlib.FieldTheory.Finiteness public import Mathlib.Geometry.Manifold.PartitionOfUnity +import Mathlib.FieldTheory.Finiteness + /-! # Whitney embedding theorem diff --git a/Mathlib/Geometry/Polygon/Basic.lean b/Mathlib/Geometry/Polygon/Basic.lean index 7e9e7d52ce82ba..531cef177b204f 100644 --- a/Mathlib/Geometry/Polygon/Basic.lean +++ b/Mathlib/Geometry/Polygon/Basic.lean @@ -6,6 +6,7 @@ Authors: A. M. Berns module public import Mathlib.Analysis.Convex.Between + import Mathlib.Tactic.Continuity /-! diff --git a/Mathlib/Geometry/RingedSpace/Basic.lean b/Mathlib/Geometry/RingedSpace/Basic.lean index 069b758a234094..6d275a3238f49e 100644 --- a/Mathlib/Geometry/RingedSpace/Basic.lean +++ b/Mathlib/Geometry/RingedSpace/Basic.lean @@ -7,9 +7,10 @@ module public import Mathlib.Algebra.Category.Ring.Colimits public import Mathlib.Algebra.Category.Ring.FilteredColimits +public import Mathlib.Geometry.RingedSpace.SheafedSpace + import Mathlib.Algebra.Category.Ring.Limits import Mathlib.Algebra.Order.Group.Nat -public import Mathlib.Geometry.RingedSpace.SheafedSpace /-! # Ringed spaces diff --git a/Mathlib/Geometry/RingedSpace/LocallyRingedSpace/HasColimits.lean b/Mathlib/Geometry/RingedSpace/LocallyRingedSpace/HasColimits.lean index 18ee4a81cacb3b..056dc098568d76 100644 --- a/Mathlib/Geometry/RingedSpace/LocallyRingedSpace/HasColimits.lean +++ b/Mathlib/Geometry/RingedSpace/LocallyRingedSpace/HasColimits.lean @@ -6,9 +6,10 @@ Authors: Andrew Yang module public import Mathlib.Geometry.RingedSpace.OpenImmersion -import Mathlib.CategoryTheory.Limits.Types.Coequalizers public import Mathlib.CategoryTheory.Limits.Constructions.LimitsOfProductsAndEqualizers +import Mathlib.CategoryTheory.Limits.Types.Coequalizers + /-! # Colimits of LocallyRingedSpace diff --git a/Mathlib/Geometry/RingedSpace/PresheafedSpace.lean b/Mathlib/Geometry/RingedSpace/PresheafedSpace.lean index 5e15e17de6e8b7..36aa360d1cb4c8 100644 --- a/Mathlib/Geometry/RingedSpace/PresheafedSpace.lean +++ b/Mathlib/Geometry/RingedSpace/PresheafedSpace.lean @@ -5,9 +5,10 @@ Authors: Kim Morrison -/ module -import Mathlib.CategoryTheory.Adjunction.FullyFaithful public import Mathlib.Topology.Sheaves.Presheaf +import Mathlib.CategoryTheory.Adjunction.FullyFaithful + /-! # Presheafed spaces diff --git a/Mathlib/Geometry/RingedSpace/PresheafedSpace/HasColimits.lean b/Mathlib/Geometry/RingedSpace/PresheafedSpace/HasColimits.lean index b5d38bdd9a2599..aeba248ea84091 100644 --- a/Mathlib/Geometry/RingedSpace/PresheafedSpace/HasColimits.lean +++ b/Mathlib/Geometry/RingedSpace/PresheafedSpace/HasColimits.lean @@ -6,9 +6,10 @@ Authors: Kim Morrison module public import Mathlib.Geometry.RingedSpace.PresheafedSpace -import Mathlib.Topology.Category.TopCat.Limits.Basic public import Mathlib.Topology.Sheaves.Limits +import Mathlib.Topology.Category.TopCat.Limits.Basic + /-! # `PresheafedSpace C` has colimits. diff --git a/Mathlib/GroupTheory/Archimedean.lean b/Mathlib/GroupTheory/Archimedean.lean index 7030d408988017..d57e01a0cc4942 100644 --- a/Mathlib/GroupTheory/Archimedean.lean +++ b/Mathlib/GroupTheory/Archimedean.lean @@ -7,6 +7,7 @@ module public import Mathlib.Algebra.Group.Subgroup.Order public import Mathlib.Algebra.Order.Archimedean.Basic + import Mathlib.Algebra.Order.Group.Basic /-! diff --git a/Mathlib/GroupTheory/ArchimedeanDensely.lean b/Mathlib/GroupTheory/ArchimedeanDensely.lean index 594f4c7df1eed8..2302cbc8f5a9ff 100644 --- a/Mathlib/GroupTheory/ArchimedeanDensely.lean +++ b/Mathlib/GroupTheory/ArchimedeanDensely.lean @@ -6,11 +6,12 @@ Authors: Yakov Pechersky module public import Mathlib.Algebra.Order.Monoid.LocallyFiniteOrder -import Mathlib.Data.Int.Interval public import Mathlib.GroupTheory.Archimedean public import Mathlib.GroupTheory.SpecificGroups.Cyclic public import Mathlib.Order.Interval.Finset.DenselyOrdered +import Mathlib.Data.Int.Interval + /-! # Archimedean groups are either discrete or densely ordered diff --git a/Mathlib/GroupTheory/ClassEquation.lean b/Mathlib/GroupTheory/ClassEquation.lean index 2ef2d8b575e292..583c03ec0b9618 100644 --- a/Mathlib/GroupTheory/ClassEquation.lean +++ b/Mathlib/GroupTheory/ClassEquation.lean @@ -7,10 +7,11 @@ module public import Mathlib.Algebra.BigOperators.Finprod public import Mathlib.Algebra.Group.ConjFinite -import Mathlib.Algebra.Group.Subgroup.Finite public import Mathlib.Data.Set.Card public import Mathlib.GroupTheory.Subgroup.Center +import Mathlib.Algebra.Group.Subgroup.Finite + /-! # Class Equation diff --git a/Mathlib/GroupTheory/Commutator/Finite.lean b/Mathlib/GroupTheory/Commutator/Finite.lean index 271cf6636572e3..241099ec0fd06c 100644 --- a/Mathlib/GroupTheory/Commutator/Finite.lean +++ b/Mathlib/GroupTheory/Commutator/Finite.lean @@ -5,10 +5,11 @@ Authors: Jordan Brown, Thomas Browning, Patrick Lutz -/ module -import Mathlib.Algebra.Group.Subgroup.Finite public import Mathlib.GroupTheory.Rank public import Mathlib.GroupTheory.Index +import Mathlib.Algebra.Group.Subgroup.Finite + /-! # Commutators of finite direct products diff --git a/Mathlib/GroupTheory/CommutingProbability.lean b/Mathlib/GroupTheory/CommutingProbability.lean index 7fc0f90561aed0..dfaced37f9741d 100644 --- a/Mathlib/GroupTheory/CommutingProbability.lean +++ b/Mathlib/GroupTheory/CommutingProbability.lean @@ -5,9 +5,10 @@ Authors: Thomas Browning -/ module +public import Mathlib.GroupTheory.SpecificGroups.Dihedral + import Mathlib.Algebra.BigOperators.Fin import Mathlib.GroupTheory.Abelianization.Finite -public import Mathlib.GroupTheory.SpecificGroups.Dihedral import Mathlib.Tactic.FieldSimp import Mathlib.Tactic.Qify diff --git a/Mathlib/GroupTheory/CosetCover.lean b/Mathlib/GroupTheory/CosetCover.lean index 724c22e7bf0083..87b27f7db66f46 100644 --- a/Mathlib/GroupTheory/CosetCover.lean +++ b/Mathlib/GroupTheory/CosetCover.lean @@ -5,9 +5,10 @@ Authors: Antoine Chambert-Loir, Richard Copley -/ module -import Mathlib.Algebra.Order.Ring.Rat public import Mathlib.GroupTheory.Complement public import Mathlib.LinearAlgebra.Basis.VectorSpace + +import Mathlib.Algebra.Order.Ring.Rat import Mathlib.Algebra.Order.BigOperators.Group.Finset /-! # Lemma of B. H. Neumann on coverings of a group by cosets. diff --git a/Mathlib/GroupTheory/Coxeter/Basic.lean b/Mathlib/GroupTheory/Coxeter/Basic.lean index 0a90c4e8a6eee8..dcf3fd0eb22523 100644 --- a/Mathlib/GroupTheory/Coxeter/Basic.lean +++ b/Mathlib/GroupTheory/Coxeter/Basic.lean @@ -7,9 +7,10 @@ module public import Mathlib.GroupTheory.Coxeter.Matrix public import Mathlib.GroupTheory.PresentedGroup -import Mathlib.Tactic.NormNum.DivMod public import Mathlib.Tactic.Ring +import Mathlib.Tactic.NormNum.DivMod + /-! # Coxeter groups and Coxeter systems diff --git a/Mathlib/GroupTheory/Coxeter/Inversion.lean b/Mathlib/GroupTheory/Coxeter/Inversion.lean index 1ebac013db1483..dbbfe9632616c6 100644 --- a/Mathlib/GroupTheory/Coxeter/Inversion.lean +++ b/Mathlib/GroupTheory/Coxeter/Inversion.lean @@ -6,6 +6,7 @@ Authors: Mitchell Lee, Óscar Álvarez module public import Mathlib.GroupTheory.Coxeter.Length + import Mathlib.Data.List.GetD import Mathlib.Tactic.Group diff --git a/Mathlib/GroupTheory/Divisible.lean b/Mathlib/GroupTheory/Divisible.lean index f2beb9755e25d5..15747edc0ddffe 100644 --- a/Mathlib/GroupTheory/Divisible.lean +++ b/Mathlib/GroupTheory/Divisible.lean @@ -9,9 +9,10 @@ public import Mathlib.Algebra.Group.ULift public import Mathlib.Algebra.GroupWithZero.Subgroup public import Mathlib.Algebra.Module.NatInt public import Mathlib.GroupTheory.QuotientGroup.Defs -import Mathlib.Tactic.NormNum.Eq public import Mathlib.Algebra.Field.Defs +import Mathlib.Tactic.NormNum.Eq + /-! # Divisible Group and rootable group diff --git a/Mathlib/GroupTheory/DivisibleHull.lean b/Mathlib/GroupTheory/DivisibleHull.lean index ca642f5a00924b..5c3fe81f7d380f 100644 --- a/Mathlib/GroupTheory/DivisibleHull.lean +++ b/Mathlib/GroupTheory/DivisibleHull.lean @@ -6,12 +6,13 @@ Authors: Weiyi Wang module public import Mathlib.Algebra.Module.LocalizedModule.Basic -import Mathlib.Algebra.Order.Archimedean.Basic public import Mathlib.Algebra.Order.Module.Archimedean public import Mathlib.Algebra.Order.Monoid.PNat public import Mathlib.Basic.Sign.Defs public import Mathlib.RingTheory.Localization.FractionRing +import Mathlib.Algebra.Order.Archimedean.Basic + /-! # Divisible Hull of an abelian group diff --git a/Mathlib/GroupTheory/FiniteAbelian/Basic.lean b/Mathlib/GroupTheory/FiniteAbelian/Basic.lean index 615b1722040ac4..4bf65304ba8654 100644 --- a/Mathlib/GroupTheory/FiniteAbelian/Basic.lean +++ b/Mathlib/GroupTheory/FiniteAbelian/Basic.lean @@ -6,6 +6,7 @@ Authors: Pierre-Alexandre Bazin module public import Mathlib.Algebra.Module.PID + import Mathlib.Data.ZMod.QuotientRing /-! diff --git a/Mathlib/GroupTheory/Focal.lean b/Mathlib/GroupTheory/Focal.lean index ac18b45699f384..0969aaeab45e90 100644 --- a/Mathlib/GroupTheory/Focal.lean +++ b/Mathlib/GroupTheory/Focal.lean @@ -5,9 +5,10 @@ Authors: Boyang Hu -/ module -import Mathlib.GroupTheory.Abelianization.Defs public import Mathlib.GroupTheory.Transfer +import Mathlib.GroupTheory.Abelianization.Defs + /-! # Focal Subgroup Theorem diff --git a/Mathlib/GroupTheory/FreeGroup/CyclicallyReduced.lean b/Mathlib/GroupTheory/FreeGroup/CyclicallyReduced.lean index 5daffa0c9979b5..0cc06e603d515c 100644 --- a/Mathlib/GroupTheory/FreeGroup/CyclicallyReduced.lean +++ b/Mathlib/GroupTheory/FreeGroup/CyclicallyReduced.lean @@ -6,6 +6,7 @@ Authors: Amir Livne Bar-on, Bernhard Reinke module public import Mathlib.GroupTheory.FreeGroup.Reduce + import Mathlib.Tactic.Group /-! diff --git a/Mathlib/GroupTheory/FreeGroup/Reduce.lean b/Mathlib/GroupTheory/FreeGroup/Reduce.lean index 45cff61d779826..5b1960c1367d78 100644 --- a/Mathlib/GroupTheory/FreeGroup/Reduce.lean +++ b/Mathlib/GroupTheory/FreeGroup/Reduce.lean @@ -7,9 +7,10 @@ module public import Mathlib.Data.Finset.Dedup public import Mathlib.Data.Fintype.Defs -import Mathlib.Data.List.Sublists public import Mathlib.GroupTheory.FreeGroup.Basic +import Mathlib.Data.List.Sublists + /-! # The maximal reduction of a word in a free group diff --git a/Mathlib/GroupTheory/GroupAction/CardCommute.lean b/Mathlib/GroupTheory/GroupAction/CardCommute.lean index 21a2b2140c2b9f..acc3ca135227ff 100644 --- a/Mathlib/GroupTheory/GroupAction/CardCommute.lean +++ b/Mathlib/GroupTheory/GroupAction/CardCommute.lean @@ -6,9 +6,10 @@ Authors: Chris Hughes, Thomas Browning module public import Mathlib.Algebra.Group.ConjFinite -import Mathlib.GroupTheory.Coset.Card public import Mathlib.GroupTheory.GroupAction.Quotient +import Mathlib.GroupTheory.Coset.Card + /-! # Properties of group actions involving quotient groups diff --git a/Mathlib/GroupTheory/GroupAction/FixedPoints.lean b/Mathlib/GroupTheory/GroupAction/FixedPoints.lean index 66823e6f86378b..b725e015cff068 100644 --- a/Mathlib/GroupTheory/GroupAction/FixedPoints.lean +++ b/Mathlib/GroupTheory/GroupAction/FixedPoints.lean @@ -6,11 +6,12 @@ Authors: Emilie Burgun module public import Mathlib.Algebra.Group.Action.Pointwise.Set.Basic -import Mathlib.Algebra.Group.Commute.Basic public import Mathlib.Dynamics.PeriodicPts.Defs public import Mathlib.GroupTheory.GroupAction.Defs public import Mathlib.GroupTheory.GroupAction.Hom +import Mathlib.Algebra.Group.Commute.Basic + /-! # Properties of `fixedPoints` and `fixedBy` diff --git a/Mathlib/GroupTheory/GroupAction/Jordan.lean b/Mathlib/GroupTheory/GroupAction/Jordan.lean index bf1412b59662f2..59aec5f0c27a03 100644 --- a/Mathlib/GroupTheory/GroupAction/Jordan.lean +++ b/Mathlib/GroupTheory/GroupAction/Jordan.lean @@ -5,9 +5,10 @@ Authors: Antoine Chambert-Loir -/ module -import Mathlib.Algebra.Group.Pointwise.Set.Card public import Mathlib.GroupTheory.GroupAction.MultiplePrimitivity +import Mathlib.Algebra.Group.Pointwise.Set.Card + /-! # Theorems of Jordan A proof of theorems of Jordan regarding primitive permutation groups. diff --git a/Mathlib/GroupTheory/GroupAction/MultipleTransitivity.lean b/Mathlib/GroupTheory/GroupAction/MultipleTransitivity.lean index bcc803e9de22c9..a76116c772b53b 100644 --- a/Mathlib/GroupTheory/GroupAction/MultipleTransitivity.lean +++ b/Mathlib/GroupTheory/GroupAction/MultipleTransitivity.lean @@ -7,6 +7,7 @@ module public import Mathlib.GroupTheory.SpecificGroups.Alternating public import Mathlib.GroupTheory.GroupAction.SubMulAction.OfFixingSubgroup + import Mathlib.SetTheory.Cardinal.Embedding /-! # Multiple transitivity diff --git a/Mathlib/GroupTheory/GroupAction/Pointwise.lean b/Mathlib/GroupTheory/GroupAction/Pointwise.lean index 88dc9ffc1baf5d..75850cbb78b4fa 100644 --- a/Mathlib/GroupTheory/GroupAction/Pointwise.lean +++ b/Mathlib/GroupTheory/GroupAction/Pointwise.lean @@ -7,8 +7,9 @@ Authors: Nathaniel Thomas, Jeremy Avigad, Johannes Hölzl, Mario Carneiro, Anne module public import Mathlib.Algebra.Group.Pointwise.Set.Scalar -import Mathlib.Data.Set.Function public import Mathlib.GroupTheory.GroupAction.Hom + +import Mathlib.Data.Set.Function import Mathlib.Algebra.Group.Units.Hom /-! diff --git a/Mathlib/GroupTheory/GroupAction/SubMulAction/OfFixingSubgroup.lean b/Mathlib/GroupTheory/GroupAction/SubMulAction/OfFixingSubgroup.lean index 1e649c9ee8590b..c5dbadc3fadbbd 100644 --- a/Mathlib/GroupTheory/GroupAction/SubMulAction/OfFixingSubgroup.lean +++ b/Mathlib/GroupTheory/GroupAction/SubMulAction/OfFixingSubgroup.lean @@ -5,11 +5,12 @@ Authors: Antoine Chambert-Loir -/ module -import Mathlib.Algebra.Group.Pointwise.Set.Card public import Mathlib.GroupTheory.GroupAction.FixingSubgroup public import Mathlib.GroupTheory.GroupAction.SubMulAction.OfStabilizer public import Mathlib.GroupTheory.GroupAction.Transitive public import Mathlib.GroupTheory.GroupAction.Primitive + +import Mathlib.Algebra.Group.Pointwise.Set.Card import Mathlib.Tactic.Group /-! diff --git a/Mathlib/GroupTheory/GroupExtension/Basic.lean b/Mathlib/GroupTheory/GroupExtension/Basic.lean index c530bdbae91898..929c609c40e7b2 100644 --- a/Mathlib/GroupTheory/GroupExtension/Basic.lean +++ b/Mathlib/GroupTheory/GroupExtension/Basic.lean @@ -6,6 +6,7 @@ Authors: Yudai Yamazaki module public import Mathlib.GroupTheory.GroupExtension.Defs + import Mathlib.Tactic.Group /-! diff --git a/Mathlib/GroupTheory/IndexNSmul.lean b/Mathlib/GroupTheory/IndexNSmul.lean index cc84e3d0f6c987..99b2892dcac67d 100644 --- a/Mathlib/GroupTheory/IndexNSmul.lean +++ b/Mathlib/GroupTheory/IndexNSmul.lean @@ -6,12 +6,12 @@ Authors: Michael Stoll module public import Mathlib.GroupTheory.Index +public import Mathlib.LinearAlgebra.Dimension.Free import Mathlib.Algebra.Group.Subgroup.ZPowers.Lemmas import Mathlib.Data.ZMod.QuotientGroup import Mathlib.LinearAlgebra.Dimension.Constructions import Mathlib.LinearAlgebra.FreeModule.StrongRankCondition -public import Mathlib.LinearAlgebra.Dimension.Free /-! # Lemmas about index and multiplication-by-n diff --git a/Mathlib/GroupTheory/IndexNormal.lean b/Mathlib/GroupTheory/IndexNormal.lean index 5c5155051c454a..d805b5ffe13ced 100644 --- a/Mathlib/GroupTheory/IndexNormal.lean +++ b/Mathlib/GroupTheory/IndexNormal.lean @@ -5,11 +5,12 @@ Authors: Antoine Chambert-Loir -/ module -import Mathlib.Data.Finite.Perm public import Mathlib.Data.Nat.Prime.Factorial public import Mathlib.GroupTheory.Index public import Mathlib.Order.Atoms +import Mathlib.Data.Finite.Perm + /-! # Subgroups of small index are normal * `Subgroup.normal_of_index_eq_smallest_prime_factor`: in a finite group `G`, diff --git a/Mathlib/GroupTheory/MonoidLocalization/Lemmas.lean b/Mathlib/GroupTheory/MonoidLocalization/Lemmas.lean index 9a452a1430071e..2731791ed806ba 100644 --- a/Mathlib/GroupTheory/MonoidLocalization/Lemmas.lean +++ b/Mathlib/GroupTheory/MonoidLocalization/Lemmas.lean @@ -5,9 +5,10 @@ Authors: Junyan Xu -/ module +public import Mathlib.GroupTheory.MonoidLocalization.Basic + import Mathlib.Algebra.Group.Pi.Units import Mathlib.Data.Fintype.Basic -public import Mathlib.GroupTheory.MonoidLocalization.Basic /-! # Lemmas about localizations of commutative monoids diff --git a/Mathlib/GroupTheory/MonoidLocalization/MonoidWithZero.lean b/Mathlib/GroupTheory/MonoidLocalization/MonoidWithZero.lean index 3a48db413f032b..4a693d288c0033 100644 --- a/Mathlib/GroupTheory/MonoidLocalization/MonoidWithZero.lean +++ b/Mathlib/GroupTheory/MonoidLocalization/MonoidWithZero.lean @@ -7,6 +7,7 @@ module public import Mathlib.Algebra.GroupWithZero.NonZeroDivisors public import Mathlib.GroupTheory.MonoidLocalization.Maps + import Mathlib.RingTheory.OreLocalization.Basic /-! diff --git a/Mathlib/GroupTheory/Nilpotent.lean b/Mathlib/GroupTheory/Nilpotent.lean index 5cbef24b603e8d..8e501ea54f4347 100644 --- a/Mathlib/GroupTheory/Nilpotent.lean +++ b/Mathlib/GroupTheory/Nilpotent.lean @@ -6,12 +6,13 @@ Authors: Kevin Buzzard, Ines Wright, Joachim Breitner module public import Mathlib.Algebra.Group.Subgroup.Order -import Mathlib.GroupTheory.Commutator.Finite public import Mathlib.GroupTheory.IndexNormal public import Mathlib.GroupTheory.QuotientGroup.Simple public import Mathlib.GroupTheory.Solvable public import Mathlib.GroupTheory.Sylow +import Mathlib.GroupTheory.Commutator.Finite + /-! # Nilpotent groups diff --git a/Mathlib/GroupTheory/OreLocalization/Cardinality.lean b/Mathlib/GroupTheory/OreLocalization/Cardinality.lean index f686767a2a77aa..d328db9ec89ab7 100644 --- a/Mathlib/GroupTheory/OreLocalization/Cardinality.lean +++ b/Mathlib/GroupTheory/OreLocalization/Cardinality.lean @@ -5,10 +5,11 @@ Authors: Jz Pan -/ module -import Mathlib.Data.Fintype.Pigeonhole public import Mathlib.GroupTheory.OreLocalization.Basic public import Mathlib.SetTheory.Cardinal.Arithmetic +import Mathlib.Data.Fintype.Pigeonhole + /-! # Cardinality of Ore localizations diff --git a/Mathlib/GroupTheory/Perm/Basic.lean b/Mathlib/GroupTheory/Perm/Basic.lean index a1a97dc2d66170..03c1e76f8fe36c 100644 --- a/Mathlib/GroupTheory/Perm/Basic.lean +++ b/Mathlib/GroupTheory/Perm/Basic.lean @@ -7,6 +7,7 @@ module public import Mathlib.Algebra.Group.Action.Defs public import Mathlib.Algebra.Group.End + import Mathlib.Data.Set.Function /-! diff --git a/Mathlib/GroupTheory/Perm/Centralizer.lean b/Mathlib/GroupTheory/Perm/Centralizer.lean index ff9700613b172d..ff5b2ef88b1f8f 100644 --- a/Mathlib/GroupTheory/Perm/Centralizer.lean +++ b/Mathlib/GroupTheory/Perm/Centralizer.lean @@ -9,6 +9,7 @@ public import Mathlib.Algebra.Order.BigOperators.Ring.Finset public import Mathlib.GroupTheory.NoncommCoprod public import Mathlib.GroupTheory.Perm.ConjAct public import Mathlib.GroupTheory.Perm.Cycle.PossibleTypes + import Mathlib.GroupTheory.Perm.DomMulAct import Mathlib.GroupTheory.Rank diff --git a/Mathlib/GroupTheory/Perm/ClosureSwap.lean b/Mathlib/GroupTheory/Perm/ClosureSwap.lean index c384e5155a11d5..5f944439f0dc4d 100644 --- a/Mathlib/GroupTheory/Perm/ClosureSwap.lean +++ b/Mathlib/GroupTheory/Perm/ClosureSwap.lean @@ -5,11 +5,12 @@ Authors: Thomas Browning, Junyan Xu -/ module -import Mathlib.Algebra.Group.Subgroup.Ker public import Mathlib.GroupTheory.GroupAction.Basic -import Mathlib.GroupTheory.GroupAction.FixedPoints public import Mathlib.GroupTheory.Perm.Support +import Mathlib.Algebra.Group.Subgroup.Ker +import Mathlib.GroupTheory.GroupAction.FixedPoints + /-! # Subgroups generated by transpositions diff --git a/Mathlib/GroupTheory/Perm/List.lean b/Mathlib/GroupTheory/Perm/List.lean index a80f7a179487c3..2821d78938a9be 100644 --- a/Mathlib/GroupTheory/Perm/List.lean +++ b/Mathlib/GroupTheory/Perm/List.lean @@ -5,9 +5,10 @@ Authors: Yakov Pechersky -/ module -import Mathlib.Algebra.Order.Group.Nat public import Mathlib.GroupTheory.Perm.Support +import Mathlib.Algebra.Order.Group.Nat + /-! # Permutations from a list diff --git a/Mathlib/GroupTheory/Perm/Sign.lean b/Mathlib/GroupTheory/Perm/Sign.lean index 5c6560ce575d8a..0b29062f280a8f 100644 --- a/Mathlib/GroupTheory/Perm/Sign.lean +++ b/Mathlib/GroupTheory/Perm/Sign.lean @@ -7,7 +7,6 @@ module public import Mathlib.Algebra.Group.Conj public import Mathlib.Algebra.Group.Subgroup.Lattice -import Mathlib.Algebra.Group.Submonoid.BigOperators public import Mathlib.Data.Finset.Fin public import Mathlib.Data.Finset.Sort public import Mathlib.Data.Fintype.Perm @@ -19,6 +18,8 @@ public import Mathlib.Logic.Equiv.Fintype public import Mathlib.Tactic.NormNum.Ineq public import Mathlib.Data.Finset.Sigma +import Mathlib.Algebra.Group.Submonoid.BigOperators + /-! # Sign of a permutation diff --git a/Mathlib/GroupTheory/Perm/Support.lean b/Mathlib/GroupTheory/Perm/Support.lean index 44c1536621d187..1fe6a14a8ff8c2 100644 --- a/Mathlib/GroupTheory/Perm/Support.lean +++ b/Mathlib/GroupTheory/Perm/Support.lean @@ -5,11 +5,12 @@ Authors: Chris Hughes, Aaron Anderson, Yakov Pechersky -/ module -import Mathlib.Algebra.Group.Commute.Basic public import Mathlib.Algebra.Group.End public import Mathlib.Data.Finset.NoncommProd public import Mathlib.Data.Fintype.Card +import Mathlib.Algebra.Group.Commute.Basic + /-! # support of a permutation diff --git a/Mathlib/GroupTheory/Schreier.lean b/Mathlib/GroupTheory/Schreier.lean index 9e6347bf3cef0d..2fb54f7d18662d 100644 --- a/Mathlib/GroupTheory/Schreier.lean +++ b/Mathlib/GroupTheory/Schreier.lean @@ -5,10 +5,11 @@ Authors: Thomas Browning -/ module -import Mathlib.GroupTheory.Abelianization.Defs public import Mathlib.GroupTheory.Commutator.Finite public import Mathlib.GroupTheory.Transfer +import Mathlib.GroupTheory.Abelianization.Defs + /-! # Schreier's Lemma diff --git a/Mathlib/GroupTheory/Solvable.lean b/Mathlib/GroupTheory/Solvable.lean index d85183f5637a25..ba395a78fd8376 100644 --- a/Mathlib/GroupTheory/Solvable.lean +++ b/Mathlib/GroupTheory/Solvable.lean @@ -5,12 +5,13 @@ Authors: Jordan Brown, Thomas Browning, Patrick Lutz -/ module -import Mathlib.Data.Fin.VecNotation public import Mathlib.GroupTheory.Abelianization.Defs public import Mathlib.GroupTheory.Perm.ViaEmbedding public import Mathlib.GroupTheory.Subgroup.Simple public import Mathlib.SetTheory.Cardinal.Order +import Mathlib.Data.Fin.VecNotation + /-! # Solvable Groups diff --git a/Mathlib/GroupTheory/SpecificGroups/Alternating.lean b/Mathlib/GroupTheory/SpecificGroups/Alternating.lean index 5fa5ce53881b17..904c7cac4b2ce3 100644 --- a/Mathlib/GroupTheory/SpecificGroups/Alternating.lean +++ b/Mathlib/GroupTheory/SpecificGroups/Alternating.lean @@ -5,11 +5,12 @@ Authors: Aaron Anderson, Antoine Chambert-Loir -/ module +public import Mathlib.GroupTheory.Perm.Fin +public import Mathlib.Data.Nat.Totient + import Mathlib.GroupTheory.IndexNormal import Mathlib.GroupTheory.Perm.ConjAct -public import Mathlib.GroupTheory.Perm.Fin import Mathlib.Tactic.IntervalCases -public import Mathlib.Data.Nat.Totient /-! # Alternating Groups diff --git a/Mathlib/GroupTheory/SpecificGroups/Cyclic.lean b/Mathlib/GroupTheory/SpecificGroups/Cyclic.lean index 0c4a680e011fee..f9ebb75107fbac 100644 --- a/Mathlib/GroupTheory/SpecificGroups/Cyclic.lean +++ b/Mathlib/GroupTheory/SpecificGroups/Cyclic.lean @@ -5,16 +5,17 @@ Authors: Johannes Hölzl -/ module -import Mathlib.Algebra.Group.TypeTags.Finite public import Mathlib.Algebra.Order.Hom.TypeTags public import Mathlib.Data.Nat.Totient public import Mathlib.Data.ZMod.Aut public import Mathlib.GroupTheory.Exponent public import Mathlib.GroupTheory.SpecificGroups.Cyclic.Basic public import Mathlib.GroupTheory.Subgroup.Simple -import Mathlib.Tactic.Group public import Mathlib.Tactic.IntervalCases +import Mathlib.Algebra.Group.TypeTags.Finite +import Mathlib.Tactic.Group + /-! # Further properties of cyclic groups diff --git a/Mathlib/GroupTheory/SpecificGroups/Dihedral.lean b/Mathlib/GroupTheory/SpecificGroups/Dihedral.lean index 7993ed6a039244..dce13127240316 100644 --- a/Mathlib/GroupTheory/SpecificGroups/Dihedral.lean +++ b/Mathlib/GroupTheory/SpecificGroups/Dihedral.lean @@ -5,10 +5,11 @@ Authors: Shing Tak Lam -/ module -import Mathlib.Basic.Finite.Sum public import Mathlib.GroupTheory.GroupAction.CardCommute public import Mathlib.GroupTheory.SpecificGroups.KleinFour +import Mathlib.Basic.Finite.Sum + /-! # Dihedral Groups diff --git a/Mathlib/GroupTheory/SpecificGroups/ZGroup.lean b/Mathlib/GroupTheory/SpecificGroups/ZGroup.lean index 13156936ed1e9c..ddac0c332047e9 100644 --- a/Mathlib/GroupTheory/SpecificGroups/ZGroup.lean +++ b/Mathlib/GroupTheory/SpecificGroups/ZGroup.lean @@ -6,11 +6,12 @@ Authors: Thomas Browning module public import Mathlib.FieldTheory.Finite.Basic -import Mathlib.GroupTheory.Abelianization.Finite public import Mathlib.GroupTheory.Nilpotent -import Mathlib.GroupTheory.SchurZassenhaus public import Mathlib.GroupTheory.SemidirectProduct +import Mathlib.GroupTheory.Abelianization.Finite +import Mathlib.GroupTheory.SchurZassenhaus + /-! # Z-Groups diff --git a/Mathlib/InformationTheory/Coding/KraftMcMillan.lean b/Mathlib/InformationTheory/Coding/KraftMcMillan.lean index eb0c61c558216d..92ff5030ab696b 100644 --- a/Mathlib/InformationTheory/Coding/KraftMcMillan.lean +++ b/Mathlib/InformationTheory/Coding/KraftMcMillan.lean @@ -5,10 +5,11 @@ Authors: Elazar Gershuni -/ module -import Mathlib.Algebra.BigOperators.Fin public import Mathlib.Basic.Real.Basic public import Mathlib.Data.Fintype.BigOperators public import Mathlib.InformationTheory.Coding.UniquelyDecodable + +import Mathlib.Algebra.BigOperators.Fin import Mathlib.Analysis.SpecificLimits.Normed /-! diff --git a/Mathlib/InformationTheory/Coding/UniquelyDecodable.lean b/Mathlib/InformationTheory/Coding/UniquelyDecodable.lean index 9ad16b44158d7e..6517f360e82b4b 100644 --- a/Mathlib/InformationTheory/Coding/UniquelyDecodable.lean +++ b/Mathlib/InformationTheory/Coding/UniquelyDecodable.lean @@ -6,9 +6,10 @@ Authors: Elazar Gershuni module public import Mathlib.Data.Subtype +public import Mathlib.Util.CompileInductive + import Mathlib.Tactic.Finiteness.Attr import Mathlib.Tactic.Push -public import Mathlib.Util.CompileInductive /-! # Uniquely Decodable Codes diff --git a/Mathlib/InformationTheory/KullbackLeibler/DataProcessing.lean b/Mathlib/InformationTheory/KullbackLeibler/DataProcessing.lean index 9c6649e32202f3..b880aa3fd79a5d 100644 --- a/Mathlib/InformationTheory/KullbackLeibler/DataProcessing.lean +++ b/Mathlib/InformationTheory/KullbackLeibler/DataProcessing.lean @@ -7,13 +7,13 @@ module public import Mathlib.InformationTheory.KullbackLeibler.Basic public import Mathlib.Probability.Kernel.Composition.MeasureComp +public import Mathlib.Probability.Notation import Mathlib.Analysis.Convex.Approximation import Mathlib.Analysis.Convex.Deriv import Mathlib.InformationTheory.KullbackLeibler.ChainRule import Mathlib.MeasureTheory.Function.ConditionalExpectation.CondJensen import Mathlib.MeasureTheory.Function.ConditionalExpectation.RadonNikodym -public import Mathlib.Probability.Notation /-! # Data processing inequality for the Kullback-Leibler divergence diff --git a/Mathlib/Lean/Elab/InfoTree.lean b/Mathlib/Lean/Elab/InfoTree.lean index c39c2cd9b85ecd..f183f0e164a7f8 100644 --- a/Mathlib/Lean/Elab/InfoTree.lean +++ b/Mathlib/Lean/Elab/InfoTree.lean @@ -8,6 +8,7 @@ module public import Mathlib.Lean.Environment public import Lean.Elab.InfoTree.Util public import Lean.Meta.TryThis + -- Import this linter explicitly to ensure that -- this file has a valid copyright header and module docstring. import Mathlib.Tactic.Linter.Header -- shake: keep diff --git a/Mathlib/Lean/Elab/Tactic/Meta.lean b/Mathlib/Lean/Elab/Tactic/Meta.lean index 70bac5c6540770..6306ce194f61e4 100644 --- a/Mathlib/Lean/Elab/Tactic/Meta.lean +++ b/Mathlib/Lean/Elab/Tactic/Meta.lean @@ -6,6 +6,7 @@ Authors: Kim Morrison module public meta import Lean.Elab.SyntheticMVars + -- Import this linter explicitly to ensure that -- this file has a valid copyright header and module docstring. import Mathlib.Tactic.Linter.Header -- shake: keep diff --git a/Mathlib/Lean/Elab/Term.lean b/Mathlib/Lean/Elab/Term.lean index 34e4b09faa16e7..c22bb7c68b6f7d 100644 --- a/Mathlib/Lean/Elab/Term.lean +++ b/Mathlib/Lean/Elab/Term.lean @@ -6,6 +6,7 @@ Authors: Kyle Miller, Thomas R. Murrills module public import Mathlib.Init + import Lean.Elab.Term /-! diff --git a/Mathlib/Lean/EnvExtension.lean b/Mathlib/Lean/EnvExtension.lean index edbe64ada84fe3..07863dbfedacbb 100644 --- a/Mathlib/Lean/EnvExtension.lean +++ b/Mathlib/Lean/EnvExtension.lean @@ -5,9 +5,10 @@ Authors: Floris van Doorn -/ module -import Mathlib.Init public import Lean.ScopedEnvExtension +import Mathlib.Init + /-! # Helper function for environment extensions and attributes. -/ diff --git a/Mathlib/Lean/Environment.lean b/Mathlib/Lean/Environment.lean index 5afff12cfbe458..8ef821bec22384 100644 --- a/Mathlib/Lean/Environment.lean +++ b/Mathlib/Lean/Environment.lean @@ -6,6 +6,7 @@ Authors: Thomas R. Murrills module public import Lean.Environment + -- Import this linter explicitly to ensure that -- this file has a valid copyright header and module docstring. import Mathlib.Tactic.Linter.Header -- shake: keep diff --git a/Mathlib/Lean/Exception.lean b/Mathlib/Lean/Exception.lean index f386b4ab301f02..b72b866186f140 100644 --- a/Mathlib/Lean/Exception.lean +++ b/Mathlib/Lean/Exception.lean @@ -5,9 +5,10 @@ Authors: Edward Ayers -/ module -import Mathlib.Init public import Lean.Exception +import Mathlib.Init + /-! # Additional methods for working with `Exception`s diff --git a/Mathlib/Lean/Expr/Basic.lean b/Mathlib/Lean/Expr/Basic.lean index 8ec6ee49b43c05..0d85c7d82f9902 100644 --- a/Mathlib/Lean/Expr/Basic.lean +++ b/Mathlib/Lean/Expr/Basic.lean @@ -6,11 +6,12 @@ Floris van Doorn, Edward Ayers, Arthur Paulino, Thomas R. Murrills -/ module +public import Lean.Meta.AppBuilder +public import Lean.Meta.Match.MatcherInfo + -- Import this linter explicitly to ensure that -- this file has a valid copyright header and module docstring. import Mathlib.Tactic.Linter.Header -- shake: keep -public import Lean.Meta.AppBuilder -public import Lean.Meta.Match.MatcherInfo import Lean.Meta.Transform /-! diff --git a/Mathlib/Lean/Expr/Rat.lean b/Mathlib/Lean/Expr/Rat.lean index 4eac4c63e8dd22..bf277591129e54 100644 --- a/Mathlib/Lean/Expr/Rat.lean +++ b/Mathlib/Lean/Expr/Rat.lean @@ -5,9 +5,10 @@ Authors: Mario Carneiro, Kim Morrison -/ module -import Mathlib.Init public import Lean.ToExpr +import Mathlib.Init + /-! # Additional operations on Expr and rational numbers diff --git a/Mathlib/Lean/FoldEnvironment.lean b/Mathlib/Lean/FoldEnvironment.lean index 6ef9bf577db185..d1663ac404490f 100644 --- a/Mathlib/Lean/FoldEnvironment.lean +++ b/Mathlib/Lean/FoldEnvironment.lean @@ -5,9 +5,10 @@ Authors: Jovan Gerbscheid -/ module -import Lean.Meta.Basic public import Mathlib.Init +import Lean.Meta.Basic + /-! # Folding through the environment efficiently diff --git a/Mathlib/Lean/GoalsLocation.lean b/Mathlib/Lean/GoalsLocation.lean index 0ee48dd1f5c5ec..f4d8409a3d1cac 100644 --- a/Mathlib/Lean/GoalsLocation.lean +++ b/Mathlib/Lean/GoalsLocation.lean @@ -5,10 +5,11 @@ Authors: Jovan Gerbscheid -/ module -import Mathlib.Init public import Lean.Meta.Tactic.Util public import Lean.SubExpr +import Mathlib.Init + /-! # Utilities for `SubExpr.GoalsLocation` diff --git a/Mathlib/Lean/Linter.lean b/Mathlib/Lean/Linter.lean index 639695de86e788..d9c6f0a4d5af2e 100644 --- a/Mathlib/Lean/Linter.lean +++ b/Mathlib/Lean/Linter.lean @@ -7,6 +7,7 @@ module public meta import Lean.Elab.Command public meta import Lean.Linter.Basic + -- Import this linter explicitly to ensure that -- this file has a valid copyright header and module docstring. import Mathlib.Tactic.Linter.Header -- shake: keep diff --git a/Mathlib/Lean/LocalContext.lean b/Mathlib/Lean/LocalContext.lean index 2a07455ef1acc3..6236c6ed463387 100644 --- a/Mathlib/Lean/LocalContext.lean +++ b/Mathlib/Lean/LocalContext.lean @@ -5,10 +5,11 @@ Authors: Kim Morrison -/ module -import Mathlib.Init public import Lean.LocalContext public import Batteries.Control.AlternativeMonad +import Mathlib.Init + /-! # Additional methods about `LocalContext` -/ diff --git a/Mathlib/Lean/MessageData/ForExprs.lean b/Mathlib/Lean/MessageData/ForExprs.lean index 759bb04be4d91a..02f8afe334fbc2 100644 --- a/Mathlib/Lean/MessageData/ForExprs.lean +++ b/Mathlib/Lean/MessageData/ForExprs.lean @@ -6,9 +6,10 @@ Authors: Eric Wieser, Kim Morrison module +public import Lean.Meta.Basic + import Mathlib.Init import Lean.Message -public import Lean.Meta.Basic /-! # Tools for extracting `Expr`s from `MessageData` nodes diff --git a/Mathlib/Lean/MessageData/Trace.lean b/Mathlib/Lean/MessageData/Trace.lean index 95d9c5f4a62690..374e39b6b08408 100644 --- a/Mathlib/Lean/MessageData/Trace.lean +++ b/Mathlib/Lean/MessageData/Trace.lean @@ -5,9 +5,10 @@ Authors: Kim Morrison -/ module -import Mathlib.Init public import Lean.Message +import Mathlib.Init + /-! # Utilities for analyzing `MessageData` diff --git a/Mathlib/Lean/Meta.lean b/Mathlib/Lean/Meta.lean index 702bb88f0a8de4..afcc9801afe8d1 100644 --- a/Mathlib/Lean/Meta.lean +++ b/Mathlib/Lean/Meta.lean @@ -6,6 +6,7 @@ Authors: Mario Carneiro module public import Mathlib.Init + import Lean.Elab.Term import Lean.Elab.Tactic.Basic import Lean.Meta.Tactic.Assert diff --git a/Mathlib/Lean/Meta/Basic.lean b/Mathlib/Lean/Meta/Basic.lean index 1f9b8457774278..c55d97f0229a0c 100644 --- a/Mathlib/Lean/Meta/Basic.lean +++ b/Mathlib/Lean/Meta/Basic.lean @@ -6,6 +6,7 @@ Authors: Kim Morrison module public import Mathlib.Init + import Lean.Meta.AppBuilder import Lean.Meta.Coe diff --git a/Mathlib/Lean/Meta/KAbstractPositions.lean b/Mathlib/Lean/Meta/KAbstractPositions.lean index 54b4115183613a..c7fa81721a8234 100644 --- a/Mathlib/Lean/Meta/KAbstractPositions.lean +++ b/Mathlib/Lean/Meta/KAbstractPositions.lean @@ -5,11 +5,12 @@ Authors: Jovan Gerbscheid -/ module -import Mathlib.Init public import Lean.HeadIndex public import Lean.Meta.ExprLens public import Lean.Meta.Check +import Mathlib.Init + /-! # Find the positions of a pattern in an expression diff --git a/Mathlib/Lean/Meta/RefinedDiscrTree/Encode.lean b/Mathlib/Lean/Meta/RefinedDiscrTree/Encode.lean index 425d5ec615bfe5..a6a666cb5d4f9e 100644 --- a/Mathlib/Lean/Meta/RefinedDiscrTree/Encode.lean +++ b/Mathlib/Lean/Meta/RefinedDiscrTree/Encode.lean @@ -6,9 +6,10 @@ Authors: Jovan Gerbscheid module public import Mathlib.Lean.Meta.RefinedDiscrTree.Basic -import Lean.Meta.DiscrTree public import Lean.Meta.LazyDiscrTree +import Lean.Meta.DiscrTree + /-! # Encoding an `Expr` as a sequence of `Key`s diff --git a/Mathlib/Lean/Meta/RefinedDiscrTree/Initialize.lean b/Mathlib/Lean/Meta/RefinedDiscrTree/Initialize.lean index bd79f8e6100bc0..ee7e81e69b624e 100644 --- a/Mathlib/Lean/Meta/RefinedDiscrTree/Initialize.lean +++ b/Mathlib/Lean/Meta/RefinedDiscrTree/Initialize.lean @@ -6,6 +6,7 @@ Authors: Jovan Gerbscheid module public import Mathlib.Lean.Meta.RefinedDiscrTree.Basic + import Lean.Meta.CompletionName /-! diff --git a/Mathlib/Lean/Meta/Tactic/Rewrite.lean b/Mathlib/Lean/Meta/Tactic/Rewrite.lean index 7008f868e7d608..30c01f2290cab2 100644 --- a/Mathlib/Lean/Meta/Tactic/Rewrite.lean +++ b/Mathlib/Lean/Meta/Tactic/Rewrite.lean @@ -5,9 +5,10 @@ Authors: Kim Morrison, Patrick Massot, Kyle Miller -/ module -import Mathlib.Init public import Lean.Meta.Tactic.Rewrite +import Mathlib.Init + /-! # Additional declarations for `Lean.Meta.Tactic.Rewrite` -/ diff --git a/Mathlib/Lean/Name.lean b/Mathlib/Lean/Name.lean index 9d3c3ce986ac8c..fe720739adfa03 100644 --- a/Mathlib/Lean/Name.lean +++ b/Mathlib/Lean/Name.lean @@ -6,6 +6,7 @@ Authors: Kim Morrison module public import Mathlib.Init + import Lean.Meta.Match.MatcherInfo /-! diff --git a/Mathlib/Lean/PrettyPrinter/Delaborator.lean b/Mathlib/Lean/PrettyPrinter/Delaborator.lean index 0d8b5cc9a6eef0..3ca5028722ca62 100644 --- a/Mathlib/Lean/PrettyPrinter/Delaborator.lean +++ b/Mathlib/Lean/PrettyPrinter/Delaborator.lean @@ -6,6 +6,7 @@ Authors: Kyle Miller module public import Mathlib.Init + import Lean.PrettyPrinter.Delaborator.Basic /-! diff --git a/Mathlib/LinearAlgebra/AffineSpace/Combination.lean b/Mathlib/LinearAlgebra/AffineSpace/Combination.lean index e4fc9ddac1d6cb..b1ef6551392b77 100644 --- a/Mathlib/LinearAlgebra/AffineSpace/Combination.lean +++ b/Mathlib/LinearAlgebra/AffineSpace/Combination.lean @@ -8,6 +8,7 @@ module public import Mathlib.Algebra.BigOperators.Group.Finset.Indicator public import Mathlib.Algebra.Module.BigOperators public import Mathlib.LinearAlgebra.AffineSpace.AffineSubspace.Basic + import Mathlib.LinearAlgebra.Finsupp.LinearCombination /-! diff --git a/Mathlib/LinearAlgebra/AffineSpace/FiniteDimensional.lean b/Mathlib/LinearAlgebra/AffineSpace/FiniteDimensional.lean index 90fc62acf91711..1423f66324c6e5 100644 --- a/Mathlib/LinearAlgebra/AffineSpace/FiniteDimensional.lean +++ b/Mathlib/LinearAlgebra/AffineSpace/FiniteDimensional.lean @@ -5,12 +5,12 @@ Authors: Joseph Myers -/ module -import Mathlib.FieldTheory.Finiteness public import Mathlib.LinearAlgebra.AffineSpace.Basis public import Mathlib.LinearAlgebra.AffineSpace.Simplex.Centroid public import Mathlib.LinearAlgebra.FiniteDimensional.Lemmas -import Mathlib.LinearAlgebra.Dimension.OrzechProperty +import Mathlib.FieldTheory.Finiteness +import Mathlib.LinearAlgebra.Dimension.OrzechProperty import Mathlib.RingTheory.Finiteness.Prod import Mathlib.LinearAlgebra.FreeModule.Finite.Matrix diff --git a/Mathlib/LinearAlgebra/AffineSpace/Midpoint.lean b/Mathlib/LinearAlgebra/AffineSpace/Midpoint.lean index dfed48ae3b334a..9bca6e82e55bde 100644 --- a/Mathlib/LinearAlgebra/AffineSpace/Midpoint.lean +++ b/Mathlib/LinearAlgebra/AffineSpace/Midpoint.lean @@ -5,9 +5,10 @@ Authors: Yury Kudryashov -/ module -import Mathlib.Algebra.Module.Basic public import Mathlib.LinearAlgebra.AffineSpace.AffineEquiv +import Mathlib.Algebra.Module.Basic + /-! # Midpoint of a segment diff --git a/Mathlib/LinearAlgebra/AffineSpace/Slope.lean b/Mathlib/LinearAlgebra/AffineSpace/Slope.lean index 6e5f2ee0754cca..068668baa00bfa 100644 --- a/Mathlib/LinearAlgebra/AffineSpace/Slope.lean +++ b/Mathlib/LinearAlgebra/AffineSpace/Slope.lean @@ -6,9 +6,10 @@ Authors: Yury Kudryashov module public import Mathlib.LinearAlgebra.AffineSpace.AffineMap -import Mathlib.Tactic.Field public import Mathlib.Tactic.FieldSimp public import Mathlib.Tactic.Module + +import Mathlib.Tactic.Field import Mathlib.Algebra.NoZeroSMulDivisors.Basic /-! diff --git a/Mathlib/LinearAlgebra/Alternating/Uncurry/Fin.lean b/Mathlib/LinearAlgebra/Alternating/Uncurry/Fin.lean index 55b7af27fa442c..360491967b3110 100644 --- a/Mathlib/LinearAlgebra/Alternating/Uncurry/Fin.lean +++ b/Mathlib/LinearAlgebra/Alternating/Uncurry/Fin.lean @@ -7,6 +7,7 @@ module public import Mathlib.LinearAlgebra.Alternating.Curry public import Mathlib.GroupTheory.Perm.Fin + import Mathlib.Data.Fin.Parity /-! diff --git a/Mathlib/LinearAlgebra/Basis/Cardinality.lean b/Mathlib/LinearAlgebra/Basis/Cardinality.lean index 376909932da411..6211636f016fa1 100644 --- a/Mathlib/LinearAlgebra/Basis/Cardinality.lean +++ b/Mathlib/LinearAlgebra/Basis/Cardinality.lean @@ -7,9 +7,10 @@ module public import Mathlib.LinearAlgebra.Basis.Defs public import Mathlib.LinearAlgebra.LinearIndependent.Defs -import Mathlib.LinearAlgebra.Span.Basic public import Mathlib.SetTheory.Cardinal.Pigeonhole +import Mathlib.LinearAlgebra.Span.Basic + /-! # Results relating bases and cardinality. -/ diff --git a/Mathlib/LinearAlgebra/CliffordAlgebra/SpinGroup.lean b/Mathlib/LinearAlgebra/CliffordAlgebra/SpinGroup.lean index d497f17cb8e860..9e0293a4423c4d 100644 --- a/Mathlib/LinearAlgebra/CliffordAlgebra/SpinGroup.lean +++ b/Mathlib/LinearAlgebra/CliffordAlgebra/SpinGroup.lean @@ -9,6 +9,7 @@ public import Mathlib.Algebra.Ring.Action.ConjAct public import Mathlib.Algebra.Star.Unitary public import Mathlib.LinearAlgebra.CliffordAlgebra.Star public import Mathlib.LinearAlgebra.CliffordAlgebra.Even + import Mathlib.LinearAlgebra.CliffordAlgebra.Inversion /-! diff --git a/Mathlib/LinearAlgebra/Complex/FiniteDimensional.lean b/Mathlib/LinearAlgebra/Complex/FiniteDimensional.lean index c3d6a203b03bdf..f0a176b4620a00 100644 --- a/Mathlib/LinearAlgebra/Complex/FiniteDimensional.lean +++ b/Mathlib/LinearAlgebra/Complex/FiniteDimensional.lean @@ -8,6 +8,7 @@ module public import Mathlib.Analysis.Complex.Cardinality public import Mathlib.LinearAlgebra.Complex.Module public import Mathlib.LinearAlgebra.FiniteDimensional.Defs + import Mathlib.Order.Interval.Set.Infinite /-! diff --git a/Mathlib/LinearAlgebra/Complex/Module.lean b/Mathlib/LinearAlgebra/Complex/Module.lean index e74c20bb8b93b8..57b2542a8bb518 100644 --- a/Mathlib/LinearAlgebra/Complex/Module.lean +++ b/Mathlib/LinearAlgebra/Complex/Module.lean @@ -12,6 +12,7 @@ public import Mathlib.Algebra.Star.Unitary public import Mathlib.Basic.Complex.Basic public import Mathlib.Basic.Real.Star public import Mathlib.LinearAlgebra.Matrix.ToLin + import Mathlib.Algebra.Module.Torsion.Field import Mathlib.Algebra.Order.Monoid.Submonoid diff --git a/Mathlib/LinearAlgebra/Countable.lean b/Mathlib/LinearAlgebra/Countable.lean index 99bdd119538860..00db1b548b24ac 100644 --- a/Mathlib/LinearAlgebra/Countable.lean +++ b/Mathlib/LinearAlgebra/Countable.lean @@ -6,9 +6,10 @@ Authors: Johannes Hölzl module public import Mathlib.Data.Finsupp.Encodable +public import Mathlib.RingTheory.Finiteness.Defs + import Mathlib.Data.Set.Countable import Mathlib.LinearAlgebra.Finsupp.LinearCombination -public import Mathlib.RingTheory.Finiteness.Defs /-! # Countable modules diff --git a/Mathlib/LinearAlgebra/Dimension/ErdosKaplansky.lean b/Mathlib/LinearAlgebra/Dimension/ErdosKaplansky.lean index adffcf36be9b7f..51710561f29fbc 100644 --- a/Mathlib/LinearAlgebra/Dimension/ErdosKaplansky.lean +++ b/Mathlib/LinearAlgebra/Dimension/ErdosKaplansky.lean @@ -5,11 +5,12 @@ Authors: Junyan Xu -/ module -import Mathlib.Algebra.Field.Opposite -import Mathlib.LinearAlgebra.Basis.VectorSpace public import Mathlib.LinearAlgebra.Dimension.Constructions public import Mathlib.SetTheory.Cardinal.Subfield +import Mathlib.Algebra.Field.Opposite +import Mathlib.LinearAlgebra.Basis.VectorSpace + /-! # Erdős-Kaplansky theorem diff --git a/Mathlib/LinearAlgebra/Dimension/LinearMap.lean b/Mathlib/LinearAlgebra/Dimension/LinearMap.lean index a5f6505c790648..f4ebd52b0a2009 100644 --- a/Mathlib/LinearAlgebra/Dimension/LinearMap.lean +++ b/Mathlib/LinearAlgebra/Dimension/LinearMap.lean @@ -5,10 +5,11 @@ Authors: Johannes Hölzl -/ module +public import Mathlib.LinearAlgebra.Dimension.RankNullity + import Mathlib.Algebra.Module.Projective import Mathlib.LinearAlgebra.Dimension.FreeAndStrongRankCondition import Mathlib.LinearAlgebra.Basis.VectorSpace -public import Mathlib.LinearAlgebra.Dimension.RankNullity /-! # The rank of a linear map diff --git a/Mathlib/LinearAlgebra/Dimension/Localization.lean b/Mathlib/LinearAlgebra/Dimension/Localization.lean index 9dfc74a67fd0b2..52a24c792a44fc 100644 --- a/Mathlib/LinearAlgebra/Dimension/Localization.lean +++ b/Mathlib/LinearAlgebra/Dimension/Localization.lean @@ -5,13 +5,14 @@ Authors: Andrew Yang -/ module -import Mathlib.Algebra.Group.Pointwise.Finset.Scalar public import Mathlib.Algebra.Module.LocalizedModule.Submodule public import Mathlib.LinearAlgebra.Dimension.DivisionRing public import Mathlib.LinearAlgebra.LinearIndependent.Algebra public import Mathlib.RingTheory.Localization.BaseChange public import Mathlib.RingTheory.OreLocalization.OreSet +import Mathlib.Algebra.Group.Pointwise.Finset.Scalar + /-! # Rank of localization diff --git a/Mathlib/LinearAlgebra/Eigenspace/Basic.lean b/Mathlib/LinearAlgebra/Eigenspace/Basic.lean index 8432297d579569..3c37cda6525d8f 100644 --- a/Mathlib/LinearAlgebra/Eigenspace/Basic.lean +++ b/Mathlib/LinearAlgebra/Eigenspace/Basic.lean @@ -7,6 +7,7 @@ module public import Mathlib.Algebra.Algebra.Spectrum.Basic public import Mathlib.LinearAlgebra.FiniteDimensional.Lemmas + import Mathlib.RingTheory.Nilpotent.Basic import Mathlib.RingTheory.Nilpotent.Defs import Mathlib.RingTheory.Nilpotent.Lemmas diff --git a/Mathlib/LinearAlgebra/Eigenspace/Charpoly.lean b/Mathlib/LinearAlgebra/Eigenspace/Charpoly.lean index 23a33c9b2d4fb1..9df76ec1feb010 100644 --- a/Mathlib/LinearAlgebra/Eigenspace/Charpoly.lean +++ b/Mathlib/LinearAlgebra/Eigenspace/Charpoly.lean @@ -5,10 +5,11 @@ Authors: Lawrence Wu -/ module -import Mathlib.LinearAlgebra.Charpoly.BaseChange public import Mathlib.LinearAlgebra.Charpoly.ToMatrix public import Mathlib.LinearAlgebra.Eigenspace.Basic public import Mathlib.LinearAlgebra.Trace + +import Mathlib.LinearAlgebra.Charpoly.BaseChange import Mathlib.LinearAlgebra.Matrix.Charpoly.Eigs /-! diff --git a/Mathlib/LinearAlgebra/Eigenspace/Minpoly.lean b/Mathlib/LinearAlgebra/Eigenspace/Minpoly.lean index f10b93d32fc497..91b6bcd234ec94 100644 --- a/Mathlib/LinearAlgebra/Eigenspace/Minpoly.lean +++ b/Mathlib/LinearAlgebra/Eigenspace/Minpoly.lean @@ -5,9 +5,10 @@ Authors: Alexander Bentkamp -/ module -import Mathlib.Algebra.Polynomial.Roots public import Mathlib.FieldTheory.Minpoly.Basic public import Mathlib.LinearAlgebra.Eigenspace.Basic + +import Mathlib.Algebra.Polynomial.Roots import Mathlib.RingTheory.IntegralClosure.Algebra.Basic /-! diff --git a/Mathlib/LinearAlgebra/ExteriorPower/Basis.lean b/Mathlib/LinearAlgebra/ExteriorPower/Basis.lean index 27325e21ef6ec3..3f4c167a8418de 100644 --- a/Mathlib/LinearAlgebra/ExteriorPower/Basis.lean +++ b/Mathlib/LinearAlgebra/ExteriorPower/Basis.lean @@ -7,6 +7,7 @@ module public import Mathlib.LinearAlgebra.Dual.Basis public import Mathlib.LinearAlgebra.ExteriorPower.Pairing + import Mathlib.RingTheory.Finiteness.Subalgebra /-! diff --git a/Mathlib/LinearAlgebra/FiniteDimensional/Basic.lean b/Mathlib/LinearAlgebra/FiniteDimensional/Basic.lean index 1aee95d3cb6e40..a79d965e3fc3aa 100644 --- a/Mathlib/LinearAlgebra/FiniteDimensional/Basic.lean +++ b/Mathlib/LinearAlgebra/FiniteDimensional/Basic.lean @@ -8,9 +8,10 @@ module public import Mathlib.LinearAlgebra.Dimension.Finite public import Mathlib.LinearAlgebra.FiniteDimensional.Defs public import Mathlib.LinearAlgebra.Matrix.ToLin -import Mathlib.RingTheory.Finiteness.Lattice public import Mathlib.Algebra.NoZeroSMulDivisors.Basic +import Mathlib.RingTheory.Finiteness.Lattice + /-! # Finite-dimensional vector spaces diff --git a/Mathlib/LinearAlgebra/FixedSubmodule.lean b/Mathlib/LinearAlgebra/FixedSubmodule.lean index f49be71be5283b..7cf2b887e1e7e5 100644 --- a/Mathlib/LinearAlgebra/FixedSubmodule.lean +++ b/Mathlib/LinearAlgebra/FixedSubmodule.lean @@ -9,6 +9,7 @@ module public import Mathlib.GroupTheory.GroupAction.FixingSubgroup public import Mathlib.LinearAlgebra.DFinsupp public import Mathlib.LinearAlgebra.Quotient.Basic + import Mathlib.Tactic.NormNum /-! diff --git a/Mathlib/LinearAlgebra/FreeModule/Basic.lean b/Mathlib/LinearAlgebra/FreeModule/Basic.lean index 95782e11509395..efd44bf8b2fe17 100644 --- a/Mathlib/LinearAlgebra/FreeModule/Basic.lean +++ b/Mathlib/LinearAlgebra/FreeModule/Basic.lean @@ -10,6 +10,7 @@ public import Mathlib.Algebra.Module.Shrink public import Mathlib.Algebra.Module.ULift public import Mathlib.Data.Finsupp.Fintype public import Mathlib.LinearAlgebra.Basis.Basic + import Mathlib.Logic.Small.Basic /-! diff --git a/Mathlib/LinearAlgebra/FreeModule/Finite/Matrix.lean b/Mathlib/LinearAlgebra/FreeModule/Finite/Matrix.lean index 0f057f88a0019c..41cf82ee4a447c 100644 --- a/Mathlib/LinearAlgebra/FreeModule/Finite/Matrix.lean +++ b/Mathlib/LinearAlgebra/FreeModule/Finite/Matrix.lean @@ -5,9 +5,10 @@ Authors: Riccardo Brasca -/ module -import Mathlib.LinearAlgebra.FreeModule.StrongRankCondition public import Mathlib.LinearAlgebra.Dimension.Finite +import Mathlib.LinearAlgebra.FreeModule.StrongRankCondition + /-! # Finite and free modules using matrices diff --git a/Mathlib/LinearAlgebra/FreeModule/Int.lean b/Mathlib/LinearAlgebra/FreeModule/Int.lean index c9d8591a820b4c..943fb88219a56c 100644 --- a/Mathlib/LinearAlgebra/FreeModule/Int.lean +++ b/Mathlib/LinearAlgebra/FreeModule/Int.lean @@ -5,11 +5,12 @@ Authors: Joseph Myers -/ module -import Mathlib.Algebra.EuclideanDomain.Int -import Mathlib.Data.ZMod.QuotientGroup public import Mathlib.GroupTheory.Index public import Mathlib.LinearAlgebra.FreeModule.PID +import Mathlib.Algebra.EuclideanDomain.Int +import Mathlib.Data.ZMod.QuotientGroup + /-! # Index of submodules of free ℤ-modules (considered as an `AddSubgroup`). This file provides lemmas about when a submodule of a free ℤ-module is a subgroup of finite diff --git a/Mathlib/LinearAlgebra/GeneralLinearGroup/AlgEquiv.lean b/Mathlib/LinearAlgebra/GeneralLinearGroup/AlgEquiv.lean index cbe0bf4fd3020c..0308b3a5bf049b 100644 --- a/Mathlib/LinearAlgebra/GeneralLinearGroup/AlgEquiv.lean +++ b/Mathlib/LinearAlgebra/GeneralLinearGroup/AlgEquiv.lean @@ -6,9 +6,9 @@ Authors: Monica Omar module public import Mathlib.Algebra.Ring.Action.ConjAct +public import Mathlib.Algebra.Module.Projective import Mathlib.LinearAlgebra.Dual.Lemmas -public import Mathlib.Algebra.Module.Projective /-! # Algebra isomorphisms between endomorphisms of projective modules are inner diff --git a/Mathlib/LinearAlgebra/JordanChevalley.lean b/Mathlib/LinearAlgebra/JordanChevalley.lean index 1991ebae24cd05..168035fa8a90b8 100644 --- a/Mathlib/LinearAlgebra/JordanChevalley.lean +++ b/Mathlib/LinearAlgebra/JordanChevalley.lean @@ -5,10 +5,11 @@ Authors: Oliver Nash -/ module -import Mathlib.Dynamics.Newton public import Mathlib.LinearAlgebra.Semisimple public import Mathlib.LinearAlgebra.FreeModule.Finite.Matrix +import Mathlib.Dynamics.Newton + /-! # Jordan-Chevalley-Dunford decomposition diff --git a/Mathlib/LinearAlgebra/LinearIndependent/BaseChange.lean b/Mathlib/LinearAlgebra/LinearIndependent/BaseChange.lean index 84e931037ec9ef..9039a32b81b779 100644 --- a/Mathlib/LinearAlgebra/LinearIndependent/BaseChange.lean +++ b/Mathlib/LinearAlgebra/LinearIndependent/BaseChange.lean @@ -6,8 +6,9 @@ Authors: Oliver Nash module public import Mathlib.LinearAlgebra.Basis.VectorSpace -import Mathlib.LinearAlgebra.TensorProduct.Basis public import Mathlib.Algebra.Algebra.Pi + +import Mathlib.LinearAlgebra.TensorProduct.Basis import Mathlib.LinearAlgebra.TensorProduct.Pi import Mathlib.RingTheory.Localization.Module import Mathlib.Tactic.NormNum diff --git a/Mathlib/LinearAlgebra/LinearIndependent/Lemmas.lean b/Mathlib/LinearAlgebra/LinearIndependent/Lemmas.lean index cf95ca3bf5a365..f52f9ccccdc092 100644 --- a/Mathlib/LinearAlgebra/LinearIndependent/Lemmas.lean +++ b/Mathlib/LinearAlgebra/LinearIndependent/Lemmas.lean @@ -7,13 +7,13 @@ module public import Mathlib.Data.Fin.Tuple.Reflection public import Mathlib.LinearAlgebra.Dual.Defs -import Mathlib.LinearAlgebra.Finsupp.SumProd public import Mathlib.LinearAlgebra.LinearIndependent.Basic public import Mathlib.LinearAlgebra.Pi public import Mathlib.Tactic.ModuleNF public import Mathlib.Tactic.Abel public import Mathlib.Tactic.NormNum.Ineq +import Mathlib.LinearAlgebra.Finsupp.SumProd import Mathlib.Algebra.Module.Torsion.Field /-! diff --git a/Mathlib/LinearAlgebra/Matrix/Cartan/Basic.lean b/Mathlib/LinearAlgebra/Matrix/Cartan/Basic.lean index 28986693f31659..6d439a315216ea 100644 --- a/Mathlib/LinearAlgebra/Matrix/Cartan/Basic.lean +++ b/Mathlib/LinearAlgebra/Matrix/Cartan/Basic.lean @@ -7,6 +7,7 @@ module public import Mathlib.GroupTheory.Perm.Cycle.Concrete public import Mathlib.LinearAlgebra.Matrix.PosDef + import Mathlib.Tactic.LinearCombination import Mathlib.Tactic.NormDet diff --git a/Mathlib/LinearAlgebra/Matrix/Cartan/Realisation.lean b/Mathlib/LinearAlgebra/Matrix/Cartan/Realisation.lean index 8200a4d0638d0c..57dffbf0cb974a 100644 --- a/Mathlib/LinearAlgebra/Matrix/Cartan/Realisation.lean +++ b/Mathlib/LinearAlgebra/Matrix/Cartan/Realisation.lean @@ -7,10 +7,11 @@ module public import Mathlib.LinearAlgebra.Matrix.Block public import Mathlib.LinearAlgebra.Matrix.Cartan.Basic -import Mathlib.LinearAlgebra.Matrix.Dual public import Mathlib.LinearAlgebra.RootSystem.Irreducible public import Mathlib.LinearAlgebra.RootSystem.Reduced +import Mathlib.LinearAlgebra.Matrix.Dual + /-! # Realisations of Cartan Matrices diff --git a/Mathlib/LinearAlgebra/Matrix/Charpoly/Basic.lean b/Mathlib/LinearAlgebra/Matrix/Charpoly/Basic.lean index 5bd0bc3aa8a93a..82f3f4d0bef0ad 100644 --- a/Mathlib/LinearAlgebra/Matrix/Charpoly/Basic.lean +++ b/Mathlib/LinearAlgebra/Matrix/Charpoly/Basic.lean @@ -5,10 +5,11 @@ Authors: Kim Morrison -/ module -import Mathlib.Algebra.Polynomial.Eval.SMul public import Mathlib.LinearAlgebra.Matrix.Block public import Mathlib.RingTheory.MatrixPolynomialAlgebra +import Mathlib.Algebra.Polynomial.Eval.SMul + /-! # Characteristic polynomials and the Cayley-Hamilton theorem diff --git a/Mathlib/LinearAlgebra/Matrix/Charpoly/FiniteField.lean b/Mathlib/LinearAlgebra/Matrix/Charpoly/FiniteField.lean index 6d0027aaf9789b..85f6e8e444f78e 100644 --- a/Mathlib/LinearAlgebra/Matrix/Charpoly/FiniteField.lean +++ b/Mathlib/LinearAlgebra/Matrix/Charpoly/FiniteField.lean @@ -6,6 +6,7 @@ Authors: Aaron Anderson, Jalex Stark module public import Mathlib.FieldTheory.Finite.Basic + import Mathlib.LinearAlgebra.Matrix.CharP /-! diff --git a/Mathlib/LinearAlgebra/Matrix/Circulant.lean b/Mathlib/LinearAlgebra/Matrix/Circulant.lean index 2b3a4c52299769..d73296fc9ffdf3 100644 --- a/Mathlib/LinearAlgebra/Matrix/Circulant.lean +++ b/Mathlib/LinearAlgebra/Matrix/Circulant.lean @@ -5,8 +5,9 @@ Authors: Lu-Ming Zhang -/ module -import Mathlib.Algebra.Group.Fin.Basic public import Mathlib.LinearAlgebra.Matrix.Symmetric + +import Mathlib.Algebra.Group.Fin.Basic import Mathlib.Tactic.Abel /-! diff --git a/Mathlib/LinearAlgebra/Matrix/Determinant/Bird/Correctness.lean b/Mathlib/LinearAlgebra/Matrix/Determinant/Bird/Correctness.lean index 60f98f76ca23c3..2487ddbef01b5f 100644 --- a/Mathlib/LinearAlgebra/Matrix/Determinant/Bird/Correctness.lean +++ b/Mathlib/LinearAlgebra/Matrix/Determinant/Bird/Correctness.lean @@ -7,6 +7,7 @@ module public import Mathlib.LinearAlgebra.Matrix.Determinant.Basic public import Mathlib.LinearAlgebra.Matrix.Determinant.Bird.Defs + import Mathlib.Algebra.Order.BigOperators.Group.LocallyFinite import Mathlib.Data.Fintype.Order import Mathlib.Order.Preorder.Finite diff --git a/Mathlib/LinearAlgebra/Matrix/Diagonal.lean b/Mathlib/LinearAlgebra/Matrix/Diagonal.lean index acfbcf8e81acb7..eaea43cf22034f 100644 --- a/Mathlib/LinearAlgebra/Matrix/Diagonal.lean +++ b/Mathlib/LinearAlgebra/Matrix/Diagonal.lean @@ -7,6 +7,7 @@ module public import Mathlib.LinearAlgebra.Dimension.LinearMap public import Mathlib.LinearAlgebra.Matrix.ToLin + import Mathlib.LinearAlgebra.FreeModule.StrongRankCondition /-! diff --git a/Mathlib/LinearAlgebra/Matrix/FiniteDimensional.lean b/Mathlib/LinearAlgebra/Matrix/FiniteDimensional.lean index ca685ac93fe83c..f53ff432183f48 100644 --- a/Mathlib/LinearAlgebra/Matrix/FiniteDimensional.lean +++ b/Mathlib/LinearAlgebra/Matrix/FiniteDimensional.lean @@ -6,6 +6,7 @@ Authors: Johannes Hölzl, Patrick Massot, Casper Putz, Anne Baanen module public import Mathlib.LinearAlgebra.FiniteDimensional.Defs + import Mathlib.LinearAlgebra.FreeModule.Finite.Matrix /-! diff --git a/Mathlib/LinearAlgebra/Matrix/GeneralLinearGroup/Card.lean b/Mathlib/LinearAlgebra/Matrix/GeneralLinearGroup/Card.lean index 17be21c9a8e4b4..6acc6c6d29acdc 100644 --- a/Mathlib/LinearAlgebra/Matrix/GeneralLinearGroup/Card.lean +++ b/Mathlib/LinearAlgebra/Matrix/GeneralLinearGroup/Card.lean @@ -5,10 +5,11 @@ Authors: Chris Birkbeck, Inna Capdeboscq, Johan Commelin, Thomas Lanard, Peiran -/ module -import Mathlib.FieldTheory.Finiteness public import Mathlib.LinearAlgebra.Matrix.GeneralLinearGroup.Defs public import Mathlib.LinearAlgebra.Matrix.Rank public import Mathlib.LinearAlgebra.Matrix.Basis + +import Mathlib.FieldTheory.Finiteness /-! # Cardinal of the general linear group over finite rings diff --git a/Mathlib/LinearAlgebra/Matrix/GeneralLinearGroup/MvPolynomial.lean b/Mathlib/LinearAlgebra/Matrix/GeneralLinearGroup/MvPolynomial.lean index f3a9f8bf4b2efb..d7a6e58b584813 100644 --- a/Mathlib/LinearAlgebra/Matrix/GeneralLinearGroup/MvPolynomial.lean +++ b/Mathlib/LinearAlgebra/Matrix/GeneralLinearGroup/MvPolynomial.lean @@ -5,9 +5,10 @@ Authors: Kim Morrison -/ module -import Mathlib.Algebra.MvPolynomial.Funext public import Mathlib.LinearAlgebra.Matrix.GeneralLinearGroup.Defs +import Mathlib.Algebra.MvPolynomial.Funext + /-! # Polynomial identities from evaluation at invertible matrices diff --git a/Mathlib/LinearAlgebra/Matrix/HadamardMatrix.lean b/Mathlib/LinearAlgebra/Matrix/HadamardMatrix.lean index 2efbc7e09c8a0f..4b93ce34eb6740 100644 --- a/Mathlib/LinearAlgebra/Matrix/HadamardMatrix.lean +++ b/Mathlib/LinearAlgebra/Matrix/HadamardMatrix.lean @@ -6,9 +6,10 @@ Authors: Dennj Osele module public import Mathlib.LinearAlgebra.Matrix.Kronecker -import Mathlib.LinearAlgebra.Matrix.Adjugate public import Mathlib.Algebra.Star.Unitary +import Mathlib.LinearAlgebra.Matrix.Adjugate + /-! # Hadamard matrices diff --git a/Mathlib/LinearAlgebra/Matrix/Hermitian.lean b/Mathlib/LinearAlgebra/Matrix/Hermitian.lean index e330c3c4f19b77..df3c9c8ad64214 100644 --- a/Mathlib/LinearAlgebra/Matrix/Hermitian.lean +++ b/Mathlib/LinearAlgebra/Matrix/Hermitian.lean @@ -5,10 +5,11 @@ Authors: Alexander Bentkamp -/ module -import Mathlib.Algebra.Star.Pi public import Mathlib.LinearAlgebra.Matrix.Hadamard public import Mathlib.LinearAlgebra.Matrix.ZPow +import Mathlib.Algebra.Star.Pi + /-! # Hermitian matrices This file defines Hermitian matrices and some basic results about them. diff --git a/Mathlib/LinearAlgebra/Matrix/Invertible.lean b/Mathlib/LinearAlgebra/Matrix/Invertible.lean index d6b36dd79ac0dd..08d855c87765bd 100644 --- a/Mathlib/LinearAlgebra/Matrix/Invertible.lean +++ b/Mathlib/LinearAlgebra/Matrix/Invertible.lean @@ -6,6 +6,7 @@ Authors: Eric Wieser, Ahmad Alkhalawi module public import Mathlib.LinearAlgebra.Matrix.ConjTranspose + import Mathlib.Tactic.Abel /-! # Extra lemmas about invertible matrices diff --git a/Mathlib/LinearAlgebra/Matrix/Irreducible/Defs.lean b/Mathlib/LinearAlgebra/Matrix/Irreducible/Defs.lean index fa73feec881e24..f04be18611780e 100644 --- a/Mathlib/LinearAlgebra/Matrix/Irreducible/Defs.lean +++ b/Mathlib/LinearAlgebra/Matrix/Irreducible/Defs.lean @@ -6,9 +6,10 @@ Authors: Matteo Cipollina module public import Mathlib.Combinatorics.Quiver.ConnectedComponent -import Mathlib.Combinatorics.Quiver.Path.Vertices public import Mathlib.Data.Matrix.Mul +import Mathlib.Combinatorics.Quiver.Path.Vertices + /-! # Irreducibility and primitivity of nonnegative matrices diff --git a/Mathlib/LinearAlgebra/Matrix/ToLin.lean b/Mathlib/LinearAlgebra/Matrix/ToLin.lean index c8b4d2ecd64c4a..fc44d74e5cb3b0 100644 --- a/Mathlib/LinearAlgebra/Matrix/ToLin.lean +++ b/Mathlib/LinearAlgebra/Matrix/ToLin.lean @@ -15,6 +15,7 @@ public import Mathlib.LinearAlgebra.Basis.SMul public import Mathlib.LinearAlgebra.Matrix.Notation public import Mathlib.LinearAlgebra.Matrix.StdBasis public import Mathlib.RingTheory.AlgebraTower + import Mathlib.RingTheory.Ideal.Span /-! diff --git a/Mathlib/LinearAlgebra/Matrix/Transvection.lean b/Mathlib/LinearAlgebra/Matrix/Transvection.lean index 28df96c1888f98..05734979503db8 100644 --- a/Mathlib/LinearAlgebra/Matrix/Transvection.lean +++ b/Mathlib/LinearAlgebra/Matrix/Transvection.lean @@ -6,6 +6,7 @@ Authors: Sébastien Gouëzel module public import Mathlib.LinearAlgebra.Matrix.Reindex + import Mathlib.Tactic.Field import Mathlib.GroupTheory.GroupAction.Ring diff --git a/Mathlib/LinearAlgebra/PID.lean b/Mathlib/LinearAlgebra/PID.lean index f24b5d49af1a48..244008556b2838 100644 --- a/Mathlib/LinearAlgebra/PID.lean +++ b/Mathlib/LinearAlgebra/PID.lean @@ -6,6 +6,7 @@ Authors: Oliver Nash module public import Mathlib.LinearAlgebra.Trace + import Mathlib.LinearAlgebra.FreeModule.PID /-! diff --git a/Mathlib/LinearAlgebra/PerfectPairing/Restrict.lean b/Mathlib/LinearAlgebra/PerfectPairing/Restrict.lean index 7853d740b43d1e..965a19690b727a 100644 --- a/Mathlib/LinearAlgebra/PerfectPairing/Restrict.lean +++ b/Mathlib/LinearAlgebra/PerfectPairing/Restrict.lean @@ -6,6 +6,7 @@ Authors: Oliver Nash module public import Mathlib.LinearAlgebra.PerfectPairing.Basic + import Mathlib.LinearAlgebra.Matrix.Basis import Mathlib.LinearAlgebra.Matrix.BaseChange diff --git a/Mathlib/LinearAlgebra/Pi.lean b/Mathlib/LinearAlgebra/Pi.lean index 1829b339d5ff58..e6ce0e12b7bb2d 100644 --- a/Mathlib/LinearAlgebra/Pi.lean +++ b/Mathlib/LinearAlgebra/Pi.lean @@ -9,6 +9,7 @@ public import Mathlib.Algebra.Group.Fin.Tuple public import Mathlib.Algebra.BigOperators.GroupWithZero.Action public import Mathlib.Logic.Equiv.Fin.Basic public import Mathlib.LinearAlgebra.Prod + import Mathlib.Data.Fintype.Option /-! diff --git a/Mathlib/LinearAlgebra/PiTensorProduct/Basic.lean b/Mathlib/LinearAlgebra/PiTensorProduct/Basic.lean index 93d90a3699fad1..6f55fc13aed96e 100644 --- a/Mathlib/LinearAlgebra/PiTensorProduct/Basic.lean +++ b/Mathlib/LinearAlgebra/PiTensorProduct/Basic.lean @@ -6,9 +6,10 @@ Authors: Frédéric Dupuis, Eric Wieser module public import Mathlib.LinearAlgebra.Multilinear.TensorProduct -import Mathlib.Tactic.AdaptationNote public import Mathlib.LinearAlgebra.Multilinear.Curry +import Mathlib.Tactic.AdaptationNote + /-! # Tensor product of an indexed family of modules over commutative semirings diff --git a/Mathlib/LinearAlgebra/PiTensorProduct/Generators.lean b/Mathlib/LinearAlgebra/PiTensorProduct/Generators.lean index c00e1522625eb9..684b55e657636f 100644 --- a/Mathlib/LinearAlgebra/PiTensorProduct/Generators.lean +++ b/Mathlib/LinearAlgebra/PiTensorProduct/Generators.lean @@ -6,10 +6,11 @@ Authors: Joël Riou module public import Mathlib.Data.SubtypeNeLift -import Mathlib.Data.Set.Card public import Mathlib.LinearAlgebra.PiTensorProduct.Basic -import Mathlib.LinearAlgebra.Quotient.Basic public import Mathlib.LinearAlgebra.TensorProduct.Map + +import Mathlib.Data.Set.Card +import Mathlib.LinearAlgebra.Quotient.Basic import Mathlib.SetTheory.Cardinal.Finite /-! diff --git a/Mathlib/LinearAlgebra/Projectivization/Action.lean b/Mathlib/LinearAlgebra/Projectivization/Action.lean index e3ff05606eca3c..6621fba6ffceae 100644 --- a/Mathlib/LinearAlgebra/Projectivization/Action.lean +++ b/Mathlib/LinearAlgebra/Projectivization/Action.lean @@ -8,8 +8,9 @@ module public import Mathlib.GroupTheory.GroupAction.MultipleTransitivity public import Mathlib.LinearAlgebra.Projectivization.Basic public import Mathlib.LinearAlgebra.SpecialLinearGroup -import Mathlib.LinearAlgebra.Transvection.Basic public import Mathlib.LinearAlgebra.Matrix.GeneralLinearGroup.Projective + +import Mathlib.LinearAlgebra.Transvection.Basic import Mathlib.LinearAlgebra.Center /-! diff --git a/Mathlib/LinearAlgebra/Projectivization/Cardinality.lean b/Mathlib/LinearAlgebra/Projectivization/Cardinality.lean index 44ac885e7944b0..f6c2fd569377b6 100644 --- a/Mathlib/LinearAlgebra/Projectivization/Cardinality.lean +++ b/Mathlib/LinearAlgebra/Projectivization/Cardinality.lean @@ -5,11 +5,12 @@ Authors: Judith Ludwig, Christian Merten -/ module -import Mathlib.Algebra.GroupWithZero.Units.Fintype -import Mathlib.Algebra.Ring.GeomSum public import Mathlib.GroupTheory.GroupAction.Quotient public import Mathlib.LinearAlgebra.Projectivization.Basic +import Mathlib.Algebra.GroupWithZero.Units.Fintype +import Mathlib.Algebra.Ring.GeomSum + /-! # Cardinality of projective spaces diff --git a/Mathlib/LinearAlgebra/Projectivization/Collinear.lean b/Mathlib/LinearAlgebra/Projectivization/Collinear.lean index 367b3173f4ea65..fb72a80c3af6a7 100644 --- a/Mathlib/LinearAlgebra/Projectivization/Collinear.lean +++ b/Mathlib/LinearAlgebra/Projectivization/Collinear.lean @@ -6,6 +6,7 @@ Authors: Edison Xie, Bhavik Mehta module public import Mathlib.LinearAlgebra.Projectivization.Subspace + import Mathlib.LinearAlgebra.Projectivization.Independence /-! diff --git a/Mathlib/LinearAlgebra/Projectivization/Constructions.lean b/Mathlib/LinearAlgebra/Projectivization/Constructions.lean index 91b72a172f8721..e2e04332e53721 100644 --- a/Mathlib/LinearAlgebra/Projectivization/Constructions.lean +++ b/Mathlib/LinearAlgebra/Projectivization/Constructions.lean @@ -6,9 +6,10 @@ Authors: Thomas Browning module public import Mathlib.LinearAlgebra.CrossProduct -import Mathlib.LinearAlgebra.Matrix.DotProduct public import Mathlib.LinearAlgebra.Projectivization.Basic +import Mathlib.LinearAlgebra.Matrix.DotProduct + /-! # Dot Product and Cross Product on Projective Spaces diff --git a/Mathlib/LinearAlgebra/Projectivization/PSL/PSL2.lean b/Mathlib/LinearAlgebra/Projectivization/PSL/PSL2.lean index 262365551a81d5..e24bd3687ff9a6 100644 --- a/Mathlib/LinearAlgebra/Projectivization/PSL/PSL2.lean +++ b/Mathlib/LinearAlgebra/Projectivization/PSL/PSL2.lean @@ -6,9 +6,10 @@ Authors: Edison Xie module public import Mathlib.GroupTheory.GroupAction.Iwasawa -import Mathlib.GroupTheory.IsPerfect public import Mathlib.LinearAlgebra.Projectivization.PSL.Stabilizer +import Mathlib.GroupTheory.IsPerfect + /-! -/ diff --git a/Mathlib/LinearAlgebra/QuadraticForm/Basis.lean b/Mathlib/LinearAlgebra/QuadraticForm/Basis.lean index 00d4022eecf1ec..c98552ffadd310 100644 --- a/Mathlib/LinearAlgebra/QuadraticForm/Basis.lean +++ b/Mathlib/LinearAlgebra/QuadraticForm/Basis.lean @@ -5,11 +5,12 @@ Authors: Eric Wieser -/ module -import Mathlib.Algebra.BigOperators.Sym public import Mathlib.Data.Finsupp.Pointwise public import Mathlib.Data.Sym.Sym2.Finsupp public import Mathlib.LinearAlgebra.QuadraticForm.Basic +import Mathlib.Algebra.BigOperators.Sym + /-! # Constructing a bilinear map from a quadratic map, given a basis diff --git a/Mathlib/LinearAlgebra/QuadraticForm/Real.lean b/Mathlib/LinearAlgebra/QuadraticForm/Real.lean index 6d64fc8d4e64f4..2693e900d2db5d 100644 --- a/Mathlib/LinearAlgebra/QuadraticForm/Real.lean +++ b/Mathlib/LinearAlgebra/QuadraticForm/Real.lean @@ -6,12 +6,13 @@ Authors: Anne Baanen, Kexing Ying, Eric Wieser module public import Mathlib.Algebra.CharP.Invertible -import Mathlib.Algebra.Order.BigOperators.Expect -import Mathlib.Analysis.Normed.Group.Basic public import Mathlib.Analysis.Real.Sqrt public import Mathlib.Basic.Sign.Basic public import Mathlib.LinearAlgebra.QuadraticForm.IsometryEquiv +import Mathlib.Algebra.Order.BigOperators.Expect +import Mathlib.Analysis.Normed.Group.Basic + /-! # Real quadratic forms diff --git a/Mathlib/LinearAlgebra/QuadraticForm/TensorProduct.lean b/Mathlib/LinearAlgebra/QuadraticForm/TensorProduct.lean index 2e3d3ad8424273..365601f4b11833 100644 --- a/Mathlib/LinearAlgebra/QuadraticForm/TensorProduct.lean +++ b/Mathlib/LinearAlgebra/QuadraticForm/TensorProduct.lean @@ -7,6 +7,7 @@ module public import Mathlib.LinearAlgebra.BilinearForm.TensorProduct public import Mathlib.LinearAlgebra.QuadraticForm.Basic + import Mathlib.Tactic.LinearCombination /-! diff --git a/Mathlib/LinearAlgebra/Quotient/Card.lean b/Mathlib/LinearAlgebra/Quotient/Card.lean index a0c30504d7b275..902aa70178a2e0 100644 --- a/Mathlib/LinearAlgebra/Quotient/Card.lean +++ b/Mathlib/LinearAlgebra/Quotient/Card.lean @@ -7,6 +7,7 @@ module public import Mathlib.LinearAlgebra.Quotient.Defs public import Mathlib.SetTheory.Cardinal.Finite + import Mathlib.GroupTheory.Coset.Basic /-! # Results about the cardinality of a quotient module -/ diff --git a/Mathlib/LinearAlgebra/Reflection.lean b/Mathlib/LinearAlgebra/Reflection.lean index b9b780a580b09b..b12185270368cb 100644 --- a/Mathlib/LinearAlgebra/Reflection.lean +++ b/Mathlib/LinearAlgebra/Reflection.lean @@ -5,11 +5,12 @@ Authors: Oliver Nash, Deepro Choudhury, Mitchell Lee, Johan Commelin -/ module +public import Mathlib.Algebra.Module.Torsion.Basic +public import Mathlib.RingTheory.Polynomial.Chebyshev + import Mathlib.Algebra.EuclideanDomain.Basic import Mathlib.Algebra.EuclideanDomain.Int -public import Mathlib.Algebra.Module.Torsion.Basic import Mathlib.LinearAlgebra.FiniteSpan -public import Mathlib.RingTheory.Polynomial.Chebyshev /-! # Reflections in linear algebra diff --git a/Mathlib/LinearAlgebra/RootSystem/BaseExists.lean b/Mathlib/LinearAlgebra/RootSystem/BaseExists.lean index 539910ebbfd32c..b986eae3d15901 100644 --- a/Mathlib/LinearAlgebra/RootSystem/BaseExists.lean +++ b/Mathlib/LinearAlgebra/RootSystem/BaseExists.lean @@ -6,11 +6,12 @@ Authors: Oliver Nash module public import Mathlib.Algebra.Group.Irreducible.Indecomposable +public import Mathlib.LinearAlgebra.RootSystem.Base + import Mathlib.Algebra.Module.LinearMap.Rat import Mathlib.Algebra.Module.Submodule.Union import Mathlib.LinearAlgebra.Dimension.OrzechProperty import Mathlib.LinearAlgebra.QuadraticForm.Dual -public import Mathlib.LinearAlgebra.RootSystem.Base /-! # Existence of bases for crystallographic root systems diff --git a/Mathlib/LinearAlgebra/RootSystem/Finite/Lemmas.lean b/Mathlib/LinearAlgebra/RootSystem/Finite/Lemmas.lean index efbec01be0ec6f..47e3805774c97d 100644 --- a/Mathlib/LinearAlgebra/RootSystem/Finite/Lemmas.lean +++ b/Mathlib/LinearAlgebra/RootSystem/Finite/Lemmas.lean @@ -7,6 +7,7 @@ module public import Mathlib.LinearAlgebra.RootSystem.Reduced public import Mathlib.LinearAlgebra.RootSystem.Irreducible + import Mathlib.Algebra.Ring.Torsion /-! diff --git a/Mathlib/LinearAlgebra/RootSystem/Finite/Nondegenerate.lean b/Mathlib/LinearAlgebra/RootSystem/Finite/Nondegenerate.lean index 196cbaf1a6e388..b53e6885d85764 100644 --- a/Mathlib/LinearAlgebra/RootSystem/Finite/Nondegenerate.lean +++ b/Mathlib/LinearAlgebra/RootSystem/Finite/Nondegenerate.lean @@ -6,11 +6,12 @@ Authors: Scott Carnahan module public import Mathlib.LinearAlgebra.BilinearForm.Orthogonal -import Mathlib.LinearAlgebra.Dimension.Localization public import Mathlib.LinearAlgebra.QuadraticForm.Basic public import Mathlib.LinearAlgebra.RootSystem.BaseChange public import Mathlib.LinearAlgebra.RootSystem.Finite.CanonicalBilinear +import Mathlib.LinearAlgebra.Dimension.Localization + /-! # Nondegeneracy of the polarization on a finite root pairing diff --git a/Mathlib/LinearAlgebra/RootSystem/GeckConstruction/Basic.lean b/Mathlib/LinearAlgebra/RootSystem/GeckConstruction/Basic.lean index b1ef433a54ed63..0e7bbfd55a0fb8 100644 --- a/Mathlib/LinearAlgebra/RootSystem/GeckConstruction/Basic.lean +++ b/Mathlib/LinearAlgebra/RootSystem/GeckConstruction/Basic.lean @@ -7,9 +7,10 @@ module public import Mathlib.Algebra.Lie.Matrix public import Mathlib.Algebra.Lie.Weights.Basic +public import Mathlib.LinearAlgebra.RootSystem.CartanMatrix + import Mathlib.LinearAlgebra.Eigenspace.Matrix import Mathlib.LinearAlgebra.LinearIndependent.BaseChange -public import Mathlib.LinearAlgebra.RootSystem.CartanMatrix /-! # Geck's construction of a Lie algebra associated to a root system diff --git a/Mathlib/LinearAlgebra/RootSystem/GeckConstruction/Relations.lean b/Mathlib/LinearAlgebra/RootSystem/GeckConstruction/Relations.lean index e346426206e66e..9fdb59a7428dbb 100644 --- a/Mathlib/LinearAlgebra/RootSystem/GeckConstruction/Relations.lean +++ b/Mathlib/LinearAlgebra/RootSystem/GeckConstruction/Relations.lean @@ -6,9 +6,10 @@ Authors: Oliver Nash module public import Mathlib.LinearAlgebra.RootSystem.GeckConstruction.Basic -import Mathlib.LinearAlgebra.RootSystem.GeckConstruction.Lemmas public import Mathlib.Algebra.Lie.Sl2 +import Mathlib.LinearAlgebra.RootSystem.GeckConstruction.Lemmas + /-! # Relations in Geck's construction of a Lie algebra associated to a root system diff --git a/Mathlib/LinearAlgebra/RootSystem/GeckConstruction/Semisimple.lean b/Mathlib/LinearAlgebra/RootSystem/GeckConstruction/Semisimple.lean index 3fc4ada325f66b..6bf9f6e13eabbc 100644 --- a/Mathlib/LinearAlgebra/RootSystem/GeckConstruction/Semisimple.lean +++ b/Mathlib/LinearAlgebra/RootSystem/GeckConstruction/Semisimple.lean @@ -6,8 +6,9 @@ Authors: Oliver Nash module public import Mathlib.Algebra.Lie.Semisimple.Lemmas -import Mathlib.Algebra.Lie.Weights.Linear public import Mathlib.LinearAlgebra.RootSystem.GeckConstruction.Basic + +import Mathlib.Algebra.Lie.Weights.Linear import Mathlib.RingTheory.Finiteness.Nilpotent /-! diff --git a/Mathlib/LinearAlgebra/RootSystem/Irreducible.lean b/Mathlib/LinearAlgebra/RootSystem/Irreducible.lean index d0e55eb3f1afee..a89103cbb7d30b 100644 --- a/Mathlib/LinearAlgebra/RootSystem/Irreducible.lean +++ b/Mathlib/LinearAlgebra/RootSystem/Irreducible.lean @@ -6,6 +6,7 @@ Authors: Oliver Nash module public import Mathlib.LinearAlgebra.RootSystem.WeylGroup + import Mathlib.RepresentationTheory.Submodule /-! diff --git a/Mathlib/LinearAlgebra/RootSystem/IsValuedIn.lean b/Mathlib/LinearAlgebra/RootSystem/IsValuedIn.lean index 5baa909ccc8158..23df062c685b37 100644 --- a/Mathlib/LinearAlgebra/RootSystem/IsValuedIn.lean +++ b/Mathlib/LinearAlgebra/RootSystem/IsValuedIn.lean @@ -5,10 +5,10 @@ Authors: Scott Carnahan, Oliver Nash -/ module -import Mathlib.Algebra.Algebra.Rat -import Mathlib.LinearAlgebra.PerfectPairing.Restrict public import Mathlib.LinearAlgebra.RootSystem.Defs +import Mathlib.Algebra.Algebra.Rat +import Mathlib.LinearAlgebra.PerfectPairing.Restrict import Mathlib.LinearAlgebra.FreeModule.PID import Mathlib.LinearAlgebra.Span.TensorProduct import Mathlib.RingTheory.Flat.TorsionFree diff --git a/Mathlib/LinearAlgebra/SModEq/Basic.lean b/Mathlib/LinearAlgebra/SModEq/Basic.lean index a5839d978756c9..f54724186a0509 100644 --- a/Mathlib/LinearAlgebra/SModEq/Basic.lean +++ b/Mathlib/LinearAlgebra/SModEq/Basic.lean @@ -7,6 +7,7 @@ module public import Mathlib.Algebra.Polynomial.Eval.Defs public import Mathlib.RingTheory.Ideal.Quotient.Defs + import Mathlib.Algebra.Group.Action.Pointwise.Set.Basic /-! diff --git a/Mathlib/LinearAlgebra/SModEq/Pow.lean b/Mathlib/LinearAlgebra/SModEq/Pow.lean index 576963f7700cd8..e826a513489c1e 100644 --- a/Mathlib/LinearAlgebra/SModEq/Pow.lean +++ b/Mathlib/LinearAlgebra/SModEq/Pow.lean @@ -8,6 +8,7 @@ module public import Mathlib.LinearAlgebra.SModEq.Basic public import Mathlib.RingTheory.Ideal.Operations + import Mathlib.Algebra.Ring.GeomSum /-! # Lemmas about SModEq related to powers -/ diff --git a/Mathlib/LinearAlgebra/Semisimple.lean b/Mathlib/LinearAlgebra/Semisimple.lean index 489c394a92db67..ac4c0fa57ea3b6 100644 --- a/Mathlib/LinearAlgebra/Semisimple.lean +++ b/Mathlib/LinearAlgebra/Semisimple.lean @@ -8,6 +8,7 @@ module public import Mathlib.Algebra.Module.Torsion.Basic public import Mathlib.FieldTheory.Perfect public import Mathlib.LinearAlgebra.AnnihilatingPolynomial + import Mathlib.RingTheory.Artinian.Instances import Mathlib.RingTheory.Ideal.Quotient.Nilpotent diff --git a/Mathlib/LinearAlgebra/Span/TensorProduct.lean b/Mathlib/LinearAlgebra/Span/TensorProduct.lean index 17497382e779b9..1f1c2963915b53 100644 --- a/Mathlib/LinearAlgebra/Span/TensorProduct.lean +++ b/Mathlib/LinearAlgebra/Span/TensorProduct.lean @@ -8,9 +8,10 @@ module public import Mathlib.Algebra.Algebra.Epi public import Mathlib.RingTheory.Flat.Basic public import Mathlib.Combinatorics.Matroid.Init +public import Mathlib.LinearAlgebra.FreeModule.PID + import Mathlib.Data.Nat.Totient import Mathlib.Data.Sym.Sym2 -public import Mathlib.LinearAlgebra.FreeModule.PID import Mathlib.LinearAlgebra.FreeModule.StrongRankCondition import Mathlib.Tactic.NormNum.GCD import Mathlib.Tactic.Positivity diff --git a/Mathlib/LinearAlgebra/SymplecticGroup.lean b/Mathlib/LinearAlgebra/SymplecticGroup.lean index 132a6d3443b99f..369396ca2843e3 100644 --- a/Mathlib/LinearAlgebra/SymplecticGroup.lean +++ b/Mathlib/LinearAlgebra/SymplecticGroup.lean @@ -5,10 +5,11 @@ Authors: Matej Penciak, Moritz Doll, Fabien Clery, Seed Prover, Huanyu Zheng -/ module -import Mathlib.LinearAlgebra.Matrix.Action -import Mathlib.LinearAlgebra.Matrix.SchurComplement public import Mathlib.LinearAlgebra.Matrix.Rank public import Mathlib.RingTheory.LocalProperties.Basic + +import Mathlib.LinearAlgebra.Matrix.Action +import Mathlib.LinearAlgebra.Matrix.SchurComplement import Mathlib.RingTheory.LocalRing.ResidueField.Basic /-! diff --git a/Mathlib/LinearAlgebra/TensorPower/Symmetric.lean b/Mathlib/LinearAlgebra/TensorPower/Symmetric.lean index f40654d304373b..3356f6e928211e 100644 --- a/Mathlib/LinearAlgebra/TensorPower/Symmetric.lean +++ b/Mathlib/LinearAlgebra/TensorPower/Symmetric.lean @@ -6,6 +6,7 @@ Authors: Kenny Lau module public import Mathlib.LinearAlgebra.PiTensorProduct.Basic + import Mathlib.Tactic.SuppressCompilation /-! diff --git a/Mathlib/LinearAlgebra/TensorProduct/Defs.lean b/Mathlib/LinearAlgebra/TensorProduct/Defs.lean index 38edaa49d1beb4..d53116937b75db 100644 --- a/Mathlib/LinearAlgebra/TensorProduct/Defs.lean +++ b/Mathlib/LinearAlgebra/TensorProduct/Defs.lean @@ -7,6 +7,7 @@ module public import Mathlib.Algebra.Module.Submodule.Bilinear public import Mathlib.GroupTheory.Congruence.Hom + import Mathlib.Tactic.NormNum.Basic /-! diff --git a/Mathlib/LinearAlgebra/TensorProduct/Vanishing.lean b/Mathlib/LinearAlgebra/TensorProduct/Vanishing.lean index 043d9884cefe6e..03627834f9f051 100644 --- a/Mathlib/LinearAlgebra/TensorProduct/Vanishing.lean +++ b/Mathlib/LinearAlgebra/TensorProduct/Vanishing.lean @@ -5,8 +5,9 @@ Authors: Mitchell Lee, Junyan Xu -/ module -import Mathlib.LinearAlgebra.TensorProduct.RightExactness public import Mathlib.LinearAlgebra.TensorProduct.Finiteness + +import Mathlib.LinearAlgebra.TensorProduct.RightExactness import Mathlib.LinearAlgebra.DirectSum.Finsupp /-! # Vanishing of elements in a tensor product of two modules diff --git a/Mathlib/LinearAlgebra/Trace.lean b/Mathlib/LinearAlgebra/Trace.lean index bf47bc8eb859fe..f0099e63e9bd2e 100644 --- a/Mathlib/LinearAlgebra/Trace.lean +++ b/Mathlib/LinearAlgebra/Trace.lean @@ -8,9 +8,9 @@ module public import Mathlib.LinearAlgebra.Contraction public import Mathlib.LinearAlgebra.Matrix.Charpoly.Coeff public import Mathlib.RingTheory.Finiteness.Prod -import Mathlib.RingTheory.TensorProduct.Finite public import Mathlib.RingTheory.TensorProduct.Free +import Mathlib.RingTheory.TensorProduct.Finite import Mathlib.LinearAlgebra.GeneralLinearGroup.AlgEquiv import Mathlib.RingTheory.SimpleRing.Matrix diff --git a/Mathlib/LinearAlgebra/Transvection/Generation.lean b/Mathlib/LinearAlgebra/Transvection/Generation.lean index f4f2991667d82b..8e79753036aa98 100644 --- a/Mathlib/LinearAlgebra/Transvection/Generation.lean +++ b/Mathlib/LinearAlgebra/Transvection/Generation.lean @@ -6,9 +6,10 @@ Authors: Antoine Chambert-Loir module -import Mathlib.LinearAlgebra.Center public import Mathlib.LinearAlgebra.Transvection.Basic +import Mathlib.LinearAlgebra.Center + /-! # Dilatransvections generate the special linear group diff --git a/Mathlib/LinearAlgebra/Vandermonde.lean b/Mathlib/LinearAlgebra/Vandermonde.lean index a8f599fbca2c2f..ab2617c9e10ee7 100644 --- a/Mathlib/LinearAlgebra/Vandermonde.lean +++ b/Mathlib/LinearAlgebra/Vandermonde.lean @@ -8,11 +8,12 @@ module public import Mathlib.Data.Nat.Factorial.BigOperators public import Mathlib.Data.Nat.Factorial.SuperFactorial public import Mathlib.LinearAlgebra.Matrix.Block -import Mathlib.LinearAlgebra.Matrix.Nondegenerate -import Mathlib.RingTheory.Localization.FractionRing public import Mathlib.RingTheory.Polynomial.Pochhammer public import Mathlib.Algebra.MvPolynomial.CommRing +import Mathlib.LinearAlgebra.Matrix.Nondegenerate +import Mathlib.RingTheory.Localization.FractionRing + /-! # Vandermonde matrix diff --git a/Mathlib/Logic/Embedding/Basic.lean b/Mathlib/Logic/Embedding/Basic.lean index 6cf54db0697841..8a5b361afbbe04 100644 --- a/Mathlib/Logic/Embedding/Basic.lean +++ b/Mathlib/Logic/Embedding/Basic.lean @@ -5,12 +5,13 @@ Authors: Johannes Hölzl, Mario Carneiro -/ module -import Mathlib.Basic.IsEmpty.Basic public import Mathlib.Data.Prod.Basic public import Mathlib.Data.Prod.PProd public import Mathlib.Data.Sum.Basic public import Mathlib.Logic.Equiv.Basic +import Mathlib.Basic.IsEmpty.Basic + /-! # Injective functions -/ diff --git a/Mathlib/Logic/Godel/GodelBetaFunction.lean b/Mathlib/Logic/Godel/GodelBetaFunction.lean index 65dff690bf8654..5d0975852f636c 100644 --- a/Mathlib/Logic/Godel/GodelBetaFunction.lean +++ b/Mathlib/Logic/Godel/GodelBetaFunction.lean @@ -6,8 +6,9 @@ Authors: Shogo Saito. Adapted for mathlib by Hunter Monroe module public import Mathlib.Data.Nat.ChineseRemainder -import Mathlib.Data.Nat.Prime.Defs public import Mathlib.Data.Nat.Pairing + +import Mathlib.Data.Nat.Prime.Defs import Mathlib.Order.Fin.Basic import Mathlib.Data.Finset.Lattice.Fold import Mathlib.Data.Fintype.Basic diff --git a/Mathlib/Logic/Relation.lean b/Mathlib/Logic/Relation.lean index 31bf116ca82333..e433ea5a90e2df 100644 --- a/Mathlib/Logic/Relation.lean +++ b/Mathlib/Logic/Relation.lean @@ -11,6 +11,7 @@ public import Mathlib.Tactic.MkIffOfInductiveProp public import Mathlib.Tactic.SimpRw public import Mathlib.Order.Defs.Prop public import Mathlib.Order.Defs.Unbundled + import Batteries.Logic /-! diff --git a/Mathlib/Logic/Small/Set.lean b/Mathlib/Logic/Small/Set.lean index e51f25ea50ac43..94db10c5cec13c 100644 --- a/Mathlib/Logic/Small/Set.lean +++ b/Mathlib/Logic/Small/Set.lean @@ -5,10 +5,11 @@ Authors: Markus Himmel, Timothy Carlin-Burns -/ module -import Mathlib.Data.Set.Lattice.Bounded public import Mathlib.Data.Set.Lattice.Disjoint public import Mathlib.Logic.Small.Basic +import Mathlib.Data.Set.Lattice.Bounded + /-! # Results about `Small` on coerced sets -/ diff --git a/Mathlib/MeasureTheory/Constructions/HaarToSphere.lean b/Mathlib/MeasureTheory/Constructions/HaarToSphere.lean index 2860f130d40eb1..f39364fa3e3dc7 100644 --- a/Mathlib/MeasureTheory/Constructions/HaarToSphere.lean +++ b/Mathlib/MeasureTheory/Constructions/HaarToSphere.lean @@ -5,11 +5,12 @@ Authors: Yury Kudryashov -/ module -import Mathlib.Algebra.Order.Field.Pointwise public import Mathlib.Analysis.Normed.Module.Ball.RadialEquiv -import Mathlib.Analysis.SpecialFunctions.Integrals.Basic public import Mathlib.MeasureTheory.Integral.Prod +import Mathlib.Algebra.Order.Field.Pointwise +import Mathlib.Analysis.SpecialFunctions.Integrals.Basic + /-! # Generalized polar coordinate change diff --git a/Mathlib/MeasureTheory/Constructions/Pi.lean b/Mathlib/MeasureTheory/Constructions/Pi.lean index fd0e501cf14e19..dfa283d0686ca7 100644 --- a/Mathlib/MeasureTheory/Constructions/Pi.lean +++ b/Mathlib/MeasureTheory/Constructions/Pi.lean @@ -5,11 +5,12 @@ Authors: Floris van Doorn -/ module -import Mathlib.Algebra.BigOperators.Fin public import Mathlib.Logic.Encodable.Pi public import Mathlib.MeasureTheory.Group.Measure public import Mathlib.MeasureTheory.MeasurableSpace.Pi +import Mathlib.Algebra.BigOperators.Fin + /-! # Indexed product measures diff --git a/Mathlib/MeasureTheory/Constructions/Polish/EmbeddingReal.lean b/Mathlib/MeasureTheory/Constructions/Polish/EmbeddingReal.lean index a94e80376c2a83..b6d5bd3eea65a4 100644 --- a/Mathlib/MeasureTheory/Constructions/Polish/EmbeddingReal.lean +++ b/Mathlib/MeasureTheory/Constructions/Polish/EmbeddingReal.lean @@ -5,9 +5,10 @@ Authors: Rémy Degenne -/ module -import Mathlib.Analysis.Real.Cardinality public import Mathlib.MeasureTheory.Constructions.Polish.Basic +import Mathlib.Analysis.Real.Cardinality + /-! # A Polish Borel space is measurably equivalent to a set of reals -/ diff --git a/Mathlib/MeasureTheory/Covering/BesicovitchVectorSpace.lean b/Mathlib/MeasureTheory/Covering/BesicovitchVectorSpace.lean index 1de743f32b52ff..43939a73ca88ba 100644 --- a/Mathlib/MeasureTheory/Covering/BesicovitchVectorSpace.lean +++ b/Mathlib/MeasureTheory/Covering/BesicovitchVectorSpace.lean @@ -7,6 +7,7 @@ module public import Mathlib.MeasureTheory.Measure.Lebesgue.EqHaar public import Mathlib.MeasureTheory.Covering.Besicovitch + import Mathlib.Tactic.AdaptationNote /-! diff --git a/Mathlib/MeasureTheory/Covering/Differentiation.lean b/Mathlib/MeasureTheory/Covering/Differentiation.lean index 0bece282aab317..de86cf3f6bffa2 100644 --- a/Mathlib/MeasureTheory/Covering/Differentiation.lean +++ b/Mathlib/MeasureTheory/Covering/Differentiation.lean @@ -6,10 +6,11 @@ Authors: Sébastien Gouëzel module public import Mathlib.MeasureTheory.Covering.VitaliFamily -import Mathlib.MeasureTheory.Function.AEMeasurableOrder public import Mathlib.MeasureTheory.Integral.Average public import Mathlib.MeasureTheory.Measure.Decomposition.Lebesgue +import Mathlib.MeasureTheory.Function.AEMeasurableOrder + /-! # Differentiation of measures diff --git a/Mathlib/MeasureTheory/Function/AEEqOfIntegral.lean b/Mathlib/MeasureTheory/Function/AEEqOfIntegral.lean index 4480bc92b665f0..e0bdeb7200c298 100644 --- a/Mathlib/MeasureTheory/Function/AEEqOfIntegral.lean +++ b/Mathlib/MeasureTheory/Function/AEEqOfIntegral.lean @@ -7,11 +7,12 @@ module public import Mathlib.Analysis.InnerProductSpace.Continuous public import Mathlib.Analysis.Normed.Module.HahnBanach -import Mathlib.MeasureTheory.Function.AEEqOfLIntegral -import Mathlib.MeasureTheory.Function.StronglyMeasurable.Lp public import Mathlib.MeasureTheory.Integral.Bochner.ContinuousLinearMap public import Mathlib.Order.Filter.Ring +import Mathlib.MeasureTheory.Function.AEEqOfLIntegral +import Mathlib.MeasureTheory.Function.StronglyMeasurable.Lp + /-! # From equality of integrals to equality of functions This file provides various statements of the general form "if two functions have the same integral diff --git a/Mathlib/MeasureTheory/Function/AEEqOfLIntegral.lean b/Mathlib/MeasureTheory/Function/AEEqOfLIntegral.lean index 068bf5ed746525..aa0f041b45d2d1 100644 --- a/Mathlib/MeasureTheory/Function/AEEqOfLIntegral.lean +++ b/Mathlib/MeasureTheory/Function/AEEqOfLIntegral.lean @@ -5,9 +5,10 @@ Authors: Rémy Degenne -/ module -import Mathlib.MeasureTheory.Function.StronglyMeasurable.ENNReal public import Mathlib.MeasureTheory.Measure.WithDensity +import Mathlib.MeasureTheory.Function.StronglyMeasurable.ENNReal + /-! # From equality of integrals to equality of functions This file provides various statements of the general form "if two functions have the same integral diff --git a/Mathlib/MeasureTheory/Function/AbsolutelyContinuous.lean b/Mathlib/MeasureTheory/Function/AbsolutelyContinuous.lean index 437088e920d0e1..ffb46cdbada51e 100644 --- a/Mathlib/MeasureTheory/Function/AbsolutelyContinuous.lean +++ b/Mathlib/MeasureTheory/Function/AbsolutelyContinuous.lean @@ -6,10 +6,11 @@ Authors: Yizheng Zhu module public import Mathlib.Analysis.BoundedVariation -import Mathlib.Order.SuccPred.IntervalSucc public import Mathlib.MeasureTheory.Integral.IntervalIntegral.Basic public import Mathlib.Analysis.Calculus.ContDiff.RCLike +import Mathlib.Order.SuccPred.IntervalSucc + /-! # Absolutely Continuous Functions diff --git a/Mathlib/MeasureTheory/Function/ConditionalExpectation/CondexpL1.lean b/Mathlib/MeasureTheory/Function/ConditionalExpectation/CondexpL1.lean index 1b4f5de7c00c25..a8a0ec2eff2e1c 100644 --- a/Mathlib/MeasureTheory/Function/ConditionalExpectation/CondexpL1.lean +++ b/Mathlib/MeasureTheory/Function/ConditionalExpectation/CondexpL1.lean @@ -5,9 +5,10 @@ Authors: Rémy Degenne -/ module -import Mathlib.MeasureTheory.Function.LpSpace.CompleteOfCompleteLp public import Mathlib.MeasureTheory.Function.ConditionalExpectation.CondexpL2 +import Mathlib.MeasureTheory.Function.LpSpace.CompleteOfCompleteLp + /-! # Conditional expectation in L1 This file contains two more steps of the construction of the conditional expectation, which is diff --git a/Mathlib/MeasureTheory/Function/ConditionalExpectation/PullOut.lean b/Mathlib/MeasureTheory/Function/ConditionalExpectation/PullOut.lean index 01194999b508d9..a9d4af203f065c 100644 --- a/Mathlib/MeasureTheory/Function/ConditionalExpectation/PullOut.lean +++ b/Mathlib/MeasureTheory/Function/ConditionalExpectation/PullOut.lean @@ -6,6 +6,7 @@ Authors: Etienne Marion, Rémy Degenne, Kexing Ying module public import Mathlib.MeasureTheory.Function.ConditionalExpectation.Basic + import Mathlib.MeasureTheory.Function.ConditionalExpectation.Indicator import Mathlib.MeasureTheory.Function.Holder diff --git a/Mathlib/MeasureTheory/Function/ConditionalExpectation/Real.lean b/Mathlib/MeasureTheory/Function/ConditionalExpectation/Real.lean index aff5c88a201dd4..fc0017199a8730 100644 --- a/Mathlib/MeasureTheory/Function/ConditionalExpectation/Real.lean +++ b/Mathlib/MeasureTheory/Function/ConditionalExpectation/Real.lean @@ -7,10 +7,10 @@ module public import Mathlib.MeasureTheory.Function.UniformIntegrable public import Mathlib.MeasureTheory.VectorMeasure.Decomposition.RadonNikodym +public import Mathlib.MeasureTheory.Function.ConditionalExpectation.Basic import Mathlib.MeasureTheory.Function.ConditionalExpectation.CondJensen import Mathlib.MeasureTheory.Function.LpSeminorm.LpNorm -public import Mathlib.MeasureTheory.Function.ConditionalExpectation.Basic /-! diff --git a/Mathlib/MeasureTheory/Function/ConditionalLExpectation.lean b/Mathlib/MeasureTheory/Function/ConditionalLExpectation.lean index 8a5419848782c8..dbb96c9b979145 100644 --- a/Mathlib/MeasureTheory/Function/ConditionalLExpectation.lean +++ b/Mathlib/MeasureTheory/Function/ConditionalLExpectation.lean @@ -5,9 +5,9 @@ Authors: David Ledvinka -/ module +public import Mathlib.Probability.Notation import Mathlib.MeasureTheory.Measure.Decomposition.RadonNikodym -public import Mathlib.Probability.Notation /-! # Conditional Lebesgue expectation diff --git a/Mathlib/MeasureTheory/Function/ContinuousMapDense.lean b/Mathlib/MeasureTheory/Function/ContinuousMapDense.lean index 83951cbb8c6dc0..2868b054a2007a 100644 --- a/Mathlib/MeasureTheory/Function/ContinuousMapDense.lean +++ b/Mathlib/MeasureTheory/Function/ContinuousMapDense.lean @@ -5,10 +5,11 @@ Authors: Heather Macbeth -/ module -import Mathlib.Topology.UrysohnsLemma public import Mathlib.MeasureTheory.Function.LpSpace.ContinuousFunctions public import Mathlib.MeasureTheory.Integral.Bochner.Basic +import Mathlib.Topology.UrysohnsLemma + /-! # Approximation in Lᵖ by continuous functions diff --git a/Mathlib/MeasureTheory/Function/LpSeminorm/Indicator.lean b/Mathlib/MeasureTheory/Function/LpSeminorm/Indicator.lean index 7cdaf68f4dffd0..dccde3f62bdcfb 100644 --- a/Mathlib/MeasureTheory/Function/LpSeminorm/Indicator.lean +++ b/Mathlib/MeasureTheory/Function/LpSeminorm/Indicator.lean @@ -7,6 +7,7 @@ module public import Mathlib.MeasureTheory.Function.LpSeminorm.Basic public import Mathlib.Analysis.Normed.Group.Indicator + import Mathlib.MeasureTheory.Integral.Lebesgue.Sub /-! diff --git a/Mathlib/MeasureTheory/Function/LpSpace/ContinuousCompMeasurePreserving.lean b/Mathlib/MeasureTheory/Function/LpSpace/ContinuousCompMeasurePreserving.lean index 5b125ba3cb5994..c81e9ade9523e8 100644 --- a/Mathlib/MeasureTheory/Function/LpSpace/ContinuousCompMeasurePreserving.lean +++ b/Mathlib/MeasureTheory/Function/LpSpace/ContinuousCompMeasurePreserving.lean @@ -6,6 +6,7 @@ Authors: Yury Kudryashov module public import Mathlib.MeasureTheory.Function.SimpleFuncDenseLp + import Mathlib.MeasureTheory.Measure.ContinuousPreimage /-! diff --git a/Mathlib/MeasureTheory/Function/LpSpace/ContinuousFunctions.lean b/Mathlib/MeasureTheory/Function/LpSpace/ContinuousFunctions.lean index 8004fe61b25b62..2eae93eb6fb2b9 100644 --- a/Mathlib/MeasureTheory/Function/LpSpace/ContinuousFunctions.lean +++ b/Mathlib/MeasureTheory/Function/LpSpace/ContinuousFunctions.lean @@ -5,10 +5,11 @@ Authors: Rémy Degenne, Sébastien Gouëzel -/ module -import Mathlib.Analysis.Normed.Operator.NormedSpace public import Mathlib.MeasureTheory.Function.LpSpace.Basic public import Mathlib.Topology.ContinuousMap.Compact +import Mathlib.Analysis.Normed.Operator.NormedSpace + /-! # Continuous functions in Lp space diff --git a/Mathlib/MeasureTheory/Function/LpSpace/DomAct/Continuous.lean b/Mathlib/MeasureTheory/Function/LpSpace/DomAct/Continuous.lean index e44d2de10d0fd7..b5285861d95ea4 100644 --- a/Mathlib/MeasureTheory/Function/LpSpace/DomAct/Continuous.lean +++ b/Mathlib/MeasureTheory/Function/LpSpace/DomAct/Continuous.lean @@ -6,9 +6,10 @@ Authors: Yury Kudryashov module public import Mathlib.MeasureTheory.Function.LpSpace.DomAct.Basic -import Mathlib.MeasureTheory.Function.LpSpace.ContinuousCompMeasurePreserving public import Mathlib.Topology.Algebra.Constructions.DomMulAct +import Mathlib.MeasureTheory.Function.LpSpace.ContinuousCompMeasurePreserving + /-! # Continuity of the action of `Mᵈᵐᵃ` on `MeasureSpace.Lp E p μ` diff --git a/Mathlib/MeasureTheory/Function/LpSpace/Indicator.lean b/Mathlib/MeasureTheory/Function/LpSpace/Indicator.lean index c4c4c5573ef25e..2b8444014ba365 100644 --- a/Mathlib/MeasureTheory/Function/LpSpace/Indicator.lean +++ b/Mathlib/MeasureTheory/Function/LpSpace/Indicator.lean @@ -5,11 +5,12 @@ Authors: Rémy Degenne, Sébastien Gouëzel -/ module -import Mathlib.Analysis.SpecialFunctions.Pow.Continuity public import Mathlib.MeasureTheory.Function.LpSpace.Basic public import Mathlib.MeasureTheory.Measure.Real public import Mathlib.Order.Filter.IndicatorFunction +import Mathlib.Analysis.SpecialFunctions.Pow.Continuity + /-! # Indicator of a set as an element of `Lp` diff --git a/Mathlib/MeasureTheory/Function/SpecialFunctions/Basic.lean b/Mathlib/MeasureTheory/Function/SpecialFunctions/Basic.lean index 0f64561f623668..da5c3cd1e4c98d 100644 --- a/Mathlib/MeasureTheory/Function/SpecialFunctions/Basic.lean +++ b/Mathlib/MeasureTheory/Function/SpecialFunctions/Basic.lean @@ -7,6 +7,7 @@ module public import Mathlib.Analysis.SpecialFunctions.Pow.NNReal public import Mathlib.MeasureTheory.Constructions.BorelSpace.Complex + import Mathlib.MeasureTheory.Constructions.BorelSpace.Metric import Mathlib.MeasureTheory.Constructions.BorelSpace.Real diff --git a/Mathlib/MeasureTheory/Function/SpecialFunctions/RCLike.lean b/Mathlib/MeasureTheory/Function/SpecialFunctions/RCLike.lean index 2dce81cfdadbb6..b4c5d05b1d6ebf 100644 --- a/Mathlib/MeasureTheory/Function/SpecialFunctions/RCLike.lean +++ b/Mathlib/MeasureTheory/Function/SpecialFunctions/RCLike.lean @@ -5,9 +5,10 @@ Authors: Yury Kudryashov -/ module -import Mathlib.Analysis.RCLike.Lemmas public import Mathlib.MeasureTheory.Constructions.BorelSpace.Complex +import Mathlib.Analysis.RCLike.Lemmas + /-! # Measurability of the basic `RCLike` functions diff --git a/Mathlib/MeasureTheory/Group/AddCircle.lean b/Mathlib/MeasureTheory/Group/AddCircle.lean index 477d725bcff75f..6fb1bb735bb132 100644 --- a/Mathlib/MeasureTheory/Group/AddCircle.lean +++ b/Mathlib/MeasureTheory/Group/AddCircle.lean @@ -6,6 +6,7 @@ Authors: Oliver Nash module public import Mathlib.MeasureTheory.Integral.IntervalIntegral.Periodic + import Mathlib.MeasureTheory.Group.AEStabilizer /-! diff --git a/Mathlib/MeasureTheory/Group/GeometryOfNumbers.lean b/Mathlib/MeasureTheory/Group/GeometryOfNumbers.lean index 732919b7acf177..12c663044fb5e9 100644 --- a/Mathlib/MeasureTheory/Group/GeometryOfNumbers.lean +++ b/Mathlib/MeasureTheory/Group/GeometryOfNumbers.lean @@ -6,9 +6,10 @@ Authors: Alex J. Best module public import Mathlib.Analysis.Convex.Body -import Mathlib.Analysis.Convex.Measure public import Mathlib.MeasureTheory.Group.FundamentalDomain +import Mathlib.Analysis.Convex.Measure + /-! # Geometry of numbers diff --git a/Mathlib/MeasureTheory/Group/Measure.lean b/Mathlib/MeasureTheory/Group/Measure.lean index d5e25c960828ad..54e8b7c49ae746 100644 --- a/Mathlib/MeasureTheory/Group/Measure.lean +++ b/Mathlib/MeasureTheory/Group/Measure.lean @@ -5,7 +5,6 @@ Authors: Floris van Doorn -/ module -import Mathlib.Algebra.Group.Pointwise.Set.Card public import Mathlib.GroupTheory.Complement public import Mathlib.MeasureTheory.Group.Action public import Mathlib.MeasureTheory.Group.Pointwise @@ -13,6 +12,8 @@ public import Mathlib.MeasureTheory.Measure.Prod public import Mathlib.Topology.Algebra.Module.Equiv.Basic public import Mathlib.Topology.ContinuousMap.CocompactMap +import Mathlib.Algebra.Group.Pointwise.Set.Card + /-! # Measures on Groups diff --git a/Mathlib/MeasureTheory/Integral/CompactlySupported.lean b/Mathlib/MeasureTheory/Integral/CompactlySupported.lean index db57e2dce8341d..928964a5c9accd 100644 --- a/Mathlib/MeasureTheory/Integral/CompactlySupported.lean +++ b/Mathlib/MeasureTheory/Integral/CompactlySupported.lean @@ -5,10 +5,11 @@ Authors: Yongxi Lin, Thomas Zhu -/ module -import Mathlib.MeasureTheory.Function.LocallyIntegrable public import Mathlib.MeasureTheory.Integral.Bochner.Basic public import Mathlib.Topology.ContinuousMap.CompactlySupported +import Mathlib.MeasureTheory.Function.LocallyIntegrable + /-! # Integrating compactly supported continuous functions diff --git a/Mathlib/MeasureTheory/Integral/CurveIntegral/Basic.lean b/Mathlib/MeasureTheory/Integral/CurveIntegral/Basic.lean index 669f08966a489a..8371ca7b32f34c 100644 --- a/Mathlib/MeasureTheory/Integral/CurveIntegral/Basic.lean +++ b/Mathlib/MeasureTheory/Integral/CurveIntegral/Basic.lean @@ -5,11 +5,12 @@ Authors: Yury Kudryashov -/ module -import Mathlib.Algebra.Order.Field.Pointwise public import Mathlib.Analysis.Calculus.ContDiff.Deriv +public import Mathlib.MeasureTheory.Integral.IntervalIntegral.Basic + +import Mathlib.Algebra.Order.Field.Pointwise import Mathlib.Analysis.Calculus.Deriv.AffineMap import Mathlib.Analysis.Calculus.Deriv.Shift -public import Mathlib.MeasureTheory.Integral.IntervalIntegral.Basic /-! # Integral of a 1-form along a path diff --git a/Mathlib/MeasureTheory/Integral/CurveIntegral/Poincare.lean b/Mathlib/MeasureTheory/Integral/CurveIntegral/Poincare.lean index 691649aa02e5b9..53aff5ad7de32e 100644 --- a/Mathlib/MeasureTheory/Integral/CurveIntegral/Poincare.lean +++ b/Mathlib/MeasureTheory/Integral/CurveIntegral/Poincare.lean @@ -5,14 +5,14 @@ Authors: Yury Kudryashov -/ module -import Mathlib.Analysis.Calculus.Deriv.Prod public import Mathlib.Analysis.Calculus.DiffContOnCl -import Mathlib.Analysis.Calculus.FDeriv.Symmetric -import Mathlib.Analysis.Calculus.TangentCone.Prod public import Mathlib.MeasureTheory.Integral.CurveIntegral.Basic -import Mathlib.MeasureTheory.Integral.DivergenceTheorem public import Mathlib.Topology.Homotopy.Affine +import Mathlib.Analysis.Calculus.Deriv.Prod +import Mathlib.Analysis.Calculus.FDeriv.Symmetric +import Mathlib.Analysis.Calculus.TangentCone.Prod +import Mathlib.MeasureTheory.Integral.DivergenceTheorem import Mathlib.Analysis.Calculus.AddTorsor.AffineMap /-! diff --git a/Mathlib/MeasureTheory/Integral/DivergenceTheorem.lean b/Mathlib/MeasureTheory/Integral/DivergenceTheorem.lean index efc2bb81307bce..fc06c9689303ca 100644 --- a/Mathlib/MeasureTheory/Integral/DivergenceTheorem.lean +++ b/Mathlib/MeasureTheory/Integral/DivergenceTheorem.lean @@ -8,9 +8,10 @@ module public import Mathlib.Analysis.BoxIntegral.DivergenceTheorem public import Mathlib.Analysis.BoxIntegral.Integrability public import Mathlib.Analysis.Calculus.Deriv.Basic -import Mathlib.Analysis.Calculus.FDeriv.Equiv public import Mathlib.MeasureTheory.Integral.Prod +import Mathlib.Analysis.Calculus.FDeriv.Equiv + /-! # Divergence theorem for Bochner integral diff --git a/Mathlib/MeasureTheory/Integral/DominatedConvergence.lean b/Mathlib/MeasureTheory/Integral/DominatedConvergence.lean index 0a4fe91bd76cc7..e384bc77a1bc4f 100644 --- a/Mathlib/MeasureTheory/Integral/DominatedConvergence.lean +++ b/Mathlib/MeasureTheory/Integral/DominatedConvergence.lean @@ -6,6 +6,7 @@ Authors: Zhouhang Zhou, Yury Kudryashov, Patrick Massot, Louis (Yiyang) Liu module public import Mathlib.MeasureTheory.Integral.IntervalIntegral.Basic + import Mathlib.Topology.Algebra.IsUniformGroup.Order /-! diff --git a/Mathlib/MeasureTheory/Integral/ExpDecay.lean b/Mathlib/MeasureTheory/Integral/ExpDecay.lean index cce2a0ed642b06..0f51bd84ff7eb0 100644 --- a/Mathlib/MeasureTheory/Integral/ExpDecay.lean +++ b/Mathlib/MeasureTheory/Integral/ExpDecay.lean @@ -5,9 +5,10 @@ Authors: David Loeffler -/ module -import Mathlib.MeasureTheory.Integral.Asymptotics public import Mathlib.MeasureTheory.Integral.IntegralEqImproper +import Mathlib.MeasureTheory.Integral.Asymptotics + /-! # Integrals with exponential decay at ∞ diff --git a/Mathlib/MeasureTheory/Integral/Gamma.lean b/Mathlib/MeasureTheory/Integral/Gamma.lean index 215bf01c69ae26..d1c5d81c741a32 100644 --- a/Mathlib/MeasureTheory/Integral/Gamma.lean +++ b/Mathlib/MeasureTheory/Integral/Gamma.lean @@ -5,9 +5,10 @@ Authors: Xavier Roblot -/ module -import Mathlib.Analysis.SpecialFunctions.PolarCoord public import Mathlib.Analysis.SpecialFunctions.Gamma.Basic +import Mathlib.Analysis.SpecialFunctions.PolarCoord + /-! # Integrals involving the Gamma function diff --git a/Mathlib/MeasureTheory/Integral/Indicator.lean b/Mathlib/MeasureTheory/Integral/Indicator.lean index 0ac30f2b3d4428..73afe0dd3a7213 100644 --- a/Mathlib/MeasureTheory/Integral/Indicator.lean +++ b/Mathlib/MeasureTheory/Integral/Indicator.lean @@ -5,9 +5,10 @@ Authors: Kalle Kytölä -/ module -import Mathlib.MeasureTheory.Constructions.BorelSpace.Metrizable public import Mathlib.MeasureTheory.Integral.Lebesgue.DominatedConvergence +import Mathlib.MeasureTheory.Constructions.BorelSpace.Metrizable + /-! # Results about indicator functions, their integrals, and measures diff --git a/Mathlib/MeasureTheory/Integral/IntervalIntegral/AbsolutelyContinuousFun.lean b/Mathlib/MeasureTheory/Integral/IntervalIntegral/AbsolutelyContinuousFun.lean index 24d21fc60a27b2..fbbf7564dc4bc6 100644 --- a/Mathlib/MeasureTheory/Integral/IntervalIntegral/AbsolutelyContinuousFun.lean +++ b/Mathlib/MeasureTheory/Integral/IntervalIntegral/AbsolutelyContinuousFun.lean @@ -5,8 +5,9 @@ Authors: Yizheng Zhu -/ module -import Mathlib.Algebra.BigOperators.Group.Finset.Gaps public import Mathlib.MeasureTheory.Integral.IntervalIntegral.DerivIntegrable + +import Mathlib.Algebra.BigOperators.Group.Finset.Gaps import Mathlib.MeasureTheory.Integral.IntervalIntegral.LebesgueDifferentiationThm /-! diff --git a/Mathlib/MeasureTheory/Integral/IntervalIntegral/DerivIntegrable.lean b/Mathlib/MeasureTheory/Integral/IntervalIntegral/DerivIntegrable.lean index 31824862f6e3af..c767f1aa5bc814 100644 --- a/Mathlib/MeasureTheory/Integral/IntervalIntegral/DerivIntegrable.lean +++ b/Mathlib/MeasureTheory/Integral/IntervalIntegral/DerivIntegrable.lean @@ -6,6 +6,7 @@ Authors: Yizheng Zhu module public import Mathlib.MeasureTheory.Function.AbsolutelyContinuous + import Mathlib.MeasureTheory.Integral.IntervalIntegral.Slope import Mathlib.Algebra.Order.Interval.Set.Group diff --git a/Mathlib/MeasureTheory/Integral/IntervalIntegral/LebesgueDifferentiationThm.lean b/Mathlib/MeasureTheory/Integral/IntervalIntegral/LebesgueDifferentiationThm.lean index a76cace460eff2..313872dd05ccdb 100644 --- a/Mathlib/MeasureTheory/Integral/IntervalIntegral/LebesgueDifferentiationThm.lean +++ b/Mathlib/MeasureTheory/Integral/IntervalIntegral/LebesgueDifferentiationThm.lean @@ -6,9 +6,10 @@ Authors: Yizheng Zhu module public import Mathlib.Analysis.Calculus.Deriv.Slope -import Mathlib.MeasureTheory.Covering.OneDim public import Mathlib.MeasureTheory.Integral.IntervalIntegral.Basic +import Mathlib.MeasureTheory.Covering.OneDim + /-! # Lebesgue Differentiation Theorem (Interval Version) diff --git a/Mathlib/MeasureTheory/Integral/IntervalIntegral/MeanValue.lean b/Mathlib/MeasureTheory/Integral/IntervalIntegral/MeanValue.lean index dab7e76a15c3cc..0f193b361bb70c 100644 --- a/Mathlib/MeasureTheory/Integral/IntervalIntegral/MeanValue.lean +++ b/Mathlib/MeasureTheory/Integral/IntervalIntegral/MeanValue.lean @@ -6,8 +6,8 @@ Authors: Louis (Yiyang) Liu, Joris Roos module public import Mathlib.MeasureTheory.Integral.IntervalIntegral.Basic -import Mathlib.MeasureTheory.Integral.MeanValue +import Mathlib.MeasureTheory.Integral.MeanValue import Mathlib.Analysis.Normed.Module.HahnBanach import Mathlib.MeasureTheory.Integral.DominatedConvergence import Mathlib.MeasureTheory.Integral.Prod diff --git a/Mathlib/MeasureTheory/Integral/IntervalIntegral/TrapezoidalRule.lean b/Mathlib/MeasureTheory/Integral/IntervalIntegral/TrapezoidalRule.lean index ac05157dd76139..bb296b9e8e6243 100644 --- a/Mathlib/MeasureTheory/Integral/IntervalIntegral/TrapezoidalRule.lean +++ b/Mathlib/MeasureTheory/Integral/IntervalIntegral/TrapezoidalRule.lean @@ -5,12 +5,13 @@ Authors: P. Michael Kielstra -/ module -import Mathlib.Analysis.Calculus.Deriv.Pow public import Mathlib.Analysis.Calculus.IteratedDeriv.Defs +public import Mathlib.MeasureTheory.Integral.IntervalIntegral.FundThmCalculus + +import Mathlib.Analysis.Calculus.Deriv.Pow import Mathlib.Analysis.Calculus.MeanValue import Mathlib.Analysis.SpecialFunctions.Trigonometric.Arctan import Mathlib.MeasureTheory.Covering.Besicovitch -public import Mathlib.MeasureTheory.Integral.IntervalIntegral.FundThmCalculus /-! # The trapezoidal rule diff --git a/Mathlib/MeasureTheory/Integral/Lebesgue/DominatedConvergence.lean b/Mathlib/MeasureTheory/Integral/Lebesgue/DominatedConvergence.lean index b0931f3cd4c830..2c24fcf968b68f 100644 --- a/Mathlib/MeasureTheory/Integral/Lebesgue/DominatedConvergence.lean +++ b/Mathlib/MeasureTheory/Integral/Lebesgue/DominatedConvergence.lean @@ -5,9 +5,10 @@ Authors: Mario Carneiro, Johannes Hölzl -/ module -import Mathlib.MeasureTheory.Integral.Lebesgue.Markov public import Mathlib.MeasureTheory.Integral.Lebesgue.Sub +import Mathlib.MeasureTheory.Integral.Lebesgue.Markov + /-! # Dominated convergence theorem diff --git a/Mathlib/MeasureTheory/Integral/MeanInequalities.lean b/Mathlib/MeasureTheory/Integral/MeanInequalities.lean index 2127123040f663..e96e1f0055b837 100644 --- a/Mathlib/MeasureTheory/Integral/MeanInequalities.lean +++ b/Mathlib/MeasureTheory/Integral/MeanInequalities.lean @@ -7,9 +7,9 @@ module public import Mathlib.Analysis.MeanInequalities public import Mathlib.Analysis.MeanInequalitiesPow -import Mathlib.MeasureTheory.Function.SpecialFunctions.Basic public import Mathlib.MeasureTheory.Integral.Lebesgue.Add +import Mathlib.MeasureTheory.Function.SpecialFunctions.Basic import Mathlib.MeasureTheory.Integral.Lebesgue.Markov /-! diff --git a/Mathlib/MeasureTheory/Integral/Regular.lean b/Mathlib/MeasureTheory/Integral/Regular.lean index 6b1f9b99d20ba2..782e81e97bcadd 100644 --- a/Mathlib/MeasureTheory/Integral/Regular.lean +++ b/Mathlib/MeasureTheory/Integral/Regular.lean @@ -6,6 +6,7 @@ Authors: Sébastien Gouëzel module public import Mathlib.MeasureTheory.Integral.Bochner.Set + import Mathlib.Topology.UrysohnsLemma /-! diff --git a/Mathlib/MeasureTheory/Integral/RieszMarkovKakutani/Real.lean b/Mathlib/MeasureTheory/Integral/RieszMarkovKakutani/Real.lean index a4b9bc3fc15dc6..97897245550173 100644 --- a/Mathlib/MeasureTheory/Integral/RieszMarkovKakutani/Real.lean +++ b/Mathlib/MeasureTheory/Integral/RieszMarkovKakutani/Real.lean @@ -8,6 +8,7 @@ module public import Mathlib.MeasureTheory.Integral.Bochner.Set public import Mathlib.MeasureTheory.Integral.CompactlySupported public import Mathlib.MeasureTheory.Integral.RieszMarkovKakutani.Basic + import Mathlib.Order.Interval.Set.Union /-! diff --git a/Mathlib/MeasureTheory/Integral/TorusIntegral.lean b/Mathlib/MeasureTheory/Integral/TorusIntegral.lean index bb094a34dc605f..95b5f8a0fd3405 100644 --- a/Mathlib/MeasureTheory/Integral/TorusIntegral.lean +++ b/Mathlib/MeasureTheory/Integral/TorusIntegral.lean @@ -6,6 +6,7 @@ Authors: Cuma Kökmen, Yury Kudryashov module public import Mathlib.MeasureTheory.Integral.CircleIntegral + import Mathlib.MeasureTheory.Integral.Prod /-! diff --git a/Mathlib/MeasureTheory/MeasurableSpace/Card.lean b/Mathlib/MeasureTheory/MeasurableSpace/Card.lean index 4c6cc28e3dd4ce..3468d5280781a1 100644 --- a/Mathlib/MeasureTheory/MeasurableSpace/Card.lean +++ b/Mathlib/MeasureTheory/MeasurableSpace/Card.lean @@ -6,8 +6,9 @@ Authors: Sébastien Gouëzel, Violeta Hernández Palacios module public import Mathlib.MeasureTheory.MeasurableSpace.Defs -import Mathlib.SetTheory.Cardinal.Regular public import Mathlib.SetTheory.Cardinal.Continuum + +import Mathlib.SetTheory.Cardinal.Regular import Mathlib.SetTheory.Cardinal.Ordinal /-! diff --git a/Mathlib/MeasureTheory/MeasurableSpace/MeasurablyGenerated.lean b/Mathlib/MeasureTheory/MeasurableSpace/MeasurablyGenerated.lean index d42e1e3aabeaea..4e14e3f4b3ac7f 100644 --- a/Mathlib/MeasureTheory/MeasurableSpace/MeasurablyGenerated.lean +++ b/Mathlib/MeasureTheory/MeasurableSpace/MeasurablyGenerated.lean @@ -6,10 +6,11 @@ Authors: Johannes Hölzl, Mario Carneiro module public import Mathlib.MeasureTheory.MeasurableSpace.Constructions -import Mathlib.Order.Filter.AtTopBot.CompleteLattice -import Mathlib.Order.Filter.AtTopBot.CountablyGenerated public import Mathlib.Order.Filter.SmallSets public import Mathlib.Order.LiminfLimsup + +import Mathlib.Order.Filter.AtTopBot.CompleteLattice +import Mathlib.Order.Filter.AtTopBot.CountablyGenerated import Mathlib.Tactic.FinCases /-! diff --git a/Mathlib/MeasureTheory/Measure/CharacteristicFunction/TaylorExpansion.lean b/Mathlib/MeasureTheory/Measure/CharacteristicFunction/TaylorExpansion.lean index f4f661d85c6f04..819a762b5a566b 100644 --- a/Mathlib/MeasureTheory/Measure/CharacteristicFunction/TaylorExpansion.lean +++ b/Mathlib/MeasureTheory/Measure/CharacteristicFunction/TaylorExpansion.lean @@ -7,9 +7,9 @@ module public import Mathlib.Analysis.Calculus.Taylor public import Mathlib.MeasureTheory.Measure.CharacteristicFunction.Basic +public import Mathlib.Probability.Notation import Mathlib.Analysis.Fourier.FourierTransformDeriv -public import Mathlib.Probability.Notation /-! # Taylor expansion of the characteristic function diff --git a/Mathlib/MeasureTheory/Measure/Decomposition/Lebesgue.lean b/Mathlib/MeasureTheory/Measure/Decomposition/Lebesgue.lean index db6abbe347e355..eabd7fdd2a869e 100644 --- a/Mathlib/MeasureTheory/Measure/Decomposition/Lebesgue.lean +++ b/Mathlib/MeasureTheory/Measure/Decomposition/Lebesgue.lean @@ -5,10 +5,11 @@ Authors: Kexing Ying -/ module -import Mathlib.MeasureTheory.Measure.Decomposition.Hahn public import Mathlib.MeasureTheory.Function.AEEqOfLIntegral public import Mathlib.MeasureTheory.Measure.Sub +import Mathlib.MeasureTheory.Measure.Decomposition.Hahn + /-! # Lebesgue decomposition diff --git a/Mathlib/MeasureTheory/Measure/EverywherePos.lean b/Mathlib/MeasureTheory/Measure/EverywherePos.lean index ad9988c910b30e..940b1bc857145d 100644 --- a/Mathlib/MeasureTheory/Measure/EverywherePos.lean +++ b/Mathlib/MeasureTheory/Measure/EverywherePos.lean @@ -6,6 +6,7 @@ Authors: Sébastien Gouëzel module public import Mathlib.MeasureTheory.Group.Measure + import Mathlib.Topology.UrysohnsLemma /-! diff --git a/Mathlib/MeasureTheory/Measure/FiniteMeasure.lean b/Mathlib/MeasureTheory/Measure/FiniteMeasure.lean index 7f182bb3e127ac..10c92bd833e5ed 100644 --- a/Mathlib/MeasureTheory/Measure/FiniteMeasure.lean +++ b/Mathlib/MeasureTheory/Measure/FiniteMeasure.lean @@ -5,10 +5,11 @@ Authors: Kalle Kytölä -/ module -import Mathlib.Analysis.RCLike.Lemmas -import Mathlib.MeasureTheory.Integral.Bochner.ContinuousLinearMap public import Mathlib.MeasureTheory.Measure.HasOuterApproxClosed public import Mathlib.Topology.Algebra.Module.Spaces.WeakDual + +import Mathlib.Analysis.RCLike.Lemmas +import Mathlib.MeasureTheory.Integral.Bochner.ContinuousLinearMap import Mathlib.Topology.TietzeExtension /-! diff --git a/Mathlib/MeasureTheory/Measure/FiniteMeasureExt.lean b/Mathlib/MeasureTheory/Measure/FiniteMeasureExt.lean index 23dc53ef2bc779..9a41ab5ebf5172 100644 --- a/Mathlib/MeasureTheory/Measure/FiniteMeasureExt.lean +++ b/Mathlib/MeasureTheory/Measure/FiniteMeasureExt.lean @@ -5,10 +5,11 @@ Authors: Jakob Stiefel -/ module -import Mathlib.Analysis.RCLike.BoundedContinuous public import Mathlib.Analysis.SpecialFunctions.MulExpNegMulSqIntegral public import Mathlib.MeasureTheory.Measure.HasOuterApproxClosed +import Mathlib.Analysis.RCLike.BoundedContinuous + /-! # Extensionality of finite measures diff --git a/Mathlib/MeasureTheory/Measure/Haar/Extension.lean b/Mathlib/MeasureTheory/Measure/Haar/Extension.lean index a2d7532918a098..a440f3d9e44059 100644 --- a/Mathlib/MeasureTheory/Measure/Haar/Extension.lean +++ b/Mathlib/MeasureTheory/Measure/Haar/Extension.lean @@ -5,10 +5,11 @@ Authors: Thomas Browning -/ module -import Mathlib.MeasureTheory.Group.Integral public import Mathlib.MeasureTheory.Integral.RieszMarkovKakutani.Real public import Mathlib.Topology.Algebra.Group.Extension +import Mathlib.MeasureTheory.Group.Integral + /-! # Haar measures on group extensions diff --git a/Mathlib/MeasureTheory/Measure/HasOuterApproxClosed.lean b/Mathlib/MeasureTheory/Measure/HasOuterApproxClosed.lean index c2f0aa9c1b8c8b..2aa356cacf4ed7 100644 --- a/Mathlib/MeasureTheory/Measure/HasOuterApproxClosed.lean +++ b/Mathlib/MeasureTheory/Measure/HasOuterApproxClosed.lean @@ -6,9 +6,10 @@ Authors: Kalle Kytölä module public import Mathlib.MeasureTheory.Integral.BoundedContinuousFunction -import Mathlib.MeasureTheory.Integral.IntegrableOn public import Mathlib.Topology.MetricSpace.ThickenedIndicator +import Mathlib.MeasureTheory.Integral.IntegrableOn + /-! # Spaces where indicators of closed sets have decreasing approximations by continuous functions diff --git a/Mathlib/MeasureTheory/Measure/Hausdorff.lean b/Mathlib/MeasureTheory/Measure/Hausdorff.lean index 1b8c0b680c6694..958537bac7bb8a 100644 --- a/Mathlib/MeasureTheory/Measure/Hausdorff.lean +++ b/Mathlib/MeasureTheory/Measure/Hausdorff.lean @@ -9,6 +9,7 @@ public import Mathlib.Analysis.Convex.Between public import Mathlib.MeasureTheory.Measure.Lebesgue.Basic public import Mathlib.Topology.MetricSpace.Holder public import Mathlib.Topology.MetricSpace.MetricSeparated + import Mathlib.Topology.Order.AtTopBotIxx /-! diff --git a/Mathlib/MeasureTheory/Measure/IntegralCharFun.lean b/Mathlib/MeasureTheory/Measure/IntegralCharFun.lean index d81a2eedce0375..eb1adeba82192d 100644 --- a/Mathlib/MeasureTheory/Measure/IntegralCharFun.lean +++ b/Mathlib/MeasureTheory/Measure/IntegralCharFun.lean @@ -5,9 +5,10 @@ Authors: Rémy Degenne -/ module -import Mathlib.MeasureTheory.Function.SpecialFunctions.Sinc public import Mathlib.MeasureTheory.Measure.CharacteristicFunction.Basic +import Mathlib.MeasureTheory.Function.SpecialFunctions.Sinc + /-! # Integrals of characteristic functions diff --git a/Mathlib/MeasureTheory/Measure/Lebesgue/Basic.lean b/Mathlib/MeasureTheory/Measure/Lebesgue/Basic.lean index a9e421ce29372e..bcb974dafffc2c 100644 --- a/Mathlib/MeasureTheory/Measure/Lebesgue/Basic.lean +++ b/Mathlib/MeasureTheory/Measure/Lebesgue/Basic.lean @@ -6,11 +6,12 @@ Authors: Johannes Hölzl, Sébastien Gouëzel, Yury Kudryashov module public import Mathlib.LinearAlgebra.Matrix.Diagonal -import Mathlib.MeasureTheory.Group.LIntegral public import Mathlib.MeasureTheory.Integral.Marginal public import Mathlib.MeasureTheory.Measure.Stieltjes public import Mathlib.MeasureTheory.Measure.Haar.OfBasis +import Mathlib.MeasureTheory.Group.LIntegral + /-! # Lebesgue measure on the real line and on `ℝⁿ` diff --git a/Mathlib/MeasureTheory/Measure/Lebesgue/VolumeOfBalls.lean b/Mathlib/MeasureTheory/Measure/Lebesgue/VolumeOfBalls.lean index e11582ee730c76..7423bb394ee33b 100644 --- a/Mathlib/MeasureTheory/Measure/Lebesgue/VolumeOfBalls.lean +++ b/Mathlib/MeasureTheory/Measure/Lebesgue/VolumeOfBalls.lean @@ -7,10 +7,11 @@ module public import Mathlib.Analysis.SpecialFunctions.Gaussian.GaussianIntegral public import Mathlib.LinearAlgebra.Complex.FiniteDimensional -import Mathlib.MeasureTheory.Constructions.HaarToSphere public import Mathlib.MeasureTheory.Integral.Gamma public import Mathlib.MeasureTheory.Integral.Pi +import Mathlib.MeasureTheory.Constructions.HaarToSphere + /-! # Volume of balls diff --git a/Mathlib/MeasureTheory/Measure/LevyProkhorovMetric.lean b/Mathlib/MeasureTheory/Measure/LevyProkhorovMetric.lean index aa25f3c419e4e6..4c0c6016bc2fa6 100644 --- a/Mathlib/MeasureTheory/Measure/LevyProkhorovMetric.lean +++ b/Mathlib/MeasureTheory/Measure/LevyProkhorovMetric.lean @@ -6,9 +6,10 @@ Authors: Kalle Kytölä module public import Mathlib.MeasureTheory.Measure.Portmanteau -import Mathlib.MeasureTheory.Integral.DominatedConvergence public import Mathlib.MeasureTheory.Integral.Layercake +import Mathlib.MeasureTheory.Integral.DominatedConvergence + /-! # The Lévy-Prokhorov distance on spaces of finite measures and probability measures diff --git a/Mathlib/MeasureTheory/Measure/MeasuredSets.lean b/Mathlib/MeasureTheory/Measure/MeasuredSets.lean index 11b78a392d5711..4de7bf6f0b4ca0 100644 --- a/Mathlib/MeasureTheory/Measure/MeasuredSets.lean +++ b/Mathlib/MeasureTheory/Measure/MeasuredSets.lean @@ -7,6 +7,7 @@ module public import Mathlib.MeasureTheory.Measure.Typeclasses.Finite public import Mathlib.MeasureTheory.SetSemiring + import Mathlib.Topology.MetricSpace.Lipschitz /-! diff --git a/Mathlib/MeasureTheory/Measure/RegularityCompacts.lean b/Mathlib/MeasureTheory/Measure/RegularityCompacts.lean index 9cddef8c68a440..5be996f8de22ad 100644 --- a/Mathlib/MeasureTheory/Measure/RegularityCompacts.lean +++ b/Mathlib/MeasureTheory/Measure/RegularityCompacts.lean @@ -6,9 +6,10 @@ Authors: Rémy Degenne, Peter Pfaffelhuber module public import Mathlib.MeasureTheory.Measure.Regular -import Mathlib.Analysis.Normed.Group.Basic public import Mathlib.Topology.Metrizable.CompletelyMetrizable +import Mathlib.Analysis.Normed.Group.Basic + /-! # Inner regularity of finite measures diff --git a/Mathlib/MeasureTheory/Measure/ResolventTransform.lean b/Mathlib/MeasureTheory/Measure/ResolventTransform.lean index 3ac7c24c425b76..a622941b24a353 100644 --- a/Mathlib/MeasureTheory/Measure/ResolventTransform.lean +++ b/Mathlib/MeasureTheory/Measure/ResolventTransform.lean @@ -6,13 +6,13 @@ Authors: David Ledvinka module public import Mathlib.MeasureTheory.Measure.Support - -import Mathlib.Analysis.Normed.Algebra.GelfandFormula -import Mathlib.Analysis.Complex.CauchyIntegral public import Mathlib.Analysis.Analytic.Basic public import Mathlib.Analysis.Calculus.Deriv.Basic public import Mathlib.Analysis.InnerProductSpace.Basic public import Mathlib.MeasureTheory.Integral.Bochner.Basic + +import Mathlib.Analysis.Normed.Algebra.GelfandFormula +import Mathlib.Analysis.Complex.CauchyIntegral import Mathlib.Tactic.Positivity /-! diff --git a/Mathlib/MeasureTheory/Measure/SubFinite.lean b/Mathlib/MeasureTheory/Measure/SubFinite.lean index 76531139201880..153fb9bc09fa70 100644 --- a/Mathlib/MeasureTheory/Measure/SubFinite.lean +++ b/Mathlib/MeasureTheory/Measure/SubFinite.lean @@ -6,10 +6,10 @@ Authors: Rémy Degenne module public import Mathlib.MeasureTheory.Measure.Sub +public import Mathlib.MeasureTheory.Measure.WithDensity import Mathlib.MeasureTheory.Integral.Lebesgue.Sub import Mathlib.MeasureTheory.Measure.Decomposition.Hahn -public import Mathlib.MeasureTheory.Measure.WithDensity /-! # Results about subtraction of finite measures diff --git a/Mathlib/MeasureTheory/Measure/Typeclasses/NullSingletonClass.lean b/Mathlib/MeasureTheory/Measure/Typeclasses/NullSingletonClass.lean index b9b47ecca2c291..2ee9c65daf6990 100644 --- a/Mathlib/MeasureTheory/Measure/Typeclasses/NullSingletonClass.lean +++ b/Mathlib/MeasureTheory/Measure/Typeclasses/NullSingletonClass.lean @@ -5,9 +5,10 @@ Authors: Johannes Hölzl, Mario Carneiro -/ module -import Mathlib.MeasureTheory.Measure.Interval public import Mathlib.MeasureTheory.Measure.Restrict +import Mathlib.MeasureTheory.Measure.Interval + /-! # Measures having value zero on singletons diff --git a/Mathlib/MeasureTheory/Order/UpperLower.lean b/Mathlib/MeasureTheory/Order/UpperLower.lean index 38d5ed5deb4691..147ccb008c3759 100644 --- a/Mathlib/MeasureTheory/Order/UpperLower.lean +++ b/Mathlib/MeasureTheory/Order/UpperLower.lean @@ -5,9 +5,10 @@ Authors: Yaël Dillies, Kexing Ying -/ module -import Mathlib.Analysis.Normed.Order.UpperLower public import Mathlib.MeasureTheory.Covering.BesicovitchVectorSpace +import Mathlib.Analysis.Normed.Order.UpperLower + /-! # Order-connected sets are null-measurable diff --git a/Mathlib/MeasureTheory/PiSystem.lean b/Mathlib/MeasureTheory/PiSystem.lean index 69c9f42187a464..ec4fca28264422 100644 --- a/Mathlib/MeasureTheory/PiSystem.lean +++ b/Mathlib/MeasureTheory/PiSystem.lean @@ -5,11 +5,12 @@ Authors: Johannes Hölzl, Martin Zinkevich, Rémy Degenne -/ module -import Mathlib.Logic.Encodable.Lattice public import Mathlib.MeasureTheory.MeasurableSpace.Defs public import Mathlib.Order.Disjointed public import Mathlib.Order.SetDissipate +import Mathlib.Logic.Encodable.Lattice + /-! # Induction principles for measurable sets, related to π-systems and λ-systems. diff --git a/Mathlib/MeasureTheory/SetAlgebra.lean b/Mathlib/MeasureTheory/SetAlgebra.lean index 968f939b26b064..de7cc62cd88603 100644 --- a/Mathlib/MeasureTheory/SetAlgebra.lean +++ b/Mathlib/MeasureTheory/SetAlgebra.lean @@ -5,9 +5,10 @@ Authors: Etienne Marion -/ module -import Mathlib.Basic.Finite.Prod public import Mathlib.MeasureTheory.SetSemiring +import Mathlib.Basic.Finite.Prod + /-! # Algebra of sets diff --git a/Mathlib/MeasureTheory/VectorMeasure/AddContent.lean b/Mathlib/MeasureTheory/VectorMeasure/AddContent.lean index 85447947f739a8..d638fb9dab4674 100644 --- a/Mathlib/MeasureTheory/VectorMeasure/AddContent.lean +++ b/Mathlib/MeasureTheory/VectorMeasure/AddContent.lean @@ -7,9 +7,10 @@ module public import Mathlib.MeasureTheory.Function.ConditionalExpectation.LebesgueBochner public import Mathlib.MeasureTheory.Measure.AddContent -import Mathlib.MeasureTheory.Measure.MeasuredSets public import Mathlib.MeasureTheory.VectorMeasure.SetIntegral +import Mathlib.MeasureTheory.Measure.MeasuredSets + /-! # Constructing a vector measure from an additive content diff --git a/Mathlib/MeasureTheory/VectorMeasure/Basic.lean b/Mathlib/MeasureTheory/VectorMeasure/Basic.lean index 030e39403f94f5..6ae832d16bfa07 100644 --- a/Mathlib/MeasureTheory/VectorMeasure/Basic.lean +++ b/Mathlib/MeasureTheory/VectorMeasure/Basic.lean @@ -5,10 +5,11 @@ Authors: Kexing Ying -/ module -import Mathlib.MeasureTheory.MeasurableSpace.Constructions public import Mathlib.MeasureTheory.PiSystem public import Mathlib.MeasureTheory.VectorMeasure.Defs public import Mathlib.Topology.Algebra.InfiniteSum.Module + +import Mathlib.MeasureTheory.MeasurableSpace.Constructions import Mathlib.Topology.Algebra.InfiniteSum.Order import Mathlib.Topology.Metrizable.Uniformity diff --git a/Mathlib/MeasureTheory/VectorMeasure/IntegrationByParts.lean b/Mathlib/MeasureTheory/VectorMeasure/IntegrationByParts.lean index b7e195cab71840..1cf222fb349e0e 100644 --- a/Mathlib/MeasureTheory/VectorMeasure/IntegrationByParts.lean +++ b/Mathlib/MeasureTheory/VectorMeasure/IntegrationByParts.lean @@ -7,9 +7,10 @@ module public import Mathlib.Analysis.BoundedVariation public import Mathlib.MeasureTheory.VectorMeasure.BoundedVariation -import Mathlib.MeasureTheory.VectorMeasure.Prod public import Mathlib.MeasureTheory.VectorMeasure.WithDensityVec +import Mathlib.MeasureTheory.VectorMeasure.Prod + /-! # Integration by parts for vector measures associated to bounded variation functions diff --git a/Mathlib/MeasureTheory/VectorMeasure/Prod.lean b/Mathlib/MeasureTheory/VectorMeasure/Prod.lean index c7e9dc29254e8d..070a2914784c18 100644 --- a/Mathlib/MeasureTheory/VectorMeasure/Prod.lean +++ b/Mathlib/MeasureTheory/VectorMeasure/Prod.lean @@ -7,6 +7,7 @@ module public import Mathlib.MeasureTheory.Integral.Prod public import Mathlib.MeasureTheory.VectorMeasure.SetIntegral + import Mathlib.MeasureTheory.VectorMeasure.Variation.Semivariation /-! diff --git a/Mathlib/MeasureTheory/VectorMeasure/SetIntegral.lean b/Mathlib/MeasureTheory/VectorMeasure/SetIntegral.lean index 45e2c97687a508..ab2f933048145f 100644 --- a/Mathlib/MeasureTheory/VectorMeasure/SetIntegral.lean +++ b/Mathlib/MeasureTheory/VectorMeasure/SetIntegral.lean @@ -5,9 +5,10 @@ Authors: Sébastien Gouëzel -/ module -import Mathlib.MeasureTheory.Integral.IntegrableOn public import Mathlib.MeasureTheory.VectorMeasure.Integral +import Mathlib.MeasureTheory.Integral.IntegrableOn + /-! # Set integral diff --git a/Mathlib/MeasureTheory/VectorMeasure/Variation/Basic.lean b/Mathlib/MeasureTheory/VectorMeasure/Variation/Basic.lean index fa0dd0f0d5f02b..b200db1d125d7a 100644 --- a/Mathlib/MeasureTheory/VectorMeasure/Variation/Basic.lean +++ b/Mathlib/MeasureTheory/VectorMeasure/Variation/Basic.lean @@ -6,10 +6,11 @@ Authors: Oliver Butterley, Yoh Tanimoto module public import Mathlib.Analysis.Normed.Module.Basic -import Mathlib.MeasureTheory.Measure.Dirac.Basic public import Mathlib.MeasureTheory.VectorMeasure.Relations public import Mathlib.MeasureTheory.VectorMeasure.Variation.Defs +import Mathlib.MeasureTheory.Measure.Dirac.Basic + /-! # Properties of variation diff --git a/Mathlib/ModelTheory/Algebra/Field/Basic.lean b/Mathlib/ModelTheory/Algebra/Field/Basic.lean index 249765c431e144..7ae4be1b1af736 100644 --- a/Mathlib/ModelTheory/Algebra/Field/Basic.lean +++ b/Mathlib/ModelTheory/Algebra/Field/Basic.lean @@ -7,6 +7,7 @@ module public import Mathlib.ModelTheory.Algebra.Ring.Basic public import Mathlib.Algebra.Field.MinimalAxioms + import Mathlib.Data.Nat.Cast.Order.Ring /-! diff --git a/Mathlib/ModelTheory/Algebra/Field/CharP.lean b/Mathlib/ModelTheory/Algebra/Field/CharP.lean index 47296f7f3e55f8..288f5360470deb 100644 --- a/Mathlib/ModelTheory/Algebra/Field/CharP.lean +++ b/Mathlib/ModelTheory/Algebra/Field/CharP.lean @@ -5,10 +5,11 @@ Authors: Chris Hughes -/ module -import Mathlib.Algebra.CharP.Basic public import Mathlib.ModelTheory.Algebra.Ring.FreeCommRing public import Mathlib.ModelTheory.Algebra.Field.Basic +import Mathlib.Algebra.CharP.Basic + /-! # First-order theory of fields diff --git a/Mathlib/ModelTheory/Arithmetic/Presburger/Basic.lean b/Mathlib/ModelTheory/Arithmetic/Presburger/Basic.lean index 30726914fc0c1c..1b6dfd14252029 100644 --- a/Mathlib/ModelTheory/Arithmetic/Presburger/Basic.lean +++ b/Mathlib/ModelTheory/Arithmetic/Presburger/Basic.lean @@ -5,9 +5,10 @@ Authors: Dexin Zhang -/ module -import Mathlib.Algebra.Module.NatInt public import Mathlib.ModelTheory.Semantics +import Mathlib.Algebra.Module.NatInt + /-! # Presburger arithmetic diff --git a/Mathlib/ModelTheory/Encoding.lean b/Mathlib/ModelTheory/Encoding.lean index e6c5e207f948fc..6987e6a1847110 100644 --- a/Mathlib/ModelTheory/Encoding.lean +++ b/Mathlib/ModelTheory/Encoding.lean @@ -6,10 +6,11 @@ Authors: Aaron Anderson module public import Mathlib.Computability.Encoding -import Mathlib.Logic.Small.List public import Mathlib.ModelTheory.Syntax public import Mathlib.SetTheory.Cardinal.Arithmetic +import Mathlib.Logic.Small.List + /-! # Encodings and Cardinality of First-Order Syntax diff --git a/Mathlib/ModelTheory/FinitelyGenerated.lean b/Mathlib/ModelTheory/FinitelyGenerated.lean index 02eeac541b3fae..907d65cc4eea60 100644 --- a/Mathlib/ModelTheory/FinitelyGenerated.lean +++ b/Mathlib/ModelTheory/FinitelyGenerated.lean @@ -5,8 +5,9 @@ Authors: Aaron Anderson -/ module -import Mathlib.Data.Set.Finite.Lemmas public import Mathlib.ModelTheory.Substructures + +import Mathlib.Data.Set.Finite.Lemmas import Mathlib.Data.Set.Finite.Range /-! diff --git a/Mathlib/ModelTheory/Order.lean b/Mathlib/ModelTheory/Order.lean index 7268e076b93b82..8f409e80e1de9f 100644 --- a/Mathlib/ModelTheory/Order.lean +++ b/Mathlib/ModelTheory/Order.lean @@ -5,11 +5,12 @@ Authors: Aaron Anderson -/ module +public import Mathlib.ModelTheory.Complexity +public import Mathlib.ModelTheory.Fraisse + import Mathlib.Algebra.CharZero.Infinite import Mathlib.Data.Rat.Encodable import Mathlib.Data.Finset.Sort -public import Mathlib.ModelTheory.Complexity -public import Mathlib.ModelTheory.Fraisse import Mathlib.Order.CountableDenseLinearOrder /-! diff --git a/Mathlib/ModelTheory/Satisfiability.lean b/Mathlib/ModelTheory/Satisfiability.lean index 589ec1f63184af..53aa77446c440a 100644 --- a/Mathlib/ModelTheory/Satisfiability.lean +++ b/Mathlib/ModelTheory/Satisfiability.lean @@ -5,8 +5,9 @@ Authors: Aaron Anderson -/ module -import Mathlib.ModelTheory.Ultraproducts public import Mathlib.ModelTheory.Bundled + +import Mathlib.ModelTheory.Ultraproducts import Mathlib.ModelTheory.Skolem import Mathlib.Order.Filter.AtTopBot.Basic diff --git a/Mathlib/ModelTheory/Substructures.lean b/Mathlib/ModelTheory/Substructures.lean index 27fe61e453c812..9aa2362d31480e 100644 --- a/Mathlib/ModelTheory/Substructures.lean +++ b/Mathlib/ModelTheory/Substructures.lean @@ -5,11 +5,12 @@ Authors: Aaron Anderson, Gabin Kolly -/ module -import Mathlib.Data.Fintype.Order public import Mathlib.Order.Closure public import Mathlib.ModelTheory.Semantics public import Mathlib.ModelTheory.Encoding +import Mathlib.Data.Fintype.Order + /-! # First-Order Substructures diff --git a/Mathlib/ModelTheory/Syntax.lean b/Mathlib/ModelTheory/Syntax.lean index 1d88eed7b05fb5..7cf8b9e4b38bdd 100644 --- a/Mathlib/ModelTheory/Syntax.lean +++ b/Mathlib/ModelTheory/Syntax.lean @@ -7,6 +7,7 @@ module public import Mathlib.Logic.Equiv.Fin.Basic public import Mathlib.ModelTheory.LanguageMap + import Mathlib.Algebra.Order.Group.Nat /-! diff --git a/Mathlib/ModelTheory/Topology/Types.lean b/Mathlib/ModelTheory/Topology/Types.lean index 102c03490e6f0b..0ebfc8a5996e9e 100644 --- a/Mathlib/ModelTheory/Topology/Types.lean +++ b/Mathlib/ModelTheory/Topology/Types.lean @@ -7,9 +7,10 @@ Authors: Jonas van der Schaaf, Anish Rajeev module public import Mathlib.ModelTheory.Types -import Mathlib.Topology.Connected.Separation public import Mathlib.Topology.Baire.LocallyCompactRegular +import Mathlib.Topology.Connected.Separation + /-! # Topology on the space of complete types diff --git a/Mathlib/NumberTheory/ADEInequality.lean b/Mathlib/NumberTheory/ADEInequality.lean index 52c03384a46ca8..f4a35ee012146c 100644 --- a/Mathlib/NumberTheory/ADEInequality.lean +++ b/Mathlib/NumberTheory/ADEInequality.lean @@ -5,10 +5,11 @@ Authors: Johan Commelin -/ module -import Mathlib.Data.Multiset.Sort -import Mathlib.Data.PNat.Basic public import Mathlib.Data.PNat.Interval public import Mathlib.Tactic.NormNum + +import Mathlib.Data.Multiset.Sort +import Mathlib.Data.PNat.Basic import Mathlib.Tactic.FinCases /-! diff --git a/Mathlib/NumberTheory/AbelSummation.lean b/Mathlib/NumberTheory/AbelSummation.lean index ec029161075e85..c516ba175b2351 100644 --- a/Mathlib/NumberTheory/AbelSummation.lean +++ b/Mathlib/NumberTheory/AbelSummation.lean @@ -5,11 +5,12 @@ Authors: Xavier Roblot -/ module -import Mathlib.MeasureTheory.Function.Floor public import Mathlib.MeasureTheory.Integral.Asymptotics public import Mathlib.MeasureTheory.Integral.IntegralEqImproper public import Mathlib.Topology.Order.IsLocallyClosed +import Mathlib.MeasureTheory.Function.Floor + /-! # Abel's summation formula diff --git a/Mathlib/NumberTheory/ArithmeticFunction/Carmichael.lean b/Mathlib/NumberTheory/ArithmeticFunction/Carmichael.lean index 0a03ec349fd65c..7b585b0145a802 100644 --- a/Mathlib/NumberTheory/ArithmeticFunction/Carmichael.lean +++ b/Mathlib/NumberTheory/ArithmeticFunction/Carmichael.lean @@ -5,10 +5,11 @@ Authors: Snir Broshi -/ module -import Mathlib.Algebra.GCDMonoid.FinsetLemmas public import Mathlib.NumberTheory.ArithmeticFunction.Defs public import Mathlib.RingTheory.ZMod.UnitsCyclic +import Mathlib.Algebra.GCDMonoid.FinsetLemmas + /-! # The Carmichael function diff --git a/Mathlib/NumberTheory/ArithmeticFunction/Defs.lean b/Mathlib/NumberTheory/ArithmeticFunction/Defs.lean index c9f0dd3ae5f915..c44a0f8e8a0170 100644 --- a/Mathlib/NumberTheory/ArithmeticFunction/Defs.lean +++ b/Mathlib/NumberTheory/ArithmeticFunction/Defs.lean @@ -6,12 +6,13 @@ Authors: Aaron Anderson module public import Mathlib.Algebra.Algebra.Defs -import Mathlib.Algebra.Module.BigOperators public import Mathlib.Data.Nat.Factorization.Induction public import Mathlib.Data.Nat.GCD.BigOperators public import Mathlib.Data.Nat.Squarefree public import Mathlib.Tactic.ArithMult +import Mathlib.Algebra.Module.BigOperators + /-! # Arithmetic Functions and Dirichlet Convolution diff --git a/Mathlib/NumberTheory/ArithmeticFunction/Moebius.lean b/Mathlib/NumberTheory/ArithmeticFunction/Moebius.lean index 64f817b15b0c67..c275c0ee9bbb26 100644 --- a/Mathlib/NumberTheory/ArithmeticFunction/Moebius.lean +++ b/Mathlib/NumberTheory/ArithmeticFunction/Moebius.lean @@ -5,8 +5,9 @@ Authors: Aaron Anderson -/ module -import Mathlib.Algebra.Order.Ring.Abs public import Mathlib.NumberTheory.ArithmeticFunction.Misc + +import Mathlib.Algebra.Order.Ring.Abs /-! # The Möbius function and Möbius inversion diff --git a/Mathlib/NumberTheory/ArithmeticFunction/VonMangoldt.lean b/Mathlib/NumberTheory/ArithmeticFunction/VonMangoldt.lean index 75e873895c07ae..cffb337fb9a989 100644 --- a/Mathlib/NumberTheory/ArithmeticFunction/VonMangoldt.lean +++ b/Mathlib/NumberTheory/ArithmeticFunction/VonMangoldt.lean @@ -6,9 +6,10 @@ Authors: Bhavik Mehta module public import Mathlib.Analysis.SpecialFunctions.Log.Basic -import Mathlib.Data.Nat.Cast.Field public import Mathlib.NumberTheory.ArithmeticFunction.Moebius +import Mathlib.Data.Nat.Cast.Field + /-! # The von Mangoldt Function diff --git a/Mathlib/NumberTheory/Basic.lean b/Mathlib/NumberTheory/Basic.lean index e81bb2ff64ba39..90991a59787ea9 100644 --- a/Mathlib/NumberTheory/Basic.lean +++ b/Mathlib/NumberTheory/Basic.lean @@ -5,9 +5,10 @@ Authors: Johan Commelin, Kenny Lau -/ module +public import Mathlib.RingTheory.Ideal.Span + import Mathlib.Algebra.Ring.GeomSum import Mathlib.RingTheory.Ideal.Quotient.Defs -public import Mathlib.RingTheory.Ideal.Span /-! # Basic results in number theory diff --git a/Mathlib/NumberTheory/Bernoulli.lean b/Mathlib/NumberTheory/Bernoulli.lean index 77f429ebb1cb20..f72046e1008cb7 100644 --- a/Mathlib/NumberTheory/Bernoulli.lean +++ b/Mathlib/NumberTheory/Bernoulli.lean @@ -6,12 +6,13 @@ Authors: Johan Commelin, Kevin Buzzard, Seewoo Lee module public import Mathlib.Algebra.BigOperators.Field -import Mathlib.Algebra.GCDMonoid.FinsetLemmas public import Mathlib.RingTheory.PowerSeries.Exp public import Mathlib.FieldTheory.Finite.Basic public import Mathlib.NumberTheory.Padics.PadicNumbers public import Mathlib.Algebra.Order.Star.Basic +import Mathlib.Algebra.GCDMonoid.FinsetLemmas + /-! # Bernoulli numbers diff --git a/Mathlib/NumberTheory/Bertrand.lean b/Mathlib/NumberTheory/Bertrand.lean index 6348d2f6d6d2bf..ab4561131a4efc 100644 --- a/Mathlib/NumberTheory/Bertrand.lean +++ b/Mathlib/NumberTheory/Bertrand.lean @@ -6,8 +6,9 @@ Authors: Patrick Stevens, Bolton Bailey module public import Mathlib.Data.Nat.Choose.Factorization -import Mathlib.NumberTheory.Primorial public import Mathlib.Analysis.Convex.SpecificFunctions.Basic + +import Mathlib.NumberTheory.Primorial import Mathlib.Analysis.Convex.SpecificFunctions.Deriv import Mathlib.Tactic.NormNum.Prime diff --git a/Mathlib/NumberTheory/CarmichaelNumber.lean b/Mathlib/NumberTheory/CarmichaelNumber.lean index eb95f0f872ee13..0d84d31a57655e 100644 --- a/Mathlib/NumberTheory/CarmichaelNumber.lean +++ b/Mathlib/NumberTheory/CarmichaelNumber.lean @@ -5,9 +5,10 @@ Authors: Felix Pernegger -/ module -import Mathlib.Data.Nat.Factorization.PrimePow public import Mathlib.NumberTheory.ArithmeticFunction.Carmichael public import Mathlib.NumberTheory.FermatPsp + +import Mathlib.Data.Nat.Factorization.PrimePow import Mathlib.Tactic.Simproc.Factors /-! diff --git a/Mathlib/NumberTheory/Chebyshev.lean b/Mathlib/NumberTheory/Chebyshev.lean index 43a5969bc2b8ba..3ef1ce1fba543d 100644 --- a/Mathlib/NumberTheory/Chebyshev.lean +++ b/Mathlib/NumberTheory/Chebyshev.lean @@ -5,11 +5,11 @@ Authors: Alastair Irving, Terry Tao, Ruben Van de Velde -/ module -import Mathlib.Algebra.Order.Floor.Semifield public import Mathlib.NumberTheory.AbelSummation public import Mathlib.NumberTheory.Primorial public import Mathlib.NumberTheory.ArithmeticFunction.VonMangoldt +import Mathlib.Algebra.Order.Floor.Semifield import Mathlib.Algebra.GCDMonoid.FinsetLemmas import Mathlib.Analysis.SpecialFunctions.Log.Base import Mathlib.Analysis.SpecialFunctions.Log.InvLog diff --git a/Mathlib/NumberTheory/ClassNumber/AdmissibleAbs.lean b/Mathlib/NumberTheory/ClassNumber/AdmissibleAbs.lean index 3b7ba030fd05c3..aeb3836c238f04 100644 --- a/Mathlib/NumberTheory/ClassNumber/AdmissibleAbs.lean +++ b/Mathlib/NumberTheory/ClassNumber/AdmissibleAbs.lean @@ -5,10 +5,11 @@ Authors: Anne Baanen -/ module -import Mathlib.Algebra.Algebra.Basic public import Mathlib.Algebra.Order.Archimedean.Real.Basic public import Mathlib.NumberTheory.ClassNumber.AdmissibleAbsoluteValue +import Mathlib.Algebra.Algebra.Basic + /-! # Admissible absolute value on the integers diff --git a/Mathlib/NumberTheory/ClassNumber/AdmissibleCardPowDegree.lean b/Mathlib/NumberTheory/ClassNumber/AdmissibleCardPowDegree.lean index 5cdad8448307c8..535dd2380ed9d7 100644 --- a/Mathlib/NumberTheory/ClassNumber/AdmissibleCardPowDegree.lean +++ b/Mathlib/NumberTheory/ClassNumber/AdmissibleCardPowDegree.lean @@ -8,6 +8,7 @@ module public import Mathlib.Algebra.Polynomial.Degree.CardPowDegree public import Mathlib.Analysis.SpecialFunctions.Pow.Real public import Mathlib.NumberTheory.ClassNumber.AdmissibleAbsoluteValue + import Mathlib.RingTheory.LocalRing.Basic /-! diff --git a/Mathlib/NumberTheory/ClassNumber/Finite.lean b/Mathlib/NumberTheory/ClassNumber/Finite.lean index a038272b0840d6..f25969aee847e7 100644 --- a/Mathlib/NumberTheory/ClassNumber/Finite.lean +++ b/Mathlib/NumberTheory/ClassNumber/Finite.lean @@ -6,10 +6,11 @@ Authors: Anne Baanen module public import Mathlib.Analysis.SpecialFunctions.Pow.Real -import Mathlib.LinearAlgebra.Matrix.AbsoluteValue public import Mathlib.NumberTheory.ClassNumber.AdmissibleAbsoluteValue public import Mathlib.RingTheory.ClassGroup.Basic public import Mathlib.RingTheory.DedekindDomain.IntegralClosure + +import Mathlib.LinearAlgebra.Matrix.AbsoluteValue import Mathlib.RingTheory.Norm.Basic /-! diff --git a/Mathlib/NumberTheory/Cyclotomic/CyclotomicCharacter.lean b/Mathlib/NumberTheory/Cyclotomic/CyclotomicCharacter.lean index cedeb4a88787bf..bef77d288f2a24 100644 --- a/Mathlib/NumberTheory/Cyclotomic/CyclotomicCharacter.lean +++ b/Mathlib/NumberTheory/Cyclotomic/CyclotomicCharacter.lean @@ -8,6 +8,7 @@ module public import Mathlib.FieldTheory.KrullTopology public import Mathlib.NumberTheory.Padics.RingHoms public import Mathlib.RingTheory.RootsOfUnity.EnoughRootsOfUnity + import Mathlib.RingTheory.RootsOfUnity.Minpoly import Mathlib.Topology.Algebra.Group.Units diff --git a/Mathlib/NumberTheory/Cyclotomic/PrimitiveRoots.lean b/Mathlib/NumberTheory/Cyclotomic/PrimitiveRoots.lean index 0875e9c7cd2aa6..8ec48f5e7855c7 100644 --- a/Mathlib/NumberTheory/Cyclotomic/PrimitiveRoots.lean +++ b/Mathlib/NumberTheory/Cyclotomic/PrimitiveRoots.lean @@ -8,10 +8,11 @@ module public import Mathlib.Data.PNat.Prime public import Mathlib.NumberTheory.Cyclotomic.Basic public import Mathlib.RingTheory.Adjoin.PowerBasis -import Mathlib.RingTheory.Norm.Transitivity public import Mathlib.RingTheory.Polynomial.Cyclotomic.Eval public import Mathlib.RingTheory.Polynomial.Cyclotomic.Expand +import Mathlib.RingTheory.Norm.Transitivity + /-! # Primitive roots in cyclotomic fields diff --git a/Mathlib/NumberTheory/DiophantineApproximation/Basic.lean b/Mathlib/NumberTheory/DiophantineApproximation/Basic.lean index 425cc0b4ca683c..8a8f59a5f3f3a1 100644 --- a/Mathlib/NumberTheory/DiophantineApproximation/Basic.lean +++ b/Mathlib/NumberTheory/DiophantineApproximation/Basic.lean @@ -6,6 +6,7 @@ Authors: Michael Geißer, Michael Stoll module public import Mathlib.NumberTheory.Real.Irrational + import Mathlib.RingTheory.Int.Basic /-! diff --git a/Mathlib/NumberTheory/DiophantineApproximation/ContinuedFractions.lean b/Mathlib/NumberTheory/DiophantineApproximation/ContinuedFractions.lean index b54505eb8fe63d..c84b5d321deed0 100644 --- a/Mathlib/NumberTheory/DiophantineApproximation/ContinuedFractions.lean +++ b/Mathlib/NumberTheory/DiophantineApproximation/ContinuedFractions.lean @@ -5,10 +5,11 @@ Authors: Michael Geißer, Michael Stoll -/ module -import Mathlib.Algebra.ContinuedFractions.Computation.ApproximationCorollaries public import Mathlib.Algebra.ContinuedFractions.Computation.Translations public import Mathlib.NumberTheory.DiophantineApproximation.Basic +import Mathlib.Algebra.ContinuedFractions.Computation.ApproximationCorollaries + /-! # Diophantine Approximation using continued fractions diff --git a/Mathlib/NumberTheory/DirichletCharacter/Bounds.lean b/Mathlib/NumberTheory/DirichletCharacter/Bounds.lean index c8eae60a496402..5b78bab54200de 100644 --- a/Mathlib/NumberTheory/DirichletCharacter/Bounds.lean +++ b/Mathlib/NumberTheory/DirichletCharacter/Bounds.lean @@ -7,6 +7,7 @@ module public import Mathlib.Analysis.Normed.Field.Basic public import Mathlib.NumberTheory.DirichletCharacter.Basic + import Mathlib.Data.Nat.Totient import Mathlib.Data.Sym.Sym2 import Mathlib.Tactic.ContinuousFunctionalCalculus diff --git a/Mathlib/NumberTheory/EllipticDivisibilitySequence.lean b/Mathlib/NumberTheory/EllipticDivisibilitySequence.lean index 4fd27ef1986404..a818d65f425d54 100644 --- a/Mathlib/NumberTheory/EllipticDivisibilitySequence.lean +++ b/Mathlib/NumberTheory/EllipticDivisibilitySequence.lean @@ -9,6 +9,7 @@ public import Mathlib.Algebra.Group.EvenFunction public import Mathlib.Data.Nat.DvdSequence public import Mathlib.Data.Nat.EvenOddRec public import Mathlib.Tactic.Linarith + import Mathlib.Algebra.Group.Int.Even /-! diff --git a/Mathlib/NumberTheory/EulerProduct/Basic.lean b/Mathlib/NumberTheory/EulerProduct/Basic.lean index 8f1c629141cf67..f32803073de065 100644 --- a/Mathlib/NumberTheory/EulerProduct/Basic.lean +++ b/Mathlib/NumberTheory/EulerProduct/Basic.lean @@ -6,10 +6,11 @@ Authors: Michael Stoll module public import Mathlib.Analysis.SpecificLimits.Normed -import Mathlib.Data.Nat.Factorization.PrimePow public import Mathlib.NumberTheory.ArithmeticFunction.Defs public import Mathlib.NumberTheory.SmoothNumbers +import Mathlib.Data.Nat.Factorization.PrimePow + /-! # Euler Products diff --git a/Mathlib/NumberTheory/EulerProduct/ExpLog.lean b/Mathlib/NumberTheory/EulerProduct/ExpLog.lean index 115a386bb968e6..1a670d696334ab 100644 --- a/Mathlib/NumberTheory/EulerProduct/ExpLog.lean +++ b/Mathlib/NumberTheory/EulerProduct/ExpLog.lean @@ -5,11 +5,12 @@ Authors: Michael Stoll -/ module -import Mathlib.Analysis.Normed.Module.FiniteDimension public import Mathlib.Analysis.SpecialFunctions.Complex.LogDeriv -import Mathlib.LinearAlgebra.Complex.FiniteDimensional public import Mathlib.NumberTheory.EulerProduct.Basic +import Mathlib.Analysis.Normed.Module.FiniteDimension +import Mathlib.LinearAlgebra.Complex.FiniteDimensional + /-! # Logarithms of Euler Products diff --git a/Mathlib/NumberTheory/FLT/Basic.lean b/Mathlib/NumberTheory/FLT/Basic.lean index 29e42c944adf3f..53e9b713dd2ebc 100644 --- a/Mathlib/NumberTheory/FLT/Basic.lean +++ b/Mathlib/NumberTheory/FLT/Basic.lean @@ -5,9 +5,10 @@ Authors: Kevin Buzzard, Yaël Dillies, Jineon Baek -/ module +public import Mathlib.RingTheory.PrincipalIdealDomain + import Mathlib.Algebra.EuclideanDomain.Int import Mathlib.Algebra.Order.Ring.Abs -public import Mathlib.RingTheory.PrincipalIdealDomain /-! # Statement of Fermat's Last Theorem diff --git a/Mathlib/NumberTheory/FLT/Four.lean b/Mathlib/NumberTheory/FLT/Four.lean index 23b7f65afa077b..0a9a1994062147 100644 --- a/Mathlib/NumberTheory/FLT/Four.lean +++ b/Mathlib/NumberTheory/FLT/Four.lean @@ -7,6 +7,7 @@ module public import Mathlib.NumberTheory.FLT.Basic public import Mathlib.NumberTheory.PythagoreanTriples + import Mathlib.Tactic.LinearCombination /-! diff --git a/Mathlib/NumberTheory/FLT/Polynomial.lean b/Mathlib/NumberTheory/FLT/Polynomial.lean index 9f88a5fcfa6759..b76cc650cbe7e2 100644 --- a/Mathlib/NumberTheory/FLT/Polynomial.lean +++ b/Mathlib/NumberTheory/FLT/Polynomial.lean @@ -7,6 +7,7 @@ module public import Mathlib.NumberTheory.FLT.Basic public import Mathlib.NumberTheory.FLT.MasonStothers + import Mathlib.RingTheory.Polynomial.IsIntegral /-! diff --git a/Mathlib/NumberTheory/FLT/Three.lean b/Mathlib/NumberTheory/FLT/Three.lean index f01c1185871855..aabdbe28a03625 100644 --- a/Mathlib/NumberTheory/FLT/Three.lean +++ b/Mathlib/NumberTheory/FLT/Three.lean @@ -7,8 +7,9 @@ Authors: Riccardo Brasca, Sanyam Gupta, Omar Haddad, David Lowry-Duda, module public import Mathlib.NumberTheory.FLT.Basic -import Mathlib.NumberTheory.NumberField.Cyclotomic.PID public import Mathlib.NumberTheory.NumberField.Cyclotomic.Three + +import Mathlib.NumberTheory.NumberField.Cyclotomic.PID import Mathlib.Algebra.Ring.Divisibility.Lemmas /-! diff --git a/Mathlib/NumberTheory/FactorisationProperties.lean b/Mathlib/NumberTheory/FactorisationProperties.lean index 84dbc9970a106b..52541530c5a676 100644 --- a/Mathlib/NumberTheory/FactorisationProperties.lean +++ b/Mathlib/NumberTheory/FactorisationProperties.lean @@ -5,11 +5,12 @@ Authors: Colin Jones -/ module +public import Mathlib.NumberTheory.Divisors +public import Mathlib.Tactic.NormNum + import Mathlib.Algebra.Order.Field.Basic import Mathlib.Algebra.Ring.GeomSum -public import Mathlib.NumberTheory.Divisors import Mathlib.Tactic.NormNum.Prime -public import Mathlib.Tactic.NormNum /-! # Factorisation properties of natural numbers diff --git a/Mathlib/NumberTheory/Fermat.lean b/Mathlib/NumberTheory/Fermat.lean index 50d313460f5070..044456dfd8bc26 100644 --- a/Mathlib/NumberTheory/Fermat.lean +++ b/Mathlib/NumberTheory/Fermat.lean @@ -6,6 +6,7 @@ Authors: Moritz Firsching, Ralf Stephan module public import Mathlib.NumberTheory.LegendreSymbol.QuadraticReciprocity + import Mathlib.NumberTheory.LucasPrimality /-! diff --git a/Mathlib/NumberTheory/FermatPsp.lean b/Mathlib/NumberTheory/FermatPsp.lean index 7030052ce6183d..1d4eb210373a45 100644 --- a/Mathlib/NumberTheory/FermatPsp.lean +++ b/Mathlib/NumberTheory/FermatPsp.lean @@ -5,9 +5,10 @@ Authors: Niels Voss -/ module -import Mathlib.Algebra.Order.Archimedean.Basic public import Mathlib.FieldTheory.Finite.Basic +import Mathlib.Algebra.Order.Archimedean.Basic + /-! # Fermat Pseudoprimes diff --git a/Mathlib/NumberTheory/FunctionField.lean b/Mathlib/NumberTheory/FunctionField.lean index 3cc02a8274e78e..f0b3676011099d 100644 --- a/Mathlib/NumberTheory/FunctionField.lean +++ b/Mathlib/NumberTheory/FunctionField.lean @@ -5,13 +5,14 @@ Authors: Anne Baanen, Ashvni Narayanan -/ module +public import Mathlib.FieldTheory.RatFunc.Valuation -- for deprecation to `RatFunc.inftyValuation` and `RatFunc.CompletionAtInfty` + import Mathlib.FieldTheory.RatFunc.Degree import Mathlib.RingTheory.DedekindDomain.IntegralClosure import Mathlib.RingTheory.IntegralClosure.IntegrallyClosed import Mathlib.Topology.Algebra.Valued.ValuedField import Mathlib.FieldTheory.RatFunc.IntermediateField import Mathlib.RingTheory.Adjoin.Polynomial.Bivariate -public import Mathlib.FieldTheory.RatFunc.Valuation -- for deprecation to `RatFunc.inftyValuation` and `RatFunc.CompletionAtInfty` /-! # Function fields diff --git a/Mathlib/NumberTheory/Harmonic/Bounds.lean b/Mathlib/NumberTheory/Harmonic/Bounds.lean index d3e75744e1bc78..a0601407c714e1 100644 --- a/Mathlib/NumberTheory/Harmonic/Bounds.lean +++ b/Mathlib/NumberTheory/Harmonic/Bounds.lean @@ -5,10 +5,11 @@ Authors: Arend Mellendijk -/ module -import Mathlib.Analysis.SpecialFunctions.Integrals.Basic public import Mathlib.Analysis.SumIntegralComparisons public import Mathlib.NumberTheory.Harmonic.Defs +import Mathlib.Analysis.SpecialFunctions.Integrals.Basic + /-! This file proves $\log(n + 1) \le H_n \le 1 + \log(n)$ for all natural numbers $n$. diff --git a/Mathlib/NumberTheory/Harmonic/EulerMascheroni.lean b/Mathlib/NumberTheory/Harmonic/EulerMascheroni.lean index edf73aefe5d1aa..a62a16fe2def01 100644 --- a/Mathlib/NumberTheory/Harmonic/EulerMascheroni.lean +++ b/Mathlib/NumberTheory/Harmonic/EulerMascheroni.lean @@ -6,9 +6,10 @@ Authors: David Loeffler module public import Mathlib.Analysis.Complex.ExponentialBounds -import Mathlib.Analysis.SpecialFunctions.Pow.Real public import Mathlib.NumberTheory.Harmonic.Defs +import Mathlib.Analysis.SpecialFunctions.Pow.Real + /-! # The Euler-Mascheroni constant `γ` diff --git a/Mathlib/NumberTheory/Harmonic/GammaDeriv.lean b/Mathlib/NumberTheory/Harmonic/GammaDeriv.lean index 3433dff7a18ed0..540a869768e953 100644 --- a/Mathlib/NumberTheory/Harmonic/GammaDeriv.lean +++ b/Mathlib/NumberTheory/Harmonic/GammaDeriv.lean @@ -5,10 +5,11 @@ Authors: David Loeffler -/ module -import Mathlib.Analysis.Convex.Deriv public import Mathlib.Analysis.SpecialFunctions.Gamma.Deligne public import Mathlib.NumberTheory.Harmonic.EulerMascheroni +import Mathlib.Analysis.Convex.Deriv + /-! # Derivative of Γ at positive integers diff --git a/Mathlib/NumberTheory/Harmonic/Int.lean b/Mathlib/NumberTheory/Harmonic/Int.lean index 89ecab6b3e563d..19fff84c6c63c8 100644 --- a/Mathlib/NumberTheory/Harmonic/Int.lean +++ b/Mathlib/NumberTheory/Harmonic/Int.lean @@ -7,6 +7,7 @@ module public import Mathlib.NumberTheory.Harmonic.Defs public import Mathlib.NumberTheory.Padics.PadicNumbers + import Mathlib.Tactic.Positivity /-! diff --git a/Mathlib/NumberTheory/Height/MvPolynomial.lean b/Mathlib/NumberTheory/Height/MvPolynomial.lean index 8a9e141a329325..f51237bcabc0d5 100644 --- a/Mathlib/NumberTheory/Height/MvPolynomial.lean +++ b/Mathlib/NumberTheory/Height/MvPolynomial.lean @@ -6,11 +6,11 @@ Authors: Michael Stoll module public import Mathlib.NumberTheory.Height.Basic +public import Mathlib.RingTheory.MvPolynomial.Homogeneous import Mathlib.Algebra.Order.Ring.IsNonarchimedean import Mathlib.Data.Fintype.Order import all Mathlib.NumberTheory.Height.Basic -public import Mathlib.RingTheory.MvPolynomial.Homogeneous /-! # Height bounds for linear and polynomial maps diff --git a/Mathlib/NumberTheory/JacobiSum/Basic.lean b/Mathlib/NumberTheory/JacobiSum/Basic.lean index 38f8c692924af0..03347180dddf55 100644 --- a/Mathlib/NumberTheory/JacobiSum/Basic.lean +++ b/Mathlib/NumberTheory/JacobiSum/Basic.lean @@ -6,6 +6,7 @@ Authors: Michael Stoll module public import Mathlib.NumberTheory.GaussSum + import Mathlib.NumberTheory.MulChar.Lemmas import Mathlib.RingTheory.RootsOfUnity.Lemmas diff --git a/Mathlib/NumberTheory/LSeries/Convolution.lean b/Mathlib/NumberTheory/LSeries/Convolution.lean index fda7b0c1002a91..106dc9fd6a3c2a 100644 --- a/Mathlib/NumberTheory/LSeries/Convolution.lean +++ b/Mathlib/NumberTheory/LSeries/Convolution.lean @@ -5,10 +5,11 @@ Authors: Michael Stoll -/ module -import Mathlib.Algebra.BigOperators.Field public import Mathlib.NumberTheory.ArithmeticFunction.Defs public import Mathlib.NumberTheory.LSeries.Convergence +import Mathlib.Algebra.BigOperators.Field + /-! # Dirichlet convolution of sequences and products of L-series diff --git a/Mathlib/NumberTheory/LSeries/Deriv.lean b/Mathlib/NumberTheory/LSeries/Deriv.lean index 49b0fed8348f7d..b5f4401256fd6e 100644 --- a/Mathlib/NumberTheory/LSeries/Deriv.lean +++ b/Mathlib/NumberTheory/LSeries/Deriv.lean @@ -7,6 +7,7 @@ module public import Mathlib.Analysis.Complex.LocallyUniformLimit public import Mathlib.NumberTheory.LSeries.Convergence + import Mathlib.Analysis.SpecialFunctions.Pow.Deriv import Mathlib.Analysis.Complex.HalfPlane diff --git a/Mathlib/NumberTheory/LSeries/HurwitzZetaEven.lean b/Mathlib/NumberTheory/LSeries/HurwitzZetaEven.lean index ae7447a4818785..430acde8c3a551 100644 --- a/Mathlib/NumberTheory/LSeries/HurwitzZetaEven.lean +++ b/Mathlib/NumberTheory/LSeries/HurwitzZetaEven.lean @@ -9,6 +9,7 @@ public import Mathlib.NumberTheory.LSeries.AbstractFuncEq public import Mathlib.NumberTheory.ModularForms.JacobiTheta.Bounds public import Mathlib.NumberTheory.LSeries.MellinEqDirichlet public import Mathlib.NumberTheory.LSeries.Basic + import Mathlib.Analysis.Complex.RemovableSingularity /-! diff --git a/Mathlib/NumberTheory/LSeries/Injectivity.lean b/Mathlib/NumberTheory/LSeries/Injectivity.lean index 2b8624da484806..574542e9b0f626 100644 --- a/Mathlib/NumberTheory/LSeries/Injectivity.lean +++ b/Mathlib/NumberTheory/LSeries/Injectivity.lean @@ -5,8 +5,9 @@ Authors: Michael Stoll -/ module -import Mathlib.Analysis.Normed.Group.Tannery public import Mathlib.NumberTheory.LSeries.Convergence + +import Mathlib.Analysis.Normed.Group.Tannery import Mathlib.NumberTheory.LSeries.Linearity import Mathlib.Analysis.SpecialFunctions.Pow.Asymptotics diff --git a/Mathlib/NumberTheory/LSeries/Linearity.lean b/Mathlib/NumberTheory/LSeries/Linearity.lean index 66fddad2441178..3cfd4e9f9282d4 100644 --- a/Mathlib/NumberTheory/LSeries/Linearity.lean +++ b/Mathlib/NumberTheory/LSeries/Linearity.lean @@ -5,9 +5,10 @@ Authors: Michael Stoll -/ module -import Mathlib.Algebra.BigOperators.Field public import Mathlib.NumberTheory.LSeries.Basic +import Mathlib.Algebra.BigOperators.Field + /-! # Linearity of the L-series of `f` as a function of `f` diff --git a/Mathlib/NumberTheory/LSeries/Positivity.lean b/Mathlib/NumberTheory/LSeries/Positivity.lean index 1fa90d332f7af2..e40fcd5c458a06 100644 --- a/Mathlib/NumberTheory/LSeries/Positivity.lean +++ b/Mathlib/NumberTheory/LSeries/Positivity.lean @@ -5,11 +5,12 @@ Authors: Chris Birkbeck, David Loeffler, Michael Stoll -/ module -import Mathlib.Analysis.Complex.TaylorSeries -import Mathlib.Analysis.Complex.Positivity public import Mathlib.NumberTheory.ArithmeticFunction.Defs public import Mathlib.NumberTheory.LSeries.Deriv +import Mathlib.Analysis.Complex.TaylorSeries +import Mathlib.Analysis.Complex.Positivity + /-! # Positivity of values of L-series diff --git a/Mathlib/NumberTheory/LSeries/PrimesInAP.lean b/Mathlib/NumberTheory/LSeries/PrimesInAP.lean index 4275614aca0e17..ba0c50b99a1447 100644 --- a/Mathlib/NumberTheory/LSeries/PrimesInAP.lean +++ b/Mathlib/NumberTheory/LSeries/PrimesInAP.lean @@ -6,9 +6,10 @@ Authors: Michael Stoll module public import Mathlib.NumberTheory.DirichletCharacter.Orthogonality -import Mathlib.NumberTheory.LSeries.Linearity public import Mathlib.NumberTheory.LSeries.Nonvanishing +import Mathlib.NumberTheory.LSeries.Linearity + /-! # Dirichlet's Theorem on primes in arithmetic progression diff --git a/Mathlib/NumberTheory/LSeries/RiemannZeta.lean b/Mathlib/NumberTheory/LSeries/RiemannZeta.lean index bfd5addbd86abb..e95eeb3463f021 100644 --- a/Mathlib/NumberTheory/LSeries/RiemannZeta.lean +++ b/Mathlib/NumberTheory/LSeries/RiemannZeta.lean @@ -6,6 +6,7 @@ Authors: David Loeffler module public import Mathlib.NumberTheory.LSeries.HurwitzZeta + import Mathlib.Analysis.PSeriesComplex /-! diff --git a/Mathlib/NumberTheory/LSeries/SumCoeff.lean b/Mathlib/NumberTheory/LSeries/SumCoeff.lean index c6355847c7ac15..7e33e9e8dc6271 100644 --- a/Mathlib/NumberTheory/LSeries/SumCoeff.lean +++ b/Mathlib/NumberTheory/LSeries/SumCoeff.lean @@ -5,11 +5,12 @@ Authors: Xavier Roblot -/ module +public import Mathlib.NumberTheory.AbelSummation +public import Mathlib.NumberTheory.LSeries.Basic + import Mathlib.Analysis.Asymptotics.SpecificAsymptotics import Mathlib.Analysis.InnerProductSpace.Calculus import Mathlib.Analysis.SpecialFunctions.ImproperIntegrals -public import Mathlib.NumberTheory.AbelSummation -public import Mathlib.NumberTheory.LSeries.Basic /-! # Partial sums of coefficients of L-series diff --git a/Mathlib/NumberTheory/LSeries/ZetaZeros.lean b/Mathlib/NumberTheory/LSeries/ZetaZeros.lean index abdb1a89ced210..ea4119e2bfafe9 100644 --- a/Mathlib/NumberTheory/LSeries/ZetaZeros.lean +++ b/Mathlib/NumberTheory/LSeries/ZetaZeros.lean @@ -6,6 +6,7 @@ Authors: Huanyu Zheng module public import Mathlib.NumberTheory.LSeries.Nonvanishing + import Mathlib.Analysis.Analytic.Order /-! diff --git a/Mathlib/NumberTheory/LegendreSymbol/Complex.lean b/Mathlib/NumberTheory/LegendreSymbol/Complex.lean index e130be0518f44f..214cd46b77b8fb 100644 --- a/Mathlib/NumberTheory/LegendreSymbol/Complex.lean +++ b/Mathlib/NumberTheory/LegendreSymbol/Complex.lean @@ -5,9 +5,10 @@ Authors: Michael Stoll -/ module -import Mathlib.Analysis.Complex.Polynomial.Basic public import Mathlib.NumberTheory.LegendreSymbol.AddCharacter +import Mathlib.Analysis.Complex.Polynomial.Basic + /-! # Additive characters on finite fields diff --git a/Mathlib/NumberTheory/LegendreSymbol/GaussEisensteinLemmas.lean b/Mathlib/NumberTheory/LegendreSymbol/GaussEisensteinLemmas.lean index 5dabf91873e5c9..4e31273c2e00d3 100644 --- a/Mathlib/NumberTheory/LegendreSymbol/GaussEisensteinLemmas.lean +++ b/Mathlib/NumberTheory/LegendreSymbol/GaussEisensteinLemmas.lean @@ -5,9 +5,10 @@ Authors: Chris Hughes -/ module -import Mathlib.Data.Nat.Prime.Factorial public import Mathlib.NumberTheory.LegendreSymbol.Basic +import Mathlib.Data.Nat.Prime.Factorial + /-! # Lemmas of Gauss and Eisenstein diff --git a/Mathlib/NumberTheory/LocalField/Basic.lean b/Mathlib/NumberTheory/LocalField/Basic.lean index 4bc81ebedb62f8..d8fd78a457ccd7 100644 --- a/Mathlib/NumberTheory/LocalField/Basic.lean +++ b/Mathlib/NumberTheory/LocalField/Basic.lean @@ -5,11 +5,12 @@ Authors: Andrew Yang -/ module -import Mathlib.RingTheory.Valuation.DiscreteValuativeRel -import Mathlib.Topology.Algebra.Module.Compact public import Mathlib.Topology.Algebra.Valued.LocallyCompact public import Mathlib.Topology.Algebra.Valued.ValuativeRel +import Mathlib.RingTheory.Valuation.DiscreteValuativeRel +import Mathlib.Topology.Algebra.Module.Compact + /-! # Definition of (Non-archimedean) local fields diff --git a/Mathlib/NumberTheory/LucasLehmer.lean b/Mathlib/NumberTheory/LucasLehmer.lean index ae0b6db39e56e8..1e99fc72e6da73 100644 --- a/Mathlib/NumberTheory/LucasLehmer.lean +++ b/Mathlib/NumberTheory/LucasLehmer.lean @@ -6,6 +6,7 @@ Authors: Mario Carneiro, Alastair Irving, Kim Morrison, Ainsley Pahljina module public import Mathlib.NumberTheory.Fermat + import Mathlib.RingTheory.Fintype /-! diff --git a/Mathlib/NumberTheory/LucasPrimality.lean b/Mathlib/NumberTheory/LucasPrimality.lean index 7cb953ce021e70..1e2396e4b2735f 100644 --- a/Mathlib/NumberTheory/LucasPrimality.lean +++ b/Mathlib/NumberTheory/LucasPrimality.lean @@ -5,9 +5,10 @@ Authors: Bolton Bailey -/ module -import Mathlib.Algebra.Field.ZMod public import Mathlib.RingTheory.IntegralDomain +import Mathlib.Algebra.Field.ZMod + /-! # The Lucas test for primes diff --git a/Mathlib/NumberTheory/MahlerMeasure.lean b/Mathlib/NumberTheory/MahlerMeasure.lean index c2b3ab1ad8a827..2e4b6e7aa0c219 100644 --- a/Mathlib/NumberTheory/MahlerMeasure.lean +++ b/Mathlib/NumberTheory/MahlerMeasure.lean @@ -5,13 +5,14 @@ Authors: Fabrizio Barroero -/ module +public import Mathlib.Analysis.Polynomial.MahlerMeasure +public import Mathlib.RingTheory.Polynomial.Cyclotomic.Roots +public import Mathlib.RingTheory.SimpleRing.Principal + import Mathlib.Algebra.Polynomial.OfFn import Mathlib.Analysis.CStarAlgebra.Classes -public import Mathlib.Analysis.Polynomial.MahlerMeasure import Mathlib.Data.Pi.Interval import Mathlib.NumberTheory.NumberField.InfinitePlace.Embeddings -public import Mathlib.RingTheory.Polynomial.Cyclotomic.Roots -public import Mathlib.RingTheory.SimpleRing.Principal /-! # Mahler measure of integer polynomials diff --git a/Mathlib/NumberTheory/MaricaSchoenheim.lean b/Mathlib/NumberTheory/MaricaSchoenheim.lean index 03a3e805ba8c10..c0e6bbea05a168 100644 --- a/Mathlib/NumberTheory/MaricaSchoenheim.lean +++ b/Mathlib/NumberTheory/MaricaSchoenheim.lean @@ -5,9 +5,10 @@ Authors: Yaël Dillies -/ module -import Mathlib.Combinatorics.SetFamily.FourFunctions public import Mathlib.Data.Nat.Squarefree +import Mathlib.Combinatorics.SetFamily.FourFunctions + /-! # The Marica-Schönheim special case of Graham's conjecture diff --git a/Mathlib/NumberTheory/Modular.lean b/Mathlib/NumberTheory/Modular.lean index 4b281772e91c8e..395d06b84761df 100644 --- a/Mathlib/NumberTheory/Modular.lean +++ b/Mathlib/NumberTheory/Modular.lean @@ -6,6 +6,7 @@ Authors: Alex Kontorovich, Heather Macbeth, Marc Masdeu module public import Mathlib.Analysis.Complex.UpperHalfPlane.Topology + import Mathlib.Topology.Algebra.Module.FiniteDimension import Mathlib.Topology.Instances.Matrix import Mathlib.Topology.Instances.ZMultiples diff --git a/Mathlib/NumberTheory/ModularForms/Basic.lean b/Mathlib/NumberTheory/ModularForms/Basic.lean index d302ed7206738f..2031dfc27fdb2f 100644 --- a/Mathlib/NumberTheory/ModularForms/Basic.lean +++ b/Mathlib/NumberTheory/ModularForms/Basic.lean @@ -6,12 +6,13 @@ Authors: Chris Birkbeck module public import Mathlib.Algebra.DirectSum.Algebra -import Mathlib.Analysis.Calculus.FDeriv.Star public import Mathlib.Analysis.Complex.UpperHalfPlane.Manifold public import Mathlib.Geometry.Manifold.MFDeriv.SpecificFunctions public import Mathlib.NumberTheory.ModularForms.BoundedAtCusp public import Mathlib.NumberTheory.ModularForms.SlashInvariantForms +import Mathlib.Analysis.Calculus.FDeriv.Star + /-! # Modular forms diff --git a/Mathlib/NumberTheory/ModularForms/CongruenceSubgroups.lean b/Mathlib/NumberTheory/ModularForms/CongruenceSubgroups.lean index 9ee3da9fdff1ad..31ad6a94ac964a 100644 --- a/Mathlib/NumberTheory/ModularForms/CongruenceSubgroups.lean +++ b/Mathlib/NumberTheory/ModularForms/CongruenceSubgroups.lean @@ -5,9 +5,10 @@ Authors: Chris Birkbeck -/ module -import Mathlib.LinearAlgebra.Matrix.Integer public import Mathlib.NumberTheory.ModularForms.ArithmeticSubgroups +import Mathlib.LinearAlgebra.Matrix.Integer + /-! # Congruence subgroups diff --git a/Mathlib/NumberTheory/ModularForms/CuspFormSubmodule.lean b/Mathlib/NumberTheory/ModularForms/CuspFormSubmodule.lean index f0fc98cced7c06..12fc8f7103ddd8 100644 --- a/Mathlib/NumberTheory/ModularForms/CuspFormSubmodule.lean +++ b/Mathlib/NumberTheory/ModularForms/CuspFormSubmodule.lean @@ -7,6 +7,7 @@ module public import Mathlib.NumberTheory.ModularForms.LevelOne.Basic public import Mathlib.Analysis.CStarAlgebra.Classes + import Mathlib.Analysis.SpecialFunctions.Bernstein import Mathlib.Analysis.SpecialFunctions.Gamma.Basic import Mathlib.Data.Nat.Choose.Multinomial diff --git a/Mathlib/NumberTheory/ModularForms/Cusps.lean b/Mathlib/NumberTheory/ModularForms/Cusps.lean index e4024055dee854..9050134473c23f 100644 --- a/Mathlib/NumberTheory/ModularForms/Cusps.lean +++ b/Mathlib/NumberTheory/ModularForms/Cusps.lean @@ -5,12 +5,13 @@ Authors: David Loeffler -/ module -import Mathlib.Analysis.RCLike.Basic public import Mathlib.NumberTheory.ModularForms.CongruenceSubgroups -import Mathlib.RingTheory.Localization.NumDen public import Mathlib.Topology.Algebra.Order.ArchimedeanDiscrete public import Mathlib.Topology.Compactification.OnePoint.ProjectiveLine +import Mathlib.Analysis.RCLike.Basic +import Mathlib.RingTheory.Localization.NumDen + /-! # Cusps diff --git a/Mathlib/NumberTheory/ModularForms/DedekindEta.lean b/Mathlib/NumberTheory/ModularForms/DedekindEta.lean index 4f084ee776959a..a66a580a4858e0 100644 --- a/Mathlib/NumberTheory/ModularForms/DedekindEta.lean +++ b/Mathlib/NumberTheory/ModularForms/DedekindEta.lean @@ -5,9 +5,10 @@ Authors: Chris Birkbeck, David Loeffler -/ module -import Mathlib.Analysis.Calculus.LogDerivUniformlyOn public import Mathlib.NumberTheory.ModularForms.EisensteinSeries.E2.Summable +import Mathlib.Analysis.Calculus.LogDerivUniformlyOn + /-! # Dedekind eta function diff --git a/Mathlib/NumberTheory/ModularForms/Derivative.lean b/Mathlib/NumberTheory/ModularForms/Derivative.lean index 9e729617b68e00..7d9d7ce9e52062 100644 --- a/Mathlib/NumberTheory/ModularForms/Derivative.lean +++ b/Mathlib/NumberTheory/ModularForms/Derivative.lean @@ -5,8 +5,9 @@ Authors: Seewoo Lee -/ module -import Mathlib.Analysis.Complex.Liouville public import Mathlib.NumberTheory.ModularForms.EisensteinSeries.E2.MDifferentiable + +import Mathlib.Analysis.Complex.Liouville import Mathlib.NumberTheory.ModularForms.EisensteinSeries.E2.Transform /-! diff --git a/Mathlib/NumberTheory/ModularForms/Discriminant.lean b/Mathlib/NumberTheory/ModularForms/Discriminant.lean index 45b305cf769129..42d12e22ab2548 100644 --- a/Mathlib/NumberTheory/ModularForms/Discriminant.lean +++ b/Mathlib/NumberTheory/ModularForms/Discriminant.lean @@ -6,10 +6,11 @@ Authors: Chris Birkbeck module public import Mathlib.Analysis.Complex.SqrtDeriv -import Mathlib.Analysis.Normed.Ring.InfiniteProd public import Mathlib.NumberTheory.ModularForms.DedekindEta public import Mathlib.NumberTheory.ModularForms.EisensteinSeries.E2.Transform +import Mathlib.Analysis.Normed.Ring.InfiniteProd + /-! # The modular discriminant Δ diff --git a/Mathlib/NumberTheory/ModularForms/EisensteinSeries/E2/Defs.lean b/Mathlib/NumberTheory/ModularForms/EisensteinSeries/E2/Defs.lean index d1afcf3c8a4706..eb5fadb056b61d 100644 --- a/Mathlib/NumberTheory/ModularForms/EisensteinSeries/E2/Defs.lean +++ b/Mathlib/NumberTheory/ModularForms/EisensteinSeries/E2/Defs.lean @@ -8,10 +8,11 @@ module public import Mathlib.Analysis.CStarAlgebra.Classes public import Mathlib.NumberTheory.LSeries.RiemannZeta -import Mathlib.NumberTheory.ModularForms.EisensteinSeries.Summable public import Mathlib.NumberTheory.ModularForms.EisensteinSeries.Defs public import Mathlib.Topology.Algebra.InfiniteSum.ConditionalInt +import Mathlib.NumberTheory.ModularForms.EisensteinSeries.Summable + /-! # Eisenstein Series E2 diff --git a/Mathlib/NumberTheory/ModularForms/EisensteinSeries/E2/Transform.lean b/Mathlib/NumberTheory/ModularForms/EisensteinSeries/E2/Transform.lean index fa1da83f8309fa..e2f8eeb46483f5 100644 --- a/Mathlib/NumberTheory/ModularForms/EisensteinSeries/E2/Transform.lean +++ b/Mathlib/NumberTheory/ModularForms/EisensteinSeries/E2/Transform.lean @@ -7,6 +7,7 @@ Authors: Chris Birkbeck module public import Mathlib.NumberTheory.ModularForms.EisensteinSeries.E2.Summable + import Mathlib.LinearAlgebra.Matrix.FixedDetMatrices /-! diff --git a/Mathlib/NumberTheory/ModularForms/EisensteinSeries/IsBoundedAtImInfty.lean b/Mathlib/NumberTheory/ModularForms/EisensteinSeries/IsBoundedAtImInfty.lean index ea1cc176bfea8e..747b60f39e0119 100644 --- a/Mathlib/NumberTheory/ModularForms/EisensteinSeries/IsBoundedAtImInfty.lean +++ b/Mathlib/NumberTheory/ModularForms/EisensteinSeries/IsBoundedAtImInfty.lean @@ -7,6 +7,7 @@ module public import Mathlib.Analysis.Complex.UpperHalfPlane.FunctionsBoundedAtInfty public import Mathlib.NumberTheory.ModularForms.EisensteinSeries.Defs + import Mathlib.NumberTheory.ModularForms.EisensteinSeries.Summable import Mathlib.NumberTheory.ModularForms.Identities diff --git a/Mathlib/NumberTheory/ModularForms/EisensteinSeries/MDifferentiable.lean b/Mathlib/NumberTheory/ModularForms/EisensteinSeries/MDifferentiable.lean index cb91f5443d62b0..2ed12a9c4853e0 100644 --- a/Mathlib/NumberTheory/ModularForms/EisensteinSeries/MDifferentiable.lean +++ b/Mathlib/NumberTheory/ModularForms/EisensteinSeries/MDifferentiable.lean @@ -7,6 +7,7 @@ module public import Mathlib.NumberTheory.ModularForms.EisensteinSeries.UniformConvergence public import Mathlib.Analysis.Complex.UpperHalfPlane.Manifold + import Mathlib.Analysis.Complex.LocallyUniformLimit import Mathlib.Geometry.Manifold.MFDeriv.FDeriv diff --git a/Mathlib/NumberTheory/ModularForms/EisensteinSeries/UniformConvergence.lean b/Mathlib/NumberTheory/ModularForms/EisensteinSeries/UniformConvergence.lean index aa1058e5db90eb..da94ce2f0ef26d 100644 --- a/Mathlib/NumberTheory/ModularForms/EisensteinSeries/UniformConvergence.lean +++ b/Mathlib/NumberTheory/ModularForms/EisensteinSeries/UniformConvergence.lean @@ -5,10 +5,11 @@ Authors: Chris Birkbeck, David Loeffler -/ module -import Mathlib.Analysis.Normed.Group.FunctionSeries public import Mathlib.NumberTheory.ModularForms.EisensteinSeries.Defs public import Mathlib.NumberTheory.ModularForms.EisensteinSeries.Summable +import Mathlib.Analysis.Normed.Group.FunctionSeries + /-! # Uniform convergence of Eisenstein series diff --git a/Mathlib/NumberTheory/ModularForms/JacobiTheta/Manifold.lean b/Mathlib/NumberTheory/ModularForms/JacobiTheta/Manifold.lean index 532cef1635cf29..85a8290579548c 100644 --- a/Mathlib/NumberTheory/ModularForms/JacobiTheta/Manifold.lean +++ b/Mathlib/NumberTheory/ModularForms/JacobiTheta/Manifold.lean @@ -6,9 +6,10 @@ Authors: David Loeffler module public import Mathlib.Analysis.Complex.UpperHalfPlane.Manifold -import Mathlib.Geometry.Manifold.MFDeriv.FDeriv public import Mathlib.NumberTheory.ModularForms.JacobiTheta.OneVariable +import Mathlib.Geometry.Manifold.MFDeriv.FDeriv + /-! # Manifold differentiability of the Jacobi theta function diff --git a/Mathlib/NumberTheory/ModularForms/JacobiTheta/TwoVariable.lean b/Mathlib/NumberTheory/ModularForms/JacobiTheta/TwoVariable.lean index 64cdceb81e896a..73dbf92b8b7778 100644 --- a/Mathlib/NumberTheory/ModularForms/JacobiTheta/TwoVariable.lean +++ b/Mathlib/NumberTheory/ModularForms/JacobiTheta/TwoVariable.lean @@ -5,9 +5,10 @@ Authors: David Loeffler -/ module +public import Mathlib.Analysis.SpecialFunctions.Gaussian.PoissonSummation + import Mathlib.Analysis.Calculus.SmoothSeries import Mathlib.Analysis.Normed.Operator.Prod -public import Mathlib.Analysis.SpecialFunctions.Gaussian.PoissonSummation import Mathlib.LinearAlgebra.Complex.FiniteDimensional /-! diff --git a/Mathlib/NumberTheory/ModularForms/LFunction.lean b/Mathlib/NumberTheory/ModularForms/LFunction.lean index 1113413c9b50bf..36edc5af98c986 100644 --- a/Mathlib/NumberTheory/ModularForms/LFunction.lean +++ b/Mathlib/NumberTheory/ModularForms/LFunction.lean @@ -8,6 +8,7 @@ module public import Mathlib.NumberTheory.ModularForms.Bounds public import Mathlib.NumberTheory.LSeries.AbstractFuncEq public import Mathlib.NumberTheory.LSeries.MellinEqDirichlet + import Mathlib.Analysis.PSeries /-! diff --git a/Mathlib/NumberTheory/ModularForms/LevelOne/Basic.lean b/Mathlib/NumberTheory/ModularForms/LevelOne/Basic.lean index 9cf95dff7f5906..c0000c04854620 100644 --- a/Mathlib/NumberTheory/ModularForms/LevelOne/Basic.lean +++ b/Mathlib/NumberTheory/ModularForms/LevelOne/Basic.lean @@ -5,10 +5,11 @@ Authors: Chris Birkbeck -/ module -import Mathlib.Analysis.Complex.AbsMax -import Mathlib.LinearAlgebra.Matrix.FixedDetMatrices public import Mathlib.NumberTheory.Modular public import Mathlib.NumberTheory.ModularForms.QExpansion + +import Mathlib.Analysis.Complex.AbsMax +import Mathlib.LinearAlgebra.Matrix.FixedDetMatrices /-! # Level one modular forms diff --git a/Mathlib/NumberTheory/ModularForms/ProperlyDiscontinuous.lean b/Mathlib/NumberTheory/ModularForms/ProperlyDiscontinuous.lean index 724e2551bc59b8..55fab4095de439 100644 --- a/Mathlib/NumberTheory/ModularForms/ProperlyDiscontinuous.lean +++ b/Mathlib/NumberTheory/ModularForms/ProperlyDiscontinuous.lean @@ -7,6 +7,7 @@ module public import Mathlib.Analysis.Complex.UpperHalfPlane.ProperAction public import Mathlib.NumberTheory.ModularForms.ArithmeticSubgroups + import Mathlib.Topology.Algebra.Group.DiscontinuousSubgroup /-! diff --git a/Mathlib/NumberTheory/ModularForms/QExpansion.lean b/Mathlib/NumberTheory/ModularForms/QExpansion.lean index 7df434e5f0bbba..ea8b3e19982b94 100644 --- a/Mathlib/NumberTheory/ModularForms/QExpansion.lean +++ b/Mathlib/NumberTheory/ModularForms/QExpansion.lean @@ -5,11 +5,12 @@ Authors: David Loeffler -/ module -import Mathlib.Analysis.Complex.TaylorSeries public import Mathlib.Analysis.Complex.UpperHalfPlane.Exp public import Mathlib.NumberTheory.ModularForms.Basic public import Mathlib.NumberTheory.ModularForms.Identities public import Mathlib.RingTheory.PowerSeries.Basic + +import Mathlib.Analysis.Complex.TaylorSeries import Mathlib.RingTheory.MvPowerSeries.NoZeroDivisors /-! diff --git a/Mathlib/NumberTheory/ModularForms/RamanujanFormula.lean b/Mathlib/NumberTheory/ModularForms/RamanujanFormula.lean index b486ad34fb6741..1b414a0b612497 100644 --- a/Mathlib/NumberTheory/ModularForms/RamanujanFormula.lean +++ b/Mathlib/NumberTheory/ModularForms/RamanujanFormula.lean @@ -6,6 +6,7 @@ Authors: Seewoo Lee module public import Mathlib.NumberTheory.ModularForms.Derivative + import Mathlib.NumberTheory.ModularForms.LevelOne.DimensionFormula /-! diff --git a/Mathlib/NumberTheory/ModularForms/SlashActions.lean b/Mathlib/NumberTheory/ModularForms/SlashActions.lean index 7617880e006702..e10088108598e3 100644 --- a/Mathlib/NumberTheory/ModularForms/SlashActions.lean +++ b/Mathlib/NumberTheory/ModularForms/SlashActions.lean @@ -6,6 +6,7 @@ Authors: Chris Birkbeck module public import Mathlib.Analysis.Complex.UpperHalfPlane.MoebiusAction + import Mathlib.Tactic.AdaptationNote /-! diff --git a/Mathlib/NumberTheory/MulChar/Basic.lean b/Mathlib/NumberTheory/MulChar/Basic.lean index ae4db0bd565c0b..9e27c6dccf70fc 100644 --- a/Mathlib/NumberTheory/MulChar/Basic.lean +++ b/Mathlib/NumberTheory/MulChar/Basic.lean @@ -5,12 +5,13 @@ Authors: Michael Stoll -/ module -import Mathlib.Algebra.CharP.Basic public import Mathlib.Algebra.CharP.Lemmas public import Mathlib.Algebra.Group.Submonoid.Units public import Mathlib.Algebra.GroupWithZero.Units.Fintype public import Mathlib.GroupTheory.OrderOfElement +import Mathlib.Algebra.CharP.Basic + /-! # Multiplicative characters of finite rings and fields diff --git a/Mathlib/NumberTheory/Multiplicity.lean b/Mathlib/NumberTheory/Multiplicity.lean index 9580ba6ba46ab8..be9500c249c3a5 100644 --- a/Mathlib/NumberTheory/Multiplicity.lean +++ b/Mathlib/NumberTheory/Multiplicity.lean @@ -5,8 +5,9 @@ Authors: Tian Chen, Mantas Bakšys -/ module -import Mathlib.Data.Nat.Choose.Sum public import Mathlib.NumberTheory.Padics.PadicVal.Basic + +import Mathlib.Data.Nat.Choose.Sum import Mathlib.RingTheory.Ideal.Quotient.Defs import Mathlib.RingTheory.Ideal.Span diff --git a/Mathlib/NumberTheory/Niven.lean b/Mathlib/NumberTheory/Niven.lean index 3c6407152b9bb6..6c2643bd585542 100644 --- a/Mathlib/NumberTheory/Niven.lean +++ b/Mathlib/NumberTheory/Niven.lean @@ -5,10 +5,11 @@ Authors: Alex Meiburg, Snir Broshi -/ module -import Mathlib.Analysis.Complex.IsIntegral public import Mathlib.Analysis.SpecialFunctions.Trigonometric.Basic public import Mathlib.RingTheory.Polynomial.RationalRoot public import Mathlib.NumberTheory.Real.Irrational + +import Mathlib.Analysis.Complex.IsIntegral import Mathlib.Tactic.Peel import Mathlib.Tactic.Rify import Mathlib.Tactic.Qify diff --git a/Mathlib/NumberTheory/NumberField/Basic.lean b/Mathlib/NumberTheory/NumberField/Basic.lean index 6fd040c5e19c09..352d3c5efc9673 100644 --- a/Mathlib/NumberTheory/NumberField/Basic.lean +++ b/Mathlib/NumberTheory/NumberField/Basic.lean @@ -5,11 +5,12 @@ Authors: Ashvni Narayanan, Anne Baanen -/ module -import Mathlib.Algebra.Algebra.Rat public import Mathlib.Algebra.CharZero.AddMonoidHom public import Mathlib.RingTheory.DedekindDomain.IntegralClosure public import Mathlib.RingTheory.Ideal.Quotient.HasFiniteQuotients.Basic +import Mathlib.Algebra.Algebra.Rat + /-! # Number fields diff --git a/Mathlib/NumberTheory/NumberField/CMField.lean b/Mathlib/NumberTheory/NumberField/CMField.lean index 5f0737394059d3..9c584923c32adf 100644 --- a/Mathlib/NumberTheory/NumberField/CMField.lean +++ b/Mathlib/NumberTheory/NumberField/CMField.lean @@ -5,10 +5,11 @@ Authors: Xavier Roblot -/ module -import Mathlib.FieldTheory.Galois.IsGaloisGroup public import Mathlib.NumberTheory.NumberField.Cyclotomic.Embeddings public import Mathlib.NumberTheory.NumberField.Units.Regulator +import Mathlib.FieldTheory.Galois.IsGaloisGroup + /-! # CM-extension of number fields diff --git a/Mathlib/NumberTheory/NumberField/CanonicalEmbedding/ConvexBody.lean b/Mathlib/NumberTheory/NumberField/CanonicalEmbedding/ConvexBody.lean index 1649f8afcee154..00d6443220722a 100644 --- a/Mathlib/NumberTheory/NumberField/CanonicalEmbedding/ConvexBody.lean +++ b/Mathlib/NumberTheory/NumberField/CanonicalEmbedding/ConvexBody.lean @@ -5,11 +5,12 @@ Authors: Xavier Roblot -/ module -import Mathlib.MeasureTheory.Group.GeometryOfNumbers -import Mathlib.MeasureTheory.Measure.Lebesgue.VolumeOfBalls public import Mathlib.NumberTheory.NumberField.CanonicalEmbedding.Basic public import Mathlib.Analysis.SpecialFunctions.Gamma.BohrMollerup +import Mathlib.MeasureTheory.Group.GeometryOfNumbers +import Mathlib.MeasureTheory.Measure.Lebesgue.VolumeOfBalls + /-! # Convex Bodies diff --git a/Mathlib/NumberTheory/NumberField/ClassNumber.lean b/Mathlib/NumberTheory/NumberField/ClassNumber.lean index 6242d79ab529b2..5901aa7260f7fa 100644 --- a/Mathlib/NumberTheory/NumberField/ClassNumber.lean +++ b/Mathlib/NumberTheory/NumberField/ClassNumber.lean @@ -8,9 +8,10 @@ module public import Mathlib.NumberTheory.ClassNumber.AdmissibleAbs public import Mathlib.NumberTheory.ClassNumber.Finite public import Mathlib.NumberTheory.NumberField.Discriminant.Basic -import Mathlib.RingTheory.Ideal.IsPrincipal public import Mathlib.NumberTheory.RamificationInertia.Galois +import Mathlib.RingTheory.Ideal.IsPrincipal + /-! # Class numbers of number fields diff --git a/Mathlib/NumberTheory/NumberField/Completion/FinitePlace.lean b/Mathlib/NumberTheory/NumberField/Completion/FinitePlace.lean index 6c871305cc92f1..91cb685c64ab95 100644 --- a/Mathlib/NumberTheory/NumberField/Completion/FinitePlace.lean +++ b/Mathlib/NumberTheory/NumberField/Completion/FinitePlace.lean @@ -5,14 +5,14 @@ Authors: Fabrizio Barroero -/ module -import Mathlib.Algebra.Order.Archimedean.Submonoid public import Mathlib.NumberTheory.NumberField.InfinitePlace.Embeddings public import Mathlib.NumberTheory.RamificationInertia.Valuation public import Mathlib.RingTheory.DedekindDomain.Factorization public import Mathlib.RingTheory.RamificationInertia.Inertia -import Mathlib.RingTheory.Valuation.Archimedean public import Mathlib.Topology.Algebra.Valued.NormedValued +import Mathlib.Algebra.Order.Archimedean.Submonoid +import Mathlib.RingTheory.Valuation.Archimedean import Mathlib.Algebra.FiniteSupport.Basic /-! diff --git a/Mathlib/NumberTheory/NumberField/Cyclotomic/Basic.lean b/Mathlib/NumberTheory/NumberField/Cyclotomic/Basic.lean index 4a79a93604d37a..8f3745030fdde8 100644 --- a/Mathlib/NumberTheory/NumberField/Cyclotomic/Basic.lean +++ b/Mathlib/NumberTheory/NumberField/Cyclotomic/Basic.lean @@ -6,9 +6,10 @@ Authors: Riccardo Brasca module public import Mathlib.LinearAlgebra.FreeModule.IdealQuotient -import Mathlib.NumberTheory.Cyclotomic.Discriminant public import Mathlib.NumberTheory.NumberField.Cyclotomic.Embeddings public import Mathlib.NumberTheory.NumberField.Discriminant.Different + +import Mathlib.NumberTheory.Cyclotomic.Discriminant import Mathlib.RingTheory.Polynomial.Eisenstein.IsIntegral import Mathlib.RingTheory.Prime diff --git a/Mathlib/NumberTheory/NumberField/Cyclotomic/Galois.lean b/Mathlib/NumberTheory/NumberField/Cyclotomic/Galois.lean index a162adc1523f6a..d7cbae97816394 100644 --- a/Mathlib/NumberTheory/NumberField/Cyclotomic/Galois.lean +++ b/Mathlib/NumberTheory/NumberField/Cyclotomic/Galois.lean @@ -5,10 +5,11 @@ Authors: Xavier Roblot -/ module -import Mathlib.FieldTheory.Finite.Extension public import Mathlib.NumberTheory.Cyclotomic.Gal public import Mathlib.NumberTheory.DirichletCharacter.Basic public import Mathlib.NumberTheory.MulChar.Duality + +import Mathlib.FieldTheory.Finite.Extension import Mathlib.NumberTheory.NumberField.Cyclotomic.Ideal import Mathlib.NumberTheory.NumberField.Ideal.Basic diff --git a/Mathlib/NumberTheory/NumberField/Cyclotomic/Ideal.lean b/Mathlib/NumberTheory/NumberField/Cyclotomic/Ideal.lean index b6091c02e2ef68..e5f958dc4dc78c 100644 --- a/Mathlib/NumberTheory/NumberField/Cyclotomic/Ideal.lean +++ b/Mathlib/NumberTheory/NumberField/Cyclotomic/Ideal.lean @@ -7,6 +7,7 @@ module public import Mathlib.NumberTheory.NumberField.Cyclotomic.Basic public import Mathlib.NumberTheory.NumberField.Ideal.KummerDedekind + import Mathlib.RingTheory.Polynomial.Cyclotomic.Factorization import Mathlib.RingTheory.RootsOfUnity.CyclotomicUnits diff --git a/Mathlib/NumberTheory/NumberField/Cyclotomic/PID.lean b/Mathlib/NumberTheory/NumberField/Cyclotomic/PID.lean index 1f97321a7e0441..230e9dfc3257ed 100644 --- a/Mathlib/NumberTheory/NumberField/Cyclotomic/PID.lean +++ b/Mathlib/NumberTheory/NumberField/Cyclotomic/PID.lean @@ -5,9 +5,10 @@ Authors: Riccardo Brasca -/ module +public import Mathlib.NumberTheory.NumberField.Cyclotomic.Embeddings + import Mathlib.NumberTheory.NumberField.ClassNumber import Mathlib.NumberTheory.NumberField.Cyclotomic.Basic -public import Mathlib.NumberTheory.NumberField.Cyclotomic.Embeddings /-! # Cyclotomic fields whose ring of integers is a PID. diff --git a/Mathlib/NumberTheory/NumberField/Cyclotomic/Three.lean b/Mathlib/NumberTheory/NumberField/Cyclotomic/Three.lean index fa9bd75f57461d..755687e1da618e 100644 --- a/Mathlib/NumberTheory/NumberField/Cyclotomic/Three.lean +++ b/Mathlib/NumberTheory/NumberField/Cyclotomic/Three.lean @@ -6,6 +6,7 @@ Authors: Riccardo Brasca, Pietro Monticone module public import Mathlib.NumberTheory.NumberField.Cyclotomic.Basic + import Mathlib.NumberTheory.NumberField.Units.DirichletTheorem import Mathlib.RingTheory.Fintype diff --git a/Mathlib/NumberTheory/NumberField/DedekindZeta.lean b/Mathlib/NumberTheory/NumberField/DedekindZeta.lean index 0d27bdd8f54480..5438b647057563 100644 --- a/Mathlib/NumberTheory/NumberField/DedekindZeta.lean +++ b/Mathlib/NumberTheory/NumberField/DedekindZeta.lean @@ -5,10 +5,11 @@ Authors: Xavier Roblot -/ module -import Mathlib.Algebra.BigOperators.Ring.Nat public import Mathlib.NumberTheory.LSeries.SumCoeff public import Mathlib.NumberTheory.NumberField.Ideal.Asymptotics +import Mathlib.Algebra.BigOperators.Ring.Nat + /-! # The Dedekind zeta function of a number field diff --git a/Mathlib/NumberTheory/NumberField/Discriminant/Basic.lean b/Mathlib/NumberTheory/NumberField/Discriminant/Basic.lean index 7ccf9eea06d997..38c2a61ae3ac65 100644 --- a/Mathlib/NumberTheory/NumberField/Discriminant/Basic.lean +++ b/Mathlib/NumberTheory/NumberField/Discriminant/Basic.lean @@ -11,6 +11,7 @@ public import Mathlib.NumberTheory.NumberField.CanonicalEmbedding.ConvexBody public import Mathlib.NumberTheory.NumberField.Discriminant.Defs public import Mathlib.NumberTheory.NumberField.EquivReindex public import Mathlib.NumberTheory.NumberField.InfinitePlace.TotallyRealComplex + import Mathlib.Analysis.SpecialFunctions.Log.Base /-! diff --git a/Mathlib/NumberTheory/NumberField/ExistsRamified.lean b/Mathlib/NumberTheory/NumberField/ExistsRamified.lean index 0d924811095e50..91d7cd1c970d35 100644 --- a/Mathlib/NumberTheory/NumberField/ExistsRamified.lean +++ b/Mathlib/NumberTheory/NumberField/ExistsRamified.lean @@ -5,9 +5,10 @@ Authors: Andrew Yang -/ module +public import Mathlib.NumberTheory.RamificationInertia.Galois + import Mathlib.NumberTheory.NumberField.Discriminant.Basic import Mathlib.NumberTheory.NumberField.Discriminant.Different -public import Mathlib.NumberTheory.RamificationInertia.Galois import Mathlib.RingTheory.Unramified.Dedekind /-! diff --git a/Mathlib/NumberTheory/NumberField/FiniteAdeleRing.lean b/Mathlib/NumberTheory/NumberField/FiniteAdeleRing.lean index b9b9a2f43ec787..68232fe2c9b4ed 100644 --- a/Mathlib/NumberTheory/NumberField/FiniteAdeleRing.lean +++ b/Mathlib/NumberTheory/NumberField/FiniteAdeleRing.lean @@ -8,6 +8,7 @@ module public import Mathlib.RingTheory.DedekindDomain.FiniteAdeleRing public import Mathlib.NumberTheory.NumberField.ProductFormula + import Mathlib.Algebra.FiniteSupport.Basic /-! diff --git a/Mathlib/NumberTheory/NumberField/FractionalIdeal.lean b/Mathlib/NumberTheory/NumberField/FractionalIdeal.lean index a0afadec4f1a75..609949f98a0308 100644 --- a/Mathlib/NumberTheory/NumberField/FractionalIdeal.lean +++ b/Mathlib/NumberTheory/NumberField/FractionalIdeal.lean @@ -5,10 +5,11 @@ Authors: Xavier Roblot -/ module -import Mathlib.Algebra.CharZero.Infinite public import Mathlib.NumberTheory.NumberField.Basic public import Mathlib.RingTheory.FractionalIdeal.Norm +import Mathlib.Algebra.CharZero.Infinite + /-! # Fractional ideals of number fields diff --git a/Mathlib/NumberTheory/NumberField/InfiniteAdeleRing.lean b/Mathlib/NumberTheory/NumberField/InfiniteAdeleRing.lean index 72d0bdbad79863..17b221c1a16392 100644 --- a/Mathlib/NumberTheory/NumberField/InfiniteAdeleRing.lean +++ b/Mathlib/NumberTheory/NumberField/InfiniteAdeleRing.lean @@ -5,10 +5,11 @@ Authors: Salvatore Mercuri, María Inés de Frutos-Fernández -/ module -import Mathlib.Algebra.Group.Pi.Units public import Mathlib.NumberTheory.NumberField.CanonicalEmbedding.Basic public import Mathlib.NumberTheory.NumberField.Completion.InfinitePlace +import Mathlib.Algebra.Group.Pi.Units + /-! # The infinite adele ring of a number field diff --git a/Mathlib/NumberTheory/NumberField/InfinitePlace/TotallyRealComplex.lean b/Mathlib/NumberTheory/NumberField/InfinitePlace/TotallyRealComplex.lean index 0065b52c9d3ca0..5ea924d26cad19 100644 --- a/Mathlib/NumberTheory/NumberField/InfinitePlace/TotallyRealComplex.lean +++ b/Mathlib/NumberTheory/NumberField/InfinitePlace/TotallyRealComplex.lean @@ -5,9 +5,10 @@ Authors: Kevin Buzzard, Xavier Roblot -/ module -import Mathlib.FieldTheory.PrimeField public import Mathlib.NumberTheory.NumberField.InfinitePlace.Ramification +import Mathlib.FieldTheory.PrimeField + /-! # Totally real and totally complex number fields diff --git a/Mathlib/NumberTheory/NumberField/Units/DirichletTheorem.lean b/Mathlib/NumberTheory/NumberField/Units/DirichletTheorem.lean index 0c6c2eda42b6a9..fb32b211b4da7b 100644 --- a/Mathlib/NumberTheory/NumberField/Units/DirichletTheorem.lean +++ b/Mathlib/NumberTheory/NumberField/Units/DirichletTheorem.lean @@ -5,9 +5,10 @@ Authors: Xavier Roblot -/ module +public import Mathlib.NumberTheory.NumberField.CanonicalEmbedding.ConvexBody + import Mathlib.LinearAlgebra.Dimension.Torsion.Basic import Mathlib.LinearAlgebra.Matrix.Gershgorin -public import Mathlib.NumberTheory.NumberField.CanonicalEmbedding.ConvexBody /-! # Dirichlet theorem on the group of units of a number field diff --git a/Mathlib/NumberTheory/NumberField/Units/Regulator.lean b/Mathlib/NumberTheory/NumberField/Units/Regulator.lean index 7129fd498c966e..f842d3866fc2f7 100644 --- a/Mathlib/NumberTheory/NumberField/Units/Regulator.lean +++ b/Mathlib/NumberTheory/NumberField/Units/Regulator.lean @@ -6,9 +6,10 @@ Authors: Xavier Roblot module public import Mathlib.Algebra.Module.ZLattice.Covolume -import Mathlib.LinearAlgebra.Matrix.Determinant.Misc public import Mathlib.NumberTheory.NumberField.Units.DirichletTheorem +import Mathlib.LinearAlgebra.Matrix.Determinant.Misc + /-! # Regulator of a number field diff --git a/Mathlib/NumberTheory/Ostrowski.lean b/Mathlib/NumberTheory/Ostrowski.lean index b5e67f1b5236c4..9f7be229ab0852 100644 --- a/Mathlib/NumberTheory/Ostrowski.lean +++ b/Mathlib/NumberTheory/Ostrowski.lean @@ -9,9 +9,10 @@ module public import Mathlib.Analysis.AbsoluteValue.Equivalence public import Mathlib.Analysis.SpecialFunctions.Log.Base -import Mathlib.Analysis.SpecialFunctions.Pow.Continuity public import Mathlib.NumberTheory.Padics.PadicNorm +import Mathlib.Analysis.SpecialFunctions.Pow.Continuity + /-! # Ostrowski’s Theorem diff --git a/Mathlib/NumberTheory/Padics/AddChar.lean b/Mathlib/NumberTheory/Padics/AddChar.lean index f75e65b0c3432e..b3ba3b42b65094 100644 --- a/Mathlib/NumberTheory/Padics/AddChar.lean +++ b/Mathlib/NumberTheory/Padics/AddChar.lean @@ -6,9 +6,10 @@ Authors: David Loeffler module public import Mathlib.NumberTheory.Padics.MahlerBasis -import Mathlib.Topology.Algebra.Monoid.AddChar public import Mathlib.Analysis.SpecificLimits.Normed +import Mathlib.Topology.Algebra.Monoid.AddChar + /-! # Additive characters of `ℤ_[p]` diff --git a/Mathlib/NumberTheory/Padics/Hensel.lean b/Mathlib/NumberTheory/Padics/Hensel.lean index 0cbae457ec399e..dfd758e02cce1d 100644 --- a/Mathlib/NumberTheory/Padics/Hensel.lean +++ b/Mathlib/NumberTheory/Padics/Hensel.lean @@ -5,10 +5,11 @@ Authors: Robert Y. Lewis -/ module -import Mathlib.Algebra.Polynomial.Identities -import Mathlib.Analysis.SpecificLimits.Basic public import Mathlib.NumberTheory.Padics.PadicIntegers public import Mathlib.Topology.Algebra.Polynomial + +import Mathlib.Algebra.Polynomial.Identities +import Mathlib.Analysis.SpecificLimits.Basic import Mathlib.Topology.MetricSpace.CauSeqFilter /-! diff --git a/Mathlib/NumberTheory/Padics/LocalField.lean b/Mathlib/NumberTheory/Padics/LocalField.lean index bdc90832113443..758823e0c50b02 100644 --- a/Mathlib/NumberTheory/Padics/LocalField.lean +++ b/Mathlib/NumberTheory/Padics/LocalField.lean @@ -6,9 +6,10 @@ Authors: Wenrong Zou module public import Mathlib.NumberTheory.LocalField.Basic -import Mathlib.NumberTheory.Padics.ProperSpace public import Mathlib.NumberTheory.Padics.ValuativeRel +import Mathlib.NumberTheory.Padics.ProperSpace + /-! # `ℚ_[p]` is a non-archimedean local field diff --git a/Mathlib/NumberTheory/Padics/Measure/AmiceTransform.lean b/Mathlib/NumberTheory/Padics/Measure/AmiceTransform.lean index a89ec5d5597be6..4c1d80a19bb325 100644 --- a/Mathlib/NumberTheory/Padics/Measure/AmiceTransform.lean +++ b/Mathlib/NumberTheory/Padics/Measure/AmiceTransform.lean @@ -7,9 +7,10 @@ module public import Mathlib.NumberTheory.Padics.Measure.Basic public import Mathlib.RingTheory.PowerSeries.Basic +public import Mathlib.NumberTheory.Padics.MahlerBasis + import Mathlib.Topology.Algebra.InfiniteSum.Module import Mathlib.Algebra.Order.Field.Power -public import Mathlib.NumberTheory.Padics.MahlerBasis /-! # The Amice transform diff --git a/Mathlib/NumberTheory/Padics/Measure/Topology.lean b/Mathlib/NumberTheory/Padics/Measure/Topology.lean index 2379f32abaee2a..f5422616216624 100644 --- a/Mathlib/NumberTheory/Padics/Measure/Topology.lean +++ b/Mathlib/NumberTheory/Padics/Measure/Topology.lean @@ -6,10 +6,11 @@ Authors: David Loeffler module public import Mathlib.NumberTheory.Padics.Measure.Basic +public import Mathlib.Topology.Algebra.Module.Spaces.ContinuousLinearMap + import Mathlib.Analysis.Real.Sqrt import Mathlib.Data.EReal.Inv import Mathlib.Tactic.ContinuousFunctionalCalculus -public import Mathlib.Topology.Algebra.Module.Spaces.ContinuousLinearMap /-! # Topologies on spaces of measures diff --git a/Mathlib/NumberTheory/Padics/PadicNorm.lean b/Mathlib/NumberTheory/Padics/PadicNorm.lean index af3aebef1ba82d..b7987263c7a1ae 100644 --- a/Mathlib/NumberTheory/Padics/PadicNorm.lean +++ b/Mathlib/NumberTheory/Padics/PadicNorm.lean @@ -7,6 +7,7 @@ module public import Mathlib.Algebra.Order.AbsoluteValue.Basic public import Mathlib.NumberTheory.Padics.PadicVal.Basic + import Mathlib.Algebra.Order.Ring.IsNonarchimedean /-! diff --git a/Mathlib/NumberTheory/Padics/PadicNumbers.lean b/Mathlib/NumberTheory/Padics/PadicNumbers.lean index 5221522fbb7590..c7c27d2c2865a7 100644 --- a/Mathlib/NumberTheory/Padics/PadicNumbers.lean +++ b/Mathlib/NumberTheory/Padics/PadicNumbers.lean @@ -9,9 +9,10 @@ public import Mathlib.Analysis.Normed.Field.Lemmas public import Mathlib.Data.Nat.Cast.Order.Field public import Mathlib.NumberTheory.Padics.PadicNorm public import Mathlib.RingTheory.Valuation.Basic -import Mathlib.Tactic.Peel public import Mathlib.Topology.MetricSpace.Ultra.Basic +import Mathlib.Tactic.Peel + /-! # p-adic numbers diff --git a/Mathlib/NumberTheory/Padics/ProperSpace.lean b/Mathlib/NumberTheory/Padics/ProperSpace.lean index 2db36fc345fc56..4728a452311c01 100644 --- a/Mathlib/NumberTheory/Padics/ProperSpace.lean +++ b/Mathlib/NumberTheory/Padics/ProperSpace.lean @@ -5,9 +5,10 @@ Authors: Jou Glasheen, Kevin Buzzard -/ module -import Mathlib.Analysis.Normed.Field.ProperSpace public import Mathlib.NumberTheory.Padics.RingHoms +import Mathlib.Analysis.Normed.Field.ProperSpace + /-! # Properness of the p-adic numbers diff --git a/Mathlib/NumberTheory/Padics/RingHoms.lean b/Mathlib/NumberTheory/Padics/RingHoms.lean index a67f04621aaa3f..9cd9f171bf10c3 100644 --- a/Mathlib/NumberTheory/Padics/RingHoms.lean +++ b/Mathlib/NumberTheory/Padics/RingHoms.lean @@ -8,6 +8,7 @@ module public import Mathlib.Algebra.Field.ZMod public import Mathlib.NumberTheory.Padics.PadicIntegers public import Mathlib.RingTheory.LocalRing.ResidueField.Defs + import Mathlib.RingTheory.ZMod /-! diff --git a/Mathlib/NumberTheory/Padics/ValuativeRel.lean b/Mathlib/NumberTheory/Padics/ValuativeRel.lean index f7b9e7480e5ab5..eb4f3e750fcdcb 100644 --- a/Mathlib/NumberTheory/Padics/ValuativeRel.lean +++ b/Mathlib/NumberTheory/Padics/ValuativeRel.lean @@ -6,9 +6,10 @@ Authors: Yakov Pechersky module public import Mathlib.NumberTheory.Padics.PadicNumbers -import Mathlib.RingTheory.Valuation.RankOne public import Mathlib.Topology.Algebra.ValuativeRel.ValuativeTopology +import Mathlib.RingTheory.Valuation.RankOne + /-! # p-adic numbers with a valuative relation diff --git a/Mathlib/NumberTheory/Pell.lean b/Mathlib/NumberTheory/Pell.lean index 4ef3a1290bb421..fb086bfd07c29c 100644 --- a/Mathlib/NumberTheory/Pell.lean +++ b/Mathlib/NumberTheory/Pell.lean @@ -5,9 +5,10 @@ Authors: Michael Geißer, Michael Stoll -/ module +public import Mathlib.NumberTheory.Zsqrtd.Basic + import Mathlib.Data.ZMod.Basic import Mathlib.NumberTheory.DiophantineApproximation.Basic -public import Mathlib.NumberTheory.Zsqrtd.Basic import Mathlib.Tactic.Qify /-! diff --git a/Mathlib/NumberTheory/PellMatiyasevic.lean b/Mathlib/NumberTheory/PellMatiyasevic.lean index 6ede8ed67569fc..db9c757dd7cac2 100644 --- a/Mathlib/NumberTheory/PellMatiyasevic.lean +++ b/Mathlib/NumberTheory/PellMatiyasevic.lean @@ -6,9 +6,10 @@ Authors: Mario Carneiro module public import Mathlib.Data.Nat.ModEq -import Mathlib.Data.Nat.Prime.Basic public import Mathlib.NumberTheory.Zsqrtd.Basic +import Mathlib.Data.Nat.Prime.Basic + /-! # Pell's equation and Matiyasevic's theorem diff --git a/Mathlib/NumberTheory/PythagoreanTriples.lean b/Mathlib/NumberTheory/PythagoreanTriples.lean index 4a39f0179247f2..a315506d2647e0 100644 --- a/Mathlib/NumberTheory/PythagoreanTriples.lean +++ b/Mathlib/NumberTheory/PythagoreanTriples.lean @@ -5,11 +5,12 @@ Authors: Paul van Wamelen -/ module -import Mathlib.Data.Int.NatPrime public import Mathlib.Data.ZMod.Basic public import Mathlib.RingTheory.Int.Basic public import Mathlib.Tactic.Field +import Mathlib.Data.Int.NatPrime + /-! # Pythagorean Triples diff --git a/Mathlib/NumberTheory/RamificationInertia/Ramification.lean b/Mathlib/NumberTheory/RamificationInertia/Ramification.lean index f2ce763c24726e..72581a4a6f0367 100644 --- a/Mathlib/NumberTheory/RamificationInertia/Ramification.lean +++ b/Mathlib/NumberTheory/RamificationInertia/Ramification.lean @@ -5,9 +5,10 @@ Authors: Anne Baanen -/ module -import Mathlib.Algebra.GroupWithZero.Torsion public import Mathlib.RingTheory.DedekindDomain.Ideal.Lemmas public import Mathlib.CategoryTheory.Category.Init + +import Mathlib.Algebra.GroupWithZero.Torsion import Mathlib.Data.Nat.Totient import Mathlib.Data.Rat.Floor import Mathlib.RingTheory.Nakayama diff --git a/Mathlib/NumberTheory/RamificationInertia/Unramified.lean b/Mathlib/NumberTheory/RamificationInertia/Unramified.lean index 920c24fc74ccbb..41d995c5884eaf 100644 --- a/Mathlib/NumberTheory/RamificationInertia/Unramified.lean +++ b/Mathlib/NumberTheory/RamificationInertia/Unramified.lean @@ -5,9 +5,10 @@ Authors: Andrew Yang -/ module +public import Mathlib.RingTheory.RamificationInertia.Ramification + import Mathlib.RingTheory.Ideal.Quotient.HasFiniteQuotients.Basic import Mathlib.Algebra.Order.BigOperators.Ring.Finset -public import Mathlib.RingTheory.RamificationInertia.Ramification /-! diff --git a/Mathlib/NumberTheory/SelbergSieve.lean b/Mathlib/NumberTheory/SelbergSieve.lean index e0d98d8d2831ac..d5de2143b8d30d 100644 --- a/Mathlib/NumberTheory/SelbergSieve.lean +++ b/Mathlib/NumberTheory/SelbergSieve.lean @@ -7,6 +7,7 @@ module public import Mathlib.Basic.Real.Basic public import Mathlib.NumberTheory.ArithmeticFunction.Moebius + import Mathlib.Tactic.FieldSimp /-! diff --git a/Mathlib/NumberTheory/SmoothNumbers.lean b/Mathlib/NumberTheory/SmoothNumbers.lean index d95214b8cf3a73..5a7d26f2c56e1a 100644 --- a/Mathlib/NumberTheory/SmoothNumbers.lean +++ b/Mathlib/NumberTheory/SmoothNumbers.lean @@ -5,9 +5,10 @@ Authors: Michael Stoll, Ralf Stephan -/ module -import Mathlib.Data.Nat.Squarefree public import Mathlib.NumberTheory.PrimeCounting +import Mathlib.Data.Nat.Squarefree + /-! # Smooth numbers diff --git a/Mathlib/NumberTheory/SumPrimeReciprocals.lean b/Mathlib/NumberTheory/SumPrimeReciprocals.lean index be34c5c15071d3..a41f686c423efc 100644 --- a/Mathlib/NumberTheory/SumPrimeReciprocals.lean +++ b/Mathlib/NumberTheory/SumPrimeReciprocals.lean @@ -5,10 +5,11 @@ Authors: Michael Stoll -/ module -import Mathlib.Algebra.Order.Group.Indicator public import Mathlib.Analysis.PSeries public import Mathlib.NumberTheory.SmoothNumbers +import Mathlib.Algebra.Order.Group.Indicator + /-! # The sum of the reciprocals of the primes diverges diff --git a/Mathlib/NumberTheory/SumTwoSquares.lean b/Mathlib/NumberTheory/SumTwoSquares.lean index 8d823151e09fcf..cceb8061acb352 100644 --- a/Mathlib/NumberTheory/SumTwoSquares.lean +++ b/Mathlib/NumberTheory/SumTwoSquares.lean @@ -5,8 +5,9 @@ Authors: Chris Hughes, Michael Stoll -/ module -import Mathlib.Data.Nat.Squarefree public import Mathlib.NumberTheory.Zsqrtd.QuadraticReciprocity + +import Mathlib.Data.Nat.Squarefree import Mathlib.NumberTheory.Padics.PadicVal.Basic /-! diff --git a/Mathlib/NumberTheory/Transcendental/Liouville/Basic.lean b/Mathlib/NumberTheory/Transcendental/Liouville/Basic.lean index 8b19c2cc228397..4ad21596769333 100644 --- a/Mathlib/NumberTheory/Transcendental/Liouville/Basic.lean +++ b/Mathlib/NumberTheory/Transcendental/Liouville/Basic.lean @@ -5,11 +5,12 @@ Authors: Damiano Testa, Jujian Zhang -/ module -import Mathlib.Algebra.Polynomial.DenomsClearable public import Mathlib.Analysis.Calculus.MeanValue -import Mathlib.Analysis.Calculus.Deriv.Polynomial public import Mathlib.NumberTheory.Real.Irrational public import Mathlib.Topology.Algebra.Polynomial + +import Mathlib.Algebra.Polynomial.DenomsClearable +import Mathlib.Analysis.Calculus.Deriv.Polynomial import Mathlib.Algebra.Order.Interval.Set.Group /-! diff --git a/Mathlib/NumberTheory/Transcendental/Liouville/LiouvilleWith.lean b/Mathlib/NumberTheory/Transcendental/Liouville/LiouvilleWith.lean index 8b4511e669abc6..b25a1ea75f3c87 100644 --- a/Mathlib/NumberTheory/Transcendental/Liouville/LiouvilleWith.lean +++ b/Mathlib/NumberTheory/Transcendental/Liouville/LiouvilleWith.lean @@ -7,6 +7,7 @@ module public import Mathlib.Analysis.SpecialFunctions.Pow.Asymptotics public import Mathlib.NumberTheory.Transcendental.Liouville.Basic + import Mathlib.Topology.Instances.Irrational /-! diff --git a/Mathlib/NumberTheory/Transcendental/Liouville/Measure.lean b/Mathlib/NumberTheory/Transcendental/Liouville/Measure.lean index b30122b4c93c0a..545d54d154d5c7 100644 --- a/Mathlib/NumberTheory/Transcendental/Liouville/Measure.lean +++ b/Mathlib/NumberTheory/Transcendental/Liouville/Measure.lean @@ -6,8 +6,9 @@ Authors: Yury Kudryashov module public import Mathlib.MeasureTheory.Measure.Lebesgue.Basic -import Mathlib.NumberTheory.Transcendental.Liouville.Residual public import Mathlib.NumberTheory.Transcendental.Liouville.LiouvilleWith + +import Mathlib.NumberTheory.Transcendental.Liouville.Residual import Mathlib.Analysis.PSeries /-! diff --git a/Mathlib/NumberTheory/Transcendental/Liouville/Residual.lean b/Mathlib/NumberTheory/Transcendental/Liouville/Residual.lean index 836d0e8ca88312..bebcf64302b342 100644 --- a/Mathlib/NumberTheory/Transcendental/Liouville/Residual.lean +++ b/Mathlib/NumberTheory/Transcendental/Liouville/Residual.lean @@ -6,6 +6,7 @@ Authors: Yury Kudryashov module public import Mathlib.NumberTheory.Transcendental.Liouville.Basic + import Mathlib.Topology.Baire.LocallyCompactRegular import Mathlib.Topology.Instances.Irrational diff --git a/Mathlib/NumberTheory/WellApproximable.lean b/Mathlib/NumberTheory/WellApproximable.lean index a0d78f323d6ff8..332a6ce1880b46 100644 --- a/Mathlib/NumberTheory/WellApproximable.lean +++ b/Mathlib/NumberTheory/WellApproximable.lean @@ -6,6 +6,7 @@ Authors: Oliver Nash module public import Mathlib.Dynamics.Ergodic.AddCircle + import Mathlib.MeasureTheory.Covering.LiminfLimsup /-! diff --git a/Mathlib/NumberTheory/Wilson.lean b/Mathlib/NumberTheory/Wilson.lean index a96e7a18ad2b85..aaf1e28eaf9df4 100644 --- a/Mathlib/NumberTheory/Wilson.lean +++ b/Mathlib/NumberTheory/Wilson.lean @@ -5,9 +5,10 @@ Authors: John Nicol, Haobo Ma, Wenlin Zhang -/ module -import Mathlib.Data.ZMod.Factorial public import Mathlib.FieldTheory.Finite.Basic +import Mathlib.Data.ZMod.Factorial + /-! # Wilson's theorem. diff --git a/Mathlib/NumberTheory/ZetaValues.lean b/Mathlib/NumberTheory/ZetaValues.lean index 95542198269fc4..adb9ce40b504da 100644 --- a/Mathlib/NumberTheory/ZetaValues.lean +++ b/Mathlib/NumberTheory/ZetaValues.lean @@ -6,9 +6,10 @@ Authors: David Loeffler module public import Mathlib.NumberTheory.BernoulliPolynomials +public import Mathlib.Analysis.Fourier.AddCircle + import Mathlib.Analysis.Calculus.ContDiff.Polynomial import Mathlib.Analysis.Calculus.Deriv.Polynomial -public import Mathlib.Analysis.Fourier.AddCircle import Mathlib.Analysis.PSeries /-! diff --git a/Mathlib/Order/Antichain.lean b/Mathlib/Order/Antichain.lean index a05274b9252e9b..28698ca6e39bce 100644 --- a/Mathlib/Order/Antichain.lean +++ b/Mathlib/Order/Antichain.lean @@ -5,9 +5,10 @@ Authors: Yaël Dillies -/ module -import Mathlib.Order.Bounds.Basic public import Mathlib.Order.Preorder.Chain +import Mathlib.Order.Bounds.Basic + /-! # Antichains diff --git a/Mathlib/Order/Atoms/Finite.lean b/Mathlib/Order/Atoms/Finite.lean index c2e9eb538075c5..3f4e4d4f83449b 100644 --- a/Mathlib/Order/Atoms/Finite.lean +++ b/Mathlib/Order/Atoms/Finite.lean @@ -5,9 +5,10 @@ Authors: Aaron Anderson -/ module -import Mathlib.Data.Set.Finite.Lattice public import Mathlib.Order.Atoms public import Mathlib.Order.Interval.Finset.Defs + +import Mathlib.Data.Set.Finite.Lattice import Mathlib.Order.Preorder.Finite /-! diff --git a/Mathlib/Order/Birkhoff.lean b/Mathlib/Order/Birkhoff.lean index 807cd3b5ac987d..71a15f1ece1c73 100644 --- a/Mathlib/Order/Birkhoff.lean +++ b/Mathlib/Order/Birkhoff.lean @@ -6,10 +6,11 @@ Authors: Yaël Dillies, Filippo A. E. Nuccio, Sam van Gool module public import Mathlib.Data.Fintype.Order -import Mathlib.Order.Interval.Finset.Basic public import Mathlib.Order.Irreducible public import Mathlib.Order.UpperLower.Closure +import Mathlib.Order.Interval.Finset.Basic + /-! # Birkhoff representation diff --git a/Mathlib/Order/BoundedOrder/Basic.lean b/Mathlib/Order/BoundedOrder/Basic.lean index 5f0f807cc8a3c5..04362f6e501563 100644 --- a/Mathlib/Order/BoundedOrder/Basic.lean +++ b/Mathlib/Order/BoundedOrder/Basic.lean @@ -9,6 +9,7 @@ public import Mathlib.Order.Max public import Mathlib.Order.ULift public import Mathlib.Tactic.ByCases public import Mathlib.Tactic.Finiteness.Attr + import Mathlib.Tactic.Basify.Attr /-! diff --git a/Mathlib/Order/Circular.lean b/Mathlib/Order/Circular.lean index da2ce2ae636eaf..fd89a237101476 100644 --- a/Mathlib/Order/Circular.lean +++ b/Mathlib/Order/Circular.lean @@ -5,9 +5,10 @@ Authors: Yaël Dillies -/ module -import Mathlib.Order.Lattice public import Mathlib.Tactic.Order +import Mathlib.Order.Lattice + /-! # Circular order hierarchy diff --git a/Mathlib/Order/CompactlyGenerated/Basic.lean b/Mathlib/Order/CompactlyGenerated/Basic.lean index 383b1389b511e1..e089d4631835d5 100644 --- a/Mathlib/Order/CompactlyGenerated/Basic.lean +++ b/Mathlib/Order/CompactlyGenerated/Basic.lean @@ -10,12 +10,13 @@ public import Mathlib.Data.Finset.Order public import Mathlib.Data.Set.Lattice.Order public import Mathlib.Order.Atoms public import Mathlib.Order.Interval.Set.OrderIso -import Mathlib.Order.OrderIsoNat public import Mathlib.Order.SupClosed public import Mathlib.Order.SupIndep public import Mathlib.Order.Zorn public import Mathlib.Tactic.TFAE +import Mathlib.Order.OrderIsoNat + /-! # Compactness properties for complete lattices diff --git a/Mathlib/Order/CompleteLattice/Group.lean b/Mathlib/Order/CompleteLattice/Group.lean index 0d7ef7e6370063..8f644bb6be6f4f 100644 --- a/Mathlib/Order/CompleteLattice/Group.lean +++ b/Mathlib/Order/CompleteLattice/Group.lean @@ -5,10 +5,11 @@ Authors: Jireh Loreaux -/ module -import Mathlib.Algebra.Order.Monoid.Unbundled.Basic public import Mathlib.Algebra.Order.Monoid.Unbundled.OrderDual public import Mathlib.Order.CompleteLattice.Basic +import Mathlib.Algebra.Order.Monoid.Unbundled.Basic + /-! # Complete lattices and groups -/ public section diff --git a/Mathlib/Order/CompleteLattice/MulticoequalizerDiagram.lean b/Mathlib/Order/CompleteLattice/MulticoequalizerDiagram.lean index 1670edf75fc0fe..246c98656533b3 100644 --- a/Mathlib/Order/CompleteLattice/MulticoequalizerDiagram.lean +++ b/Mathlib/Order/CompleteLattice/MulticoequalizerDiagram.lean @@ -6,6 +6,7 @@ Authors: Joël Riou module public import Mathlib.CategoryTheory.Limits.Shapes.Multiequalizer + import Mathlib.Data.Finset.Attr import Mathlib.Tactic.SetLike diff --git a/Mathlib/Order/ConditionallyCompleteLattice/Group.lean b/Mathlib/Order/ConditionallyCompleteLattice/Group.lean index 8330027ded783e..e5f81e3d4419f1 100644 --- a/Mathlib/Order/ConditionallyCompleteLattice/Group.lean +++ b/Mathlib/Order/ConditionallyCompleteLattice/Group.lean @@ -6,9 +6,10 @@ Authors: Sébastien Gouëzel module public import Mathlib.Order.ConditionallyCompleteLattice.Indexed -import Mathlib.Algebra.Order.Group.Unbundled.Basic public import Mathlib.Algebra.Order.Monoid.Unbundled.OrderDual +import Mathlib.Algebra.Order.Group.Unbundled.Basic + /-! # Conditionally complete lattices and groups. diff --git a/Mathlib/Order/ConditionallyCompletePartialOrder/Indexed.lean b/Mathlib/Order/ConditionallyCompletePartialOrder/Indexed.lean index f7ea092e4f2886..c27aadd5d1dd3b 100644 --- a/Mathlib/Order/ConditionallyCompletePartialOrder/Indexed.lean +++ b/Mathlib/Order/ConditionallyCompletePartialOrder/Indexed.lean @@ -6,6 +6,7 @@ Authors: Jireh Loreaux module public import Mathlib.Order.ConditionallyCompletePartialOrder.Basic + import Mathlib.Order.GaloisConnection.Basic /-! diff --git a/Mathlib/Order/CountableDenseLinearOrder.lean b/Mathlib/Order/CountableDenseLinearOrder.lean index 188765d31bb5b9..ec45f6c1310721 100644 --- a/Mathlib/Order/CountableDenseLinearOrder.lean +++ b/Mathlib/Order/CountableDenseLinearOrder.lean @@ -6,6 +6,7 @@ Authors: David Wärn module public import Mathlib.Order.Ideal + import Mathlib.Data.Finset.Max /-! diff --git a/Mathlib/Order/Disjointed.lean b/Mathlib/Order/Disjointed.lean index 1908b3d50cdf71..aa5efcec592afd 100644 --- a/Mathlib/Order/Disjointed.lean +++ b/Mathlib/Order/Disjointed.lean @@ -8,6 +8,7 @@ module public import Mathlib.Order.PartialSups public import Mathlib.Order.Interval.Finset.Fin public import Mathlib.Order.SuccPred.LinearLocallyFinite + import Mathlib.Order.Interval.Finset.SuccPred import Mathlib.Data.Finset.Lattice.Union diff --git a/Mathlib/Order/Filter/AtTopBot/Basic.lean b/Mathlib/Order/Filter/AtTopBot/Basic.lean index 5a59caae6db747..d379f549b48a47 100644 --- a/Mathlib/Order/Filter/AtTopBot/Basic.lean +++ b/Mathlib/Order/Filter/AtTopBot/Basic.lean @@ -8,6 +8,7 @@ module public import Mathlib.Order.Filter.Bases.Basic public import Mathlib.Order.Filter.AtTopBot.Tendsto public import Mathlib.Order.Nat + import Mathlib.Tactic.Subsingleton /-! diff --git a/Mathlib/Order/Filter/AtTopBot/CompleteLattice.lean b/Mathlib/Order/Filter/AtTopBot/CompleteLattice.lean index 01d177a05e69fa..b8309d660151eb 100644 --- a/Mathlib/Order/Filter/AtTopBot/CompleteLattice.lean +++ b/Mathlib/Order/Filter/AtTopBot/CompleteLattice.lean @@ -7,6 +7,7 @@ module public import Mathlib.Order.Filter.AtTopBot.Tendsto public import Mathlib.Order.ConditionallyCompleteLattice.Basic + import Mathlib.Order.ConditionallyCompletePartialOrder.Indexed /-! diff --git a/Mathlib/Order/Filter/AtTopBot/Defs.lean b/Mathlib/Order/Filter/AtTopBot/Defs.lean index a00760b9fe08ad..45d5ad6bc51710 100644 --- a/Mathlib/Order/Filter/AtTopBot/Defs.lean +++ b/Mathlib/Order/Filter/AtTopBot/Defs.lean @@ -5,9 +5,10 @@ Authors: Johannes Hölzl, Jeremy Avigad, Yury Kudryashov, Patrick Massot -/ module -import Mathlib.Data.Set.Piecewise public import Mathlib.Order.Filter.Basic +import Mathlib.Data.Set.Piecewise + /-! # Definition of `Filter.atTop` and `Filter.atBot` filters diff --git a/Mathlib/Order/Filter/AtTopBot/Finite.lean b/Mathlib/Order/Filter/AtTopBot/Finite.lean index f6ad6d8fb56a7b..26cdcc6eebcff9 100644 --- a/Mathlib/Order/Filter/AtTopBot/Finite.lean +++ b/Mathlib/Order/Filter/AtTopBot/Finite.lean @@ -6,9 +6,10 @@ Authors: Johannes Hölzl, Jeremy Avigad, Yury Kudryashov, Patrick Massot module public import Mathlib.Data.Set.Finite.Lemmas -import Mathlib.Order.Filter.Bases.Finite public import Mathlib.Order.Filter.AtTopBot.Basic +import Mathlib.Order.Filter.Bases.Finite + /-! # Finiteness and `Filter.atTop` and `Filter.atBot` filters diff --git a/Mathlib/Order/Filter/AtTopBot/Floor.lean b/Mathlib/Order/Filter/AtTopBot/Floor.lean index 3b883fef8774f5..beb7fdf9e59d4d 100644 --- a/Mathlib/Order/Filter/AtTopBot/Floor.lean +++ b/Mathlib/Order/Filter/AtTopBot/Floor.lean @@ -6,8 +6,9 @@ Authors: Yuyang Zhao module public import Mathlib.Algebra.Order.Floor.Semiring -import Mathlib.Algebra.Order.Ring.Abs public import Mathlib.Order.Filter.AtTopBot.Finite + +import Mathlib.Algebra.Order.Ring.Abs import Mathlib.Tactic.Positivity.Basic /-! diff --git a/Mathlib/Order/Filter/AtTopBot/Group.lean b/Mathlib/Order/Filter/AtTopBot/Group.lean index 02296de92050ac..aa87f37c6e4059 100644 --- a/Mathlib/Order/Filter/AtTopBot/Group.lean +++ b/Mathlib/Order/Filter/AtTopBot/Group.lean @@ -7,9 +7,10 @@ module public import Mathlib.Algebra.Order.Group.MinMax public import Mathlib.Order.Filter.AtTopBot.Basic -import Mathlib.Order.Filter.AtTopBot.Map public import Mathlib.Order.Filter.AtTopBot.Monoid +import Mathlib.Order.Filter.AtTopBot.Map + /-! # Convergence to ±infinity in ordered commutative groups -/ diff --git a/Mathlib/Order/Filter/AtTopBot/Interval.lean b/Mathlib/Order/Filter/AtTopBot/Interval.lean index 34e7623cf8d346..9c6766113ed60f 100644 --- a/Mathlib/Order/Filter/AtTopBot/Interval.lean +++ b/Mathlib/Order/Filter/AtTopBot/Interval.lean @@ -6,9 +6,10 @@ Authors: Chris Birkbeck, David Loeffler module public import Mathlib.Order.Filter.AtTopBot.Archimedean -import Mathlib.Order.Filter.Prod public import Mathlib.Order.Interval.Finset.Defs +import Mathlib.Order.Filter.Prod + /-! # Limits of intervals along filters diff --git a/Mathlib/Order/Filter/AtTopBot/Map.lean b/Mathlib/Order/Filter/AtTopBot/Map.lean index a8bbe8a9103e80..a05aa10ed455b5 100644 --- a/Mathlib/Order/Filter/AtTopBot/Map.lean +++ b/Mathlib/Order/Filter/AtTopBot/Map.lean @@ -6,6 +6,7 @@ Authors: Johannes Hölzl, Jeremy Avigad, Yury Kudryashov, Patrick Massot module public import Mathlib.Order.Filter.AtTopBot.Defs + import Mathlib.Order.Filter.Map import Mathlib.Order.Filter.Tendsto import Mathlib.Order.Interval.Set.OrderIso diff --git a/Mathlib/Order/Filter/AtTopBot/ModEq.lean b/Mathlib/Order/Filter/AtTopBot/ModEq.lean index 58555606b6c851..5303c7c8c1368e 100644 --- a/Mathlib/Order/Filter/AtTopBot/ModEq.lean +++ b/Mathlib/Order/Filter/AtTopBot/ModEq.lean @@ -5,13 +5,14 @@ Authors: Yury Kudryashov -/ module -import Mathlib.Algebra.Order.Group.Nat public import Mathlib.Algebra.Order.Ring.Basic +public import Mathlib.Data.Nat.ModEq +public import Mathlib.Order.Filter.AtTopBot.Monoid + +import Mathlib.Algebra.Order.Group.Nat import Mathlib.Algebra.Ring.Divisibility.Basic import Mathlib.Algebra.Ring.Int.Defs -public import Mathlib.Data.Nat.ModEq import Mathlib.Order.Filter.AtTopBot.Basic -public import Mathlib.Order.Filter.AtTopBot.Monoid /-! # Numbers are frequently ModEq to fixed numbers diff --git a/Mathlib/Order/Filter/AtTopBot/Monoid.lean b/Mathlib/Order/Filter/AtTopBot/Monoid.lean index 55135c244e2b32..6a7000aba42b4a 100644 --- a/Mathlib/Order/Filter/AtTopBot/Monoid.lean +++ b/Mathlib/Order/Filter/AtTopBot/Monoid.lean @@ -6,9 +6,10 @@ Authors: Yury Kudryashov module public import Mathlib.Algebra.Order.Monoid.OrderDual -import Mathlib.Algebra.Order.Monoid.Unbundled.Pow public import Mathlib.Order.Filter.AtTopBot.Tendsto +import Mathlib.Algebra.Order.Monoid.Unbundled.Pow + /-! # Convergence to ±infinity in ordered commutative monoids -/ diff --git a/Mathlib/Order/Filter/AtTopBot/Prod.lean b/Mathlib/Order/Filter/AtTopBot/Prod.lean index d20c90484e65c4..4212ff1b7e7572 100644 --- a/Mathlib/Order/Filter/AtTopBot/Prod.lean +++ b/Mathlib/Order/Filter/AtTopBot/Prod.lean @@ -7,6 +7,7 @@ module public import Mathlib.Data.Finset.Prod public import Mathlib.Order.Filter.AtTopBot.Basic + import Mathlib.Order.Filter.Prod /-! diff --git a/Mathlib/Order/Filter/CardinalInter.lean b/Mathlib/Order/Filter/CardinalInter.lean index 6e3b3f4f1d8e69..448db124aa5592 100644 --- a/Mathlib/Order/Filter/CardinalInter.lean +++ b/Mathlib/Order/Filter/CardinalInter.lean @@ -5,11 +5,12 @@ Authors: Josha Dekker -/ module -import Mathlib.Order.Filter.Finite public import Mathlib.Order.Filter.CountableInter public import Mathlib.SetTheory.Cardinal.Regular public import Mathlib.Tactic.NormNum +import Mathlib.Order.Filter.Finite + /-! # Filters with a cardinal intersection property diff --git a/Mathlib/Order/Filter/Germ/Basic.lean b/Mathlib/Order/Filter/Germ/Basic.lean index deacc0da91dd9a..981782a6c50838 100644 --- a/Mathlib/Order/Filter/Germ/Basic.lean +++ b/Mathlib/Order/Filter/Germ/Basic.lean @@ -7,11 +7,12 @@ module public import Mathlib.Algebra.Module.Pi public import Mathlib.Algebra.Order.Monoid.Unbundled.ExistsOfLE -import Mathlib.Data.Int.Cast.Basic public import Mathlib.Data.Int.Cast.Pi public import Mathlib.Data.Nat.Cast.Basic public import Mathlib.Order.Filter.Tendsto +import Mathlib.Data.Int.Cast.Basic + /-! # Germ of a function at a filter diff --git a/Mathlib/Order/Filter/IndicatorFunction.lean b/Mathlib/Order/Filter/IndicatorFunction.lean index 038e2a7638f1c8..85382a368ef8f1 100644 --- a/Mathlib/Order/Filter/IndicatorFunction.lean +++ b/Mathlib/Order/Filter/IndicatorFunction.lean @@ -9,6 +9,7 @@ public import Mathlib.Algebra.Group.Indicator public import Mathlib.Order.CompleteLattice.Finset public import Mathlib.Order.ConditionallyCompleteLattice.Basic public import Mathlib.Order.Filter.AtTopBot.Defs + import Mathlib.Order.Filter.Tendsto /-! diff --git a/Mathlib/Order/Filter/Interval.lean b/Mathlib/Order/Filter/Interval.lean index c27724d898458e..e51d3a05ca50e6 100644 --- a/Mathlib/Order/Filter/Interval.lean +++ b/Mathlib/Order/Filter/Interval.lean @@ -7,6 +7,7 @@ module public import Mathlib.Order.Interval.Set.OrdConnected public import Mathlib.Order.Filter.SmallSets + import Mathlib.Order.Filter.Bases.Finite /-! diff --git a/Mathlib/Order/Filter/Pi.lean b/Mathlib/Order/Filter/Pi.lean index b290354c56e29f..783c7944d05d0f 100644 --- a/Mathlib/Order/Filter/Pi.lean +++ b/Mathlib/Order/Filter/Pi.lean @@ -6,9 +6,10 @@ Authors: Yury Kudryashov, Alex Kontorovich module public import Mathlib.Data.Set.Piecewise -import Mathlib.Order.Filter.Tendsto public import Mathlib.Order.Filter.Bases.Finite +import Mathlib.Order.Filter.Tendsto + /-! # (Co)product of a family of filters diff --git a/Mathlib/Order/Filter/Pointwise.lean b/Mathlib/Order/Filter/Pointwise.lean index b9587d2ce69926..da34ad8b956e9b 100644 --- a/Mathlib/Order/Filter/Pointwise.lean +++ b/Mathlib/Order/Filter/Pointwise.lean @@ -7,12 +7,13 @@ module public import Mathlib.Algebra.Group.Action.Pointwise.Set.Basic public import Mathlib.Algebra.GroupWithZero.Action.Defs -import Mathlib.Algebra.GroupWithZero.Units.Basic -import Mathlib.Algebra.Order.Group.OrderIso public import Mathlib.Algebra.Order.Monoid.Defs public import Mathlib.Algebra.Ring.Defs public import Mathlib.Order.Filter.AtTopBot.Map public import Mathlib.Order.Filter.NAry + +import Mathlib.Algebra.GroupWithZero.Units.Basic +import Mathlib.Algebra.Order.Group.OrderIso import Mathlib.Order.Filter.Ultrafilter.Defs import Mathlib.Data.Finset.Attr diff --git a/Mathlib/Order/Fin/Clamp.lean b/Mathlib/Order/Fin/Clamp.lean index 409d52fbdf34e9..e52b233dbe55c1 100644 --- a/Mathlib/Order/Fin/Clamp.lean +++ b/Mathlib/Order/Fin/Clamp.lean @@ -5,8 +5,9 @@ Authors: Joël Riou -/ module -import Batteries.Data.Fin.Lemmas public import Mathlib.Order.Fin.Basic + +import Batteries.Data.Fin.Lemmas import Mathlib.Order.MinMax /-! diff --git a/Mathlib/Order/Fin/Prod.lean b/Mathlib/Order/Fin/Prod.lean index aeac65583e7954..3fcb653bc99214 100644 --- a/Mathlib/Order/Fin/Prod.lean +++ b/Mathlib/Order/Fin/Prod.lean @@ -5,9 +5,10 @@ Authors: Joël Riou -/ module -import Mathlib.Algebra.Order.Group.Nat public import Mathlib.Order.Fin.Basic +import Mathlib.Algebra.Order.Group.Nat + /-! # Properties of the order on a binary product of `Fin` types diff --git a/Mathlib/Order/Heyting/Boundary.lean b/Mathlib/Order/Heyting/Boundary.lean index 19af7b86ecf924..bab05f8477d31c 100644 --- a/Mathlib/Order/Heyting/Boundary.lean +++ b/Mathlib/Order/Heyting/Boundary.lean @@ -7,6 +7,7 @@ module public import Mathlib.Order.BooleanAlgebra.Basic public import Mathlib.Tactic.Common + import Mathlib.Tactic.Attr.Core /-! diff --git a/Mathlib/Order/Interval/Finset/Box.lean b/Mathlib/Order/Interval/Finset/Box.lean index 9209640880f7fe..8ccf1fbfa5b3ac 100644 --- a/Mathlib/Order/Interval/Finset/Box.lean +++ b/Mathlib/Order/Interval/Finset/Box.lean @@ -6,9 +6,10 @@ Authors: Yaël Dillies module public import Mathlib.Algebra.Order.Disjointed -import Mathlib.Algebra.Order.Ring.Int public import Mathlib.Algebra.Order.Ring.Prod public import Mathlib.Data.Int.Interval + +import Mathlib.Algebra.Order.Ring.Int import Mathlib.Tactic.Ring import Mathlib.Tactic.Zify diff --git a/Mathlib/Order/Interval/Set/Defs.lean b/Mathlib/Order/Interval/Set/Defs.lean index 96a5d3b3d40c8c..8339a912635b37 100644 --- a/Mathlib/Order/Interval/Set/Defs.lean +++ b/Mathlib/Order/Interval/Set/Defs.lean @@ -7,6 +7,7 @@ module public import Mathlib.Data.Set.Defs public import Mathlib.Order.Defs.PartialOrder + import Mathlib.Tactic.Push.Attr /-! diff --git a/Mathlib/Order/Interval/Set/Infinite.lean b/Mathlib/Order/Interval/Set/Infinite.lean index 64f9e006af9364..83e19e583e35ed 100644 --- a/Mathlib/Order/Interval/Set/Infinite.lean +++ b/Mathlib/Order/Interval/Set/Infinite.lean @@ -6,6 +6,7 @@ Authors: Reid Barton module public import Mathlib.Data.Set.Finite.Basic + import Mathlib.Order.Interval.Set.Basic /-! diff --git a/Mathlib/Order/Interval/Set/Monotone.lean b/Mathlib/Order/Interval/Set/Monotone.lean index 673239699d448d..8f744154541d63 100644 --- a/Mathlib/Order/Interval/Set/Monotone.lean +++ b/Mathlib/Order/Interval/Set/Monotone.lean @@ -6,9 +6,10 @@ Authors: Yury Kudryashov module public import Mathlib.Data.Set.Monotone -import Mathlib.Order.Interval.Set.Disjoint public import Mathlib.Order.SuccPred.Archimedean +import Mathlib.Order.Interval.Set.Disjoint + /-! # Monotonicity on intervals diff --git a/Mathlib/Order/Interval/Set/OrdConnectedComponent.lean b/Mathlib/Order/Interval/Set/OrdConnectedComponent.lean index e9fff19190a319..89a96528855d40 100644 --- a/Mathlib/Order/Interval/Set/OrdConnectedComponent.lean +++ b/Mathlib/Order/Interval/Set/OrdConnectedComponent.lean @@ -5,10 +5,11 @@ Authors: Yury Kudryashov -/ module -import Mathlib.Data.Set.Lattice.Disjoint public import Mathlib.Data.Set.Lattice.Image public import Mathlib.Order.Interval.Set.OrdConnected +import Mathlib.Data.Set.Lattice.Disjoint + /-! # Order connected components of a set diff --git a/Mathlib/Order/Interval/Set/Pi.lean b/Mathlib/Order/Interval/Set/Pi.lean index df2e906b07e8b1..d8c32d1876960c 100644 --- a/Mathlib/Order/Interval/Set/Pi.lean +++ b/Mathlib/Order/Interval/Set/Pi.lean @@ -7,9 +7,10 @@ module public import Mathlib.Algebra.Notation.Pi.Basic public import Mathlib.Data.Set.BooleanAlgebra -import Mathlib.Data.Set.Piecewise public import Mathlib.Order.Interval.Set.UnorderedInterval +import Mathlib.Data.Set.Piecewise + /-! # Intervals in `pi`-space diff --git a/Mathlib/Order/Interval/Set/SuccOrder.lean b/Mathlib/Order/Interval/Set/SuccOrder.lean index 3321688408e595..0cd3efc9c83724 100644 --- a/Mathlib/Order/Interval/Set/SuccOrder.lean +++ b/Mathlib/Order/Interval/Set/SuccOrder.lean @@ -5,9 +5,10 @@ Authors: Joël Riou -/ module -import Mathlib.Order.LatticeIntervals public import Mathlib.Order.SuccPred.Basic +import Mathlib.Order.LatticeIntervals + /-! # Successors in intervals diff --git a/Mathlib/Order/Interval/Set/SurjOn.lean b/Mathlib/Order/Interval/Set/SurjOn.lean index a3fde88c0690bc..ca96d9cdc640f9 100644 --- a/Mathlib/Order/Interval/Set/SurjOn.lean +++ b/Mathlib/Order/Interval/Set/SurjOn.lean @@ -5,9 +5,10 @@ Authors: Heather Macbeth -/ module -import Mathlib.Data.Set.Function public import Mathlib.Order.Interval.Set.LinearOrder +import Mathlib.Data.Set.Function + /-! # Monotone surjective functions are surjective on intervals diff --git a/Mathlib/Order/Interval/Set/Union.lean b/Mathlib/Order/Interval/Set/Union.lean index 166b59e4ea414f..54a242fc06baad 100644 --- a/Mathlib/Order/Interval/Set/Union.lean +++ b/Mathlib/Order/Interval/Set/Union.lean @@ -7,6 +7,7 @@ module public import Mathlib.Data.Finset.Range public import Mathlib.Data.Set.Lattice.Indexed + import Mathlib.Order.Interval.Set.LinearOrder /-! diff --git a/Mathlib/Order/Interval/Set/WithBotTop.lean b/Mathlib/Order/Interval/Set/WithBotTop.lean index ea0f82e1b5bf77..ddde2c32818a67 100644 --- a/Mathlib/Order/Interval/Set/WithBotTop.lean +++ b/Mathlib/Order/Interval/Set/WithBotTop.lean @@ -5,10 +5,11 @@ Authors: Yury Kudryashov -/ module -import Mathlib.Data.Set.Image public import Mathlib.Order.Interval.Set.Basic public import Mathlib.Order.WithBot +import Mathlib.Data.Set.Image + /-! # Intervals in `WithTop α` and `WithBot α` diff --git a/Mathlib/Order/IsNormal.lean b/Mathlib/Order/IsNormal.lean index 15b29d2534b5da..07a3f7a6cc4146 100644 --- a/Mathlib/Order/IsNormal.lean +++ b/Mathlib/Order/IsNormal.lean @@ -7,9 +7,10 @@ module public import Mathlib.Dynamics.FixedPoints.Defs public import Mathlib.Order.DirSupClosed -import Mathlib.Order.SuccPred.CompleteLinearOrder public import Mathlib.Order.SuccPred.InitialSeg +import Mathlib.Order.SuccPred.CompleteLinearOrder + /-! # Normal functions diff --git a/Mathlib/Order/JordanHolder.lean b/Mathlib/Order/JordanHolder.lean index e7cedf1561774a..90e401c8c301ce 100644 --- a/Mathlib/Order/JordanHolder.lean +++ b/Mathlib/Order/JordanHolder.lean @@ -6,11 +6,12 @@ Authors: Chris Hughes module public import Mathlib.Order.ModularLattice -import Mathlib.Logic.Equiv.Fin.Basic public import Mathlib.Logic.Equiv.Functor -import Mathlib.Data.Fintype.Pigeonhole public import Mathlib.Order.RelSeries +import Mathlib.Logic.Equiv.Fin.Basic +import Mathlib.Data.Fintype.Pigeonhole + /-! # Jordan-Hölder Theorem diff --git a/Mathlib/Order/KonigLemma.lean b/Mathlib/Order/KonigLemma.lean index b05ceefcf56c3b..54cbd9e18ba2c8 100644 --- a/Mathlib/Order/KonigLemma.lean +++ b/Mathlib/Order/KonigLemma.lean @@ -5,10 +5,11 @@ Authors: Peter Nelson -/ module -import Mathlib.Data.Fintype.Pigeonhole public import Mathlib.Order.Atoms.Finite public import Mathlib.Order.Grade +import Mathlib.Data.Fintype.Pigeonhole + /-! # Kőnig's infinity lemma diff --git a/Mathlib/Order/KrullDimension.lean b/Mathlib/Order/KrullDimension.lean index 5ec23d029f135b..9610c5b8bba8f0 100644 --- a/Mathlib/Order/KrullDimension.lean +++ b/Mathlib/Order/KrullDimension.lean @@ -9,8 +9,8 @@ public import Mathlib.Algebra.Order.SuccPred.WithBot public import Mathlib.Data.ENat.Lattice public import Mathlib.Order.Atoms public import Mathlib.Order.RelSeries -import Mathlib.Tactic.FinCases +import Mathlib.Tactic.FinCases import Mathlib.Data.Nat.Cast.Order.Basic /-! diff --git a/Mathlib/Order/Monotone/Extension.lean b/Mathlib/Order/Monotone/Extension.lean index fd9b03c76823a8..b0d919c73a15fe 100644 --- a/Mathlib/Order/Monotone/Extension.lean +++ b/Mathlib/Order/Monotone/Extension.lean @@ -5,9 +5,10 @@ Authors: Sébastien Gouëzel, Yury Kudryashov -/ module -import Mathlib.Data.Set.Monotone public import Mathlib.Order.ConditionallyCompleteLattice.Basic +import Mathlib.Data.Set.Monotone + /-! # Extension of a monotone function from a set to the whole space diff --git a/Mathlib/Order/Monotone/Odd.lean b/Mathlib/Order/Monotone/Odd.lean index 2dc45d0aa5e08d..721b77a9f2839c 100644 --- a/Mathlib/Order/Monotone/Odd.lean +++ b/Mathlib/Order/Monotone/Odd.lean @@ -5,10 +5,11 @@ Authors: Yury Kudryashov -/ module -import Mathlib.Algebra.Order.Group.Defs public import Mathlib.Algebra.Order.Monoid.OrderDual public import Mathlib.Order.Monotone.Union +import Mathlib.Algebra.Order.Group.Defs + /-! # Monotonicity of odd functions diff --git a/Mathlib/Order/Monotone/Union.lean b/Mathlib/Order/Monotone/Union.lean index d7e9a9953bebc0..05d391a52c27e3 100644 --- a/Mathlib/Order/Monotone/Union.lean +++ b/Mathlib/Order/Monotone/Union.lean @@ -6,6 +6,7 @@ Authors: Yury Kudryashov, Sébastien Gouëzel module public import Mathlib.Order.Bounds.Basic + import Mathlib.Order.Interval.Set.LinearOrder /-! diff --git a/Mathlib/Order/PartialSups.lean b/Mathlib/Order/PartialSups.lean index b875a8a79a7c04..0dbb28ae03a74c 100644 --- a/Mathlib/Order/PartialSups.lean +++ b/Mathlib/Order/PartialSups.lean @@ -5,11 +5,11 @@ Authors: Kim Morrison -/ module -import Mathlib.Order.ConditionallyCompleteLattice.Indexed public import Mathlib.Order.Interval.Finset.Nat public import Mathlib.Order.SuccPred.Basic -import Mathlib.Data.Finset.Max +import Mathlib.Order.ConditionallyCompleteLattice.Indexed +import Mathlib.Data.Finset.Max import Mathlib.Data.Fintype.Order /-! diff --git a/Mathlib/Order/Partition/Equipartition.lean b/Mathlib/Order/Partition/Equipartition.lean index 7e0098a9822e61..126e4b71ea497c 100644 --- a/Mathlib/Order/Partition/Equipartition.lean +++ b/Mathlib/Order/Partition/Equipartition.lean @@ -9,6 +9,7 @@ public import Mathlib.Algebra.Order.Ring.Nat public import Mathlib.Data.Set.Equitable public import Mathlib.Logic.Equiv.Fin.Basic public import Mathlib.Order.Partition.Finpartition + import Mathlib.Tactic.ApplyFun /-! diff --git a/Mathlib/Order/Preorder/Finite.lean b/Mathlib/Order/Preorder/Finite.lean index df30c3aa2ba7cc..5d22905fa9abf1 100644 --- a/Mathlib/Order/Preorder/Finite.lean +++ b/Mathlib/Order/Preorder/Finite.lean @@ -6,9 +6,10 @@ Authors: Yaël Dillies module public import Mathlib.Data.Set.Finite.Basic -import Mathlib.Order.Hom.Set public import Mathlib.Order.Minimal +import Mathlib.Order.Hom.Set + /-! # Finite preorders and finite sets in a preorder diff --git a/Mathlib/Order/PrimeSeparator.lean b/Mathlib/Order/PrimeSeparator.lean index b855ec246be22c..dabdc70eef1889 100644 --- a/Mathlib/Order/PrimeSeparator.lean +++ b/Mathlib/Order/PrimeSeparator.lean @@ -5,8 +5,9 @@ Authors: Sam van Gool -/ module -import Mathlib.Data.Set.Lattice.Disjoint public import Mathlib.Order.PrimeIdeal + +import Mathlib.Data.Set.Lattice.Disjoint import Mathlib.Order.Zorn /-! diff --git a/Mathlib/Order/RelClasses.lean b/Mathlib/Order/RelClasses.lean index 099759f5b184d6..57ab807d5ac2bd 100644 --- a/Mathlib/Order/RelClasses.lean +++ b/Mathlib/Order/RelClasses.lean @@ -7,6 +7,7 @@ module public import Mathlib.Basic.IsEmpty.Basic public import Mathlib.Order.OrderDual + import Mathlib.Tactic.CrossRefAttribute /-! diff --git a/Mathlib/Order/RelIso/Set.lean b/Mathlib/Order/RelIso/Set.lean index 89d752d942261f..e7c20eb07e5b69 100644 --- a/Mathlib/Order/RelIso/Set.lean +++ b/Mathlib/Order/RelIso/Set.lean @@ -8,6 +8,7 @@ module public import Mathlib.Order.Directed public import Mathlib.Order.RelIso.Basic public import Mathlib.Logic.Embedding.Set + import Mathlib.Logic.Equiv.Set /-! diff --git a/Mathlib/Order/RelSeries.lean b/Mathlib/Order/RelSeries.lean index e322c9105e6253..7b2de9d483a648 100644 --- a/Mathlib/Order/RelSeries.lean +++ b/Mathlib/Order/RelSeries.lean @@ -11,8 +11,9 @@ public import Mathlib.Algebra.Order.Monoid.NatCast public import Mathlib.Basic.Rel public import Mathlib.Data.Fin.VecNotation public import Mathlib.Data.Fintype.Pi -import Mathlib.Data.Fintype.Pigeonhole public import Mathlib.Data.Fintype.Sigma + +import Mathlib.Data.Fintype.Pigeonhole import Mathlib.Order.OrderIsoNat /-! diff --git a/Mathlib/Order/SaddlePoint.lean b/Mathlib/Order/SaddlePoint.lean index f313484e5b112b..6bc008f8d7d64e 100644 --- a/Mathlib/Order/SaddlePoint.lean +++ b/Mathlib/Order/SaddlePoint.lean @@ -6,6 +6,7 @@ Authors: Antoine Chambert-Loir, Anatole Dedecker module public import Mathlib.Order.ConditionallyCompleteLattice.Basic + import Mathlib.Tactic.Common import Mathlib.Tactic.SetLike diff --git a/Mathlib/Order/ScottContinuity.lean b/Mathlib/Order/ScottContinuity.lean index 296d48b19f9435..291ca5d9226c4a 100644 --- a/Mathlib/Order/ScottContinuity.lean +++ b/Mathlib/Order/ScottContinuity.lean @@ -6,11 +6,12 @@ Authors: Christopher Hoskin module public import Mathlib.Tactic.FunProp.Attr -import Mathlib.Tactic.ToFun -import Mathlib.Order.Bounds.Image public import Mathlib.Order.Bounds.Defs public import Mathlib.Order.Directed +import Mathlib.Tactic.ToFun +import Mathlib.Order.Bounds.Image + /-! # Scott continuity diff --git a/Mathlib/Order/SemiconjSup.lean b/Mathlib/Order/SemiconjSup.lean index bfe16aefc24062..4ac1e31362cd63 100644 --- a/Mathlib/Order/SemiconjSup.lean +++ b/Mathlib/Order/SemiconjSup.lean @@ -7,9 +7,10 @@ module public import Mathlib.Algebra.Group.Units.Equiv public import Mathlib.Algebra.Order.Group.End -import Mathlib.Order.Bounds.OrderIso public import Mathlib.Order.ConditionallyCompleteLattice.Basic +import Mathlib.Order.Bounds.OrderIso + /-! # Semiconjugate by `sSup` diff --git a/Mathlib/Order/Setoid/Partition.lean b/Mathlib/Order/Setoid/Partition.lean index 1eb018d78841fd..5737016b01e306 100644 --- a/Mathlib/Order/Setoid/Partition.lean +++ b/Mathlib/Order/Setoid/Partition.lean @@ -5,9 +5,10 @@ Authors: Amelia Livingston, Bryan Gin-ge Chen, Patrick Massot, Wen Yang, Johan C -/ module -import Mathlib.Data.Set.Finite.Range public import Mathlib.Order.Partition.Finpartition +import Mathlib.Data.Set.Finite.Range + /-! # Equivalence relations: partitions diff --git a/Mathlib/Order/Sigma/Lex.lean b/Mathlib/Order/Sigma/Lex.lean index 9aba68a91e9fa4..732afd10ee5fd4 100644 --- a/Mathlib/Order/Sigma/Lex.lean +++ b/Mathlib/Order/Sigma/Lex.lean @@ -7,6 +7,7 @@ module public import Mathlib.Logic.Function.Defs public import Mathlib.Order.Defs.Unbundled + import Batteries.Logic /-! diff --git a/Mathlib/Order/SuccPred/IntervalSucc.lean b/Mathlib/Order/SuccPred/IntervalSucc.lean index 88984a72c3cf4a..45e98575f64d8f 100644 --- a/Mathlib/Order/SuccPred/IntervalSucc.lean +++ b/Mathlib/Order/SuccPred/IntervalSucc.lean @@ -5,9 +5,10 @@ Authors: Yury Kudryashov -/ module -import Mathlib.Data.Set.Lattice.Bounded public import Mathlib.Order.SuccPred.Archimedean +import Mathlib.Data.Set.Lattice.Bounded + /-! # Intervals `Ixx (f x) (f (Order.succ x))` diff --git a/Mathlib/Order/SuccPred/LinearLocallyFinite.lean b/Mathlib/Order/SuccPred/LinearLocallyFinite.lean index 7988fa5f72048a..91f10d3e55ec0c 100644 --- a/Mathlib/Order/SuccPred/LinearLocallyFinite.lean +++ b/Mathlib/Order/SuccPred/LinearLocallyFinite.lean @@ -7,12 +7,13 @@ module public import Mathlib.Algebra.Order.Group.Nat public import Mathlib.Basic.Countable.Basic -import Mathlib.Data.Finset.Max public import Mathlib.Data.Fintype.Pigeonhole public import Mathlib.Logic.Encodable.Basic public import Mathlib.Order.Interval.Finset.Defs public import Mathlib.Order.SuccPred.Archimedean +import Mathlib.Data.Finset.Max + /-! # Linear locally finite orders diff --git a/Mathlib/Order/SuccPred/Nat.lean b/Mathlib/Order/SuccPred/Nat.lean index ac4892c003641b..a5071c90b38236 100644 --- a/Mathlib/Order/SuccPred/Nat.lean +++ b/Mathlib/Order/SuccPred/Nat.lean @@ -8,11 +8,12 @@ module public import Mathlib.Algebra.Order.Group.Nat public import Mathlib.Algebra.Ring.Nat public import Mathlib.Algebra.Order.Monoid.Unbundled.WithTop -import Mathlib.Algebra.Order.Sub.Unbundled.Basic public import Mathlib.Algebra.Order.SuccPred -import Mathlib.Data.Fin.Basic public import Mathlib.Order.Nat +import Mathlib.Algebra.Order.Sub.Unbundled.Basic +import Mathlib.Data.Fin.Basic + /-! # Successors and predecessors of naturals diff --git a/Mathlib/Order/SupClosed.lean b/Mathlib/Order/SupClosed.lean index 1a41845e896374..01d5186465f805 100644 --- a/Mathlib/Order/SupClosed.lean +++ b/Mathlib/Order/SupClosed.lean @@ -5,10 +5,11 @@ Authors: Yaël Dillies, Christopher Hoskin -/ module -import Mathlib.Data.Finset.Lattice.Prod public import Mathlib.Order.Closure public import Mathlib.Order.ConditionallyCompleteLattice.Finset +import Mathlib.Data.Finset.Lattice.Prod + /-! # Sets closed under join/meet diff --git a/Mathlib/Order/SupIndep.lean b/Mathlib/Order/SupIndep.lean index 4a11cc26287ff4..96b4d934825064 100644 --- a/Mathlib/Order/SupIndep.lean +++ b/Mathlib/Order/SupIndep.lean @@ -5,7 +5,6 @@ Authors: Aaron Anderson, Kevin Buzzard, Yaël Dillies, Eric Wieser -/ module -import Mathlib.Data.Finset.Lattice.Union public import Mathlib.Data.Finset.Lattice.Prod public import Mathlib.Data.Finset.Sigma public import Mathlib.Data.Set.Finite.Basic @@ -13,6 +12,8 @@ public import Mathlib.Order.CompleteLatticeIntervals public import Mathlib.Order.ModularLattice public import Mathlib.Tactic.FinCases +import Mathlib.Data.Finset.Lattice.Union + /-! # Supremum independence diff --git a/Mathlib/Order/TeichmullerTukey.lean b/Mathlib/Order/TeichmullerTukey.lean index 4b06bd3a175cb8..3d662bd7cbc2f3 100644 --- a/Mathlib/Order/TeichmullerTukey.lean +++ b/Mathlib/Order/TeichmullerTukey.lean @@ -6,6 +6,7 @@ Authors: Ansar Azhdarov module public import Mathlib.Data.Set.Finite.Lattice + import Mathlib.Order.Zorn /-! diff --git a/Mathlib/Order/Types/Arithmetic.lean b/Mathlib/Order/Types/Arithmetic.lean index 95283e30bfd4db..865baf94fdb265 100644 --- a/Mathlib/Order/Types/Arithmetic.lean +++ b/Mathlib/Order/Types/Arithmetic.lean @@ -5,10 +5,11 @@ Authors: Yan Yablonovskiy -/ module -import Mathlib.Basic.Real.Basic public import Mathlib.Order.Types.Defs public import Mathlib.SetTheory.Cardinal.Order +import Mathlib.Basic.Real.Basic + /-! ## Main definitions diff --git a/Mathlib/Order/UpperLower/Basic.lean b/Mathlib/Order/UpperLower/Basic.lean index 51236fd7f1e7ac..4edc788fad43bd 100644 --- a/Mathlib/Order/UpperLower/Basic.lean +++ b/Mathlib/Order/UpperLower/Basic.lean @@ -5,9 +5,10 @@ Authors: Yaël Dillies, Sara Rousta -/ module -import Mathlib.Logic.Equiv.Set public import Mathlib.Order.Interval.Set.OrderEmbedding public import Mathlib.Order.SetNotation + +import Mathlib.Logic.Equiv.Set import Mathlib.Order.WellFounded /-! diff --git a/Mathlib/Order/UpperLower/Closure.lean b/Mathlib/Order/UpperLower/Closure.lean index eaa6d5f0e26759..da9482a4b89ea7 100644 --- a/Mathlib/Order/UpperLower/Closure.lean +++ b/Mathlib/Order/UpperLower/Closure.lean @@ -6,9 +6,10 @@ Authors: Yaël Dillies, Sara Rousta module public import Mathlib.Order.Interval.Set.OrdConnected -import Mathlib.Order.Minimal public import Mathlib.Order.UpperLower.Principal +import Mathlib.Order.Minimal + /-! # Upper and lower closures diff --git a/Mathlib/Order/UpperLower/LocallyFinite.lean b/Mathlib/Order/UpperLower/LocallyFinite.lean index f93702d13c15bc..104e12619989f7 100644 --- a/Mathlib/Order/UpperLower/LocallyFinite.lean +++ b/Mathlib/Order/UpperLower/LocallyFinite.lean @@ -5,10 +5,11 @@ Authors: Yaël Dillies -/ module -import Mathlib.Data.Set.Finite.Lattice public import Mathlib.Order.Interval.Finset.Defs public import Mathlib.Order.UpperLower.Closure +import Mathlib.Data.Set.Finite.Lattice + /-! # Upper and lower sets in a locally finite order diff --git a/Mathlib/Probability/BorelCantelli.lean b/Mathlib/Probability/BorelCantelli.lean index 7358abfa9d7e8c..a50c780a4e3542 100644 --- a/Mathlib/Probability/BorelCantelli.lean +++ b/Mathlib/Probability/BorelCantelli.lean @@ -6,9 +6,10 @@ Authors: Kexing Ying module public import Mathlib.Probability.Martingale.BorelCantelli -import Mathlib.Probability.ConditionalExpectation public import Mathlib.Probability.Independence.Basic +import Mathlib.Probability.ConditionalExpectation + /-! # The second Borel-Cantelli lemma diff --git a/Mathlib/Probability/Combinatorics/BinomialRandomGraph/Defs.lean b/Mathlib/Probability/Combinatorics/BinomialRandomGraph/Defs.lean index 0e95cde9f820fe..bda515adde787b 100644 --- a/Mathlib/Probability/Combinatorics/BinomialRandomGraph/Defs.lean +++ b/Mathlib/Probability/Combinatorics/BinomialRandomGraph/Defs.lean @@ -5,10 +5,11 @@ Authors: Yaël Dillies -/ module -import Mathlib.Data.Sym.Card public import Mathlib.MeasureTheory.Constructions.SimpleGraph public import Mathlib.Probability.Distributions.SetBernoulli +import Mathlib.Data.Sym.Card + /-! # Binomial random graphs diff --git a/Mathlib/Probability/CondVar.lean b/Mathlib/Probability/CondVar.lean index cdccbffb7ee605..ed7452c2d7b137 100644 --- a/Mathlib/Probability/CondVar.lean +++ b/Mathlib/Probability/CondVar.lean @@ -5,11 +5,12 @@ Authors: Yaël Dillies -/ module -import Mathlib.MeasureTheory.Function.ConditionalExpectation.PullOut -import Mathlib.MeasureTheory.Function.ConditionalExpectation.Real public import Mathlib.MeasureTheory.Integral.Average public import Mathlib.Probability.Moments.Variance +import Mathlib.MeasureTheory.Function.ConditionalExpectation.PullOut +import Mathlib.MeasureTheory.Function.ConditionalExpectation.Real + /-! # Conditional variance diff --git a/Mathlib/Probability/Decision/Risk/RiskIncrease.lean b/Mathlib/Probability/Decision/Risk/RiskIncrease.lean index 441a420e8c36cf..18915dfbb86a9c 100644 --- a/Mathlib/Probability/Decision/Risk/RiskIncrease.lean +++ b/Mathlib/Probability/Decision/Risk/RiskIncrease.lean @@ -6,9 +6,9 @@ Authors: Rémy Degenne, Lorenzo Luccioli module public import Mathlib.Probability.Decision.Risk.Defs +public import Mathlib.Probability.Kernel.Composition.MapComap import Mathlib.Probability.Decision.Risk.Basic -public import Mathlib.Probability.Kernel.Composition.MapComap /-! # Risk increase (or statistical information) diff --git a/Mathlib/Probability/Distributions/Fernique.lean b/Mathlib/Probability/Distributions/Fernique.lean index 7c10c32f438fa9..0b84ac705970f1 100644 --- a/Mathlib/Probability/Distributions/Fernique.lean +++ b/Mathlib/Probability/Distributions/Fernique.lean @@ -6,9 +6,10 @@ Authors: Rémy Degenne module public import Mathlib.Analysis.SpecificLimits.ArithmeticGeometric -import Mathlib.MeasureTheory.Constructions.BorelSpace.ContinuousLinearMap public import Mathlib.MeasureTheory.Function.L1Space.Integrable +import Mathlib.MeasureTheory.Constructions.BorelSpace.ContinuousLinearMap + /-! # Fernique's theorem for rotation-invariant measures diff --git a/Mathlib/Probability/Distributions/Gaussian/HasGaussianLaw/Independence.lean b/Mathlib/Probability/Distributions/Gaussian/HasGaussianLaw/Independence.lean index 553532e80b033a..f86b8ad962da35 100644 --- a/Mathlib/Probability/Distributions/Gaussian/HasGaussianLaw/Independence.lean +++ b/Mathlib/Probability/Distributions/Gaussian/HasGaussianLaw/Independence.lean @@ -6,6 +6,7 @@ Authors: Etienne Marion module public import Mathlib.Probability.Distributions.Gaussian.HasGaussianLaw.Def + import Mathlib.Probability.Distributions.Gaussian.CharFun import Mathlib.Probability.Distributions.Gaussian.Fernique import Mathlib.Probability.Distributions.Gaussian.HasGaussianLaw.Basic diff --git a/Mathlib/Probability/IdentDistribIndep.lean b/Mathlib/Probability/IdentDistribIndep.lean index d8afe660abb368..568183e2a562f7 100644 --- a/Mathlib/Probability/IdentDistribIndep.lean +++ b/Mathlib/Probability/IdentDistribIndep.lean @@ -6,6 +6,7 @@ Authors: Rémy Degenne module public import Mathlib.Probability.IdentDistrib + import Mathlib.Probability.Independence.InfinitePi /-! diff --git a/Mathlib/Probability/Independence/Conditional.lean b/Mathlib/Probability/Independence/Conditional.lean index 49fb6499b6bc21..35048cebb9c8c5 100644 --- a/Mathlib/Probability/Independence/Conditional.lean +++ b/Mathlib/Probability/Independence/Conditional.lean @@ -6,9 +6,10 @@ Authors: Rémy Degenne module public import Mathlib.Probability.Independence.Kernel.IndepFun -import Mathlib.Probability.Kernel.CompProdEqIff public import Mathlib.Probability.Kernel.Condexp +import Mathlib.Probability.Kernel.CompProdEqIff + /-! # Conditional Independence diff --git a/Mathlib/Probability/Independence/Kernel/Indep.lean b/Mathlib/Probability/Independence/Kernel/Indep.lean index 535143fc508ee2..299511776022dc 100644 --- a/Mathlib/Probability/Independence/Kernel/Indep.lean +++ b/Mathlib/Probability/Independence/Kernel/Indep.lean @@ -6,6 +6,7 @@ Authors: Rémy Degenne module public import Mathlib.Probability.Kernel.Basic + import Mathlib.Tactic.Peel /-! diff --git a/Mathlib/Probability/Independence/Kernel/IndepFun.lean b/Mathlib/Probability/Independence/Kernel/IndepFun.lean index 9aeb0ddfd95781..0c25d7015f698e 100644 --- a/Mathlib/Probability/Independence/Kernel/IndepFun.lean +++ b/Mathlib/Probability/Independence/Kernel/IndepFun.lean @@ -6,10 +6,10 @@ Authors: Rémy Degenne module public import Mathlib.Probability.Independence.Kernel.Indep -import Mathlib.MeasureTheory.MeasurableSpace.Pi public import Mathlib.Probability.ConditionalProbability public import Mathlib.Probability.Kernel.Composition.MeasureComp +import Mathlib.MeasureTheory.MeasurableSpace.Pi import Mathlib.MeasureTheory.Constructions.Cylinders /-! diff --git a/Mathlib/Probability/Independence/Process/Basic.lean b/Mathlib/Probability/Independence/Process/Basic.lean index 2ba90411e64e02..a34400fd1e9d77 100644 --- a/Mathlib/Probability/Independence/Process/Basic.lean +++ b/Mathlib/Probability/Independence/Process/Basic.lean @@ -5,9 +5,10 @@ Authors: Etienne Marion -/ module -import Mathlib.MeasureTheory.Constructions.Cylinders public import Mathlib.Probability.Independence.Basic +import Mathlib.MeasureTheory.Constructions.Cylinders + /-! # Independence of stochastic processes diff --git a/Mathlib/Probability/Kernel/Composition/ParallelComp.lean b/Mathlib/Probability/Kernel/Composition/ParallelComp.lean index 2a557dc75d26e7..e28f36d22ceba6 100644 --- a/Mathlib/Probability/Kernel/Composition/ParallelComp.lean +++ b/Mathlib/Probability/Kernel/Composition/ParallelComp.lean @@ -7,6 +7,7 @@ module public import Mathlib.MeasureTheory.Measure.Prod public import Mathlib.Probability.Kernel.Composition.MapComap + import Mathlib.Probability.Kernel.MeasurableLIntegral /-! diff --git a/Mathlib/Probability/Kernel/Deterministic.lean b/Mathlib/Probability/Kernel/Deterministic.lean index c28104ec2b40ab..3964147b16194f 100644 --- a/Mathlib/Probability/Kernel/Deterministic.lean +++ b/Mathlib/Probability/Kernel/Deterministic.lean @@ -6,10 +6,11 @@ Authors: Gaëtan Serré module -import Mathlib.MeasureTheory.Integral.Lebesgue.Sub public import Mathlib.MeasureTheory.Measure.Typeclasses.ZeroOne public import Mathlib.Probability.Kernel.Composition.Prod +import Mathlib.MeasureTheory.Integral.Lebesgue.Sub + /-! # Class `IsDeterministic` of deterministic kernels diff --git a/Mathlib/Probability/Kernel/Disintegration/MeasurableStieltjes.lean b/Mathlib/Probability/Kernel/Disintegration/MeasurableStieltjes.lean index c8dafb86dd3fef..b342170e698c77 100644 --- a/Mathlib/Probability/Kernel/Disintegration/MeasurableStieltjes.lean +++ b/Mathlib/Probability/Kernel/Disintegration/MeasurableStieltjes.lean @@ -7,9 +7,10 @@ module public import Mathlib.MeasureTheory.Measure.GiryMonad public import Mathlib.MeasureTheory.Measure.Stieltjes -import Mathlib.Analysis.Normed.Order.Lattice public import Mathlib.MeasureTheory.Function.StronglyMeasurable.Basic +import Mathlib.Analysis.Normed.Order.Lattice + /-! # Measurable parametric Stieltjes functions diff --git a/Mathlib/Probability/Kernel/IonescuTulcea/Traj.lean b/Mathlib/Probability/Kernel/IonescuTulcea/Traj.lean index 72f0a08d895419..f3edc1ac4d7787 100644 --- a/Mathlib/Probability/Kernel/IonescuTulcea/Traj.lean +++ b/Mathlib/Probability/Kernel/IonescuTulcea/Traj.lean @@ -7,10 +7,11 @@ module public import Mathlib.MeasureTheory.Constructions.ProjectiveFamilyContent public import Mathlib.MeasureTheory.Function.FactorsThrough -import Mathlib.MeasureTheory.Integral.Average public import Mathlib.MeasureTheory.OuterMeasure.OfAddContent public import Mathlib.Probability.Kernel.CondDistrib public import Mathlib.Probability.Kernel.IonescuTulcea.PartialTraj + +import Mathlib.MeasureTheory.Integral.Average import Mathlib.Probability.Kernel.SetIntegral /-! diff --git a/Mathlib/Probability/Kernel/SetIntegral.lean b/Mathlib/Probability/Kernel/SetIntegral.lean index 99fc021930c48b..152fad9c55865c 100644 --- a/Mathlib/Probability/Kernel/SetIntegral.lean +++ b/Mathlib/Probability/Kernel/SetIntegral.lean @@ -5,9 +5,10 @@ Authors: Etienne Marion -/ module -import Mathlib.MeasureTheory.Integral.Bochner.Set public import Mathlib.Probability.Kernel.Integral +import Mathlib.MeasureTheory.Integral.Bochner.Set + /-! # Integral against a kernel over a set This file contains lemmas about the integral against a kernel and over a set. diff --git a/Mathlib/Probability/Martingale/BorelCantelli.lean b/Mathlib/Probability/Martingale/BorelCantelli.lean index f4f278dad89cb8..9051baa5661ac1 100644 --- a/Mathlib/Probability/Martingale/BorelCantelli.lean +++ b/Mathlib/Probability/Martingale/BorelCantelli.lean @@ -5,11 +5,12 @@ Authors: Kexing Ying -/ module -import Mathlib.Algebra.Order.Archimedean.IndicatorCard public import Mathlib.Probability.Martingale.Centering -import Mathlib.Probability.Martingale.Convergence public import Mathlib.Probability.Martingale.OptionalStopping +import Mathlib.Algebra.Order.Archimedean.IndicatorCard +import Mathlib.Probability.Martingale.Convergence + /-! # Generalized Borel-Cantelli lemma diff --git a/Mathlib/Probability/Martingale/Upcrossing.lean b/Mathlib/Probability/Martingale/Upcrossing.lean index 16bb3277f1aca8..c9ab03be9d6ab9 100644 --- a/Mathlib/Probability/Martingale/Upcrossing.lean +++ b/Mathlib/Probability/Martingale/Upcrossing.lean @@ -8,6 +8,7 @@ module public import Mathlib.Probability.Notation public import Mathlib.Probability.Process.HittingTime public import Mathlib.Probability.Martingale.Basic + import Mathlib.Tactic.AdaptationNote /-! diff --git a/Mathlib/Probability/Moments/Basic.lean b/Mathlib/Probability/Moments/Basic.lean index 17f19e29a10438..cb1afda7058ca3 100644 --- a/Mathlib/Probability/Moments/Basic.lean +++ b/Mathlib/Probability/Moments/Basic.lean @@ -6,6 +6,7 @@ Authors: Rémy Degenne module public import Mathlib.Probability.IdentDistrib + import Mathlib.Probability.Independence.Integration /-! diff --git a/Mathlib/Probability/Moments/ComplexMGF.lean b/Mathlib/Probability/Moments/ComplexMGF.lean index ce41a98c9d6ae9..51f2a264f12f5a 100644 --- a/Mathlib/Probability/Moments/ComplexMGF.lean +++ b/Mathlib/Probability/Moments/ComplexMGF.lean @@ -5,12 +5,13 @@ Authors: Rémy Degenne -/ module -import Mathlib.Analysis.Calculus.ParametricIntegral -import Mathlib.Analysis.Complex.CauchyIntegral public import Mathlib.MeasureTheory.Measure.CharacteristicFunction.Basic public import Mathlib.Probability.Moments.Basic public import Mathlib.Probability.Moments.IntegrableExpMul +import Mathlib.Analysis.Calculus.ParametricIntegral +import Mathlib.Analysis.Complex.CauchyIntegral + /-! # The complex-valued moment-generating function diff --git a/Mathlib/Probability/Moments/Covariance.lean b/Mathlib/Probability/Moments/Covariance.lean index 5dbf33eaf62569..ab7994201d9b6d 100644 --- a/Mathlib/Probability/Moments/Covariance.lean +++ b/Mathlib/Probability/Moments/Covariance.lean @@ -6,9 +6,10 @@ Authors: Rémy Degenne, Etienne Marion module public import Mathlib.Probability.Independence.Basic -import Mathlib.Probability.Independence.Integration public import Mathlib.Probability.Notation +import Mathlib.Probability.Independence.Integration + /-! # Covariance diff --git a/Mathlib/Probability/Moments/CovarianceBilin.lean b/Mathlib/Probability/Moments/CovarianceBilin.lean index bf63c8ca40a15d..f8feae8c82d610 100644 --- a/Mathlib/Probability/Moments/CovarianceBilin.lean +++ b/Mathlib/Probability/Moments/CovarianceBilin.lean @@ -8,9 +8,10 @@ module public import Mathlib.Analysis.InnerProductSpace.Positive public import Mathlib.Analysis.Normed.Lp.MeasurableSpace public import Mathlib.MeasureTheory.SpecificCodomains.WithLp -import Mathlib.Probability.Moments.Basic public import Mathlib.Probability.Moments.CovarianceBilinDual +import Mathlib.Probability.Moments.Basic + /-! # Covariance in Hilbert spaces diff --git a/Mathlib/Probability/Moments/MGFAnalytic.lean b/Mathlib/Probability/Moments/MGFAnalytic.lean index a9d3c061f56574..4fddb2251160c8 100644 --- a/Mathlib/Probability/Moments/MGFAnalytic.lean +++ b/Mathlib/Probability/Moments/MGFAnalytic.lean @@ -6,6 +6,7 @@ Authors: Rémy Degenne module public import Mathlib.Probability.Moments.ComplexMGF + import Mathlib.Analysis.SpecialFunctions.Complex.Analytic import Mathlib.Analysis.Calculus.Taylor diff --git a/Mathlib/Probability/Moments/Variance.lean b/Mathlib/Probability/Moments/Variance.lean index 3da388bb4c1bf6..11864e20ef5d62 100644 --- a/Mathlib/Probability/Moments/Variance.lean +++ b/Mathlib/Probability/Moments/Variance.lean @@ -6,6 +6,7 @@ Authors: Sébastien Gouëzel, Kexing Ying module public import Mathlib.Probability.Moments.Covariance + import Mathlib.MeasureTheory.Function.LpSeminorm.Prod import Mathlib.Probability.Independence.Integrable diff --git a/Mathlib/Probability/Process/HittingTime.lean b/Mathlib/Probability/Process/HittingTime.lean index 622fda5f41470d..14676deec89586 100644 --- a/Mathlib/Probability/Process/HittingTime.lean +++ b/Mathlib/Probability/Process/HittingTime.lean @@ -6,6 +6,7 @@ Authors: Kexing Ying, Rémy Degenne module public import Mathlib.Probability.Process.Stopping + import Mathlib.Tactic.AdaptationNote /-! diff --git a/Mathlib/Probability/StrongLaw.lean b/Mathlib/Probability/StrongLaw.lean index ff755ab769824d..42b89b71f569c6 100644 --- a/Mathlib/Probability/StrongLaw.lean +++ b/Mathlib/Probability/StrongLaw.lean @@ -6,8 +6,9 @@ Authors: Sébastien Gouëzel module public import Mathlib.Probability.IdentDistrib -import Mathlib.Probability.Independence.Integrable public import Mathlib.MeasureTheory.Integral.DominatedConvergence + +import Mathlib.Probability.Independence.Integrable import Mathlib.Analysis.SpecificLimits.FloorPow import Mathlib.Analysis.PSeries import Mathlib.Analysis.Asymptotics.SpecificAsymptotics diff --git a/Mathlib/RepresentationTheory/Character.lean b/Mathlib/RepresentationTheory/Character.lean index c2c1a5cbdf527d..2e8b99d02a1b84 100644 --- a/Mathlib/RepresentationTheory/Character.lean +++ b/Mathlib/RepresentationTheory/Character.lean @@ -5,11 +5,12 @@ Authors: Antoine Labelle -/ module -import Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure public import Mathlib.LinearAlgebra.Eigenspace.Charpoly public import Mathlib.RepresentationTheory.Invariants public import Mathlib.RepresentationTheory.Irreducible +import Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure + /-! # Characters of representations diff --git a/Mathlib/RepresentationTheory/Continuous/Basic.lean b/Mathlib/RepresentationTheory/Continuous/Basic.lean index bb329a023ec564..e90114cee26717 100644 --- a/Mathlib/RepresentationTheory/Continuous/Basic.lean +++ b/Mathlib/RepresentationTheory/Continuous/Basic.lean @@ -7,9 +7,10 @@ module public import Mathlib.RepresentationTheory.Intertwining public import Mathlib.Topology.ContinuousMap.Algebra -import Mathlib.CategoryTheory.Category.Init public import Mathlib.Topology.Algebra.Module.Equiv.Submodule +import Mathlib.CategoryTheory.Category.Init + /-! # Continuous representations diff --git a/Mathlib/RepresentationTheory/FinGroupCharZero.lean b/Mathlib/RepresentationTheory/FinGroupCharZero.lean index e20d9662bc4d4e..539f09181e807a 100644 --- a/Mathlib/RepresentationTheory/FinGroupCharZero.lean +++ b/Mathlib/RepresentationTheory/FinGroupCharZero.lean @@ -5,9 +5,10 @@ Authors: Sophie Morel -/ module +public import Mathlib.RepresentationTheory.Character + import Mathlib.Algebra.Category.FGModuleCat.Abelian import Mathlib.Algebra.Category.ModuleCat.Injective -public import Mathlib.RepresentationTheory.Character import Mathlib.RepresentationTheory.Maschke import Mathlib.RingTheory.SimpleModule.InjectiveProjective import Mathlib.RepresentationTheory.Rep.Iso diff --git a/Mathlib/RepresentationTheory/Homological/ContCohomology/Sha.lean b/Mathlib/RepresentationTheory/Homological/ContCohomology/Sha.lean index 54641a9b13a30d..0c5a474b8bdf68 100644 --- a/Mathlib/RepresentationTheory/Homological/ContCohomology/Sha.lean +++ b/Mathlib/RepresentationTheory/Homological/ContCohomology/Sha.lean @@ -5,10 +5,11 @@ Authors: Edison Xie, David Kurniadi Angdinata -/ module -import Mathlib.FieldTheory.IsSepClosed public import Mathlib.FieldTheory.AbsoluteGaloisGroup public import Mathlib.RepresentationTheory.Homological.ContCohomology.Functoriality +import Mathlib.FieldTheory.IsSepClosed + /-! # The Tate–Shafarevich group of a Galois module diff --git a/Mathlib/RepresentationTheory/Homological/FiniteCyclic.lean b/Mathlib/RepresentationTheory/Homological/FiniteCyclic.lean index ae53b470716fbe..29d8387cfacf38 100644 --- a/Mathlib/RepresentationTheory/Homological/FiniteCyclic.lean +++ b/Mathlib/RepresentationTheory/Homological/FiniteCyclic.lean @@ -7,10 +7,11 @@ module public import Mathlib.Algebra.Homology.AlternatingConst public import Mathlib.CategoryTheory.Preadditive.Projective.Resolution -import Mathlib.GroupTheory.OrderOfElement public import Mathlib.RepresentationTheory.Coinvariants public import Mathlib.RepresentationTheory.Rep.Iso +import Mathlib.GroupTheory.OrderOfElement + /-! # Projective resolution of `k` as a trivial `k`-linear representation of a finite cyclic group diff --git a/Mathlib/RepresentationTheory/Homological/GroupCohomology/LongExactSequence.lean b/Mathlib/RepresentationTheory/Homological/GroupCohomology/LongExactSequence.lean index 63d8d9b5662d09..3e47aec9e6b62e 100644 --- a/Mathlib/RepresentationTheory/Homological/GroupCohomology/LongExactSequence.lean +++ b/Mathlib/RepresentationTheory/Homological/GroupCohomology/LongExactSequence.lean @@ -5,10 +5,11 @@ Authors: Amelia Livingston -/ module -import Mathlib.Algebra.Homology.HomologicalComplexAbelian public import Mathlib.RepresentationTheory.Homological.GroupCohomology.Functoriality public import Mathlib.Algebra.Homology.HomologySequenceLemmas +import Mathlib.Algebra.Homology.HomologicalComplexAbelian + /-! # Long exact sequence in group cohomology diff --git a/Mathlib/RepresentationTheory/Homological/GroupHomology/LongExactSequence.lean b/Mathlib/RepresentationTheory/Homological/GroupHomology/LongExactSequence.lean index 7bf53c0871aac5..79cd1924b6d08f 100644 --- a/Mathlib/RepresentationTheory/Homological/GroupHomology/LongExactSequence.lean +++ b/Mathlib/RepresentationTheory/Homological/GroupHomology/LongExactSequence.lean @@ -5,9 +5,10 @@ Authors: Amelia Livingston -/ module -import Mathlib.Algebra.Homology.HomologicalComplexAbelian public import Mathlib.RepresentationTheory.Homological.GroupHomology.Functoriality +import Mathlib.Algebra.Homology.HomologicalComplexAbelian + /-! # Long exact sequence in group homology diff --git a/Mathlib/RepresentationTheory/Homological/TateCohomology/Basic.lean b/Mathlib/RepresentationTheory/Homological/TateCohomology/Basic.lean index 3c79005add7a9b..8abce9d8d3120c 100644 --- a/Mathlib/RepresentationTheory/Homological/TateCohomology/Basic.lean +++ b/Mathlib/RepresentationTheory/Homological/TateCohomology/Basic.lean @@ -6,10 +6,11 @@ Authors: Yunzhou Xie, Yaël Dillies module public import Mathlib.Algebra.Homology.Embedding.Connect -import Mathlib.Algebra.Homology.HomologicalComplexAbelian public import Mathlib.RepresentationTheory.Homological.GroupCohomology.LongExactSequence public import Mathlib.RepresentationTheory.Homological.GroupHomology.LongExactSequence +import Mathlib.Algebra.Homology.HomologicalComplexAbelian + /-! # Tate Cohomology diff --git a/Mathlib/RepresentationTheory/Maschke.lean b/Mathlib/RepresentationTheory/Maschke.lean index c9a586d7df82b1..a0620e36ebca11 100644 --- a/Mathlib/RepresentationTheory/Maschke.lean +++ b/Mathlib/RepresentationTheory/Maschke.lean @@ -5,9 +5,10 @@ Authors: Kim Morrison -/ module -import Mathlib.Algebra.Group.TypeTags.Finite public import Mathlib.RepresentationTheory.Semisimple +import Mathlib.Algebra.Group.TypeTags.Finite + /-! # Maschke's theorem diff --git a/Mathlib/RingTheory/AdicCompletion/Basic.lean b/Mathlib/RingTheory/AdicCompletion/Basic.lean index baf382b8d49d68..d7700f52603296 100644 --- a/Mathlib/RingTheory/AdicCompletion/Basic.lean +++ b/Mathlib/RingTheory/AdicCompletion/Basic.lean @@ -5,12 +5,13 @@ Authors: Kenny Lau, Judith Ludwig, Christian Merten, Jiedong Jiang -/ module -import Mathlib.Algebra.Ring.GeomSum public import Mathlib.LinearAlgebra.SModEq.Basic public import Mathlib.RingTheory.Ideal.Quotient.PowTransition public import Mathlib.RingTheory.Jacobson.Ideal public import Mathlib.Tactic.SuppressCompilation +import Mathlib.Algebra.Ring.GeomSum + /-! # Completion of a module with respect to an ideal. diff --git a/Mathlib/RingTheory/AdicCompletion/Noetherian.lean b/Mathlib/RingTheory/AdicCompletion/Noetherian.lean index 7ba1c076591f4b..bb828eaac96241 100644 --- a/Mathlib/RingTheory/AdicCompletion/Noetherian.lean +++ b/Mathlib/RingTheory/AdicCompletion/Noetherian.lean @@ -6,9 +6,10 @@ Authors: Andrew Yang module public import Mathlib.RingTheory.AdicCompletion.Basic -import Mathlib.RingTheory.Filtration public import Mathlib.RingTheory.HopkinsLevitzki +import Mathlib.RingTheory.Filtration + /-! # Hausdorff-ness for Noetherian rings -/ diff --git a/Mathlib/RingTheory/Adjoin/Basic.lean b/Mathlib/RingTheory/Adjoin/Basic.lean index 430b397405a1bb..8713ef8eadaea0 100644 --- a/Mathlib/RingTheory/Adjoin/Basic.lean +++ b/Mathlib/RingTheory/Adjoin/Basic.lean @@ -9,6 +9,7 @@ public import Mathlib.Algebra.Algebra.Subalgebra.Prod public import Mathlib.Algebra.Algebra.Subalgebra.Tower public import Mathlib.LinearAlgebra.Basis.Basic public import Mathlib.LinearAlgebra.Prod + import Mathlib.Algebra.Order.Group.Nat /-! # Adjoining elements to form subalgebras diff --git a/Mathlib/RingTheory/Adjoin/Dimension.lean b/Mathlib/RingTheory/Adjoin/Dimension.lean index fcc5b2e9ab25d4..a5aeae74242fe7 100644 --- a/Mathlib/RingTheory/Adjoin/Dimension.lean +++ b/Mathlib/RingTheory/Adjoin/Dimension.lean @@ -7,6 +7,7 @@ module public import Mathlib.Algebra.Group.Pointwise.Set.Card public import Mathlib.LinearAlgebra.Dimension.Constructions + import Mathlib.RingTheory.Adjoin.Basic /-! diff --git a/Mathlib/RingTheory/Adjoin/FG.lean b/Mathlib/RingTheory/Adjoin/FG.lean index 415014c5aaac4a..70094a9f262695 100644 --- a/Mathlib/RingTheory/Adjoin/FG.lean +++ b/Mathlib/RingTheory/Adjoin/FG.lean @@ -8,6 +8,7 @@ module public import Mathlib.Algebra.EuclideanDomain.Int public import Mathlib.RingTheory.Adjoin.Basic public import Mathlib.RingTheory.Polynomial.Basic + import Mathlib.RingTheory.PrincipalIdealDomain /-! diff --git a/Mathlib/RingTheory/Algebraic/Cardinality.lean b/Mathlib/RingTheory/Algebraic/Cardinality.lean index ef466f63d67427..e048266931431d 100644 --- a/Mathlib/RingTheory/Algebraic/Cardinality.lean +++ b/Mathlib/RingTheory/Algebraic/Cardinality.lean @@ -5,10 +5,11 @@ Authors: Chris Hughes -/ module -import Mathlib.Algebra.Polynomial.Cardinal public import Mathlib.Algebra.Polynomial.Roots public import Mathlib.RingTheory.Algebraic.Defs +import Mathlib.Algebra.Polynomial.Cardinal + /-! # Cardinality of algebraic extensions diff --git a/Mathlib/RingTheory/Algebraic/Integral.lean b/Mathlib/RingTheory/Algebraic/Integral.lean index 34d35f404ec583..449fc5d0ae32f7 100644 --- a/Mathlib/RingTheory/Algebraic/Integral.lean +++ b/Mathlib/RingTheory/Algebraic/Integral.lean @@ -5,12 +5,13 @@ Authors: Johan Commelin -/ module -import Mathlib.Algebra.Ring.Hom.InjSurj public import Mathlib.LinearAlgebra.Dimension.Localization public import Mathlib.RingTheory.Algebraic.Basic public import Mathlib.RingTheory.IntegralClosure.IsIntegralClosure.Basic public import Mathlib.RingTheory.Polynomial.Subring +import Mathlib.Algebra.Ring.Hom.InjSurj + /-! # Algebraic elements and integral elements diff --git a/Mathlib/RingTheory/Algebraic/StronglyTranscendental.lean b/Mathlib/RingTheory/Algebraic/StronglyTranscendental.lean index 62cdc960a1e4d8..9a6274df2880e9 100644 --- a/Mathlib/RingTheory/Algebraic/StronglyTranscendental.lean +++ b/Mathlib/RingTheory/Algebraic/StronglyTranscendental.lean @@ -6,6 +6,7 @@ Authors: Andrew Yang module public import Mathlib.RingTheory.KrullDimension.Zero + import Mathlib.RingTheory.LocalProperties.Reduced /-! diff --git a/Mathlib/RingTheory/AlgebraicIndependent/RankAndCardinality.lean b/Mathlib/RingTheory/AlgebraicIndependent/RankAndCardinality.lean index 3f2bac23464d04..770643a5b28081 100644 --- a/Mathlib/RingTheory/AlgebraicIndependent/RankAndCardinality.lean +++ b/Mathlib/RingTheory/AlgebraicIndependent/RankAndCardinality.lean @@ -5,11 +5,12 @@ Authors: Chris Hughes -/ module +public import Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis + import Mathlib.FieldTheory.IntermediateField.Adjoin.Basic import Mathlib.FieldTheory.MvRatFunc.Rank import Mathlib.RingTheory.Algebraic.Cardinality import Mathlib.RingTheory.AlgebraicIndependent.Adjoin -public import Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis /-! # Cardinality of a transcendence basis diff --git a/Mathlib/RingTheory/Artinian/Algebra.lean b/Mathlib/RingTheory/Artinian/Algebra.lean index 24265ac3a318c9..59d2909c443e22 100644 --- a/Mathlib/RingTheory/Artinian/Algebra.lean +++ b/Mathlib/RingTheory/Artinian/Algebra.lean @@ -7,6 +7,7 @@ module public import Mathlib.RingTheory.Artinian.Module public import Mathlib.RingTheory.IntegralClosure.Algebra.Defs + import Mathlib.RingTheory.IntegralClosure.IsIntegral.Basic /-! diff --git a/Mathlib/RingTheory/Artinian/Instances.lean b/Mathlib/RingTheory/Artinian/Instances.lean index 21b559b123974a..9a700941813736 100644 --- a/Mathlib/RingTheory/Artinian/Instances.lean +++ b/Mathlib/RingTheory/Artinian/Instances.lean @@ -5,11 +5,12 @@ Authors: Junyan Xu -/ module -import Mathlib.Algebra.Divisibility.Prod -import Mathlib.Algebra.Polynomial.FieldDivision public import Mathlib.LinearAlgebra.InvariantBasisNumber public import Mathlib.RingTheory.Artinian.Module +import Mathlib.Algebra.Divisibility.Prod +import Mathlib.Algebra.Polynomial.FieldDivision + /-! # Instances related to Artinian rings diff --git a/Mathlib/RingTheory/Artinian/Ring.lean b/Mathlib/RingTheory/Artinian/Ring.lean index 643ad74972badb..174d6511ad8cf5 100644 --- a/Mathlib/RingTheory/Artinian/Ring.lean +++ b/Mathlib/RingTheory/Artinian/Ring.lean @@ -5,11 +5,12 @@ Authors: Chris Hughes, Junyan Xu, Jujian Zhang -/ module -import Mathlib.Algebra.Field.Equiv public import Mathlib.RingTheory.Artinian.Module public import Mathlib.RingTheory.Localization.Defs public import Mathlib.RingTheory.LocalRing.MaximalIdeal.Basic +import Mathlib.Algebra.Field.Equiv + /-! # Artinian rings diff --git a/Mathlib/RingTheory/Binomial.lean b/Mathlib/RingTheory/Binomial.lean index bb2b0414910bd2..7b310b5959ddd9 100644 --- a/Mathlib/RingTheory/Binomial.lean +++ b/Mathlib/RingTheory/Binomial.lean @@ -10,11 +10,12 @@ public import Mathlib.Algebra.Module.Rat public import Mathlib.Algebra.Order.Ring.NNRat public import Mathlib.Algebra.Polynomial.Smeval public import Mathlib.Algebra.Ring.NegOnePow -import Mathlib.GroupTheory.GroupAction.Ring public import Mathlib.RingTheory.Polynomial.Pochhammer public import Mathlib.Tactic.Field public import Mathlib.Tactic.Module +import Mathlib.GroupTheory.GroupAction.Ring + /-! # Binomial rings diff --git a/Mathlib/RingTheory/Congruence/Star.lean b/Mathlib/RingTheory/Congruence/Star.lean index a7b14ffb30bd19..c45cbcac48c36b 100644 --- a/Mathlib/RingTheory/Congruence/Star.lean +++ b/Mathlib/RingTheory/Congruence/Star.lean @@ -6,9 +6,10 @@ Authors: Eric Wieser module public import Mathlib.Algebra.Star.Basic -import Mathlib.Data.Finset.Attr public import Mathlib.RingTheory.Congruence.Defs +import Mathlib.Data.Finset.Attr + /-! # Helpers for working with star operators on quotients. diff --git a/Mathlib/RingTheory/Coprime/Basic.lean b/Mathlib/RingTheory/Coprime/Basic.lean index 11272abe80b438..a9655579c5ba66 100644 --- a/Mathlib/RingTheory/Coprime/Basic.lean +++ b/Mathlib/RingTheory/Coprime/Basic.lean @@ -6,11 +6,12 @@ Authors: Kenny Lau, Ken Lee, Chris Hughes module public import Mathlib.Algebra.Group.Action.Units -import Mathlib.Algebra.Group.Nat.Units public import Mathlib.Algebra.GroupWithZero.Associated -import Mathlib.Algebra.Ring.Divisibility.Basic public import Mathlib.Tactic.Ring +import Mathlib.Algebra.Group.Nat.Units +import Mathlib.Algebra.Ring.Divisibility.Basic + /-! # Coprime elements of a ring or monoid diff --git a/Mathlib/RingTheory/Coprime/Ideal.lean b/Mathlib/RingTheory/Coprime/Ideal.lean index 00d56ca93b7dd5..0ded2c7f7bfe5b 100644 --- a/Mathlib/RingTheory/Coprime/Ideal.lean +++ b/Mathlib/RingTheory/Coprime/Ideal.lean @@ -5,10 +5,11 @@ Authors: Pierre-Alexandre Bazin -/ module -import Mathlib.LinearAlgebra.DFinsupp public import Mathlib.RingTheory.Ideal.BigOperators public import Mathlib.RingTheory.Ideal.Operations +import Mathlib.LinearAlgebra.DFinsupp + /-! # An additional lemma about coprime ideals diff --git a/Mathlib/RingTheory/DedekindDomain/Different.lean b/Mathlib/RingTheory/DedekindDomain/Different.lean index 96aa452178243a..658c2ea3d8cd3d 100644 --- a/Mathlib/RingTheory/DedekindDomain/Different.lean +++ b/Mathlib/RingTheory/DedekindDomain/Different.lean @@ -9,9 +9,10 @@ public import Mathlib.NumberTheory.RamificationInertia.Unramified public import Mathlib.RingTheory.Conductor public import Mathlib.RingTheory.FractionalIdeal.Extended public import Mathlib.RingTheory.Trace.Quotient -import Mathlib.RingTheory.Finiteness.Quotient public import Mathlib.RingTheory.Flat.TorsionFree +import Mathlib.RingTheory.Finiteness.Quotient + /-! # The different ideal diff --git a/Mathlib/RingTheory/DedekindDomain/FiniteAdeleRing.lean b/Mathlib/RingTheory/DedekindDomain/FiniteAdeleRing.lean index faee34158a532d..a65c8d57b5c4a4 100644 --- a/Mathlib/RingTheory/DedekindDomain/FiniteAdeleRing.lean +++ b/Mathlib/RingTheory/DedekindDomain/FiniteAdeleRing.lean @@ -6,10 +6,11 @@ Authors: María Inés de Frutos-Fernández module public import Mathlib.RingTheory.DedekindDomain.AdicValuation -import Mathlib.RingTheory.DedekindDomain.Factorization public import Mathlib.Topology.Algebra.RestrictedProduct.TopologicalSpace public import Mathlib.Topology.Algebra.RestrictedProduct.Units +import Mathlib.RingTheory.DedekindDomain.Factorization + /-! # The finite adèle ring of a Dedekind domain diff --git a/Mathlib/RingTheory/DedekindDomain/Instances.lean b/Mathlib/RingTheory/DedekindDomain/Instances.lean index 7c73d4f1020e12..411c824f1baa03 100644 --- a/Mathlib/RingTheory/DedekindDomain/Instances.lean +++ b/Mathlib/RingTheory/DedekindDomain/Instances.lean @@ -7,6 +7,7 @@ module public import Mathlib.RingTheory.DedekindDomain.PID public import Mathlib.FieldTheory.Separable + import Mathlib.RingTheory.Localization.Finiteness /-! diff --git a/Mathlib/RingTheory/DedekindDomain/PID.lean b/Mathlib/RingTheory/DedekindDomain/PID.lean index 611f4b20466d4a..c83bc98b621053 100644 --- a/Mathlib/RingTheory/DedekindDomain/PID.lean +++ b/Mathlib/RingTheory/DedekindDomain/PID.lean @@ -7,6 +7,7 @@ module public import Mathlib.RingTheory.DedekindDomain.Dvr public import Mathlib.RingTheory.DedekindDomain.Ideal.Lemmas + import Mathlib.RingTheory.PrincipalIdealDomainOfPrime /-! diff --git a/Mathlib/RingTheory/Depth/Rees.lean b/Mathlib/RingTheory/Depth/Rees.lean index d01ea92cca7d66..50497e4ceb8b58 100644 --- a/Mathlib/RingTheory/Depth/Rees.lean +++ b/Mathlib/RingTheory/Depth/Rees.lean @@ -5,11 +5,12 @@ Authors: Nailin Guan -/ module -import Mathlib.Algebra.Category.Grp.Zero public import Mathlib.Algebra.Category.ModuleCat.Ext.Basic -import Mathlib.RingTheory.Regular.Category public import Mathlib.RingTheory.Regular.LinearMap public import Mathlib.RingTheory.Regular.RegularSequence + +import Mathlib.Algebra.Category.Grp.Zero +import Mathlib.RingTheory.Regular.Category import Mathlib.RingTheory.Spectrum.Prime.Topology /-! diff --git a/Mathlib/RingTheory/Discriminant.lean b/Mathlib/RingTheory/Discriminant.lean index 1819c06ee23ed0..d9da7436383daa 100644 --- a/Mathlib/RingTheory/Discriminant.lean +++ b/Mathlib/RingTheory/Discriminant.lean @@ -5,9 +5,10 @@ Authors: Riccardo Brasca -/ module -import Mathlib.RingTheory.Norm.Transitivity public import Mathlib.RingTheory.Trace.Basic +import Mathlib.RingTheory.Norm.Transitivity + /-! # Discriminant of a family of vectors diff --git a/Mathlib/RingTheory/DividedPowerAlgebra/Init.lean b/Mathlib/RingTheory/DividedPowerAlgebra/Init.lean index ba91bde10d8ad6..f4cf40c8bc0ab1 100644 --- a/Mathlib/RingTheory/DividedPowerAlgebra/Init.lean +++ b/Mathlib/RingTheory/DividedPowerAlgebra/Init.lean @@ -6,9 +6,10 @@ Authors: Antoine Chambert-Loir, María Inés de Frutos—Fernández module public import Mathlib.RingTheory.Congruence.Hom -import Mathlib.RingTheory.Congruence.BigOperators public import Mathlib.RingTheory.DividedPowers.Basic +import Mathlib.RingTheory.Congruence.BigOperators + /-! # The universal divided power algebra diff --git a/Mathlib/RingTheory/DualNumber.lean b/Mathlib/RingTheory/DualNumber.lean index 4cf073370eae8c..fa2ecb88e26dc1 100644 --- a/Mathlib/RingTheory/DualNumber.lean +++ b/Mathlib/RingTheory/DualNumber.lean @@ -7,6 +7,7 @@ module public import Mathlib.Algebra.DualNumber public import Mathlib.RingTheory.LocalRing.MaximalIdeal.Basic + import Mathlib.RingTheory.PrincipalIdealDomain /-! diff --git a/Mathlib/RingTheory/Etale/Descent.lean b/Mathlib/RingTheory/Etale/Descent.lean index 9b518ccb93a4e1..37fdbf604b8801 100644 --- a/Mathlib/RingTheory/Etale/Descent.lean +++ b/Mathlib/RingTheory/Etale/Descent.lean @@ -7,6 +7,7 @@ module public import Mathlib.RingTheory.RingHom.Etale public import Mathlib.RingTheory.Finiteness.Descent + import Mathlib.RingTheory.Extension.Cotangent.BaseChange /-! diff --git a/Mathlib/RingTheory/Etale/QuasiFinite.lean b/Mathlib/RingTheory/Etale/QuasiFinite.lean index c9797c1b505ac2..3e2e341cd627f5 100644 --- a/Mathlib/RingTheory/Etale/QuasiFinite.lean +++ b/Mathlib/RingTheory/Etale/QuasiFinite.lean @@ -7,6 +7,7 @@ module public import Mathlib.RingTheory.Polynomial.UniversalFactorizationRing public import Mathlib.RingTheory.ZariskisMainTheorem + import Mathlib.RingTheory.Ideal.Quotient.Over /-! diff --git a/Mathlib/RingTheory/Etale/StandardEtale.lean b/Mathlib/RingTheory/Etale/StandardEtale.lean index 7b68073e0bac3c..c444c44de6e752 100644 --- a/Mathlib/RingTheory/Etale/StandardEtale.lean +++ b/Mathlib/RingTheory/Etale/StandardEtale.lean @@ -8,6 +8,7 @@ module public import Mathlib.Algebra.Polynomial.Bivariate public import Mathlib.RingTheory.Etale.Basic public import Mathlib.RingTheory.Extension.Presentation.Submersive + import Mathlib.RingTheory.Ideal.IdempotentFG /-! diff --git a/Mathlib/RingTheory/Extension/Cotangent/BaseChange.lean b/Mathlib/RingTheory/Extension/Cotangent/BaseChange.lean index 559038ea0d6710..ee3715013f0b24 100644 --- a/Mathlib/RingTheory/Extension/Cotangent/BaseChange.lean +++ b/Mathlib/RingTheory/Extension/Cotangent/BaseChange.lean @@ -7,6 +7,7 @@ module public import Mathlib.RingTheory.Ideal.CotangentBaseChange public import Mathlib.RingTheory.Extension.Cotangent.Basic + import Mathlib.Algebra.FiveLemma import Mathlib.RingTheory.Kaehler.TensorProduct diff --git a/Mathlib/RingTheory/Extension/Cotangent/Free.lean b/Mathlib/RingTheory/Extension/Cotangent/Free.lean index 4e2d781b530d0c..7bb196c16cc553 100644 --- a/Mathlib/RingTheory/Extension/Cotangent/Free.lean +++ b/Mathlib/RingTheory/Extension/Cotangent/Free.lean @@ -5,10 +5,11 @@ Authors: Christian Merten -/ module -import Mathlib.LinearAlgebra.Basis.Exact public import Mathlib.RingTheory.Extension.Cotangent.Basic public import Mathlib.RingTheory.Extension.Presentation.Submersive +import Mathlib.LinearAlgebra.Basis.Exact + /-! # Computation of Jacobian of presentations from basis of Cotangent diff --git a/Mathlib/RingTheory/Extension/Presentation/Basic.lean b/Mathlib/RingTheory/Extension/Presentation/Basic.lean index 8c0e04f17adff4..c7d8d3f34ba1f7 100644 --- a/Mathlib/RingTheory/Extension/Presentation/Basic.lean +++ b/Mathlib/RingTheory/Extension/Presentation/Basic.lean @@ -8,6 +8,7 @@ module public import Mathlib.RingTheory.FinitePresentation public import Mathlib.RingTheory.Extension.Generators public import Mathlib.RingTheory.MvPolynomial.Localization + import Mathlib.Algebra.MvPolynomial.CommRing /-! diff --git a/Mathlib/RingTheory/FilteredAlgebra/Basic.lean b/Mathlib/RingTheory/FilteredAlgebra/Basic.lean index d487c96d12ea8a..0fded383053cb0 100644 --- a/Mathlib/RingTheory/FilteredAlgebra/Basic.lean +++ b/Mathlib/RingTheory/FilteredAlgebra/Basic.lean @@ -7,6 +7,7 @@ module public import Mathlib.Algebra.Module.Defs public import Mathlib.Algebra.GradedMulAction + import Mathlib.Algebra.Order.Ring.Unbundled.Basic import Mathlib.Algebra.Ring.Int.Defs /-! diff --git a/Mathlib/RingTheory/Filtration.lean b/Mathlib/RingTheory/Filtration.lean index 4658981a03eaf9..bf6c00e7b5e900 100644 --- a/Mathlib/RingTheory/Filtration.lean +++ b/Mathlib/RingTheory/Filtration.lean @@ -6,10 +6,11 @@ Authors: Andrew Yang module public import Mathlib.Algebra.Polynomial.Module.Basic -import Mathlib.RingTheory.Finiteness.Nakayama public import Mathlib.RingTheory.LocalRing.MaximalIdeal.Basic public import Mathlib.RingTheory.ReesAlgebra +import Mathlib.RingTheory.Finiteness.Nakayama + /-! # `I`-filtrations of modules diff --git a/Mathlib/RingTheory/FinitePresentation.lean b/Mathlib/RingTheory/FinitePresentation.lean index 267a227588a65b..e4c5df3ef2c780 100644 --- a/Mathlib/RingTheory/FinitePresentation.lean +++ b/Mathlib/RingTheory/FinitePresentation.lean @@ -5,11 +5,12 @@ Authors: Johan Commelin -/ module -import Mathlib.Basic.Finite.Sum public import Mathlib.RingTheory.FiniteType public import Mathlib.RingTheory.Finiteness.Ideal public import Mathlib.RingTheory.MvPolynomial.Tower +import Mathlib.Basic.Finite.Sum + /-! # Finiteness conditions in commutative algebra diff --git a/Mathlib/RingTheory/FiniteStability.lean b/Mathlib/RingTheory/FiniteStability.lean index 9faedfeb8f599b..8dfa04463ef76d 100644 --- a/Mathlib/RingTheory/FiniteStability.lean +++ b/Mathlib/RingTheory/FiniteStability.lean @@ -5,10 +5,11 @@ Authors: Christian Merten -/ module -import Mathlib.LinearAlgebra.TensorProduct.RightExactness public import Mathlib.RingTheory.FinitePresentation public import Mathlib.RingTheory.TensorProduct.MvPolynomial +import Mathlib.LinearAlgebra.TensorProduct.RightExactness + /-! # Stability of finiteness conditions in commutative algebra diff --git a/Mathlib/RingTheory/Finiteness/Descent.lean b/Mathlib/RingTheory/Finiteness/Descent.lean index d2332c4fc4568b..795407685ab3bf 100644 --- a/Mathlib/RingTheory/Finiteness/Descent.lean +++ b/Mathlib/RingTheory/Finiteness/Descent.lean @@ -7,6 +7,7 @@ module public import Mathlib.RingTheory.RingHom.FinitePresentation public import Mathlib.RingTheory.RingHom.FaithfullyFlat + import Mathlib.RingTheory.RingHom.Finite import Mathlib.RingTheory.RingHom.FiniteType diff --git a/Mathlib/RingTheory/Finiteness/Ideal.lean b/Mathlib/RingTheory/Finiteness/Ideal.lean index 2d4edd96e5d793..3d180c4e0cf8a8 100644 --- a/Mathlib/RingTheory/Finiteness/Ideal.lean +++ b/Mathlib/RingTheory/Finiteness/Ideal.lean @@ -5,10 +5,11 @@ Authors: Johan Commelin -/ module -import Mathlib.Algebra.Group.Pointwise.Finset.Scalar public import Mathlib.RingTheory.Finiteness.Finsupp public import Mathlib.RingTheory.Ideal.Maps +import Mathlib.Algebra.Group.Pointwise.Finset.Scalar + /-! # Finitely generated ideals diff --git a/Mathlib/RingTheory/Finiteness/Lattice.lean b/Mathlib/RingTheory/Finiteness/Lattice.lean index 83476138b1c915..24b6b29539dee0 100644 --- a/Mathlib/RingTheory/Finiteness/Lattice.lean +++ b/Mathlib/RingTheory/Finiteness/Lattice.lean @@ -5,9 +5,10 @@ Authors: Johan Commelin -/ module -import Mathlib.Data.Fintype.Lattice public import Mathlib.RingTheory.Finiteness.Basic +import Mathlib.Data.Fintype.Lattice + /-! # Finite suprema of finite modules diff --git a/Mathlib/RingTheory/Finiteness/NilpotentKer.lean b/Mathlib/RingTheory/Finiteness/NilpotentKer.lean index c40012c88a3f89..d8f89d7742ee80 100644 --- a/Mathlib/RingTheory/Finiteness/NilpotentKer.lean +++ b/Mathlib/RingTheory/Finiteness/NilpotentKer.lean @@ -5,10 +5,11 @@ Authors: Andrew Yang -/ module +public import Mathlib.RingTheory.Noetherian.Nilpotent + import Mathlib.LinearAlgebra.TensorProduct.Quotient import Mathlib.RingTheory.Finiteness.Subalgebra import Mathlib.RingTheory.Ideal.Quotient.Operations -public import Mathlib.RingTheory.Noetherian.Nilpotent import Mathlib.RingTheory.TensorProduct.Finite /-! # Descend finiteness along quotients by nilpotent ideals -/ diff --git a/Mathlib/RingTheory/Finiteness/Prod.lean b/Mathlib/RingTheory/Finiteness/Prod.lean index 222f9447fec2d9..3fd264bcf319bb 100644 --- a/Mathlib/RingTheory/Finiteness/Prod.lean +++ b/Mathlib/RingTheory/Finiteness/Prod.lean @@ -5,9 +5,10 @@ Authors: Johan Commelin -/ module -import Mathlib.LinearAlgebra.Prod public import Mathlib.RingTheory.Finiteness.Defs +import Mathlib.LinearAlgebra.Prod + /-! # Finitely generated product (sub)modules diff --git a/Mathlib/RingTheory/Finiteness/Subalgebra.lean b/Mathlib/RingTheory/Finiteness/Subalgebra.lean index 4302ff8bf80338..a6d61c45e14e23 100644 --- a/Mathlib/RingTheory/Finiteness/Subalgebra.lean +++ b/Mathlib/RingTheory/Finiteness/Subalgebra.lean @@ -6,9 +6,10 @@ Authors: Johan Commelin module public import Mathlib.Algebra.Algebra.Subalgebra.Lattice -import Mathlib.RingTheory.Finiteness.Basic public import Mathlib.RingTheory.Finiteness.Bilinear +import Mathlib.RingTheory.Finiteness.Basic + /-! # Subalgebras that are finitely generated as submodules -/ diff --git a/Mathlib/RingTheory/Fintype.lean b/Mathlib/RingTheory/Fintype.lean index 911ddc12654459..ad3fdc2621234d 100644 --- a/Mathlib/RingTheory/Fintype.lean +++ b/Mathlib/RingTheory/Fintype.lean @@ -6,6 +6,7 @@ Authors: Kim Morrison module public import Mathlib.Data.ZMod.Basic + import Mathlib.Tactic.NormNum /-! diff --git a/Mathlib/RingTheory/Flat/Basic.lean b/Mathlib/RingTheory/Flat/Basic.lean index cf7b505b1b4c73..d748d88d1eea83 100644 --- a/Mathlib/RingTheory/Flat/Basic.lean +++ b/Mathlib/RingTheory/Flat/Basic.lean @@ -12,6 +12,7 @@ public import Mathlib.RingTheory.Finiteness.Small public import Mathlib.RingTheory.IsTensorProduct public import Mathlib.RingTheory.TensorProduct.Finite public import Mathlib.RingTheory.Adjoin.FGBaseChange + import Mathlib.RingTheory.Nilpotent.Defs /-! diff --git a/Mathlib/RingTheory/Flat/Domain.lean b/Mathlib/RingTheory/Flat/Domain.lean index d9dfc2e24f9667..5da636d138ca11 100644 --- a/Mathlib/RingTheory/Flat/Domain.lean +++ b/Mathlib/RingTheory/Flat/Domain.lean @@ -5,9 +5,10 @@ Authors: Andrew Yang -/ module -import Mathlib.LinearAlgebra.Basis.VectorSpace public import Mathlib.RingTheory.Flat.Localization +import Mathlib.LinearAlgebra.Basis.VectorSpace + /-! # Flat modules in domains diff --git a/Mathlib/RingTheory/Flat/Equalizer.lean b/Mathlib/RingTheory/Flat/Equalizer.lean index 4b1d1776f46ceb..97226468c7065e 100644 --- a/Mathlib/RingTheory/Flat/Equalizer.lean +++ b/Mathlib/RingTheory/Flat/Equalizer.lean @@ -6,6 +6,7 @@ Authors: Christian Merten module public import Mathlib.RingTheory.Flat.Basic + import Mathlib.Algebra.Module.SnakeLemma /-! diff --git a/Mathlib/RingTheory/Flat/FaithfullyFlat/Basic.lean b/Mathlib/RingTheory/Flat/FaithfullyFlat/Basic.lean index 2b7b667dbc308b..ea9a391acab038 100644 --- a/Mathlib/RingTheory/Flat/FaithfullyFlat/Basic.lean +++ b/Mathlib/RingTheory/Flat/FaithfullyFlat/Basic.lean @@ -5,10 +5,11 @@ Authors: Judith Ludwig, Florent Schaffhauser, Yunzhou Xie, Jujian Zhang -/ module -import Mathlib.LinearAlgebra.TensorProduct.Quotient public import Mathlib.RingTheory.Artinian.Defs public import Mathlib.RingTheory.Flat.Stability +import Mathlib.LinearAlgebra.TensorProduct.Quotient + /-! # Faithfully flat modules diff --git a/Mathlib/RingTheory/Flat/FaithfullyFlat/Descent.lean b/Mathlib/RingTheory/Flat/FaithfullyFlat/Descent.lean index 208c8008b25adf..c1f7145e1d3762 100644 --- a/Mathlib/RingTheory/Flat/FaithfullyFlat/Descent.lean +++ b/Mathlib/RingTheory/Flat/FaithfullyFlat/Descent.lean @@ -6,6 +6,7 @@ Authors: Christian Merten module public import Mathlib.RingTheory.RingHom.FaithfullyFlat + import Mathlib.RingTheory.RingHom.Injective import Mathlib.RingTheory.RingHom.Surjective diff --git a/Mathlib/RingTheory/Flat/IsBaseChange.lean b/Mathlib/RingTheory/Flat/IsBaseChange.lean index dea79404a2d4fb..bd204f7c32d0aa 100644 --- a/Mathlib/RingTheory/Flat/IsBaseChange.lean +++ b/Mathlib/RingTheory/Flat/IsBaseChange.lean @@ -5,9 +5,10 @@ Authors: Jingting Wang, Nailin Guan -/ module -import Mathlib.Algebra.FiveLemma public import Mathlib.RingTheory.Flat.Basic +import Mathlib.Algebra.FiveLemma + /-! # Lemmas about `IsBaseChange` under exact sequences diff --git a/Mathlib/RingTheory/Flat/Rank.lean b/Mathlib/RingTheory/Flat/Rank.lean index 54c3397fc7a6ce..1121060a2f813a 100644 --- a/Mathlib/RingTheory/Flat/Rank.lean +++ b/Mathlib/RingTheory/Flat/Rank.lean @@ -5,10 +5,11 @@ Authors: Christian Merten -/ module -import Mathlib.LinearAlgebra.Trace public import Mathlib.RingTheory.Spectrum.Prime.FreeLocus public import Mathlib.RingTheory.RingHom.Flat +import Mathlib.LinearAlgebra.Trace + /-! # Results for the rank of a finite flat algebra diff --git a/Mathlib/RingTheory/Flat/TorsionFree.lean b/Mathlib/RingTheory/Flat/TorsionFree.lean index a504fdf3e53078..93ce0f98887887 100644 --- a/Mathlib/RingTheory/Flat/TorsionFree.lean +++ b/Mathlib/RingTheory/Flat/TorsionFree.lean @@ -6,8 +6,9 @@ Authors: Matthew Jasper, Kevin Buzzard module public import Mathlib.RingTheory.DedekindDomain.Dvr -import Mathlib.RingTheory.Flat.Localization public import Mathlib.RingTheory.Flat.Tensor + +import Mathlib.RingTheory.Flat.Localization import Mathlib.RingTheory.Ideal.IsPrincipal /-! diff --git a/Mathlib/RingTheory/FormalGroup/Basic.lean b/Mathlib/RingTheory/FormalGroup/Basic.lean index 7b9866d899798c..58a8c030887b09 100644 --- a/Mathlib/RingTheory/FormalGroup/Basic.lean +++ b/Mathlib/RingTheory/FormalGroup/Basic.lean @@ -6,6 +6,7 @@ Authors: Wenrong Zou module public import Mathlib.RingTheory.PowerSeries.Substitution + import Mathlib.Tactic.Ring.NamePowerVars /-! # Formal group laws over commutative ring diff --git a/Mathlib/RingTheory/FractionalIdeal/Norm.lean b/Mathlib/RingTheory/FractionalIdeal/Norm.lean index 38966f298c0198..9ac4651bce2fb3 100644 --- a/Mathlib/RingTheory/FractionalIdeal/Norm.lean +++ b/Mathlib/RingTheory/FractionalIdeal/Norm.lean @@ -6,6 +6,7 @@ Authors: Xavier Roblot module public import Mathlib.RingTheory.Ideal.Norm.AbsNorm + import Mathlib.RingTheory.Localization.NormTrace import Mathlib.RingTheory.SimpleModule.Basic diff --git a/Mathlib/RingTheory/FractionalIdeal/Operations.lean b/Mathlib/RingTheory/FractionalIdeal/Operations.lean index e42e6934bdf57a..122784e30f0cad 100644 --- a/Mathlib/RingTheory/FractionalIdeal/Operations.lean +++ b/Mathlib/RingTheory/FractionalIdeal/Operations.lean @@ -5,9 +5,10 @@ Authors: Anne Baanen, Filippo A. E. Nuccio -/ module -import Mathlib.Algebra.EuclideanDomain.Basic public import Mathlib.RingTheory.FractionalIdeal.Basic public import Mathlib.RingTheory.IntegralClosure.IsIntegral.Basic + +import Mathlib.Algebra.EuclideanDomain.Basic import Mathlib.RingTheory.LocalRing.Basic import Mathlib.RingTheory.PrincipalIdealDomain import Mathlib.Tactic.Field diff --git a/Mathlib/RingTheory/Frobenius.lean b/Mathlib/RingTheory/Frobenius.lean index 428a663d7000ab..b7bb6afcd6d550 100644 --- a/Mathlib/RingTheory/Frobenius.lean +++ b/Mathlib/RingTheory/Frobenius.lean @@ -5,11 +5,12 @@ Authors: Andrew Yang -/ module -import Mathlib.FieldTheory.Finite.Basic public import Mathlib.RingTheory.Invariant.Basic -import Mathlib.RingTheory.RootsOfUnity.PrimitiveRoots public import Mathlib.RingTheory.Unramified.Locus +import Mathlib.FieldTheory.Finite.Basic +import Mathlib.RingTheory.RootsOfUnity.PrimitiveRoots + /-! # Frobenius elements diff --git a/Mathlib/RingTheory/GradedAlgebra/HomogeneousLocalization.lean b/Mathlib/RingTheory/GradedAlgebra/HomogeneousLocalization.lean index a57d26a2a7ea12..ee81797b78b5d7 100644 --- a/Mathlib/RingTheory/GradedAlgebra/HomogeneousLocalization.lean +++ b/Mathlib/RingTheory/GradedAlgebra/HomogeneousLocalization.lean @@ -5,12 +5,13 @@ Authors: Jujian Zhang, Eric Wieser -/ module -import Mathlib.Algebra.Group.Submonoid.Finsupp public import Mathlib.RingTheory.GradedAlgebra.FiniteType public import Mathlib.RingTheory.GradedAlgebra.RingHom public import Mathlib.RingTheory.Localization.AtPrime.Basic public import Mathlib.RingTheory.Localization.Away.Basic +import Mathlib.Algebra.Group.Submonoid.Finsupp + /-! # Homogeneous Localization diff --git a/Mathlib/RingTheory/HahnSeries/HahnEmbedding.lean b/Mathlib/RingTheory/HahnSeries/HahnEmbedding.lean index 2090c8d587508d..6d16f41e93f6ea 100644 --- a/Mathlib/RingTheory/HahnSeries/HahnEmbedding.lean +++ b/Mathlib/RingTheory/HahnSeries/HahnEmbedding.lean @@ -5,9 +5,10 @@ Authors: Weiyi Wang -/ module -import Mathlib.Algebra.Module.LinearMap.Rat public import Mathlib.Algebra.Order.Module.HahnEmbedding public import Mathlib.Analysis.RCLike.Basic + +import Mathlib.Algebra.Module.LinearMap.Rat import Mathlib.Basic.Real.Embedding import Mathlib.GroupTheory.DivisibleHull diff --git a/Mathlib/RingTheory/HahnSeries/Lex.lean b/Mathlib/RingTheory/HahnSeries/Lex.lean index e4a4eb0de51231..2e84e6f31a87b0 100644 --- a/Mathlib/RingTheory/HahnSeries/Lex.lean +++ b/Mathlib/RingTheory/HahnSeries/Lex.lean @@ -9,6 +9,7 @@ public import Mathlib.Algebra.Order.Archimedean.Class public import Mathlib.Order.Hom.Lex public import Mathlib.Order.PiLex public import Mathlib.RingTheory.HahnSeries.Multiplication + import Mathlib.Algebra.Order.GroupWithZero.Synonym /-! diff --git a/Mathlib/RingTheory/HahnSeries/PowerSeries.lean b/Mathlib/RingTheory/HahnSeries/PowerSeries.lean index 71bf27ea524c92..83916e66758bfb 100644 --- a/Mathlib/RingTheory/HahnSeries/PowerSeries.lean +++ b/Mathlib/RingTheory/HahnSeries/PowerSeries.lean @@ -7,9 +7,10 @@ module public import Mathlib.RingTheory.HahnSeries.Multiplication public import Mathlib.RingTheory.PowerSeries.Basic -import Mathlib.RingTheory.MvPowerSeries.NoZeroDivisors public import Mathlib.Data.Finsupp.PWO +import Mathlib.RingTheory.MvPowerSeries.NoZeroDivisors + /-! # Comparison between Hahn series and power series diff --git a/Mathlib/RingTheory/HopkinsLevitzki.lean b/Mathlib/RingTheory/HopkinsLevitzki.lean index 987284cb25c197..038e8f83226035 100644 --- a/Mathlib/RingTheory/HopkinsLevitzki.lean +++ b/Mathlib/RingTheory/HopkinsLevitzki.lean @@ -7,10 +7,11 @@ module public import Mathlib.Algebra.Module.Torsion.Basic public import Mathlib.RingTheory.FiniteLength -import Mathlib.RingTheory.Noetherian.Nilpotent public import Mathlib.RingTheory.Spectrum.Prime.Noetherian public import Mathlib.RingTheory.KrullDimension.Zero +import Mathlib.RingTheory.Noetherian.Nilpotent + /-! ## The Hopkins–Levitzki theorem diff --git a/Mathlib/RingTheory/Ideal/AssociatedPrime/Basic.lean b/Mathlib/RingTheory/Ideal/AssociatedPrime/Basic.lean index 16eb54ad3fa430..3cc56d862e8e36 100644 --- a/Mathlib/RingTheory/Ideal/AssociatedPrime/Basic.lean +++ b/Mathlib/RingTheory/Ideal/AssociatedPrime/Basic.lean @@ -5,11 +5,12 @@ Authors: Andrew Yang -/ module -import Mathlib.RingTheory.Finiteness.Ideal -import Mathlib.RingTheory.Ideal.MinimalPrime.Colon public import Mathlib.RingTheory.Ideal.MinimalPrime.Noetherian public import Mathlib.RingTheory.Noetherian.Basic +import Mathlib.RingTheory.Finiteness.Ideal +import Mathlib.RingTheory.Ideal.MinimalPrime.Colon + /-! # Associated primes of a module diff --git a/Mathlib/RingTheory/Ideal/Cotangent.lean b/Mathlib/RingTheory/Ideal/Cotangent.lean index 5e9f7df63865da..ba4abd5256add2 100644 --- a/Mathlib/RingTheory/Ideal/Cotangent.lean +++ b/Mathlib/RingTheory/Ideal/Cotangent.lean @@ -7,13 +7,14 @@ module public import Mathlib.Algebra.Module.Torsion.Basic public import Mathlib.Algebra.Module.SpanRank -import Mathlib.LinearAlgebra.Dimension.Finite public import Mathlib.LinearAlgebra.Dimension.FreeAndStrongRankCondition public import Mathlib.LinearAlgebra.FiniteDimensional.Defs public import Mathlib.RingTheory.Filtration public import Mathlib.RingTheory.LocalRing.ResidueField.Basic public import Mathlib.RingTheory.Nakayama +import Mathlib.LinearAlgebra.Dimension.Finite + /-! # The module `I ⧸ I ^ 2` diff --git a/Mathlib/RingTheory/Ideal/GoingDown.lean b/Mathlib/RingTheory/Ideal/GoingDown.lean index b7d86d042f1424..3aafdcb69dc4ae 100644 --- a/Mathlib/RingTheory/Ideal/GoingDown.lean +++ b/Mathlib/RingTheory/Ideal/GoingDown.lean @@ -6,9 +6,10 @@ Authors: Christian Merten, Yi Song, Sihan Su module public import Mathlib.RingTheory.Flat.FaithfullyFlat.Algebra -import Mathlib.RingTheory.Flat.Localization public import Mathlib.RingTheory.Spectrum.Prime.Topology +import Mathlib.RingTheory.Flat.Localization + /-! # Going down diff --git a/Mathlib/RingTheory/Ideal/Height.lean b/Mathlib/RingTheory/Ideal/Height.lean index cee57a2b053f00..28f294a1e07139 100644 --- a/Mathlib/RingTheory/Ideal/Height.lean +++ b/Mathlib/RingTheory/Ideal/Height.lean @@ -5,9 +5,10 @@ Authors: Wanyi He, Jiedong Jiang, Jingting Wang, Andrew Yang, Shouxin Zhang -/ module -import Mathlib.RingTheory.Ideal.MinimalPrime.Noetherian public import Mathlib.RingTheory.Spectrum.Prime.Topology +import Mathlib.RingTheory.Ideal.MinimalPrime.Noetherian + /-! # The Height of an Ideal diff --git a/Mathlib/RingTheory/Ideal/KrullsHeightTheorem.lean b/Mathlib/RingTheory/Ideal/KrullsHeightTheorem.lean index 5e890ad931655c..8252f2d87a3e7e 100644 --- a/Mathlib/RingTheory/Ideal/KrullsHeightTheorem.lean +++ b/Mathlib/RingTheory/Ideal/KrullsHeightTheorem.lean @@ -9,6 +9,7 @@ public import Mathlib.RingTheory.HopkinsLevitzki public import Mathlib.RingTheory.Ideal.GoingDown public import Mathlib.RingTheory.Ideal.Height public import Mathlib.RingTheory.Localization.Submodule + import Mathlib.RingTheory.Nakayama import Mathlib.RingTheory.Ideal.Quotient.Noetherian diff --git a/Mathlib/RingTheory/Ideal/MinimalPrime/Colon.lean b/Mathlib/RingTheory/Ideal/MinimalPrime/Colon.lean index 6ac892c33235b5..5abdb5f9aaaa85 100644 --- a/Mathlib/RingTheory/Ideal/MinimalPrime/Colon.lean +++ b/Mathlib/RingTheory/Ideal/MinimalPrime/Colon.lean @@ -6,8 +6,9 @@ Authors: Thomas Browning module -import Mathlib.RingTheory.Finiteness.Ideal public import Mathlib.RingTheory.Ideal.MinimalPrime.Noetherian + +import Mathlib.RingTheory.Finiteness.Ideal import Mathlib.RingTheory.Noetherian.Basic /-! diff --git a/Mathlib/RingTheory/Ideal/MinimalPrime/Localization.lean b/Mathlib/RingTheory/Ideal/MinimalPrime/Localization.lean index 225f5d3c9b0b12..dfc78b1715993d 100644 --- a/Mathlib/RingTheory/Ideal/MinimalPrime/Localization.lean +++ b/Mathlib/RingTheory/Ideal/MinimalPrime/Localization.lean @@ -6,6 +6,7 @@ Authors: Andrew Yang module public import Mathlib.RingTheory.Localization.AtPrime.Basic + import Mathlib.Algebra.GroupWithZero.Action.Regular /-! diff --git a/Mathlib/RingTheory/Ideal/MonicSpan.lean b/Mathlib/RingTheory/Ideal/MonicSpan.lean index d2c836e471bb5d..b2514871d2f13b 100644 --- a/Mathlib/RingTheory/Ideal/MonicSpan.lean +++ b/Mathlib/RingTheory/Ideal/MonicSpan.lean @@ -5,10 +5,11 @@ Authors: Nailin Guan -/ module +public import Mathlib.RingTheory.Polynomial.Basic + import Mathlib.Algebra.Polynomial.FieldDivision import Mathlib.Algebra.Polynomial.Lifts import Mathlib.RingTheory.Ideal.Quotient.Operations -public import Mathlib.RingTheory.Polynomial.Basic /-! diff --git a/Mathlib/RingTheory/Ideal/Norm/AbsNorm.lean b/Mathlib/RingTheory/Ideal/Norm/AbsNorm.lean index a009415785f619..314f03d4e1e80e 100644 --- a/Mathlib/RingTheory/Ideal/Norm/AbsNorm.lean +++ b/Mathlib/RingTheory/Ideal/Norm/AbsNorm.lean @@ -13,9 +13,10 @@ public import Mathlib.LinearAlgebra.FreeModule.Finite.CardQuotient public import Mathlib.RingTheory.DedekindDomain.Ideal.Lemmas public import Mathlib.RingTheory.Ideal.Basis public import Mathlib.RingTheory.Ideal.Quotient.HasFiniteQuotients.Basic -import Mathlib.RingTheory.Norm.Basic public import Mathlib.RingTheory.UniqueFactorizationDomain.Multiplicative +import Mathlib.RingTheory.Norm.Basic + /-! # Ideal norms diff --git a/Mathlib/RingTheory/Ideal/Norm/RelNorm.lean b/Mathlib/RingTheory/Ideal/Norm/RelNorm.lean index 7c4db761c4de49..8b07483f1ad15f 100644 --- a/Mathlib/RingTheory/Ideal/Norm/RelNorm.lean +++ b/Mathlib/RingTheory/Ideal/Norm/RelNorm.lean @@ -5,9 +5,10 @@ Authors: Anne Baanen, Alex J. Best -/ module -import Mathlib.Algebra.GroupWithZero.Torsion public import Mathlib.NumberTheory.RamificationInertia.Galois public import Mathlib.RingTheory.DedekindDomain.Factorization + +import Mathlib.Algebra.GroupWithZero.Torsion import Mathlib.RingTheory.DedekindDomain.Instances import Mathlib.RingTheory.Ideal.Int import Mathlib.RingTheory.NormalClosure diff --git a/Mathlib/RingTheory/Ideal/Over.lean b/Mathlib/RingTheory/Ideal/Over.lean index 707710b6a1128b..7a7ead8bb04261 100644 --- a/Mathlib/RingTheory/Ideal/Over.lean +++ b/Mathlib/RingTheory/Ideal/Over.lean @@ -5,10 +5,11 @@ Authors: Anne Baanen, Yongle Hu -/ module -import Mathlib.Algebra.Algebra.Tower public import Mathlib.RingTheory.Ideal.Pointwise public import Mathlib.RingTheory.Ideal.Quotient.Operations +import Mathlib.Algebra.Algebra.Tower + /-! # Ideals over/under ideals diff --git a/Mathlib/RingTheory/Ideal/Pure.lean b/Mathlib/RingTheory/Ideal/Pure.lean index aa67823bf46448..14e103798276a9 100644 --- a/Mathlib/RingTheory/Ideal/Pure.lean +++ b/Mathlib/RingTheory/Ideal/Pure.lean @@ -6,11 +6,12 @@ Authors: Christian Merten module public import Mathlib.RingTheory.Flat.Tensor -import Mathlib.RingTheory.Ideal.IdempotentFG -import Mathlib.RingTheory.Idempotents public import Mathlib.RingTheory.Spectrum.Prime.Basic public import Mathlib.RingTheory.LocalProperties.Basic +import Mathlib.RingTheory.Ideal.IdempotentFG +import Mathlib.RingTheory.Idempotents + /-! # Pure ideals diff --git a/Mathlib/RingTheory/Ideal/Quotient/Basic.lean b/Mathlib/RingTheory/Ideal/Quotient/Basic.lean index 1f17d9164458fd..104af7d1064082 100644 --- a/Mathlib/RingTheory/Ideal/Quotient/Basic.lean +++ b/Mathlib/RingTheory/Ideal/Quotient/Basic.lean @@ -6,11 +6,12 @@ Authors: Kenny Lau, Chris Hughes, Mario Carneiro, Anne Baanen module public import Mathlib.GroupTheory.QuotientGroup.Finite -import Mathlib.LinearAlgebra.Quotient.Basic -import Mathlib.RingTheory.Congruence.Basic public import Mathlib.RingTheory.Ideal.Basic public import Mathlib.RingTheory.Ideal.Quotient.Defs +import Mathlib.LinearAlgebra.Quotient.Basic +import Mathlib.RingTheory.Congruence.Basic + /-! # Ideal quotients diff --git a/Mathlib/RingTheory/Ideal/Quotient/ChineseRemainder.lean b/Mathlib/RingTheory/Ideal/Quotient/ChineseRemainder.lean index 4f49708e93d0f8..04dbcbd146b950 100644 --- a/Mathlib/RingTheory/Ideal/Quotient/ChineseRemainder.lean +++ b/Mathlib/RingTheory/Ideal/Quotient/ChineseRemainder.lean @@ -6,9 +6,10 @@ Authors: Junyan Xu module public import Mathlib.LinearAlgebra.TensorProduct.Pi -import Mathlib.LinearAlgebra.TensorProduct.RightExactness public import Mathlib.RingTheory.Ideal.Quotient.Operations +import Mathlib.LinearAlgebra.TensorProduct.RightExactness + /-! # Module version of Chinese remainder theorem -/ diff --git a/Mathlib/RingTheory/Ideal/Quotient/Index.lean b/Mathlib/RingTheory/Ideal/Quotient/Index.lean index 5bcc3ee5eca483..14653235e21921 100644 --- a/Mathlib/RingTheory/Ideal/Quotient/Index.lean +++ b/Mathlib/RingTheory/Ideal/Quotient/Index.lean @@ -5,15 +5,16 @@ Authors: Andrew Yang -/ module +public import Mathlib.GroupTheory.Index +public import Mathlib.RingTheory.Ideal.Quotient.Operations +public import Mathlib.RingTheory.TensorProduct.Finite + import Mathlib.Algebra.Ring.GeomSum import Mathlib.Data.Finsupp.Fintype -public import Mathlib.GroupTheory.Index import Mathlib.LinearAlgebra.DirectSum.Finsupp import Mathlib.LinearAlgebra.TensorProduct.Quotient import Mathlib.LinearAlgebra.TensorProduct.RightExactness import Mathlib.RingTheory.Finiteness.Cardinality -public import Mathlib.RingTheory.Ideal.Quotient.Operations -public import Mathlib.RingTheory.TensorProduct.Finite /-! # Indices of ideals diff --git a/Mathlib/RingTheory/Ideal/UFD.lean b/Mathlib/RingTheory/Ideal/UFD.lean index a6db756f2f6289..2425c1b8db1892 100644 --- a/Mathlib/RingTheory/Ideal/UFD.lean +++ b/Mathlib/RingTheory/Ideal/UFD.lean @@ -5,8 +5,9 @@ Authors: Yongle Hu -/ module -import Mathlib.GroupTheory.MonoidLocalization.UniqueFactorization public import Mathlib.RingTheory.Ideal.KrullsHeightTheorem + +import Mathlib.GroupTheory.MonoidLocalization.UniqueFactorization import Mathlib.RingTheory.Localization.Away.Lemmas import Mathlib.RingTheory.UniqueFactorizationDomain.Kaplansky diff --git a/Mathlib/RingTheory/Idempotents.lean b/Mathlib/RingTheory/Idempotents.lean index a08c96d0c64186..8059ecc23517ef 100644 --- a/Mathlib/RingTheory/Idempotents.lean +++ b/Mathlib/RingTheory/Idempotents.lean @@ -5,9 +5,10 @@ Authors: Andrew Yang -/ module +public import Mathlib.RingTheory.Ideal.Quotient.Operations + import Mathlib.Algebra.BigOperators.Fin import Mathlib.Algebra.Ring.GeomSum -public import Mathlib.RingTheory.Ideal.Quotient.Operations import Mathlib.Tactic.LinearCombination /-! diff --git a/Mathlib/RingTheory/IntegralClosure/GoingDown.lean b/Mathlib/RingTheory/IntegralClosure/GoingDown.lean index 0eb1454a5efc62..6bb84790828e5d 100644 --- a/Mathlib/RingTheory/IntegralClosure/GoingDown.lean +++ b/Mathlib/RingTheory/IntegralClosure/GoingDown.lean @@ -7,6 +7,7 @@ module public import Mathlib.FieldTheory.Minpoly.IsIntegrallyClosed public import Mathlib.RingTheory.Ideal.GoingDown + import Mathlib.RingTheory.IntegralClosure.Algebra.Ideal /-! diff --git a/Mathlib/RingTheory/IntegralClosure/IsIntegral/AlmostIntegral.lean b/Mathlib/RingTheory/IntegralClosure/IsIntegral/AlmostIntegral.lean index eafb43c481d2d0..1497f0a081227a 100644 --- a/Mathlib/RingTheory/IntegralClosure/IsIntegral/AlmostIntegral.lean +++ b/Mathlib/RingTheory/IntegralClosure/IsIntegral/AlmostIntegral.lean @@ -5,10 +5,11 @@ Authors: Andrew Yang -/ module -import Mathlib.FieldTheory.Minpoly.Basic public import Mathlib.RingTheory.IntegralClosure.Algebra.Basic public import Mathlib.RingTheory.Localization.FractionRing +import Mathlib.FieldTheory.Minpoly.Basic + /-! # Almost integral elements -/ @[expose] public section diff --git a/Mathlib/RingTheory/IntegralClosure/IsIntegral/Basic.lean b/Mathlib/RingTheory/IntegralClosure/IsIntegral/Basic.lean index 8b5e132c705a63..883db246da101d 100644 --- a/Mathlib/RingTheory/IntegralClosure/IsIntegral/Basic.lean +++ b/Mathlib/RingTheory/IntegralClosure/IsIntegral/Basic.lean @@ -7,8 +7,9 @@ module public import Mathlib.RingTheory.IntegralClosure.IsIntegral.Defs public import Mathlib.Algebra.Polynomial.Expand -import Mathlib.RingTheory.Adjoin.Polynomial.Basic public import Mathlib.RingTheory.Finiteness.Subalgebra + +import Mathlib.RingTheory.Adjoin.Polynomial.Basic import Mathlib.RingTheory.Polynomial.Tower /-! diff --git a/Mathlib/RingTheory/IntegralDomain.lean b/Mathlib/RingTheory/IntegralDomain.lean index d8dc6171fcd377..dd8ac7b46abda0 100644 --- a/Mathlib/RingTheory/IntegralDomain.lean +++ b/Mathlib/RingTheory/IntegralDomain.lean @@ -6,9 +6,10 @@ Authors: Johan Commelin, Chris Hughes module public import Mathlib.Algebra.Polynomial.Roots -import Mathlib.Algebra.Ring.GeomSum public import Mathlib.Data.Fintype.Inv public import Mathlib.GroupTheory.SpecificGroups.Cyclic + +import Mathlib.Algebra.Ring.GeomSum import Mathlib.Tactic.FieldSimp /-! diff --git a/Mathlib/RingTheory/Invariant/Profinite.lean b/Mathlib/RingTheory/Invariant/Profinite.lean index 4812927205e134..23c342a7118a52 100644 --- a/Mathlib/RingTheory/Invariant/Profinite.lean +++ b/Mathlib/RingTheory/Invariant/Profinite.lean @@ -7,6 +7,7 @@ module public import Mathlib.RingTheory.Invariant.Basic public import Mathlib.Topology.Algebra.Category.ProfiniteGrp.Limits + import Mathlib.CategoryTheory.CofilteredSystem /-! diff --git a/Mathlib/RingTheory/IsAdjoinRoot.lean b/Mathlib/RingTheory/IsAdjoinRoot.lean index 7eb75653533263..95e0b1984eab62 100644 --- a/Mathlib/RingTheory/IsAdjoinRoot.lean +++ b/Mathlib/RingTheory/IsAdjoinRoot.lean @@ -5,9 +5,10 @@ Authors: Anne Baanen -/ module -import Mathlib.FieldTheory.Minpoly.Finite public import Mathlib.FieldTheory.Minpoly.IsIntegrallyClosed +import Mathlib.FieldTheory.Minpoly.Finite + /-! # A predicate on adjoining roots of polynomial diff --git a/Mathlib/RingTheory/IsPrimary.lean b/Mathlib/RingTheory/IsPrimary.lean index d666105dfe3977..c8ccc3407fc471 100644 --- a/Mathlib/RingTheory/IsPrimary.lean +++ b/Mathlib/RingTheory/IsPrimary.lean @@ -5,9 +5,10 @@ Authors: Yakov Pechersky -/ module -import Mathlib.LinearAlgebra.Quotient.Basic public import Mathlib.RingTheory.Ideal.Colon +import Mathlib.LinearAlgebra.Quotient.Basic + /-! # Primary submodules diff --git a/Mathlib/RingTheory/Jacobson/Radical.lean b/Mathlib/RingTheory/Jacobson/Radical.lean index 0b9a5cfbc18a34..e8e36406ff7dcd 100644 --- a/Mathlib/RingTheory/Jacobson/Radical.lean +++ b/Mathlib/RingTheory/Jacobson/Radical.lean @@ -5,11 +5,12 @@ Authors: Junyan Xu -/ module -import Mathlib.LinearAlgebra.Quotient.Basic public import Mathlib.RingTheory.Finiteness.Basic public import Mathlib.RingTheory.Ideal.Maps public import Mathlib.RingTheory.Ideal.Quotient.Defs +import Mathlib.LinearAlgebra.Quotient.Basic + /-! # Jacobson radical of modules and rings diff --git a/Mathlib/RingTheory/KrullDimension/LocalRing.lean b/Mathlib/RingTheory/KrullDimension/LocalRing.lean index c039b600ba99db..7425a958a4b005 100644 --- a/Mathlib/RingTheory/KrullDimension/LocalRing.lean +++ b/Mathlib/RingTheory/KrullDimension/LocalRing.lean @@ -5,9 +5,10 @@ Authors: Jingting Wang -/ module -import Mathlib.RingTheory.KrullDimension.Field public import Mathlib.RingTheory.KrullDimension.Zero +import Mathlib.RingTheory.KrullDimension.Field + /-! # The Krull dimension of a local ring diff --git a/Mathlib/RingTheory/KrullDimension/NonZeroDivisors.lean b/Mathlib/RingTheory/KrullDimension/NonZeroDivisors.lean index 45e8dd5a1cd81e..bbf3c8be599df2 100644 --- a/Mathlib/RingTheory/KrullDimension/NonZeroDivisors.lean +++ b/Mathlib/RingTheory/KrullDimension/NonZeroDivisors.lean @@ -5,10 +5,11 @@ Authors: Andrew Yang -/ module -import Mathlib.RingTheory.Ideal.MinimalPrime.Localization public import Mathlib.RingTheory.KrullDimension.Basic -import Mathlib.RingTheory.MvPowerSeries.NoZeroDivisors public import Mathlib.RingTheory.PowerSeries.Basic + +import Mathlib.RingTheory.Ideal.MinimalPrime.Localization +import Mathlib.RingTheory.MvPowerSeries.NoZeroDivisors import Mathlib.RingTheory.Spectrum.Prime.RingHom /-! diff --git a/Mathlib/RingTheory/KrullDimension/PID.lean b/Mathlib/RingTheory/KrullDimension/PID.lean index 4f02fd0d8181b3..fb07a5f2d25236 100644 --- a/Mathlib/RingTheory/KrullDimension/PID.lean +++ b/Mathlib/RingTheory/KrullDimension/PID.lean @@ -6,6 +6,7 @@ Authors: Jingting Wang module public import Mathlib.RingTheory.Ideal.Height + import Mathlib.RingTheory.KrullDimension.Zero /-! diff --git a/Mathlib/RingTheory/KrullDimension/Polynomial.lean b/Mathlib/RingTheory/KrullDimension/Polynomial.lean index c25b333edc4238..49a764dbcf3c94 100644 --- a/Mathlib/RingTheory/KrullDimension/Polynomial.lean +++ b/Mathlib/RingTheory/KrullDimension/Polynomial.lean @@ -6,6 +6,7 @@ Authors: Jingting Wang, Sihan Su, Yi Song, Christian Merten module public import Mathlib.RingTheory.KrullDimension.PID + import Mathlib.RingTheory.LocalRing.ResidueField.Fiber import Mathlib.RingTheory.Ideal.KrullsHeightTheorem import Mathlib.RingTheory.KrullDimension.NonZeroDivisors diff --git a/Mathlib/RingTheory/KrullDimension/Regular.lean b/Mathlib/RingTheory/KrullDimension/Regular.lean index 960caa90ea7703..63aa3299e8d0ca 100644 --- a/Mathlib/RingTheory/KrullDimension/Regular.lean +++ b/Mathlib/RingTheory/KrullDimension/Regular.lean @@ -5,11 +5,12 @@ Authors: Nailin Guan, Yongle Hu -/ module -import Mathlib.RingTheory.Flat.TorsionFree public import Mathlib.RingTheory.KrullDimension.Module public import Mathlib.RingTheory.Regular.RegularSequence public import Mathlib.RingTheory.Spectrum.Prime.LTSeries +import Mathlib.RingTheory.Flat.TorsionFree + /-! # Krull Dimension of quotient regular sequence diff --git a/Mathlib/RingTheory/LaurentSeries.lean b/Mathlib/RingTheory/LaurentSeries.lean index 0b8064a1de2f52..f1d88c5247c7dd 100644 --- a/Mathlib/RingTheory/LaurentSeries.lean +++ b/Mathlib/RingTheory/LaurentSeries.lean @@ -11,6 +11,7 @@ public import Mathlib.RingTheory.Binomial public import Mathlib.RingTheory.HahnSeries.PowerSeries public import Mathlib.RingTheory.HahnSeries.Summable public import Mathlib.RingTheory.PowerSeries.Inverse + import Mathlib.RingTheory.PowerSeries.Trunc diff --git a/Mathlib/RingTheory/Length.lean b/Mathlib/RingTheory/Length.lean index 838820391160d9..f04e6edb33173e 100644 --- a/Mathlib/RingTheory/Length.lean +++ b/Mathlib/RingTheory/Length.lean @@ -5,10 +5,11 @@ Authors: Andrew Yang -/ module -import Mathlib.LinearAlgebra.Basis.VectorSpace public import Mathlib.RingTheory.FiniteLength public import Mathlib.LinearAlgebra.Dimension.Free +import Mathlib.LinearAlgebra.Basis.VectorSpace + /-! # Length of modules diff --git a/Mathlib/RingTheory/LinearDisjoint.lean b/Mathlib/RingTheory/LinearDisjoint.lean index fbc2466eb0e069..c4fec97433a931 100644 --- a/Mathlib/RingTheory/LinearDisjoint.lean +++ b/Mathlib/RingTheory/LinearDisjoint.lean @@ -6,18 +6,19 @@ Authors: Jz Pan module public import Mathlib.Algebra.Algebra.Subalgebra.MulOpposite -import Mathlib.Algebra.Algebra.Subalgebra.Rank -import Mathlib.Algebra.Polynomial.Basis public import Mathlib.LinearAlgebra.LinearDisjoint public import Mathlib.LinearAlgebra.TensorProduct.Subalgebra -import Mathlib.RingTheory.Adjoin.Dimension public import Mathlib.RingTheory.Algebraic.Basic public import Mathlib.RingTheory.IntegralClosure.Algebra.Defs -import Mathlib.RingTheory.IntegralClosure.IsIntegral.Basic public import Mathlib.RingTheory.Norm.Defs public import Mathlib.RingTheory.TensorProduct.Nontrivial public import Mathlib.RingTheory.Trace.Defs +import Mathlib.Algebra.Algebra.Subalgebra.Rank +import Mathlib.Algebra.Polynomial.Basis +import Mathlib.RingTheory.Adjoin.Dimension +import Mathlib.RingTheory.IntegralClosure.IsIntegral.Basic + /-! # Linearly disjoint subalgebras diff --git a/Mathlib/RingTheory/LocalIso.lean b/Mathlib/RingTheory/LocalIso.lean index ffa1d2af77f19a..801409cdb39088 100644 --- a/Mathlib/RingTheory/LocalIso.lean +++ b/Mathlib/RingTheory/LocalIso.lean @@ -6,6 +6,7 @@ Authors: Jiedong Jiang, Christian Merten module public import Mathlib.RingTheory.RingHom.OpenImmersion + import Mathlib.RingTheory.Spectrum.Prime.Topology /-! diff --git a/Mathlib/RingTheory/LocalProperties/Basic.lean b/Mathlib/RingTheory/LocalProperties/Basic.lean index 33c1a5f54febe9..d13c00586a4975 100644 --- a/Mathlib/RingTheory/LocalProperties/Basic.lean +++ b/Mathlib/RingTheory/LocalProperties/Basic.lean @@ -5,11 +5,12 @@ Authors: Andrew Yang -/ module -import Mathlib.RingTheory.Localization.LocalizationLocalization public import Mathlib.RingTheory.Localization.Submodule public import Mathlib.RingTheory.LocalProperties.Submodule public import Mathlib.RingTheory.RingHomProperties +import Mathlib.RingTheory.Localization.LocalizationLocalization + /-! # Local properties of commutative rings diff --git a/Mathlib/RingTheory/LocalProperties/Exactness.lean b/Mathlib/RingTheory/LocalProperties/Exactness.lean index 49dadd225368b3..6ab67f3d7815d6 100644 --- a/Mathlib/RingTheory/LocalProperties/Exactness.lean +++ b/Mathlib/RingTheory/LocalProperties/Exactness.lean @@ -7,9 +7,10 @@ module public import Mathlib.Algebra.Exact.Basic public import Mathlib.RingTheory.LocalProperties.Submodule -import Mathlib.RingTheory.Localization.Algebra public import Mathlib.Algebra.Module.LocalizedModule.AtPrime +import Mathlib.RingTheory.Localization.Algebra + /-! # Local properties about linear maps diff --git a/Mathlib/RingTheory/LocalProperties/FinitePresentation.lean b/Mathlib/RingTheory/LocalProperties/FinitePresentation.lean index efec78fc09c173..295ed9d320b890 100644 --- a/Mathlib/RingTheory/LocalProperties/FinitePresentation.lean +++ b/Mathlib/RingTheory/LocalProperties/FinitePresentation.lean @@ -6,6 +6,7 @@ Authors: Sihan Su, Yongle Hu, Yi Song module public import Mathlib.Algebra.Module.FinitePresentation + import Mathlib.RingTheory.Localization.Finiteness /-! diff --git a/Mathlib/RingTheory/LocalProperties/Injective.lean b/Mathlib/RingTheory/LocalProperties/Injective.lean index 08fd3bd2c03eca..b0490555d975a4 100644 --- a/Mathlib/RingTheory/LocalProperties/Injective.lean +++ b/Mathlib/RingTheory/LocalProperties/Injective.lean @@ -5,9 +5,10 @@ Authors: Nailin Guan -/ module -import Mathlib.Algebra.Module.FinitePresentation public import Mathlib.Algebra.Module.Injective public import Mathlib.RingTheory.LocalProperties.Basic + +import Mathlib.Algebra.Module.FinitePresentation import Mathlib.RingTheory.LocalProperties.Exactness /-! diff --git a/Mathlib/RingTheory/LocalProperties/InjectiveDimension.lean b/Mathlib/RingTheory/LocalProperties/InjectiveDimension.lean index b2557171a17c00..0cac3c7ec67fb8 100644 --- a/Mathlib/RingTheory/LocalProperties/InjectiveDimension.lean +++ b/Mathlib/RingTheory/LocalProperties/InjectiveDimension.lean @@ -5,13 +5,14 @@ Authors: Nailin Guan -/ module -import Mathlib.Algebra.Category.ModuleCat.EnoughInjectives public import Mathlib.Algebra.Category.ModuleCat.Localization -import Mathlib.Algebra.Module.LocalizedModule.Exact public import Mathlib.CategoryTheory.Abelian.Injective.Dimension public import Mathlib.CategoryTheory.Preadditive.Injective.Preserves public import Mathlib.RingTheory.LocalProperties.Injective +import Mathlib.Algebra.Category.ModuleCat.EnoughInjectives +import Mathlib.Algebra.Module.LocalizedModule.Exact + /-! # Relation of Injective Dimension with Localizations diff --git a/Mathlib/RingTheory/LocalProperties/Projective.lean b/Mathlib/RingTheory/LocalProperties/Projective.lean index 1f06ad8724c39b..44263b064096ac 100644 --- a/Mathlib/RingTheory/LocalProperties/Projective.lean +++ b/Mathlib/RingTheory/LocalProperties/Projective.lean @@ -7,9 +7,10 @@ module public import Mathlib.Algebra.Module.FinitePresentation public import Mathlib.LinearAlgebra.Dimension.Constructions -import Mathlib.LinearAlgebra.FreeModule.StrongRankCondition public import Mathlib.RingTheory.LocalProperties.Submodule +import Mathlib.LinearAlgebra.FreeModule.StrongRankCondition + /-! # Being projective is a local property diff --git a/Mathlib/RingTheory/LocalProperties/ProjectiveDimension.lean b/Mathlib/RingTheory/LocalProperties/ProjectiveDimension.lean index ba969a1fa234fc..94b42b2fbe5649 100644 --- a/Mathlib/RingTheory/LocalProperties/ProjectiveDimension.lean +++ b/Mathlib/RingTheory/LocalProperties/ProjectiveDimension.lean @@ -6,11 +6,12 @@ Authors: Nailin Guan module public import Mathlib.Algebra.Category.ModuleCat.Localization -import Mathlib.Algebra.Category.ModuleCat.Projective public import Mathlib.CategoryTheory.Abelian.Projective.Dimension public import Mathlib.CategoryTheory.Preadditive.Projective.Preserves public import Mathlib.RingTheory.LocalProperties.Projective +import Mathlib.Algebra.Category.ModuleCat.Projective + /-! # The Projective Dimension Equal to Supremum over Localizations diff --git a/Mathlib/RingTheory/LocalProperties/Semilocal.lean b/Mathlib/RingTheory/LocalProperties/Semilocal.lean index ea9d2d836743b4..5ffe1040d35830 100644 --- a/Mathlib/RingTheory/LocalProperties/Semilocal.lean +++ b/Mathlib/RingTheory/LocalProperties/Semilocal.lean @@ -5,9 +5,10 @@ Authors: Yiming Fu -/ module -import Mathlib.RingTheory.DedekindDomain.PID public import Mathlib.RingTheory.KrullDimension.PID +import Mathlib.RingTheory.DedekindDomain.PID + /-! # Local properties for semilocal rings diff --git a/Mathlib/RingTheory/LocalRing/Etale.lean b/Mathlib/RingTheory/LocalRing/Etale.lean index 5690a7e4c86ec7..59f117b74bddd4 100644 --- a/Mathlib/RingTheory/LocalRing/Etale.lean +++ b/Mathlib/RingTheory/LocalRing/Etale.lean @@ -6,10 +6,11 @@ Authors: Bianca Viray, Bryan Boehnke, Grant Yang, George Peykanu, Tianshuo Wang module +public import Mathlib.RingTheory.Unramified.LocalRing + import Mathlib.RingTheory.IsAdjoinRoot import Mathlib.RingTheory.LocalRing.Quotient import Mathlib.RingTheory.Smooth.Flat -public import Mathlib.RingTheory.Unramified.LocalRing /-! # Étale extensions of local rings diff --git a/Mathlib/RingTheory/LocalRing/MaximalIdeal/Square.lean b/Mathlib/RingTheory/LocalRing/MaximalIdeal/Square.lean index fbfc476bef8f64..ab8e38e2fff4b3 100644 --- a/Mathlib/RingTheory/LocalRing/MaximalIdeal/Square.lean +++ b/Mathlib/RingTheory/LocalRing/MaximalIdeal/Square.lean @@ -7,6 +7,7 @@ module public import Mathlib.RingTheory.KrullDimension.Field public import Mathlib.RingTheory.LocalRing.MaximalIdeal.Basic + import Mathlib.RingTheory.Nakayama /-! diff --git a/Mathlib/RingTheory/LocalRing/NonLocalRing.lean b/Mathlib/RingTheory/LocalRing/NonLocalRing.lean index 949c66fa088605..8955ca9f2db848 100644 --- a/Mathlib/RingTheory/LocalRing/NonLocalRing.lean +++ b/Mathlib/RingTheory/LocalRing/NonLocalRing.lean @@ -6,6 +6,7 @@ Authors: Michal Staromiejski module public import Mathlib.RingTheory.LocalRing.MaximalIdeal.Basic + import Mathlib.RingTheory.Spectrum.Maximal.Basic /-! diff --git a/Mathlib/RingTheory/LocalRing/Pullback.lean b/Mathlib/RingTheory/LocalRing/Pullback.lean index 6781df6f3d1ac6..36e48f6f1f90b2 100644 --- a/Mathlib/RingTheory/LocalRing/Pullback.lean +++ b/Mathlib/RingTheory/LocalRing/Pullback.lean @@ -6,14 +6,14 @@ Authors: Bingyu Xia module - -import Mathlib.Algebra.Ring.Subring.Units -import Mathlib.RingTheory.LocalRing.RingHom.Basic public import Mathlib.Algebra.Algebra.Prod public import Mathlib.Algebra.Algebra.Subalgebra.Basic public import Mathlib.RingTheory.Ideal.Maps public import Mathlib.RingTheory.LocalRing.Defs +import Mathlib.Algebra.Ring.Subring.Units +import Mathlib.RingTheory.LocalRing.RingHom.Basic + /-! # Local Ring Properties of Equalizers and Pullbacks diff --git a/Mathlib/RingTheory/LocalRing/Quotient.lean b/Mathlib/RingTheory/LocalRing/Quotient.lean index 37d9788177d7f7..ca429a000ba88b 100644 --- a/Mathlib/RingTheory/LocalRing/Quotient.lean +++ b/Mathlib/RingTheory/LocalRing/Quotient.lean @@ -11,6 +11,7 @@ public import Mathlib.LinearAlgebra.FreeModule.StrongRankCondition public import Mathlib.RingTheory.Artinian.Ring public import Mathlib.RingTheory.Ideal.Quotient.Index public import Mathlib.RingTheory.LocalRing.ResidueField.Defs + import Mathlib.RingTheory.LocalRing.RingHom.Basic import Mathlib.RingTheory.Nakayama diff --git a/Mathlib/RingTheory/LocalRing/ResidueField/Separable.lean b/Mathlib/RingTheory/LocalRing/ResidueField/Separable.lean index 29c65970359483..186b8569c11814 100644 --- a/Mathlib/RingTheory/LocalRing/ResidueField/Separable.lean +++ b/Mathlib/RingTheory/LocalRing/ResidueField/Separable.lean @@ -6,9 +6,10 @@ Authors: Xavier Roblot module public import Mathlib.FieldTheory.Perfect -import Mathlib.RingTheory.Ideal.GoingUp public import Mathlib.RingTheory.LocalRing.ResidueField.Instances +import Mathlib.RingTheory.Ideal.GoingUp + /-! # Separable residue field extensions diff --git a/Mathlib/RingTheory/Localization/AtPrime/Extension.lean b/Mathlib/RingTheory/Localization/AtPrime/Extension.lean index 4e27b9e66bfa6d..c49fb36da0b956 100644 --- a/Mathlib/RingTheory/Localization/AtPrime/Extension.lean +++ b/Mathlib/RingTheory/Localization/AtPrime/Extension.lean @@ -5,10 +5,11 @@ Authors: Xavier Roblot -/ module -import Mathlib.Algebra.Order.BigOperators.Ring.Finset public import Mathlib.RingTheory.RamificationInertia.Inertia public import Mathlib.RingTheory.RamificationInertia.Ramification +import Mathlib.Algebra.Order.BigOperators.Ring.Finset + /-! # Primes in an extension of localization at prime diff --git a/Mathlib/RingTheory/Localization/Basic.lean b/Mathlib/RingTheory/Localization/Basic.lean index e9ad47284a6179..4d65d54983201a 100644 --- a/Mathlib/RingTheory/Localization/Basic.lean +++ b/Mathlib/RingTheory/Localization/Basic.lean @@ -7,9 +7,10 @@ module public import Mathlib.Algebra.Algebra.Tower public import Mathlib.Algebra.Field.IsField -import Mathlib.Basic.Finite.Prod public import Mathlib.RingTheory.Localization.Defs +import Mathlib.Basic.Finite.Prod + /-! # Localizations of commutative rings diff --git a/Mathlib/RingTheory/Localization/Cardinality.lean b/Mathlib/RingTheory/Localization/Cardinality.lean index a7c61000870a19..400fec8669fb06 100644 --- a/Mathlib/RingTheory/Localization/Cardinality.lean +++ b/Mathlib/RingTheory/Localization/Cardinality.lean @@ -6,9 +6,10 @@ Authors: Eric Rodriguez module public import Mathlib.RingTheory.Localization.FractionRing -import Mathlib.GroupTheory.MonoidLocalization.Cardinality public import Mathlib.RingTheory.OreLocalization.Cardinality +import Mathlib.GroupTheory.MonoidLocalization.Cardinality + /-! # Cardinality of localizations diff --git a/Mathlib/RingTheory/Localization/Free.lean b/Mathlib/RingTheory/Localization/Free.lean index 6fa33cc727da3e..ec725f38f73a5f 100644 --- a/Mathlib/RingTheory/Localization/Free.lean +++ b/Mathlib/RingTheory/Localization/Free.lean @@ -6,9 +6,10 @@ Authors: Andrew Yang module public import Mathlib.Algebra.Module.FinitePresentation +public import Mathlib.LinearAlgebra.Dimension.StrongRankCondition + import Mathlib.RingTheory.Localization.Finiteness import Mathlib.LinearAlgebra.FreeModule.StrongRankCondition -public import Mathlib.LinearAlgebra.Dimension.StrongRankCondition /-! # Free modules and localization diff --git a/Mathlib/RingTheory/Localization/Pi.lean b/Mathlib/RingTheory/Localization/Pi.lean index 5e4e10bedb9019..151b4534df0285 100644 --- a/Mathlib/RingTheory/Localization/Pi.lean +++ b/Mathlib/RingTheory/Localization/Pi.lean @@ -5,9 +5,10 @@ Authors: Madison Crim -/ module +public import Mathlib.RingTheory.KrullDimension.Zero + import Mathlib.Algebra.Divisibility.Prod import Mathlib.Algebra.Group.Pi.Units -public import Mathlib.RingTheory.KrullDimension.Zero /-! # Localizing a product of commutative rings diff --git a/Mathlib/RingTheory/Morita/Basic.lean b/Mathlib/RingTheory/Morita/Basic.lean index 4f330bf204afcd..21c1f6cb378743 100644 --- a/Mathlib/RingTheory/Morita/Basic.lean +++ b/Mathlib/RingTheory/Morita/Basic.lean @@ -6,6 +6,7 @@ Authors: Jujian Zhang, Yunzhou Xie module public import Mathlib.Algebra.Category.ModuleCat.ChangeOfRings + import Mathlib.CategoryTheory.Adjunction.Limits /-! diff --git a/Mathlib/RingTheory/MvPolynomial/Ideal.lean b/Mathlib/RingTheory/MvPolynomial/Ideal.lean index f25dea87a61481..9c455d4c9d3b0a 100644 --- a/Mathlib/RingTheory/MvPolynomial/Ideal.lean +++ b/Mathlib/RingTheory/MvPolynomial/Ideal.lean @@ -5,10 +5,11 @@ Authors: Eric Wieser -/ module -import Mathlib.Algebra.MonoidAlgebra.Ideal -import Mathlib.Algebra.MvPolynomial.Division public import Mathlib.RingTheory.Ideal.Quotient.Operations public import Mathlib.RingTheory.MvPolynomial.MonomialOrder + +import Mathlib.Algebra.MonoidAlgebra.Ideal +import Mathlib.Algebra.MvPolynomial.Division import Mathlib.Algebra.Order.Group.Pointwise.Interval /-! diff --git a/Mathlib/RingTheory/MvPolynomial/IrreducibleQuadratic.lean b/Mathlib/RingTheory/MvPolynomial/IrreducibleQuadratic.lean index f84bd5044e8222..4a55f515dd8848 100644 --- a/Mathlib/RingTheory/MvPolynomial/IrreducibleQuadratic.lean +++ b/Mathlib/RingTheory/MvPolynomial/IrreducibleQuadratic.lean @@ -6,6 +6,7 @@ Authors: Antoine Chambert-Loir, Johan Commelin, Andrew Yang module public import Mathlib.Algebra.MvPolynomial.NoZeroDivisors + import Mathlib.Algebra.MvPolynomial.Nilpotent /-! diff --git a/Mathlib/RingTheory/MvPolynomial/Symmetric/FundamentalTheorem.lean b/Mathlib/RingTheory/MvPolynomial/Symmetric/FundamentalTheorem.lean index cff85471c442cd..12ca23ce756a1d 100644 --- a/Mathlib/RingTheory/MvPolynomial/Symmetric/FundamentalTheorem.lean +++ b/Mathlib/RingTheory/MvPolynomial/Symmetric/FundamentalTheorem.lean @@ -6,10 +6,11 @@ Authors: Junyan Xu module public import Mathlib.RingTheory.MvPolynomial.Symmetric.Defs +public import Mathlib.Algebra.MvPolynomial.Variables + import Mathlib.RingTheory.MvPolynomial.Tower import Mathlib.Data.Finsupp.Notation import Mathlib.Data.Finsupp.WellFounded -public import Mathlib.Algebra.MvPolynomial.Variables /-! # The Fundamental Theorem of Symmetric Polynomials diff --git a/Mathlib/RingTheory/MvPolynomial/Tower.lean b/Mathlib/RingTheory/MvPolynomial/Tower.lean index 56f41fe05276c4..e65754b584f803 100644 --- a/Mathlib/RingTheory/MvPolynomial/Tower.lean +++ b/Mathlib/RingTheory/MvPolynomial/Tower.lean @@ -5,9 +5,10 @@ Authors: Yuyang Zhao -/ module -import Mathlib.Algebra.Algebra.Subalgebra.Tower public import Mathlib.Algebra.MvPolynomial.Eval +import Mathlib.Algebra.Algebra.Subalgebra.Tower + /-! # Algebra towers for multivariate polynomial diff --git a/Mathlib/RingTheory/MvPowerSeries/Equiv.lean b/Mathlib/RingTheory/MvPowerSeries/Equiv.lean index 66018891a9597e..29a3a9340ea5d9 100644 --- a/Mathlib/RingTheory/MvPowerSeries/Equiv.lean +++ b/Mathlib/RingTheory/MvPowerSeries/Equiv.lean @@ -9,9 +9,9 @@ public import Mathlib.RingTheory.AdicCompletion.Algebra public import Mathlib.RingTheory.MvPolynomial.Ideal public import Mathlib.RingTheory.MvPowerSeries.Rename public import Mathlib.RingTheory.PowerSeries.Substitution +public import Mathlib.Tactic.ContinuousFunctionalCalculus import Mathlib.RingTheory.PowerSeries.Ideal -public import Mathlib.Tactic.ContinuousFunctionalCalculus /-! # Equivalences related to power series rings diff --git a/Mathlib/RingTheory/MvPowerSeries/Evaluation.lean b/Mathlib/RingTheory/MvPowerSeries/Evaluation.lean index 4c303ba8891e89..0992c1371d973c 100644 --- a/Mathlib/RingTheory/MvPowerSeries/Evaluation.lean +++ b/Mathlib/RingTheory/MvPowerSeries/Evaluation.lean @@ -5,11 +5,12 @@ Authors: Antoine Chambert-Loir, María Inés de Frutos-Fernández -/ module -import Mathlib.RingTheory.Ideal.BigOperators public import Mathlib.RingTheory.MvPowerSeries.PiTopology public import Mathlib.Topology.Algebra.Algebra public import Mathlib.Topology.Algebra.UniformRing +import Mathlib.RingTheory.Ideal.BigOperators + /-! # Evaluation of multivariate power series Let `σ`, `R`, `S` be types, with `CommRing R`, `CommRing S`. diff --git a/Mathlib/RingTheory/MvPowerSeries/GaussNorm.lean b/Mathlib/RingTheory/MvPowerSeries/GaussNorm.lean index 731409e0f32591..bb6fe6f2d01c48 100644 --- a/Mathlib/RingTheory/MvPowerSeries/GaussNorm.lean +++ b/Mathlib/RingTheory/MvPowerSeries/GaussNorm.lean @@ -6,9 +6,10 @@ Authors: William Coram module public import Mathlib.RingTheory.MvPowerSeries.Basic -import Mathlib.Algebra.Order.Ring.IsNonarchimedean public import Mathlib.Analysis.Normed.Group.Basic +import Mathlib.Algebra.Order.Ring.IsNonarchimedean + /-! # Gauss norm for multivariate power series diff --git a/Mathlib/RingTheory/MvPowerSeries/Ideal.lean b/Mathlib/RingTheory/MvPowerSeries/Ideal.lean index ba32df5a8042d7..b8b8fbf0055f5c 100644 --- a/Mathlib/RingTheory/MvPowerSeries/Ideal.lean +++ b/Mathlib/RingTheory/MvPowerSeries/Ideal.lean @@ -8,6 +8,7 @@ module public import Mathlib.RingTheory.MvPowerSeries.Basic public import Mathlib.RingTheory.Ideal.Maps public import Mathlib.RingTheory.Finiteness.Defs + import Mathlib.RingTheory.Ideal.BigOperators diff --git a/Mathlib/RingTheory/MvPowerSeries/LinearTopology.lean b/Mathlib/RingTheory/MvPowerSeries/LinearTopology.lean index effd8d49ed75a5..fb87046e853382 100644 --- a/Mathlib/RingTheory/MvPowerSeries/LinearTopology.lean +++ b/Mathlib/RingTheory/MvPowerSeries/LinearTopology.lean @@ -5,9 +5,10 @@ Authors: Antoine Chambert-Loir, María Inés de Frutos-Fernández -/ module -import Mathlib.RingTheory.Ideal.Quotient.Defs public import Mathlib.RingTheory.MvPowerSeries.PiTopology +import Mathlib.RingTheory.Ideal.Quotient.Defs + /-! # Linear topology on the ring of multivariate power series - `MvPowerSeries.LinearTopology.basis`: the ideals of the ring of multivariate power series diff --git a/Mathlib/RingTheory/MvPowerSeries/NoZeroDivisors.lean b/Mathlib/RingTheory/MvPowerSeries/NoZeroDivisors.lean index c056c02ddd80ad..e781fbcdaf0b40 100644 --- a/Mathlib/RingTheory/MvPowerSeries/NoZeroDivisors.lean +++ b/Mathlib/RingTheory/MvPowerSeries/NoZeroDivisors.lean @@ -5,9 +5,10 @@ Authors: Antoine Chambert-Loir -/ module +public import Mathlib.RingTheory.MvPowerSeries.Order + import Mathlib.Data.Finsupp.WellFounded import Mathlib.RingTheory.MvPowerSeries.LexOrder -public import Mathlib.RingTheory.MvPowerSeries.Order /-! # ZeroDivisors in a MvPowerSeries ring diff --git a/Mathlib/RingTheory/MvPowerSeries/Restricted.lean b/Mathlib/RingTheory/MvPowerSeries/Restricted.lean index 717493b09ab9f8..5f163d8f48f870 100644 --- a/Mathlib/RingTheory/MvPowerSeries/Restricted.lean +++ b/Mathlib/RingTheory/MvPowerSeries/Restricted.lean @@ -5,12 +5,13 @@ Authors: William Coram -/ module -import Mathlib.Algebra.Order.Antidiag.Tendsto -import Mathlib.Algebra.Order.GroupWithZero.Finset public import Mathlib.Analysis.Normed.Field.Basic public import Mathlib.Analysis.Normed.Group.Ultra public import Mathlib.RingTheory.MvPowerSeries.Basic +import Mathlib.Algebra.Order.Antidiag.Tendsto +import Mathlib.Algebra.Order.GroupWithZero.Finset + /-! # Multivariate restricted power series diff --git a/Mathlib/RingTheory/Nilpotent/Defs.lean b/Mathlib/RingTheory/Nilpotent/Defs.lean index 05a99597917a68..d537a7b8bfcfe3 100644 --- a/Mathlib/RingTheory/Nilpotent/Defs.lean +++ b/Mathlib/RingTheory/Nilpotent/Defs.lean @@ -6,10 +6,11 @@ Authors: Oliver Nash module public import Mathlib.Algebra.GroupWithZero.Hom -import Mathlib.Algebra.GroupWithZero.Units.Basic public import Mathlib.Algebra.Ring.Defs public import Mathlib.Order.Lattice.Nat +import Mathlib.Algebra.GroupWithZero.Units.Basic + /-! # Definition of nilpotent elements diff --git a/Mathlib/RingTheory/Nilpotent/Exp.lean b/Mathlib/RingTheory/Nilpotent/Exp.lean index d5a40e2ee81ba0..86c5394338a24e 100644 --- a/Mathlib/RingTheory/Nilpotent/Exp.lean +++ b/Mathlib/RingTheory/Nilpotent/Exp.lean @@ -5,10 +5,11 @@ Authors: Janos Wolosz -/ module -import Mathlib.Algebra.Module.BigOperators -import Mathlib.Data.Nat.Cast.Field public import Mathlib.RingTheory.Nilpotent.Basic public import Mathlib.RingTheory.TensorProduct.Maps + +import Mathlib.Algebra.Module.BigOperators +import Mathlib.Data.Nat.Cast.Field import Mathlib.Tactic.FieldSimp /-! diff --git a/Mathlib/RingTheory/Nilpotent/GeometricallyReduced.lean b/Mathlib/RingTheory/Nilpotent/GeometricallyReduced.lean index e167858dcacd1a..86ef9c91ce2934 100644 --- a/Mathlib/RingTheory/Nilpotent/GeometricallyReduced.lean +++ b/Mathlib/RingTheory/Nilpotent/GeometricallyReduced.lean @@ -6,9 +6,10 @@ Authors: Dion Leijnse module public import Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure -import Mathlib.RingTheory.Flat.Basic public import Mathlib.RingTheory.LocalRing.ResidueField.Ideal +import Mathlib.RingTheory.Flat.Basic + /-! # Geometrically reduced algebras diff --git a/Mathlib/RingTheory/NoetherNormalization.lean b/Mathlib/RingTheory/NoetherNormalization.lean index 3b8d6e42243a8e..4f6a73adbdaa58 100644 --- a/Mathlib/RingTheory/NoetherNormalization.lean +++ b/Mathlib/RingTheory/NoetherNormalization.lean @@ -5,9 +5,10 @@ Authors: Riccardo Brasca, Sihan Su, Wan Lin, Xiaoyang Su -/ module +public import Mathlib.RingTheory.IntegralClosure.IsIntegralClosure.Basic + import Mathlib.Algebra.MvPolynomial.Monad import Mathlib.Data.List.Indexes -public import Mathlib.RingTheory.IntegralClosure.IsIntegralClosure.Basic /-! # Noether normalization lemma diff --git a/Mathlib/RingTheory/OrderOfVanishing/Basic.lean b/Mathlib/RingTheory/OrderOfVanishing/Basic.lean index b8426f1fac05c7..e370c257c5e267 100644 --- a/Mathlib/RingTheory/OrderOfVanishing/Basic.lean +++ b/Mathlib/RingTheory/OrderOfVanishing/Basic.lean @@ -5,9 +5,10 @@ Authors: Raphael Douglas Giles -/ module -import Mathlib.RingTheory.KrullDimension.NonZeroDivisors public import Mathlib.RingTheory.Length public import Mathlib.RingTheory.HopkinsLevitzki + +import Mathlib.RingTheory.KrullDimension.NonZeroDivisors import Mathlib.Algebra.Ring.Hom.InjSurj import Mathlib.RingTheory.Ideal.Quotient.Noetherian diff --git a/Mathlib/RingTheory/OrderOfVanishing/Noetherian.lean b/Mathlib/RingTheory/OrderOfVanishing/Noetherian.lean index 2d4476419c2c1c..8a11a952605d7f 100644 --- a/Mathlib/RingTheory/OrderOfVanishing/Noetherian.lean +++ b/Mathlib/RingTheory/OrderOfVanishing/Noetherian.lean @@ -6,10 +6,11 @@ Authors: Raphael Douglas Giles module -import Mathlib.RingTheory.KrullDimension.NonZeroDivisors public import Mathlib.RingTheory.OrderOfVanishing.Basic public import Mathlib.RingTheory.Valuation.Discrete.IsDiscreteValuationRing +import Mathlib.RingTheory.KrullDimension.NonZeroDivisors + /-! # Order of vanishing in Noetherian rings. diff --git a/Mathlib/RingTheory/Perfection.lean b/Mathlib/RingTheory/Perfection.lean index 50596bd0ad02ee..856487b152b43b 100644 --- a/Mathlib/RingTheory/Perfection.lean +++ b/Mathlib/RingTheory/Perfection.lean @@ -5,13 +5,14 @@ Authors: Kenny Lau -/ module -import Mathlib.Algebra.CharP.Pi public import Mathlib.Algebra.CharP.Quotient -import Mathlib.Algebra.CharP.Subring public import Mathlib.Analysis.SpecialFunctions.Pow.NNReal public import Mathlib.FieldTheory.Perfect public import Mathlib.RingTheory.Valuation.Integers +import Mathlib.Algebra.CharP.Pi +import Mathlib.Algebra.CharP.Subring + /-! # Ring Perfection and Tilt diff --git a/Mathlib/RingTheory/Perfectoid/FontaineTheta.lean b/Mathlib/RingTheory/Perfectoid/FontaineTheta.lean index 6e761e24f9b200..b66a2b6d7ccd3a 100644 --- a/Mathlib/RingTheory/Perfectoid/FontaineTheta.lean +++ b/Mathlib/RingTheory/Perfectoid/FontaineTheta.lean @@ -5,11 +5,12 @@ Authors: Jiedong Jiang -/ module -import Mathlib.RingTheory.AdicCompletion.Functoriality public import Mathlib.RingTheory.AdicCompletion.RingHom public import Mathlib.RingTheory.Perfectoid.Untilt public import Mathlib.RingTheory.WittVector.TeichmullerSeries +import Mathlib.RingTheory.AdicCompletion.Functoriality + /-! # Fontaine's θ map diff --git a/Mathlib/RingTheory/Polynomial/Bernstein.lean b/Mathlib/RingTheory/Polynomial/Bernstein.lean index 53e98969b3ad59..d2d5b5c7950ffa 100644 --- a/Mathlib/RingTheory/Polynomial/Bernstein.lean +++ b/Mathlib/RingTheory/Polynomial/Bernstein.lean @@ -5,13 +5,14 @@ Authors: Kim Morrison -/ module -import Mathlib.Algebra.MvPolynomial.PDeriv -import Mathlib.Algebra.Polynomial.AlgebraMap public import Mathlib.Algebra.Polynomial.Derivative -import Mathlib.Algebra.Polynomial.Eval.SMul public import Mathlib.LinearAlgebra.LinearIndependent.Lemmas public import Mathlib.RingTheory.Polynomial.Pochhammer +import Mathlib.Algebra.MvPolynomial.PDeriv +import Mathlib.Algebra.Polynomial.AlgebraMap +import Mathlib.Algebra.Polynomial.Eval.SMul + /-! # Bernstein polynomials diff --git a/Mathlib/RingTheory/Polynomial/ContentIdeal.lean b/Mathlib/RingTheory/Polynomial/ContentIdeal.lean index fab71c3df34114..949c1c6609e8d3 100644 --- a/Mathlib/RingTheory/Polynomial/ContentIdeal.lean +++ b/Mathlib/RingTheory/Polynomial/ContentIdeal.lean @@ -5,9 +5,10 @@ Authors: Fabrizio Barroero -/ module -import Mathlib.RingTheory.Ideal.Quotient.Operations public import Mathlib.RingTheory.Polynomial.Content +import Mathlib.RingTheory.Ideal.Quotient.Operations + /-! # The content ideal of a polynomial diff --git a/Mathlib/RingTheory/Polynomial/Cyclotomic/Expand.lean b/Mathlib/RingTheory/Polynomial/Cyclotomic/Expand.lean index ea3a053d3d399d..01d3cb84448c80 100644 --- a/Mathlib/RingTheory/Polynomial/Cyclotomic/Expand.lean +++ b/Mathlib/RingTheory/Polynomial/Cyclotomic/Expand.lean @@ -5,9 +5,10 @@ Authors: Riccardo Brasca -/ module -import Mathlib.Algebra.Algebra.ZMod public import Mathlib.RingTheory.Polynomial.Cyclotomic.Roots +import Mathlib.Algebra.Algebra.ZMod + /-! # Cyclotomic polynomials and `expand`. diff --git a/Mathlib/RingTheory/Polynomial/Cyclotomic/Factorization.lean b/Mathlib/RingTheory/Polynomial/Cyclotomic/Factorization.lean index 7030654bf164df..b63a9a67ecb109 100644 --- a/Mathlib/RingTheory/Polynomial/Cyclotomic/Factorization.lean +++ b/Mathlib/RingTheory/Polynomial/Cyclotomic/Factorization.lean @@ -5,10 +5,11 @@ Authors: Riccardo Brasca -/ module +public import Mathlib.RingTheory.Polynomial.Cyclotomic.Roots + import Mathlib.Algebra.CharP.CharAndCard import Mathlib.Data.ZMod.Units import Mathlib.FieldTheory.Finite.GaloisField -public import Mathlib.RingTheory.Polynomial.Cyclotomic.Roots /-! # Factorization of cyclotomic polynomials over finite fields diff --git a/Mathlib/RingTheory/Polynomial/DegreeLT.lean b/Mathlib/RingTheory/Polynomial/DegreeLT.lean index a02bc47efc1b88..a094065f53a172 100644 --- a/Mathlib/RingTheory/Polynomial/DegreeLT.lean +++ b/Mathlib/RingTheory/Polynomial/DegreeLT.lean @@ -7,6 +7,7 @@ module public import Mathlib.Algebra.Polynomial.Taylor public import Mathlib.LinearAlgebra.Determinant + import Mathlib.LinearAlgebra.Matrix.Block /-! diff --git a/Mathlib/RingTheory/Polynomial/Dickson.lean b/Mathlib/RingTheory/Polynomial/Dickson.lean index 77555bfb3d0a8d..bbebc34755f1d1 100644 --- a/Mathlib/RingTheory/Polynomial/Dickson.lean +++ b/Mathlib/RingTheory/Polynomial/Dickson.lean @@ -5,13 +5,14 @@ Authors: Julian Kuelshammer -/ module +public import Mathlib.Algebra.Field.ZMod +public import Mathlib.RingTheory.Polynomial.Chebyshev + import Mathlib.Algebra.CharP.Algebra import Mathlib.Algebra.CharP.Invertible import Mathlib.Algebra.CharP.Lemmas import Mathlib.Algebra.EuclideanDomain.Field -public import Mathlib.Algebra.Field.ZMod import Mathlib.Algebra.Polynomial.Roots -public import Mathlib.RingTheory.Polynomial.Chebyshev /-! # Dickson polynomials diff --git a/Mathlib/RingTheory/Polynomial/Eisenstein/Basic.lean b/Mathlib/RingTheory/Polynomial/Eisenstein/Basic.lean index 0cb4a7af98c041..56a730cf95571a 100644 --- a/Mathlib/RingTheory/Polynomial/Eisenstein/Basic.lean +++ b/Mathlib/RingTheory/Polynomial/Eisenstein/Basic.lean @@ -5,10 +5,11 @@ Authors: Riccardo Brasca -/ module -import Mathlib.RingTheory.Ideal.BigOperators public import Mathlib.RingTheory.Polynomial.Eisenstein.Criterion public import Mathlib.RingTheory.Polynomial.ScaleRoots +import Mathlib.RingTheory.Ideal.BigOperators + /-! # Eisenstein polynomials diff --git a/Mathlib/RingTheory/Polynomial/Eisenstein/IsIntegral.lean b/Mathlib/RingTheory/Polynomial/Eisenstein/IsIntegral.lean index 0b53ed940a2d30..17208ded272167 100644 --- a/Mathlib/RingTheory/Polynomial/Eisenstein/IsIntegral.lean +++ b/Mathlib/RingTheory/Polynomial/Eisenstein/IsIntegral.lean @@ -5,9 +5,10 @@ Authors: Riccardo Brasca -/ module +public import Mathlib.RingTheory.Polynomial.Cyclotomic.Expand + import Mathlib.Data.Nat.Choose.Dvd import Mathlib.RingTheory.Norm.Transitivity -public import Mathlib.RingTheory.Polynomial.Cyclotomic.Expand import Mathlib.Algebra.Group.Nat.Range /-! diff --git a/Mathlib/RingTheory/Polynomial/GaussNorm.lean b/Mathlib/RingTheory/Polynomial/GaussNorm.lean index 9aedba4a50d49d..87086c10178827 100644 --- a/Mathlib/RingTheory/Polynomial/GaussNorm.lean +++ b/Mathlib/RingTheory/Polynomial/GaussNorm.lean @@ -5,9 +5,10 @@ Authors: Fabrizio Barroero -/ module -import Mathlib.Algebra.Order.Ring.IsNonarchimedean public import Mathlib.RingTheory.PowerSeries.GaussNorm +import Mathlib.Algebra.Order.Ring.IsNonarchimedean + /-! # Gauss norm for polynomials diff --git a/Mathlib/RingTheory/Polynomial/HilbertPoly.lean b/Mathlib/RingTheory/Polynomial/HilbertPoly.lean index 1118399dbf960c..730ec3672bd67e 100644 --- a/Mathlib/RingTheory/Polynomial/HilbertPoly.lean +++ b/Mathlib/RingTheory/Polynomial/HilbertPoly.lean @@ -5,11 +5,12 @@ Authors: Fangming Li, Jujian Zhang -/ module -import Mathlib.Algebra.Polynomial.Eval.SMul public import Mathlib.Algebra.Polynomial.Roots -import Mathlib.Order.Interval.Set.Infinite public import Mathlib.RingTheory.Polynomial.Pochhammer public import Mathlib.RingTheory.PowerSeries.WellKnown + +import Mathlib.Algebra.Polynomial.Eval.SMul +import Mathlib.Order.Interval.Set.Infinite import Mathlib.Tactic.FieldSimp import Mathlib.Algebra.NoZeroSMulDivisors.Basic diff --git a/Mathlib/RingTheory/Polynomial/IrreducibleRing.lean b/Mathlib/RingTheory/Polynomial/IrreducibleRing.lean index c2845c8d17759f..6130cc903f90ee 100644 --- a/Mathlib/RingTheory/Polynomial/IrreducibleRing.lean +++ b/Mathlib/RingTheory/Polynomial/IrreducibleRing.lean @@ -5,9 +5,10 @@ Authors: Jz Pan -/ module -import Mathlib.Algebra.Polynomial.Eval.Irreducible public import Mathlib.RingTheory.Polynomial.Nilpotent +import Mathlib.Algebra.Polynomial.Eval.Irreducible + /-! # Polynomials over an irreducible ring diff --git a/Mathlib/RingTheory/Polynomial/IsIntegral.lean b/Mathlib/RingTheory/Polynomial/IsIntegral.lean index ce4aaec993cffc..cc10cf86341f23 100644 --- a/Mathlib/RingTheory/Polynomial/IsIntegral.lean +++ b/Mathlib/RingTheory/Polynomial/IsIntegral.lean @@ -5,10 +5,11 @@ Authors: Andrew Yang -/ module -import Mathlib.Data.Multiset.Fintype -import Mathlib.RingTheory.AdjoinRoot public import Mathlib.RingTheory.Polynomial.RationalRoot public import Mathlib.RingTheory.IntegralClosure.IsIntegral.AlmostIntegral + +import Mathlib.Data.Multiset.Fintype +import Mathlib.RingTheory.AdjoinRoot import Mathlib.Algebra.MvPolynomial.Variables /-! diff --git a/Mathlib/RingTheory/Polynomial/Opposites.lean b/Mathlib/RingTheory/Polynomial/Opposites.lean index 81fc4d08c8205b..ab3fbcd936103f 100644 --- a/Mathlib/RingTheory/Polynomial/Opposites.lean +++ b/Mathlib/RingTheory/Polynomial/Opposites.lean @@ -6,6 +6,7 @@ Authors: Damiano Testa module public import Mathlib.Algebra.Polynomial.Degree.Support + import Mathlib.Tactic.NoncommRing /-! # Interactions between `R[X]` and `Rᵐᵒᵖ[X]` diff --git a/Mathlib/RingTheory/Polynomial/Pochhammer.lean b/Mathlib/RingTheory/Polynomial/Pochhammer.lean index 3d14d7f201d485..f3503627af3430 100644 --- a/Mathlib/RingTheory/Polynomial/Pochhammer.lean +++ b/Mathlib/RingTheory/Polynomial/Pochhammer.lean @@ -5,10 +5,11 @@ Authors: Kim Morrison -/ module -import Mathlib.Algebra.Algebra.Basic public import Mathlib.Algebra.Polynomial.Degree.Lemmas public import Mathlib.Algebra.Polynomial.Eval.Algebra +import Mathlib.Algebra.Algebra.Basic + /-! # The Pochhammer polynomials diff --git a/Mathlib/RingTheory/Polynomial/Quotient.lean b/Mathlib/RingTheory/Polynomial/Quotient.lean index 4e150c549c8ebd..2919c70fcd6283 100644 --- a/Mathlib/RingTheory/Polynomial/Quotient.lean +++ b/Mathlib/RingTheory/Polynomial/Quotient.lean @@ -5,11 +5,12 @@ Authors: Kenny Lau, David Kurniadi Angdinata, Devon Tuma, Riccardo Brasca -/ module -import Mathlib.Algebra.Field.Equiv public import Mathlib.Algebra.Polynomial.Eval.SMul public import Mathlib.RingTheory.Ideal.Quotient.Operations public import Mathlib.RingTheory.Polynomial.Basic public import Mathlib.RingTheory.Polynomial.Ideal + +import Mathlib.Algebra.Field.Equiv import Mathlib.RingTheory.PrincipalIdealDomain /-! diff --git a/Mathlib/RingTheory/Polynomial/Radical.lean b/Mathlib/RingTheory/Polynomial/Radical.lean index 29e9fcbc900b2a..c627a5e0c2de1e 100644 --- a/Mathlib/RingTheory/Polynomial/Radical.lean +++ b/Mathlib/RingTheory/Polynomial/Radical.lean @@ -8,6 +8,7 @@ module public import Mathlib.Algebra.Polynomial.FieldDivision public import Mathlib.RingTheory.Polynomial.Wronskian public import Mathlib.RingTheory.Radical.Basic + import Mathlib.RingTheory.UniqueFactorizationDomain.Multiplicative /-! diff --git a/Mathlib/RingTheory/Polynomial/Selmer.lean b/Mathlib/RingTheory/Polynomial/Selmer.lean index 11e2b6959e1d1c..797875a197deeb 100644 --- a/Mathlib/RingTheory/Polynomial/Selmer.lean +++ b/Mathlib/RingTheory/Polynomial/Selmer.lean @@ -6,6 +6,7 @@ Authors: Thomas Browning module public import Mathlib.Analysis.Complex.Polynomial.UnitTrinomial + import Mathlib.RingTheory.Polynomial.GaussLemma /-! diff --git a/Mathlib/RingTheory/Polynomial/SmallDegreeVieta.lean b/Mathlib/RingTheory/Polynomial/SmallDegreeVieta.lean index c536133809c0bd..660f08c7ad93eb 100644 --- a/Mathlib/RingTheory/Polynomial/SmallDegreeVieta.lean +++ b/Mathlib/RingTheory/Polynomial/SmallDegreeVieta.lean @@ -5,9 +5,10 @@ Authors: Qinchuan Zhang -/ module -import Mathlib.Tactic.FieldSimp public import Mathlib.RingTheory.Polynomial.Vieta +import Mathlib.Tactic.FieldSimp + /-! # Vieta's Formula for polynomial of small degrees. -/ diff --git a/Mathlib/RingTheory/Polynomial/UniversalFactorizationRing.lean b/Mathlib/RingTheory/Polynomial/UniversalFactorizationRing.lean index 191a2330d9129b..3748678ca36005 100644 --- a/Mathlib/RingTheory/Polynomial/UniversalFactorizationRing.lean +++ b/Mathlib/RingTheory/Polynomial/UniversalFactorizationRing.lean @@ -5,12 +5,13 @@ Authors: Andrew Yang -/ module -import Mathlib.RingTheory.Flat.FaithfullyFlat.Basic -import Mathlib.RingTheory.Polynomial.IsIntegral public import Mathlib.RingTheory.Polynomial.Resultant.Basic public import Mathlib.RingTheory.Smooth.StandardSmoothCotangent public import Mathlib.RingTheory.LocalRing.ResidueField.Ideal +import Mathlib.RingTheory.Flat.FaithfullyFlat.Basic +import Mathlib.RingTheory.Polynomial.IsIntegral + /-! diff --git a/Mathlib/RingTheory/PolynomialLaw/Basic.lean b/Mathlib/RingTheory/PolynomialLaw/Basic.lean index f17b6756d037d9..1edca25dfd8266 100644 --- a/Mathlib/RingTheory/PolynomialLaw/Basic.lean +++ b/Mathlib/RingTheory/PolynomialLaw/Basic.lean @@ -5,10 +5,11 @@ Authors: Antoine Chambert-Loir & María-Inés de Frutos-Fernández -/ module +public import Mathlib.RingTheory.TensorProduct.DirectLimitFG + import Mathlib.LinearAlgebra.TensorProduct.RightExactness import Mathlib.RingTheory.Congruence.Hom import Mathlib.RingTheory.FiniteType -public import Mathlib.RingTheory.TensorProduct.DirectLimitFG /-! # Polynomial laws on modules diff --git a/Mathlib/RingTheory/PowerSeries/Basic.lean b/Mathlib/RingTheory/PowerSeries/Basic.lean index 596ff09cf219bb..9f726e1005a348 100644 --- a/Mathlib/RingTheory/PowerSeries/Basic.lean +++ b/Mathlib/RingTheory/PowerSeries/Basic.lean @@ -6,10 +6,11 @@ Authors: Johan Commelin, Kenny Lau, Ralf Stephan module public import Mathlib.RingTheory.MvPowerSeries.Basic -import Mathlib.Tactic.MoveAdd public import Mathlib.Algebra.MvPolynomial.Equiv public import Mathlib.RingTheory.Ideal.Basic +import Mathlib.Tactic.MoveAdd + /-! # Formal power series (in one variable) diff --git a/Mathlib/RingTheory/PowerSeries/CoeffMulMem.lean b/Mathlib/RingTheory/PowerSeries/CoeffMulMem.lean index 573dc6afebf74b..19227f17b096bd 100644 --- a/Mathlib/RingTheory/PowerSeries/CoeffMulMem.lean +++ b/Mathlib/RingTheory/PowerSeries/CoeffMulMem.lean @@ -5,9 +5,10 @@ Authors: Jz Pan -/ module +public import Mathlib.RingTheory.PowerSeries.Basic + import Mathlib.RingTheory.Ideal.Operations import Mathlib.RingTheory.Ideal.BigOperators -public import Mathlib.RingTheory.PowerSeries.Basic /-! diff --git a/Mathlib/RingTheory/PowerSeries/Derivative.lean b/Mathlib/RingTheory/PowerSeries/Derivative.lean index 4dcbcedc58fd88..4720597d53c128 100644 --- a/Mathlib/RingTheory/PowerSeries/Derivative.lean +++ b/Mathlib/RingTheory/PowerSeries/Derivative.lean @@ -5,10 +5,11 @@ Authors: Richard M. Hill, Ralf Stephan -/ module -import Mathlib.Algebra.Polynomial.Derivation public import Mathlib.RingTheory.MvPowerSeries.Derivative public import Mathlib.RingTheory.PowerSeries.Substitution +import Mathlib.Algebra.Polynomial.Derivation + /-! # Formal derivatives of univariate power series diff --git a/Mathlib/RingTheory/PowerSeries/Exp.lean b/Mathlib/RingTheory/PowerSeries/Exp.lean index b563f5b5540a7f..1b5403221607c8 100644 --- a/Mathlib/RingTheory/PowerSeries/Exp.lean +++ b/Mathlib/RingTheory/PowerSeries/Exp.lean @@ -5,11 +5,12 @@ Authors: Yuma Mizuno, Ralf Stephan -/ module -import Mathlib.Algebra.Algebra.Rat -import Mathlib.Data.Nat.Cast.Field public import Mathlib.RingTheory.PowerSeries.Derivative public import Mathlib.RingTheory.PowerSeries.Inverse +import Mathlib.Algebra.Algebra.Rat +import Mathlib.Data.Nat.Cast.Field + /-! # Exponential Power Series diff --git a/Mathlib/RingTheory/PowerSeries/Ideal.lean b/Mathlib/RingTheory/PowerSeries/Ideal.lean index 4bb0dfa32a544b..460014dfe32477 100644 --- a/Mathlib/RingTheory/PowerSeries/Ideal.lean +++ b/Mathlib/RingTheory/PowerSeries/Ideal.lean @@ -6,8 +6,9 @@ Authors: Riccardo Brasca, Anthony Fernandes, Marc Robin module public import Mathlib.Algebra.Module.SpanRank -import Mathlib.RingTheory.Noetherian.OfPrime public import Mathlib.RingTheory.PowerSeries.Inverse + +import Mathlib.RingTheory.Noetherian.OfPrime import Mathlib.RingTheory.PowerSeries.Trunc import Mathlib.RingTheory.UniqueFactorizationDomain.Kaplansky diff --git a/Mathlib/RingTheory/PowerSeries/Log.lean b/Mathlib/RingTheory/PowerSeries/Log.lean index 42c1754556426c..77374c084fd807 100644 --- a/Mathlib/RingTheory/PowerSeries/Log.lean +++ b/Mathlib/RingTheory/PowerSeries/Log.lean @@ -5,8 +5,9 @@ Authors: Ralf Stephan -/ module -import Mathlib.Algebra.Algebra.Rat public import Mathlib.RingTheory.PowerSeries.Exp + +import Mathlib.Algebra.Algebra.Rat import Mathlib.RingTheory.PowerSeries.WellKnown /-! diff --git a/Mathlib/RingTheory/PowerSeries/Substitution.lean b/Mathlib/RingTheory/PowerSeries/Substitution.lean index 18e66d25c8a4aa..4201f2947fb797 100644 --- a/Mathlib/RingTheory/PowerSeries/Substitution.lean +++ b/Mathlib/RingTheory/PowerSeries/Substitution.lean @@ -8,6 +8,7 @@ module public import Mathlib.Algebra.MvPolynomial.Coeff public import Mathlib.RingTheory.MvPowerSeries.Substitution public import Mathlib.RingTheory.PowerSeries.Evaluation + import Mathlib.Tactic.Ring.NamePowerVars /-! # Substitutions in power series diff --git a/Mathlib/RingTheory/PowerSeries/Trunc.lean b/Mathlib/RingTheory/PowerSeries/Trunc.lean index b5e63194bff028..864ed96b5b4c45 100644 --- a/Mathlib/RingTheory/PowerSeries/Trunc.lean +++ b/Mathlib/RingTheory/PowerSeries/Trunc.lean @@ -5,9 +5,10 @@ Authors: Johan Commelin, Kenny Lau -/ module -import Mathlib.Algebra.Polynomial.Degree.Lemmas public import Mathlib.RingTheory.PowerSeries.Basic +import Mathlib.Algebra.Polynomial.Degree.Lemmas + /-! # Formal power series in one variable - Truncation diff --git a/Mathlib/RingTheory/PowerSeries/WeierstrassPreparation.lean b/Mathlib/RingTheory/PowerSeries/WeierstrassPreparation.lean index ba628f21c6c70d..188317449d69bd 100644 --- a/Mathlib/RingTheory/PowerSeries/WeierstrassPreparation.lean +++ b/Mathlib/RingTheory/PowerSeries/WeierstrassPreparation.lean @@ -5,12 +5,13 @@ Authors: Jz Pan -/ module -import Mathlib.RingTheory.LocalRing.ResidueField.Basic public import Mathlib.RingTheory.Polynomial.Eisenstein.Distinguished -import Mathlib.RingTheory.PowerSeries.CoeffMulMem public import Mathlib.RingTheory.PowerSeries.Inverse public import Mathlib.RingTheory.PowerSeries.Trunc +import Mathlib.RingTheory.LocalRing.ResidueField.Basic +import Mathlib.RingTheory.PowerSeries.CoeffMulMem + /-! # Weierstrass preparation theorem for power series over a complete local ring diff --git a/Mathlib/RingTheory/PowerSeries/WellKnown.lean b/Mathlib/RingTheory/PowerSeries/WellKnown.lean index 87347389dad34c..2db1dead5e1dd9 100644 --- a/Mathlib/RingTheory/PowerSeries/WellKnown.lean +++ b/Mathlib/RingTheory/PowerSeries/WellKnown.lean @@ -5,9 +5,10 @@ Authors: Yury Kudryashov -/ module -import Mathlib.Algebra.Algebra.Rat public import Mathlib.RingTheory.PowerSeries.Basic +import Mathlib.Algebra.Algebra.Rat + /-! # Definition of well-known power series diff --git a/Mathlib/RingTheory/Prime.lean b/Mathlib/RingTheory/Prime.lean index 12eb022bc5a3e2..9dfa53101d9049 100644 --- a/Mathlib/RingTheory/Prime.lean +++ b/Mathlib/RingTheory/Prime.lean @@ -5,12 +5,13 @@ Authors: Chris Hughes -/ module -import Mathlib.Algebra.Ring.Divisibility.Basic public import Mathlib.Algebra.Order.Group.Unbundled.Abs public import Mathlib.Algebra.Prime.Defs public import Mathlib.Algebra.Ring.Units public import Mathlib.Algebra.BigOperators.Group.Finset.Basic +import Mathlib.Algebra.Ring.Divisibility.Basic + /-! # Prime elements in rings diff --git a/Mathlib/RingTheory/PrincipalIdealDomainOfPrime.lean b/Mathlib/RingTheory/PrincipalIdealDomainOfPrime.lean index c4ebf0b17bb241..fe6ec77b997303 100644 --- a/Mathlib/RingTheory/PrincipalIdealDomainOfPrime.lean +++ b/Mathlib/RingTheory/PrincipalIdealDomainOfPrime.lean @@ -6,6 +6,7 @@ Authors: Anne Baanen module public import Mathlib.RingTheory.Ideal.Oka + import Mathlib.RingTheory.PrincipalIdealDomain /-! diff --git a/Mathlib/RingTheory/QuasiFinite/Basic.lean b/Mathlib/RingTheory/QuasiFinite/Basic.lean index 7f824aa37e5300..03372cfdc1af79 100644 --- a/Mathlib/RingTheory/QuasiFinite/Basic.lean +++ b/Mathlib/RingTheory/QuasiFinite/Basic.lean @@ -7,9 +7,10 @@ module public import Mathlib.Algebra.Module.FinitePresentation public import Mathlib.RingTheory.FiniteStability -import Mathlib.RingTheory.Finiteness.NilpotentKer public import Mathlib.RingTheory.Jacobson.Artinian public import Mathlib.RingTheory.LocalRing.ResidueField.Fiber + +import Mathlib.RingTheory.Finiteness.NilpotentKer import Mathlib.RingTheory.Localization.InvSubmonoid import Mathlib.RingTheory.Localization.Submodule import Mathlib.RingTheory.Spectrum.Prime.Jacobson diff --git a/Mathlib/RingTheory/Radical/NatInt.lean b/Mathlib/RingTheory/Radical/NatInt.lean index 5aaccfcc63f308..098cfbcab20776 100644 --- a/Mathlib/RingTheory/Radical/NatInt.lean +++ b/Mathlib/RingTheory/Radical/NatInt.lean @@ -6,11 +6,12 @@ Authors: Bhavik Mehta, Arend Mellendijk, Jeremy Tan module public import Mathlib.Algebra.EuclideanDomain.Int -import Mathlib.Data.Nat.Prime.Int public import Mathlib.Data.Nat.Squarefree public import Mathlib.RingTheory.PrincipalIdealDomain public import Mathlib.RingTheory.Radical.Basic +import Mathlib.Data.Nat.Prime.Int + /-! # The radical in `ℕ` and `ℤ` diff --git a/Mathlib/RingTheory/RamificationInertia/Basic.lean b/Mathlib/RingTheory/RamificationInertia/Basic.lean index 9b50120ffb56a1..226c35e9a052f3 100644 --- a/Mathlib/RingTheory/RamificationInertia/Basic.lean +++ b/Mathlib/RingTheory/RamificationInertia/Basic.lean @@ -9,6 +9,7 @@ public import Mathlib.FieldTheory.Galois.IsGaloisGroup public import Mathlib.RingTheory.Flat.TorsionFree public import Mathlib.RingTheory.RamificationInertia.Inertia public import Mathlib.RingTheory.RamificationInertia.Ramification + import Mathlib.RingTheory.Spectrum.Prime.FreeLocus /-! diff --git a/Mathlib/RingTheory/RamificationInertia/Inertia.lean b/Mathlib/RingTheory/RamificationInertia/Inertia.lean index 3a35bc4367dca1..4cbbf515aeaf31 100644 --- a/Mathlib/RingTheory/RamificationInertia/Inertia.lean +++ b/Mathlib/RingTheory/RamificationInertia/Inertia.lean @@ -5,10 +5,11 @@ Authors: Thomas Browning -/ module -import Mathlib.RingTheory.Finiteness.Quotient public import Mathlib.RingTheory.Ideal.Norm.AbsNorm public import Mathlib.RingTheory.QuasiFinite.Basic +import Mathlib.RingTheory.Finiteness.Quotient + /-! # Inertia degree diff --git a/Mathlib/RingTheory/RamificationInertia/Ramification.lean b/Mathlib/RingTheory/RamificationInertia/Ramification.lean index ccbcdbd8f1ed54..128938836ddee5 100644 --- a/Mathlib/RingTheory/RamificationInertia/Ramification.lean +++ b/Mathlib/RingTheory/RamificationInertia/Ramification.lean @@ -6,12 +6,13 @@ Authors: Thomas Browning module public import Mathlib.NumberTheory.RamificationInertia.Ramification -import Mathlib.RingTheory.DedekindDomain.Dvr public import Mathlib.RingTheory.LocalRing.Length public import Mathlib.RingTheory.LocalRing.ResidueField.Separable -import Mathlib.RingTheory.QuasiFinite.Basic public import Mathlib.RingTheory.Unramified.LocalRing +import Mathlib.RingTheory.DedekindDomain.Dvr +import Mathlib.RingTheory.QuasiFinite.Basic + /-! # Ramification index diff --git a/Mathlib/RingTheory/Regular/Free.lean b/Mathlib/RingTheory/Regular/Free.lean index 699b6c7ecb7029..ab576ec9b5a163 100644 --- a/Mathlib/RingTheory/Regular/Free.lean +++ b/Mathlib/RingTheory/Regular/Free.lean @@ -7,9 +7,10 @@ module public import Mathlib.Algebra.Module.FinitePresentation public import Mathlib.Algebra.Module.Torsion.Basic -import Mathlib.RingTheory.Ideal.Finsupp public import Mathlib.RingTheory.Nakayama public import Mathlib.RingTheory.QuotSMulTop + +import Mathlib.RingTheory.Ideal.Finsupp import Mathlib.Algebra.GroupWithZero.Action.Regular /-! diff --git a/Mathlib/RingTheory/Regular/LinearMap.lean b/Mathlib/RingTheory/Regular/LinearMap.lean index f21d7cd79aa1ae..17f8a7a3556aef 100644 --- a/Mathlib/RingTheory/Regular/LinearMap.lean +++ b/Mathlib/RingTheory/Regular/LinearMap.lean @@ -5,13 +5,14 @@ Authors: Nailin Guan, Yi Song -/ module +public import Mathlib.RingTheory.Support + import Mathlib.Algebra.Module.FinitePresentation import Mathlib.LinearAlgebra.Dual.Lemmas import Mathlib.RingTheory.Ideal.AssociatedPrime.Finiteness import Mathlib.RingTheory.Ideal.AssociatedPrime.Localization import Mathlib.RingTheory.LocalRing.ResidueField.Ideal import Mathlib.RingTheory.Regular.IsSMulRegular -public import Mathlib.RingTheory.Support /-! diff --git a/Mathlib/RingTheory/Regular/ProjectiveDimension.lean b/Mathlib/RingTheory/Regular/ProjectiveDimension.lean index a474c3046f6870..e5cb59f17324ca 100644 --- a/Mathlib/RingTheory/Regular/ProjectiveDimension.lean +++ b/Mathlib/RingTheory/Regular/ProjectiveDimension.lean @@ -5,12 +5,13 @@ Authors: Nailin Guan -/ module -import Mathlib.Algebra.Category.Grp.Zero public import Mathlib.Algebra.Category.ModuleCat.Ext.Finite public import Mathlib.Algebra.Category.ModuleCat.ProjectiveDimension +public import Mathlib.RingTheory.Regular.RegularSequence + +import Mathlib.Algebra.Category.Grp.Zero import Mathlib.RingTheory.LocalRing.Module import Mathlib.RingTheory.Regular.Category -public import Mathlib.RingTheory.Regular.RegularSequence /-! diff --git a/Mathlib/RingTheory/Regular/RegularSequence.lean b/Mathlib/RingTheory/Regular/RegularSequence.lean index 4f9ce450f7f004..d14ae991ec4a3c 100644 --- a/Mathlib/RingTheory/Regular/RegularSequence.lean +++ b/Mathlib/RingTheory/Regular/RegularSequence.lean @@ -7,9 +7,10 @@ module public import Mathlib.RingTheory.Artinian.Module public import Mathlib.RingTheory.LocalRing.MaximalIdeal.Basic -import Mathlib.RingTheory.Nakayama public import Mathlib.RingTheory.Regular.IsSMulRegular +import Mathlib.RingTheory.Nakayama + /-! # Regular sequences and weakly regular sequences diff --git a/Mathlib/RingTheory/RegularLocalRing/Defs.lean b/Mathlib/RingTheory/RegularLocalRing/Defs.lean index 00b96ca885f41b..628e23d34e87d4 100644 --- a/Mathlib/RingTheory/RegularLocalRing/Defs.lean +++ b/Mathlib/RingTheory/RegularLocalRing/Defs.lean @@ -5,8 +5,9 @@ Authors: Nailin Guan -/ module -import Mathlib.Algebra.Module.SpanRankOperations public import Mathlib.RingTheory.DedekindDomain.Dvr + +import Mathlib.Algebra.Module.SpanRankOperations import Mathlib.RingTheory.Ideal.KrullsHeightTheorem import Mathlib.RingTheory.KrullDimension.Field import Mathlib.RingTheory.KrullDimension.PID diff --git a/Mathlib/RingTheory/RegularLocalRing/Polynomial.lean b/Mathlib/RingTheory/RegularLocalRing/Polynomial.lean index 0c4ea6a6e52bf4..918289ea37f290 100644 --- a/Mathlib/RingTheory/RegularLocalRing/Polynomial.lean +++ b/Mathlib/RingTheory/RegularLocalRing/Polynomial.lean @@ -5,9 +5,10 @@ Authors: Nailin Guan -/ module +public import Mathlib.RingTheory.RegularLocalRing.Defs + import Mathlib.RingTheory.Ideal.MonicSpan import Mathlib.RingTheory.KrullDimension.Polynomial -public import Mathlib.RingTheory.RegularLocalRing.Defs /-! diff --git a/Mathlib/RingTheory/RingHom/Bijective.lean b/Mathlib/RingTheory/RingHom/Bijective.lean index 980627f4a2e50f..c541182eaa4e3a 100644 --- a/Mathlib/RingTheory/RingHom/Bijective.lean +++ b/Mathlib/RingTheory/RingHom/Bijective.lean @@ -6,6 +6,7 @@ Authors: Christian Merten module public import Mathlib.RingTheory.LocalProperties.Basic + import Mathlib.RingTheory.LocalProperties.Exactness /-! diff --git a/Mathlib/RingTheory/RingHom/Finite.lean b/Mathlib/RingTheory/RingHom/Finite.lean index 1b660f80147bda..d351b991271833 100644 --- a/Mathlib/RingTheory/RingHom/Finite.lean +++ b/Mathlib/RingTheory/RingHom/Finite.lean @@ -7,6 +7,7 @@ module public import Mathlib.RingTheory.Localization.Finiteness public import Mathlib.RingTheory.LocalProperties.Basic + import Mathlib.RingTheory.TensorProduct.Finite /-! diff --git a/Mathlib/RingTheory/RingHom/FinitePresentation.lean b/Mathlib/RingTheory/RingHom/FinitePresentation.lean index bfcb600699beb6..6e0fa35f317551 100644 --- a/Mathlib/RingTheory/RingHom/FinitePresentation.lean +++ b/Mathlib/RingTheory/RingHom/FinitePresentation.lean @@ -5,11 +5,12 @@ Authors: Christian Merten -/ module +public import Mathlib.RingTheory.FiniteStability +public import Mathlib.RingTheory.LocalProperties.Basic + import Mathlib.RingTheory.Localization.Finiteness import Mathlib.RingTheory.Localization.Away.AdjoinRoot import Mathlib.RingTheory.Finiteness.FinitePresentationLocal -public import Mathlib.RingTheory.FiniteStability -public import Mathlib.RingTheory.LocalProperties.Basic /-! diff --git a/Mathlib/RingTheory/RingHom/FiniteType.lean b/Mathlib/RingTheory/RingHom/FiniteType.lean index 0260f375897835..0b0e894d58ffe6 100644 --- a/Mathlib/RingTheory/RingHom/FiniteType.lean +++ b/Mathlib/RingTheory/RingHom/FiniteType.lean @@ -5,11 +5,12 @@ Authors: Andrew Yang -/ module -import Mathlib.RingTheory.FiniteStability -import Mathlib.RingTheory.Finiteness.FiniteTypeLocal public import Mathlib.RingTheory.Localization.InvSubmonoid public import Mathlib.RingTheory.LocalProperties.Basic +import Mathlib.RingTheory.FiniteStability +import Mathlib.RingTheory.Finiteness.FiniteTypeLocal + /-! # The meta properties of finite-type ring homomorphisms. diff --git a/Mathlib/RingTheory/RingHom/Flat.lean b/Mathlib/RingTheory/RingHom/Flat.lean index 28d9d0fab9978e..b2df76c0499954 100644 --- a/Mathlib/RingTheory/RingHom/Flat.lean +++ b/Mathlib/RingTheory/RingHom/Flat.lean @@ -5,10 +5,11 @@ Authors: Christian Merten -/ module -import Mathlib.RingTheory.Flat.Localization public import Mathlib.RingTheory.LocalProperties.Basic public import Mathlib.RingTheory.Ideal.GoingDown +import Mathlib.RingTheory.Flat.Localization + /-! # Flat ring homomorphisms diff --git a/Mathlib/RingTheory/RootsOfUnity/Complex.lean b/Mathlib/RingTheory/RootsOfUnity/Complex.lean index 3df8020c457149..f559e6b04a27d5 100644 --- a/Mathlib/RingTheory/RootsOfUnity/Complex.lean +++ b/Mathlib/RingTheory/RootsOfUnity/Complex.lean @@ -9,6 +9,7 @@ public import Mathlib.Analysis.SpecialFunctions.Complex.Log public import Mathlib.RingTheory.Int.Basic public import Mathlib.RingTheory.RootsOfUnity.PrimitiveRoots public import Mathlib.Tactic.Rify + import Mathlib.Tactic.Qify /-! diff --git a/Mathlib/RingTheory/RootsOfUnity/Minpoly.lean b/Mathlib/RingTheory/RootsOfUnity/Minpoly.lean index 699a992078cf17..0db1e4a00cddce 100644 --- a/Mathlib/RingTheory/RootsOfUnity/Minpoly.lean +++ b/Mathlib/RingTheory/RootsOfUnity/Minpoly.lean @@ -9,6 +9,7 @@ public import Mathlib.Algebra.GCDMonoid.IntegrallyClosed public import Mathlib.FieldTheory.Finite.Basic public import Mathlib.FieldTheory.Minpoly.IsIntegrallyClosed public import Mathlib.RingTheory.RootsOfUnity.PrimitiveRoots + import Mathlib.RingTheory.UniqueFactorizationDomain.Nat /-! diff --git a/Mathlib/RingTheory/RootsOfUnity/PrimitiveRoots.lean b/Mathlib/RingTheory/RootsOfUnity/PrimitiveRoots.lean index be848ea0b10c1d..8fa87426cd7462 100644 --- a/Mathlib/RingTheory/RootsOfUnity/PrimitiveRoots.lean +++ b/Mathlib/RingTheory/RootsOfUnity/PrimitiveRoots.lean @@ -5,9 +5,10 @@ Authors: Johan Commelin -/ module -import Mathlib.Algebra.Group.TypeTags.Finite public import Mathlib.RingTheory.RootsOfUnity.Basic +import Mathlib.Algebra.Group.TypeTags.Finite + /-! # Primitive roots of unity diff --git a/Mathlib/RingTheory/SimpleModule/Basic.lean b/Mathlib/RingTheory/SimpleModule/Basic.lean index 0715b1076e4405..d2bdb16245543a 100644 --- a/Mathlib/RingTheory/SimpleModule/Basic.lean +++ b/Mathlib/RingTheory/SimpleModule/Basic.lean @@ -5,19 +5,20 @@ Authors: Aaron Anderson -/ module -import Mathlib.Algebra.DirectSum.Module public import Mathlib.LinearAlgebra.DFinsupp -import Mathlib.LinearAlgebra.Finsupp.Span -import Mathlib.LinearAlgebra.Isomorphisms public import Mathlib.LinearAlgebra.Projection public import Mathlib.Order.Atoms.Finite public import Mathlib.Order.CompactlyGenerated.Intervals public import Mathlib.Order.JordanHolder public import Mathlib.RingTheory.Ideal.Colon public import Mathlib.RingTheory.Noetherian.Defs -import Mathlib.SetTheory.Cardinal.NatCard public import Mathlib.Algebra.NoZeroSMulDivisors.Basic +import Mathlib.Algebra.DirectSum.Module +import Mathlib.LinearAlgebra.Finsupp.Span +import Mathlib.LinearAlgebra.Isomorphisms +import Mathlib.SetTheory.Cardinal.NatCard + /-! # Simple Modules diff --git a/Mathlib/RingTheory/SimpleModule/WedderburnArtin.lean b/Mathlib/RingTheory/SimpleModule/WedderburnArtin.lean index 4e618ac73c5fc0..727a0e167fc07d 100644 --- a/Mathlib/RingTheory/SimpleModule/WedderburnArtin.lean +++ b/Mathlib/RingTheory/SimpleModule/WedderburnArtin.lean @@ -7,6 +7,7 @@ module public import Mathlib.RingTheory.FiniteLength public import Mathlib.RingTheory.SimpleModule.Isotypic + import Mathlib.RingTheory.SimpleRing.Congr import Mathlib.RingTheory.SimpleRing.Matrix diff --git a/Mathlib/RingTheory/SimpleRing/Principal.lean b/Mathlib/RingTheory/SimpleRing/Principal.lean index 4a4c7d574c8128..63bd8e70fa815c 100644 --- a/Mathlib/RingTheory/SimpleRing/Principal.lean +++ b/Mathlib/RingTheory/SimpleRing/Principal.lean @@ -7,6 +7,7 @@ module public import Mathlib.RingTheory.PrincipalIdealDomain public import Mathlib.RingTheory.SimpleRing.Field + import Mathlib.RingTheory.TwoSidedIdeal.Operations /-! diff --git a/Mathlib/RingTheory/Smooth/Basic.lean b/Mathlib/RingTheory/Smooth/Basic.lean index c3c83953ff6445..62fa366fcd89d2 100644 --- a/Mathlib/RingTheory/Smooth/Basic.lean +++ b/Mathlib/RingTheory/Smooth/Basic.lean @@ -6,10 +6,11 @@ Authors: Andrew Yang module public import Mathlib.RingTheory.FiniteStability -import Mathlib.RingTheory.Ideal.Quotient.Nilpotent public import Mathlib.RingTheory.Smooth.Kaehler public import Mathlib.RingTheory.Unramified.Basic +import Mathlib.RingTheory.Ideal.Quotient.Nilpotent + /-! # Smooth morphisms diff --git a/Mathlib/RingTheory/Smooth/Fiber.lean b/Mathlib/RingTheory/Smooth/Fiber.lean index a426cead9cee09..3f9df17d371474 100644 --- a/Mathlib/RingTheory/Smooth/Fiber.lean +++ b/Mathlib/RingTheory/Smooth/Fiber.lean @@ -6,11 +6,12 @@ Authors: Andrew Yang module public import Mathlib.RingTheory.Etale.Field -import Mathlib.RingTheory.Flat.Equalizer public import Mathlib.RingTheory.Kaehler.TensorProduct public import Mathlib.RingTheory.Smooth.Local public import Mathlib.RingTheory.Etale.Locus +import Mathlib.RingTheory.Flat.Equalizer + /-! # Flat and smooth fibers imply smooth diff --git a/Mathlib/RingTheory/Smooth/Local.lean b/Mathlib/RingTheory/Smooth/Local.lean index 965db0c4cafc45..653bada870f1a2 100644 --- a/Mathlib/RingTheory/Smooth/Local.lean +++ b/Mathlib/RingTheory/Smooth/Local.lean @@ -5,11 +5,12 @@ Authors: Andrew Yang -/ module -import Mathlib.RingTheory.Flat.FaithfullyFlat.Basic -import Mathlib.RingTheory.LocalRing.Module public import Mathlib.RingTheory.Smooth.Basic public import Mathlib.RingTheory.TensorProduct.Free +import Mathlib.RingTheory.Flat.FaithfullyFlat.Basic +import Mathlib.RingTheory.LocalRing.Module + /-! # Formally smooth local algebras -/ diff --git a/Mathlib/RingTheory/Smooth/NoetherianDescent.lean b/Mathlib/RingTheory/Smooth/NoetherianDescent.lean index 03d10c8da8c832..dfa49d001b20fa 100644 --- a/Mathlib/RingTheory/Smooth/NoetherianDescent.lean +++ b/Mathlib/RingTheory/Smooth/NoetherianDescent.lean @@ -6,9 +6,10 @@ Authors: Judith Ludwig, Christian Merten module public import Mathlib.RingTheory.Extension.Presentation.Core -import Mathlib.RingTheory.MvPolynomial.Homogeneous public import Mathlib.RingTheory.Smooth.StandardSmoothOfFree +import Mathlib.RingTheory.MvPolynomial.Homogeneous + /-! # Smooth algebras have Noetherian models diff --git a/Mathlib/RingTheory/Spectrum/Prime/Chevalley.lean b/Mathlib/RingTheory/Spectrum/Prime/Chevalley.lean index 495c7662eb7079..cd5a19d6926a4f 100644 --- a/Mathlib/RingTheory/Spectrum/Prime/Chevalley.lean +++ b/Mathlib/RingTheory/Spectrum/Prime/Chevalley.lean @@ -5,10 +5,11 @@ Authors: Andrew Yang -/ module -import Mathlib.RingTheory.FiniteStability public import Mathlib.RingTheory.Ideal.GoingDown public import Mathlib.RingTheory.Spectrum.Prime.ChevalleyComplexity +import Mathlib.RingTheory.FiniteStability + /-! # Chevalley's theorem diff --git a/Mathlib/RingTheory/Spectrum/Prime/ChevalleyComplexity.lean b/Mathlib/RingTheory/Spectrum/Prime/ChevalleyComplexity.lean index 3280a95c4d1096..758975b4cd59a6 100644 --- a/Mathlib/RingTheory/Spectrum/Prime/ChevalleyComplexity.lean +++ b/Mathlib/RingTheory/Spectrum/Prime/ChevalleyComplexity.lean @@ -6,9 +6,10 @@ Authors: Yaël Dillies, Andrew Yang module public import Mathlib.Algebra.Polynomial.CoeffMem -import Mathlib.Data.DFinsupp.WellFounded public import Mathlib.RingTheory.Spectrum.Prime.ConstructibleSet public import Mathlib.RingTheory.Spectrum.Prime.Polynomial + +import Mathlib.Data.DFinsupp.WellFounded import Mathlib.Algebra.MvPolynomial.CommRing /-! diff --git a/Mathlib/RingTheory/Spectrum/Prime/FreeLocus.lean b/Mathlib/RingTheory/Spectrum/Prime/FreeLocus.lean index 78a1ca6a1976cb..194aa01acfe377 100644 --- a/Mathlib/RingTheory/Spectrum/Prime/FreeLocus.lean +++ b/Mathlib/RingTheory/Spectrum/Prime/FreeLocus.lean @@ -11,9 +11,10 @@ public import Mathlib.RingTheory.LocalRing.Module public import Mathlib.RingTheory.LocalRing.ResidueField.Fiber public import Mathlib.RingTheory.Localization.Free public import Mathlib.Topology.LocallyConstant.Basic -import Mathlib.RingTheory.TensorProduct.Free public import Mathlib.RingTheory.TensorProduct.IsBaseChangePi +import Mathlib.RingTheory.TensorProduct.Free + /-! # The free locus of a module diff --git a/Mathlib/RingTheory/Spectrum/Prime/Homeomorph.lean b/Mathlib/RingTheory/Spectrum/Prime/Homeomorph.lean index 88eb2744e3fc63..f5231dfa160ee3 100644 --- a/Mathlib/RingTheory/Spectrum/Prime/Homeomorph.lean +++ b/Mathlib/RingTheory/Spectrum/Prime/Homeomorph.lean @@ -6,9 +6,10 @@ Authors: Christian Merten, Junyan Xu module public import Mathlib.FieldTheory.PurelyInseparable.Basic -import Mathlib.RingTheory.Flat.Basic public import Mathlib.RingTheory.Spectrum.Prime.Topology +import Mathlib.RingTheory.Flat.Basic + /-! # Purely inseparable extensions are universal homeomorphisms diff --git a/Mathlib/RingTheory/Teichmuller.lean b/Mathlib/RingTheory/Teichmuller.lean index 6f52f5f09c1f38..dd96c77f72c419 100644 --- a/Mathlib/RingTheory/Teichmuller.lean +++ b/Mathlib/RingTheory/Teichmuller.lean @@ -5,10 +5,11 @@ Authors: Kenny Lau -/ module -import Mathlib.LinearAlgebra.SModEq.Pow public import Mathlib.RingTheory.AdicCompletion.Basic public import Mathlib.RingTheory.Perfection +import Mathlib.LinearAlgebra.SModEq.Pow + /-! # Teichmüller map Let `R` be an `I`-adically complete ring, and `p` be a prime number with `p ∈ I`. diff --git a/Mathlib/RingTheory/TensorProduct/IsBaseChangeHom.lean b/Mathlib/RingTheory/TensorProduct/IsBaseChangeHom.lean index 945d3b183709c2..a5197e0a5c57d8 100644 --- a/Mathlib/RingTheory/TensorProduct/IsBaseChangeHom.lean +++ b/Mathlib/RingTheory/TensorProduct/IsBaseChangeHom.lean @@ -5,10 +5,11 @@ Authors: Antoine Chambert-Loir -/ module -import Mathlib.LinearAlgebra.TensorProduct.Prod public import Mathlib.RingTheory.TensorProduct.IsBaseChangeFree public import Mathlib.LinearAlgebra.Determinant +import Mathlib.LinearAlgebra.TensorProduct.Prod + /-! # Base change properties for modules of linear maps * `IsBaseChange.linearMapRight`: diff --git a/Mathlib/RingTheory/TensorProduct/IsBaseChangePi.lean b/Mathlib/RingTheory/TensorProduct/IsBaseChangePi.lean index f1e0a79e723259..7620cd0ab80c92 100644 --- a/Mathlib/RingTheory/TensorProduct/IsBaseChangePi.lean +++ b/Mathlib/RingTheory/TensorProduct/IsBaseChangePi.lean @@ -6,9 +6,10 @@ Authors: Christian Merten, Antoine Chambert-Loir module public import Mathlib.LinearAlgebra.TensorProduct.Pi -import Mathlib.LinearAlgebra.TensorProduct.Prod public import Mathlib.RingTheory.Localization.BaseChange +import Mathlib.LinearAlgebra.TensorProduct.Prod + /-! # Base change properties diff --git a/Mathlib/RingTheory/TensorProduct/IsBaseChangeRightExact.lean b/Mathlib/RingTheory/TensorProduct/IsBaseChangeRightExact.lean index acb57e38439f74..3aa1b8bc2f2ee7 100644 --- a/Mathlib/RingTheory/TensorProduct/IsBaseChangeRightExact.lean +++ b/Mathlib/RingTheory/TensorProduct/IsBaseChangeRightExact.lean @@ -5,10 +5,11 @@ Authors: Jingting Wang, Nailin Guan -/ module -import Mathlib.Algebra.FiveLemma public import Mathlib.LinearAlgebra.TensorProduct.RightExactness public import Mathlib.RingTheory.IsTensorProduct +import Mathlib.Algebra.FiveLemma + /-! # Lemmas about `IsBaseChange` under exact sequences diff --git a/Mathlib/RingTheory/TensorProduct/Nontrivial.lean b/Mathlib/RingTheory/TensorProduct/Nontrivial.lean index ab56a048e54b27..c765498de95dfe 100644 --- a/Mathlib/RingTheory/TensorProduct/Nontrivial.lean +++ b/Mathlib/RingTheory/TensorProduct/Nontrivial.lean @@ -5,10 +5,11 @@ Authors: Jz Pan -/ module -import Mathlib.LinearAlgebra.Basis.VectorSpace public import Mathlib.RingTheory.Flat.FaithfullyFlat.Basic public import Mathlib.Algebra.Ring.Hom.InjSurj +import Mathlib.LinearAlgebra.Basis.VectorSpace + /-! # Nontriviality of tensor product of algebras diff --git a/Mathlib/RingTheory/TotallySplit.lean b/Mathlib/RingTheory/TotallySplit.lean index 82bb6b6b0283ff..49519eb93c0c3c 100644 --- a/Mathlib/RingTheory/TotallySplit.lean +++ b/Mathlib/RingTheory/TotallySplit.lean @@ -6,8 +6,9 @@ Authors: Christian Merten module public import Mathlib.RingTheory.Etale.Field -import Mathlib.RingTheory.Flat.Rank public import Mathlib.RingTheory.Smooth.Flat + +import Mathlib.RingTheory.Flat.Rank import Mathlib.RingTheory.TensorProduct.Pi /-! diff --git a/Mathlib/RingTheory/Trace/Basic.lean b/Mathlib/RingTheory/Trace/Basic.lean index 870f11d56f6f92..619243d3195f87 100644 --- a/Mathlib/RingTheory/Trace/Basic.lean +++ b/Mathlib/RingTheory/Trace/Basic.lean @@ -7,10 +7,11 @@ module public import Mathlib.FieldTheory.Minpoly.MinpolyDiv public import Mathlib.FieldTheory.PurelyInseparable.Basic -import Mathlib.LinearAlgebra.Matrix.Charpoly.Minpoly public import Mathlib.LinearAlgebra.Vandermonde public import Mathlib.RingTheory.Trace.Defs +import Mathlib.LinearAlgebra.Matrix.Charpoly.Minpoly + /-! # Trace for (finite) ring extensions. diff --git a/Mathlib/RingTheory/Trace/Quotient.lean b/Mathlib/RingTheory/Trace/Quotient.lean index d2fa8c7ab93174..b82ab7d0037a62 100644 --- a/Mathlib/RingTheory/Trace/Quotient.lean +++ b/Mathlib/RingTheory/Trace/Quotient.lean @@ -5,8 +5,9 @@ Authors: Andrew Yang, Riccardo Brasca -/ module -import Mathlib.RingTheory.DedekindDomain.Dvr public import Mathlib.RingTheory.IntegralClosure.IntegralRestrict + +import Mathlib.RingTheory.DedekindDomain.Dvr import Mathlib.RingTheory.LocalRing.Quotient /-! diff --git a/Mathlib/RingTheory/UniqueFactorizationDomain/Basic.lean b/Mathlib/RingTheory/UniqueFactorizationDomain/Basic.lean index b6bba98cc19723..baaef4558f1d4b 100644 --- a/Mathlib/RingTheory/UniqueFactorizationDomain/Basic.lean +++ b/Mathlib/RingTheory/UniqueFactorizationDomain/Basic.lean @@ -7,9 +7,10 @@ module public import Mathlib.Algebra.BigOperators.Associated public import Mathlib.RingTheory.UniqueFactorizationDomain.Defs +public import Mathlib.Tactic.Bound.Init + import Mathlib.Algebra.Order.Group.Nat import Mathlib.Data.ENat.Basic -public import Mathlib.Tactic.Bound.Init /-! # Basic results on unique factorization monoids diff --git a/Mathlib/RingTheory/UniqueFactorizationDomain/Kaplansky.lean b/Mathlib/RingTheory/UniqueFactorizationDomain/Kaplansky.lean index df2fef24f2d677..7be014cf3a0d7c 100644 --- a/Mathlib/RingTheory/UniqueFactorizationDomain/Kaplansky.lean +++ b/Mathlib/RingTheory/UniqueFactorizationDomain/Kaplansky.lean @@ -5,9 +5,10 @@ Authors: Riccardo Brasca, Emilie Uthaiwat -/ module -import Mathlib.RingTheory.UniqueFactorizationDomain.Basic public import Mathlib.RingTheory.UniqueFactorizationDomain.Ideal +import Mathlib.RingTheory.UniqueFactorizationDomain.Basic + /-! # Kaplansky criterion for factoriality diff --git a/Mathlib/RingTheory/UniqueFactorizationDomain/Nat.lean b/Mathlib/RingTheory/UniqueFactorizationDomain/Nat.lean index ebe196afa247ba..918fccfc80b9d1 100644 --- a/Mathlib/RingTheory/UniqueFactorizationDomain/Nat.lean +++ b/Mathlib/RingTheory/UniqueFactorizationDomain/Nat.lean @@ -5,9 +5,10 @@ Authors: Johannes Hölzl, Jens Wagemaker, Aaron Anderson -/ module -import Mathlib.Data.ENat.Basic public import Mathlib.Data.Nat.Factors public import Mathlib.RingTheory.UniqueFactorizationDomain.NormalizedFactors + +import Mathlib.Data.ENat.Basic import Mathlib.Data.ENat.Monoid /-! diff --git a/Mathlib/RingTheory/Unramified/Basic.lean b/Mathlib/RingTheory/Unramified/Basic.lean index afaa84d0722698..bba51bb3f5ba12 100644 --- a/Mathlib/RingTheory/Unramified/Basic.lean +++ b/Mathlib/RingTheory/Unramified/Basic.lean @@ -5,13 +5,14 @@ Authors: Andrew Yang -/ module -import Mathlib.RingTheory.Ideal.Quotient.Nilpotent -import Mathlib.RingTheory.Ideal.IdempotentFG public import Mathlib.RingTheory.Idempotents public import Mathlib.RingTheory.Kaehler.Basic public import Mathlib.RingTheory.Localization.Away.AdjoinRoot public import Mathlib.Algebra.Algebra.Shrink +import Mathlib.RingTheory.Ideal.Quotient.Nilpotent +import Mathlib.RingTheory.Ideal.IdempotentFG + /-! # Unramified morphisms diff --git a/Mathlib/RingTheory/Unramified/Dedekind.lean b/Mathlib/RingTheory/Unramified/Dedekind.lean index 2e539bef1a0cd8..a3d3bc658adbc2 100644 --- a/Mathlib/RingTheory/Unramified/Dedekind.lean +++ b/Mathlib/RingTheory/Unramified/Dedekind.lean @@ -6,9 +6,10 @@ Authors: Thomas Browning module public import Mathlib.RingTheory.DedekindDomain.Dvr -import Mathlib.RingTheory.Finiteness.Quotient public import Mathlib.RingTheory.Unramified.Field +import Mathlib.RingTheory.Finiteness.Quotient + /-! # Unramified algebras over Dedekind domains diff --git a/Mathlib/RingTheory/Unramified/Finite.lean b/Mathlib/RingTheory/Unramified/Finite.lean index 6d76ad3a0de2fc..2b494e53ee1c65 100644 --- a/Mathlib/RingTheory/Unramified/Finite.lean +++ b/Mathlib/RingTheory/Unramified/Finite.lean @@ -5,10 +5,11 @@ Authors: Andrew Yang -/ module -import Mathlib.RingTheory.Ideal.IdempotentFG public import Mathlib.RingTheory.Unramified.Basic public import Mathlib.RingTheory.Flat.Stability +import Mathlib.RingTheory.Ideal.IdempotentFG + /-! # Various results about unramified algebras diff --git a/Mathlib/RingTheory/Unramified/LocalStructure.lean b/Mathlib/RingTheory/Unramified/LocalStructure.lean index 50b9aa8fe04e7c..b84a0c1f2154b8 100644 --- a/Mathlib/RingTheory/Unramified/LocalStructure.lean +++ b/Mathlib/RingTheory/Unramified/LocalStructure.lean @@ -6,11 +6,12 @@ Authors: Andrew Yang module public import Mathlib.RingTheory.Etale.StandardEtale -import Mathlib.RingTheory.LocalRing.ResidueField.Instances public import Mathlib.RingTheory.RingHom.StandardSmooth -import Mathlib.RingTheory.Unramified.LocalRing public import Mathlib.RingTheory.ZariskisMainTheorem +import Mathlib.RingTheory.LocalRing.ResidueField.Instances +import Mathlib.RingTheory.Unramified.LocalRing + /-! # Local structure of unramified algebras diff --git a/Mathlib/RingTheory/Valuation/Basic.lean b/Mathlib/RingTheory/Valuation/Basic.lean index 6915b8f8ca4f2d..96f42ba85e0e0d 100644 --- a/Mathlib/RingTheory/Valuation/Basic.lean +++ b/Mathlib/RingTheory/Valuation/Basic.lean @@ -6,10 +6,11 @@ Authors: Kevin Buzzard, Johan Commelin, Patrick Massot, Filippo A. E. Nuccio module public import Mathlib.Algebra.Order.GroupWithZero.Range -import Mathlib.Algebra.Order.Ring.Basic public import Mathlib.Algebra.Ring.Torsion public import Mathlib.RingTheory.Ideal.Maps +import Mathlib.Algebra.Order.Ring.Basic + /-! # The basics of valuation theory. diff --git a/Mathlib/RingTheory/Valuation/DiscreteValuativeRel.lean b/Mathlib/RingTheory/Valuation/DiscreteValuativeRel.lean index 79f478aea427bd..7eeb314fdecbe2 100644 --- a/Mathlib/RingTheory/Valuation/DiscreteValuativeRel.lean +++ b/Mathlib/RingTheory/Valuation/DiscreteValuativeRel.lean @@ -5,9 +5,10 @@ Authors: Yakov Pechersky -/ module -import Mathlib.GroupTheory.ArchimedeanDensely public import Mathlib.RingTheory.Valuation.RankOne +import Mathlib.GroupTheory.ArchimedeanDensely + /-! # Discrete Valuative Relations diff --git a/Mathlib/RingTheory/Valuation/LocalSubring.lean b/Mathlib/RingTheory/Valuation/LocalSubring.lean index 4e19af1d0b5cb1..66509fa9b207bb 100644 --- a/Mathlib/RingTheory/Valuation/LocalSubring.lean +++ b/Mathlib/RingTheory/Valuation/LocalSubring.lean @@ -7,10 +7,11 @@ Authors: Andrew Yang, Yaël Dillies, Javier López-Contreras, Daniel Funck, Juny module public import Mathlib.RingTheory.LocalRing.LocalSubring -import Mathlib.RingTheory.Polynomial.Ideal public import Mathlib.RingTheory.Valuation.Integral public import Mathlib.RingTheory.Valuation.ValuationSubring +import Mathlib.RingTheory.Polynomial.Ideal + -- The copyright notice exceeds the maximum column width, but the `linter.style.header` linter -- flags the copyright notice if "All rights reserved." is not on the same line as "Copyright". set_option linter.style.header false diff --git a/Mathlib/RingTheory/Valuation/Minpoly.lean b/Mathlib/RingTheory/Valuation/Minpoly.lean index 801f11c3a92557..cbd089afd2a76b 100644 --- a/Mathlib/RingTheory/Valuation/Minpoly.lean +++ b/Mathlib/RingTheory/Valuation/Minpoly.lean @@ -5,10 +5,11 @@ Authors: María Inés de Frutos-Fernández, Filippo A. E. Nuccio -/ module -import Mathlib.FieldTheory.Minpoly.Field public import Mathlib.FieldTheory.Minpoly.Finite public import Mathlib.RingTheory.Valuation.Basic +import Mathlib.FieldTheory.Minpoly.Field + /-! # Minimal polynomials. diff --git a/Mathlib/RingTheory/Valuation/RankOne.lean b/Mathlib/RingTheory/Valuation/RankOne.lean index 05ff2ef78209be..a1e82a71660719 100644 --- a/Mathlib/RingTheory/Valuation/RankOne.lean +++ b/Mathlib/RingTheory/Valuation/RankOne.lean @@ -6,13 +6,14 @@ Authors: María Inés de Frutos-Fernández, Filippo A. E. Nuccio module public import Mathlib.Analysis.SpecialFunctions.Pow.Real -import Mathlib.Basic.Real.Embedding public import Mathlib.Combinatorics.Matroid.Init public import Mathlib.Data.Sym.Sym2 public import Mathlib.RingTheory.Valuation.ValuativeRel.Basic public import Mathlib.Tactic.NormNum.GCD public import Mathlib.Tactic.Positivity +import Mathlib.Basic.Real.Embedding + /-! # Rank one valuations diff --git a/Mathlib/RingTheory/WittVector/Compare.lean b/Mathlib/RingTheory/WittVector/Compare.lean index fd2d90cf1f3d9f..f96a349e6aac54 100644 --- a/Mathlib/RingTheory/WittVector/Compare.lean +++ b/Mathlib/RingTheory/WittVector/Compare.lean @@ -6,9 +6,10 @@ Authors: Johan Commelin, Robert Y. Lewis module public import Mathlib.RingTheory.WittVector.Truncated -import Mathlib.RingTheory.WittVector.Identities public import Mathlib.NumberTheory.Padics.RingHoms +import Mathlib.RingTheory.WittVector.Identities + /-! # Comparison isomorphism between `WittVector p (ZMod p)` and `ℤ_[p]` diff --git a/Mathlib/RingTheory/WittVector/Frobenius.lean b/Mathlib/RingTheory/WittVector/Frobenius.lean index 967f3689d929f7..2db1853827c6a0 100644 --- a/Mathlib/RingTheory/WittVector/Frobenius.lean +++ b/Mathlib/RingTheory/WittVector/Frobenius.lean @@ -5,9 +5,10 @@ Authors: Johan Commelin -/ module -import Mathlib.Algebra.Algebra.ZMod public import Mathlib.RingTheory.WittVector.IsPoly +import Mathlib.Algebra.Algebra.ZMod + /-! ## The Frobenius operator diff --git a/Mathlib/RingTheory/WittVector/Identities.lean b/Mathlib/RingTheory/WittVector/Identities.lean index 9b403815aacb6c..e127b9f376e68b 100644 --- a/Mathlib/RingTheory/WittVector/Identities.lean +++ b/Mathlib/RingTheory/WittVector/Identities.lean @@ -7,6 +7,7 @@ module public import Mathlib.RingTheory.WittVector.Frobenius public import Mathlib.RingTheory.WittVector.Verschiebung + import Mathlib.RingTheory.WittVector.MulP /-! diff --git a/Mathlib/RingTheory/WittVector/MulCoeff.lean b/Mathlib/RingTheory/WittVector/MulCoeff.lean index 362b59e4d54480..e1a79c1a984986 100644 --- a/Mathlib/RingTheory/WittVector/MulCoeff.lean +++ b/Mathlib/RingTheory/WittVector/MulCoeff.lean @@ -5,9 +5,10 @@ Authors: Robert Y. Lewis, Heather Macbeth -/ module -import Mathlib.Algebra.MvPolynomial.Supported public import Mathlib.RingTheory.WittVector.Truncated +import Mathlib.Algebra.MvPolynomial.Supported + /-! # Leading terms of Witt vector multiplication diff --git a/Mathlib/RingTheory/WittVector/StructurePolynomial.lean b/Mathlib/RingTheory/WittVector/StructurePolynomial.lean index 5136049aa955c1..7c4298a519a96f 100644 --- a/Mathlib/RingTheory/WittVector/StructurePolynomial.lean +++ b/Mathlib/RingTheory/WittVector/StructurePolynomial.lean @@ -6,9 +6,10 @@ Authors: Johan Commelin, Robert Y. Lewis module public import Mathlib.FieldTheory.Finite.Polynomial -import Mathlib.NumberTheory.Basic public import Mathlib.RingTheory.WittVector.WittPolynomial +import Mathlib.NumberTheory.Basic + /-! # Witt structure polynomials diff --git a/Mathlib/RingTheory/WittVector/WittPolynomial.lean b/Mathlib/RingTheory/WittVector/WittPolynomial.lean index fe9ffc72f77498..4bc591ba144595 100644 --- a/Mathlib/RingTheory/WittVector/WittPolynomial.lean +++ b/Mathlib/RingTheory/WittVector/WittPolynomial.lean @@ -8,6 +8,7 @@ module public import Mathlib.Algebra.CharP.Invertible public import Mathlib.Algebra.MvPolynomial.CommRing public import Mathlib.Algebra.MvPolynomial.Expand + import Mathlib.Data.ZMod.Basic /-! diff --git a/Mathlib/RingTheory/ZMod.lean b/Mathlib/RingTheory/ZMod.lean index ec9b9a63139039..12030416c35905 100644 --- a/Mathlib/RingTheory/ZMod.lean +++ b/Mathlib/RingTheory/ZMod.lean @@ -5,9 +5,10 @@ Authors: Alex J. Best -/ module -import Mathlib.Algebra.EuclideanDomain.Int public import Mathlib.Data.ZMod.Basic public import Mathlib.RingTheory.Nilpotent.Lemmas + +import Mathlib.Algebra.EuclideanDomain.Int import Mathlib.RingTheory.PrincipalIdealDomain /-! diff --git a/Mathlib/RingTheory/ZMod/Torsion.lean b/Mathlib/RingTheory/ZMod/Torsion.lean index 2329b906a6545b..854a59d7750ab3 100644 --- a/Mathlib/RingTheory/ZMod/Torsion.lean +++ b/Mathlib/RingTheory/ZMod/Torsion.lean @@ -6,6 +6,7 @@ Authors: Yakov Pechersky module public import Mathlib.RingTheory.RootsOfUnity.EnoughRootsOfUnity + import Mathlib.FieldTheory.Finite.Basic /-! diff --git a/Mathlib/RingTheory/ZMod/UnitsCyclic.lean b/Mathlib/RingTheory/ZMod/UnitsCyclic.lean index 67145b69c55a92..0e162bd807ebb8 100644 --- a/Mathlib/RingTheory/ZMod/UnitsCyclic.lean +++ b/Mathlib/RingTheory/ZMod/UnitsCyclic.lean @@ -7,10 +7,11 @@ module public import Mathlib.Algebra.Order.Star.Basic public import Mathlib.Analysis.Normed.Ring.Lemmas -import Mathlib.Data.Nat.Choose.Dvd public import Mathlib.Data.ZMod.Units public import Mathlib.FieldTheory.Finite.Basic +import Mathlib.Data.Nat.Choose.Dvd + /-! # Cyclicity of the units of `ZMod n` `ZMod.isCyclic_units_iff` : `(ZMod n)ˣ` is cyclic iff diff --git a/Mathlib/RingTheory/ZariskisMainTheorem.lean b/Mathlib/RingTheory/ZariskisMainTheorem.lean index 291382b700aedd..3b6b3d8441fb6c 100644 --- a/Mathlib/RingTheory/ZariskisMainTheorem.lean +++ b/Mathlib/RingTheory/ZariskisMainTheorem.lean @@ -7,9 +7,10 @@ module public import Mathlib.RingTheory.Algebraic.StronglyTranscendental public import Mathlib.RingTheory.Conductor -import Mathlib.RingTheory.IntegralClosure.GoingDown public import Mathlib.RingTheory.Polynomial.IsIntegral public import Mathlib.RingTheory.QuasiFinite.Polynomial + +import Mathlib.RingTheory.IntegralClosure.GoingDown import Mathlib.Algebra.Algebra.Shrink /-! diff --git a/Mathlib/SetTheory/Cardinal/CountableCover.lean b/Mathlib/SetTheory/Cardinal/CountableCover.lean index b10a7df766fa34..767f1acd12603c 100644 --- a/Mathlib/SetTheory/Cardinal/CountableCover.lean +++ b/Mathlib/SetTheory/Cardinal/CountableCover.lean @@ -6,9 +6,10 @@ Authors: Sébastien Gouëzel module public import Mathlib.SetTheory.Cardinal.Arithmetic -import Mathlib.Order.Filter.Finite public import Mathlib.Order.Filter.Map +import Mathlib.Order.Filter.Finite + /-! # Cardinality of a set with a countable cover diff --git a/Mathlib/SetTheory/Cardinal/Embedding.lean b/Mathlib/SetTheory/Cardinal/Embedding.lean index 0dc1ce7345374f..15a0ca507a3ebc 100644 --- a/Mathlib/SetTheory/Cardinal/Embedding.lean +++ b/Mathlib/SetTheory/Cardinal/Embedding.lean @@ -7,6 +7,7 @@ module public import Mathlib.Data.Fin.Tuple.Embedding public import Mathlib.SetTheory.Cardinal.NatCard + import Mathlib.Data.Set.Finite.Range /-! # Existence of embeddings from finite types diff --git a/Mathlib/SetTheory/Cardinal/Free.lean b/Mathlib/SetTheory/Cardinal/Free.lean index 960f7d561941ea..6455a5c95b2bf9 100644 --- a/Mathlib/SetTheory/Cardinal/Free.lean +++ b/Mathlib/SetTheory/Cardinal/Free.lean @@ -6,12 +6,13 @@ Authors: Eric Wieser, Daniel Weber module public import Mathlib.Algebra.FreeAbelianGroup.Finsupp +public import Mathlib.RingTheory.FreeCommRing +public import Mathlib.Algebra.MonoidAlgebra.Cardinal + import Mathlib.Algebra.Ring.TransferInstance import Mathlib.Data.Finsupp.Fintype import Mathlib.Data.ZMod.Defs import Mathlib.GroupTheory.FreeGroup.Reduce -public import Mathlib.RingTheory.FreeCommRing -public import Mathlib.Algebra.MonoidAlgebra.Cardinal /-! # Cardinalities of free constructions diff --git a/Mathlib/SetTheory/Cardinal/Order.lean b/Mathlib/SetTheory/Cardinal/Order.lean index 2408552d8f72de..100ad07f901639 100644 --- a/Mathlib/SetTheory/Cardinal/Order.lean +++ b/Mathlib/SetTheory/Cardinal/Order.lean @@ -8,11 +8,12 @@ module public import Mathlib.Algebra.Order.Ring.Canonical public import Mathlib.Data.Fintype.Option public import Mathlib.Order.InitialSeg -import Mathlib.Order.Nat public import Mathlib.Order.SuccPred.CompleteLinearOrder public import Mathlib.SetTheory.Cardinal.Defs public import Mathlib.SetTheory.Cardinal.SchroederBernstein +import Mathlib.Order.Nat + /-! # Order on cardinal numbers diff --git a/Mathlib/SetTheory/Cardinal/Rat.lean b/Mathlib/SetTheory/Cardinal/Rat.lean index 0d36f384737b72..0f83ab804d7ef6 100644 --- a/Mathlib/SetTheory/Cardinal/Rat.lean +++ b/Mathlib/SetTheory/Cardinal/Rat.lean @@ -6,10 +6,11 @@ Authors: Chris Hughes, Floris Van Doorn module public import Mathlib.Algebra.CharZero.Infinite -import Mathlib.Algebra.Ring.Rat public import Mathlib.Data.Rat.Encodable public import Mathlib.SetTheory.Cardinal.Basic +import Mathlib.Algebra.Ring.Rat + /-! # Cardinality of ℚ diff --git a/Mathlib/SetTheory/Cardinal/Subfield.lean b/Mathlib/SetTheory/Cardinal/Subfield.lean index 7fa69d25a8954c..33f9a4976e5dd0 100644 --- a/Mathlib/SetTheory/Cardinal/Subfield.lean +++ b/Mathlib/SetTheory/Cardinal/Subfield.lean @@ -7,6 +7,7 @@ module public import Mathlib.Algebra.Field.Subfield.Basic public import Mathlib.Data.W.Cardinal + import Mathlib.Tactic.FinCases /-! diff --git a/Mathlib/SetTheory/Lists.lean b/Mathlib/SetTheory/Lists.lean index 4b1031d84b4b6c..0da3c7b8d5bb78 100644 --- a/Mathlib/SetTheory/Lists.lean +++ b/Mathlib/SetTheory/Lists.lean @@ -9,9 +9,10 @@ public import Mathlib.Algebra.Order.Group.Nat public import Mathlib.Algebra.Order.Monoid.NatCast public import Mathlib.Algebra.Ring.Nat public import Mathlib.Data.Sigma.Basic -import Batteries.Tactic.Lint.TypeClass public import Mathlib.Util.CompileInductive +import Batteries.Tactic.Lint.TypeClass + /-! # A computable model of ZFA without infinity diff --git a/Mathlib/SetTheory/Ordinal/Notation.lean b/Mathlib/SetTheory/Ordinal/Notation.lean index 20fa9bd1cbfc02..d796e31b332c1c 100644 --- a/Mathlib/SetTheory/Ordinal/Notation.lean +++ b/Mathlib/SetTheory/Ordinal/Notation.lean @@ -5,10 +5,11 @@ Authors: Mario Carneiro -/ module -import Mathlib.Algebra.Ring.Divisibility.Basic -import Mathlib.Data.Ordering.Lemmas public import Mathlib.Data.PNat.Basic public import Mathlib.SetTheory.Ordinal.Principal + +import Mathlib.Algebra.Ring.Divisibility.Basic +import Mathlib.Data.Ordering.Lemmas import Mathlib.Tactic.NormNum /-! diff --git a/Mathlib/SetTheory/Ordinal/Topology.lean b/Mathlib/SetTheory/Ordinal/Topology.lean index e13f9b8f99f270..b723bacc27e9e2 100644 --- a/Mathlib/SetTheory/Ordinal/Topology.lean +++ b/Mathlib/SetTheory/Ordinal/Topology.lean @@ -7,9 +7,10 @@ module public import Mathlib.SetTheory.Cardinal.Cofinality.Enum public import Mathlib.SetTheory.Ordinal.Enum -import Mathlib.Topology.Order.Monotone public import Mathlib.Topology.Order.SuccPred +import Mathlib.Topology.Order.Monotone + /-! # Topology of ordinals diff --git a/Mathlib/Tactic/Algebra/Lemmas.lean b/Mathlib/Tactic/Algebra/Lemmas.lean index df3e0ff69c7771..a31efd35ce7b70 100644 --- a/Mathlib/Tactic/Algebra/Lemmas.lean +++ b/Mathlib/Tactic/Algebra/Lemmas.lean @@ -6,8 +6,9 @@ Authors: Arend Mellendijk module public import Mathlib.Algebra.Algebra.Defs -import Mathlib.Data.Finset.Attr public import Mathlib.Tactic.Ring.Basic + +import Mathlib.Data.Finset.Attr import Mathlib.Tactic.SetLike /-! # Lemmas for the `algebra` tactic. diff --git a/Mathlib/Tactic/Attr/Core.lean b/Mathlib/Tactic/Attr/Core.lean index 6c37da9893033b..f2002f6195da62 100644 --- a/Mathlib/Tactic/Attr/Core.lean +++ b/Mathlib/Tactic/Attr/Core.lean @@ -5,9 +5,10 @@ Authors: Yury Kudryashov -/ module -import Mathlib.Tactic.Attr.Register public import Std.Data.DTreeMap.Internal.Operations +import Mathlib.Tactic.Attr.Register + /-! # Simp tags for core lemmas diff --git a/Mathlib/Tactic/Cases.lean b/Mathlib/Tactic/Cases.lean index d55b876b043776..8d5af78d48dbe9 100644 --- a/Mathlib/Tactic/Cases.lean +++ b/Mathlib/Tactic/Cases.lean @@ -8,9 +8,10 @@ module public meta import Lean.Elab.Tactic.Induction public meta import Batteries.Data.List.Basic public meta import Batteries.Lean.Expr -import all Lean.Elab.Tactic.Induction -- for `getElimNameInfo` public import Mathlib.Init +import all Lean.Elab.Tactic.Induction -- for `getElimNameInfo` + /-! # Backward compatible implementation of lean 3 `cases` tactic diff --git a/Mathlib/Tactic/Clean.lean b/Mathlib/Tactic/Clean.lean index 17883be60825f1..869ad953ba1807 100644 --- a/Mathlib/Tactic/Clean.lean +++ b/Mathlib/Tactic/Clean.lean @@ -5,9 +5,10 @@ Authors: Mario Carneiro, Michail Karatarakis, Kyle Miller -/ module -import Mathlib.Init public meta import Lean.Elab.SyntheticMVars +import Mathlib.Init + /-! # `clean%` term elaborator diff --git a/Mathlib/Tactic/ClickSuggestions/TryPremises.lean b/Mathlib/Tactic/ClickSuggestions/TryPremises.lean index cbd8843a7f631c..c6abb085ff7832 100644 --- a/Mathlib/Tactic/ClickSuggestions/TryPremises.lean +++ b/Mathlib/Tactic/ClickSuggestions/TryPremises.lean @@ -6,6 +6,7 @@ Authors: Jovan Gerbscheid module public import Mathlib.Tactic.ClickSuggestions.FindPremises + meta import Mathlib.Tactic.ClickSuggestions.FindPremises /-! diff --git a/Mathlib/Tactic/ClickSuggestions/Unfold.lean b/Mathlib/Tactic/ClickSuggestions/Unfold.lean index 5ee456055b8d01..1b322bcc68f4a4 100644 --- a/Mathlib/Tactic/ClickSuggestions/Unfold.lean +++ b/Mathlib/Tactic/ClickSuggestions/Unfold.lean @@ -5,9 +5,10 @@ Authors: Jovan Gerbscheid -/ module -import ProofWidgets.Component.Basic public import Mathlib.Tactic.ClickSuggestions.Util +import ProofWidgets.Component.Basic + /-! # Interactive unfolding diff --git a/Mathlib/Tactic/ComputeAsymptotics/Multiseries/Corecursion.lean b/Mathlib/Tactic/ComputeAsymptotics/Multiseries/Corecursion.lean index 9a68984fb806ae..2485a9c5a61b3d 100644 --- a/Mathlib/Tactic/ComputeAsymptotics/Multiseries/Corecursion.lean +++ b/Mathlib/Tactic/ComputeAsymptotics/Multiseries/Corecursion.lean @@ -9,6 +9,7 @@ public import Mathlib.Topology.MetricSpace.PiNat public import Mathlib.Topology.MetricSpace.UniformConvergence public import Mathlib.Topology.MetricSpace.Contracting public import Mathlib.Data.Seq.Defs + import Mathlib.Tactic.ENatToNat /-! diff --git a/Mathlib/Tactic/ContinuousFunctionalCalculus.lean b/Mathlib/Tactic/ContinuousFunctionalCalculus.lean index 61b1ea71d51936..5a17866158d94f 100644 --- a/Mathlib/Tactic/ContinuousFunctionalCalculus.lean +++ b/Mathlib/Tactic/ContinuousFunctionalCalculus.lean @@ -6,6 +6,7 @@ Authors: Jireh Loreaux module public import Aesop + import Mathlib.Tactic.FunProp /-! diff --git a/Mathlib/Tactic/Convert.lean b/Mathlib/Tactic/Convert.lean index e2fa4f5d2af826..9989e49cb4ac4f 100644 --- a/Mathlib/Tactic/Convert.lean +++ b/Mathlib/Tactic/Convert.lean @@ -7,6 +7,7 @@ module public import Mathlib.Data.Nat.Notation public import Mathlib.Tactic.CongrExclamation + meta import Mathlib.Tactic.CongrExclamation /-! diff --git a/Mathlib/Tactic/DSimpPercent.lean b/Mathlib/Tactic/DSimpPercent.lean index 0a3ba938db9115..86700cb1da6a68 100644 --- a/Mathlib/Tactic/DSimpPercent.lean +++ b/Mathlib/Tactic/DSimpPercent.lean @@ -6,6 +6,7 @@ Authors: Robin Carlier, Jovan Gerbscheid module public import Mathlib.Init + import Lean.Elab.Tactic.Simp /-! diff --git a/Mathlib/Tactic/DepRewrite.lean b/Mathlib/Tactic/DepRewrite.lean index 3e6bf85e91d1cd..49ea3ffaa1bede 100644 --- a/Mathlib/Tactic/DepRewrite.lean +++ b/Mathlib/Tactic/DepRewrite.lean @@ -8,9 +8,10 @@ module public meta import Lean.Elab.Tactic.Simp public meta import Lean.Elab.Tactic.Conv.Basic public meta import Lean.Elab.Tactic.Rewrite -import Mathlib.Init public import Lean.Elab.ConfigEval public meta import Lean.Elab.ConfigEval.Basic + +import Mathlib.Init meta import Lean.Elab.ConfigEval.DeriveEvalExpr meta import Lean.Elab.ConfigEval.DeriveEvalTerm meta import Lean.Elab.ConfigEval.MetaInstances diff --git a/Mathlib/Tactic/DeprecateTo.lean b/Mathlib/Tactic/DeprecateTo.lean index 51db460fa9039d..07f4f7bf6694df 100644 --- a/Mathlib/Tactic/DeprecateTo.lean +++ b/Mathlib/Tactic/DeprecateTo.lean @@ -5,12 +5,12 @@ Authors: Damiano Testa -/ module -import Batteries.Tactic.Alias public import Mathlib.Init - public meta import Std.Time.Format public meta import Mathlib.Lean.Name +import Batteries.Tactic.Alias + /-! # `#deprecate to` -- a deprecation tool diff --git a/Mathlib/Tactic/DeriveEncodable.lean b/Mathlib/Tactic/DeriveEncodable.lean index 522697bdddee76..a98666817ded0a 100644 --- a/Mathlib/Tactic/DeriveEncodable.lean +++ b/Mathlib/Tactic/DeriveEncodable.lean @@ -7,6 +7,7 @@ module public meta import Lean.Meta.Transform public meta import Lean.Elab.Deriving.Util -- shake: keep (???) + import Mathlib.Logic.Encodable.Basic import Mathlib.Data.Nat.Pairing import Aesop.BuiltinRules diff --git a/Mathlib/Tactic/DuplicateDecls.lean b/Mathlib/Tactic/DuplicateDecls.lean index d7cd657d6afdfe..d8ccb32bdcffd3 100644 --- a/Mathlib/Tactic/DuplicateDecls.lean +++ b/Mathlib/Tactic/DuplicateDecls.lean @@ -7,6 +7,7 @@ module public import Mathlib.Init public import ImportGraph.Lean.Environment -- shake: keep (Environment.getModuleFor? is used from public meta code), cf. lean#14427 + meta import ImportGraph.Lean.Environment /-! diff --git a/Mathlib/Tactic/Echelon/Cert.lean b/Mathlib/Tactic/Echelon/Cert.lean index 5f802610e49e33..0bd22b813797f1 100644 --- a/Mathlib/Tactic/Echelon/Cert.lean +++ b/Mathlib/Tactic/Echelon/Cert.lean @@ -7,9 +7,10 @@ module public import Mathlib.LinearAlgebra.Matrix.Echelon.Decomposition -- shake: keep (Qq dependency) public import Mathlib.Tactic.Echelon.Core -import Mathlib.Util.Qq public meta import Mathlib.Tactic.Echelon.Core +import Mathlib.Util.Qq + /-! # Certificate construction for the Bareiss decomposition diff --git a/Mathlib/Tactic/Ext.lean b/Mathlib/Tactic/Ext.lean index 66b748eafba575..f2795c718875d3 100644 --- a/Mathlib/Tactic/Ext.lean +++ b/Mathlib/Tactic/Ext.lean @@ -5,9 +5,10 @@ Authors: Eric Wieser -/ module -import Mathlib.Init public import Batteries.Util.LibraryNote +import Mathlib.Init + /-! # Documentation for `ext` tactic diff --git a/Mathlib/Tactic/ExtractGoal.lean b/Mathlib/Tactic/ExtractGoal.lean index c6d2bb8d1504bc..8a8ed58148e185 100644 --- a/Mathlib/Tactic/ExtractGoal.lean +++ b/Mathlib/Tactic/ExtractGoal.lean @@ -10,9 +10,10 @@ public meta import Lean.Elab.Tactic.ElabTerm public meta import Lean.Meta.Tactic.Cleanup public meta import Lean.PrettyPrinter public meta import Batteries.Lean.Meta.Inaccessible -import Lean.Elab.Command public import Mathlib.Tactic.MinImports +import Lean.Elab.Command + /-! # `extract_goal`: Format the current goal as a stand-alone example diff --git a/Mathlib/Tactic/FieldSimp/Discharger.lean b/Mathlib/Tactic/FieldSimp/Discharger.lean index dbba1bc25883e4..92a46fdbd32039 100644 --- a/Mathlib/Tactic/FieldSimp/Discharger.lean +++ b/Mathlib/Tactic/FieldSimp/Discharger.lean @@ -5,10 +5,11 @@ Authors: Sébastien Gouëzel, David Renshaw -/ module -import all Lean.Meta.Tactic.Simp.Rewrite -- for `Simp.dischargeUsingAssumption?` public import Mathlib.Tactic.Positivity.Core public import Mathlib.Util.DischargerAsTactic +import all Lean.Meta.Tactic.Simp.Rewrite -- for `Simp.dischargeUsingAssumption?` + /-! # Discharger for `field_simp` tactic diff --git a/Mathlib/Tactic/FinCases.lean b/Mathlib/Tactic/FinCases.lean index 03119ce53d02d6..3cbff300eea06b 100644 --- a/Mathlib/Tactic/FinCases.lean +++ b/Mathlib/Tactic/FinCases.lean @@ -7,10 +7,11 @@ module public meta import Mathlib.Tactic.Core public meta import Mathlib.Lean.Expr.Basic -import Mathlib.Data.Finset.Attr public import Mathlib.Data.Fintype.Defs public meta import Mathlib.Tactic.ToDual +import Mathlib.Data.Finset.Attr + /-! # The `fin_cases` tactic. diff --git a/Mathlib/Tactic/Finiteness/Attr.lean b/Mathlib/Tactic/Finiteness/Attr.lean index dc7b3edf8666b3..b327f4d0c04b6a 100644 --- a/Mathlib/Tactic/Finiteness/Attr.lean +++ b/Mathlib/Tactic/Finiteness/Attr.lean @@ -5,9 +5,10 @@ Authors: Floris van Doorn -/ module -import Mathlib.Init public import Aesop.Frontend +import Mathlib.Init + /-! # Finiteness tactic attribute -/ declare_aesop_rule_sets [finiteness] diff --git a/Mathlib/Tactic/FunProp/Elab.lean b/Mathlib/Tactic/FunProp/Elab.lean index 8523ba1a730826..8a82a1cff42a3d 100644 --- a/Mathlib/Tactic/FunProp/Elab.lean +++ b/Mathlib/Tactic/FunProp/Elab.lean @@ -6,11 +6,11 @@ Authors: Tomáš Skřivan module public import Mathlib.Tactic.FunProp.Core +public meta import Lean.Elab.ConfigEval import Mathlib.Tactic.InferParam import Lean.Elab.InfoTree.Main import Lean.Elab.ConfigEval -public meta import Lean.Elab.ConfigEval /-! ## `funProp` tactic syntax diff --git a/Mathlib/Tactic/FunProp/Theorems.lean b/Mathlib/Tactic/FunProp/Theorems.lean index efebc1adb58d85..516f6bedc9e87b 100644 --- a/Mathlib/Tactic/FunProp/Theorems.lean +++ b/Mathlib/Tactic/FunProp/Theorems.lean @@ -9,11 +9,12 @@ public meta import Mathlib.Tactic.FunProp.Decl public meta import Mathlib.Tactic.FunProp.Types public meta import Mathlib.Tactic.FunProp.FunctionData public meta import Mathlib.Lean.Meta.RefinedDiscrTree.Initialize -import Mathlib.Lean.Meta.RefinedDiscrTree.Lookup public meta import Mathlib.Lean.Meta.RefinedDiscrTree.Lookup public import Mathlib.Tactic.FunProp.Decl public import Mathlib.Tactic.FunProp.Types +import Mathlib.Lean.Meta.RefinedDiscrTree.Lookup + /-! ## `fun_prop` environment extensions storing theorems for `fun_prop` -/ diff --git a/Mathlib/Tactic/GRewrite/Core.lean b/Mathlib/Tactic/GRewrite/Core.lean index 1aa6ef1193ea60..441ab8ca3c6c9f 100644 --- a/Mathlib/Tactic/GRewrite/Core.lean +++ b/Mathlib/Tactic/GRewrite/Core.lean @@ -8,6 +8,7 @@ module public meta import Lean.Meta.Tactic.Rewrite public import Mathlib.Tactic.GCongr.Core public import Lean.Meta.Tactic.Rewrite + meta import Mathlib.Tactic.GCongr.Core /-! diff --git a/Mathlib/Tactic/GRewrite/Elab.lean b/Mathlib/Tactic/GRewrite/Elab.lean index 198ec65dcd1a0f..335b6fdac30d16 100644 --- a/Mathlib/Tactic/GRewrite/Elab.lean +++ b/Mathlib/Tactic/GRewrite/Elab.lean @@ -6,9 +6,10 @@ Authors: Jovan Gerbscheid, Sebastian Zimmer, Mario Carneiro, Heather Macbeth module public meta import Lean.Elab.Tactic.Rewrite -import Lean.Elab.ConfigEval public meta import Lean.Elab.ConfigEval public import Mathlib.Tactic.GRewrite.Core + +import Lean.Elab.ConfigEval meta import Mathlib.Tactic.GRewrite.Core /-! diff --git a/Mathlib/Tactic/Generalize.lean b/Mathlib/Tactic/Generalize.lean index 072e68db2a0003..18cdedcabd4381 100644 --- a/Mathlib/Tactic/Generalize.lean +++ b/Mathlib/Tactic/Generalize.lean @@ -5,11 +5,12 @@ Authors: Kim Morrison -/ module -import Mathlib.Init public meta import Lean.Elab.Binders public meta import Lean.Elab.Tactic.ElabTerm public meta import Lean.Meta.Tactic.Generalize +import Mathlib.Init + /-! # Backwards compatibility shim for `generalize`. diff --git a/Mathlib/Tactic/GrindAttrs.lean b/Mathlib/Tactic/GrindAttrs.lean index a2ecf5dfd251d2..732ec262c57a26 100644 --- a/Mathlib/Tactic/GrindAttrs.lean +++ b/Mathlib/Tactic/GrindAttrs.lean @@ -7,6 +7,7 @@ Authors: Floris van Doorn module public import Lean.Meta.Tactic.Grind.RegisterCommand + import Mathlib.Init /-! diff --git a/Mathlib/Tactic/GuardGoalNums.lean b/Mathlib/Tactic/GuardGoalNums.lean index 3f05d617b7beba..425f0283ac16cc 100644 --- a/Mathlib/Tactic/GuardGoalNums.lean +++ b/Mathlib/Tactic/GuardGoalNums.lean @@ -5,9 +5,10 @@ Authors: Robert Y. Lewis -/ module -import Mathlib.Init public meta import Lean.Elab.Tactic.Basic +import Mathlib.Init + /-! A tactic stub file for the `guard_goal_nums` tactic. diff --git a/Mathlib/Tactic/GuardHypNums.lean b/Mathlib/Tactic/GuardHypNums.lean index 9dbd2bdcc98584..64283ef24b5c00 100644 --- a/Mathlib/Tactic/GuardHypNums.lean +++ b/Mathlib/Tactic/GuardHypNums.lean @@ -5,9 +5,10 @@ Authors: Robert Y. Lewis -/ module -import Mathlib.Init public meta import Lean.Elab.Tactic.Basic +import Mathlib.Init + /-! A tactic stub file for the `guard_hyp_nums` tactic. -/ diff --git a/Mathlib/Tactic/Inclusion/Extension/IntervalDyadicReal/Rational.lean b/Mathlib/Tactic/Inclusion/Extension/IntervalDyadicReal/Rational.lean index 64c7cced5d5bc6..0e74b7e52c560e 100644 --- a/Mathlib/Tactic/Inclusion/Extension/IntervalDyadicReal/Rational.lean +++ b/Mathlib/Tactic/Inclusion/Extension/IntervalDyadicReal/Rational.lean @@ -6,6 +6,7 @@ Authors: David Ledvinka module public import Mathlib.Tactic.Inclusion.Extension.IntervalDyadicReal.Basic + import Mathlib.Data.Rat.Cast.Lemmas /-! diff --git a/Mathlib/Tactic/Inclusion/Extension/IntervalDyadicReal/Tactic.lean b/Mathlib/Tactic/Inclusion/Extension/IntervalDyadicReal/Tactic.lean index a095e334102e54..c238c966732ccc 100644 --- a/Mathlib/Tactic/Inclusion/Extension/IntervalDyadicReal/Tactic.lean +++ b/Mathlib/Tactic/Inclusion/Extension/IntervalDyadicReal/Tactic.lean @@ -7,9 +7,10 @@ module public meta import Mathlib.Tactic.Inclusion.Core.Elab public meta import Mathlib.Tactic.Inclusion.Extension.Core.Core -import Mathlib.Tactic.Inclusion.Extension.IntervalDyadicReal.Rational public meta import Mathlib.Tactic.Inclusion.Extension.IntervalDyadicReal.Hypotheses +import Mathlib.Tactic.Inclusion.Extension.IntervalDyadicReal.Rational + /-! # The `dyadic_interval` tactic diff --git a/Mathlib/Tactic/IrreducibleDef.lean b/Mathlib/Tactic/IrreducibleDef.lean index cf8bf617bcab22..e71b988af9ff21 100644 --- a/Mathlib/Tactic/IrreducibleDef.lean +++ b/Mathlib/Tactic/IrreducibleDef.lean @@ -5,9 +5,10 @@ Authors: Gabriel Ebner -/ module -import Mathlib.Tactic.Eqns public import Mathlib.Util.TermReduce +import Mathlib.Tactic.Eqns + /-! # Irreducible definitions diff --git a/Mathlib/Tactic/Lift.lean b/Mathlib/Tactic/Lift.lean index b580e3ba7e5e00..ca0bc86113fc48 100644 --- a/Mathlib/Tactic/Lift.lean +++ b/Mathlib/Tactic/Lift.lean @@ -8,6 +8,7 @@ module public meta import Batteries.Lean.Expr public meta import Batteries.Lean.Meta.UnusedNames public meta import Lean.Elab.Tactic.RCases + import Mathlib.Tactic.TypeStar /-! diff --git a/Mathlib/Tactic/Linter/DirectoryDependency.lean b/Mathlib/Tactic/Linter/DirectoryDependency.lean index 4b6d79b210435e..73fe1ea821a402 100644 --- a/Mathlib/Tactic/Linter/DirectoryDependency.lean +++ b/Mathlib/Tactic/Linter/DirectoryDependency.lean @@ -8,9 +8,10 @@ module public meta import Lean.Elab.Command public meta import Lean.Elab.ParseImportsFast public meta import Lean.Elab.AssertExists -meta import Lean.Data.Json.FromToJson.Extra public import Lean.Message +meta import Lean.Data.Json.FromToJson.Extra + -- This file is imported by the Header linter, hence has no mathlib imports. /-! # The `directoryDependency` linter diff --git a/Mathlib/Tactic/Linter/DocString.lean b/Mathlib/Tactic/Linter/DocString.lean index 9c2dbdc3a3b28f..a95884db5b0df5 100644 --- a/Mathlib/Tactic/Linter/DocString.lean +++ b/Mathlib/Tactic/Linter/DocString.lean @@ -10,6 +10,7 @@ module public meta import Mathlib.Tactic.Linter.Header -- shake: keep public meta import Std.Data.Iterators.Combinators.Zip public import Lean.Parser.Command + meta import Std.Data.Iterators.Producers.Range /-! diff --git a/Mathlib/Tactic/Linter/PrivateModule.lean b/Mathlib/Tactic/Linter/PrivateModule.lean index 98e5a15f67abc6..4348ed47a50c6e 100644 --- a/Mathlib/Tactic/Linter/PrivateModule.lean +++ b/Mathlib/Tactic/Linter/PrivateModule.lean @@ -6,11 +6,12 @@ Authors: Thomas R. Murrills module public meta import Lean.Elab.Command -import Lean.Environment -- Import this linter explicitly to ensure that -- this file has a valid copyright header and module docstring. public import Mathlib.Tactic.Linter.Header -- shake: keep +import Lean.Environment + /-! # Private module linter diff --git a/Mathlib/Tactic/Linter/Style.lean b/Mathlib/Tactic/Linter/Style.lean index 2362bdded17dd1..c7321f245f0b07 100644 --- a/Mathlib/Tactic/Linter/Style.lean +++ b/Mathlib/Tactic/Linter/Style.lean @@ -9,11 +9,12 @@ public meta import Lean.Elab.Command -- Import this linter explicitly to ensure that -- this file has a valid copyright header and module docstring. public meta import Mathlib.Tactic.Linter.Header -- shake: keep -import Lean.Parser.Command public import Mathlib.Tactic.DeclarationNames public import Batteries.Tactic.Lint.Basic public import Lean.Parser.Module +import Lean.Parser.Command + /-! ## Style linters diff --git a/Mathlib/Tactic/Matrix/Parsing.lean b/Mathlib/Tactic/Matrix/Parsing.lean index 1036c0ba674939..5a4d21524d84a6 100644 --- a/Mathlib/Tactic/Matrix/Parsing.lean +++ b/Mathlib/Tactic/Matrix/Parsing.lean @@ -7,6 +7,7 @@ module public meta import Mathlib.LinearAlgebra.Matrix.Notation -- shake: keep (!![] elaboration) public import Mathlib.Data.Fin.VecNotation + import Mathlib.Data.Finset.Attr import Mathlib.LinearAlgebra.Matrix.Defs import Mathlib.Tactic.Bound.Init diff --git a/Mathlib/Tactic/Measurability/Init.lean b/Mathlib/Tactic/Measurability/Init.lean index 96b78fae23a22f..89324b3da7752a 100644 --- a/Mathlib/Tactic/Measurability/Init.lean +++ b/Mathlib/Tactic/Measurability/Init.lean @@ -5,9 +5,10 @@ Authors: Miyahara Kō -/ module -import Mathlib.Init public import Aesop +import Mathlib.Init + /-! # Measurability Rule Set diff --git a/Mathlib/Tactic/NormNum/Irrational.lean b/Mathlib/Tactic/NormNum/Irrational.lean index b1c18d15de50cd..4a6b425bef4c64 100644 --- a/Mathlib/Tactic/NormNum/Irrational.lean +++ b/Mathlib/Tactic/NormNum/Irrational.lean @@ -8,9 +8,10 @@ module public import Mathlib.Analysis.SpecialFunctions.Pow.Real public import Mathlib.NumberTheory.Real.Irrational public import Mathlib.Tactic.NormNum.GCD -import Mathlib.Tactic.Qify public import Mathlib.Tactic.Rify +import Mathlib.Tactic.Qify + /-! # `norm_num` extension for `Irrational` This module defines a `norm_num` extension for `Irrational x ^ y` for rational `x` and `y`. It also diff --git a/Mathlib/Tactic/NormNum/OfScientific.lean b/Mathlib/Tactic/NormNum/OfScientific.lean index de568da1971ca0..1660dbf2be03c7 100644 --- a/Mathlib/Tactic/NormNum/OfScientific.lean +++ b/Mathlib/Tactic/NormNum/OfScientific.lean @@ -6,8 +6,9 @@ Authors: Mario Carneiro, Thomas Murrills module public import Mathlib.Tactic.NormNum.Basic -import Mathlib.Data.Rat.Cast.Defs public import Mathlib.Tactic.Positivity.Basic + +import Mathlib.Data.Rat.Cast.Defs import Mathlib.Tactic.SetLike /-! diff --git a/Mathlib/Tactic/NormNum/Result.lean b/Mathlib/Tactic/NormNum/Result.lean index bbf5e8a2cd5266..b233d2914da8ef 100644 --- a/Mathlib/Tactic/NormNum/Result.lean +++ b/Mathlib/Tactic/NormNum/Result.lean @@ -8,10 +8,10 @@ module public import Mathlib.Algebra.Field.Defs public import Mathlib.Algebra.GroupWithZero.Invertible public import Mathlib.Algebra.Ring.Nat -import Mathlib.Data.Int.Cast.Basic - public meta import Mathlib.Data.Sigma.Basic -- for the `Inhabited (Sigma β)` instance +import Mathlib.Data.Int.Cast.Basic + /-! ## The `Result` type for `norm_num` diff --git a/Mathlib/Tactic/Observe.lean b/Mathlib/Tactic/Observe.lean index b56afab69142ce..c64138e834f287 100644 --- a/Mathlib/Tactic/Observe.lean +++ b/Mathlib/Tactic/Observe.lean @@ -5,11 +5,12 @@ Authors: Johan Commelin -/ module -import Mathlib.Init public meta import Lean.Meta.Tactic.TryThis public meta import Lean.Elab.Tactic.ElabTerm public meta import Lean.Meta.Tactic.LibrarySearch +import Mathlib.Init + /-! # The `observe` tactic. diff --git a/Mathlib/Tactic/Polynomial/Core.lean b/Mathlib/Tactic/Polynomial/Core.lean index 1c7ab0c3e182c1..e3712838a47acf 100644 --- a/Mathlib/Tactic/Polynomial/Core.lean +++ b/Mathlib/Tactic/Polynomial/Core.lean @@ -5,10 +5,11 @@ Authors: Arend Mellendijk -/ module -meta import Lean.Compiler.IR.CompilerM public meta import Lean.Meta.Tactic.Simp.Attr public import Mathlib.Init +meta import Lean.Compiler.IR.CompilerM + /-! # Setup for the `polynomial` tactic diff --git a/Mathlib/Tactic/Polyrith.lean b/Mathlib/Tactic/Polyrith.lean index cbfc1beba15552..b5c9791af9d25e 100644 --- a/Mathlib/Tactic/Polyrith.lean +++ b/Mathlib/Tactic/Polyrith.lean @@ -6,6 +6,7 @@ Authors: Dhruv Bhatia, Eric Wieser, Mario Carneiro, Thomas Zhu module public meta import Lean.Elab.Tactic.Basic + import Mathlib.Init /-! diff --git a/Mathlib/Tactic/ReduceModChar/Ext.lean b/Mathlib/Tactic/ReduceModChar/Ext.lean index 06af1020506768..cb9ae7abcac52a 100644 --- a/Mathlib/Tactic/ReduceModChar/Ext.lean +++ b/Mathlib/Tactic/ReduceModChar/Ext.lean @@ -5,9 +5,10 @@ Authors: Anne Baanen -/ module -import Mathlib.Init public meta import Lean.Meta.Tactic.Simp.Attr +import Mathlib.Init + /-! # `@[reduce_mod_char]` attribute diff --git a/Mathlib/Tactic/Relation/Rfl.lean b/Mathlib/Tactic/Relation/Rfl.lean index 8c598dc5076e97..8cd63b3dfb73c5 100644 --- a/Mathlib/Tactic/Relation/Rfl.lean +++ b/Mathlib/Tactic/Relation/Rfl.lean @@ -5,9 +5,10 @@ Authors: Newell Jensen -/ module -import Mathlib.Init public meta import Lean.Meta.Tactic.Rfl +import Mathlib.Init + /-! # `Mathlib.Tactic.liftReflToEq` diff --git a/Mathlib/Tactic/Relation/Symm.lean b/Mathlib/Tactic/Relation/Symm.lean index a59b9c5722e507..0f8fdc3c93c57c 100644 --- a/Mathlib/Tactic/Relation/Symm.lean +++ b/Mathlib/Tactic/Relation/Symm.lean @@ -5,9 +5,10 @@ Authors: Kim Morrison -/ module -import Mathlib.Init public meta import Lean.Meta.Tactic.Symm +import Mathlib.Init + /-! # `relSidesIfSymm?` -/ diff --git a/Mathlib/Tactic/SetLike.lean b/Mathlib/Tactic/SetLike.lean index 8e486f08ef680b..39706597ae00b5 100644 --- a/Mathlib/Tactic/SetLike.lean +++ b/Mathlib/Tactic/SetLike.lean @@ -7,10 +7,11 @@ module public import Aesop.Frontend public meta import Batteries.Util.LibraryNote -import Mathlib.Init public import Aesop.Frontend.Basic public import Batteries.Util.LibraryNote +import Mathlib.Init + /-! # SetLike Rule Set diff --git a/Mathlib/Tactic/SimpIntro.lean b/Mathlib/Tactic/SimpIntro.lean index 60c826e75d6331..317cf900314809 100644 --- a/Mathlib/Tactic/SimpIntro.lean +++ b/Mathlib/Tactic/SimpIntro.lean @@ -5,8 +5,9 @@ Authors: Mario Carneiro -/ module -import Lean.Elab.Tactic.Simp public meta import Lean.Elab.Tactic.Simp + +import Lean.Elab.Tactic.Simp import Mathlib.Init /-! # `simp_intro` tactic -/ diff --git a/Mathlib/Tactic/SimpLibraryNote.lean b/Mathlib/Tactic/SimpLibraryNote.lean index dedf7880f388c5..2a0327592dba50 100644 --- a/Mathlib/Tactic/SimpLibraryNote.lean +++ b/Mathlib/Tactic/SimpLibraryNote.lean @@ -7,6 +7,7 @@ Authors: Paul Lezeau module public import Batteries.Util.LibraryNote + import Mathlib.Init /-! # Simp Lemmas With Weak Keys Library Note diff --git a/Mathlib/Tactic/Simproc/Divisors.lean b/Mathlib/Tactic/Simproc/Divisors.lean index 38bfa3e77c26fb..7547617cd0fa18 100644 --- a/Mathlib/Tactic/Simproc/Divisors.lean +++ b/Mathlib/Tactic/Simproc/Divisors.lean @@ -8,6 +8,7 @@ module public meta import Mathlib.NumberTheory.Divisors public meta import Mathlib.Tactic.ToAdditive public meta import Mathlib.Util.Qq + import Mathlib.Data.Finset.Attr import Mathlib.Tactic.Bound.Init import Mathlib.Tactic.Common diff --git a/Mathlib/Tactic/Simproc/ExistsAndEq.lean b/Mathlib/Tactic/Simproc/ExistsAndEq.lean index ac51d63cd1a6a6..c751df996c55f7 100644 --- a/Mathlib/Tactic/Simproc/ExistsAndEq.lean +++ b/Mathlib/Tactic/Simproc/ExistsAndEq.lean @@ -8,6 +8,7 @@ module public import Mathlib.Init public meta import Qq public import Qq + import Qq.Typ /-! diff --git a/Mathlib/Tactic/SuppressCompilation.lean b/Mathlib/Tactic/SuppressCompilation.lean index 6c20fbb251afe8..e0672907ef0582 100644 --- a/Mathlib/Tactic/SuppressCompilation.lean +++ b/Mathlib/Tactic/SuppressCompilation.lean @@ -5,9 +5,10 @@ Authors: Alex J. Best, Mac Malone -/ module -import Mathlib.Init public meta import Lean.Elab.Declaration +import Mathlib.Init + /-! # Suppressing compilation to executable code in a file or in a section diff --git a/Mathlib/Tactic/TFAE.lean b/Mathlib/Tactic/TFAE.lean index 6dc0b15d8c7f06..0e6efcae2532c9 100644 --- a/Mathlib/Tactic/TFAE.lean +++ b/Mathlib/Tactic/TFAE.lean @@ -8,9 +8,10 @@ module public meta import Qq public meta import Mathlib.Util.AtomM public import Mathlib.Data.List.Pairwise -- shake: keep (dependency of Qq output) +public import Mathlib.Util.AtomM + import Mathlib.Data.Nat.Notation import Mathlib.Tactic.ExtendDoc -public import Mathlib.Util.AtomM /-! # The Following Are Equivalent (TFAE) diff --git a/Mathlib/Tactic/ToDual.lean b/Mathlib/Tactic/ToDual.lean index f4c84763a825d9..d03ec6a3032c83 100644 --- a/Mathlib/Tactic/ToDual.lean +++ b/Mathlib/Tactic/ToDual.lean @@ -5,9 +5,10 @@ Authors: Jovan Gerbscheid -/ module -import all Init.Core -- TODO: for accessing proofs public import Mathlib.Tactic.Translate.ToDual +import all Init.Core -- TODO: for accessing proofs + /-! ## `@[to_dual]` attributes for basic types diff --git a/Mathlib/Tactic/Trace.lean b/Mathlib/Tactic/Trace.lean index 89dea73f938717..cb32587b08c016 100644 --- a/Mathlib/Tactic/Trace.lean +++ b/Mathlib/Tactic/Trace.lean @@ -5,10 +5,11 @@ Authors: Mario Carneiro -/ module -import Mathlib.Init public meta import Lean.Elab.Tactic.ElabTerm public meta import Lean.Meta.Eval +import Mathlib.Init + /-! # Defines the `trace` tactic. -/ diff --git a/Mathlib/Tactic/Translate/UnfoldBoundary.lean b/Mathlib/Tactic/Translate/UnfoldBoundary.lean index 6c55e3a49bcac1..ed2e53ca73ac2b 100644 --- a/Mathlib/Tactic/Translate/UnfoldBoundary.lean +++ b/Mathlib/Tactic/Translate/UnfoldBoundary.lean @@ -6,9 +6,10 @@ Authors: Jovan Gerbscheid module public meta import Lean.Meta.Tactic.Delta -import Mathlib.Init public import Lean.Meta.Tactic.Simp +import Mathlib.Init + /-! # Modify proof terms so that they don't rely on unfolding certain constants diff --git a/Mathlib/Tactic/TryThis.lean b/Mathlib/Tactic/TryThis.lean index fa25826bcd53e4..d60c4d4932a622 100644 --- a/Mathlib/Tactic/TryThis.lean +++ b/Mathlib/Tactic/TryThis.lean @@ -5,9 +5,10 @@ Authors: Mario Carneiro -/ module -import Mathlib.Init public meta import Lean.Meta.Tactic.TryThis +import Mathlib.Init + /-! # 'Try this' tactic macro diff --git a/Mathlib/Tactic/WLOG.lean b/Mathlib/Tactic/WLOG.lean index 78b6e9e069df2d..4d5ea0522caba7 100644 --- a/Mathlib/Tactic/WLOG.lean +++ b/Mathlib/Tactic/WLOG.lean @@ -6,10 +6,11 @@ Authors: Johannes Hölzl, Mario Carneiro, Johan Commelin, Reid Barton, Thomas Mu module public meta import Lean.Meta.Tactic.Cases -import all Lean.MetavarContext -- for `mkAuxMVarType` public import Mathlib.Tactic.Core public import Mathlib.Tactic.Push +import all Lean.MetavarContext -- for `mkAuxMVarType` + /-! # Without loss of generality tactic diff --git a/Mathlib/Tactic/Widget/Calc.lean b/Mathlib/Tactic/Widget/Calc.lean index 41532f099d2841..f84fe249169128 100644 --- a/Mathlib/Tactic/Widget/Calc.lean +++ b/Mathlib/Tactic/Widget/Calc.lean @@ -7,15 +7,15 @@ module public meta import Lean.Elab.Tactic.Calc public meta import Lean.Meta.Tactic.TryThis - public meta import Mathlib.Data.String.Defs public meta import Mathlib.Tactic.Widget.SelectPanelUtils public meta import Batteries.CodeAction.Attr public import Batteries.CodeAction.Attr public import Mathlib.Tactic.Widget.SelectPanelUtils -import ProofWidgets.Component.Basic public import ProofWidgets.Component.OfRpcMethod +import ProofWidgets.Component.Basic + /-! # Calc widget This file redefines the `calc` tactic so that it displays a widget panel allowing to create diff --git a/Mathlib/Tactic/Widget/CongrM.lean b/Mathlib/Tactic/Widget/CongrM.lean index e461e34280af60..7733f3cc555b42 100644 --- a/Mathlib/Tactic/Widget/CongrM.lean +++ b/Mathlib/Tactic/Widget/CongrM.lean @@ -6,9 +6,10 @@ Authors: Patrick Massot module public import Mathlib.Tactic.Widget.SelectPanelUtils +public meta import ProofWidgets.Component.Basic + import ProofWidgets.Component.Basic import ProofWidgets.Component.OfRpcMethod -public meta import ProofWidgets.Component.Basic /-! # CongrM widget diff --git a/Mathlib/Tactic/Widget/Conv.lean b/Mathlib/Tactic/Widget/Conv.lean index af82be88583609..a6e2a62fb204f2 100644 --- a/Mathlib/Tactic/Widget/Conv.lean +++ b/Mathlib/Tactic/Widget/Conv.lean @@ -7,11 +7,12 @@ module public import Mathlib.Lean.Name public import Mathlib.Tactic.Widget.SelectPanelUtils -import ProofWidgets.Component.OfRpcMethod -import ProofWidgets.Component.Basic public meta import Lean.PrettyPrinter.Delaborator.Builtins public meta import ProofWidgets.Component.Basic +import ProofWidgets.Component.OfRpcMethod +import ProofWidgets.Component.Basic + /-! # Conv widget This is a slightly improved version of one of the examples that used to be diff --git a/Mathlib/Tactic/Widget/GCongr.lean b/Mathlib/Tactic/Widget/GCongr.lean index 73c959288ad707..b596e7180630fb 100644 --- a/Mathlib/Tactic/Widget/GCongr.lean +++ b/Mathlib/Tactic/Widget/GCongr.lean @@ -6,9 +6,10 @@ Authors: Patrick Massot module public import Mathlib.Tactic.Widget.SelectPanelUtils +public meta import ProofWidgets.Component.Basic + import ProofWidgets.Component.Basic import ProofWidgets.Component.OfRpcMethod -public meta import ProofWidgets.Component.Basic /-! # GCongr widget diff --git a/Mathlib/Tactic/Widget/LibraryRewrite.lean b/Mathlib/Tactic/Widget/LibraryRewrite.lean index 07781af0fc61e7..5def9c4c792ec1 100644 --- a/Mathlib/Tactic/Widget/LibraryRewrite.lean +++ b/Mathlib/Tactic/Widget/LibraryRewrite.lean @@ -9,12 +9,13 @@ public meta import Mathlib.Lean.Meta.RefinedDiscrTree public meta import Mathlib.Tactic.Widget.SelectPanelUtils public meta import Mathlib.Lean.GoalsLocation public meta import Mathlib.Lean.Meta.KAbstractPositions -import Mathlib.Tactic.NthRewrite public import ProofWidgets.Component.FilterDetails -import ProofWidgets.Component.OfRpcMethod public import Mathlib.Lean.Meta.RefinedDiscrTree public import Mathlib.Tactic.Widget.SelectPanelUtils +import Mathlib.Tactic.NthRewrite +import ProofWidgets.Component.OfRpcMethod + /-! # Point & click library rewriting diff --git a/Mathlib/Tactic/Widget/StringDiagram.lean b/Mathlib/Tactic/Widget/StringDiagram.lean index 3cb67140c47a4b..9510ca3554f0f3 100644 --- a/Mathlib/Tactic/Widget/StringDiagram.lean +++ b/Mathlib/Tactic/Widget/StringDiagram.lean @@ -13,9 +13,10 @@ public meta import Mathlib.Tactic.CategoryTheory.Coherence.Normalize public import Mathlib.Tactic.CategoryTheory.Monoidal.Normalize public import ProofWidgets.Component.HtmlDisplay public import ProofWidgets.Component.PenroseDiagram -import ProofWidgets.Component.Panel.Basic public import ProofWidgets.Presentation.Expr +import ProofWidgets.Component.Panel.Basic + /-! # String Diagram Widget diff --git a/Mathlib/Tactic/WithoutCDot.lean b/Mathlib/Tactic/WithoutCDot.lean index 41659f5938dbe9..ae2290259ca229 100644 --- a/Mathlib/Tactic/WithoutCDot.lean +++ b/Mathlib/Tactic/WithoutCDot.lean @@ -6,6 +6,7 @@ Authors: Eric Wieser module public meta import Lean.Elab.SyntheticMVars + import Mathlib.Init /-! diff --git a/Mathlib/Testing/Plausible/Functions.lean b/Mathlib/Testing/Plausible/Functions.lean index d7eec0b7f488d9..f555626f55d2ec 100644 --- a/Mathlib/Testing/Plausible/Functions.lean +++ b/Mathlib/Testing/Plausible/Functions.lean @@ -10,12 +10,13 @@ public meta import Mathlib.Data.Int.Range public meta import Mathlib.Data.List.Sigma public meta import Plausible.Functions public import Batteries.Data.MLList.Basic -import Mathlib.Algebra.Order.Group.Nat public import Mathlib.Data.DFinsupp.Defs public import Mathlib.Data.Finsupp.Defs public import Mathlib.Data.Int.Range public import Mathlib.Data.List.Sigma public import Mathlib.Data.PNat.Notation + +import Mathlib.Algebra.Order.Group.Nat import Mathlib.Tactic.Bound.Init /-! diff --git a/Mathlib/Testing/Plausible/Sampleable.lean b/Mathlib/Testing/Plausible/Sampleable.lean index 42afb2258242e3..e8761690b007f0 100644 --- a/Mathlib/Testing/Plausible/Sampleable.lean +++ b/Mathlib/Testing/Plausible/Sampleable.lean @@ -9,10 +9,11 @@ public import Mathlib.Data.Int.Order.Basic public meta import Mathlib.Data.List.Monad public meta import Mathlib.Data.PNat.Defs public import Plausible.Sampleable +public meta import Plausible.Sampleable + import Plausible.Arbitrary import Plausible.Gen import Plausible.Random -public meta import Plausible.Sampleable /-! This module contains `Plausible.Shrinkable` and `Plausible.SampleableExt` instances for mathlib diff --git a/Mathlib/Testing/Plausible/Testable.lean b/Mathlib/Testing/Plausible/Testable.lean index c9d1f1e44a373e..839b69abc8c055 100644 --- a/Mathlib/Testing/Plausible/Testable.lean +++ b/Mathlib/Testing/Plausible/Testable.lean @@ -7,10 +7,10 @@ module public meta import Mathlib.Basic.Logic.Basic public meta import Plausible.Testable +public import Plausible.Testable import Mathlib.Tactic.Basic import Plausible.Gen -public import Plausible.Testable /-! This module contains `Plausible.Testable` and `Plausible.PrintableProb` instances for mathlib types. diff --git a/Mathlib/Topology/Algebra/AsymptoticCone.lean b/Mathlib/Topology/Algebra/AsymptoticCone.lean index c111f106e8bfe9..fcaf4f1377bbb5 100644 --- a/Mathlib/Topology/Algebra/AsymptoticCone.lean +++ b/Mathlib/Topology/Algebra/AsymptoticCone.lean @@ -5,9 +5,10 @@ Authors: Attila Gáspár -/ module -import Mathlib.Analysis.Convex.Between public import Mathlib.Analysis.Convex.Topology +import Mathlib.Analysis.Convex.Between + /-! # Asymptotic cone of a set diff --git a/Mathlib/Topology/Algebra/Category/ProfiniteGrp/Completion.lean b/Mathlib/Topology/Algebra/Category/ProfiniteGrp/Completion.lean index ef92024e4fabe9..33cde9a2b32383 100644 --- a/Mathlib/Topology/Algebra/Category/ProfiniteGrp/Completion.lean +++ b/Mathlib/Topology/Algebra/Category/ProfiniteGrp/Completion.lean @@ -5,10 +5,11 @@ Authors: Adam Topaz -/ module -import Mathlib.Algebra.Category.Grp.EpiMono public import Mathlib.GroupTheory.ResiduallyFinite public import Mathlib.Topology.Algebra.Category.ProfiniteGrp.Limits +import Mathlib.Algebra.Category.Grp.EpiMono + /-! # Profinite completion of groups diff --git a/Mathlib/Topology/Algebra/Category/ProfiniteGrp/Limits.lean b/Mathlib/Topology/Algebra/Category/ProfiniteGrp/Limits.lean index a753c2d0fc8ad2..0932676fb4d724 100644 --- a/Mathlib/Topology/Algebra/Category/ProfiniteGrp/Limits.lean +++ b/Mathlib/Topology/Algebra/Category/ProfiniteGrp/Limits.lean @@ -5,10 +5,11 @@ Authors: Nailin Guan, Youle Fang, Jujian Zhang, Yuyang Zhao -/ module -import Mathlib.CategoryTheory.ConcreteCategory.EpiMono public import Mathlib.Topology.Algebra.Category.ProfiniteGrp.Basic public import Mathlib.Topology.Algebra.ClopenNhdofOne +import Mathlib.CategoryTheory.ConcreteCategory.EpiMono + /-! # A profinite group is the projective limit of finite groups diff --git a/Mathlib/Topology/Algebra/ClopenNhdofOne.lean b/Mathlib/Topology/Algebra/ClopenNhdofOne.lean index 543c8ae13386f3..adb0b30b98d2a8 100644 --- a/Mathlib/Topology/Algebra/ClopenNhdofOne.lean +++ b/Mathlib/Topology/Algebra/ClopenNhdofOne.lean @@ -7,6 +7,7 @@ module public import Mathlib.Topology.Algebra.Group.ClosedSubgroup public import Mathlib.Topology.Algebra.OpenSubgroup + import Mathlib.Topology.Separation.Profinite import Mathlib.Topology.Separation.Connected /-! diff --git a/Mathlib/Topology/Algebra/ConstMulAction.lean b/Mathlib/Topology/Algebra/ConstMulAction.lean index 1705c939f33865..99b69d7947d404 100644 --- a/Mathlib/Topology/Algebra/ConstMulAction.lean +++ b/Mathlib/Topology/Algebra/ConstMulAction.lean @@ -5,7 +5,6 @@ Authors: Alex Kontorovich, Heather Macbeth -/ module -import Mathlib.Algebra.Group.Pointwise.Set.Lattice public import Mathlib.Algebra.GroupWithZero.Action.Pointwise.Set public import Mathlib.Algebra.Module.ULift public import Mathlib.GroupTheory.GroupAction.Defs @@ -13,6 +12,8 @@ public import Mathlib.Order.Filter.Pointwise public import Mathlib.Topology.Algebra.Constructions public import Mathlib.Topology.Algebra.Support +import Mathlib.Algebra.Group.Pointwise.Set.Lattice + /-! # Monoid actions continuous in the second variable diff --git a/Mathlib/Topology/Algebra/Group/CompactOpen.lean b/Mathlib/Topology/Algebra/Group/CompactOpen.lean index feff1d5de68de6..69f5a575c2988d 100644 --- a/Mathlib/Topology/Algebra/Group/CompactOpen.lean +++ b/Mathlib/Topology/Algebra/Group/CompactOpen.lean @@ -5,11 +5,12 @@ Authors: Thomas Browning, Nailin Guan -/ module -import Mathlib.Topology.Algebra.Equicontinuity -import Mathlib.Topology.Algebra.Group.Compact public import Mathlib.Topology.ContinuousMap.Algebra public import Mathlib.Topology.UniformSpace.Ascoli +import Mathlib.Topology.Algebra.Equicontinuity +import Mathlib.Topology.Algebra.Group.Compact + /-! # The compact-open topology on continuous monoid morphisms. -/ diff --git a/Mathlib/Topology/Algebra/Group/DiscontinuousSubgroup.lean b/Mathlib/Topology/Algebra/Group/DiscontinuousSubgroup.lean index 08d1c685f70dcd..3c2ebc493eec8b 100644 --- a/Mathlib/Topology/Algebra/Group/DiscontinuousSubgroup.lean +++ b/Mathlib/Topology/Algebra/Group/DiscontinuousSubgroup.lean @@ -7,9 +7,10 @@ Authors: David Loeffler module public import Mathlib.GroupTheory.Commensurable -import Mathlib.GroupTheory.Complement public import Mathlib.Topology.Algebra.ConstMulAction +import Mathlib.GroupTheory.Complement + /-! # Properly discontinuous actions of subgroups -/ diff --git a/Mathlib/Topology/Algebra/Group/Matrix.lean b/Mathlib/Topology/Algebra/Group/Matrix.lean index 0ed970a5c13c2e..f0d0ace533005a 100644 --- a/Mathlib/Topology/Algebra/Group/Matrix.lean +++ b/Mathlib/Topology/Algebra/Group/Matrix.lean @@ -7,10 +7,11 @@ Authors: David Loeffler module public import Mathlib.LinearAlgebra.Matrix.GeneralLinearGroup.FinTwo -import Mathlib.Topology.Algebra.Algebra public import Mathlib.Topology.Algebra.Group.Units public import Mathlib.Topology.Instances.Matrix +import Mathlib.Topology.Algebra.Algebra + /-! # Topology on matrix groups diff --git a/Mathlib/Topology/Algebra/Group/Order.lean b/Mathlib/Topology/Algebra/Group/Order.lean index 3e37bc6800e31e..62e532a6ef87a6 100644 --- a/Mathlib/Topology/Algebra/Group/Order.lean +++ b/Mathlib/Topology/Algebra/Group/Order.lean @@ -5,9 +5,10 @@ Authors: Johannes Hölzl, Mario Carneiro, Patrick Massot -/ module -import Mathlib.Algebra.Order.Group.Pointwise.Interval public import Mathlib.Topology.Algebra.Group.ContinuousDiv +import Mathlib.Algebra.Order.Group.Pointwise.Interval + /-! # Ordered topological groups diff --git a/Mathlib/Topology/Algebra/Group/Pointwise.lean b/Mathlib/Topology/Algebra/Group/Pointwise.lean index 810463635c5ed0..0d799af53578c4 100644 --- a/Mathlib/Topology/Algebra/Group/Pointwise.lean +++ b/Mathlib/Topology/Algebra/Group/Pointwise.lean @@ -6,9 +6,10 @@ Authors: Johannes Hölzl, Mario Carneiro, Patrick Massot module public import Mathlib.Topology.Algebra.Group.ContinuousDiv -import Mathlib.Topology.Algebra.Group.Subgroup public import Mathlib.Topology.Maps.Proper.Basic +import Mathlib.Topology.Algebra.Group.Subgroup + /-! # Pointwise operations on sets in topological groups diff --git a/Mathlib/Topology/Algebra/Group/SubmonoidClosure.lean b/Mathlib/Topology/Algebra/Group/SubmonoidClosure.lean index 36ea9327e5e1ef..292377a23494e5 100644 --- a/Mathlib/Topology/Algebra/Group/SubmonoidClosure.lean +++ b/Mathlib/Topology/Algebra/Group/SubmonoidClosure.lean @@ -5,9 +5,10 @@ Authors: Yury Kudryashov -/ module +public import Mathlib.Topology.Algebra.Group.Subgroup + import Mathlib.Algebra.Order.Group.Int import Mathlib.Order.Filter.AtTopBot.Group -public import Mathlib.Topology.Algebra.Group.Subgroup /-! # Topological closure of the submonoid closure diff --git a/Mathlib/Topology/Algebra/Group/TopologicalAbelianization.lean b/Mathlib/Topology/Algebra/Group/TopologicalAbelianization.lean index 0f7013001c7b46..0e04676dd4c901 100644 --- a/Mathlib/Topology/Algebra/Group/TopologicalAbelianization.lean +++ b/Mathlib/Topology/Algebra/Group/TopologicalAbelianization.lean @@ -6,9 +6,10 @@ Authors: María Inés de Frutos-Fernández module public import Mathlib.GroupTheory.Commutator.Basic -import Mathlib.Tactic.Group public import Mathlib.Topology.Algebra.Group.Subgroup +import Mathlib.Tactic.Group + /-! # The topological abelianization of a group. diff --git a/Mathlib/Topology/Algebra/Group/Torsor.lean b/Mathlib/Topology/Algebra/Group/Torsor.lean index ec7223fae63f78..0d23e226531494 100644 --- a/Mathlib/Topology/Algebra/Group/Torsor.lean +++ b/Mathlib/Topology/Algebra/Group/Torsor.lean @@ -6,11 +6,11 @@ Authors: Attila Gáspár module public import Mathlib.Algebra.Torsor.Basic - -import Mathlib.Topology.Algebra.Group.Pointwise public import Mathlib.Tactic.Bound.Init public import Mathlib.Topology.Algebra.MulAction +import Mathlib.Topology.Algebra.Group.Pointwise + /-! # Topological torsors of groups diff --git a/Mathlib/Topology/Algebra/Indicator.lean b/Mathlib/Topology/Algebra/Indicator.lean index 01446ce331f4a8..bb4b6a15df4496 100644 --- a/Mathlib/Topology/Algebra/Indicator.lean +++ b/Mathlib/Topology/Algebra/Indicator.lean @@ -6,9 +6,10 @@ Authors: PFR contributors module public import Mathlib.Algebra.Notation.Indicator -import Mathlib.Topology.Piecewise public import Mathlib.Topology.Clopen +import Mathlib.Topology.Piecewise + /-! # Continuity of indicator functions -/ diff --git a/Mathlib/Topology/Algebra/InfiniteSum/Basic.lean b/Mathlib/Topology/Algebra/InfiniteSum/Basic.lean index 9812a5d29fad2e..eeac96f27288e5 100644 --- a/Mathlib/Topology/Algebra/InfiniteSum/Basic.lean +++ b/Mathlib/Topology/Algebra/InfiniteSum/Basic.lean @@ -7,11 +7,11 @@ module public import Mathlib.Algebra.BigOperators.Group.Finset.Indicator public import Mathlib.Algebra.Group.Submonoid.Defs -import Mathlib.Data.Fintype.BigOperators public import Mathlib.Topology.Algebra.InfiniteSum.Defs public import Mathlib.Topology.Algebra.Monoid.Defs public import Mathlib.Order.Filter.AtTopBot.BigOperators +import Mathlib.Data.Fintype.BigOperators import Mathlib.Algebra.Group.Submonoid.BigOperators /-! diff --git a/Mathlib/Topology/Algebra/InfiniteSum/ConditionalInt.lean b/Mathlib/Topology/Algebra/InfiniteSum/ConditionalInt.lean index ce3a66a076fdb3..c85dff1cae1274 100644 --- a/Mathlib/Topology/Algebra/InfiniteSum/ConditionalInt.lean +++ b/Mathlib/Topology/Algebra/InfiniteSum/ConditionalInt.lean @@ -7,11 +7,12 @@ module public import Mathlib.Algebra.BigOperators.Group.Finset.Interval public import Mathlib.Analysis.Normed.Group.Int -import Mathlib.Analysis.Normed.Group.Uniform public import Mathlib.Analysis.Normed.MulAction -import Mathlib.Order.Filter.AtTopBot.Interval public import Mathlib.Topology.Algebra.InfiniteSum.Defs +import Mathlib.Analysis.Normed.Group.Uniform +import Mathlib.Order.Filter.AtTopBot.Interval + /-! # Sums over symmetric integer intervals diff --git a/Mathlib/Topology/Algebra/InfiniteSum/Defs.lean b/Mathlib/Topology/Algebra/InfiniteSum/Defs.lean index b2fa7283ab9d52..30c86ac198f930 100644 --- a/Mathlib/Topology/Algebra/InfiniteSum/Defs.lean +++ b/Mathlib/Topology/Algebra/InfiniteSum/Defs.lean @@ -8,6 +8,7 @@ module public import Mathlib.Algebra.BigOperators.Finprod public import Mathlib.Topology.Algebra.InfiniteSum.SummationFilter public import Mathlib.Topology.Separation.Hausdorff + import Mathlib.Algebra.BigOperators.Group.Finset.Preimage /-! diff --git a/Mathlib/Topology/Algebra/InfiniteSum/Field.lean b/Mathlib/Topology/Algebra/InfiniteSum/Field.lean index d045e4d7e5f8cc..19061dea7aa889 100644 --- a/Mathlib/Topology/Algebra/InfiniteSum/Field.lean +++ b/Mathlib/Topology/Algebra/InfiniteSum/Field.lean @@ -5,10 +5,11 @@ Authors: Bhavik Mehta -/ module -import Mathlib.Analysis.Normed.Group.Continuity public import Mathlib.Analysis.Normed.Ring.Basic public import Mathlib.Topology.Algebra.InfiniteSum.Defs +import Mathlib.Analysis.Normed.Group.Continuity + /-! # Infinite sums and products in topological fields diff --git a/Mathlib/Topology/Algebra/InfiniteSum/NatInt.lean b/Mathlib/Topology/Algebra/InfiniteSum/NatInt.lean index 27e5159f872e2c..086d43aa47e3f7 100644 --- a/Mathlib/Topology/Algebra/InfiniteSum/NatInt.lean +++ b/Mathlib/Topology/Algebra/InfiniteSum/NatInt.lean @@ -6,11 +6,12 @@ Authors: Johannes Hölzl module public import Mathlib.Algebra.Group.EvenFunction -import Mathlib.Algebra.Order.Group.Abs public import Mathlib.Logic.Encodable.Lattice -import Mathlib.Order.Filter.AtTopBot.Finset public import Mathlib.Topology.Algebra.InfiniteSum.Group +import Mathlib.Algebra.Order.Group.Abs +import Mathlib.Order.Filter.AtTopBot.Finset + /-! # Infinite sums and products over `ℕ` and `ℤ` diff --git a/Mathlib/Topology/Algebra/InfiniteSum/Nonarchimedean.lean b/Mathlib/Topology/Algebra/InfiniteSum/Nonarchimedean.lean index 441d4aa8b34ef7..d8373a66837d98 100644 --- a/Mathlib/Topology/Algebra/InfiniteSum/Nonarchimedean.lean +++ b/Mathlib/Topology/Algebra/InfiniteSum/Nonarchimedean.lean @@ -5,11 +5,12 @@ Authors: Mitchell Lee -/ module -import Mathlib.Algebra.Group.Subgroup.Finite -import Mathlib.Topology.Algebra.InfiniteSum.GroupCompletion public import Mathlib.Topology.Algebra.InfiniteSum.Ring public import Mathlib.Topology.Algebra.Nonarchimedean.Completion +import Mathlib.Algebra.Group.Subgroup.Finite +import Mathlib.Topology.Algebra.InfiniteSum.GroupCompletion + /-! # Infinite sums and products in nonarchimedean abelian groups diff --git a/Mathlib/Topology/Algebra/InfiniteSum/Order.lean b/Mathlib/Topology/Algebra/InfiniteSum/Order.lean index 750390a584158c..62c0934718947d 100644 --- a/Mathlib/Topology/Algebra/InfiniteSum/Order.lean +++ b/Mathlib/Topology/Algebra/InfiniteSum/Order.lean @@ -8,9 +8,10 @@ module public import Mathlib.Algebra.Order.Archimedean.Basic public import Mathlib.Algebra.Order.BigOperators.Ring.Finset public import Mathlib.Topology.Algebra.InfiniteSum.NatInt -import Mathlib.Topology.Algebra.Order.Field public import Mathlib.Topology.Order.MonotoneConvergence +import Mathlib.Topology.Algebra.Order.Field + /-! # Infinite sum or product in an order diff --git a/Mathlib/Topology/Algebra/InfiniteSum/SummationFilter.lean b/Mathlib/Topology/Algebra/InfiniteSum/SummationFilter.lean index 49042855ffb2c9..f9c61ba459d818 100644 --- a/Mathlib/Topology/Algebra/InfiniteSum/SummationFilter.lean +++ b/Mathlib/Topology/Algebra/InfiniteSum/SummationFilter.lean @@ -5,10 +5,11 @@ Authors: David Loeffler -/ module -import Mathlib.Order.Filter.AtTopBot.CountablyGenerated public import Mathlib.Order.Interval.Finset.Nat public import Mathlib.Order.LiminfLimsup +import Mathlib.Order.Filter.AtTopBot.CountablyGenerated + /-! # Summation filters diff --git a/Mathlib/Topology/Algebra/InfiniteSum/TsumUniformlyOn.lean b/Mathlib/Topology/Algebra/InfiniteSum/TsumUniformlyOn.lean index 234ac1458bc8a6..bac1401aba371c 100644 --- a/Mathlib/Topology/Algebra/InfiniteSum/TsumUniformlyOn.lean +++ b/Mathlib/Topology/Algebra/InfiniteSum/TsumUniformlyOn.lean @@ -7,9 +7,10 @@ module public import Mathlib.Analysis.Calculus.IteratedDeriv.Defs public import Mathlib.Analysis.Calculus.UniformLimitsDeriv -import Mathlib.Analysis.Normed.Group.FunctionSeries public import Mathlib.Topology.Algebra.InfiniteSum.UniformOn +import Mathlib.Analysis.Normed.Group.FunctionSeries + /-! # Differentiability of sum of functions diff --git a/Mathlib/Topology/Algebra/InfiniteSum/UniformOn.lean b/Mathlib/Topology/Algebra/InfiniteSum/UniformOn.lean index fcf7bd0fe24354..bc401990cd159f 100644 --- a/Mathlib/Topology/Algebra/InfiniteSum/UniformOn.lean +++ b/Mathlib/Topology/Algebra/InfiniteSum/UniformOn.lean @@ -7,6 +7,7 @@ module public import Mathlib.Topology.Algebra.InfiniteSum.Defs public import Mathlib.Topology.Algebra.UniformConvergence + import Mathlib.Order.Filter.AtTopBot.Finset /-! diff --git a/Mathlib/Topology/Algebra/IsOpenUnits.lean b/Mathlib/Topology/Algebra/IsOpenUnits.lean index c51d2b3acbb978..10fc6691ac5b79 100644 --- a/Mathlib/Topology/Algebra/IsOpenUnits.lean +++ b/Mathlib/Topology/Algebra/IsOpenUnits.lean @@ -6,10 +6,11 @@ Authors: Andrew Yang module public import Mathlib.RingTheory.Jacobson.Ideal -import Mathlib.Topology.Algebra.Group.Units public import Mathlib.Topology.Algebra.GroupWithZero public import Mathlib.Topology.Algebra.Nonarchimedean.AdicTopology +import Mathlib.Topology.Algebra.Group.Units + /-! # Topological monoids with open units diff --git a/Mathlib/Topology/Algebra/IsUniformGroup/Basic.lean b/Mathlib/Topology/Algebra/IsUniformGroup/Basic.lean index e60bd332e3ac8b..f528a9946e8e9f 100644 --- a/Mathlib/Topology/Algebra/IsUniformGroup/Basic.lean +++ b/Mathlib/Topology/Algebra/IsUniformGroup/Basic.lean @@ -5,11 +5,12 @@ Authors: Patrick Massot, Johannes Hölzl -/ module -import Mathlib.Topology.UniformSpace.CompleteSeparated -import Mathlib.Topology.UniformSpace.Compact public import Mathlib.Topology.UniformSpace.HeineCantor public import Mathlib.Topology.Algebra.IsUniformGroup.Constructions public import Mathlib.Topology.Algebra.Group.Quotient + +import Mathlib.Topology.UniformSpace.CompleteSeparated +import Mathlib.Topology.UniformSpace.Compact import Mathlib.Tactic.Abel /-! diff --git a/Mathlib/Topology/Algebra/IsUniformGroup/DiscreteSubgroup.lean b/Mathlib/Topology/Algebra/IsUniformGroup/DiscreteSubgroup.lean index d500e55e78ba59..f6b50eb9fe56ea 100644 --- a/Mathlib/Topology/Algebra/IsUniformGroup/DiscreteSubgroup.lean +++ b/Mathlib/Topology/Algebra/IsUniformGroup/DiscreteSubgroup.lean @@ -6,9 +6,10 @@ Authors: David Loeffler module public import Mathlib.GroupTheory.Commensurable -import Mathlib.Topology.Algebra.Group.ClosedSubgroup public import Mathlib.Topology.Algebra.OpenSubgroup +import Mathlib.Topology.Algebra.Group.ClosedSubgroup + /-! # Discrete subgroups of topological groups diff --git a/Mathlib/Topology/Algebra/MetricSpace/Lipschitz.lean b/Mathlib/Topology/Algebra/MetricSpace/Lipschitz.lean index a2af8e1df413a5..35ddbab4d6a9f6 100644 --- a/Mathlib/Topology/Algebra/MetricSpace/Lipschitz.lean +++ b/Mathlib/Topology/Algebra/MetricSpace/Lipschitz.lean @@ -5,9 +5,10 @@ Authors: Sébastien Gouëzel -/ module -import Mathlib.Topology.Algebra.Order.Field public import Mathlib.Topology.MetricSpace.Lipschitz +import Mathlib.Topology.Algebra.Order.Field + /-! # Lipschitz continuous functions diff --git a/Mathlib/Topology/Algebra/Module/Cardinality.lean b/Mathlib/Topology/Algebra/Module/Cardinality.lean index 729b4d628bd700..7e600b5fe21ffd 100644 --- a/Mathlib/Topology/Algebra/Module/Cardinality.lean +++ b/Mathlib/Topology/Algebra/Module/Cardinality.lean @@ -5,9 +5,10 @@ Authors: Sébastien Gouëzel -/ module -import Mathlib.Algebra.Module.Card public import Mathlib.Analysis.SpecificLimits.Normed public import Mathlib.SetTheory.Cardinal.Continuum + +import Mathlib.Algebra.Module.Card import Mathlib.SetTheory.Cardinal.CountableCover import Mathlib.Topology.MetricSpace.Perfect diff --git a/Mathlib/Topology/Algebra/Module/Compact.lean b/Mathlib/Topology/Algebra/Module/Compact.lean index 7e6c7acf7c69cb..f85158fc40061e 100644 --- a/Mathlib/Topology/Algebra/Module/Compact.lean +++ b/Mathlib/Topology/Algebra/Module/Compact.lean @@ -5,10 +5,11 @@ Authors: Andrew Yang -/ module -import Mathlib.LinearAlgebra.Finsupp.LinearCombination public import Mathlib.Topology.Algebra.Ring.Basic public import Mathlib.RingTheory.Noetherian.Defs +import Mathlib.LinearAlgebra.Finsupp.LinearCombination + /-! # Compact submodules diff --git a/Mathlib/Topology/Algebra/Module/EmbeddingOfLocal.lean b/Mathlib/Topology/Algebra/Module/EmbeddingOfLocal.lean index 0c86e0a2c6db21..af5db6044ecc39 100644 --- a/Mathlib/Topology/Algebra/Module/EmbeddingOfLocal.lean +++ b/Mathlib/Topology/Algebra/Module/EmbeddingOfLocal.lean @@ -5,9 +5,10 @@ Authors: Anatole Dedecker -/ module -import Mathlib.Analysis.LocallyConvex.BalancedCoreHull public import Mathlib.Analysis.SpecificLimits.Normed +import Mathlib.Analysis.LocallyConvex.BalancedCoreHull + /-! # A linear map which is locally an embedding is an embedding diff --git a/Mathlib/Topology/Algebra/Module/LocallyConvex.lean b/Mathlib/Topology/Algebra/Module/LocallyConvex.lean index c6560556669505..e0069226b5f69f 100644 --- a/Mathlib/Topology/Algebra/Module/LocallyConvex.lean +++ b/Mathlib/Topology/Algebra/Module/LocallyConvex.lean @@ -7,6 +7,7 @@ module public import Mathlib.Analysis.Convex.Topology public import Mathlib.Topology.Connected.LocallyPathConnected + import Mathlib.Analysis.Convex.PathConnected /-! diff --git a/Mathlib/Topology/Algebra/Module/Multilinear/Basic.lean b/Mathlib/Topology/Algebra/Module/Multilinear/Basic.lean index 5df22f5745ee64..732e5db9e31855 100644 --- a/Mathlib/Topology/Algebra/Module/Multilinear/Basic.lean +++ b/Mathlib/Topology/Algebra/Module/Multilinear/Basic.lean @@ -7,6 +7,7 @@ module public import Mathlib.Topology.Algebra.Module.ContinuousLinearMap.PiProd public import Mathlib.LinearAlgebra.Multilinear.Basic + import Mathlib.Algebra.BigOperators.Fin /-! diff --git a/Mathlib/Topology/Algebra/Module/TopDualPairing.lean b/Mathlib/Topology/Algebra/Module/TopDualPairing.lean index 0bc441ca4aa621..d96205d9053b69 100644 --- a/Mathlib/Topology/Algebra/Module/TopDualPairing.lean +++ b/Mathlib/Topology/Algebra/Module/TopDualPairing.lean @@ -5,11 +5,12 @@ Authors: Bjørn Solheim -/ module -import Mathlib.LinearAlgebra.Dual.Lemmas public import Mathlib.Topology.Algebra.Module.FiniteDimension public import Mathlib.Topology.Algebra.Module.PerfectPairing public import Mathlib.Topology.Algebra.Module.Spaces.ContinuousLinearMap +import Mathlib.LinearAlgebra.Dual.Lemmas + /-! # Continuous Perfect Pairing for `topDualPairing` diff --git a/Mathlib/Topology/Algebra/Module/TransferInstance.lean b/Mathlib/Topology/Algebra/Module/TransferInstance.lean index 918e4bec0664db..e0c46df513a6e6 100644 --- a/Mathlib/Topology/Algebra/Module/TransferInstance.lean +++ b/Mathlib/Topology/Algebra/Module/TransferInstance.lean @@ -8,6 +8,7 @@ module public import Mathlib.Algebra.Module.Shrink public import Mathlib.Topology.Algebra.Module.Equiv.Basic public import Mathlib.Topology.Instances.Shrink + import Mathlib.Analysis.Normed.Group.Basic import Mathlib.Data.EReal.Operations import Mathlib.Topology.MetricSpace.Bounded diff --git a/Mathlib/Topology/Algebra/Module/UniformConvergence.lean b/Mathlib/Topology/Algebra/Module/UniformConvergence.lean index a319d18c7dbd10..64d6bde97eed92 100644 --- a/Mathlib/Topology/Algebra/Module/UniformConvergence.lean +++ b/Mathlib/Topology/Algebra/Module/UniformConvergence.lean @@ -6,9 +6,10 @@ Authors: Anatole Dedecker module public import Mathlib.Analysis.LocallyConvex.Bounded -import Mathlib.Topology.Algebra.FilterBasis public import Mathlib.Topology.Algebra.UniformConvergence +import Mathlib.Topology.Algebra.FilterBasis + /-! # Algebraic facts about the topology of uniform convergence diff --git a/Mathlib/Topology/Algebra/Order/ArchimedeanDiscrete.lean b/Mathlib/Topology/Algebra/Order/ArchimedeanDiscrete.lean index 8607be2e235bec..e3ec5e4541b9ba 100644 --- a/Mathlib/Topology/Algebra/Order/ArchimedeanDiscrete.lean +++ b/Mathlib/Topology/Algebra/Order/ArchimedeanDiscrete.lean @@ -5,10 +5,11 @@ Authors: David Loeffler -/ module +public import Mathlib.Topology.Algebra.Order.Archimedean + import Mathlib.GroupTheory.ArchimedeanDensely import Mathlib.GroupTheory.SpecificGroups.Cyclic import Mathlib.Topology.Algebra.OpenSubgroup -public import Mathlib.Topology.Algebra.Order.Archimedean import Mathlib.Topology.Order.DenselyOrdered /-! diff --git a/Mathlib/Topology/Algebra/Order/Field.lean b/Mathlib/Topology/Algebra/Order/Field.lean index c22a93a83fd29b..2f6d78e2342071 100644 --- a/Mathlib/Topology/Algebra/Order/Field.lean +++ b/Mathlib/Topology/Algebra/Order/Field.lean @@ -6,10 +6,11 @@ Authors: Benjamin Davidson, Devon Tuma, Eric Rodriguez, Oliver Nash module public import Mathlib.Order.Filter.AtTopBot.Field -import Mathlib.Tactic.NormNum.Basic public import Mathlib.Topology.Algebra.Field public import Mathlib.Topology.Algebra.Order.Group +import Mathlib.Tactic.NormNum.Basic + /-! # Topologies on linear ordered fields diff --git a/Mathlib/Topology/Algebra/Order/Group.lean b/Mathlib/Topology/Algebra/Order/Group.lean index 4f92c22be42716..55ea74e36f371d 100644 --- a/Mathlib/Topology/Algebra/Order/Group.lean +++ b/Mathlib/Topology/Algebra/Order/Group.lean @@ -5,10 +5,11 @@ Authors: Yury Kudryashov -/ module -import Mathlib.Algebra.Order.Group.Basic public import Mathlib.Topology.Algebra.Group.Defs public import Mathlib.Topology.Order.LeftRightNhds +import Mathlib.Algebra.Order.Group.Basic + /-! # Topology on a linear ordered commutative group diff --git a/Mathlib/Topology/Algebra/Order/LiminfLimsup.lean b/Mathlib/Topology/Algebra/Order/LiminfLimsup.lean index 91f651465ebdce..75b4ea8bded1fd 100644 --- a/Mathlib/Topology/Algebra/Order/LiminfLimsup.lean +++ b/Mathlib/Topology/Algebra/Order/LiminfLimsup.lean @@ -6,10 +6,11 @@ Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov, Yaël Dillies module public import Mathlib.Algebra.Order.Archimedean.Real.Basic -import Mathlib.Algebra.Order.Group.DenselyOrdered public import Mathlib.Topology.Algebra.Group.ContinuousDiv public import Mathlib.Topology.Order.LiminfLimsup +import Mathlib.Algebra.Order.Group.DenselyOrdered + /-! # Lemmas about liminf and limsup in an order topology. diff --git a/Mathlib/Topology/Algebra/Order/Support.lean b/Mathlib/Topology/Algebra/Order/Support.lean index c9da7cf55e45b3..09577d0f7d43ee 100644 --- a/Mathlib/Topology/Algebra/Order/Support.lean +++ b/Mathlib/Topology/Algebra/Order/Support.lean @@ -5,9 +5,10 @@ Authors: Yoh Tanimoto -/ module -import Mathlib.Algebra.Order.Group.Indicator public import Mathlib.Topology.Algebra.Support +import Mathlib.Algebra.Order.Group.Indicator + /-! # The topological support of sup and inf of functions diff --git a/Mathlib/Topology/Algebra/ProperAction/Basic.lean b/Mathlib/Topology/Algebra/ProperAction/Basic.lean index 2cfebeb009c467..6457ae449640bd 100644 --- a/Mathlib/Topology/Algebra/ProperAction/Basic.lean +++ b/Mathlib/Topology/Algebra/ProperAction/Basic.lean @@ -6,6 +6,7 @@ Authors: Anatole Dedeker, Etienne Marion, Florestan Martin-Baillon, Vincent Guir module public import Mathlib.Topology.Algebra.Group.Quotient + import Mathlib.Topology.LocalAtTarget /-! diff --git a/Mathlib/Topology/Algebra/RestrictedProduct/TopologicalSpace.lean b/Mathlib/Topology/Algebra/RestrictedProduct/TopologicalSpace.lean index edfee58fd35864..a860bf1e4e8ce1 100644 --- a/Mathlib/Topology/Algebra/RestrictedProduct/TopologicalSpace.lean +++ b/Mathlib/Topology/Algebra/RestrictedProduct/TopologicalSpace.lean @@ -5,10 +5,11 @@ Authors: Anatole Dedecker -/ module -import Mathlib.Topology.Algebra.Group.Pointwise public import Mathlib.Topology.Algebra.RestrictedProduct.Basic public import Mathlib.Topology.Algebra.Ring.Basic +import Mathlib.Topology.Algebra.Group.Pointwise + /-! # Restricted products of topological spaces, topological groups and rings diff --git a/Mathlib/Topology/Algebra/Ring/Basic.lean b/Mathlib/Topology/Algebra/Ring/Basic.lean index d16309b8c33853..32f466347557a3 100644 --- a/Mathlib/Topology/Algebra/Ring/Basic.lean +++ b/Mathlib/Topology/Algebra/Ring/Basic.lean @@ -10,9 +10,10 @@ public import Mathlib.Algebra.Ring.Subring.Defs public import Mathlib.Algebra.Ring.Subsemiring.Basic public import Mathlib.Topology.Algebra.ContinuousMonoidHom public import Mathlib.Topology.Algebra.Group.GroupTopology -import Mathlib.Topology.Algebra.Group.Neighborhood public import Mathlib.Topology.Algebra.Group.Subgroup +import Mathlib.Topology.Algebra.Group.Neighborhood + /-! # Topological (semi)rings diff --git a/Mathlib/Topology/Algebra/Ring/Compact.lean b/Mathlib/Topology/Algebra/Ring/Compact.lean index e5bad5f8217625..47b84aabf9481e 100644 --- a/Mathlib/Topology/Algebra/Ring/Compact.lean +++ b/Mathlib/Topology/Algebra/Ring/Compact.lean @@ -7,6 +7,7 @@ module public import Mathlib.RingTheory.DedekindDomain.Factorization public import Mathlib.RingTheory.DiscreteValuationRing.Basic + import Mathlib.RingTheory.HopkinsLevitzki import Mathlib.RingTheory.LocalRing.Quotient import Mathlib.Topology.Algebra.Group.ClosedSubgroup diff --git a/Mathlib/Topology/Algebra/Ring/Ideal.lean b/Mathlib/Topology/Algebra/Ring/Ideal.lean index 1a9b1a142614d1..1e84f27c05db8a 100644 --- a/Mathlib/Topology/Algebra/Ring/Ideal.lean +++ b/Mathlib/Topology/Algebra/Ring/Ideal.lean @@ -6,9 +6,10 @@ Authors: Patrick Massot module public import Mathlib.Topology.Algebra.Ring.Basic -import Mathlib.Topology.Algebra.Group.Quotient public import Mathlib.RingTheory.Ideal.Quotient.Defs +import Mathlib.Topology.Algebra.Group.Quotient + /-! # Ideals and quotients of topological rings diff --git a/Mathlib/Topology/Algebra/SeparationQuotient/Section.lean b/Mathlib/Topology/Algebra/SeparationQuotient/Section.lean index aed34a1e860c5b..b7395f3654757f 100644 --- a/Mathlib/Topology/Algebra/SeparationQuotient/Section.lean +++ b/Mathlib/Topology/Algebra/SeparationQuotient/Section.lean @@ -6,9 +6,10 @@ Authors: Yury Kudryashov module public import Mathlib.Algebra.Module.Projective -import Mathlib.LinearAlgebra.Basis.VectorSpace public import Mathlib.Topology.Algebra.SeparationQuotient.Basic +import Mathlib.LinearAlgebra.Basis.VectorSpace + /-! # Algebraic operations on `SeparationQuotient` diff --git a/Mathlib/Topology/Algebra/Valued/WithZeroMulInt.lean b/Mathlib/Topology/Algebra/Valued/WithZeroMulInt.lean index 5497b61ea4e2f0..8291955b011281 100644 --- a/Mathlib/Topology/Algebra/Valued/WithZeroMulInt.lean +++ b/Mathlib/Topology/Algebra/Valued/WithZeroMulInt.lean @@ -5,9 +5,10 @@ Authors: Salvatore Mercuri -/ module -import Mathlib.GroupTheory.ArchimedeanDensely public import Mathlib.Topology.Algebra.Valued.ValuationTopology +import Mathlib.GroupTheory.ArchimedeanDensely + /-! # Topological results for integer-valued rings diff --git a/Mathlib/Topology/Baire/CompleteMetrizable.lean b/Mathlib/Topology/Baire/CompleteMetrizable.lean index 317a0d45d777be..679dc9ec483573 100644 --- a/Mathlib/Topology/Baire/CompleteMetrizable.lean +++ b/Mathlib/Topology/Baire/CompleteMetrizable.lean @@ -5,9 +5,10 @@ Authors: Sébastien Gouëzel, Yury Kudryashov -/ module -import Mathlib.Analysis.SpecificLimits.Basic public import Mathlib.Topology.Metrizable.CompletelyMetrizable +import Mathlib.Analysis.SpecificLimits.Basic + /-! # First Baire theorem diff --git a/Mathlib/Topology/Baire/Lemmas.lean b/Mathlib/Topology/Baire/Lemmas.lean index 2da27aac63f267..4a7478d5cc2a67 100644 --- a/Mathlib/Topology/Baire/Lemmas.lean +++ b/Mathlib/Topology/Baire/Lemmas.lean @@ -5,9 +5,10 @@ Authors: Sébastien Gouëzel -/ module +public import Mathlib.Topology.GDelta.Basic + import Mathlib.Data.Fintype.Powerset import Mathlib.Topology.Constructions -public import Mathlib.Topology.GDelta.Basic import Mathlib.Topology.Maps.OpenQuotient /-! diff --git a/Mathlib/Topology/Bases.lean b/Mathlib/Topology/Bases.lean index a13322878e00d8..8321fbaeeeb5e4 100644 --- a/Mathlib/Topology/Bases.lean +++ b/Mathlib/Topology/Bases.lean @@ -7,9 +7,10 @@ module public import Mathlib.Data.Set.Constructions public import Mathlib.Order.Filter.AtTopBot.CountablyGenerated -import Mathlib.Topology.ContinuousOn public import Mathlib.Topology.NhdsWithin +import Mathlib.Topology.ContinuousOn + /-! # Bases of topologies. Countability axioms. diff --git a/Mathlib/Topology/Category/CompHausLike/Basic.lean b/Mathlib/Topology/Category/CompHausLike/Basic.lean index cce8b0fa463de8..b544978cb2afb5 100644 --- a/Mathlib/Topology/Category/CompHausLike/Basic.lean +++ b/Mathlib/Topology/Category/CompHausLike/Basic.lean @@ -6,6 +6,7 @@ Authors: Adam Topaz, Dagur Asgeirsson, Filippo A. E. Nuccio, Riccardo Brasca module public import Mathlib.Topology.Category.TopCat.Basic + import Mathlib.CategoryTheory.Functor.EpiMono /-! diff --git a/Mathlib/Topology/Category/LightProfinite/Basic.lean b/Mathlib/Topology/Category/LightProfinite/Basic.lean index 1d47a32e66e029..90545e73ebaf25 100644 --- a/Mathlib/Topology/Category/LightProfinite/Basic.lean +++ b/Mathlib/Topology/Category/LightProfinite/Basic.lean @@ -7,6 +7,7 @@ module public import Mathlib.CategoryTheory.Limits.Shapes.Countable public import Mathlib.Topology.Category.Profinite.AsLimit + import Mathlib.Topology.Category.Profinite.CofilteredLimit import Mathlib.Topology.ClopenBox /-! diff --git a/Mathlib/Topology/Category/LightProfinite/Injective.lean b/Mathlib/Topology/Category/LightProfinite/Injective.lean index 895b63911efb44..4628bb789f2149 100644 --- a/Mathlib/Topology/Category/LightProfinite/Injective.lean +++ b/Mathlib/Topology/Category/LightProfinite/Injective.lean @@ -7,6 +7,7 @@ module public import Mathlib.CategoryTheory.Preadditive.Injective.Basic public import Mathlib.Topology.Category.LightProfinite.AsLimit + import Mathlib.Topology.Category.CompHausLike.Limits import Mathlib.CategoryTheory.Functor.OfSequence diff --git a/Mathlib/Topology/Category/Profinite/CofilteredLimit.lean b/Mathlib/Topology/Category/Profinite/CofilteredLimit.lean index 21fdbe1ab453c8..25084e3cbd2f4e 100644 --- a/Mathlib/Topology/Category/Profinite/CofilteredLimit.lean +++ b/Mathlib/Topology/Category/Profinite/CofilteredLimit.lean @@ -6,9 +6,10 @@ Authors: Adam Topaz module public import Mathlib.Topology.Category.Profinite.Basic +public import Mathlib.Topology.Category.TopCat.Limits.Konig + import Mathlib.Topology.DiscreteQuotient import Mathlib.Topology.Category.TopCat.Limits.Cofiltered -public import Mathlib.Topology.Category.TopCat.Limits.Konig /-! # Cofiltered limits of profinite sets. diff --git a/Mathlib/Topology/Category/Profinite/Nobeling/Induction.lean b/Mathlib/Topology/Category/Profinite/Nobeling/Induction.lean index 273552d6d8ee57..6139de44cda890 100644 --- a/Mathlib/Topology/Category/Profinite/Nobeling/Induction.lean +++ b/Mathlib/Topology/Category/Profinite/Nobeling/Induction.lean @@ -7,6 +7,7 @@ module public import Mathlib.Algebra.Category.ModuleCat.Free public import Mathlib.Topology.Category.Profinite.Nobeling.Span + import Mathlib.Topology.Category.Profinite.Nobeling.Successor import Mathlib.Topology.Category.Profinite.Nobeling.ZeroLimit diff --git a/Mathlib/Topology/Category/Profinite/Nobeling/Span.lean b/Mathlib/Topology/Category/Profinite/Nobeling/Span.lean index 3aebdb5e85a95c..1f63cb1f465e34 100644 --- a/Mathlib/Topology/Category/Profinite/Nobeling/Span.lean +++ b/Mathlib/Topology/Category/Profinite/Nobeling/Span.lean @@ -6,9 +6,10 @@ Authors: Dagur Asgeirsson module public import Mathlib.Data.Finset.Sort +public import Mathlib.Topology.Category.Profinite.Nobeling.Basic + import Mathlib.Tactic.NoncommRing import Mathlib.Topology.Category.Profinite.CofilteredLimit -public import Mathlib.Topology.Category.Profinite.Nobeling.Basic /-! # The good products span diff --git a/Mathlib/Topology/Category/Profinite/Nobeling/ZeroLimit.lean b/Mathlib/Topology/Category/Profinite/Nobeling/ZeroLimit.lean index 89290a852f07ef..251373c3a4cd50 100644 --- a/Mathlib/Topology/Category/Profinite/Nobeling/ZeroLimit.lean +++ b/Mathlib/Topology/Category/Profinite/Nobeling/ZeroLimit.lean @@ -5,9 +5,10 @@ Authors: Dagur Asgeirsson -/ module -import Mathlib.LinearAlgebra.LinearIndependent.Basic public import Mathlib.Topology.Category.Profinite.Nobeling.Basic +import Mathlib.LinearAlgebra.LinearIndependent.Basic + /-! # The zero and limit cases in the induction for Nöbeling's theorem diff --git a/Mathlib/Topology/Category/TopCat/EpiMono.lean b/Mathlib/Topology/Category/TopCat/EpiMono.lean index 15e9e9106f084f..448a6cb924b0af 100644 --- a/Mathlib/Topology/Category/TopCat/EpiMono.lean +++ b/Mathlib/Topology/Category/TopCat/EpiMono.lean @@ -6,6 +6,7 @@ Authors: Reid Barton module public import Mathlib.Topology.Category.TopCat.Adjunctions + import Mathlib.CategoryTheory.Functor.EpiMono /-! diff --git a/Mathlib/Topology/Category/TopCat/GrothendieckTopology.lean b/Mathlib/Topology/Category/TopCat/GrothendieckTopology.lean index c71b25c4013774..13b6b3162fdc9e 100644 --- a/Mathlib/Topology/Category/TopCat/GrothendieckTopology.lean +++ b/Mathlib/Topology/Category/TopCat/GrothendieckTopology.lean @@ -9,9 +9,10 @@ public import Mathlib.CategoryTheory.Sites.Canonical public import Mathlib.CategoryTheory.Sites.Continuous public import Mathlib.CategoryTheory.Sites.JointlySurjective public import Mathlib.CategoryTheory.Sites.MorphismProperty -import Mathlib.Topology.Category.TopCat.Limits.Pullbacks public import Mathlib.Topology.Category.TopCat.ULift +import Mathlib.Topology.Category.TopCat.Limits.Pullbacks + /-! # The Grothendieck topology on `TopCat` diff --git a/Mathlib/Topology/Category/TopCat/Opens.lean b/Mathlib/Topology/Category/TopCat/Opens.lean index 064d109e8e84cf..840810be4a241a 100644 --- a/Mathlib/Topology/Category/TopCat/Opens.lean +++ b/Mathlib/Topology/Category/TopCat/Opens.lean @@ -6,12 +6,13 @@ Authors: Kim Morrison module public import Mathlib.CategoryTheory.Category.GaloisConnection -import Mathlib.CategoryTheory.Limits.Preorder -import Mathlib.CategoryTheory.Limits.Preserves.Shapes.Products public import Mathlib.Topology.Category.TopCat.EpiMono public import Mathlib.Topology.Sets.Opens public import Mathlib.CategoryTheory.Limits.Preserves.Lattice +import Mathlib.CategoryTheory.Limits.Preorder +import Mathlib.CategoryTheory.Limits.Preserves.Shapes.Products + /-! # The category of open sets in a topological space. diff --git a/Mathlib/Topology/Category/TopCat/ULift.lean b/Mathlib/Topology/Category/TopCat/ULift.lean index 9ae21d3b7e9401..5a1d4d63ad00e1 100644 --- a/Mathlib/Topology/Category/TopCat/ULift.lean +++ b/Mathlib/Topology/Category/TopCat/ULift.lean @@ -7,6 +7,7 @@ module public import Mathlib.Topology.Category.TopCat.Limits.Basic public import Mathlib.Topology.Homeomorph.Lemmas + import Mathlib.CategoryTheory.Limits.Preserves.Ulift /-! diff --git a/Mathlib/Topology/Category/TopCat/Yoneda.lean b/Mathlib/Topology/Category/TopCat/Yoneda.lean index cf941a3268387f..8f385c9af688b7 100644 --- a/Mathlib/Topology/Category/TopCat/Yoneda.lean +++ b/Mathlib/Topology/Category/TopCat/Yoneda.lean @@ -7,10 +7,11 @@ module public import Mathlib.CategoryTheory.Limits.Preserves.Finite public import Mathlib.CategoryTheory.Limits.Shapes.Opposites.Products -import Mathlib.CategoryTheory.Limits.Preserves.Shapes.Products public import Mathlib.CategoryTheory.Limits.Types.Products public import Mathlib.Topology.Category.TopCat.Limits.Products +import Mathlib.CategoryTheory.Limits.Preserves.Shapes.Products + /-! # Yoneda presheaves on topologically concrete categories diff --git a/Mathlib/Topology/Category/UniformSpace.lean b/Mathlib/Topology/Category/UniformSpace.lean index d40997cdea8a59..063f3d2928d838 100644 --- a/Mathlib/Topology/Category/UniformSpace.lean +++ b/Mathlib/Topology/Category/UniformSpace.lean @@ -5,11 +5,12 @@ Authors: Reid Barton, Patrick Massot, Kim Morrison -/ module -import Mathlib.CategoryTheory.Adjunction.Reflective public import Mathlib.CategoryTheory.Monad.Limits -- shake: keep (used in `example` only) public import Mathlib.Topology.Category.TopCat.Basic public import Mathlib.Topology.UniformSpace.Completion +import Mathlib.CategoryTheory.Adjunction.Reflective + /-! # The category of uniform spaces diff --git a/Mathlib/Topology/ClopenBox.lean b/Mathlib/Topology/ClopenBox.lean index 9b36ffc2b06f79..301f80dcbb3dca 100644 --- a/Mathlib/Topology/ClopenBox.lean +++ b/Mathlib/Topology/ClopenBox.lean @@ -5,10 +5,11 @@ Authors: Dagur Asgeirsson -/ module -import Mathlib.Topology.CompactOpen public import Mathlib.Topology.Separation.Profinite public import Mathlib.Topology.Sets.Closeds +import Mathlib.Topology.CompactOpen + /-! # Clopen subsets in Cartesian products diff --git a/Mathlib/Topology/Compactification/OnePoint/Basic.lean b/Mathlib/Topology/Compactification/OnePoint/Basic.lean index 04a09e698bc5c1..dc1a0900fedb48 100644 --- a/Mathlib/Topology/Compactification/OnePoint/Basic.lean +++ b/Mathlib/Topology/Compactification/OnePoint/Basic.lean @@ -8,6 +8,7 @@ module public import Mathlib.Data.Fintype.Option public import Mathlib.Topology.Homeomorph.Lemmas public import Mathlib.Topology.Sets.Opens + import Mathlib.Topology.WithTopology /-! diff --git a/Mathlib/Topology/Compactification/OnePoint/ProjectiveLine.lean b/Mathlib/Topology/Compactification/OnePoint/ProjectiveLine.lean index 5d1854a4acf9ca..77d1e8c5bef658 100644 --- a/Mathlib/Topology/Compactification/OnePoint/ProjectiveLine.lean +++ b/Mathlib/Topology/Compactification/OnePoint/ProjectiveLine.lean @@ -5,11 +5,12 @@ Authors: Bjørn Kjos-Hanssen, Oliver Nash -/ module -import Mathlib.Algebra.QuadraticDiscriminant public import Mathlib.LinearAlgebra.Matrix.GeneralLinearGroup.FinTwo public import Mathlib.LinearAlgebra.Projectivization.Action public import Mathlib.Topology.Compactification.OnePoint.Basic +import Mathlib.Algebra.QuadraticDiscriminant + /-! # One-point compactification and projectivization diff --git a/Mathlib/Topology/Compactness/Bases.lean b/Mathlib/Topology/Compactness/Bases.lean index d7a49a5b18950c..fb7ab87c34a3f5 100644 --- a/Mathlib/Topology/Compactness/Bases.lean +++ b/Mathlib/Topology/Compactness/Bases.lean @@ -6,6 +6,7 @@ Authors: Andrew Yang, Dagur Asgeirsson module public import Mathlib.Topology.Bases + import Mathlib.Topology.Compactness.Compact /-! diff --git a/Mathlib/Topology/Compactness/CompactlyGeneratedSpace.lean b/Mathlib/Topology/Compactness/CompactlyGeneratedSpace.lean index c5b6e221e77327..2bd115b4fa6aae 100644 --- a/Mathlib/Topology/Compactness/CompactlyGeneratedSpace.lean +++ b/Mathlib/Topology/Compactness/CompactlyGeneratedSpace.lean @@ -6,6 +6,7 @@ Authors: Dagur Asgeirsson, Etienne Marion module public import Mathlib.Topology.Category.CompHaus.Basic + import Mathlib.Topology.Compactification.OnePoint.Basic /-! diff --git a/Mathlib/Topology/Compactness/LocallyFinite.lean b/Mathlib/Topology/Compactness/LocallyFinite.lean index d109f68155e6fc..6ac52887766c9b 100644 --- a/Mathlib/Topology/Compactness/LocallyFinite.lean +++ b/Mathlib/Topology/Compactness/LocallyFinite.lean @@ -6,6 +6,7 @@ Authors: Yury Kudryashov module public import Mathlib.Topology.LocallyFinite + import Mathlib.Topology.Compactness.Compact /-! diff --git a/Mathlib/Topology/Connected/CardComponents.lean b/Mathlib/Topology/Connected/CardComponents.lean index 47234297d6a787..34ce7b8bc4478b 100644 --- a/Mathlib/Topology/Connected/CardComponents.lean +++ b/Mathlib/Topology/Connected/CardComponents.lean @@ -6,9 +6,10 @@ Authors: Christian Merten module public import Mathlib.Data.Set.Card.Arithmetic -import Mathlib.Topology.LocalAtTarget public import Mathlib.Topology.Separation.Connected +import Mathlib.Topology.LocalAtTarget + /-! # Cardinality of connected components under open and closed maps diff --git a/Mathlib/Topology/Constructions.lean b/Mathlib/Topology/Constructions.lean index 90a8708c6d07d2..d02d2f98e43165 100644 --- a/Mathlib/Topology/Constructions.lean +++ b/Mathlib/Topology/Constructions.lean @@ -11,6 +11,7 @@ public import Mathlib.Data.Finset.Piecewise public import Mathlib.Order.Filter.Cofinite public import Mathlib.Order.Filter.Curry public import Mathlib.Topology.Constructions.SumProd + import Mathlib.Topology.WithTopology /-! diff --git a/Mathlib/Topology/ContinuousMap/Bounded/ArzelaAscoli.lean b/Mathlib/Topology/ContinuousMap/Bounded/ArzelaAscoli.lean index a0f9800f6e05fb..c1f58f8b289d83 100644 --- a/Mathlib/Topology/ContinuousMap/Bounded/ArzelaAscoli.lean +++ b/Mathlib/Topology/ContinuousMap/Bounded/ArzelaAscoli.lean @@ -6,6 +6,7 @@ Authors: Sébastien Gouëzel, Mario Carneiro, Yury Kudryashov, Heather Macbeth module public import Mathlib.Topology.ContinuousMap.Bounded.Basic + import Mathlib.Topology.MetricSpace.Equicontinuity /-! diff --git a/Mathlib/Topology/ContinuousMap/Compact.lean b/Mathlib/Topology/ContinuousMap/Compact.lean index 4e74046b6311ab..d4a06ff1493010 100644 --- a/Mathlib/Topology/ContinuousMap/Compact.lean +++ b/Mathlib/Topology/ContinuousMap/Compact.lean @@ -7,6 +7,7 @@ module public import Mathlib.Topology.ContinuousMap.Bounded.Star public import Mathlib.Topology.Sets.Compacts + import Mathlib.Analysis.Normed.Group.InfiniteSum /-! diff --git a/Mathlib/Topology/ContinuousMap/Ideals.lean b/Mathlib/Topology/ContinuousMap/Ideals.lean index c3f7087ba3bb83..8d51157891f299 100644 --- a/Mathlib/Topology/ContinuousMap/Ideals.lean +++ b/Mathlib/Topology/ContinuousMap/Ideals.lean @@ -5,12 +5,13 @@ Authors: Jireh Loreaux -/ module -import Mathlib.Topology.ContinuousMap.Compact public import Mathlib.Topology.UrysohnsLemma public import Mathlib.Analysis.RCLike.Basic public import Mathlib.Analysis.Normed.Ring.Units public import Mathlib.Topology.Algebra.Module.Spaces.CharacterSpace +import Mathlib.Topology.ContinuousMap.Compact + /-! # Ideals of continuous functions diff --git a/Mathlib/Topology/ContinuousMap/StoneWeierstrass.lean b/Mathlib/Topology/ContinuousMap/StoneWeierstrass.lean index 6fb459f0306292..d95010720d2bd5 100644 --- a/Mathlib/Topology/ContinuousMap/StoneWeierstrass.lean +++ b/Mathlib/Topology/ContinuousMap/StoneWeierstrass.lean @@ -6,12 +6,13 @@ Authors: Kim Morrison, Heather Macbeth module public import Mathlib.Algebra.Algebra.Subalgebra.Tower -import Mathlib.Topology.Algebra.Star.Real public import Mathlib.Topology.Algebra.StarSubalgebra public import Mathlib.Topology.Algebra.NonUnitalStarAlgebra public import Mathlib.Topology.ContinuousMap.ContinuousMapZero public import Mathlib.Topology.ContinuousMap.Lattice public import Mathlib.Topology.ContinuousMap.Weierstrass + +import Mathlib.Topology.Algebra.Star.Real import Mathlib.Algebra.Order.Module.Basic /-! diff --git a/Mathlib/Topology/Convenient/OpenClosed.lean b/Mathlib/Topology/Convenient/OpenClosed.lean index f8b6fb95b7a04e..bf928884d58369 100644 --- a/Mathlib/Topology/Convenient/OpenClosed.lean +++ b/Mathlib/Topology/Convenient/OpenClosed.lean @@ -6,9 +6,10 @@ Authors: Joël Riou module public import Mathlib.Topology.Convenient.GeneratedBy -import Mathlib.Topology.Homeomorph.Lemmas public import Mathlib.Topology.Sets.Closeds +import Mathlib.Topology.Homeomorph.Lemmas + /-! # Open or closed subsets that are also `X`-generated spaces diff --git a/Mathlib/Topology/EMetricSpace/BoundedVariation.lean b/Mathlib/Topology/EMetricSpace/BoundedVariation.lean index d2ea7968e2081b..ff24d631b6b39a 100644 --- a/Mathlib/Topology/EMetricSpace/BoundedVariation.lean +++ b/Mathlib/Topology/EMetricSpace/BoundedVariation.lean @@ -5,7 +5,6 @@ Authors: Sébastien Gouëzel -/ module -import Mathlib.Order.Interval.Set.ProjIcc public import Mathlib.Data.Finset.Sort public import Mathlib.Topology.UniformSpace.UniformConvergenceTopology public import Mathlib.Topology.Instances.ENNReal.Lemmas @@ -13,6 +12,8 @@ public import Mathlib.Topology.Order.LeftRightLim public import Mathlib.Topology.Semicontinuity.Defs public import Mathlib.Tactic.Bound +import Mathlib.Order.Interval.Set.ProjIcc + /-! # Functions of bounded variation diff --git a/Mathlib/Topology/FiberBundle/Basic.lean b/Mathlib/Topology/FiberBundle/Basic.lean index 6aad7ed0c4b4a3..8c1c5960a68db4 100644 --- a/Mathlib/Topology/FiberBundle/Basic.lean +++ b/Mathlib/Topology/FiberBundle/Basic.lean @@ -6,6 +6,7 @@ Authors: Sébastien Gouëzel, Floris van Doorn, Heather Macbeth module public import Mathlib.Topology.FiberBundle.Trivialization + import Mathlib.Topology.Order.LeftRightNhds /-! diff --git a/Mathlib/Topology/Filter.lean b/Mathlib/Topology/Filter.lean index 79086ddbb4dd4a..e94f4223ce1f03 100644 --- a/Mathlib/Topology/Filter.lean +++ b/Mathlib/Topology/Filter.lean @@ -5,9 +5,10 @@ Authors: Yury Kudryashov -/ module -import Mathlib.Order.Interval.Set.Monotone public import Mathlib.Topology.Separation.Basic +import Mathlib.Order.Interval.Set.Monotone + /-! # Topology on the set of filters on a type diff --git a/Mathlib/Topology/GDelta/Basic.lean b/Mathlib/Topology/GDelta/Basic.lean index 59fd77785ca3e3..50691ab26a81e8 100644 --- a/Mathlib/Topology/GDelta/Basic.lean +++ b/Mathlib/Topology/GDelta/Basic.lean @@ -8,6 +8,7 @@ module public import Mathlib.Order.Filter.CountableInter public import Mathlib.Topology.Defs.Induced public import Mathlib.Data.Set.Notation + import Mathlib.Topology.Constructions /-! diff --git a/Mathlib/Topology/Gluing.lean b/Mathlib/Topology/Gluing.lean index 5a05c1305e1a4a..7e1ca922836f73 100644 --- a/Mathlib/Topology/Gluing.lean +++ b/Mathlib/Topology/Gluing.lean @@ -9,6 +9,7 @@ public import Mathlib.CategoryTheory.GlueData public import Mathlib.Topology.Category.TopCat.Limits.Pullbacks public import Mathlib.Topology.Category.TopCat.Opens public import Mathlib.CategoryTheory.Limits.Types.Coequalizers + import Mathlib.CategoryTheory.ConcreteCategory.EpiMono /-! diff --git a/Mathlib/Topology/Homotopy/HomotopyGroup.lean b/Mathlib/Topology/Homotopy/HomotopyGroup.lean index 7e31235528e587..dfa439af7306d7 100644 --- a/Mathlib/Topology/Homotopy/HomotopyGroup.lean +++ b/Mathlib/Topology/Homotopy/HomotopyGroup.lean @@ -5,11 +5,12 @@ Authors: Roberto Alvarez -/ module -import Mathlib.Algebra.Group.Ext public import Mathlib.Algebra.Group.TransferInstance public import Mathlib.AlgebraicTopology.FundamentalGroupoid.FundamentalGroup public import Mathlib.GroupTheory.EckmannHilton +import Mathlib.Algebra.Group.Ext + /-! # `n`th homotopy group diff --git a/Mathlib/Topology/Instances/AddCircle/Defs.lean b/Mathlib/Topology/Instances/AddCircle/Defs.lean index b287a48ed5a8ea..ff91ca21a74cd8 100644 --- a/Mathlib/Topology/Instances/AddCircle/Defs.lean +++ b/Mathlib/Topology/Instances/AddCircle/Defs.lean @@ -13,6 +13,7 @@ public import Mathlib.Topology.Algebra.Group.ZPow public import Mathlib.Topology.Algebra.OpenSubgroup public import Mathlib.Topology.Algebra.Order.Field public import Mathlib.Topology.OpenPartialHomeomorph.Defs + import Mathlib.Algebra.GroupWithZero.Action.Regular import Mathlib.Algebra.Order.Interval.Set.Group import Mathlib.GroupTheory.QuotientGroup.ModEq diff --git a/Mathlib/Topology/Instances/AddCircle/DenseSubgroup.lean b/Mathlib/Topology/Instances/AddCircle/DenseSubgroup.lean index a5cc0a276d8820..7927d07297d84a 100644 --- a/Mathlib/Topology/Instances/AddCircle/DenseSubgroup.lean +++ b/Mathlib/Topology/Instances/AddCircle/DenseSubgroup.lean @@ -7,6 +7,7 @@ module public import Mathlib.NumberTheory.Real.Irrational public import Mathlib.Topology.Instances.AddCircle.Defs + import Mathlib.Topology.Algebra.Order.Archimedean /-! diff --git a/Mathlib/Topology/Instances/CantorSet.lean b/Mathlib/Topology/Instances/CantorSet.lean index b89bbfc07cc7be..b2284da6ace0a3 100644 --- a/Mathlib/Topology/Instances/CantorSet.lean +++ b/Mathlib/Topology/Instances/CantorSet.lean @@ -7,10 +7,11 @@ Filippo A. E. Nuccio -/ module -import Mathlib.Algebra.CharP.Defs public import Mathlib.Analysis.Real.OfDigits public import Mathlib.Data.Stream.Init +import Mathlib.Algebra.CharP.Defs + /-! # Ternary Cantor Set diff --git a/Mathlib/Topology/Instances/Complex.lean b/Mathlib/Topology/Instances/Complex.lean index 1cc4332b37a76c..2cf332741e462f 100644 --- a/Mathlib/Topology/Instances/Complex.lean +++ b/Mathlib/Topology/Instances/Complex.lean @@ -7,6 +7,7 @@ module public import Mathlib.Analysis.Complex.Basic public import Mathlib.FieldTheory.IntermediateField.Basic + import Mathlib.LinearAlgebra.Complex.FiniteDimensional import Mathlib.LinearAlgebra.FiniteDimensional.Lemmas import Mathlib.Topology.Algebra.UniformRing diff --git a/Mathlib/Topology/Instances/ENNReal/ENatENNReal.lean b/Mathlib/Topology/Instances/ENNReal/ENatENNReal.lean index 24e7d2f8059faf..62e63c308f74c4 100644 --- a/Mathlib/Topology/Instances/ENNReal/ENatENNReal.lean +++ b/Mathlib/Topology/Instances/ENNReal/ENatENNReal.lean @@ -7,12 +7,13 @@ module public import Mathlib.Basic.Real.ENatENNReal public import Mathlib.Topology.Instances.ENat +public import Mathlib.Topology.Order.Real + import Mathlib.Algebra.Order.Floor.Extended import Mathlib.Algebra.Order.Module.Field import Mathlib.Data.EReal.Operations import Mathlib.Topology.Algebra.InfiniteSum.Order import Mathlib.Topology.MetricSpace.Bounded -public import Mathlib.Topology.Order.Real /-! # Topology lemma for `ENat.toENNReal` diff --git a/Mathlib/Topology/Instances/Irrational.lean b/Mathlib/Topology/Instances/Irrational.lean index e5a6bba14066e3..9c614cb614a992 100644 --- a/Mathlib/Topology/Instances/Irrational.lean +++ b/Mathlib/Topology/Instances/Irrational.lean @@ -5,8 +5,9 @@ Authors: Yury Kudryashov -/ module -import Mathlib.Data.Rat.Encodable public import Mathlib.NumberTheory.Real.Irrational + +import Mathlib.Data.Rat.Encodable import Mathlib.Topology.Separation.GDelta import Mathlib.Topology.Instances.Real.Lemmas diff --git a/Mathlib/Topology/Instances/Rat.lean b/Mathlib/Topology/Instances/Rat.lean index 0b91270e4aa143..b67f38cebd428b 100644 --- a/Mathlib/Topology/Instances/Rat.lean +++ b/Mathlib/Topology/Instances/Rat.lean @@ -7,11 +7,12 @@ module public import Mathlib.Algebra.Algebra.Rat public import Mathlib.Algebra.Module.Rat -import Mathlib.Algebra.Order.Ring.NNRat public import Mathlib.Topology.Algebra.Order.Archimedean public import Mathlib.Topology.Algebra.Ring.Real public import Mathlib.Topology.Instances.Nat +import Mathlib.Algebra.Order.Ring.NNRat + /-! # Topology on the rational numbers diff --git a/Mathlib/Topology/Instances/RatLemmas.lean b/Mathlib/Topology/Instances/RatLemmas.lean index 9fdd4475ff2f5e..9e6dcdea9ff2d3 100644 --- a/Mathlib/Topology/Instances/RatLemmas.lean +++ b/Mathlib/Topology/Instances/RatLemmas.lean @@ -5,9 +5,10 @@ Authors: Yury Kudryashov -/ module -import Mathlib.Topology.Instances.Irrational public import Mathlib.Topology.Instances.Rat public import Mathlib.Topology.Compactification.OnePoint.Basic + +import Mathlib.Topology.Instances.Irrational import Mathlib.Topology.Metrizable.Uniformity /-! diff --git a/Mathlib/Topology/Instances/TrivSqZeroExt.lean b/Mathlib/Topology/Instances/TrivSqZeroExt.lean index abc482b98feb07..3e1651b8ae1ca6 100644 --- a/Mathlib/Topology/Instances/TrivSqZeroExt.lean +++ b/Mathlib/Topology/Instances/TrivSqZeroExt.lean @@ -7,9 +7,10 @@ module public import Mathlib.Algebra.TrivSqZeroExt.Basic public import Mathlib.Topology.Algebra.InfiniteSum.Basic -import Mathlib.Topology.Algebra.IsUniformGroup.Constructions public import Mathlib.Topology.Algebra.Module.ContinuousLinearMap.PiProd +import Mathlib.Topology.Algebra.IsUniformGroup.Constructions + /-! # Topology on `TrivSqZeroExt R M` diff --git a/Mathlib/Topology/Instances/ZMultiples.lean b/Mathlib/Topology/Instances/ZMultiples.lean index e511a8b03f492b..6a11f1434c819d 100644 --- a/Mathlib/Topology/Instances/ZMultiples.lean +++ b/Mathlib/Topology/Instances/ZMultiples.lean @@ -6,9 +6,10 @@ Authors: Johannes Hölzl, Mario Carneiro module public import Mathlib.Algebra.Group.Subgroup.ZPowers.Lemmas +public import Mathlib.Topology.Algebra.Ring.Real + import Mathlib.Algebra.Module.Submodule.Lattice import Mathlib.Topology.Algebra.OpenSubgroup -public import Mathlib.Topology.Algebra.Ring.Real /-! # Multiples of a real number form a discrete subgroup of `ℝ` diff --git a/Mathlib/Topology/Irreducible.lean b/Mathlib/Topology/Irreducible.lean index 75b59379dbd06c..a1df03d14dd79c 100644 --- a/Mathlib/Topology/Irreducible.lean +++ b/Mathlib/Topology/Irreducible.lean @@ -6,6 +6,7 @@ Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov module public import Mathlib.Topology.DiscreteSubset + import Mathlib.Topology.WithTopology /-! diff --git a/Mathlib/Topology/List.lean b/Mathlib/Topology/List.lean index 9ae8809bc57f6d..ec14c4d4244ecf 100644 --- a/Mathlib/Topology/List.lean +++ b/Mathlib/Topology/List.lean @@ -5,11 +5,12 @@ Authors: Johannes Hölzl -/ module +public import Mathlib.Topology.Algebra.Monoid.Defs +public import Mathlib.Data.Vector.Basic + import Mathlib.Topology.Constructions import Mathlib.Order.Filter.ListTraverse import Mathlib.Tactic.AdaptationNote -public import Mathlib.Topology.Algebra.Monoid.Defs -public import Mathlib.Data.Vector.Basic /-! # Topology on lists and vectors diff --git a/Mathlib/Topology/LocallyClosed.lean b/Mathlib/Topology/LocallyClosed.lean index b57dbaba3aff6b..cc1f6db1edb89f 100644 --- a/Mathlib/Topology/LocallyClosed.lean +++ b/Mathlib/Topology/LocallyClosed.lean @@ -6,6 +6,7 @@ Authors: Andrew Yang, Anatole Dedecker module public import Mathlib.Topology.NhdsWithin + import Mathlib.Tactic.TFAE /-! diff --git a/Mathlib/Topology/LocallyConstant/Algebra.lean b/Mathlib/Topology/LocallyConstant/Algebra.lean index 84e5bb18deb7d4..9c1ada6222b714 100644 --- a/Mathlib/Topology/LocallyConstant/Algebra.lean +++ b/Mathlib/Topology/LocallyConstant/Algebra.lean @@ -6,10 +6,11 @@ Authors: Johan Commelin module public import Mathlib.Algebra.Algebra.Pi -import Mathlib.Algebra.GroupWithZero.Indicator public import Mathlib.LinearAlgebra.Pi public import Mathlib.Topology.LocallyConstant.Basic +import Mathlib.Algebra.GroupWithZero.Indicator + /-! # Algebraic structure on locally constant functions diff --git a/Mathlib/Topology/LocallyFinsupp.lean b/Mathlib/Topology/LocallyFinsupp.lean index 6f2107cfc849dc..f1fd904b7dadff 100644 --- a/Mathlib/Topology/LocallyFinsupp.lean +++ b/Mathlib/Topology/LocallyFinsupp.lean @@ -10,11 +10,12 @@ public import Mathlib.Algebra.Group.Subgroup.Defs public import Mathlib.Algebra.Group.Support public import Mathlib.Algebra.Order.Group.PosPart public import Mathlib.Algebra.Order.Hom.Monoid -import Mathlib.Algebra.Order.Monoid.Unbundled.Pow -import Mathlib.Algebra.Order.Pi public import Mathlib.Topology.Separation.Hausdorff public import Mathlib.Tactic.Peel +import Mathlib.Algebra.Order.Monoid.Unbundled.Pow +import Mathlib.Algebra.Order.Pi + /-! # Type of functions with locally finite support diff --git a/Mathlib/Topology/Maps/Basic.lean b/Mathlib/Topology/Maps/Basic.lean index d711d0622afde1..b27a1d010d928c 100644 --- a/Mathlib/Topology/Maps/Basic.lean +++ b/Mathlib/Topology/Maps/Basic.lean @@ -6,6 +6,7 @@ Authors: Johannes Hölzl, Mario Carneiro, Patrick Massot module public import Mathlib.Topology.Order + import Mathlib.Topology.NhdsSet /-! diff --git a/Mathlib/Topology/Maps/Strict/Basic.lean b/Mathlib/Topology/Maps/Strict/Basic.lean index cf2938c947c26b..2fac82333e57b6 100644 --- a/Mathlib/Topology/Maps/Strict/Basic.lean +++ b/Mathlib/Topology/Maps/Strict/Basic.lean @@ -6,6 +6,7 @@ Authors: Ziyan Wei, Anatole Dedecker module public import Mathlib.Topology.Homeomorph.Quotient + import Mathlib.Topology.Homeomorph.Lemmas /-! diff --git a/Mathlib/Topology/MetricSpace/Algebra.lean b/Mathlib/Topology/MetricSpace/Algebra.lean index def5e00c089bd4..9570c349710e9e 100644 --- a/Mathlib/Topology/MetricSpace/Algebra.lean +++ b/Mathlib/Topology/MetricSpace/Algebra.lean @@ -8,6 +8,7 @@ module public import Mathlib.Topology.Algebra.SeparationQuotient.Basic public import Mathlib.Topology.Algebra.UniformMulAction public import Mathlib.Topology.MetricSpace.Lipschitz + import Mathlib.Topology.Order.LiminfLimsup /-! diff --git a/Mathlib/Topology/MetricSpace/Bilipschitz.lean b/Mathlib/Topology/MetricSpace/Bilipschitz.lean index f35d2848b3a50b..aa6a5d0ed85e0a 100644 --- a/Mathlib/Topology/MetricSpace/Bilipschitz.lean +++ b/Mathlib/Topology/MetricSpace/Bilipschitz.lean @@ -6,6 +6,7 @@ Authors: Jireh Loreaux module public import Mathlib.Topology.MetricSpace.Antilipschitz + import Mathlib.Topology.MetricSpace.Lipschitz /-! # Bilipschitz equivalence diff --git a/Mathlib/Topology/MetricSpace/CauSeqFilter.lean b/Mathlib/Topology/MetricSpace/CauSeqFilter.lean index 7cd36f4bec2272..4e62f2fc1313e5 100644 --- a/Mathlib/Topology/MetricSpace/CauSeqFilter.lean +++ b/Mathlib/Topology/MetricSpace/CauSeqFilter.lean @@ -6,6 +6,7 @@ Authors: Robert Y. Lewis, Sébastien Gouëzel module public import Mathlib.Analysis.Normed.Field.Basic + import Mathlib.Topology.MetricSpace.Cauchy /-! diff --git a/Mathlib/Topology/MetricSpace/Completion.lean b/Mathlib/Topology/MetricSpace/Completion.lean index 7a2b7e553dbe3e..e9f17457e6c8dd 100644 --- a/Mathlib/Topology/MetricSpace/Completion.lean +++ b/Mathlib/Topology/MetricSpace/Completion.lean @@ -5,11 +5,12 @@ Authors: Sébastien Gouëzel -/ module -import Mathlib.Topology.Algebra.Ring.Real public import Mathlib.Topology.Algebra.UniformRing public import Mathlib.Topology.MetricSpace.Algebra public import Mathlib.Topology.MetricSpace.Isometry +import Mathlib.Topology.Algebra.Ring.Real + /-! # The completion of a metric space diff --git a/Mathlib/Topology/MetricSpace/Contracting.lean b/Mathlib/Topology/MetricSpace/Contracting.lean index 6543ece40236dd..ed463bfd9509f8 100644 --- a/Mathlib/Topology/MetricSpace/Contracting.lean +++ b/Mathlib/Topology/MetricSpace/Contracting.lean @@ -5,10 +5,11 @@ Authors: Rohan Mitta, Kevin Buzzard, Alistair Tucker, Johannes Hölzl, Yury Kudr -/ module -import Mathlib.Analysis.SpecificLimits.Basic public import Mathlib.Dynamics.FixedPoints.Topology public import Mathlib.Topology.MetricSpace.Lipschitz +import Mathlib.Analysis.SpecificLimits.Basic + /-! # Contracting maps diff --git a/Mathlib/Topology/MetricSpace/Dilation.lean b/Mathlib/Topology/MetricSpace/Dilation.lean index f1f549f2485926..6ced27ae18be44 100644 --- a/Mathlib/Topology/MetricSpace/Dilation.lean +++ b/Mathlib/Topology/MetricSpace/Dilation.lean @@ -6,6 +6,7 @@ Authors: Hanting Zhang module public import Mathlib.Topology.MetricSpace.Isometry + import Mathlib.Topology.MetricSpace.Lipschitz /-! diff --git a/Mathlib/Topology/MetricSpace/Gluing.lean b/Mathlib/Topology/MetricSpace/Gluing.lean index 14862cbadafc2b..be26fae2cc5bd5 100644 --- a/Mathlib/Topology/MetricSpace/Gluing.lean +++ b/Mathlib/Topology/MetricSpace/Gluing.lean @@ -5,9 +5,10 @@ Authors: Sébastien Gouëzel -/ module -import Mathlib.Order.ConditionallyCompleteLattice.Group public import Mathlib.Topology.MetricSpace.Isometry +import Mathlib.Order.ConditionallyCompleteLattice.Group + /-! # Metric space gluing diff --git a/Mathlib/Topology/MetricSpace/GromovHausdorff.lean b/Mathlib/Topology/MetricSpace/GromovHausdorff.lean index ddbcd1af37f62e..ab181e833d1d8d 100644 --- a/Mathlib/Topology/MetricSpace/GromovHausdorff.lean +++ b/Mathlib/Topology/MetricSpace/GromovHausdorff.lean @@ -5,12 +5,13 @@ Authors: Sébastien Gouëzel -/ module -import Mathlib.Logic.Encodable.Pi public import Mathlib.Topology.MetricSpace.Closeds -import Mathlib.Topology.MetricSpace.Completion public import Mathlib.Topology.MetricSpace.GromovHausdorffRealized public import Mathlib.Topology.MetricSpace.Kuratowski +import Mathlib.Logic.Encodable.Pi +import Mathlib.Topology.MetricSpace.Completion + /-! # Gromov-Hausdorff distance diff --git a/Mathlib/Topology/MetricSpace/GromovHausdorffRealized.lean b/Mathlib/Topology/MetricSpace/GromovHausdorffRealized.lean index 61103ddc1e3dc4..109f54d859aea8 100644 --- a/Mathlib/Topology/MetricSpace/GromovHausdorffRealized.lean +++ b/Mathlib/Topology/MetricSpace/GromovHausdorffRealized.lean @@ -5,10 +5,11 @@ Authors: Sébastien Gouëzel -/ module -import Mathlib.Topology.ContinuousMap.Bounded.ArzelaAscoli public import Mathlib.Topology.ContinuousMap.Bounded.Normed public import Mathlib.Topology.MetricSpace.Gluing +import Mathlib.Topology.ContinuousMap.Bounded.ArzelaAscoli + /-! # The Gromov-Hausdorff distance is realized diff --git a/Mathlib/Topology/MetricSpace/HausdorffDimension.lean b/Mathlib/Topology/MetricSpace/HausdorffDimension.lean index 47c3dc55e64e7e..62def6b04b30b2 100644 --- a/Mathlib/Topology/MetricSpace/HausdorffDimension.lean +++ b/Mathlib/Topology/MetricSpace/HausdorffDimension.lean @@ -7,6 +7,7 @@ module public import Mathlib.Analysis.Calculus.ContDiff.RCLike public import Mathlib.MeasureTheory.Measure.Hausdorff + import Mathlib.Analysis.Convex.Intrinsic /-! diff --git a/Mathlib/Topology/MetricSpace/PartitionOfUnity.lean b/Mathlib/Topology/MetricSpace/PartitionOfUnity.lean index d57572f7894977..1175d72e3bc943 100644 --- a/Mathlib/Topology/MetricSpace/PartitionOfUnity.lean +++ b/Mathlib/Topology/MetricSpace/PartitionOfUnity.lean @@ -5,9 +5,10 @@ Authors: Yury Kudryashov -/ module -import Mathlib.Topology.EMetricSpace.Paracompact public import Mathlib.Analysis.Convex.PartitionOfUnity +import Mathlib.Topology.EMetricSpace.Paracompact + /-! # Lemmas about (e)metric spaces that need partition of unity diff --git a/Mathlib/Topology/MetricSpace/Perfect.lean b/Mathlib/Topology/MetricSpace/Perfect.lean index b4e368b818033e..ae20299e2756e9 100644 --- a/Mathlib/Topology/MetricSpace/Perfect.lean +++ b/Mathlib/Topology/MetricSpace/Perfect.lean @@ -8,6 +8,7 @@ module public import Mathlib.Topology.Perfect public import Mathlib.Topology.MetricSpace.Polish public import Mathlib.Topology.MetricSpace.CantorScheme + import Mathlib.Topology.Metrizable.Real /-! diff --git a/Mathlib/Topology/MetricSpace/PiNat.lean b/Mathlib/Topology/MetricSpace/PiNat.lean index 1534d1de3f0dc4..d49fcef00697ab 100644 --- a/Mathlib/Topology/MetricSpace/PiNat.lean +++ b/Mathlib/Topology/MetricSpace/PiNat.lean @@ -6,11 +6,12 @@ Authors: Sébastien Gouëzel module public import Mathlib.Analysis.Normed.Group.FunctionSeries -import Mathlib.Topology.Algebra.MetricSpace.Lipschitz public import Mathlib.Topology.MetricSpace.HausdorffDistance -import Mathlib.Topology.Order.ProjIcc public import Mathlib.Topology.UnitInterval +import Mathlib.Topology.Algebra.MetricSpace.Lipschitz +import Mathlib.Topology.Order.ProjIcc + /-! # Topological study of spaces `Π (n : ℕ), E n` diff --git a/Mathlib/Topology/MetricSpace/ProperSpace.lean b/Mathlib/Topology/MetricSpace/ProperSpace.lean index e31c61164836d9..f0fe9a8b728440 100644 --- a/Mathlib/Topology/MetricSpace/ProperSpace.lean +++ b/Mathlib/Topology/MetricSpace/ProperSpace.lean @@ -5,10 +5,11 @@ Authors: Sébastien Gouëzel -/ module -import Mathlib.Topology.MetricSpace.Pseudo.Basic public import Mathlib.Topology.MetricSpace.Pseudo.Lemmas public import Mathlib.Topology.MetricSpace.Pseudo.Pi +import Mathlib.Topology.MetricSpace.Pseudo.Basic + /-! # Proper spaces ## Main definitions and results diff --git a/Mathlib/Topology/MetricSpace/ProperSpace/Real.lean b/Mathlib/Topology/MetricSpace/ProperSpace/Real.lean index dbcf1d48703c91..a86d90d6e0d4ea 100644 --- a/Mathlib/Topology/MetricSpace/ProperSpace/Real.lean +++ b/Mathlib/Topology/MetricSpace/ProperSpace/Real.lean @@ -7,10 +7,11 @@ module public import Mathlib.Data.Rat.Encodable public import Mathlib.Topology.MetricSpace.Isometry -import Mathlib.Topology.Order.MonotoneContinuity public import Mathlib.Topology.Order.Real public import Mathlib.Topology.UniformSpace.Real +import Mathlib.Topology.Order.MonotoneContinuity + /-! # Second countability of the reals diff --git a/Mathlib/Topology/MetricSpace/Pseudo/Defs.lean b/Mathlib/Topology/MetricSpace/Pseudo/Defs.lean index 2809c284413071..93b857abd33f02 100644 --- a/Mathlib/Topology/MetricSpace/Pseudo/Defs.lean +++ b/Mathlib/Topology/MetricSpace/Pseudo/Defs.lean @@ -7,6 +7,7 @@ module public import Mathlib.Topology.Bornology.Basic public import Mathlib.Topology.EMetricSpace.Defs + import Mathlib.Tactic.Basify.Attr /-! diff --git a/Mathlib/Topology/MetricSpace/Pseudo/Real.lean b/Mathlib/Topology/MetricSpace/Pseudo/Real.lean index affb61d4d3a876..cc8010025e6fd3 100644 --- a/Mathlib/Topology/MetricSpace/Pseudo/Real.lean +++ b/Mathlib/Topology/MetricSpace/Pseudo/Real.lean @@ -5,9 +5,10 @@ Authors: Jeremy Avigad, Robert Y. Lewis, Johannes Hölzl, Mario Carneiro, Sébas -/ module -import Mathlib.Algebra.Order.Group.Pointwise.Interval public import Mathlib.Topology.MetricSpace.Pseudo.Pi +import Mathlib.Algebra.Order.Group.Pointwise.Interval + /-! # Lemmas about distances between points in intervals in `ℝ`. -/ diff --git a/Mathlib/Topology/MetricSpace/Sequences.lean b/Mathlib/Topology/MetricSpace/Sequences.lean index 78c8335bd01d19..08dccbe59a5815 100644 --- a/Mathlib/Topology/MetricSpace/Sequences.lean +++ b/Mathlib/Topology/MetricSpace/Sequences.lean @@ -5,9 +5,10 @@ Authors: Jan-David Salchow, Patrick Massot, Yury Kudryashov -/ module -import Mathlib.Topology.Sequences public import Mathlib.Topology.MetricSpace.Bounded +import Mathlib.Topology.Sequences + /-! # Sequential compacts in metric spaces diff --git a/Mathlib/Topology/MetricSpace/ShrinkingLemma.lean b/Mathlib/Topology/MetricSpace/ShrinkingLemma.lean index e63244164504dc..bd60426590bf34 100644 --- a/Mathlib/Topology/MetricSpace/ShrinkingLemma.lean +++ b/Mathlib/Topology/MetricSpace/ShrinkingLemma.lean @@ -5,8 +5,9 @@ Authors: Yury Kudryashov -/ module -import Mathlib.Topology.EMetricSpace.Paracompact public import Mathlib.Topology.MetricSpace.ProperSpace.Lemmas + +import Mathlib.Topology.EMetricSpace.Paracompact import Mathlib.Topology.ShrinkingLemma /-! diff --git a/Mathlib/Topology/MetricSpace/Similarity.lean b/Mathlib/Topology/MetricSpace/Similarity.lean index 38e032f19c9a2c..4eb8071299d4c1 100644 --- a/Mathlib/Topology/MetricSpace/Similarity.lean +++ b/Mathlib/Topology/MetricSpace/Similarity.lean @@ -6,6 +6,7 @@ Authors: Jovan Gerbscheid, Newell Jensen module public import Mathlib.Topology.MetricSpace.Congruence + import Mathlib.Tactic.FinCases /-! diff --git a/Mathlib/Topology/MetricSpace/Snowflaking.lean b/Mathlib/Topology/MetricSpace/Snowflaking.lean index a199811081de44..0085c7ff36c223 100644 --- a/Mathlib/Topology/MetricSpace/Snowflaking.lean +++ b/Mathlib/Topology/MetricSpace/Snowflaking.lean @@ -8,6 +8,7 @@ module public import Mathlib.Analysis.SpecialFunctions.Pow.NNReal public import Mathlib.Topology.EMetricSpace.Paracompact public import Mathlib.Topology.Separation.CompletelyRegular + import Mathlib.Analysis.MeanInequalitiesPow /-! diff --git a/Mathlib/Topology/MetricSpace/Ultra/Basic.lean b/Mathlib/Topology/MetricSpace/Ultra/Basic.lean index fe6ac62d6b1cf0..cff0ab4a4ddf03 100644 --- a/Mathlib/Topology/MetricSpace/Ultra/Basic.lean +++ b/Mathlib/Topology/MetricSpace/Ultra/Basic.lean @@ -6,6 +6,7 @@ Authors: Yakov Pechersky module public import Mathlib.Topology.MetricSpace.Pseudo.Lemmas + import Mathlib.Topology.Clopen /-! diff --git a/Mathlib/Topology/Metrizable/CompletelyMetrizable.lean b/Mathlib/Topology/Metrizable/CompletelyMetrizable.lean index f5e6f7f4606779..48b8034204482a 100644 --- a/Mathlib/Topology/Metrizable/CompletelyMetrizable.lean +++ b/Mathlib/Topology/Metrizable/CompletelyMetrizable.lean @@ -6,6 +6,7 @@ Authors: Etienne Marion module public import Mathlib.Topology.MetricSpace.Gluing + import Mathlib.Topology.Metrizable.Uniformity /-! diff --git a/Mathlib/Topology/Metrizable/ContinuousMap.lean b/Mathlib/Topology/Metrizable/ContinuousMap.lean index e915ccd7eaa0bf..73a66aa018b047 100644 --- a/Mathlib/Topology/Metrizable/ContinuousMap.lean +++ b/Mathlib/Topology/Metrizable/ContinuousMap.lean @@ -6,9 +6,10 @@ Authors: Yury Kudryashov module public import Mathlib.Topology.UniformSpace.CompactConvergence +public import Mathlib.Topology.Metrizable.Basic + import Mathlib.Algebra.Order.Module.Field import Mathlib.Topology.MetricSpace.Pseudo.Defs -public import Mathlib.Topology.Metrizable.Basic /-! # Metrizability of `C(X, Y)` diff --git a/Mathlib/Topology/Metrizable/Real.lean b/Mathlib/Topology/Metrizable/Real.lean index c85c23a82fcf84..7eaeb0f71808b0 100644 --- a/Mathlib/Topology/Metrizable/Real.lean +++ b/Mathlib/Topology/Metrizable/Real.lean @@ -6,9 +6,10 @@ Authors: Johannes Hölzl, Mario Carneiro module public import Mathlib.Topology.MetricSpace.Basic -import Mathlib.Topology.Order.MonotoneContinuity public import Mathlib.Topology.Order.Real +import Mathlib.Topology.Order.MonotoneContinuity + /-! # `ENNReal` is metrizable diff --git a/Mathlib/Topology/Order/AtTopBotIxx.lean b/Mathlib/Topology/Order/AtTopBotIxx.lean index 62384a0d7de2eb..f209f4924fa53a 100644 --- a/Mathlib/Topology/Order/AtTopBotIxx.lean +++ b/Mathlib/Topology/Order/AtTopBotIxx.lean @@ -7,6 +7,7 @@ module public import Mathlib.Topology.Order.Basic public import Mathlib.Order.SuccPred.Limit + import Mathlib.Topology.Order.LeftRightNhds /-! diff --git a/Mathlib/Topology/Order/IntermediateValue.lean b/Mathlib/Topology/Order/IntermediateValue.lean index 3ccb71ecbab12e..ca95d68a510e8b 100644 --- a/Mathlib/Topology/Order/IntermediateValue.lean +++ b/Mathlib/Topology/Order/IntermediateValue.lean @@ -5,11 +5,12 @@ Authors: Yury Kudryashov, Alistair Tucker, Wen Yang -/ module -import Mathlib.Order.CompleteLatticeIntervals public import Mathlib.Topology.Order.DenselyOrdered public import Mathlib.Topology.Order.Monotone public import Mathlib.Topology.Connected.TotallyDisconnected +import Mathlib.Order.CompleteLatticeIntervals + /-! # Intermediate Value Theorem diff --git a/Mathlib/Topology/Order/IsLUB.lean b/Mathlib/Topology/Order/IsLUB.lean index 51b98e7b7b57f8..bb1adad7eab49a 100644 --- a/Mathlib/Topology/Order/IsLUB.lean +++ b/Mathlib/Topology/Order/IsLUB.lean @@ -5,10 +5,11 @@ Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ module -import Mathlib.Algebra.Order.Group.Nat public import Mathlib.Order.Filter.CountableInter public import Mathlib.Topology.Order.LeftRightNhds +import Mathlib.Algebra.Order.Group.Nat + /-! # Properties of LUB and GLB in an order topology -/ diff --git a/Mathlib/Topology/Order/Rolle.lean b/Mathlib/Topology/Order/Rolle.lean index d31600185ad56e..50f10b3cceec6c 100644 --- a/Mathlib/Topology/Order/Rolle.lean +++ b/Mathlib/Topology/Order/Rolle.lean @@ -7,6 +7,7 @@ module public import Mathlib.Topology.Order.ExtendFrom public import Mathlib.Topology.Order.Compact + import Mathlib.Topology.Order.T5 /-! diff --git a/Mathlib/Topology/Order/UpperLowerSetTopology.lean b/Mathlib/Topology/Order/UpperLowerSetTopology.lean index 5477e123debc01..cdc6916412c708 100644 --- a/Mathlib/Topology/Order/UpperLowerSetTopology.lean +++ b/Mathlib/Topology/Order/UpperLowerSetTopology.lean @@ -5,11 +5,12 @@ Authors: Christopher Hoskin -/ module -import Mathlib.Basic.Logic.Lemmas public import Mathlib.Topology.AlexandrovDiscrete public import Mathlib.Topology.ContinuousMap.Basic public import Mathlib.Topology.Order.LowerUpperTopology +import Mathlib.Basic.Logic.Lemmas + /-! # Upper and lower sets topologies diff --git a/Mathlib/Topology/PartitionOfUnity.lean b/Mathlib/Topology/PartitionOfUnity.lean index 6d5f68d5097e6e..5c468bc98c4fa2 100644 --- a/Mathlib/Topology/PartitionOfUnity.lean +++ b/Mathlib/Topology/PartitionOfUnity.lean @@ -6,10 +6,11 @@ Authors: Yury Kudryashov module public import Mathlib.Topology.Compactness.Paracompact -import Mathlib.Topology.ShrinkingLemma public import Mathlib.Topology.UrysohnsLemma public import Mathlib.Topology.ContinuousMap.Ordered +import Mathlib.Topology.ShrinkingLemma + /-! # Continuous partition of unity diff --git a/Mathlib/Topology/Semicontinuity/Defs.lean b/Mathlib/Topology/Semicontinuity/Defs.lean index 5fffcc9a6d6072..ca474bffeebcf6 100644 --- a/Mathlib/Topology/Semicontinuity/Defs.lean +++ b/Mathlib/Topology/Semicontinuity/Defs.lean @@ -6,6 +6,7 @@ Authors: Sébastien Gouëzel, Antoine Chambert-Loir, Anatole Dedecker, Jireh Lor module public import Mathlib.Topology.Constructions.SumProd + import Mathlib.Topology.ContinuousOn /-! diff --git a/Mathlib/Topology/Semicontinuity/Hemicontinuity.lean b/Mathlib/Topology/Semicontinuity/Hemicontinuity.lean index dd9aaa9a3a774f..5b798980bd0c81 100644 --- a/Mathlib/Topology/Semicontinuity/Hemicontinuity.lean +++ b/Mathlib/Topology/Semicontinuity/Hemicontinuity.lean @@ -9,6 +9,7 @@ public import Mathlib.Topology.Semicontinuity.Defs public import Mathlib.Topology.Defs.Sequences public import Mathlib.Topology.UniformSpace.Closeds public import Mathlib.Topology.UniformSpace.UniformConvergence + import Mathlib.Topology.UniformSpace.Compact import Mathlib.Topology.Sequences diff --git a/Mathlib/Topology/Semicontinuity/Michael.lean b/Mathlib/Topology/Semicontinuity/Michael.lean index 1262ec43952982..e5a9f2fe650286 100644 --- a/Mathlib/Topology/Semicontinuity/Michael.lean +++ b/Mathlib/Topology/Semicontinuity/Michael.lean @@ -7,6 +7,7 @@ module public import Mathlib.Topology.Algebra.Module.LocallyConvex public import Mathlib.Topology.PartitionOfUnity + import Mathlib.Analysis.LocallyConvex.AbsConvex import Mathlib.Topology.Semicontinuity.Hemicontinuity diff --git a/Mathlib/Topology/Separation/CompletelyRegular.lean b/Mathlib/Topology/Separation/CompletelyRegular.lean index b13fb7a3b0d7be..f1170257634c7a 100644 --- a/Mathlib/Topology/Separation/CompletelyRegular.lean +++ b/Mathlib/Topology/Separation/CompletelyRegular.lean @@ -7,9 +7,9 @@ module public import Mathlib.Topology.UrysohnsLemma public import Mathlib.Topology.Compactification.StoneCech -import Mathlib.Topology.Order.Lattice public import Mathlib.Analysis.Real.Cardinality +import Mathlib.Topology.Order.Lattice import Mathlib.Topology.Algebra.Indicator /-! diff --git a/Mathlib/Topology/Separation/DisjointCover.lean b/Mathlib/Topology/Separation/DisjointCover.lean index fe4226ded7a60a..a4e041b09bfe05 100644 --- a/Mathlib/Topology/Separation/DisjointCover.lean +++ b/Mathlib/Topology/Separation/DisjointCover.lean @@ -7,11 +7,12 @@ module public import Mathlib.Algebra.Notation.Indicator public import Mathlib.Data.Fintype.BigOperators -import Mathlib.Order.Disjointed public import Mathlib.Topology.Separation.Profinite public import Mathlib.Topology.Sets.Closeds public import Mathlib.Topology.Sets.OpenCover +import Mathlib.Order.Disjointed + /-! # Disjoint covers of profinite spaces diff --git a/Mathlib/Topology/Separation/Lemmas.lean b/Mathlib/Topology/Separation/Lemmas.lean index 026e6f3e26f7a6..aed5aad3c7cf8a 100644 --- a/Mathlib/Topology/Separation/Lemmas.lean +++ b/Mathlib/Topology/Separation/Lemmas.lean @@ -5,8 +5,9 @@ Authors: Geoffrey Irving, Bryan Wang, Oliver Nash -/ module -import Mathlib.Topology.GDelta.MetrizableSpace public import Mathlib.Topology.Separation.CompletelyRegular + +import Mathlib.Topology.GDelta.MetrizableSpace import Mathlib.Topology.Separation.Profinite /-! diff --git a/Mathlib/Topology/Separation/Profinite.lean b/Mathlib/Topology/Separation/Profinite.lean index df9073d417ceb9..6fe63c04d87646 100644 --- a/Mathlib/Topology/Separation/Profinite.lean +++ b/Mathlib/Topology/Separation/Profinite.lean @@ -5,9 +5,10 @@ Authors: Johannes Hölzl, Mario Carneiro -/ module +public import Mathlib.Topology.Connected.TotallyDisconnected + import Mathlib.Data.Fintype.Option import Mathlib.Topology.Separation.Regular -public import Mathlib.Topology.Connected.TotallyDisconnected /-! # Separation properties: profinite spaces diff --git a/Mathlib/Topology/Separation/SeparatedNhds.lean b/Mathlib/Topology/Separation/SeparatedNhds.lean index 160cd81b163312..1070a00f946a31 100644 --- a/Mathlib/Topology/Separation/SeparatedNhds.lean +++ b/Mathlib/Topology/Separation/SeparatedNhds.lean @@ -5,9 +5,10 @@ Authors: Johannes Hölzl, Mario Carneiro -/ module -import Mathlib.Topology.Continuous public import Mathlib.Topology.NhdsSet +import Mathlib.Topology.Continuous + /-! # Separated neighbourhoods diff --git a/Mathlib/Topology/Sets/Opens.lean b/Mathlib/Topology/Sets/Opens.lean index b6a8a455cb278b..cc4f8e87ee4fa1 100644 --- a/Mathlib/Topology/Sets/Opens.lean +++ b/Mathlib/Topology/Sets/Opens.lean @@ -5,13 +5,14 @@ Authors: Johannes Hölzl, Mario Carneiro, Floris van Doorn -/ module -import Mathlib.Data.Fintype.Option public import Mathlib.Order.Hom.CompleteLattice public import Mathlib.Topology.Compactness.Bases public import Mathlib.Topology.ContinuousMap.Basic public import Mathlib.Order.CompactlyGenerated.Basic public import Mathlib.Order.Copy +import Mathlib.Data.Fintype.Option + /-! # Open sets diff --git a/Mathlib/Topology/Sheaves/CommRingCat.lean b/Mathlib/Topology/Sheaves/CommRingCat.lean index b23409e4e5cb49..7c7670738abbc4 100644 --- a/Mathlib/Topology/Sheaves/CommRingCat.lean +++ b/Mathlib/Topology/Sheaves/CommRingCat.lean @@ -6,11 +6,12 @@ Authors: Kim Morrison, Andrew Yang module public import Mathlib.Algebra.Category.Ring.Constructions -import Mathlib.Algebra.Category.Ring.FilteredColimits public import Mathlib.Topology.Category.TopCommRingCat public import Mathlib.Topology.ContinuousMap.Algebra public import Mathlib.Topology.Sheaves.Stalks +import Mathlib.Algebra.Category.Ring.FilteredColimits + /-! # Sheaves of (commutative) rings. diff --git a/Mathlib/Topology/Sheaves/Flasque.lean b/Mathlib/Topology/Sheaves/Flasque.lean index 395fb26d2bc836..69047ad2cfda13 100644 --- a/Mathlib/Topology/Sheaves/Flasque.lean +++ b/Mathlib/Topology/Sheaves/Flasque.lean @@ -6,8 +6,9 @@ Authors: Brian Nugent module -import Mathlib.CategoryTheory.Sites.EpiMono public import Mathlib.Topology.Sheaves.AddCommGrpCat + +import Mathlib.CategoryTheory.Sites.EpiMono import Mathlib.Topology.Sheaves.LocallySurjective /-! diff --git a/Mathlib/Topology/Sheaves/Init.lean b/Mathlib/Topology/Sheaves/Init.lean index 3513cf09972f4a..ff0b0549001b83 100644 --- a/Mathlib/Topology/Sheaves/Init.lean +++ b/Mathlib/Topology/Sheaves/Init.lean @@ -5,9 +5,10 @@ Authors: Jujian Zhang -/ module -import Mathlib.Init public import Aesop +import Mathlib.Init + /-! # Rule sets related to topological (pre)sheaves diff --git a/Mathlib/Topology/Sheaves/Points.lean b/Mathlib/Topology/Sheaves/Points.lean index bb5776d6c9757f..d7adb59531ef29 100644 --- a/Mathlib/Topology/Sheaves/Points.lean +++ b/Mathlib/Topology/Sheaves/Points.lean @@ -7,6 +7,7 @@ module public import Mathlib.CategoryTheory.Sites.Point.Conservative public import Mathlib.CategoryTheory.Sites.Spaces + import Mathlib.Topology.Sheaves.Presheaf /-! diff --git a/Mathlib/Topology/Sheaves/Sheafify.lean b/Mathlib/Topology/Sheaves/Sheafify.lean index 3b1ebd5cc495ff..1e25d013778088 100644 --- a/Mathlib/Topology/Sheaves/Sheafify.lean +++ b/Mathlib/Topology/Sheaves/Sheafify.lean @@ -6,6 +6,7 @@ Authors: Kim Morrison module public import Mathlib.Topology.Sheaves.LocalPredicate + import Mathlib.Topology.Sheaves.Skyscraper /-! diff --git a/Mathlib/Topology/Sheaves/Skyscraper.lean b/Mathlib/Topology/Sheaves/Skyscraper.lean index a025110f00af28..bd8026896955fc 100644 --- a/Mathlib/Topology/Sheaves/Skyscraper.lean +++ b/Mathlib/Topology/Sheaves/Skyscraper.lean @@ -5,10 +5,11 @@ Authors: Jujian Zhang, Junyan Xu -/ module -import Mathlib.Topology.Sheaves.PUnit public import Mathlib.Topology.Sheaves.Stalks public import Mathlib.Topology.Sheaves.Functors +import Mathlib.Topology.Sheaves.PUnit + /-! # Skyscraper (pre)sheaves diff --git a/Mathlib/Topology/SmallInductiveDimension.lean b/Mathlib/Topology/SmallInductiveDimension.lean index 57b308b4400b0a..f828505630a239 100644 --- a/Mathlib/Topology/SmallInductiveDimension.lean +++ b/Mathlib/Topology/SmallInductiveDimension.lean @@ -7,8 +7,8 @@ module public import Mathlib.Data.ENat.Lattice public import Mathlib.Topology.Bases -import Mathlib.Topology.Clopen +import Mathlib.Topology.Clopen import Mathlib.Data.Nat.Cast.Order.Basic /-! diff --git a/Mathlib/Topology/Spectral/ConstructibleTopology.lean b/Mathlib/Topology/Spectral/ConstructibleTopology.lean index 6a626715cedad1..2e6fb148a91fa0 100644 --- a/Mathlib/Topology/Spectral/ConstructibleTopology.lean +++ b/Mathlib/Topology/Spectral/ConstructibleTopology.lean @@ -5,9 +5,10 @@ Authors: Johan Commelin, Jiedong Jiang, Fangming Li, Christian Merten -/ module -import Mathlib.Tactic.Bound.Init public import Mathlib.Topology.Constructible public import Mathlib.Topology.Sober + +import Mathlib.Tactic.Bound.Init import Mathlib.Topology.WithTopology /-! diff --git a/Mathlib/Topology/Subpath.lean b/Mathlib/Topology/Subpath.lean index 6e8042ac5c301b..e5de5230c78011 100644 --- a/Mathlib/Topology/Subpath.lean +++ b/Mathlib/Topology/Subpath.lean @@ -5,9 +5,10 @@ Authors: Sebastian Kumar -/ module -import Batteries.Data.Fin.Fold public import Mathlib.AlgebraicTopology.FundamentalGroupoid.Basic +import Batteries.Data.Fin.Fold + /-! # Subpaths and concatenation of paths diff --git a/Mathlib/Topology/TietzeExtension.lean b/Mathlib/Topology/TietzeExtension.lean index c6e9e04517c657..03a0e16945b4e4 100644 --- a/Mathlib/Topology/TietzeExtension.lean +++ b/Mathlib/Topology/TietzeExtension.lean @@ -5,10 +5,11 @@ Authors: Yury Kudryashov -/ module -import Mathlib.Order.Interval.Set.IsoIoo public import Mathlib.Topology.ContinuousMap.Bounded.Normed public import Mathlib.Topology.UrysohnsBounded +import Mathlib.Order.Interval.Set.IsoIoo + /-! # Tietze extension theorem diff --git a/Mathlib/Topology/UniformSpace/Compact.lean b/Mathlib/Topology/UniformSpace/Compact.lean index 9e282a054430ef..4598e5f959a2b6 100644 --- a/Mathlib/Topology/UniformSpace/Compact.lean +++ b/Mathlib/Topology/UniformSpace/Compact.lean @@ -6,6 +6,7 @@ Authors: Johannes Hölzl, Mario Carneiro, Patrick Massot module public import Mathlib.Topology.UniformSpace.Basic + import Mathlib.Topology.Compactness.Compact /-! diff --git a/Mathlib/Topology/UniformSpace/HeineCantor.lean b/Mathlib/Topology/UniformSpace/HeineCantor.lean index 113224340c8904..65446474059e33 100644 --- a/Mathlib/Topology/UniformSpace/HeineCantor.lean +++ b/Mathlib/Topology/UniformSpace/HeineCantor.lean @@ -6,9 +6,10 @@ Authors: Patrick Massot, Yury Kudryashov module public import Mathlib.Topology.Algebra.Support -import Mathlib.Topology.UniformSpace.Compact public import Mathlib.Topology.UniformSpace.Equicontinuity +import Mathlib.Topology.UniformSpace.Compact + /-! # Compact separated uniform spaces diff --git a/Mathlib/Topology/UniformSpace/Path.lean b/Mathlib/Topology/UniformSpace/Path.lean index 0006164d3508f4..16577e3c9c4db0 100644 --- a/Mathlib/Topology/UniformSpace/Path.lean +++ b/Mathlib/Topology/UniformSpace/Path.lean @@ -7,6 +7,7 @@ module public import Mathlib.Topology.Path public import Mathlib.Topology.UniformSpace.CompactConvergence + import Mathlib.Topology.UniformSpace.HeineCantor import Mathlib.Topology.MetricSpace.Lipschitz import Mathlib.Topology.ContinuousMap.Interval diff --git a/Mathlib/Topology/UniformSpace/ProdApproximation.lean b/Mathlib/Topology/UniformSpace/ProdApproximation.lean index 2d302eed939f28..db851006c91d82 100644 --- a/Mathlib/Topology/UniformSpace/ProdApproximation.lean +++ b/Mathlib/Topology/UniformSpace/ProdApproximation.lean @@ -6,8 +6,9 @@ Authors: David Loeffler module public import Mathlib.LinearAlgebra.TensorProduct.Basic -import Mathlib.Topology.Algebra.Indicator public import Mathlib.Topology.ContinuousMap.Algebra + +import Mathlib.Topology.Algebra.Indicator import Mathlib.Topology.Separation.DisjointCover /-! diff --git a/Mathlib/Util/AssertNoSorry.lean b/Mathlib/Util/AssertNoSorry.lean index bae4f7d978ca74..39d03df1b839c2 100644 --- a/Mathlib/Util/AssertNoSorry.lean +++ b/Mathlib/Util/AssertNoSorry.lean @@ -5,10 +5,11 @@ Authors: David Renshaw -/ module -import Mathlib.Init public meta import Lean.Util.CollectAxioms public meta import Lean.Elab.Command +import Mathlib.Init + /-! # Defines the `assert_no_sorry` command. diff --git a/Mathlib/Util/AtLocation.lean b/Mathlib/Util/AtLocation.lean index c2c100bea0c1e6..163c9a05e153ba 100644 --- a/Mathlib/Util/AtLocation.lean +++ b/Mathlib/Util/AtLocation.lean @@ -5,11 +5,12 @@ Authors: Mario Carneiro, Heather Macbeth -/ module -import Mathlib.Init -import Lean.Elab.Tactic.Location public meta import Lean.Elab.Tactic.Location public meta import Lean.Meta.Tactic.Simp.Main +import Mathlib.Init +import Lean.Elab.Tactic.Location + /-! # Rewriting at specified locations diff --git a/Mathlib/Util/AtomM.lean b/Mathlib/Util/AtomM.lean index 507e0cf77c4ebe..302027c71b64ef 100644 --- a/Mathlib/Util/AtomM.lean +++ b/Mathlib/Util/AtomM.lean @@ -8,6 +8,7 @@ module public import Mathlib.Init public meta import Lean.Meta.Tactic.Simp.Types public import Qq + import Qq.Typ /-! diff --git a/Mathlib/Util/DelabNonCanonical.lean b/Mathlib/Util/DelabNonCanonical.lean index d6ef5bacc65f6b..07d20817b2de5b 100644 --- a/Mathlib/Util/DelabNonCanonical.lean +++ b/Mathlib/Util/DelabNonCanonical.lean @@ -5,9 +5,10 @@ Authors: Robert Maxton -/ module -import Mathlib.Init public meta import Lean.PrettyPrinter.Delaborator.Builtins +import Mathlib.Init + /-! # Delaborating non-canonical instances diff --git a/Mathlib/Util/DischargerAsTactic.lean b/Mathlib/Util/DischargerAsTactic.lean index ce21e4d9f03c0f..a1c6f2a3b779db 100644 --- a/Mathlib/Util/DischargerAsTactic.lean +++ b/Mathlib/Util/DischargerAsTactic.lean @@ -7,6 +7,7 @@ module public import Mathlib.Init public import Batteries.Tactic.Exact + import Lean.Meta.Tactic.Simp /-! diff --git a/Mathlib/Util/FormatTable.lean b/Mathlib/Util/FormatTable.lean index 647f1238864b10..34e1a3aa365d5f 100644 --- a/Mathlib/Util/FormatTable.lean +++ b/Mathlib/Util/FormatTable.lean @@ -6,6 +6,7 @@ Authors: Bolton Bailey module public meta import Mathlib.Data.String.Defs + import Mathlib.Init /-! diff --git a/Mathlib/Util/GetAllModules.lean b/Mathlib/Util/GetAllModules.lean index 187653a562646d..5d1c2fb7c46546 100644 --- a/Mathlib/Util/GetAllModules.lean +++ b/Mathlib/Util/GetAllModules.lean @@ -5,9 +5,10 @@ Authors: Mario Carneiro, Kim Morrison, Damiano Testa -/ module -import Mathlib.Init public meta import Lean.Util.Path +import Mathlib.Init + /-! # Utility functions for finding all `.lean` files or modules in a project. diff --git a/Mathlib/Util/LongNames.lean b/Mathlib/Util/LongNames.lean index e2d61586679409..641ea8b52b8ea9 100644 --- a/Mathlib/Util/LongNames.lean +++ b/Mathlib/Util/LongNames.lean @@ -8,6 +8,7 @@ module public meta import Mathlib.Lean.Name public meta import Mathlib.Lean.Expr.Basic public meta import Lean.Elab.Command + import Mathlib.Init /-! diff --git a/Mathlib/Util/ParseCommand.lean b/Mathlib/Util/ParseCommand.lean index 17765515bd585f..584acf4027f52f 100644 --- a/Mathlib/Util/ParseCommand.lean +++ b/Mathlib/Util/ParseCommand.lean @@ -9,6 +9,7 @@ public meta import Lean.Elab.Command -- Import this linter explicitly to ensure that -- this file has a valid copyright header and module docstring. public meta import Mathlib.Tactic.Linter.Header -- shake: keep + import Lean.Parser.Term /-! diff --git a/Mathlib/Util/Qq.lean b/Mathlib/Util/Qq.lean index 4379261ea18a80..6f6ff9a7b828ce 100644 --- a/Mathlib/Util/Qq.lean +++ b/Mathlib/Util/Qq.lean @@ -5,8 +5,9 @@ Authors: Kim Morrison, Alex J. Best, Yaël Dillies -/ module -import Mathlib.Init public import Qq + +import Mathlib.Init import Qq.Typ /-! diff --git a/Mathlib/Util/Simp.lean b/Mathlib/Util/Simp.lean index 1e3b818275b778..45676dd6e52895 100644 --- a/Mathlib/Util/Simp.lean +++ b/Mathlib/Util/Simp.lean @@ -6,9 +6,10 @@ Authors: Paul Lezeau module public meta import Lean.Meta.Tactic.Simp.Types -import Mathlib.Init public import Qq +import Mathlib.Init + /-! # Additional simp utilities This file adds additional tools for metaprogramming with the `simp` tactic diff --git a/Mathlib/Util/SleepHeartbeats.lean b/Mathlib/Util/SleepHeartbeats.lean index 798857435f38ef..6b56dddd4fed50 100644 --- a/Mathlib/Util/SleepHeartbeats.lean +++ b/Mathlib/Util/SleepHeartbeats.lean @@ -5,9 +5,10 @@ Authors: Alex J. Best -/ module -import Mathlib.Init public meta import Lean.Elab.Tactic.Basic +import Mathlib.Init + /-! # Defines `sleep_heartbeats` tactic. diff --git a/Mathlib/Util/SynthesizeUsing.lean b/Mathlib/Util/SynthesizeUsing.lean index efa6bb414c12a3..335c2db2152c5d 100644 --- a/Mathlib/Util/SynthesizeUsing.lean +++ b/Mathlib/Util/SynthesizeUsing.lean @@ -5,9 +5,10 @@ Authors: Kim Morrison -/ module -import Mathlib.Init public meta import Lean.Elab.Tactic.Basic public import Qq + +import Mathlib.Init import Qq.Typ /-!