Zulip Chat Archive

Stream: lean4

Topic: instance diagnostics


Matthew Ballard (Aug 12 2024 at 12:50):

Can someone confirm that they get no instance stats for

set_option diagnostics true in
example : Add Nat := inferInstance

or point to what I am doing wrong?

Matthew Ballard (Aug 12 2024 at 18:05):

The code makes it look like it is plugged in.

Kyle Miller (Aug 12 2024 at 19:05):

set_option diagnostics true in
set_option diagnostics.threshold 0 in
example : Add Nat := inferInstance

Henrik Böving (Aug 12 2024 at 19:10):

Kyle Miller said:

set_option diagnostics true in
set_option diagnostics.threshold 0 in
example : Add Nat := inferInstance

Maybe we should implement diagnostics such that it does print a message, suggesting to set threshold lower when nothing is being printed?

Matthew Ballard (Aug 12 2024 at 19:25):

Is there a single threshold for all diagnostics?

Matthew Ballard (Aug 12 2024 at 20:24):

Matthew Ballard said:

Is there a single threshold for all diagnostics?

Yes


Last updated: May 02 2025 at 03:31 UTC