feat: overlapping instances linter#38126
feat: overlapping instances linter#38126JovanGerb wants to merge 100 commits intoleanprover-community:masterfrom
Conversation
|
!bench |
|
Benchmark results for 3dec916 against 05475ca are in. No significant results found. @JovanGerb
Medium changes (2🟥)
Small changes (3🟥)
and 1 hidden |
|
This PR/issue depends on: |
|
!bench |
|
Benchmark results for cfd593f against 05475ca are in. There are significant results. @JovanGerb
Large changes (1🟥)
Medium changes (1🟥)
Small changes (24🟥) Too many entries to display here. View the full report on radar instead. |
|
Wow, inlining the InfoTree folding function caused the loop to be run in the interpreter, which causes a big slowdown! |
|
!bench |
|
Benchmark results for 88dfef6 against 05475ca are in. No significant results found. @JovanGerb
Medium changes (1🟥)
Small changes (3🟥)
and 1 hidden |
|
I'm pretty happy with the benchmark now. I only don't understand what makes this file |
|
Just to confirm the !bench |
|
Benchmark results for bb07869 against 9470b68 are in. No significant results found. @JovanGerb
Medium changes (2🟥)
Small changes (1🟥) 1 hidden |
This is a new attempt at the overlapping instances linter, with better performance.
One question is where to put the yellow squiggle of the warning message. It is now at the start of the definition value, i.e. the
bytoken for typical proofs. This is slightly annoying, because the yellow squiggle is overridden by the red squiggle from "unsolved goals".Another annoyance is the need for
withSetBoolOptionIn. This is a private declaration in theunusedInstancesInTypelinter, with a link to an unsolved issue. I've marked it public, but maybe it should go to a separate file, depending on how fast we think the issue will be resolved.See #35095 and #34955 for previous iterations of this linter.
See #14731 for an old attempt at a weaker form of this linter.
Co-authored-by: @thorimur
to_additiveuse #38150