Skip to content

[Merged by Bors] - chore: de-simp map_eq_zero_iff_eq_one#20662

Closed
mattrobball wants to merge 1 commit intomasterfrom
mrb/desimp_map_eq_zero_eq_one
Closed

[Merged by Bors] - chore: de-simp map_eq_zero_iff_eq_one#20662
mattrobball wants to merge 1 commit intomasterfrom
mrb/desimp_map_eq_zero_eq_one

Conversation

@mattrobball
Copy link
Copy Markdown
Contributor

The keys of this declaration are @Eq _ (@DFunLike.coe _ _ _ _ _ _) 0 so it will fire whenever attempting to simplify f x = 0 which is too generic for this specific setting.


Open in Gitpod

@mattrobball
Copy link
Copy Markdown
Contributor Author

!bench

@github-actions github-actions bot added the t-algebra Algebra (groups, rings, fields, etc) label Jan 11, 2025
@github-actions
Copy link
Copy Markdown

PR summary ee47354445

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

No declarations were harmed in the making of this PR! 🐙

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

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

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


No changes to technical debt.

You can run this locally as

./scripts/technical-debt-metrics.sh pr_summary
  • The relative value is the weighted sum of the differences with weight given by the inverse of the current value of the statistic.
  • The absolute value is the relative value divided by the total sum of the inverses of the current values (i.e. the weighted average of the differences).

@leanprover-bot
Copy link
Copy Markdown
Collaborator

Here are the benchmark results for commit ee47354.
There were no significant changes against commit 3949513.

@github-actions
Copy link
Copy Markdown

File Instructions %
build -92.700⬝10⁹ (-0.06%)
lint -23.742⬝10⁹ (-0.31%)
Mathlib.Data.Array.Lemmas +1.141⬝10⁹ (+33.72%)
13 files, Instructions -2.0⬝10⁹
File Instructions %
Mathlib.MeasureTheory.Measure.Restrict -1.37⬝10⁹ (-2.67%)
Mathlib.RingTheory.Valuation.LocalSubring -1.52⬝10⁹ (-1.23%)
Mathlib.RingTheory.Algebraic.Integral -1.66⬝10⁹ (-2.61%)
Mathlib.FieldTheory.Minpoly.Field -1.92⬝10⁹ (-2.80%)
Mathlib.RingTheory.Extension -1.287⬝10⁹ (-1.15%)
Mathlib.Analysis.LocallyConvex.Polar -1.404⬝10⁹ (-4.86%)
Mathlib.Topology.Algebra.Module.LinearMap -1.428⬝10⁹ (-1.18%)
Mathlib.LinearAlgebra.RootSystem.Defs -1.465⬝10⁹ (-2.44%)
Mathlib.ModelTheory.Algebra.Ring.Definability -1.775⬝10⁹ (-17.97%)
Mathlib.Algebra.Lie.TraceForm -1.781⬝10⁹ (-0.94%)
Mathlib.Probability.ProbabilityMassFunction.Constructions -1.798⬝10⁹ (-7.47%)
Mathlib.Analysis.RCLike.Basic -1.835⬝10⁹ (-1.57%)
Mathlib.RingTheory.Kaehler.Basic -1.992⬝10⁹ (-0.62%)
4 files, Instructions -3.0⬝10⁹
File Instructions %
Mathlib.RingTheory.Smooth.Kaehler -2.188⬝10⁹ (-0.74%)
Mathlib.RingTheory.Ideal.Cotangent -2.233⬝10⁹ (-2.65%)
Mathlib.LinearAlgebra.BilinearForm.Orthogonal -2.327⬝10⁹ (-4.39%)
Mathlib.MeasureTheory.Integral.IntervalIntegral -2.365⬝10⁹ (-2.63%)
2 files, Instructions -4.0⬝10⁹
File Instructions %
Mathlib.RingTheory.Flat.EquationalCriterion -3.485⬝10⁹ (-6.52%)
Mathlib.FieldTheory.ChevalleyWarning -3.608⬝10⁹ (-17.00%)
File Instructions %
Mathlib.LinearAlgebra.PerfectPairing -4.485⬝10⁹ (-3.74%)
Mathlib.Algebra.Lie.Weights.Killing -7.738⬝10⁹ (-3.46%)
Mathlib.LinearAlgebra.Dual -9.759⬝10⁹ (-2.09%)
CI run

@grunweg
Copy link
Copy Markdown
Contributor

grunweg commented Jan 11, 2025

Not bad for a one-line change. Thanks!
maintainer merge

@github-actions
Copy link
Copy Markdown

🚀 Pull request has been placed on the maintainer queue by grunweg.

@github-actions github-actions bot added the maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. label Jan 11, 2025
@sgouezel
Copy link
Copy Markdown
Contributor

bors r+

