Whole-known-network
<p><span class="h-card" translate="no"><a href="https://mastodon.social/@whitequark" class="u-url mention">@<span>whitequark</span></a></span> <span class="h-card" translate="no"><a href="https://mastodon.social/@geofflangdale" class="u-url mention">@<span>geofflangdale</span></a></span> see if this makes sense for you</p><p><a href="https://gist.github.com/regehr/95aec54f01af5ade6e3c10e632378406" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="ellipsis">gist.github.com/regehr/95aec54</span><span class="invisible">f01af5ade6e3c10e632378406</span></a></p><p>it's just the smallest z3-python file in my private repo that uses forall</p>
<p><span class="h-card" translate="no"><a href="https://mastodon.social/@regehr" class="u-url mention">@<span>regehr</span></a></span> <span class="h-card" translate="no"><a href="https://mastodon.social/@geofflangdale" class="u-url mention">@<span>geofflangdale</span></a></span> yep! I don't quite understand how pyz3 translates ForAll into SMT-LIB but i am sure i can figure that out</p>
<p><span class="h-card" translate="no"><a href="https://mastodon.social/@whitequark" class="u-url mention">@<span>whitequark</span></a></span> <span class="h-card" translate="no"><a href="https://mastodon.social/@geofflangdale" class="u-url mention">@<span>geofflangdale</span></a></span> python ok?</p>
<p><span class="h-card" translate="no"><a href="https://mastodon.social/@regehr" class="u-url mention">@<span>regehr</span></a></span> <span class="h-card" translate="no"><a href="https://mastodon.social/@geofflangdale" class="u-url mention">@<span>geofflangdale</span></a></span> also this!!</p><p>but also seriously, can you give me an example of how to use forall?</p>
<p><span class="h-card" translate="no"><a href="https://mastodon.social/@whitequark" class="u-url mention">@<span>whitequark</span></a></span> <span class="h-card" translate="no"><a href="https://mastodon.social/@geofflangdale" class="u-url mention">@<span>geofflangdale</span></a></span> error reporting in these tools is atrocious. when I do solver work I spend a lot of time just validating what I've done cause it's so easy to get things wrong.</p>
<p><span class="h-card" translate="no"><a href="https://mastodon.social/@geofflangdale" class="u-url mention">@<span>geofflangdale</span></a></span> precisely! I don't understand how on earth are you supposed to use `forall` at all, like I'm just getting unsat on trivially equivalent code</p>
<p><span class="h-card" translate="no"><a href="https://mastodon.social/@whitequark" class="u-url mention">@<span>whitequark</span></a></span> There are at least 100 redundant tutorials when you want to solve Sudoku or one of those "Dr Brown refuses to live on the same street as the Professor of Linguistics etc etc" puzzles. </p><p>Then of course there is almost no documentation to help you when you reach the point where you try your first quantifiers and have your solver time out forever with zero explanation.</p>
<p><span class="h-card" translate="no"><a href="https://mastodon.social/@tedmielczarek" class="u-url mention">@<span>tedmielczarek</span></a></span> I'm happy to not have your contributions if you can't be bothered to do that</p>
<p><span class="h-card" translate="no"><a href="https://mstdn.social/@estelle" class="u-url mention">@<span>estelle</span></a></span> basically yeah</p>