Skip to content

feat(GroupTheory/Perm/Support): set-valued Equiv.Perm.support - #46126

Open
wrenna-robson wants to merge 47 commits into
leanprover-community:masterfrom
wrenna-robson:perm-support-set
Open

wrenna-robson wants to merge 47 commits into
leanprover-community:masterfrom
wrenna-robson:perm-support-set

Conversation

@wrenna-robson

@wrenna-robson wrenna-robson commented Nov 17, 2026 •

Copy link
Copy Markdown
Collaborator

Add a Set-valued Equiv.Perm.support, with no Fintype or DecidableEq assumptions, add API for it, and rebuild the Equiv.Perm.supportFinset API on top of it.


Part of the Equiv.Perm.support refactor discussed on Zulip.

The name Equiv.Perm.support is reused straight after #46082 deprecates its Finset-valued meaning, rather than going through a temporary name like Equiv.Perm.supportSet. If it is desired, we could take a more conservative approach here.

Uses of supportFinset elsewhere in Mathlib are left alone for now. A future stage will either deprecate supportFinset or at least reduce its use in ancillary files.

While substantial portions of this PR have been hand-authored, an LLM (Claude Opus) has been used extensively in its review and as such I am giving it the LLM-generated tag.

Move `Equiv.Perm.IsSwap` (with `ofSubtype_swap_eq`, `IsSwap.of_subtype_isSwap`,
`ne_and_ne_of_swap_mul_apply_ne_self`) and the fixed-point lemmas for powers of a
permutation (`pow_apply_eq_self_of_apply_eq_self`, `apply_pow_apply_eq_iff`, ...)
from `GroupTheory/Perm/Support` to `Algebra/Group/End`. None of them involve
`support`, and they need nothing beyond what `End` already imports.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@github-actions

github-actions Bot commented Nov 17, 2026 •

Copy link
Copy Markdown

PR summary 71139fdd5f

Import changes for modified files

Dependency changes

