Skip to content

fix: suggest (rfl) not id rfl in linter#13319

Merged
nomeata merged 1 commit intomasterfrom
joachim/implicit-defeq
Apr 8, 2026
Merged

fix: suggest (rfl) not id rfl in linter#13319
nomeata merged 1 commit intomasterfrom
joachim/implicit-defeq

Conversation

@nomeata
Copy link
Copy Markdown
Collaborator

@nomeata nomeata commented Apr 8, 2026

This PR amends #13317 to suggest := (rfl) as the recommended way to avoid a theorem to be automatically marked [defeq], for consistency with existing documentation. Rationale: the special treatment of := rfl is based on syntax, not the proof term, so it’s appropriate to use different syntax. And also I like the way it reads like a “muted whisper of rfl”.

@nomeata nomeata added the changelog-language Language features and metaprograms label Apr 8, 2026
@nomeata nomeata enabled auto-merge April 8, 2026 08:08
@nomeata nomeata added this pull request to the merge queue Apr 8, 2026
Merged via the queue into master with commit 659db85 Apr 8, 2026
23 checks passed
wkrozowski pushed a commit to wkrozowski/lean4 that referenced this pull request Apr 10, 2026
This PR amends leanprover#13317 to suggest `:= (rfl)` as the recommended way to
avoid a theorem to be automatically marked `[defeq]`, for consistency
with existing documentation. Rationale: the special treatment of `:=
rfl` is based on syntax, not the proof term, so it’s appropriate to use
different syntax. And also I like the way it reads like a “muted whisper
of `rfl`”.
wkrozowski pushed a commit to wkrozowski/lean4 that referenced this pull request Apr 12, 2026
This PR amends leanprover#13317 to suggest `:= (rfl)` as the recommended way to
avoid a theorem to be automatically marked `[defeq]`, for consistency
with existing documentation. Rationale: the special treatment of `:=
rfl` is based on syntax, not the proof term, so it’s appropriate to use
different syntax. And also I like the way it reads like a “muted whisper
of `rfl`”.
volodeyka pushed a commit that referenced this pull request Apr 16, 2026
This PR amends #13317 to suggest `:= (rfl)` as the recommended way to
avoid a theorem to be automatically marked `[defeq]`, for consistency
with existing documentation. Rationale: the special treatment of `:=
rfl` is based on syntax, not the proof term, so it’s appropriate to use
different syntax. And also I like the way it reads like a “muted whisper
of `rfl`”.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog-language Language features and metaprograms

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant