Repository navigation
feat(Combinatorics/Quiver): simple paths, cycles and induced quivers - #39916
mkaratarakis wants to merge 23 commits into
Conversation
PR summary ffa2725c5dImport changes for modified filesNo significant changes to the import graph Import changes for all files
|
| Current number | Change | Type (weak) |
|---|---|---|
| 5104 | 4 | exposed public sections |
Current commit ffa2725c5d
Reference commit 74e558e2f8
This script lives in the mathlib-ci repository. To run it locally, from your mathlib4 directory:
git clone https://github.com/leanprover-community/mathlib-ci.git ../mathlib-ci
../mathlib-ci/scripts/reporting/technical-debt-metrics.py 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).
dba8080 to
0ce55c7
Compare
0ce55c7 to
8217ce8
Compare
c8eb64d to
c10f478
Compare
|
Thanks for the initial comments, we have substantially refactored the code and removed some redundancies. There may be still be some better integration between this and #39913. |
|
-WIP |
|
Maths should be named intrinsically, not according to what it will be used for. Surely these are not called "paths for Perron-Frobenius" in the literature? Can you adapt the PR title and filenames accordingly? |
|
-awaiting-author |
YaelDillies
left a comment
There was a problem hiding this comment.
Can you maybe open one PR per file? I don't really see the files as very connected to each other and I expect it would make reviewing faster if they could be reviewed independently
|
-awaiting-author |
|
Should this PR depend on the new ones? |
This adds some basic API for paths in a quiver, modelled on what we already have for
SimpleGraph.Walk.Quiver.Path.IsSimple,Quiver.Path.IsPathandQuiver.Path.IsCycle, plusQuiver.IsAcyclicSetand as aFinsetQuiver.Path.replicate, then-fold composition of a loop with itselfQuiver.induce, the quiver induced on a set of vertices (cf.SimpleGraph.induce)The main results are that a path revisiting a vertex can be shortened by cutting out the loop, that a shortest path is simple, and that a simple path has length at most
card V - 1.Joint work with @or4nge19.