Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
leanprover
/
lean4
Public
Notifications
You must be signed in to change notification settings
Fork
990
Star
9.2k
Code
Issues
1k
Pull requests
654
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
perf: consolidate all experimental typeclass inference optimisations
- #14339
#14339
Draft
Kha
wants to merge 22 commits into
master
leanprover/lean4:master
from
push-nkopukwwvywz
leanprover/lean4:push-nkopukwwvywz
Copy head branch name to clipboard
Conversation
Commits
22
(22)
Checks
Files changed
Draft
perf: consolidate all experimental typeclass inference optimisations
#14339
Kha
wants to merge 22 commits into
master
leanprover/lean4:master
from
push-nkopukwwvywz
leanprover/lean4:push-nkopukwwvywz
Copy head branch name to clipboard
Commits
Commits on Jul 11, 2026
perf: persist type class resolution cache across commands (no invalidation)
Show description for 40633ad
Kha
and
claude
committed
40633ad
View commit details
Copy full SHA for 40633ad
Browse repository at this point
perf: reset persistent type class resolution cache in `addInstance`
Show description for d781988
Kha
and
claude
committed
d781988
View commit details
Copy full SHA for d781988
Browse repository at this point
perf: key type class resolution cache by activated scoped instances
Show description for 60ec09d
Kha
and
claude
committed
60ec09d
View commit details
Copy full SHA for 60ec09d
Browse repository at this point
perf: make type class resolution cache fills survive backtracking
Show description for 2bad8dc
Kha
and
claude
committed
2bad8dc
View commit details
Copy full SHA for 2bad8dc
Browse repository at this point
perf: key type class resolution cache by local instances
Show description for 59176ba
Kha
and
claude
committed
59176ba
View commit details
Copy full SHA for 59176ba
Browse repository at this point
perf: memoize stuck type class resolution queries
Show description for 3ba453e
Kha
and
claude
committed
3ba453e
View commit details
Copy full SHA for 3ba453e
Browse repository at this point
fix: only persist context-free type class resolution cache entries
Show description for 5d7051c
Kha
and
claude
committed
5d7051c
View commit details
Copy full SHA for 5d7051c
Browse repository at this point
test: adapt `info_trees` to stuck-query memoization
Show description for 8650c9e
Kha
and
claude
committed
8650c9e
View commit details
Copy full SHA for 8650c9e
Browse repository at this point
fix: do not persist free-variable-dependent type class cache entries
Show description for 4e058db
Kha
and
claude
committed
4e058db
View commit details
Copy full SHA for 4e058db
Browse repository at this point
perf: share depth-invariant type class cache entries across `synthPendingDepth`
Show description for 61a6e65
Kha
and
claude
committed
61a6e65
View commit details
Copy full SHA for 61a6e65
Browse repository at this point
test: adapt `completionPrefixIssue` to stuck-query memoization
Show description for d605cd0
Kha
and
claude
committed
d605cd0
View commit details
Copy full SHA for d605cd0
Browse repository at this point
fix: key type class resolution cache by the `isDefEq` transparency options
Show description for 6571bd0
Kha
and
claude
committed
6571bd0
View commit details
Copy full SHA for 6571bd0
Browse repository at this point
perf: bound type class cache entry reuse by relative `synthPending` depth
Show description for 405cda4
Kha
and
claude
committed
405cda4
View commit details
Copy full SHA for 405cda4
Browse repository at this point
fix: do not memoize stuck typeclass queries with impure keys
Show description for f71e5ef
Kha
and
claude
committed
f71e5ef
View commit details
Copy full SHA for f71e5ef
Browse repository at this point
Commits on Jul 12, 2026
perf: normalize free variables in the type class resolution cache key
Show description for e2290dc
Kha
and
claude
committed
e2290dc
View commit details
Copy full SHA for e2290dc
Browse repository at this point
fix: memoize TC cache free-variable normalization over shared subterms
Show description for 4e3d9e9
Kha
and
claude
committed
4e3d9e9
View commit details
Copy full SHA for 4e3d9e9
Browse repository at this point
fix: do not abandon type class cache key normalization on assigned metavariables
Show description for a96bdf5
Kha
and
claude
committed
a96bdf5
View commit details
Copy full SHA for a96bdf5
Browse repository at this point
perf: memoize the local instance closure of the type class cache key normalization
Show description for 5a38687
Kha
and
claude
committed
5a38687
View commit details
Copy full SHA for 5a38687
Browse repository at this point
perf: normalize let-bound variables in the type class cache key
Show description for a57255e
Kha
and
claude
committed
a57255e
View commit details
Copy full SHA for a57255e
Browse repository at this point
Commits on Jul 23, 2026
perf: normalize free variables in metavariable-laden cache keys
Show description for 72a4b51
Kha
and
claude
committed
72a4b51
View commit details
Copy full SHA for 72a4b51
Browse repository at this point
perf merge
Kha
committed
38bd297
View commit details
Copy full SHA for 38bd297
Browse repository at this point
fix: share synthesized instances in `grind`'s term store
Show description for 7df05c9
Kha
and
claude
committed
7df05c9
View commit details
Copy full SHA for 7df05c9
Browse repository at this point
You can’t perform that action at this time.