Skip to content

feat: allow dotted function notation to use @ and explicit universes - #13245

Merged
kmill merged 5 commits into
masterfrom
kmill_10984
Apr 2, 2026
Merged

kmill merged 5 commits into
masterfrom
kmill_10984

Conversation

@kmill

@kmill kmill commented Apr 1, 2026 •

Copy link
Copy Markdown
Collaborator

This PR extends Lean syntax for dotted function notation (.f) to add support for explicit mode (@.f), explicit universes (.f.{u,v}), and both simultaneously (@.f.{u,v}). This also includes a fix for a bug involving overloaded functions, where it used to give erroneous deprecation warnings about declarations that the function did not elaborate to.

Closes #10984

@kmill kmill added the changelog-language Language features and metaprograms label Apr 1, 2026
@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 Apr 2, 2026
mathlib-nightly-testing Bot pushed a commit to leanprover-community/batteries that referenced this pull request Apr 2, 2026
@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 Apr 2, 2026
mathlib-nightly-testing Bot pushed a commit to leanprover-community/mathlib4-nightly-testing that referenced this pull request Apr 2, 2026
leanprover-bot added a commit to leanprover/reference-manual that referenced this pull request Apr 2, 2026
@leanprover-bot leanprover-bot added the builds-manual CI has verified that the Lean Language Reference builds against this PR label Apr 2, 2026
@leanprover-bot

leanprover-bot commented Apr 2, 2026 •

Copy link
Copy Markdown
Collaborator

Reference manual CI status:

@mathlib-lean-pr-testing mathlib-lean-pr-testing Bot added the builds-mathlib CI has verified that Mathlib builds against this PR label Apr 2, 2026
@mathlib-lean-pr-testing

Copy link
Copy Markdown

Mathlib CI status (docs):

Comment thread src/Lean/Elab/App.lean Resolved
@kmill
kmill enabled auto-merge April 2, 2026 03:00
@kmill
kmill added this pull request to the merge queue Apr 2, 2026
mathlib-nightly-testing Bot pushed a commit to leanprover-community/batteries that referenced this pull request Apr 2, 2026
mathlib-nightly-testing Bot pushed a commit to leanprover-community/mathlib4-nightly-testing that referenced this pull request Apr 2, 2026
leanprover-bot added a commit to leanprover/reference-manual that referenced this pull request Apr 2, 2026
Merged via the queue into master with commit 861bc19 Apr 2, 2026
17 checks passed
@mathlib-lean-pr-testing

Copy link
Copy Markdown

Mathlib CI status (docs):

volodeyka pushed a commit that referenced this pull request Apr 16, 2026
#13245)

This PR extends Lean syntax for dotted function notation (`.f`) to add
support for explicit mode (`@.f`), explicit universes (`.f.{u,v}`), and
both simultaneously (`@.f.{u,v}`). This also includes a fix for a bug
involving overloaded functions, where it used to give erroneous
deprecation warnings about declarations that the function did not
elaborate to.

Closes #10984
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

builds-manual CI has verified that the Lean Language Reference builds against this PR builds-mathlib CI has verified that Mathlib builds against this PR changelog-language Language features and metaprograms mathlib4-nightly-available A branch for this PR exists at leanprover-community/mathlib4-nightly-testing:lean-pr-testing-NNNN 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.

@ + dotted identifier is disallowed

2 participants