File Base Count Head Count Change
Mathlib.GroupTheory.Perm.List 626 597 -29 (-4.63%)
Mathlib.GroupTheory.Perm.Support.Disjoint 529 507 -22 (-4.16%)
Mathlib.GroupTheory.Perm.Support.Finset.Basic 599 583 -16 (-2.67%)
Mathlib.GroupTheory.Perm.Support.Finset.Card 617 601 -16 (-2.59%)
Mathlib.LinearAlgebra.Matrix.SemiringInverse 1182 1180 -2 (-0.17%)
Import changes for all files
Files Import difference
Mathlib.GroupTheory.Perm.List -29
Mathlib.GroupTheory.Perm.Support.Disjoint -22
Mathlib.GroupTheory.Perm.Support.Finset.Basic Mathlib.GroupTheory.Perm.Support.Finset.Card -16
416 files Mathlib.Algebra.AffineMonoid.Embedding Mathlib.Algebra.AffineMonoid.UniqueSums Mathlib.Algebra.Algebra.Subalgebra.IsSimpleOrder Mathlib.Algebra.Category.FGModuleCat.Abelian Mathlib.Algebra.Category.FGModuleCat.Basic Mathlib.Algebra.Category.FGModuleCat.Colimits Mathlib.Algebra.Category.FGModuleCat.EssentiallySmall Mathlib.Algebra.Category.FGModuleCat.Limits Mathlib.Algebra.Category.ModuleCat.Simple Mathlib.Algebra.Exact.Sequence Mathlib.Algebra.Jordan.Basic Mathlib.Algebra.Lie.Abelian Mathlib.Algebra.Lie.AdjointAction.Derivation Mathlib.Algebra.Lie.BaseChange Mathlib.Algebra.Lie.CartanSubalgebra Mathlib.Algebra.Lie.Character Mathlib.Algebra.Lie.Cochain Mathlib.Algebra.Lie.Derivation.BaseChange Mathlib.Algebra.Lie.Derivation.Basic Mathlib.Algebra.Lie.DirectSum Mathlib.Algebra.Lie.Extension Mathlib.Algebra.Lie.Free Mathlib.Algebra.Lie.Graded Mathlib.Algebra.Lie.IdealOperations Mathlib.Algebra.Lie.Ideal Mathlib.Algebra.Lie.InvariantForm Mathlib.Algebra.Lie.Loop Mathlib.Algebra.Lie.Nilpotent Mathlib.Algebra.Lie.Normalizer Mathlib.Algebra.Lie.OfAssociative Mathlib.Algebra.Lie.Prod Mathlib.Algebra.Lie.Quotient Mathlib.Algebra.Lie.SemiDirect Mathlib.Algebra.Lie.Semisimple.Basic Mathlib.Algebra.Lie.Semisimple.Defs Mathlib.Algebra.Lie.Solvable Mathlib.Algebra.Lie.Subalgebra Mathlib.Algebra.Lie.Submodule Mathlib.Algebra.Lie.TensorProduct Mathlib.Algebra.Lie.UniversalEnveloping Mathlib.Algebra.LieRinehartAlgebra.Defs Mathlib.Algebra.LieRinehartAlgebra.Quotient Mathlib.Algebra.LieRinehartAlgebra.StrictIdeal Mathlib.Algebra.LieRinehartAlgebra.Subalgebra Mathlib.Algebra.Module.Lattice.Basic Mathlib.Algebra.Module.Lattice.Full Mathlib.Algebra.Module.Lattice Mathlib.Algebra.Module.LinearMap.Index Mathlib.Algebra.Module.Submodule.Union Mathlib.Algebra.MvPolynomial.Expand Mathlib.Algebra.MvPolynomial.Nilpotent Mathlib.Algebra.Star.LinearMap Mathlib.Algebra.Symmetrized Mathlib.AlgebraicGeometry.ProjectiveSpectrum.StructureSheaf Mathlib.Analysis.Analytic.RadiusLiminf Mathlib.Analysis.Asymptotics.ExpGrowth Mathlib.Analysis.Asymptotics.SpecificAsymptotics Mathlib.Analysis.CStarAlgebra.Classes Mathlib.Analysis.CStarAlgebra.ContinuousFunctionalCalculus.Pi Mathlib.Analysis.CStarAlgebra.ContinuousFunctionalCalculus.Unique Mathlib.Analysis.CStarAlgebra.ContinuousFunctionalCalculus.Unitary Mathlib.Analysis.CStarAlgebra.ContinuousMap Mathlib.Analysis.CStarAlgebra.Exponential Mathlib.Analysis.CStarAlgebra.Multiplier Mathlib.Analysis.CStarAlgebra.Unitization Mathlib.Analysis.CStarAlgebra.lpSpace Mathlib.Analysis.Calculus.Conformal.InnerProduct Mathlib.Analysis.Calculus.ContDiffHolder.Pointwise Mathlib.Analysis.Complex.AbelLimit Mathlib.Analysis.Complex.Angle Mathlib.Analysis.Complex.Arg Mathlib.Analysis.Complex.Asymptotics Mathlib.Analysis.Complex.Basic Mathlib.Analysis.Complex.BranchLogRoot Mathlib.Analysis.Complex.CanonicalDecomposition Mathlib.Analysis.Complex.Circle Mathlib.Analysis.Complex.Convex Mathlib.Analysis.Complex.CoveringMap Mathlib.Analysis.Complex.ExponentialBounds Mathlib.Analysis.Complex.HalfPlane Mathlib.Analysis.Complex.IntegerCompl Mathlib.Analysis.Complex.ReImTopology Mathlib.Analysis.Complex.RealDeriv Mathlib.Analysis.Complex.RiemannMapping Mathlib.Analysis.Complex.Spectrum Mathlib.Analysis.Complex.SqrtDeriv Mathlib.Analysis.Complex.UnitDisc.Basic Mathlib.Analysis.Complex.UpperHalfPlane.Basic Mathlib.Analysis.Complex.ValueDistribution.SecondMainTheorem Mathlib.Analysis.Convex.BetweenList Mathlib.Analysis.Convex.Between Mathlib.Analysis.Convex.Radon Mathlib.Analysis.Convex.Side Mathlib.Analysis.Convex.SpecificFunctions.Basic Mathlib.Analysis.Convex.SpecificFunctions.Deriv Mathlib.Analysis.Convex.SpecificFunctions.Pow Mathlib.Analysis.Convex.StrictConvexBetween Mathlib.Analysis.Convex.Strong Mathlib.Analysis.Convex.Visible Mathlib.Analysis.Fourier.BoundedContinuousFunctionChar Mathlib.Analysis.InnerProductSpace.Affine Mathlib.Analysis.InnerProductSpace.Basic Mathlib.Analysis.InnerProductSpace.Completion Mathlib.Analysis.InnerProductSpace.ConformalLinearMap Mathlib.Analysis.InnerProductSpace.Continuous Mathlib.Analysis.InnerProductSpace.Convex Mathlib.Analysis.InnerProductSpace.LinearMap Mathlib.Analysis.InnerProductSpace.OfNorm Mathlib.Analysis.InnerProductSpace.Orthogonal Mathlib.Analysis.InnerProductSpace.Orthonormal Mathlib.Analysis.InnerProductSpace.Projection.Minimal Mathlib.Analysis.InnerProductSpace.Subspace Mathlib.Analysis.InnerProductSpace.Symmetric Mathlib.Analysis.LocallyConvex.WeakDual Mathlib.Analysis.MeanInequalitiesPow Mathlib.Analysis.MeanInequalities Mathlib.Analysis.Meromorphic.FactorizedRational Mathlib.Analysis.Normed.Algebra.DualNumber Mathlib.Analysis.Normed.Algebra.Exponential Mathlib.Analysis.Normed.Algebra.GelfandRadius Mathlib.Analysis.Normed.Algebra.TrivSqZeroExt Mathlib.Analysis.Normed.Algebra.UnitizationL1 Mathlib.Analysis.Normed.Field.Approximation Mathlib.Analysis.Normed.Lp.Finsupp Mathlib.Analysis.Normed.Lp.ProdLp Mathlib.Analysis.Normed.Lp.lpHolder Mathlib.Analysis.Normed.Lp.lpSpace Mathlib.Analysis.Normed.Module.Bases Mathlib.Analysis.Normed.Operator.Compact.FredholmAlternative Mathlib.Analysis.Normed.Unbundled.AlgebraNorm Mathlib.Analysis.Normed.Unbundled.FiniteExtension Mathlib.Analysis.Normed.Unbundled.InvariantExtension Mathlib.Analysis.Normed.Unbundled.IsPowMulFaithful Mathlib.Analysis.Normed.Unbundled.IsPowMulTrivial Mathlib.Analysis.Normed.Unbundled.RingSeminorm Mathlib.Analysis.Normed.Unbundled.SeminormFromBounded Mathlib.Analysis.Normed.Unbundled.SeminormFromConst Mathlib.Analysis.Normed.Unbundled.SmoothingSeminorm Mathlib.Analysis.ODE.Gronwall Mathlib.Analysis.Polynomial.Basic Mathlib.Analysis.Polynomial.Norm Mathlib.Analysis.Polynomial.Order Mathlib.Analysis.RCLike.Sqrt Mathlib.Analysis.Real.Pi.Bounds Mathlib.Analysis.SpecialFunctions.Arcosh Mathlib.Analysis.SpecialFunctions.Arsinh Mathlib.Analysis.SpecialFunctions.Artanh Mathlib.Analysis.SpecialFunctions.BinaryEntropy Mathlib.Analysis.SpecialFunctions.CompareExp Mathlib.Analysis.SpecialFunctions.Complex.Arg Mathlib.Analysis.SpecialFunctions.Complex.CircleMap Mathlib.Analysis.SpecialFunctions.Complex.Circle Mathlib.Analysis.SpecialFunctions.Complex.LogDeriv Mathlib.Analysis.SpecialFunctions.Complex.Log Mathlib.Analysis.SpecialFunctions.ContinuousFunctionalCalculus.PosPart.Basic Mathlib.Analysis.SpecialFunctions.ExpDeriv Mathlib.Analysis.SpecialFunctions.Exp Mathlib.Analysis.SpecialFunctions.Exponential Mathlib.Analysis.SpecialFunctions.Log.Base Mathlib.Analysis.SpecialFunctions.Log.Basic Mathlib.Analysis.SpecialFunctions.Log.Deriv Mathlib.Analysis.SpecialFunctions.Log.ENNRealLogExp Mathlib.Analysis.SpecialFunctions.Log.ENNRealLog Mathlib.Analysis.SpecialFunctions.Log.InvLog Mathlib.Analysis.SpecialFunctions.Log.Monotone Mathlib.Analysis.SpecialFunctions.Log.NegMulLog Mathlib.Analysis.SpecialFunctions.Log.PosLog Mathlib.Analysis.SpecialFunctions.Log.RpowTendsto Mathlib.Analysis.SpecialFunctions.MulExpNegMulSq Mathlib.Analysis.SpecialFunctions.PolynomialExp Mathlib.Analysis.SpecialFunctions.Pow.Asymptotics Mathlib.Analysis.SpecialFunctions.Pow.Complex Mathlib.Analysis.SpecialFunctions.Pow.Continuity Mathlib.Analysis.SpecialFunctions.Pow.Deriv Mathlib.Analysis.SpecialFunctions.Pow.NNReal Mathlib.Analysis.SpecialFunctions.Pow.Real Mathlib.Analysis.SpecialFunctions.Sigmoid Mathlib.Analysis.SpecialFunctions.SmoothTransition Mathlib.Analysis.SpecialFunctions.Trigonometric.Angle Mathlib.Analysis.SpecialFunctions.Trigonometric.ArctanDeriv Mathlib.Analysis.SpecialFunctions.Trigonometric.Arctan Mathlib.Analysis.SpecialFunctions.Trigonometric.Basic Mathlib.Analysis.SpecialFunctions.Trigonometric.Bounds Mathlib.Analysis.SpecialFunctions.Trigonometric.Chebyshev.Basic Mathlib.Analysis.SpecialFunctions.Trigonometric.ComplexDeriv Mathlib.Analysis.SpecialFunctions.Trigonometric.Complex Mathlib.Analysis.SpecialFunctions.Trigonometric.DerivHyp Mathlib.Analysis.SpecialFunctions.Trigonometric.Deriv Mathlib.Analysis.SpecialFunctions.Trigonometric.InverseDeriv Mathlib.Analysis.SpecialFunctions.Trigonometric.Inverse Mathlib.Analysis.SpecialFunctions.Trigonometric.Meromorphic Mathlib.Analysis.SpecialFunctions.Trigonometric.Series Mathlib.Analysis.SpecialFunctions.Trigonometric.Sinc Mathlib.Analysis.SpecificLimits.FloorPow Mathlib.Analysis.Subadditive Mathlib.CategoryTheory.Preadditive.HomOrthogonal Mathlib.Combinatorics.Derangements.Exponential Mathlib.Computability.AkraBazzi.AkraBazzi Mathlib.Computability.AkraBazzi.GrowsPolynomially Mathlib.Computability.AkraBazzi.SumTransform Mathlib.Data.Matrix.ColumnRowPartitioned Mathlib.Data.ZMod.QuotientRing Mathlib.Dynamics.Newton Mathlib.Dynamics.TopologicalEntropy.CoverEntropy Mathlib.Dynamics.TopologicalEntropy.NetEntropy Mathlib.Dynamics.TopologicalEntropy.Semiconj Mathlib.Dynamics.TopologicalEntropy.Subset Mathlib.FieldTheory.IsRealClosed.Real Mathlib.Geometry.Convex.Cone.TensorProduct Mathlib.Geometry.Euclidean.Angle.Unoriented.Affine Mathlib.Geometry.Euclidean.Angle.Unoriented.Basic Mathlib.Geometry.Euclidean.Angle.Unoriented.Conformal Mathlib.Geometry.Euclidean.Angle.Unoriented.RightAngle Mathlib.Geometry.Euclidean.Basic Mathlib.Geometry.Euclidean.BritishFlag Mathlib.Geometry.Euclidean.EulerQuadrilateral Mathlib.Geometry.Euclidean.Inversion.Basic Mathlib.Geometry.Euclidean.Inversion.ImageHyperplane Mathlib.Geometry.Euclidean.PerpBisector Mathlib.Geometry.Euclidean.Simplex Mathlib.Geometry.Polygon.Basic Mathlib.LinearAlgebra.AffineSpace.Dimension Mathlib.LinearAlgebra.AffineSpace.FiniteDimensional Mathlib.LinearAlgebra.BilinearForm.DualLattice Mathlib.LinearAlgebra.BilinearForm.Orthogonal Mathlib.LinearAlgebra.BilinearForm.Properties Mathlib.LinearAlgebra.BilinearForm.TensorProduct Mathlib.LinearAlgebra.Coevaluation Mathlib.LinearAlgebra.Complex.FiniteDimensional Mathlib.LinearAlgebra.Complex.Module Mathlib.LinearAlgebra.Contraction Mathlib.LinearAlgebra.Dimension.Localization Mathlib.LinearAlgebra.Dual.Lemmas Mathlib.LinearAlgebra.Eigenspace.Basic Mathlib.LinearAlgebra.Eigenspace.ContinuousLinearMap Mathlib.LinearAlgebra.Eigenspace.Matrix Mathlib.LinearAlgebra.FiniteDimensional.Basic Mathlib.LinearAlgebra.FiniteDimensional.Lemmas Mathlib.LinearAlgebra.FreeModule.Finite.Quotient Mathlib.LinearAlgebra.FreeModule.IdealQuotient Mathlib.LinearAlgebra.FreeModule.Int Mathlib.LinearAlgebra.FreeModule.PID Mathlib.LinearAlgebra.GeneralLinearGroup.AlgEquiv Mathlib.LinearAlgebra.Matrix.Diagonal Mathlib.LinearAlgebra.Matrix.Dual Mathlib.LinearAlgebra.Matrix.InvariantBasisNumber Mathlib.LinearAlgebra.Matrix.SemiringInverse Mathlib.LinearAlgebra.Matrix.ToLin Mathlib.LinearAlgebra.Matrix.WithConv Mathlib.LinearAlgebra.PerfectPairing.Basic Mathlib.LinearAlgebra.Projectivization.Basic Mathlib.LinearAlgebra.Projectivization.Cardinality Mathlib.LinearAlgebra.Projectivization.Collinear Mathlib.LinearAlgebra.Projectivization.Independence Mathlib.LinearAlgebra.Projectivization.Subspace Mathlib.LinearAlgebra.Span.TensorProduct Mathlib.MeasureTheory.Constructions.BorelSpace.Complex Mathlib.MeasureTheory.Function.LpSeminorm.Defs Mathlib.MeasureTheory.Function.SpecialFunctions.Arctan Mathlib.MeasureTheory.Function.SpecialFunctions.Basic Mathlib.MeasureTheory.Function.SpecialFunctions.Inner Mathlib.MeasureTheory.Function.StronglyMeasurable.Inner Mathlib.MeasureTheory.Group.Circle Mathlib.MeasureTheory.Integral.MeanInequalities Mathlib.MeasureTheory.Measure.Complex Mathlib.ModelTheory.Arithmetic.Presburger.Definability Mathlib.ModelTheory.Arithmetic.Presburger.Semilinear.Basic Mathlib.NumberTheory.ArithmeticFunction.VonMangoldt Mathlib.NumberTheory.Bertrand Mathlib.NumberTheory.ClassNumber.AdmissibleCardPowDegree Mathlib.NumberTheory.FrobeniusNumber Mathlib.NumberTheory.Harmonic.EulerMascheroni Mathlib.NumberTheory.Height.Basic Mathlib.NumberTheory.Height.MvPolynomial Mathlib.NumberTheory.Height.Northcott Mathlib.NumberTheory.Height.Projectivization Mathlib.NumberTheory.MulChar.Lemmas Mathlib.NumberTheory.Padics.AddChar Mathlib.NumberTheory.Padics.Hensel Mathlib.NumberTheory.Padics.MahlerBasis Mathlib.NumberTheory.Padics.Measure.AmiceTransform Mathlib.NumberTheory.Padics.PadicIntegers Mathlib.NumberTheory.Padics.ProperSpace Mathlib.NumberTheory.Padics.RingHoms Mathlib.NumberTheory.Transcendental.Liouville.LiouvilleWith Mathlib.Probability.Process.Kolmogorov Mathlib.RepresentationTheory.Action Mathlib.RepresentationTheory.Basic Mathlib.RepresentationTheory.Coinduced Mathlib.RepresentationTheory.Coinvariants Mathlib.RepresentationTheory.Continuous.Basic Mathlib.RepresentationTheory.Continuous.TopRep Mathlib.RepresentationTheory.Equiv Mathlib.RepresentationTheory.FiniteIndex Mathlib.RepresentationTheory.Homological.ContCohomology.Basic Mathlib.RepresentationTheory.Homological.ContCohomology.Functoriality Mathlib.RepresentationTheory.Homological.ContCohomology.LowDegree Mathlib.RepresentationTheory.Homological.FiniteCyclic Mathlib.RepresentationTheory.Homological.GroupCohomology.Basic Mathlib.RepresentationTheory.Homological.GroupCohomology.Shapiro Mathlib.RepresentationTheory.Homological.GroupHomology.Basic Mathlib.RepresentationTheory.Homological.GroupHomology.Shapiro Mathlib.RepresentationTheory.Homological.Resolution Mathlib.RepresentationTheory.Induced Mathlib.RepresentationTheory.Intertwining Mathlib.RepresentationTheory.Maschke Mathlib.RepresentationTheory.Rep.Basic Mathlib.RepresentationTheory.Rep.Iso Mathlib.RepresentationTheory.Rep.Res Mathlib.RepresentationTheory.Semisimple Mathlib.RepresentationTheory.Stabilizer Mathlib.RepresentationTheory.Submodule Mathlib.RepresentationTheory.Subrepresentation Mathlib.RingTheory.Artinian.Algebra Mathlib.RingTheory.Artinian.Instances Mathlib.RingTheory.Artinian.Module Mathlib.RingTheory.Artinian.Ring Mathlib.RingTheory.Bialgebra.GroupLike Mathlib.RingTheory.Bialgebra.MonoidAlgebra Mathlib.RingTheory.Coalgebra.GroupLike Mathlib.RingTheory.Derivation.Lie Mathlib.RingTheory.DiscreteValuationRing.Basic Mathlib.RingTheory.DividedPowers.Padic Mathlib.RingTheory.FiniteLength Mathlib.RingTheory.Finiteness.FiniteTypeLocal Mathlib.RingTheory.Finiteness.NilpotentKer Mathlib.RingTheory.Finiteness.Nilpotent Mathlib.RingTheory.Flat.Domain Mathlib.RingTheory.Flat.Localization Mathlib.RingTheory.GradedAlgebra.HomogeneousLocalization Mathlib.RingTheory.HopfAlgebra.Diagonalizable Mathlib.RingTheory.HopfAlgebra.GroupLike Mathlib.RingTheory.HopfAlgebra.MonoidAlgebra Mathlib.RingTheory.Ideal.AssociatedPrime.Localization Mathlib.RingTheory.Ideal.MinimalPrime.Localization Mathlib.RingTheory.Ideal.NatInt Mathlib.RingTheory.Ideal.Pure Mathlib.RingTheory.Ideal.Quotient.Nilpotent Mathlib.RingTheory.KrullDimension.Basic Mathlib.RingTheory.KrullDimension.Field Mathlib.RingTheory.KrullDimension.NonZeroDivisors Mathlib.RingTheory.Length Mathlib.RingTheory.LocalProperties.Basic Mathlib.RingTheory.LocalProperties.Exactness Mathlib.RingTheory.LocalProperties.FinitePresentation Mathlib.RingTheory.LocalProperties.InjectiveDimension Mathlib.RingTheory.LocalProperties.Injective Mathlib.RingTheory.LocalProperties.ProjectiveDimension Mathlib.RingTheory.LocalProperties.Projective Mathlib.RingTheory.LocalProperties.Reduced Mathlib.RingTheory.LocalProperties.Submodule Mathlib.RingTheory.LocalRing.LocalSubring Mathlib.RingTheory.LocalRing.MaximalIdeal.Square Mathlib.RingTheory.LocalRing.Quotient Mathlib.RingTheory.LocalRing.ResidueField.Ideal Mathlib.RingTheory.Localization.AsSubring Mathlib.RingTheory.Localization.AtPrime.Basic Mathlib.RingTheory.Localization.Finiteness Mathlib.RingTheory.Localization.Free Mathlib.RingTheory.Localization.LocalizationLocalization Mathlib.RingTheory.MvPolynomial.IrreducibleQuadratic Mathlib.RingTheory.Nilpotent.Lemmas Mathlib.RingTheory.Noetherian.Nilpotent Mathlib.RingTheory.Polynomial.Hermite.Gaussian Mathlib.RingTheory.Polynomial.IrreducibleRing Mathlib.RingTheory.Polynomial.Nilpotent Mathlib.RingTheory.PowerSeries.Exp Mathlib.RingTheory.PowerSeries.ExponentialModule Mathlib.RingTheory.PowerSeries.Ideal Mathlib.RingTheory.PowerSeries.Inverse Mathlib.RingTheory.PowerSeries.Log Mathlib.RingTheory.PowerSeries.WeierstrassPreparation Mathlib.RingTheory.RingHom.Bijective Mathlib.RingTheory.RingHom.EssFiniteType Mathlib.RingTheory.RingHom.FiniteType Mathlib.RingTheory.RingHom.Finite Mathlib.RingTheory.RingHom.Locally Mathlib.RingTheory.RingHom.OpenImmersion Mathlib.RingTheory.RingHom.Surjective Mathlib.RingTheory.RootsOfUnity.Complex Mathlib.RingTheory.SimpleModule.Rank Mathlib.RingTheory.SimpleModule.WedderburnArtin Mathlib.RingTheory.SimpleRing.DivisionRing Mathlib.RingTheory.Spectrum.Maximal.Localization Mathlib.RingTheory.Spectrum.Prime.Basic Mathlib.RingTheory.Spectrum.Prime.RingHom Mathlib.RingTheory.Support Mathlib.RingTheory.SurjectiveOnStalks Mathlib.RingTheory.TensorProduct.Free Mathlib.RingTheory.Valuation.DiscreteValuativeRel Mathlib.RingTheory.Valuation.RankOne Mathlib.RingTheory.WittVector.WittPolynomial Mathlib.RingTheory.ZMod Mathlib.Tactic.ComputeAsymptotics.Multiseries.Basic Mathlib.Tactic.ComputeAsymptotics.Multiseries.Basis Mathlib.Tactic.ComputeAsymptotics.Multiseries.Defs Mathlib.Tactic.ComputeAsymptotics.Multiseries.Majorized Mathlib.Tactic.ComputeAsymptotics.Multiseries.Monomial.Basic Mathlib.Tactic.ComputeAsymptotics.Multiseries.Trimming Mathlib.Tactic.Inclusion.Extension.IntervalDyadicReal.Cos Mathlib.Tactic.Inclusion.Extension.IntervalDyadicReal.Log Mathlib.Tactic.NormNum.Irrational Mathlib.Topology.Algebra.AsymptoticCone Mathlib.Topology.Algebra.PontryaginDual Mathlib.Topology.Algebra.Projectivization Mathlib.Topology.Algebra.Star.LinearMap Mathlib.Topology.ContinuousMap.ContinuousSqrt Mathlib.Topology.EMetricSpace.PairReduction Mathlib.Topology.Instances.Complex Mathlib.Topology.MetricSpace.CoveringExponent Mathlib.Topology.MetricSpace.GromovHausdorff Mathlib.Topology.MetricSpace.HolderNorm Mathlib.Topology.MetricSpace.Holder Mathlib.Topology.MetricSpace.Kuratowski Mathlib.Topology.MetricSpace.Snowflaking Mathlib.Topology.VectorBundle.Riemannian
-2
Mathlib.GroupTheory.Perm.Support.NoncommProd 1
Mathlib.GroupTheory.Perm.Support.Basic 2
Mathlib.GroupTheory.Perm.Support.Card (new file) 908
Mathlib.GroupTheory.Perm.Support (new file) 914

Declarations diff (regex)

+ Basis.mem_support_self'
+ Disjoint.apply_apply_eq_iff
+ Disjoint.apply_eq_or_apply_eq
+ Disjoint.card_supportFinset_mul
+ Disjoint.disjoint_supportFinset
+ Disjoint.encard_support_mul
+ Disjoint.eq_one
+ Disjoint.mem_left_imp
+ Disjoint.mem_right_imp
+ Disjoint.mono_supportFinset
+ Disjoint.ncard_support_mul
+ Disjoint.of_apply_left_ne
+ Disjoint.of_apply_right_ne
+ Disjoint.supportFinset_mul
+ IsCycle.eq_on_supportFinset_inter_nonempty_congr
+ IsCycle.nonempty_supportFinset
+ IsCycle.supportFinset_congr
+ IsCycle.supportFinset_pow_eq_iff
+ IsCycle.supportFinset_pow_of_pos_of_lt_orderOf
+ IsCycle.two_le_card_supportFinset
+ IsCycle.zpowersEquivSupportFinset
+ IsCycle.zpowersEquivSupportFinset_apply
+ IsCycle.zpowersEquivSupportFinset_symm_apply
+ IsThreeCycle.eq_swap_mul_swap_iff_mem_supportFinset
+ IsThreeCycle.nodup_iff_mem_supportFinset
+ IsThreeCycle.supportFinset_eq_iff_mem_supportFinset
+ SameCycle.exists_pow_eq_of_mem_supportFinset
+ SameCycle.exists_pow_eq_of_mem_supportFinset_aux
+ SameCycle.mem_supportFinset_iff
+ _root_.Commute.apply_apply
+ _root_.Disjoint.disjoint_perm
+ _root_.MulAut.support_conj_apply
+ _root_.Set.mem_image_perm
+ _root_.card_supportFinset_eq_three_iff
+ apply_eq_of_notMem_support
+ apply_inv_mem_support
+ apply_inv_mem_supportFinset
+ apply_mem_supportFinset
+ apply_ne_of_mem_support
+ card_compl_supportFinset_modEq
+ card_ofPermHom_supportFinset
+ card_supportFinset
+ card_supportFinset_conj
+ card_supportFinset_eq_two
+ card_supportFinset_eq_zero
+ card_supportFinset_extend_domain
+ card_supportFinset_le_one
+ card_supportFinset_ne_one
+ card_supportFinset_prod_list_of_pairwise_disjoint
+ card_supportFinset_swap
+ card_supportFinset_swap_mul
+ coe_foldr_union_map
+ coe_supportFinset_eq_support
+ cycle_zpow_mem_supportFinset_iff
+ disjoint_closure_of_disjoint_supportFinset
+ disjoint_iff_disjoint_supportFinset
+ disjoint_iff_forall_apply_eq_or_apply_eq
+ disjoint_of_disjoint_supportFinset
+ disjoint_supportFinset_closure_of_disjoint_supportFinset
+ encard_support_conj
+ encard_support_eq_two
+ encard_support_eq_zero
+ encard_support_extend_domain
+ encard_support_le_one
+ encard_support_ne_one
+ encard_support_prod_list_of_pairwise_disjoint
+ encard_support_swap
+ encard_support_swap_mul
+ eq_on_supportFinset_mem_disjoint
+ exists_mem_supportFinset_ne
+ exists_mem_supportFinset_of_mem_supportFinset_prod
+ exists_mem_support_ne
+ exists_pair_mem_supportFinset_ne
+ exists_pair_mem_support_ne
+ fixed_point_card_add_two_le_of_ne_one
+ fixed_point_encard_add_two_le_of_ne_one
+ fixed_point_ncard_add_two_le_of_ne_one
+ fixed_point_ncard_lt_of_ne_one
+ image_val_support_subtypePerm
+ instance [DecidableEq α] : DecidablePred (· ∈ f.support) := fun _ =>
+ inv_symm
+ isConj_of_supportFinset_equiv
+ isCycleOn_supportFinset_cycleOf
+ isCycleOn_supportFinset_cycleOf_aux
+ isCycleOn_supportFinset_of_mem_cycleFactorsFinset
+ isInvariant_of_supportFinset_subset
+ isInvariant_of_support_subset
+ isSwap_iff_exists_apply
+ isSwap_iff_exists_ne_eq_swap
+ le_card_supportFinset_of_mem_cycleType
+ length_toList_pos_of_mem_supportFinset
+ mem_conj_supportFinset
+ mem_cycleFactorsFinset_supportFinset
+ mem_cycleFactorsFinset_supportFinset_le
+ mem_supportFinset_cycleOf_iff
+ mem_supportFinset_cycleOf_iff'
+ mem_supportFinset_cycleOf_iff'_aux
+ mem_supportFinset_cycleOf_iff_aux
+ mem_supportFinset_cycle_of_cycle
+ mem_supportFinset_iff
+ mem_supportFinset_iff_mem_supportFinset_of_mem_cycleFactorsFinset
+ mem_supportFinset_iff_of_commute
+ mem_supportFinset_ofSubtype
+ mem_supportFinset_of_mem_noncommProd_supportFinset
+ mem_supportFinset_self
+ mem_supportFinset_swap_mul_imp_mem_supportFinset_ne
+ mem_support_iff
+ mem_support_iff_not_isFixedPt
+ mem_support_of_apply_ne
+ ncard_support_conj
+ ncard_support_eq_two
+ ncard_support_eq_zero
+ ncard_support_extend_domain
+ ncard_support_le_one
+ ncard_support_ne_one
+ ncard_support_prod_list_of_pairwise_disjoint
+ ncard_support_swap
+ ncard_support_swap_mul
+ notMem_supportFinset_iff
+ notMem_support_iff
+ notMem_support_of_apply_eq
+ ofPermHomFun_apply_mem_supportFinset_cycle_iff
+ ofPermHom_supportFinset
+ ofSubtype_subtypePerm_eq_iff_supportFinset_subset
+ ofSubtype_subtypePerm_eq_iff_support_subset
+ ofSubtype_supportFinset_disjoint
+ one_lt_card_supportFinset_iff
+ one_lt_card_supportFinset_of_ne_one
+ one_lt_encard_support_iff
+ one_lt_encard_support_of_ne_one
+ one_lt_ncard_support_iff
+ one_lt_ncard_support_of_ne_one
+ pow_apply_mem_supportFinset
+ pow_apply_mem_toList_iff_mem_supportFinset
+ pow_eq_on_of_mem_supportFinset
+ pow_mod_card_supportFinset_cycleOf_self_apply
+ sameCycle_iff_cycleOf_eq_of_mem_supportFinset
+ subset_support_iff
+ subset_support_of_forall_mem_apply_ne
+ subtypePermOfSupportFinset
+ subtypePermOfSupportFinsetLE
+ supportFinset
+ supportFinset_closure_subset_union
+ supportFinset_congr
+ supportFinset_conj
+ supportFinset_conj_eq_smul_supportFinset
+ supportFinset_conj_inv
+ supportFinset_cycleOf_eq_nil_iff
+ supportFinset_cycleOf_le
+ supportFinset_cycleOf_nonempty
+ supportFinset_eq_empty_iff
+ supportFinset_eq_pair_iff
+ supportFinset_extend_domain
+ supportFinset_finRotate
+ supportFinset_finRotate_of_le
+ supportFinset_formPerm
+ supportFinset_formPerm_of_nodup
+ supportFinset_formPerm_subset
+ supportFinset_inv
+ supportFinset_mul_subset
+ supportFinset_ne_singleton
+ supportFinset_noncommProd
+ supportFinset_nonempty_iff
+ supportFinset_ofSubtype
+ supportFinset_one
+ supportFinset_pow_coprime
+ supportFinset_pow_subset
+ supportFinset_prod_of_pairwise_disjoint
+ supportFinset_prod_subset
+ supportFinset_refl
+ supportFinset_sdiff_subset_supportFinset_swap_mul
+ supportFinset_subset_prod_of_mem
+ supportFinset_subtypePerm
+ supportFinset_swap
+ supportFinset_swap_iff
+ supportFinset_swap_mul_eq
+ supportFinset_swap_mul_swap
+ supportFinset_zpow_subset
+ supportFinset_zpowers_of_mem_cycleFactorsFinset_le
+ support_compl_def
+ support_conj_inv
+ support_def
+ support_eq_pair_iff
+ support_eq_pair_iff_eq_swap
+ support_formPerm_subset
+ support_mul_subset
+ support_ne_singleton
+ support_nonempty_iff
+ support_permCongr
+ support_pow_subset
+ support_prod_subset
+ support_sdiff_subset_support_swap_mul
+ support_subset_iff
+ support_subset_of_forall_apply_ne_mem
+ support_subset_prod_of_mem
+ support_swap_mul_subset
+ support_swap_of_ne
+ support_symm
+ support_zpow_subset
+ symm_inv
+ two_dvd_card_supportFinset
+ two_le_card_supportFinset_cycleOf_iff
+ two_le_card_supportFinset_iff
+ two_le_card_supportFinset_of_ne_one
+ two_le_encard_support_iff
+ two_le_encard_support_of_ne_one
+ two_le_length_toList_iff_mem_supportFinset
+ two_le_ncard_support_iff
+ two_le_ncard_support_of_ne_one
+ zipWith_swap_prod_supportFinset
+ zpow_apply_mem_supportFinset
+ zpow_apply_mem_supportFinset_of_mem_cycleFactorsFinset_iff
- SameCycle.exists_pow_eq_of_mem_support_aux
- _root_.card_support_eq_three_iff
- isCycleOn_support_cycleOf_aux
- mem_support_cycleOf_iff'_aux
- mem_support_cycleOf_iff_aux

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

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

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

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

Declarations diff (Lean)

✅ Lean-aware diff — post-build, computed from the Lean environment (commit 71139fd).

  • +210 new declarations
  • −1 removed declarations

(showing first 200 of 211 lines)

+Commute.apply_apply
+Cycle.supportFinset_formPerm
+Disjoint.disjoint_perm
+Equiv.Perm.Basis.card_ofPermHom_supportFinset
+Equiv.Perm.Basis.mem_supportFinset_self
+Equiv.Perm.Basis.mem_supportFinset_self'
+Equiv.Perm.Basis.ofPermHomFun_apply_mem_supportFinset_cycle_iff
+Equiv.Perm.Basis.ofPermHom_supportFinset
+Equiv.Perm.Disjoint.apply_apply_eq_iff
+Equiv.Perm.Disjoint.apply_eq_or_apply_eq
+Equiv.Perm.Disjoint.card_supportFinset_mul
+Equiv.Perm.Disjoint.disjoint_supportFinset
+Equiv.Perm.Disjoint.encard_support_mul
+Equiv.Perm.Disjoint.eq_one
+Equiv.Perm.Disjoint.mem_left_imp
+Equiv.Perm.Disjoint.mem_right_imp
+Equiv.Perm.Disjoint.mono_supportFinset
+Equiv.Perm.Disjoint.ncard_support_mul
+Equiv.Perm.Disjoint.of_apply_left_ne
+Equiv.Perm.Disjoint.of_apply_right_ne
+Equiv.Perm.Disjoint.supportFinset_mul
+Equiv.Perm.IsCycle.eq_on_supportFinset_inter_nonempty_congr
+Equiv.Perm.IsCycle.nonempty_supportFinset
+Equiv.Perm.IsCycle.supportFinset_congr
+Equiv.Perm.IsCycle.supportFinset_pow_eq_iff
+Equiv.Perm.IsCycle.supportFinset_pow_of_pos_of_lt_orderOf
+Equiv.Perm.IsCycle.two_le_card_supportFinset
-Equiv.Perm.IsCycle.zpowersEquivSupport.congr_simp
+Equiv.Perm.IsCycle.zpowersEquivSupportFinset
+Equiv.Perm.IsCycle.zpowersEquivSupportFinset.congr_simp
+Equiv.Perm.IsCycle.zpowersEquivSupportFinset_apply
+Equiv.Perm.IsCycle.zpowersEquivSupportFinset_symm_apply
+Equiv.Perm.IsThreeCycle.card_supportFinset
+Equiv.Perm.IsThreeCycle.eq_swap_mul_swap_iff_mem_supportFinset
+Equiv.Perm.IsThreeCycle.nodup_iff_mem_supportFinset
+Equiv.Perm.IsThreeCycle.supportFinset_eq_iff_mem_supportFinset
+Equiv.Perm.SameCycle.exists_pow_eq_of_mem_supportFinset
+Equiv.Perm.SameCycle.mem_supportFinset_iff
+Equiv.Perm.apply_eq_of_notMem_support
+Equiv.Perm.apply_inv_mem_support
+Equiv.Perm.apply_inv_mem_supportFinset
+Equiv.Perm.apply_mem_supportFinset
+Equiv.Perm.apply_ne_of_mem_support
+Equiv.Perm.card_compl_supportFinset_modEq
+Equiv.Perm.card_supportFinset_conj
+Equiv.Perm.card_supportFinset_eq_ncard_support
+Equiv.Perm.card_supportFinset_eq_two
+Equiv.Perm.card_supportFinset_eq_zero
+Equiv.Perm.card_supportFinset_extend_domain
+Equiv.Perm.card_supportFinset_le_one
+Equiv.Perm.card_supportFinset_ne_one
+Equiv.Perm.card_supportFinset_prod_list_of_pairwise_disjoint
+Equiv.Perm.card_supportFinset_swap
+Equiv.Perm.card_supportFinset_swap_mul
+Equiv.Perm.coe_supportFinset_eq_support
+Equiv.Perm.cycle_zpow_mem_supportFinset_iff
+Equiv.Perm.disjoint_closure_of_disjoint_supportFinset
+Equiv.Perm.disjoint_iff_disjoint_supportFinset
+Equiv.Perm.disjoint_iff_forall_apply_eq_or_apply_eq
+Equiv.Perm.disjoint_of_disjoint_supportFinset
+Equiv.Perm.disjoint_supportFinset_closure_of_disjoint_supportFinset
+Equiv.Perm.encard_support_conj
+Equiv.Perm.encard_support_eq_two
+Equiv.Perm.encard_support_eq_zero
+Equiv.Perm.encard_support_extend_domain
+Equiv.Perm.encard_support_le_one
+Equiv.Perm.encard_support_ne_one
+Equiv.Perm.encard_support_prod_list_of_pairwise_disjoint
+Equiv.Perm.encard_support_swap
+Equiv.Perm.encard_support_swap_mul
+Equiv.Perm.eq_on_supportFinset_mem_disjoint
+Equiv.Perm.exists_mem_supportFinset_ne
+Equiv.Perm.exists_mem_supportFinset_of_mem_supportFinset_prod
+Equiv.Perm.exists_mem_support_ne
+Equiv.Perm.exists_pair_mem_supportFinset_ne
+Equiv.Perm.exists_pair_mem_support_ne
+Equiv.Perm.fixed_point_card_add_two_le_of_ne_one
+Equiv.Perm.fixed_point_encard_add_two_le_of_ne_one
+Equiv.Perm.fixed_point_ncard_add_two_le_of_ne_one
+Equiv.Perm.fixed_point_ncard_lt_of_ne_one
+Equiv.Perm.image_val_support_subtypePerm
+Equiv.Perm.instDecidablePredMemSetSupportOfDecidableEq
+Equiv.Perm.inv_symm
+Equiv.Perm.isConj_of_supportFinset_equiv
+Equiv.Perm.isCycleOn_supportFinset_cycleOf
+Equiv.Perm.isCycleOn_supportFinset_of_mem_cycleFactorsFinset
+Equiv.Perm.isInvariant_of_supportFinset_subset
+Equiv.Perm.isInvariant_of_support_subset
+Equiv.Perm.isSwap_iff_exists_apply
+Equiv.Perm.isSwap_iff_exists_ne_eq_swap
+Equiv.Perm.le_card_supportFinset_of_mem_cycleType
+Equiv.Perm.length_toList_pos_of_mem_supportFinset
+Equiv.Perm.mem_conj_supportFinset
+Equiv.Perm.mem_cycleFactorsFinset_supportFinset
+Equiv.Perm.mem_cycleFactorsFinset_supportFinset_le
+Equiv.Perm.mem_supportFinset_cycleOf_iff
+Equiv.Perm.mem_supportFinset_cycleOf_iff'
+Equiv.Perm.mem_supportFinset_cycle_of_cycle
+Equiv.Perm.mem_supportFinset_iff
+Equiv.Perm.mem_supportFinset_iff_mem_supportFinset_of_mem_cycleFactorsFinset
+Equiv.Perm.mem_supportFinset_iff_of_commute
+Equiv.Perm.mem_supportFinset_ofSubtype
+Equiv.Perm.mem_supportFinset_of_mem_noncommProd_supportFinset
+Equiv.Perm.mem_supportFinset_swap_mul_imp_mem_supportFinset_ne
+Equiv.Perm.mem_support_iff
+Equiv.Perm.mem_support_iff_not_isFixedPt
+Equiv.Perm.mem_support_of_apply_ne
+Equiv.Perm.ncard_support_conj
+Equiv.Perm.ncard_support_eq_two
+Equiv.Perm.ncard_support_eq_zero
+Equiv.Perm.ncard_support_extend_domain
+Equiv.Perm.ncard_support_le_one
+Equiv.Perm.ncard_support_ne_one
+Equiv.Perm.ncard_support_prod_list_of_pairwise_disjoint
+Equiv.Perm.ncard_support_swap
+Equiv.Perm.ncard_support_swap_mul
+Equiv.Perm.notMem_supportFinset_iff
+Equiv.Perm.notMem_support_iff
+Equiv.Perm.notMem_support_of_apply_eq
+Equiv.Perm.ofSubtype_subtypePerm_eq_iff_supportFinset_subset
+Equiv.Perm.ofSubtype_subtypePerm_eq_iff_support_subset
+Equiv.Perm.ofSubtype_supportFinset_disjoint
+Equiv.Perm.one_lt_card_supportFinset_iff
+Equiv.Perm.one_lt_card_supportFinset_of_ne_one
+Equiv.Perm.one_lt_encard_support_iff
+Equiv.Perm.one_lt_encard_support_of_ne_one
+Equiv.Perm.one_lt_ncard_support_iff
+Equiv.Perm.one_lt_ncard_support_of_ne_one
+Equiv.Perm.pow_apply_mem_supportFinset
+Equiv.Perm.pow_apply_mem_toList_iff_mem_supportFinset
+Equiv.Perm.pow_eq_on_of_mem_supportFinset
+Equiv.Perm.pow_mod_card_supportFinset_cycleOf_self_apply
+Equiv.Perm.sameCycle_iff_cycleOf_eq_of_mem_supportFinset
+Equiv.Perm.subset_support_iff
+Equiv.Perm.subset_support_of_forall_mem_apply_ne
+Equiv.Perm.subtypePermOfSupportFinset
+Equiv.Perm.subtypePermOfSupportFinsetLE
+Equiv.Perm.supportFinset
+Equiv.Perm.supportFinset_closure_subset_union
+Equiv.Perm.supportFinset_congr
+Equiv.Perm.supportFinset_conj
+Equiv.Perm.supportFinset_conj_eq_smul_supportFinset
+Equiv.Perm.supportFinset_conj_inv
+Equiv.Perm.supportFinset_cycleOf_eq_nil_iff
+Equiv.Perm.supportFinset_cycleOf_le
+Equiv.Perm.supportFinset_cycleOf_nonempty
+Equiv.Perm.supportFinset_eq_empty_iff
+Equiv.Perm.supportFinset_eq_pair_iff
+Equiv.Perm.supportFinset_extend_domain
+Equiv.Perm.supportFinset_inv
+Equiv.Perm.supportFinset_mul_subset
+Equiv.Perm.supportFinset_ne_singleton
+Equiv.Perm.supportFinset_noncommProd
+Equiv.Perm.supportFinset_nonempty_iff
+Equiv.Perm.supportFinset_ofSubtype
+Equiv.Perm.supportFinset_one
+Equiv.Perm.supportFinset_pow_coprime
+Equiv.Perm.supportFinset_pow_subset
+Equiv.Perm.supportFinset_prod_of_pairwise_disjoint
+Equiv.Perm.supportFinset_prod_subset
+Equiv.Perm.supportFinset_refl
+Equiv.Perm.supportFinset_sdiff_subset_supportFinset_swap_mul
+Equiv.Perm.supportFinset_subset_prod_of_mem
+Equiv.Perm.supportFinset_subtypePerm
+Equiv.Perm.supportFinset_swap
+Equiv.Perm.supportFinset_swap_iff
+Equiv.Perm.supportFinset_swap_mul_eq
+Equiv.Perm.supportFinset_swap_mul_swap
+Equiv.Perm.supportFinset_zpow_subset
+Equiv.Perm.supportFinset_zpowers_of_mem_cycleFactorsFinset_le
+Equiv.Perm.support_compl_def
+Equiv.Perm.support_conj_inv
+Equiv.Perm.support_def
+Equiv.Perm.support_eq_pair_iff
+Equiv.Perm.support_eq_pair_iff_eq_swap
+Equiv.Perm.support_mul_subset
+Equiv.Perm.support_ne_singleton
+Equiv.Perm.support_nonempty_iff
+Equiv.Perm.support_permCongr
+Equiv.Perm.support_pow_subset
+Equiv.Perm.support_prod_subset
+Equiv.Perm.support_sdiff_subset_support_swap_mul
+Equiv.Perm.support_subset_iff
+Equiv.Perm.support_subset_of_forall_apply_ne_mem
+Equiv.Perm.support_subset_prod_of_mem
+Equiv.Perm.support_swap_mul_subset
+Equiv.Perm.support_swap_of_ne
+Equiv.Perm.support_symm
+Equiv.Perm.support_zpow_subset
+Equiv.Perm.symm_inv
+Equiv.Perm.two_dvd_card_supportFinset
+Equiv.Perm.two_le_card_supportFinset_cycleOf_iff
+Equiv.Perm.two_le_card_supportFinset_iff
+Equiv.Perm.two_le_card_supportFinset_of_ne_one
+Equiv.Perm.two_le_encard_support_iff
+Equiv.Perm.two_le_encard_support_of_ne_one
+Equiv.Perm.two_le_length_toList_iff_mem_supportFinset
+Equiv.Perm.two_le_ncard_support_iff
+Equiv.Perm.two_le_ncard_support_of_ne_one
+Equiv.Perm.zpow_apply_mem_supportFinset

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

Current commit 71139fdd5f
Reference commit b698bef4f2

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

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

@mathlib-dependent-issues mathlib-dependent-issues Bot added the blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) label Nov 17, 2026
@github-actions github-actions Bot added merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) large-import Automatically added label for PRs with a significant increase in transitive imports and removed merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) labels Nov 18, 2026
@wrenna-robson

Copy link
Copy Markdown
Collaborator Author

An LLM was used to aid in the review of this PR and to aid in a few cases of proof golfing, as well as some places where a deterministic translation was possible (effectively being used as a script engine). The new files Support/Basic.lean and Support/Card.lean are hand-authored for the most part (and all sections where an LLM was used, manual review took place). As such I am not tagging this one LLM-generated thouhg I can if it is wanted.

@wrenna-robson

Copy link
Copy Markdown
Collaborator Author

The large import label here is just because the umbrella file Mathlib/GroupTheory/Perm/Support.lean pulls in a bunch of stuff - but nothing is actually importing this directly! It stems from the fact I am bringing in Data.Set.Card. Files that use the card lemmas at all already had this though. (with one small exception), so this is fine in practice.

@wrenna-robson
wrenna-robson marked this pull request as ready for review November 18, 2026 16:59
@github-actions

github-actions Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

✅ PR Title Formatted Correctly

The title of this PR has been updated to match our commit style conventions.
Thank you!

@wrenna-robson wrenna-robson changed the title feat(GroupTheory/Perm): Set-valued Equiv.Perm.support feat(GroupTheory/Perm): set-valued Equiv.Perm.support Nov 18, 2026
@wrenna-robson

wrenna-robson commented Nov 18, 2026 •

Copy link
Copy Markdown
Collaborator Author

If we desire for lemmas about supportFinset's cardinality to not rely on Data.Set.Card, this would be possible - it would lead to a little more proof duplication, though. I would in this case split Finset.lean into Basic.lean and Card.lean in a Finset sub-folder. But as this wasn't necessary for the simplification of the imports, I haven't done it.

Edit: I decided to do it.

…set/Basic`, `Finset/Card`, `NoncommProd`

Split `Mathlib/GroupTheory/Perm/Support.lean` into:
* `Support/Basic.lean`: the `set_support_*` lemmas;
* `Support/Disjoint.lean`: the `Equiv.Perm.Disjoint` API not involving `support`;
* `Support/Finset/Basic.lean`: the `Finset`-valued `Equiv.Perm.support` and its API;
* `Support/Finset/Card.lean`: lemmas about the cardinality of `support`;
* `Support/NoncommProd.lean`: lemmas about `Finset.noncommProd` of permutations.

No declarations are renamed or restated. `Support.lean` becomes a deprecated module importing
the new files, and its direct importers are repointed to what they use.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
wrenna-robson and others added 4 commits November 20, 2026 11:02
Rename `Equiv.Perm.support` to `Equiv.Perm.supportFinset`, along with the declarations that
mention it, keeping deprecated aliases.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
wrenna-robson and others added 2 commits November 20, 2026 12:58
Carry leanprover-community#46126 over onto the split of `Perm/Support` (leanprover-community#46277) and the `supportFinset` rename
(leanprover-community#46082). `Support/Finset.lean` becomes `Support/Finset/Basic.lean`; `Support/Card.lean` keeps
the `Finset` cardinality lemmas for now, so `Support/Finset/Card.lean` is removed.
…to `Support/Finset/Card`

Move the `card_supportFinset_*` lemmas from `Support/Card.lean` to `Support/Finset/Card.lean`,
proving them directly rather than through `Set.ncard`, so that they do not need
`Mathlib.Data.Set.Card`; `assert_not_exists Set.encard Set.ncard Finset.noncommProd` keeps it
that way. `Support/Card.lean` keeps the `Set.encard`/`Set.ncard` lemmas and the bridge lemma
`card_supportFinset_eq_ncard_support`.

Also:
* add `supportFinset_eq_pair_iff`, `one_lt_card_supportFinset_iff` and
  `two_le_card_supportFinset_iff`, mirroring the `Set` versions;
* add `fixed_point_card_add_two_le_of_ne_one` and `fixed_point_ncard_add_two_le_of_ne_one`, and
  derive the `< card - 1` versions from them;
* prove the `two_le_*` lemmas via `Nat.add_one_le_iff` rather than by defeq.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@github-actions github-actions Bot added the tech debt Fixes cross-cutting technical debt, see the "technical debt counters" stream on zulip label Nov 20, 2026
State `Disjoint.mono` with `⊆`, build `disjoint_inv_left_iff`/`disjoint_inv_right_iff` from the
`Perm.Disjoint` API, and golf several proofs.
@wrenna-robson wrenna-robson added the t-group-theory Group theory label Nov 20, 2026
@wrenna-robson wrenna-robson changed the title feat(GroupTheory/Perm): set-valued Equiv.Perm.support feat(GroupTheory/Perm/Support): set-valued Equiv.Perm.support Nov 20, 2026
…j_inv`

Add `apply_inv_mem_support{,Finset}` and `support{,Finset}_conj_inv`, so that `simp` handles
conjugation in both orders. Add `Equiv.Perm.inv_symm` and `Equiv.Perm.symm_inv` as `simp` lemmas,
matching `MulAut.inv_symm`/`MulAut.symm_inv`, and drop `simp` from `Set.mem_image_perm`, which
`Set.mem_image_equiv` and `Perm.coe_inv` already prove.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@wrenna-robson wrenna-robson added the LLM-generated PRs with substantial input from LLMs - review accordingly label Nov 20, 2026
Rename the `Set` version of `ofSubtype_eq_iff` to
`ofSubtype_subtypePerm_eq_iff_support_subset`, and keep the `Finset`
version under its leanprover-community#46082 name `ofSubtype_subtypePerm_eq_iff_supportFinset_subset`
(dropping `ofSubtype_eq_iff_mem_finset`), with `ofSubtype_eq_iff` remaining
a deprecated alias of the `Finset` version.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_0195pqtqaF2V2KezbAoNJJoe
@mathlib-merge-conflicts mathlib-merge-conflicts Bot added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Nov 27, 2026
@mathlib-merge-conflicts

Copy link
Copy Markdown

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

wrenna-robson and others added 5 commits November 29, 2026 13:08
…_swap`

Address review: drop unneeded imports, move `disjoint_swap_swap` to
`Support/Disjoint.lean`, and document `Support/NoncommProd.lean`.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
# Conflicts:
#	Mathlib/GroupTheory/Perm/Support/Finset/Basic.lean
# Conflicts:
#	Mathlib/GroupTheory/Perm/List.lean
#	Mathlib/GroupTheory/Perm/Support/Disjoint.lean
#	Mathlib/GroupTheory/Perm/Support/Finset/Basic.lean
#	Mathlib/GroupTheory/Perm/Support/NoncommProd.lean
# Conflicts:
#	Mathlib/GroupTheory/Perm/Finite.lean
@github-actions github-actions Bot removed the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Nov 29, 2026
wrenna-robson and others added 4 commits November 30, 2026 09:41
…upportFinset_iff`

