Skip to content

perf: cache intermediate type class results and non-results#4272

Closed
JovanGerb wants to merge 31 commits into
leanprover:masterfrom
JovanGerb:instanceCaching
Closed

perf: cache intermediate type class results and non-results#4272
JovanGerb wants to merge 31 commits into
leanprover:masterfrom
JovanGerb:instanceCaching

Conversation

@JovanGerb

@JovanGerb JovanGerb commented May 24, 2024

Copy link
Copy Markdown
Contributor

Cache intermediate type class successes and failures. A cleaned up version of #4152, (on that branch I was experimenting with some other stuff)

Note: in some tests, the numbers in metavariables have lowered. This is because less new metavariables are created during type class search, so the name generator is used less.

@JovanGerb JovanGerb marked this pull request as draft May 24, 2024 23:16
@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 May 24, 2024
ghost pushed a commit to leanprover-community/batteries that referenced this pull request May 24, 2024
ghost pushed a commit to leanprover-community/mathlib4 that referenced this pull request May 24, 2024
@ghost ghost added breaks-mathlib This is not necessarily a blocker for merging: but there needs to be a plan full-ci labels May 24, 2024
@ghost

ghost commented May 24, 2024

Copy link
Copy Markdown

Mathlib CI status (docs):

ghost pushed a commit to leanprover-community/batteries that referenced this pull request May 25, 2024
ghost pushed a commit to leanprover-community/mathlib4 that referenced this pull request May 25, 2024
ghost pushed a commit to leanprover-community/batteries that referenced this pull request May 25, 2024
ghost pushed a commit to leanprover-community/mathlib4 that referenced this pull request May 25, 2024
ghost pushed a commit to leanprover-community/batteries that referenced this pull request May 25, 2024
ghost pushed a commit to leanprover-community/mathlib4 that referenced this pull request May 25, 2024
ghost pushed a commit to leanprover-community/batteries that referenced this pull request May 25, 2024
ghost pushed a commit to leanprover-community/mathlib4 that referenced this pull request May 25, 2024
ghost pushed a commit to leanprover-community/batteries that referenced this pull request May 25, 2024
ghost pushed a commit to leanprover-community/mathlib4 that referenced this pull request May 25, 2024
ghost pushed a commit to leanprover-community/batteries that referenced this pull request May 25, 2024
ghost pushed a commit to leanprover-community/mathlib4 that referenced this pull request May 25, 2024
ghost pushed a commit to leanprover-community/mathlib4 that referenced this pull request May 26, 2024
ghost pushed a commit to leanprover-community/batteries that referenced this pull request May 26, 2024
ghost pushed a commit to leanprover-community/mathlib4 that referenced this pull request May 26, 2024
ghost pushed a commit to leanprover-community/batteries that referenced this pull request May 27, 2024
ghost pushed a commit to leanprover-community/mathlib4 that referenced this pull request May 27, 2024
ghost pushed a commit to leanprover-community/batteries that referenced this pull request May 28, 2024
ghost pushed a commit to leanprover-community/mathlib4 that referenced this pull request May 28, 2024
ghost pushed a commit to leanprover-community/batteries that referenced this pull request May 28, 2024
ghost pushed a commit to leanprover-community/mathlib4 that referenced this pull request May 28, 2024
ghost pushed a commit to leanprover-community/batteries that referenced this pull request May 29, 2024
ghost pushed a commit to leanprover-community/mathlib4 that referenced this pull request May 29, 2024
ghost pushed a commit to leanprover-community/batteries that referenced this pull request May 29, 2024
ghost pushed a commit to leanprover-community/mathlib4 that referenced this pull request May 29, 2024
ghost pushed a commit to leanprover-community/batteries that referenced this pull request May 31, 2024
ghost pushed a commit to leanprover-community/mathlib4 that referenced this pull request May 31, 2024
@nomeata nomeata removed the full-ci label Jul 23, 2024
@JovanGerb JovanGerb closed this Jul 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaks-mathlib This is not necessarily a blocker for merging: but there needs to be a plan 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.

2 participants