Zulip Chat Archive
Stream: lean4
Topic: Testing linearity
François G. Dorais (Jun 06 2024 at 23:03):
I would like to check that a certain function uses a certain parameter linearly: basically that refcounts related to that parameter are always the same going in and going out. How can I do that? (Without inspecting the code manually, which is error prone.)
Mario Carneiro (Jun 06 2024 at 23:09):
currently, there is no alternative to checking the IR
Mario Carneiro (Jun 06 2024 at 23:10):
or profiling
Last updated: May 02 2025 at 03:31 UTC