Skip to content

perf(Cslib/Computability/Languages/RegularLanguage): speed up IsRegular.char - #1028

Merged
chenson2018 merged 2 commits into
leanprover:mainfrom
thomaskwaring:perf
Oct 5, 2026
Merged

chenson2018 merged 2 commits into
leanprover:mainfrom
thomaskwaring:perf

Conversation

@thomaskwaring

@thomaskwaring thomaskwaring commented Oct 2, 2026 •

Copy link
Copy Markdown
Collaborator

This very elementary proof was taking > 30s, fixed to < 1s by giving the automation some help.

@thomaskwaring

Copy link
Copy Markdown
Collaborator Author

!radar

@leanprover-radar

leanprover-radar commented Oct 2, 2026 •

Copy link
Copy Markdown

Benchmark results for 5737ea4 against 8c41993 are in. There are significant results. @thomaskwaring

  • ✅ build//instructions: -56.5G (-2.05%)

Large changes (1✅)

  • ✅ build/module/Cslib.Computability.Languages.RegularLanguage//instructions: -55.9G (-80.65%)

Medium changes (1✅)

  • 1 hidden

Small changes (1✅)

  • ✅ build//maxrss: -113MiB (-6.90%)

@ctchou ctchou left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM.

@ctchou

ctchou commented Oct 5, 2026

Copy link
Copy Markdown
Collaborator

Forgot one comment: change the subject line to perf(RegularLanguage): ....

@chenson2018
chenson2018 added this pull request to the merge queue Oct 5, 2026
Merged via the queue into leanprover:main with commit ea16de3 Oct 5, 2026
3 checks passed
@thomaskwaring
thomaskwaring deleted the perf branch October 5, 2026 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants