Skip to content

doc: fix incorrect examples of K-like reduction in RecursorVal docstring#13967

Open
berberman wants to merge 2 commits into
leanprover:masterfrom
berberman:decl-docstring
Open

doc: fix incorrect examples of K-like reduction in RecursorVal docstring#13967
berberman wants to merge 2 commits into
leanprover:masterfrom
berberman:decl-docstring

Conversation

@berberman

Copy link
Copy Markdown
Contributor

This PR replaces the incorrect examples of K-like reduction in RecursorVal docstring.

The previous docstring listed `Acc` and `And.intro` as examples of K-reduction.
This is false because K-reduction strictly requires the single constructor to have 0 fields.
Replace the incorrect examples.
@github-actions github-actions Bot added the toolchain-available A toolchain is available for this PR, at leanprover/lean4-pr-releases:pr-release-NNNN label Jun 8, 2026
@mathlib-lean-pr-testing

mathlib-lean-pr-testing Bot commented Jun 8, 2026

Copy link
Copy Markdown

Mathlib CI status (docs):

  • ❗ Batteries/Mathlib CI will not be attempted unless your PR branches off the nightly-with-mathlib branch. Try git rebase a806b5c9771998bcd75a5920da160b6d14a39346 --onto 8391b966bc6078e6357d0916745f4ff226de1f61. You can force Mathlib CI using the force-mathlib-ci label. (2026-06-08 00:54:32)
  • ✅ Mathlib branch lean-pr-testing-13967 has successfully built against this PR. (2026-06-10 10:16:53) View Log

@leanprover-bot

leanprover-bot commented Jun 8, 2026

Copy link
Copy Markdown
Collaborator

Reference manual CI status:

  • ❗ Reference manual CI will not be attempted unless your PR branches off the nightly-with-manual branch. Try git rebase a806b5c9771998bcd75a5920da160b6d14a39346 --onto 803553a556fd82fa1060efb0c43eda542130cb16. You can force reference manual CI using the force-manual-ci label. (2026-06-08 00:54:33)
  • ❗ Reference manual CI can not be attempted yet, as the nightly-testing-2026-06-08 tag does not exist there yet. We will retry when you push more commits. If you rebase your branch onto nightly-with-manual, reference manual CI should run now. You can force reference manual CI using the force-manual-ci label. (2026-06-10 09:21:56)

Comment thread src/Lean/Declaration.lean Outdated
Co-authored-by: Kyle Miller <kmill31415@gmail.com>
@github-actions github-actions Bot added the mathlib4-nightly-available A branch for this PR exists at leanprover-community/mathlib4-nightly-testing:lean-pr-testing-NNNN label Jun 10, 2026
@mathlib-lean-pr-testing mathlib-lean-pr-testing Bot added the builds-mathlib CI has verified that Mathlib builds against this PR label Jun 10, 2026
@leanprover-bot leanprover-bot added the P-low We are not planning to work on this issue label Jun 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

builds-mathlib CI has verified that Mathlib builds against this PR mathlib4-nightly-available A branch for this PR exists at leanprover-community/mathlib4-nightly-testing:lean-pr-testing-NNNN P-low We are not planning to work on this issue toolchain-available A toolchain is available for this PR, at leanprover/lean4-pr-releases:pr-release-NNNN

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants