Skip to content

[Merged by Bors] - feat(Combinatorics/SimpleGraph): takeUntil properties#21250

Closed
pimotte wants to merge 31 commits intomasterfrom
PO_takeUntil
Closed

[Merged by Bors] - feat(Combinatorics/SimpleGraph): takeUntil properties#21250
pimotte wants to merge 31 commits intomasterfrom
PO_takeUntil

Conversation

@pimotte
Copy link
Copy Markdown
Collaborator

@pimotte pimotte commented Jan 30, 2025

Adds various results on takeUntil.
In preparation for a proof of Tutte's theorem.


Open in Gitpod

Zulip thread on Tutte's

@pimotte pimotte added the t-combinatorics Combinatorics label Jan 30, 2025
@github-actions
Copy link
Copy Markdown

github-actions bot commented Jan 30, 2025

PR summary 3ec1b86f6e

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

+ IsCycle.isPath_of_append_left
+ IsCycle.isPath_of_append_right
+ IsCycle.isPath_takeUntil
+ Nil.append
+ end_mem_tail_support
+ endpoint_not_mem_support_takeUntil
+ getVert_takeUntil
+ length_takeUntil_lt
+ mem_support_of_adj_toSubgraph
+ nil_append_iff
+ nil_takeUntil
+ not_mem_support_takeUntil_takeUntil
+ snd_takeUntil
+ takeUntil_cons
+ takeUntil_first
+ takeUntil_takeUntil

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

Comment thread Mathlib/Combinatorics/SimpleGraph/Connectivity/Subgraph.lean Outdated
Comment thread Mathlib/Combinatorics/SimpleGraph/Connectivity/Subgraph.lean Outdated
Comment thread Mathlib/Combinatorics/SimpleGraph/Connectivity/Subgraph.lean Outdated
Comment thread Mathlib/Combinatorics/SimpleGraph/Path.lean Outdated
Comment thread Mathlib/Combinatorics/SimpleGraph/Path.lean Outdated
Comment thread Mathlib/Combinatorics/SimpleGraph/Walk.lean Outdated
Comment thread Mathlib/Combinatorics/SimpleGraph/Walk.lean Outdated
Comment thread Mathlib/Combinatorics/SimpleGraph/Walk.lean Outdated
Comment thread Mathlib/Combinatorics/SimpleGraph/Walk.lean Outdated
Comment thread Mathlib/Combinatorics/SimpleGraph/Connectivity/Subgraph.lean Outdated
@YaelDillies YaelDillies added the awaiting-author A reviewer has asked the author a question or requested changes. label Jan 30, 2025
@pimotte pimotte removed the awaiting-author A reviewer has asked the author a question or requested changes. label Jan 31, 2025
Comment thread Mathlib/Combinatorics/SimpleGraph/Walk.lean
Comment thread Mathlib/Combinatorics/SimpleGraph/Walk.lean Outdated
Comment thread Mathlib/Combinatorics/SimpleGraph/Walk.lean Outdated
Comment thread Mathlib/Combinatorics/SimpleGraph/Walk.lean Outdated
Comment thread Mathlib/Combinatorics/SimpleGraph/Walk.lean Outdated
Comment thread Mathlib/Combinatorics/SimpleGraph/Walk.lean Outdated
Comment thread Mathlib/Combinatorics/SimpleGraph/Walk.lean Outdated
@YaelDillies YaelDillies added the awaiting-author A reviewer has asked the author a question or requested changes. label Jan 31, 2025
@pimotte pimotte removed the awaiting-author A reviewer has asked the author a question or requested changes. label Jan 31, 2025
Copy link
Copy Markdown
Contributor

@YaelDillies YaelDillies left a comment

Choose a reason for hiding this comment

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

Thanks!

maintainer delegate

Comment thread Mathlib/Combinatorics/SimpleGraph/Walk.lean Outdated
@github-actions
Copy link
Copy Markdown

🚀 Pull request has been placed on the maintainer queue by YaelDillies.

@github-actions github-actions bot added the maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. label Jan 31, 2025
@pimotte
Copy link
Copy Markdown
Collaborator Author

pimotte commented Feb 17, 2025

@YaelDillies Backmerging master put Walk.lean over the line limit, so I took the liberty of splitting off the section on takeUntil, dropUntil and rotate into WalkDecomp.lean. I'm happy to revert this if we don't want to do it in this PR, but splitting it was fairly painless. I think it does make sense to do it now, since it was also the section I was heavily editing.

For the ease of maintainer review: diff to master before the split, diff of the refactoring

Copy link
Copy Markdown
Contributor

@YaelDillies YaelDillies left a comment

Choose a reason for hiding this comment

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

Indeed it would be better if you could make the move in a quick preliminary PR

Comment thread Mathlib/Combinatorics/SimpleGraph/Connectivity/WalkDecomp.lean Outdated
Comment thread Mathlib/Combinatorics/SimpleGraph/Path.lean Outdated
@pimotte
Copy link
Copy Markdown
Collaborator Author

pimotte commented Feb 17, 2025

Indeed it would be better if you could make the move in a quick preliminary PR

Done: #21981

@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 Feb 17, 2025
mathlib-bors bot pushed a commit that referenced this pull request Feb 21, 2025
Since Walk is becoming a long file, and with #21250 would be pushed over the limit, this PR extracts the WalkDecomp section, along with one lemma that depends on it to a seperate file. 



Co-authored-by: Pim Otte <[email protected]>
@mathlib4-dependent-issues-bot mathlib4-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 21, 2025
@mathlib4-dependent-issues-bot
Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Contributor

@YaelDillies YaelDillies left a comment

Choose a reason for hiding this comment

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

Thanks! 🚀

maintainer merge

@github-actions
Copy link
Copy Markdown

🚀 Pull request has been placed on the maintainer queue by YaelDillies.

Copy link
Copy Markdown
Contributor

@ocfnash ocfnash left a comment

Choose a reason for hiding this comment

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

Thanks. One minor suggestion but otherwise LGTM

bors d+

Comment thread Mathlib/Combinatorics/SimpleGraph/Connectivity/WalkDecomp.lean Outdated
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Feb 21, 2025

✌️ pimotte can now approve this pull request. To approve and merge a pull request, simply reply with bors r+. More detailed instructions are available here.

@ghost ghost 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 Feb 21, 2025
@pimotte
Copy link
Copy Markdown
Collaborator Author

pimotte commented Feb 24, 2025

bors r+

mathlib-bors bot pushed a commit that referenced this pull request Feb 24, 2025
Adds various results on takeUntil. 
In preparation for a proof of Tutte's theorem. 



Co-authored-by: Pim Otte <[email protected]>
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Feb 24, 2025

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title feat(Combinatorics/SimpleGraph): takeUntil properties [Merged by Bors] - feat(Combinatorics/SimpleGraph): takeUntil properties Feb 24, 2025
@mathlib-bors mathlib-bors bot closed this Feb 24, 2025
@mathlib-bors mathlib-bors bot deleted the PO_takeUntil branch February 24, 2025 06:56
Julian added a commit that referenced this pull request Feb 24, 2025
* origin/master:
  feat(Polynomial): polynomial sequences are bases for R[X] (#20846)
  feat: monoidal structure on Hopf algebras (#12011)
  feat(DiscreteValuationRing): addVal_eq_zero_iff (#21154)
  refactor(Cache): refactor getPackageDir to not use manually provided package directories (#21817)
  feat(CategoryTheory): categories of homological complexes have a separator (#20229)
  chore(Data/Complex): deprecate `Complex.abs` (#21995)
  feat: uncountable instances for `Ordinal` and isomorphic types (#18547)
  feat(Data/Set/Card): a few missing lemmas (#22186)
  feat: discrete topological spaces are 0-manifolds (#22105)
  feat(Data/Matroid/Loop): matroid loops (#22045)
  feat(SetTheory/Ordinal/Nimber/Field): Nimber division (#19066)
  feat(LinearAlgebra/Pi): add `pi_proj` and `pi_proj_comp` (#22162)
  feat(Data/Matroid/Circuit): matroid cocircuits (#21692)
  feat(Topology/Compactification/OnePoint): generalize instance (#22179)
  feat(Combinatorics/SimpleGraph): takeUntil properties (#21250)
  feat(Tactic): `pnat_to_nat` and `enat_to_nat` tactics (#21602)
  refactor: move `Polynomial.coeffs` and related results (#22225)
  chore: add AlgHom.ker_coe_equiv, resolve porting notes and erws (#22019)
  refactor(Order/Category): `ConcreteCategory` instance for `\omegaCPO` (#21478)
  feat(CategoryTheory): Grothendieck categories have a coseparator (#22224)
  feat: tweak calc widget (#22170)
  feat(CategoryTheory): the Freyd-Mitchell embedding theorem (#22222)
  chore(CategoryTheory): turn more `simp` into `simps!` (#22223)
  feat(CategoryTheory): the category of ind-objects is Grothendieck abelian (#21606)
  feat(AlgebraicTopology/SimplexCategory/GeneratorsRelations/EpiMono): epi-mono factorisation in `SimplexCategoryGenRel` (#21743)
  chore(CategoryTheory/DiscreteCategory): turn `simp` to `simps!` (#22217)
  feat(Analysis/Asymptotics): exponential growth of a sequence (#21178)
  feat(CategoryTheory): sigmaConst preserves monomorphisms (#21599)
  feat(RingTheory/Cotangent): `liftBaseChange` is injective for localizations (#21037)
  chore(CategoryTheory): fix incorrect name (#22210)
  feat(CategoryTheory): `IsPullback` version of 'pullback of iso is iso' (#22211)
  feat(CategoryTheory): pullbacks in functor categories (#22209)
  feat(CategoryTheory): detecting limit cones over connected diagrams (#22192)
  feat(LinearAlgebra): add theorems for injective/surjective/bijective compositions of bilinear maps (#21491)
Champitoad pushed a commit that referenced this pull request Feb 25, 2025
Adds various results on takeUntil. 
In preparation for a proof of Tutte's theorem. 



Co-authored-by: Pim Otte <[email protected]>
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.

5 participants