viperproject / gobra

Gobra is an automated, modular verifier for Go programs, based on the Viper verification infrastructure.

Home Page:https://gobra.ethz.ch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use named axioms instead of anonymous axioms

dnezam opened this issue · comments

At the moment, it seems that Gobra uses anonymous quantified axioms. This makes measuring the quantifier instantiations as described in this Silicon PR harder for those axioms. If possible, it may be useful to give names to those axioms.

@dnezam what are the domains for which adding names to quantifiers would help the most?

@jcp19 This problem came up when doing experiments on the examples from chapter 10.2 of Program Proofs, so I think AdtEncoding.scala.

Additionally, perhaps SlicesImpl.scala, ArrayImpl.scala, Option(ToSeq)Impl.scala and StringEncoding.scala could be interesting, as these sound like types that could end up in the standard library at some point (and hence more likely to be evaluated more thoroughly).