Also `notMem_supportFinset` to `notMem_supportFinset_iff`. The deprecated
aliases `mem_support` and `notMem_support` now point at the `_iff` names.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Brings in the `mem_supportFinset_iff` rename from leanprover-community#46082 and, with it,
the merge of master (including leanprover-community#46277). Conflicts are resolved in favour
of this branch's proofs. The `Set` lemmas are renamed in step:
`mem_support` to `mem_support_iff` and `notMem_support` to
`notMem_support_iff`. Since those names no longer clash, the deprecated
aliases `mem_support` and `notMem_support` (pointing at the `Finset`
lemmas) are restored.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@github-actions github-actions Bot removed the large-import Automatically added label for PRs with a significant increase in transitive imports label Nov 30, 2026
wrenna-robson and others added 7 commits November 30, 2026 09:53
…iends

Replace `mem_support_iff.mp`/`.mpr` and `notMem_support_iff.mp` with the
one-directional lemmas.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…supportFinset_formPerm_subset`

State it with `⊆`, matching the other `_subset` renames. The deprecated
alias `support_formPerm_le` now points at the new name.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…mPerm_subset`

Add `support_subset_iff`, `subset_support_iff` and their one-directional
forms, and use them. Add `List.support_formPerm_subset` for the `Set`
support, deprecating `support_formPerm_le'`. Qualify
`Perm.mem_supportFinset_iff` in `SameCycle.exists_pow_eq`, where it
clashed with `SameCycle.mem_supportFinset_iff`.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…iff`

Inside `SameCycle.exists_pow_eq` the unqualified name resolves to
`SameCycle.mem_supportFinset_iff`.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@mathlib-merge-conflicts mathlib-merge-conflicts Bot added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Dec 1, 2026
@mathlib-merge-conflicts

Copy link
Copy Markdown

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

TJHeeringa pushed a commit to TJHeeringa/mathlib4 that referenced this pull request Dec 2, 2026
…emmas to `Algebra/Group/End` (leanprover-community#46119)

Part of the `Equiv.Perm.support` refactor discussed on [Zulip](https://leanprover.zulipchat.com/#narrow/channel/287929-mathlib4/topic/support.20of.20permutations.20on.20Type.20instead.20of.20Fintype/near/640706043): leanprover-community#46119 (move `IsSwap` and pow-apply lemmas) → leanprover-community#46277 (split `Support.lean`) → leanprover-community#46082 (rename to `supportFinset`) → leanprover-community#46126 (`Set`-valued `support`).

Move `Equiv.Perm.IsSwap` and the lemmas about fixed points of powers of a permutation from `Mathlib/GroupTheory/Perm/Support.lean` to `Mathlib/Algebra/Group/End.lean`.

None of these are about the support of a permutation. They only need the group structure on `Equiv.Perm`, so they belong earlier in the import tree, next to that structure. The aim is for the `Support` files to contain only material about the support. It is a pure move with no renames or statement changes.

An LLM has been used in the preparation of this PR but as it contains no new content - i.e. it is just a move - I am omitting the LLM-generated tag.
@github-actions github-actions Bot removed the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Dec 2, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) LLM-generated PRs with substantial input from LLMs - review accordingly t-group-theory Group theory tech debt Fixes cross-cutting technical debt, see the "technical debt counters" stream on zulip

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants