Skip to content

[Merged by Bors] - feat(SimpleGraph): take is path if original walk is path - #33249

Closed
Rida-Hamadani wants to merge 5 commits into
leanprover-community:masterfrom
Rida-Hamadani:rida/takeIsPath
Closed

Rida-Hamadani wants to merge 5 commits into
leanprover-community:masterfrom
Rida-Hamadani:rida/takeIsPath

Conversation

@Rida-Hamadani

@Rida-Hamadani Rida-Hamadani commented Dec 24, 2025 •

Copy link
Copy Markdown
Collaborator

Proves that taking or dropping the first n consecution darts from a path gives another path.


Open in Gitpod

@github-actions

github-actions Bot commented Dec 24, 2025 •

Copy link
Copy Markdown

PR summary 2d9b14086f

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

+ IsPath.drop
+ IsPath.drop_of_drop
+ IsPath.take
+ IsPath.take_of_take

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

@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 Dec 24, 2025
@Rida-Hamadani Rida-Hamadani added the t-combinatorics Combinatorics label Dec 24, 2025
@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
@mathlib4-merge-conflict-bot

Copy link
Copy Markdown

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

@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 7, 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 7, 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 7, 2026
Remove theorems related to subwalks in SimpleGraph.
@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 Feb 7, 2026
@Rida-Hamadani
Rida-Hamadani requested a review from b-mehta February 8, 2026 02:03

@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 merge

@mathlib-triage mathlib-triage Bot added the ready-to-merge This PR has been sent to bors. label Feb 25, 2026
mathlib-bors Bot pushed a commit that referenced this pull request Feb 25, 2026
Proves that taking or dropping the first `n` consecution darts from a path gives another path.
@mathlib-bors

mathlib-bors Bot commented Feb 25, 2026

Copy link
Copy Markdown
Contributor

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors Bot changed the title feat(SimpleGraph): take is path if original walk is path [Merged by Bors] - feat(SimpleGraph): take is path if original walk is path Feb 25, 2026
@mathlib-bors mathlib-bors Bot closed this Feb 25, 2026
pfaffelh pushed a commit to pfaffelh/mathlib4 that referenced this pull request Mar 2, 2026
…r-community#33249)

Proves that taking or dropping the first `n` consecution darts from a path gives another path.
pevogam pushed a commit to pevogam/mathlib4 that referenced this pull request Mar 19, 2026
…r-community#33249)

Proves that taking or dropping the first `n` consecution darts from a path gives another path.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-to-merge This PR has been sent to bors. t-combinatorics Combinatorics

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants