<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>SMT on Wonderings of a SAT geek</title>
    <link>https://www.msoos.org/categories/smt/</link>
    <description>Recent content in SMT on Wonderings of a SAT geek</description>
    <generator>Hugo</generator>
    <language>en-US</language>
    <lastBuildDate>Thu, 24 Oct 2024 22:18:14 +0000</lastBuildDate>
    <atom:link href="https://www.msoos.org/categories/smt/feed.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>On SAT/SMT Model Counting</title>
      <link>https://www.msoos.org/2024/10/on-sat-smt-model-counting/</link>
      <pubDate>Thu, 24 Oct 2024 22:18:14 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=3539</guid> 
      <description>&lt;p&gt;I have recently had a few discussions with people who wanted to do some form of model counting, and I decided to put my thoughts about this problem into a single blog post, hopefully bringing some light to this area. Firstly, when talking about model counting, it&amp;rsquo;s very important to think through what one actually needs to achieve. When people talk about a model, they often mean a solution to a problem, described as a set of constraints over either purely boolean variables (so-called propositional model counting) expressed in so-called &lt;a href=&#34;https://en.wikipedia.org/wiki/Conjunctive_normal_form&#34;&gt;CNF&lt;/a&gt;, or over higher-level constraints, often expressed in &lt;a href=&#34;https://smt-lib.org/examples.shtml&#34;&gt;SMT-LIB&lt;/a&gt; format.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Checking Uniform-Like Samplers</title>
      <link>https://www.msoos.org/2022/06/checking-uniform-like-samplers/</link>
      <pubDate>Thu, 23 Jun 2022 09:53:56 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=3410</guid> 
      <description>&lt;p&gt;Uniform sampling is pretty simple: there are a set of solutions to a set of equations, and I want you to give me N solutions uniformly at random. Say, I have a set of equations that only has the solutions x=1&amp;hellip;6, and I ask you to give me solutions uniformly at random. In this case, if the system is not cheating, it should give me solutions exactly like a random dice would give: 1..6, each with the same probability of 1/6. Now, if you give me nothing but 1&amp;rsquo;s I&amp;rsquo;d be slightly confused, and eventually would think you may be trying to cheat.&lt;/p&gt;</description>
    </item>
    <item>
      <title>How Approximate Model Counting Works</title>
      <link>https://www.msoos.org/2018/12/how-approximate-model-counting-works/</link>
      <pubDate>Sun, 09 Dec 2018 14:39:21 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=3229</guid> 
      <description>&lt;p&gt;Approximate model counting allows to count the number of solutions (or &amp;ldquo;models&amp;rdquo;) to propositional satisfiability problems. This problem seems trivial at first given a propositional solver that can find a single solution: find one solution, ban it, ask for another one, ban it, etc. until all solutions are counted. The issue is that sometimes, the number of solutions is 2^50 and so counting this way is too slow. There are about 2^266 atoms in the universe, so counting anywhere near that is impossible using this method.&lt;/p&gt;</description>
    </item>
    <item>
      <title>SMT Competition&#39;14 and STP</title>
      <link>https://www.msoos.org/2014/06/smt-competition14-and-stp/</link>
      <pubDate>Tue, 24 Jun 2014 22:27:18 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=2532</guid> 
      <description>&lt;p&gt;The &lt;a href=&#34;http://www.smtcomp.org/&#34;&gt;2014 SMT competition&lt;/a&gt;&amp;rsquo;s QF_BV divison is over (benchmark tarball &lt;a href=&#34;www.msoos.org/largefiles/QF_BV_smt_comp_2014.tar.gz&#34; title=&#34;QF_BV SAT-COMP&#39;14 benchmarks&#34;&gt;here&lt;/a&gt;), and the results are (copied from &lt;a href=&#34;http://smtcomp.sourceforge.net/2014/results-QF_BV.shtml?v=1403260059&#34;&gt;here&lt;/a&gt;):&lt;/p&gt;
&lt;table&gt;
	&lt;thead&gt;
			&lt;tr&gt;
					&lt;th&gt;&lt;/th&gt;
					&lt;th&gt;&lt;/th&gt;
					&lt;th&gt;&lt;/th&gt;
					&lt;th&gt;&lt;/th&gt;
					&lt;th&gt;&lt;/th&gt;
			&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tbody&gt;
			&lt;tr&gt;
					&lt;td&gt;&lt;strong&gt;Solver&lt;/strong&gt;&lt;/td&gt;
					&lt;td&gt;&lt;strong&gt;Errors&lt;/strong&gt;&lt;/td&gt;
					&lt;td&gt;&lt;strong&gt;Solved&lt;/strong&gt;&lt;/td&gt;
					&lt;td&gt;&lt;strong&gt;Not Solved&lt;/strong&gt;&lt;/td&gt;
					&lt;td&gt;&lt;strong&gt;CPU time (solved instances)&lt;/strong&gt;&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
					&lt;td&gt;&lt;a href=&#34;http://fmv.jku.at/boolector/&#34;&gt;Boolector&lt;/a&gt;&lt;/td&gt;
					&lt;td&gt;0&lt;/td&gt;
					&lt;td&gt;2361&lt;/td&gt;
					&lt;td&gt;127&lt;/td&gt;
					&lt;td&gt;138077.59&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
					&lt;td&gt;&lt;a href=&#34;https://github.com/stp/stp&#34;&gt;STP-CryptoMiniSat4&lt;/a&gt;&lt;/td&gt;
					&lt;td&gt;0&lt;/td&gt;
					&lt;td&gt;2283&lt;/td&gt;
					&lt;td&gt;205&lt;/td&gt;
					&lt;td&gt;190660.82&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
					&lt;td&gt;[ &lt;a href=&#34;http://mathsat.fbk.eu/&#34;&gt;MathSAT&lt;/a&gt;]&lt;/td&gt;
					&lt;td&gt;0&lt;/td&gt;
					&lt;td&gt;2199&lt;/td&gt;
					&lt;td&gt;289&lt;/td&gt;
					&lt;td&gt;262349.39&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
					&lt;td&gt;[ &lt;a href=&#34;http://z3.codeplex.com/&#34;&gt;Z3&lt;/a&gt;]&lt;/td&gt;
					&lt;td&gt;0&lt;/td&gt;
					&lt;td&gt;2180&lt;/td&gt;
					&lt;td&gt;308&lt;/td&gt;
					&lt;td&gt;214087.66&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
					&lt;td&gt;&lt;a href=&#34;http://cvc4.cs.nyu.edu/web/&#34;&gt;CVC4&lt;/a&gt;&lt;/td&gt;
					&lt;td&gt;0&lt;/td&gt;
					&lt;td&gt;2166&lt;/td&gt;
					&lt;td&gt;322&lt;/td&gt;
					&lt;td&gt;87954.62&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
					&lt;td&gt;4Simp&lt;/td&gt;
					&lt;td&gt;0&lt;/td&gt;
					&lt;td&gt;2121&lt;/td&gt;
					&lt;td&gt;367&lt;/td&gt;
					&lt;td&gt;187966.86&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
					&lt;td&gt;&lt;a href=&#34;http://www.informatik.uni-bremen.de/agbs/florian/sonolar/&#34;&gt;SONOLAR&lt;/a&gt;&lt;/td&gt;
					&lt;td&gt;0&lt;/td&gt;
					&lt;td&gt;2026&lt;/td&gt;
					&lt;td&gt;462&lt;/td&gt;
					&lt;td&gt;174134.49&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
					&lt;td&gt;&lt;a href=&#34;http://yices.csl.sri.com/&#34;&gt;Yices2&lt;/a&gt;&lt;/td&gt;
					&lt;td&gt;0&lt;/td&gt;
					&lt;td&gt;1770&lt;/td&gt;
					&lt;td&gt;718&lt;/td&gt;
					&lt;td&gt;159991.55&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
					&lt;td&gt;abziz_min_features&lt;/td&gt;
					&lt;td&gt;9&lt;/td&gt;
					&lt;td&gt;2155&lt;/td&gt;
					&lt;td&gt;324&lt;/td&gt;
					&lt;td&gt;134385.22&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
					&lt;td&gt;abziz_all_features&lt;/td&gt;
					&lt;td&gt;9&lt;/td&gt;
					&lt;td&gt;2093&lt;/td&gt;
					&lt;td&gt;386&lt;/td&gt;
					&lt;td&gt;122540.04&lt;/td&gt;
			&lt;/tr&gt;
	&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;First, let me congratulate &lt;a href=&#34;http://fmv.jku.at/boolector/&#34;&gt;Boolector&lt;/a&gt; by Armin Biere. &lt;a href=&#34;https://github.com/stp/stp&#34;&gt;STP&lt;/a&gt; came a not-so-close second. STP was meant to be submitted twice, once with MiniSat and once with CyrptoMiniSat4 &amp;ndash; this is the &lt;em&gt;only&lt;/em&gt; reason why the STP submission is called STP-CryptoMiniSat4. Unfortunately, the other submission could not be made because of some compilation problems.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
