Skip to content

Conversation

@joelriou
Copy link
Collaborator

We introduce typeclasses IsClosedUnderBinaryProducts and IsClosedUnderFiniteProducts expressing that P : ObjectProperty C is closed under binary products or finite products.


Open in Gitpod

@joelriou joelriou added the t-category-theory Category theory label Jan 24, 2026
@github-actions
Copy link

PR summary f6633228a7

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference
Mathlib.CategoryTheory.ObjectProperty.FiniteProducts (new file) 579

Declarations diff

+ IsClosedUnderBinaryProducts
+ IsClosedUnderFiniteProducts
+ IsClosedUnderFiniteProducts.mk'
+ instance [P.ContainsZero] [P.IsClosedUnderIsomorphisms] :
+ instance [P.IsClosedUnderFiniteProducts] (J : Type*) [Finite J] :
+ prop_of_isTerminal
+ prop_prod

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

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

Labels

t-category-theory Category theory

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant