Zulip Chat Archive
Stream: Machine Learning for Theorem Proving
Topic: NASEM webinar 4/23-4/25
Matthew Ballard (Apr 23 2024 at 17:28):
My main takeaway from the first talk (all errors in interpretation of course my fault :)
Chlipala: metavariable creation and unification, as in Lean/Coq, is too expensive for verification across the full hardware/software stack.
Mario Carneiro (Apr 23 2024 at 17:31):
Hm, I'm disappointed that I missed this talk, are the slides or recording available anywhere?
Matthew Ballard (Apr 23 2024 at 17:33):
I believe these will be made available publicly but @Talia Ringer (who is moderating currently) will know better
Adam Topaz (Apr 23 2024 at 17:48):
I assume the recording will also be made public.
Richard Osborn (Apr 23 2024 at 17:57):
I believe this is the link to the event. Seems like you can rewind the webcast to see the talk?
Matthew Ballard (Apr 23 2024 at 18:11):
Oh great.
Btw, below is a screen capture of the slide I was referring to
Bad asymptotics for metavariable creation
This is something I was totally unaware of. I am not sure where the figure is from.
Mario Carneiro (Apr 23 2024 at 19:12):
I don't understand how the claim could be true, adding a new metavariable in lean is effectively constant time (more precisely, it's the cost of inserting into a PersistentHashMap
)
Mario Carneiro (Apr 23 2024 at 19:12):
so surely there is some other aspect of this that is rolled into the cost
Mario Carneiro (Apr 23 2024 at 19:14):
I could understand if it was talking about adding new things to the LocalContext, this is known to be asymptotically bad (see Jason Gross's thesis). But metavariables are quite cheap to create, and less cheap to assign (because of the occurs check)
Matthew Ballard (Apr 23 2024 at 19:14):
I think the data is only from Coq. I interpreted it to include the assignment also but that may have been reading too much into it
Mario Carneiro (Apr 23 2024 at 19:22):
yes, Coq and Lean are significantly different under the hood so it's difficult to make blanket statements of this form
Mario Carneiro (Apr 23 2024 at 19:22):
that's not to say that Lean is actually doing better on this point, only that the places that are unnecessarily slow are somewhat different between them
Mario Carneiro (Apr 23 2024 at 19:22):
e.g. Qed
is really slow in coq but this is basically never an issue in lean, because lean doesn't implement variables and sections in the same way
Matthew Ballard (Apr 24 2024 at 17:00):
Hold music is fresh.
Last updated: May 02 2025 at 03:31 UTC