Skip to content

[Merged by Bors] - chore(Data/Fin/Tuple/Basic): Fill in the API hole (partly) - #13568

Closed
YaelDillies wants to merge 2 commits into
masterfrom
fin_tuple_remove_nth
Closed

YaelDillies wants to merge 2 commits into
masterfrom
fin_tuple_remove_nth

Conversation

@YaelDillies

@YaelDillies YaelDillies commented Jun 6, 2024 •

Copy link
Copy Markdown
Contributor

As explained by the module doc, we are missing the Fin.succAbove equivalent of Fin.tail/Fin.init. In fact, it already exists as the second projection of extractNth, so this PR deletes extractNth and defines its second projection as a new function removeNth.


Open in Gitpod

@YaelDillies YaelDillies added blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) awaiting-review labels Jun 6, 2024
@YaelDillies YaelDillies changed the title chore(Fin/Tuple/Basic): Fill in the API hole (partly) chore(Data/Fin/Tuple/Basic): Fill in the API hole (partly) Jun 6, 2024
@ghost ghost removed the blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) label Jun 19, 2024
@ghost

ghost commented Jun 19, 2024

Copy link
Copy Markdown

@YaelDillies
YaelDillies force-pushed the fin_tuple_remove_nth branch from 0a77e11 to e6677cc Compare June 19, 2024 10:49
@github-actions

github-actions Bot commented Jun 19, 2024 •

Copy link
Copy Markdown

PR summary cd19a39d7f

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

+ insertNth_removeNth
+ insertNth_self_removeNth
+ removeNth
+ removeNth_insertNth
+ removeNth_last
+ removeNth_update
+ removeNth_zero
- extractNth_insertNth
- insertNth_extractNth

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>

Comment thread Mathlib/Data/Fin/Tuple/Basic.lean Resolved
Comment thread Mathlib/Data/Fin/Tuple/Basic.lean Resolved
Comment thread Mathlib/Data/Fin/Tuple/Basic.lean Resolved
As explained by the module doc, we are missing the `Fin.succAbove` equivalent of `Fin.tail`/`Fin.init`. In fact, it already exists as the second projection of `extractNth`, so this PR deletes `extractNth` and defines its second projection as a new function `removeNth`.
@YaelDillies
YaelDillies force-pushed the fin_tuple_remove_nth branch from cee648d to cd19a39 Compare July 11, 2024 20:00
@eric-wieser

Copy link
Copy Markdown
Member

bors merge

Thanks!

@github-actions github-actions Bot added the ready-to-merge This PR has been sent to bors. label Jul 11, 2024
mathlib-bors Bot pushed a commit that referenced this pull request Jul 11, 2024
As explained by the module doc, we are missing the `Fin.succAbove` equivalent of `Fin.tail`/`Fin.init`. In fact, it already exists as the second projection of `extractNth`, so this PR deletes `extractNth` and defines its second projection as a new function `removeNth`.
@mathlib-bors

mathlib-bors Bot commented Jul 11, 2024

Copy link
Copy Markdown
Contributor

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors Bot changed the title chore(Data/Fin/Tuple/Basic): Fill in the API hole (partly) [Merged by Bors] - chore(Data/Fin/Tuple/Basic): Fill in the API hole (partly) Jul 11, 2024
@mathlib-bors mathlib-bors Bot closed this Jul 11, 2024
@mathlib-bors
mathlib-bors Bot deleted the fin_tuple_remove_nth branch July 11, 2024 21:21
@adomani adomani mentioned this pull request Aug 1, 2024
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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants