Skip to content

fix(Topology/Algebra): fix bad simps and make arguments implicit for PointwiseConvergenceCLM#37530

Open
mcdoll wants to merge 3 commits intoleanprover-community:masterfrom
mcdoll:pwconv_clm_defeq
Open

fix(Topology/Algebra): fix bad simps and make arguments implicit for PointwiseConvergenceCLM#37530
mcdoll wants to merge 3 commits intoleanprover-community:masterfrom
mcdoll:pwconv_clm_defeq

Conversation

@mcdoll
Copy link
Copy Markdown
Member

@mcdoll mcdoll commented Apr 2, 2026

We delete all simps calls in the definitions of operators on PointwiseConvergenceCLM and replace them with apply_apply lemmas that do not abuse the defeq between SLₚₜ and SL. This made the linter discover some typeclass duplications, which we remove by restructuring the file.
As a consequence of the new simp lemmas, we can remove all set_option backward.isDefEq.respectTransparency false in in Analysis.Distribution.TemperedDistribution.

Moreover, we make several arguments implicit, which can be inferred in almost all practical situations.


Open in Gitpod

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 2, 2026

PR summary 4ec5d95aa6

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

+ _root_.ContinuousLinearMap.toPointwiseConvergenceCLM_apply_apply
+ coeLM_apply_apply
+ coeLMₛₗ_apply_apply
+ equivWeakDual_apply_apply
+ equivWeakDual_symm_apply_apply
+ evalCLM_apply_apply
+ postcomp_apply_apply
+ precomp_apply_apply

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

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

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


Decrease in tech debt: (relative, absolute) = (6.00, 0.00)
Current number Change Type
6889 -6 backward.isDefEq.respectTransparency

Current commit a682c2caae
Reference commit 4ec5d95aa6

You can run this locally as

./scripts/reporting/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).

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant