Skip to content

feat(Data/Set/Function): add prod lemmas for InjOn, SurjOn, MapsTo, LeftInvOn#38276

Open
b-mehta wants to merge 2 commits intoleanprover-community:masterfrom
b-mehta:bm-set-function-prod
Open

feat(Data/Set/Function): add prod lemmas for InjOn, SurjOn, MapsTo, LeftInvOn#38276
b-mehta wants to merge 2 commits intoleanprover-community:masterfrom
b-mehta:bm-set-function-prod

Conversation

@b-mehta
Copy link
Copy Markdown
Contributor

@b-mehta b-mehta commented Apr 20, 2026

We have these for prodMap, these are arguably generalisations for prodMk.


Open in Gitpod

@b-mehta b-mehta force-pushed the bm-set-function-prod branch from ffd72b5 to 710d226 Compare April 20, 2026 07:48
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 20, 2026

PR summary 9519868b83

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

+ InjOn.left_prodMk
+ InjOn.right_prodMk
+ LeftInvOn.left_prodMk
+ LeftInvOn.right_prodMk
+ MapsTo.prodMk
+ SurjOn.nonempty_or_eq_empty
+ surjOn_fst
+ surjOn_fst_iff
+ surjOn_snd
+ surjOn_snd_iff

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-data Data (lists, quotients, numbers, etc) label Apr 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

t-data Data (lists, quotients, numbers, etc)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant