feat(Category/Kernel): SFinKer morphisms are deterministic#37851
feat(Category/Kernel): SFinKer morphisms are deterministic#37851gaetanserre wants to merge 8 commits intoleanprover-community:masterfrom
SFinKer morphisms are deterministic#37851Conversation
PR summary b6c608e112
|
| File | Base Count | Head Count | Change |
|---|---|---|---|
| Mathlib.Probability.Kernel.Category.SFinKer | 1672 | 1673 | +1 (+0.06%) |
| Mathlib.Probability.Kernel.Category.Stoch | 1692 | 1693 | +1 (+0.06%) |
Import changes for all files
| Files | Import difference |
|---|---|
Mathlib.Probability.Kernel.Category.SFinKer Mathlib.Probability.Kernel.Category.Stoch |
1 |
Declarations diff
+ deterministic_Deterministic
+ id_map_Deterministic
+ instance : Deterministic (λ_ X ).hom
+ instance : Deterministic (λ_ X).hom
+ instance : Deterministic (ρ_ X ).hom
+ instance : Deterministic (ρ_ X).hom
++ instance : Deterministic (Δ[X])
++ instance : Deterministic (α_ X Y Z).hom
++ instance : Deterministic (β_ X Y).hom
++ instance : Deterministic (ε[X])
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
relativevalue is the weighted sum of the differences with weight given by the inverse of the current value of the statistic. - The
absolutevalue is therelativevalue divided by the total sum of the inverses of the current values (i.e. the weighted average of the differences).
✅ PR Title Formatted CorrectlyThe title of this PR has been updated to match our commit style conventions. |
SFinKer morphisms are deterministic
|
|
||
| variable {X Y Z : SFinKer} | ||
|
|
||
| instance : Deterministic (α_ X Y Z).hom := |
There was a problem hiding this comment.
Are all isomorphisms deterministic? Or if e is an isomorphism, is it true that e.inv is deterministic if e.hom is? In any case, I would think we would like to know that not only (α_ X Y Z).hom is a deterministic, but also (α_ X Y Z).inv, and similarly for the unitors.
There was a problem hiding this comment.
Or if
eis an isomorphism, is it true thate.invis deterministic ife.homis?
Indeed, thanks to instIsComonHomInvOfHom, the instances for .inv are automatically inferred.
|
awaiting-author |
Add several
Deterministicinstances forSFinKerandStochassociators, unitors, braiding, counit, and comul morphisms.