-
Notifications
You must be signed in to change notification settings - Fork 715
chore: more module system fixes and refinements for finishing batteries port #10819
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Mathlib CI status (docs):
|
|
Reference manual CI status:
|
| let blocked := (← get).diag.unfoldAxiomCounter.toList.filterMap fun (n, count) => do | ||
| let count := count - origDiag.unfoldAxiomCounter.findD n 0 | ||
| guard <| count > 0 && getOriginalConstKind? env n matches some .defn | ||
| return m!"{.ofConstName n} ↦ {count}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This use of ↦ is a little confusing given it looks like fun f ↦ 1.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This style was established by diagnostics, though I'm open to discussion whether the number of occurrences is actually helpful here. @kmill I recall you had some opinion here.
| Note: The following definitions were not unfolded because their definition is not exposed: | ||
| f ↦ 1 | ||
| ⊢ f = 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a little confusing; these two 1s are unrelated, right? Can you change one of them to 2 or 37?
…es port (#10873) Backport 37b78bd from #10819. Co-authored-by: Sebastian Ullrich <[email protected]>
No description provided.