Skip to content

[Merged by Bors] - chore: deprime induction in AlgebraicTopology/CategoryTheory#25774

Closed
Parcly-Taxel wants to merge 16 commits intoleanprover-community:masterfrom
Parcly-Taxel:deprime-algtop-cattheory
Closed

[Merged by Bors] - chore: deprime induction in AlgebraicTopology/CategoryTheory#25774
Parcly-Taxel wants to merge 16 commits intoleanprover-community:masterfrom
Parcly-Taxel:deprime-algtop-cattheory

Conversation

@Parcly-Taxel
Copy link
Copy Markdown
Collaborator

@Parcly-Taxel Parcly-Taxel commented Jun 12, 2025

Most replacements that are also in #23676 have been copied over, but some have been optimised further.

@Parcly-Taxel Parcly-Taxel added the tech debt Tracking cross-cutting technical debt, see e.g. the "Technical debt counters" stream on zulip label Jun 12, 2025
@github-actions
Copy link
Copy Markdown

github-actions bot commented Jun 12, 2025

PR summary de2995686c

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

No declarations were harmed in the making of this PR! 🐙

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

@Parcly-Taxel Parcly-Taxel requested a review from eric-wieser June 12, 2025 13:38
@leanprover-community-bot-assistant
Copy link
Copy Markdown
Collaborator

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

@leanprover-community-bot-assistant leanprover-community-bot-assistant added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Jul 5, 2025
@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 Jul 7, 2025
@leanprover-community-bot-assistant leanprover-community-bot-assistant added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Jul 9, 2025
@leanprover-community-bot-assistant
Copy link
Copy Markdown
Collaborator

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

@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 Jul 9, 2025
@leanprover-community-bot-assistant
Copy link
Copy Markdown
Collaborator

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

@leanprover-community-bot-assistant leanprover-community-bot-assistant added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Jul 29, 2025
@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 Jul 29, 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 Aug 22, 2025
@mathlib4-merge-conflict-bot
Copy link
Copy Markdown
Collaborator

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

@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 Aug 23, 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 Aug 24, 2025
@mathlib4-merge-conflict-bot
Copy link
Copy Markdown
Collaborator

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

@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 Aug 25, 2025
· specialize ih (by omega)
induction h using Nat.leRec with
| refl => simp
| @le_succ_of_le m h ih =>
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.

Where is leRec defined? Should we change the explicitness?

Copy link
Copy Markdown
Collaborator Author

@Parcly-Taxel Parcly-Taxel Sep 3, 2025

Choose a reason for hiding this comment

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

leRec is defined in core:

@[elab_as_elim]
def leRec {n} {motive : (m : ℕ) → n ≤ m → Sort*}
    (refl : motive n (Nat.le_refl _))
    (le_succ_of_le : ∀ ⦃k⦄ (h : n ≤ k), motive k h → motive (k + 1) (le_succ_of_le h)) :
    ∀ {m} (h : n ≤ m), motive m h
  | 0, H => Nat.eq_zero_of_le_zero H ▸ refl
  | m + 1, H =>
    (le_succ_iff.1 H).by_cases
      (fun h : n ≤ m ↦ le_succ_of_le h <| leRec refl le_succ_of_le h)
      (fun h : n = m + 1 ↦ h ▸ refl)

I think the strict-implicit binder ⦃k⦄ should be changed to a plain explicit binder.

@kim-em
Copy link
Copy Markdown
Contributor

kim-em commented Sep 2, 2025

bors d+

@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Sep 2, 2025

✌️ Parcly-Taxel 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 the delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). label Sep 2, 2025
@Parcly-Taxel
Copy link
Copy Markdown
Collaborator Author

bors merge

mathlib-bors bot pushed a commit that referenced this pull request Sep 3, 2025
)

Most replacements that are also in #23676 have been copied over, but some have been optimised further.

Co-authored-by: Parcly Taxel <reddeloostw@gmail.com>
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Sep 3, 2025

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title chore: deprime induction in AlgebraicTopology/CategoryTheory [Merged by Bors] - chore: deprime induction in AlgebraicTopology/CategoryTheory Sep 3, 2025
@mathlib-bors mathlib-bors bot closed this Sep 3, 2025
@Parcly-Taxel Parcly-Taxel deleted the deprime-algtop-cattheory branch September 3, 2025 02:03
CBirkbeck pushed a commit to CBirkbeck/mathlib4 that referenced this pull request Sep 8, 2025
…nprover-community#25774)

Most replacements that are also in leanprover-community#23676 have been copied over, but some have been optimised further.

Co-authored-by: Parcly Taxel <reddeloostw@gmail.com>
yuanyi-350 pushed a commit to yuanyi-350/yuanyi_mathlib4 that referenced this pull request Sep 10, 2025
…nprover-community#25774)

Most replacements that are also in leanprover-community#23676 have been copied over, but some have been optimised further.

Co-authored-by: Parcly Taxel <reddeloostw@gmail.com>
robertmaxton42 pushed a commit to robertmaxton42/mathlib4 that referenced this pull request Sep 11, 2025
…nprover-community#25774)

Most replacements that are also in leanprover-community#23676 have been copied over, but some have been optimised further.

Co-authored-by: Parcly Taxel <reddeloostw@gmail.com>
joelriou pushed a commit to joelriou/mathlib4 that referenced this pull request Oct 2, 2025
…nprover-community#25774)

Most replacements that are also in leanprover-community#23676 have been copied over, but some have been optimised further.

Co-authored-by: Parcly Taxel <reddeloostw@gmail.com>
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). tech debt Tracking cross-cutting technical debt, see e.g. the "Technical debt counters" stream on zulip

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants