feat(CategoryTheory): add MorphismProperty.paths#38264
Open
peabrainiac wants to merge 2 commits intoleanprover-community:masterfrom
Open
feat(CategoryTheory): add MorphismProperty.paths#38264peabrainiac wants to merge 2 commits intoleanprover-community:masterfrom
MorphismProperty.paths#38264peabrainiac wants to merge 2 commits intoleanprover-community:masterfrom
Conversation
PR summary f99e871a37
|
| File | Base Count | Head Count | Change |
|---|---|---|---|
| Mathlib.CategoryTheory.PathCategory.Basic | 406 | 407 | +1 (+0.25%) |
Import changes for all files
| Files | Import difference |
|---|---|
5 filesMathlib.CategoryTheory.Bicategory.Coherence Mathlib.CategoryTheory.Groupoid.FreeGroupoid Mathlib.CategoryTheory.Groupoid.Subgroupoid Mathlib.CategoryTheory.Groupoid.VertexGroup Mathlib.CategoryTheory.PathCategory.Basic |
1 |
Declarations diff
+ comp_mem_paths_iff
+ composePath_mem
+ composePath_mem'
+ cons_mem_paths
+ cons_mem_paths_iff
+ instance (W : MorphismProperty C) : W.paths.IsMultiplicative
+ monotone_paths
+ nil_mem_paths
+ paths
+ paths_le_inverseImage
+ toPath_mem_paths
+ toPath_mem_paths_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
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).
Contributor
|
Are there lemmas that could make the connection with https://leanprover-community.github.io/mathlib4_docs/Mathlib/CategoryTheory/MorphismProperty/Composition.html#CategoryTheory.MorphismProperty.multiplicativeClosure |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
For any
W : MorphismProperty C, we defineW.paths : MorphismProperty (Paths C)as the morphism property containing those paths that consist entirely of morphisms inW.I'm currently preparing a PR defining replete subcategories and showing that the replete subcategories of any fixed category form a complete lattice; this API was written because it is helpful to characterise the subcategory generated by a class of morphisms
Was (up to some issues regarding identities) consisting of those morphismsfwhich are the concatenation of a finitely many morphisms inW, i.e. for which there exists a pathpwithcomposePath p = fandW.paths p.