Skip to content

fix: IsChain style improvements and deprecation correction#1663

Merged
fgdorais merged 6 commits intoleanprover-community:mainfrom
linesthatinterlace:isChain_style
Feb 13, 2026
Merged

fix: IsChain style improvements and deprecation correction#1663
fgdorais merged 6 commits intoleanprover-community:mainfrom
linesthatinterlace:isChain_style

Conversation

@linesthatinterlace
Copy link
Copy Markdown
Contributor

@linesthatinterlace linesthatinterlace commented Feb 10, 2026

This PR makes style improvements and corrects deprecation comments.

In #1421, style comments were not addressed before merge. In particular, an old name for a function used in a deprecation comment was not updated. This PR fixes #1628, actions the other missed style comments from #1421, and makes some other improvements for ergonomic reasons.

An adaption PR for Mathlib will be needed as IsChain.of_cons is now replicated downstream.

Closes #1628

@github-actions github-actions bot added the awaiting-review This PR is ready for review; the author thinks it is ready to be merged. label Feb 10, 2026
mathlib-nightly-testing bot added a commit to leanprover-community/mathlib4-nightly-testing that referenced this pull request Feb 12, 2026
linesthatinterlace and others added 3 commits February 12, 2026 09:43
Co-authored-by: François G. Dorais <fgdorais@gmail.com>
@fgdorais fgdorais added this pull request to the merge queue Feb 13, 2026
Merged via the queue into leanprover-community:main with commit d38b72d Feb 13, 2026
1 check passed
@github-actions github-actions bot removed the awaiting-review This PR is ready for review; the author thinks it is ready to be merged. label Feb 13, 2026
mathlib-bors bot pushed a commit to leanprover-community/mathlib4 that referenced this pull request Feb 13, 2026
After [batteries#1663](leanprover-community/batteries#1663) is merged:

- [x] Merge leanprover-community/mathlib4:master
- [x] Edit the lakefile to point to leanprover-community/batteries:main
- [x] Run lake update batteries
- [ ] Wait for CI and merge

Co-authored-by: mathlib-nightly-testing[bot] <mathlib-nightly-testing[bot]@users.noreply.github.com>
Co-authored-by: F. G. Dorais <fgdorais@gmail.com>
mathlib-bors bot pushed a commit to leanprover-community/mathlib4 that referenced this pull request Feb 13, 2026
After [batteries#1663](leanprover-community/batteries#1663) is merged:

- [x] Merge leanprover-community/mathlib4:master
- [x] Edit the lakefile to point to leanprover-community/batteries:main
- [x] Run lake update batteries
- [ ] Wait for CI and merge

Co-authored-by: mathlib-nightly-testing[bot] <mathlib-nightly-testing[bot]@users.noreply.github.com>
Co-authored-by: F. G. Dorais <fgdorais@gmail.com>
kim-em pushed a commit to kim-em/mathlib4 that referenced this pull request Feb 14, 2026
After [batteries#1663](leanprover-community/batteries#1663) is merged:

- [x] Merge leanprover-community/mathlib4:master
- [x] Edit the lakefile to point to leanprover-community/batteries:main
- [x] Run lake update batteries
- [ ] Wait for CI and merge

Co-authored-by: mathlib-nightly-testing[bot] <mathlib-nightly-testing[bot]@users.noreply.github.com>
Co-authored-by: F. G. Dorais <fgdorais@gmail.com>
@linesthatinterlace linesthatinterlace deleted the isChain_style branch February 16, 2026 10:51
rao107 pushed a commit to rao107/mathlib4 that referenced this pull request Feb 18, 2026
After [batteries#1663](leanprover-community/batteries#1663) is merged:

- [x] Merge leanprover-community/mathlib4:master
- [x] Edit the lakefile to point to leanprover-community/batteries:main
- [x] Run lake update batteries
- [ ] Wait for CI and merge

Co-authored-by: mathlib-nightly-testing[bot] <mathlib-nightly-testing[bot]@users.noreply.github.com>
Co-authored-by: F. G. Dorais <fgdorais@gmail.com>
Maldooor pushed a commit to Maldooor/mathlib4 that referenced this pull request Feb 25, 2026
After [batteries#1663](leanprover-community/batteries#1663) is merged:

- [x] Merge leanprover-community/mathlib4:master
- [x] Edit the lakefile to point to leanprover-community/batteries:main
- [x] Run lake update batteries
- [ ] Wait for CI and merge

Co-authored-by: mathlib-nightly-testing[bot] <mathlib-nightly-testing[bot]@users.noreply.github.com>
Co-authored-by: F. G. Dorais <fgdorais@gmail.com>
fgdorais added a commit that referenced this pull request Feb 26, 2026
Co-authored-by: F. G. Dorais <fgdorais@gmail.com>
pfaffelh pushed a commit to pfaffelh/mathlib4 that referenced this pull request Mar 2, 2026
After [batteries#1663](leanprover-community/batteries#1663) is merged:

- [x] Merge leanprover-community/mathlib4:master
- [x] Edit the lakefile to point to leanprover-community/batteries:main
- [x] Run lake update batteries
- [ ] Wait for CI and merge

Co-authored-by: mathlib-nightly-testing[bot] <mathlib-nightly-testing[bot]@users.noreply.github.com>
Co-authored-by: F. G. Dorais <fgdorais@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The deprecation warning for List.Chain.imp' instructs to use a lemma which doesn't exist.

2 participants