Skip to content

style(AMSLinter): Disallow leading zeros in AMS tags#3933

Merged
mo271 merged 1 commit intogoogle-deepmind:mainfrom
jeangud:fix-ams-tag
May 4, 2026
Merged

style(AMSLinter): Disallow leading zeros in AMS tags#3933
mo271 merged 1 commit intogoogle-deepmind:mainfrom
jeangud:fix-ams-tag

Conversation

@jeangud
Copy link
Copy Markdown
Contributor

@jeangud jeangud commented May 4, 2026

Description

Motivated by this comment, we would like to harmonize the AMS tags in the repo and disallow leading zeros:

  • Raise linting warning if the AMS tag contains leading zeros
  • Fix 17 existing files not following the new convention

Testing

✅ Built the whole repo successfully without linting warnings

$ lake build
Build completed successfully (8669 jobs).

- Augments AMSLinter.lean to detect numbers in AMS tags that have a leading zero and raises a linting error if they do.
- Standardizes existing tags across the repository by removing leading zeros from all occurrences.
@github-actions github-actions Bot added linter erdos-problems Erdős Problems green-problems Problems from https://people.maths.ox.ac.uk/greenbj/papers/open-problems.pdf labels May 4, 2026
Copy link
Copy Markdown
Collaborator

@mo271 mo271 left a comment

Choose a reason for hiding this comment

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

Thanks!

@mo271 mo271 merged commit 3f1f36f into google-deepmind:main May 4, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

erdos-problems Erdős Problems green-problems Problems from https://people.maths.ox.ac.uk/greenbj/papers/open-problems.pdf linter

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants