Skip to content

feat(Distribution): make parameters implicit in favor of type ascription#37479

Open
ADedecker wants to merge 1 commit intoleanprover-community:masterfrom
ADedecker:AD_fderiv_implicit
Open

feat(Distribution): make parameters implicit in favor of type ascription#37479
ADedecker wants to merge 1 commit intoleanprover-community:masterfrom
ADedecker:AD_fderiv_implicit

Conversation

@ADedecker
Copy link
Copy Markdown
Member

Expanding on a suggestion by @faenuccio in an earlier PR, I make the regularity parameters of TestFunction.fderivCLM (and similar constructions) implicit.

This is a bit controversial, because it is essentially forcing type ascription in a lot of contexts. The rationale is that
"the differentiation operator from 𝓓^{n} to 𝓓^{k}" matches mathematical practice, and is easier to parse than "the differentiation operator with parameters n and k".

To make this even more convenient, I introduce notations like 𝓓^{n} to be used when the spaces can be inferred but the regularity cannot.


Open in Gitpod

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 1, 2026

PR summary 18a09f9093

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/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.


No changes to technical debt.

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).

@github-actions github-actions bot added the t-analysis Analysis (normed *, calculus) label Apr 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

t-analysis Analysis (normed *, calculus)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants