Skip to content

doc: rewrite ReducibilityHints docstring#13065

Merged
nomeata merged 2 commits intomasterfrom
joachim/reducibility-hints
Mar 23, 2026
Merged

doc: rewrite ReducibilityHints docstring#13065
nomeata merged 2 commits intomasterfrom
joachim/reducibility-hints

Conversation

@nomeata
Copy link
Copy Markdown
Collaborator

@nomeata nomeata commented Mar 23, 2026

This PR rewrites the docstring on Lean.ReducibilityHints to accurately describe the
kernel's lazy delta reduction strategy: which side gets unfolded when comparing two
definitions, how definitional height is computed, and how hints relate to the
@[reducible]/@[irreducible] elaborator attributes.

The old docstring referenced a selfOpt flag that no longer exists and contained a few
inaccuracies (e.g. irrelevance instead of irreducible).

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@nomeata nomeata added the changelog-doc Documentation label Mar 23, 2026
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@nomeata nomeata marked this pull request as ready for review March 23, 2026 17:02
@nomeata nomeata enabled auto-merge March 23, 2026 17:02
@nomeata nomeata added this pull request to the merge queue Mar 23, 2026
Merged via the queue into master with commit b5036e4 Mar 23, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog-doc Documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant