Similarity-based locality of relevant helper assertions
Ascertain whether helper assertions relevant to repairing a given Dafny lemma are more likely to be found within lemmas that are structurally similar to the target lemma in the same codebase, thereby motivating selection of in-context examples based on lemma similarity.
References
We further conjecture that relevant example assertions are likely to appear in lemmas that are similar to the target lemma.
— Laurel: Unblocking Automated Verification with Large Language Models
(2405.16792 - Mugnier et al., 27 May 2024) in Section 2.2 (Selecting Example Assertions)