@ghost ghost added the ready-to-merge This PR has been sent to bors. label Jan 11, 2025
mathlib-bors bot pushed a commit that referenced this pull request Jan 11, 2025
The keys of this declaration are `@Eq _ (@DFunLike.coe _ _ _ _ _ _) 0` so it will fire whenever attempting to simplify `f x = 0` which is too generic for this specific setting.
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Jan 11, 2025

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title chore: de-simp map_eq_zero_iff_eq_one [Merged by Bors] - chore: de-simp map_eq_zero_iff_eq_one Jan 11, 2025
@mathlib-bors mathlib-bors bot closed this Jan 11, 2025
@mathlib-bors mathlib-bors bot deleted the mrb/desimp_map_eq_zero_eq_one branch January 11, 2025 20:34
Julian added a commit that referenced this pull request Jan 12, 2025
* origin/master: (88 commits)
  chore(scripts): update nolints.json (#20672)
  chore: de-simp `map_eq_zero_iff_eq_one` (#20662)
  feat(Combinatorics/SimpleGraph): add independent sets (#18608)
  chore(CategoryTheory/Limits/Cones): functoriality of `mapCone` (#20641)
  feat(Algebra/Category/ModuleCat): pullback of presheaves of modules (#17366)
  feat(AlgebraicTopology): model categories (#19158)
  chore(CategoryTheory): make NormalEpi/MonoCategory and RegularEpi/MonoCategory props (#19548)
  feat(Data/List/ReduceOption): add replicate theorems (#20644)
  feat: approximate subgroups (#20050)
  feat: use scoped trace nodes in linarith (#19855)
  feat: disjoint union of charted spaces (#20619)
  feat: add some term elaborators for reduction (#15192)
  feat(Topology/Category): category of delta-generated spaces (#19499)
  add a variable_alias for Quantale and AddQuantale (#19282)
  feat(Computability/DFA): implement `isRegular_iff` (#19940)
  chore: unpin and bump batteries and importgraph (#20651)
  chore: split `Mathlib/Algebra/Group/Int` (#20624)
  feat: three lemmas related to Hausdorff distance (#20585)
  chore: `initialize_simps_projections` for `Submodule` (#20582)
  feat(Order): Boolean algebra structure on idempotents (#20618)
  chore(CategoryTheory): moving/renaming Subpresheaf (#20583)
  refactor(IntermediateField/Adjoin): Split off relation to `Algebra.adjoin` (#20630)
  feat: sets of doubling strictly less than 3/2 (#20572)
  chore(TensorProduct): universe polymorphism in EquationalCriterion (#20452)
  feat: `s \ t ∩ u = (s ∩ u) \ t` (#20298)
  feat: product of subalgebras (#20202)
  feat: `Submodule.restrictScalars` commutes with `pow` (#20581)
  feat: `a ∈ s ^ n` iff there exists a sequence `f` of `n` elements of `s` such that `∏ i, f i = a` (#20580)
  chore: make `FooHom.coe_id` a `norm_cast` lemma (#20576)
  chore: use ofNat more (#20546)
  feat(CategoryTheory/Shift/Opposite and CategoryTheory/Shift/Pullback): `CommShift` structures on adjunctions are compatible with opposites and pullbacks (#20363)
  feat(FieldTheory/Differential/Liouville): prove the algebraic case of Liouville's theorem (#16797)
  refactor: remove the `CompactSpace` field from `Unique{NonUnital}ContinuousFunctionalCalculus` (#20590)
  feat: Make `PNat.recOn` induction eliminator (#20617)
  feat(Analysis/SpecialFunctions/Pow/Real): add some lemmas (#20608)
  feat: If `s ∆ t` is finite, then `s ∆ u` is finite iff `t ∆ u` is (#20574)
  feat: `⨅ i, f i ≤ ⨆ i, f i` (#20573)
  chore(Geometry/Manifold): move SmoothManifoldWithCorners.lean to IsManifold.lean (#20611)
  feat: AbsoluteValue.IsNontrivial (#20588)
  chore(Data/Finsupp): split off extensionality from `Defs.lean` (#19092)
  chore(Data/Set): split the `CoeSort` instance to its own file (#19031)
  feat(Algebra/Order/Archimedean/Basic): powers between two elements (#20612)
  feature(Algebra/Ring/Idempotents): product of an idempotent and its complement (#20286)
  chore: cleanup more `erw` (#20601)
  chore(GroupTheory/CoprodI): shorten proof of lift_word_prod_nontrivial_of_not_empty (#20587)
  chore: cleanup imports in PrimePow/Divisors (#20626)
  chore: split Algebra/BigOperators/Group/List (#20625)
  chore: reduce Topology->Order imports by moving content (#20627)
  chore(Algebra/Lie/DirectSum): shorten proof of lieAlgebraOf.map_lie' (#20592)
  refactor: Split `FieldTheory/Adjoin.lean` into `Defs.lean` and `Basic.lean` (#20333)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. ready-to-merge This PR has been sent to bors. t-algebra Algebra (groups, rings, fields, etc)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants