Skip to content

[Merged by Bors] - feat(SimpleGraph): construct a cycle of two distinct paths with same start and end - #33506

Closed
Rida-Hamadani wants to merge 61 commits into
leanprover-community:masterfrom
Rida-Hamadani:rida/getCycle
Closed

Rida-Hamadani wants to merge 61 commits into
leanprover-community:masterfrom
Rida-Hamadani:rida/getCycle

Conversation

@Rida-Hamadani

@Rida-Hamadani Rida-Hamadani commented Jan 3, 2026 •

Copy link
Copy Markdown
Collaborator

@github-actions

github-actions Bot commented Jan 3, 2026 •

Copy link
Copy Markdown

PR summary 9a35db5630

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

+ IsPath.disjoint_edges_of_disjoint_support
+ IsPath.eq_adj_toWalk_of_mem_edges
+ IsPath.exists_isCycle_length_le_add_of_ne
+ IsPath.exists_isCycle_of_ne
+ IsPath.exists_isCycle_sublist_of_ne
+ IsPath.isCycle_append
+ IsPath.length_eq_one_of_mem_edges
+ Nodup.tail
+ eq_of_length_le_one
+ getElem_mem_tail
+ isTrail_append
+ length_dropUntil_lt_length

You can run this locally as follows
## from your `mathlib4` directory:
git clone https://github.com/leanprover-community/mathlib-ci.git ../mathlib-ci

## summary with just the declaration names:
../mathlib-ci/scripts/pr_summary/declarations_diff.sh <optional_commit>

## more verbose report:
../mathlib-ci/scripts/pr_summary/declarations_diff.sh long <optional_commit>

The doc-module for scripts/pr_summary/declarations_diff.sh in the mathlib-ci repository contains some details about this script.


No changes to strong technical debt.
No changes to weak technical debt.

Current commit 9a35db5630
Reference commit 23bafd5167

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

@Rida-Hamadani
Rida-Hamadani marked this pull request as ready for review January 12, 2026 08:54
@mathlib4-dependent-issues-bot mathlib4-dependent-issues-bot added the blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) label Jan 12, 2026
@SnirBroshi SnirBroshi added the t-combinatorics Combinatorics label Jan 14, 2026
@mathlib4-merge-conflict-bot

Copy link
Copy Markdown

This pull request has conflicts, please merge master and resolve them.

@mathlib4-merge-conflict-bot mathlib4-merge-conflict-bot added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Jan 29, 2026
@github-actions github-actions Bot removed the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Feb 13, 2026
@mathlib-dependent-issues mathlib-dependent-issues Bot removed the blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) label Feb 25, 2026
@mathlib-dependent-issues

Copy link
Copy Markdown

This PR/issue depends on:

@Rida-Hamadani Rida-Hamadani added the awaiting-author Reply -awaiting-author to remove the label on your PR once you have addressed all comments. label Feb 27, 2026
@Rida-Hamadani Rida-Hamadani added the awaiting-author Reply -awaiting-author to remove the label on your PR once you have addressed all comments. label May 31, 2026
@Rida-Hamadani Rida-Hamadani removed the awaiting-author Reply -awaiting-author to remove the label on your PR once you have addressed all comments. label May 31, 2026
@mathlib-merge-conflicts

Copy link
Copy Markdown

This pull request has conflicts, please merge master and resolve them.

@mathlib-merge-conflicts mathlib-merge-conflicts Bot added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Jun 1, 2026
@github-actions github-actions Bot removed the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Jun 1, 2026
@Rida-Hamadani
Rida-Hamadani requested a review from b-mehta June 4, 2026 02:19

@b-mehta b-mehta left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

bors d+

Comment thread Mathlib/Data/List/Basic.lean Resolved
@mathlib-bors

mathlib-bors Bot commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

✌️ Rida-Hamadani can now approve this pull request until 2026-06-18 02:24 UTC (in 2 weeks). To approve and merge, reply with bors r+. More detailed instructions are available here.

@mathlib-triage mathlib-triage Bot added delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). and removed maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. labels Jun 4, 2026
@Rida-Hamadani
Rida-Hamadani temporarily deployed to cache-upload-forks June 4, 2026 03:19 — with GitHub Actions Inactive
@Rida-Hamadani

Copy link
Copy Markdown
Collaborator Author

bors merge

mathlib-bors Bot pushed a commit that referenced this pull request Jun 4, 2026
…start and end (#33506)

Co-authored-by: Vlad Tsyrklevich <[email protected]>
Co-authored-by: Snir Broshi <[email protected]>
@mathlib-bors

mathlib-bors Bot commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors Bot changed the title feat(SimpleGraph): construct a cycle of two distinct paths with same start and end [Merged by Bors] - feat(SimpleGraph): construct a cycle of two distinct paths with same start and end Jun 4, 2026
@mathlib-bors mathlib-bors Bot closed this Jun 4, 2026
ReemMelamed pushed a commit to ReemMelamed/mathlib4 that referenced this pull request Jun 20, 2026

This branch was previously deployed

1 inactive deployment
cache-upload-forks — 9a35db56 Deployed Jun 4, 2026 by Rida-Hamadani via ci (fork) / Upload to cache #302693
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). t-combinatorics Combinatorics

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants