<?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>research on Wonderings of a SAT geek</title>
    <link>https://www.msoos.org/tags/research/</link>
    <description>Recent content in research on Wonderings of a SAT geek</description>
    <generator>Hugo</generator>
    <language>en-US</language>
    <lastBuildDate>Mon, 12 May 2025 02:17:50 +0000</lastBuildDate>
    <atom:link href="https://www.msoos.org/tags/research/feed.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Ganakv2 Released</title>
      <link>https://www.msoos.org/2025/05/ganakv2-released/</link>
      <pubDate>Mon, 12 May 2025 02:17:50 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=3612</guid> 
      <description>&lt;p&gt;Finally, after many months of waiting for our paper to be accepted (preliminary &lt;a href=&#34;https://www.msoos.org/wordpress/wp-content/uploads/2025/05/ganak2.pdf&#34;&gt;PDF here&lt;/a&gt;), Ganak2 is finally released (&lt;a href=&#34;https://github.com/meelgroup/ganak/&#34;&gt;GitHub code,&lt;/a&gt; released &lt;a href=&#34;https://github.com/meelgroup/ganak/releases/latest&#34;&gt;binaries&lt;/a&gt;) and easily accessible and modifiable. I wish this release had come earlier, but double-blind requirements didn&amp;rsquo;t allow us to release the code any sooner.&lt;/p&gt;
&lt;p&gt;Basically, Ganakv2 has been re-written in many ways. Some of the original ideas by Thurley for SharpSAT has been kept alive, but many-many things are completely different and completely re-written &amp;ndash; well over 10&#39;000 lines of change in total. This set of changes has allowed Ganak2 to &lt;a href=&#34;https://mccompetition.org/assets/files/2024/MC2024_awards.pdf&#34;&gt;win every available track&lt;/a&gt; at the Model Counting Competition of 2024. In other words, Ganak2 is incredibly fast, making it a state-of-the-art tool.&lt;/p&gt;</description>
    </item>
    <item>
      <title>CryptoMiniSat: 8000 commits later</title>
      <link>https://www.msoos.org/2015/10/cryptominisat-8000-commits-later/</link>
      <pubDate>Sun, 18 Oct 2015 18:36:23 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=2821</guid> 
      <description>&lt;p&gt;The GitHub &lt;a href=&#34;https://github.com/msoos/cryptominisat&#34;&gt;repository&lt;/a&gt; for CryptoMiniSat just hit 8000 commits. To celebrate this rather weird and crazy fact, let me put together a bit of a history.&lt;/p&gt;
&lt;h2 id=&#34;the-beginnings&#34;&gt;The Beginnings&lt;/h2&gt;
&lt;p&gt;CryptoMiniSat began as a way of trying to prove that a probabilistic cryptographic scheme was not possible to break using SAT solvers. This was the year 2009, and I was working in Grenoble at &lt;a href=&#34;http://www.inria.fr/en/centre/grenoble&#34;&gt;INRIA&lt;/a&gt;. It was a fun time and I was working really hard to prove what I wanted to prove, to the point that I created a probabilistic SAT solver where one could add probability weights to clauses. The propagations and conflict engine would only work if the conflict or propagation was supported by multiple clauses. Thus began a long range of my unpublished work in SAT. This SAT solver, curiously, still works and solves problems quite well. It&amp;rsquo;s a lot of fun, actually &amp;ndash; just add some random clause into the database that bans the only correct solution and the solver will find the correct solution. A bit of a hackery, but hey, it works. Also, it&amp;rsquo;s so much faster than doing that solving with the &amp;ldquo;right&amp;rdquo; systems, it&amp;rsquo;s not even worth comparing.&lt;/p&gt;
</description>
    </item>
    <item>
      <title>Clause glues are a mystery to me</title>
      <link>https://www.msoos.org/2013/07/clause-glues-are-a-mystery-to-me/</link>
      <pubDate>Mon, 08 Jul 2013 16:48:41 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=988</guid> 
      <description>&lt;p&gt;&lt;em&gt;Note: the work below has been done in collaboration with &lt;a href=&#34;http://folk.uio.no/vegardno/&#34;&gt;Vegard Nossum&lt;/a&gt;, but the wording and some of the (mis-)conculsions are mine. If you are interested, check out his &lt;a href=&#34;https://www.duo.uio.no/handle/10852/34912&#34;&gt;master thesis&lt;/a&gt;, it&amp;rsquo;s quite incredible&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Anyone who has ever tried to &lt;em&gt;really&lt;/em&gt; understand clause &lt;a href=&#34;http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.150.1911&amp;amp;rep=rep1&amp;amp;type=pdf&#34;&gt;glues&lt;/a&gt; in SAT solvers have probably wondered what they really mean. Their definition is simple: the number of variables in the final conflict clause that come from different decision levels. An explanation of these terms can be found &lt;a href=&#34;https://www.msoos.org/understanding-implication-graphs&#34;&gt;here&lt;/a&gt;. On the surface, this sounds very simple and clean: the number of different decision levels should somehow be connected to the number of variables that need to be set before the learnt clause activates itself, i.e. it causes a propagation or a conflict. Unfortunately, this is just the surface, because if you try to draw 2-3 implication graphs, you will see that in fact the gap between the number of variables needed to be set (let&amp;rsquo;s call this &amp;lsquo;activation number&amp;rsquo;) and the glue can be virtually &lt;em&gt;anything&lt;/em&gt;, making the glue a potentially bad indicator of the activation number.&lt;/p&gt;</description>
    </item>
    <item>
      <title>CryptoMinisat 3.1 released</title>
      <link>https://www.msoos.org/2013/04/cryptominisat-3-1-released/</link>
      <pubDate>Sun, 14 Apr 2013 17:29:50 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=1624</guid> 
      <description>&lt;p&gt;CryptoMinisat 3.1 has been &lt;a href=&#34;https://gforge.inria.fr/frs/?group_id=1992&amp;amp;release_id=8008&#34;&gt;released&lt;/a&gt;. The short changelog is:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-fallback&#34; data-lang=&#34;fallback&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;$ git diff cryptoms-3.0 cryptoms-3.1 --shortstat
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt; 84 files changed, 3079 insertions(+), 2751 deletions(-)
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;The changes made were threefold. First, memory usage has been greatly reduced. This is crucial, because memory usage was over 7GB on certain instances. Secondly, the implication cache wasn&amp;rsquo;t very well-used and an idea that came to my mind &lt;em&gt;greatly&lt;/em&gt; improved performance on most problems. Finally, time limiting of some inprocessing techniques on certain types of problems has been improved.&lt;/p&gt;</description>
    </item>
    <item>
      <title>CCC Camp&#39;11</title>
      <link>https://www.msoos.org/2011/08/ccc-camp11/</link>
      <pubDate>Mon, 15 Aug 2011 20:17:41 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=979</guid> 
      <description>&lt;p&gt;&lt;img loading=&#34;lazy&#34; src=&#34;https://www.msoos.org/wordpress/wp-content/uploads/2011/08/8544_1050_500.jpeg&#34;&gt;In case you&amp;rsquo;ve missed it, the &lt;a href=&#34;http://events.ccc.de/camp/2011/&#34;&gt;CCC Camp&lt;/a&gt; was a great opportunity to meet people both working in security and otherwise. I have even met a very kind Taiwanese researcher who worked on SAT and Gröbner basis: in fact, if you haven&amp;rsquo;t had the chance to read &lt;a href=&#34;http://zengler.eu/files/papers/zengler_casc2010.pdf&#34;&gt;this&lt;/a&gt; paper, I highly recommend it. A set of kind Taiwanese researchers recommended this paper to me, and I think it&amp;rsquo;s the most interesting SAT paper I have read in the past year.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Note to self: higher level autarkies</title>
      <link>https://www.msoos.org/2011/07/note-to-self-higher-level-autarkies/</link>
      <pubDate>Sat, 16 Jul 2011 11:22:46 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=937</guid> 
      <description>&lt;p&gt;While reading &lt;a href=&#34;http://www.st.ewi.tudelft.nl/sat/theses/heule_phd.pdf&#34;&gt;this&lt;/a&gt; thesis, I have had a thought about autarkies. Let me first define what an autarky in SAT solving is:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;A partial assignment &lt;code&gt;phi&lt;/code&gt; is called a weak autarky for &lt;code&gt;F&lt;/code&gt; if &amp;quot; &lt;code&gt;phi*F&lt;/code&gt; is a subset of &lt;code&gt;F&lt;/code&gt;&amp;quot; holds, while &lt;code&gt;phi&lt;/code&gt; is an autarky for &lt;code&gt;F&lt;/code&gt; if &lt;code&gt;phi&lt;/code&gt; is a weak autarky for all sub-clause-sets &lt;code&gt;F&#39;&lt;/code&gt; of &lt;code&gt;F&lt;/code&gt;. (Handbook of Satisfiability, p. 355)&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;What does this mean? Well, it means that in the clause-set &lt;code&gt;{x V y, x}&lt;/code&gt; the assignment &lt;code&gt;y=False&lt;/code&gt; is a weak autarky, because assigning &lt;code&gt;y&lt;/code&gt; to &lt;code&gt;False&lt;/code&gt; will lead to a clause that is already in the clause set (the clause &lt;code&gt;x&lt;/code&gt;), while the assignment of &lt;code&gt;x=True&lt;/code&gt; is a (normal) autarky, because it will satisfy all clauses that &lt;code&gt;x&lt;/code&gt; is in. The point of autarkies is that we can remove clauses from the clause set by assigning values to a set of variables, while not changing the (un)satisfiability property of the original problem. In other words, autarkies are a cheap way of reducing the problem size. The only problem is that it seems to be relatively expensive to search for them, so conflict-driven SAT solvers don&amp;rsquo;t normally search for them (but, some lookahead solvers such as &lt;a href=&#34;http://www.cril.univ-artois.fr/SAT11/results/solver.php?idev=46&amp;amp;idsolver=1913&#34;&gt;march&lt;/a&gt; by Marijn Heule do).&lt;/p&gt;</description>
    </item>
    <item>
      <title>Fun facts about SAT solving (part 1)</title>
      <link>https://www.msoos.org/2011/07/fun-facts-about-sat-solving-part-1/</link>
      <pubDate>Fri, 01 Jul 2011 14:33:49 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=875</guid> 
      <description>&lt;p&gt;Last time I gave a &lt;a href=&#34;https://www.msoos.org/wordpress/wp-content/uploads/2011/06/soos_summerschool.pdf&#34;&gt;talk&lt;/a&gt;, I got some quite deserved fire about the way I approach SAT solving: in a more practical than scientific way. So, to give some food for thought for those who wish to approach SAT from a more scientific viewpoint, and to demonstrate to what lengths I have gone to give (at least to myself) a scientific viewpoint, let me talk a little bit about a fun fact that I have found. The fun fact, as is quite usual for SAT, seems entirely trivial, even banal, but has somehow (so far) eluded proper explanation for me. Maybe you will be the one to give the right explanation :)&lt;/p&gt;</description>
    </item>
    <item>
      <title>Come to Hackito Ergo Sum&#39;11</title>
      <link>https://www.msoos.org/2011/03/come-to-hackito-ergo-sum11/</link>
      <pubDate>Mon, 28 Mar 2011 12:07:06 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=714</guid> 
      <description>&lt;p&gt;&lt;a href=&#34;http://hackitoergosum.org/&#34;&gt;&lt;img loading=&#34;lazy&#34; src=&#34;https://www.msoos.org/wordpress/wp-content/uploads/2011/03/hes2011.jpg&#34;&gt;&lt;/a&gt; There is going to be a nice hacker conference in Paris real soon now: &lt;a href=&#34;http://hackitoergosum.org/&#34;&gt;Hackito Ergo Sum&lt;/a&gt;, between the 7th and the 11th of April. There will be plenty of interesting talks, among them, I will also be presenting some fun crypto-breaking :) The schedule is &lt;a href=&#34;http://hackitoergosum.org/schedule/&#34;&gt;here&lt;/a&gt;, I am scheduled for the first day, on Thursday at 11:30 AM. If you are in or near Paris, come around for the conference, I am sure it will be a really nice one :) If you are interested in meeting me, we can also meet in Paris, just drop me a mail, but better yet, come and chat with me at the conf, I will be there all day long.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Stats on CryptoMiniSat’s development</title>
      <link>https://www.msoos.org/2010/07/stats-on-cryptominisats-development/</link>
      <pubDate>Thu, 22 Jul 2010 15:10:00 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/wordpress/?p=8</guid> 
      <description>&lt;p&gt;I have just discovered the &lt;a href=&#34;http://gitstats.sourceforge.net/&#34;&gt;gitstats&lt;/a&gt; tool, and quickly put together a set of statistics on the development of CryptoMiniSat, the SAT solver I have been working on lately. I have been using the GIT repository for most of my work on CryptoMiniSat, doing ~2000 commits since its inception, so it gives a good picture of how things evolved, and how I usually work. Firstly, the hours I usually work:&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;https://www.msoos.org/wordpress/wp-content/uploads/2010/08/hour_of_day.png&#34;&gt;&lt;img loading=&#34;lazy&#34; src=&#34;https://www.msoos.org/wordpress/wp-content/uploads/2010/08/hour_of_day.png&#34;&gt;&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>The 2010 SAT Conference</title>
      <link>https://www.msoos.org/2010/07/the-2010-sat-conference/</link>
      <pubDate>Mon, 12 Jul 2010 19:04:00 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/wordpress/?p=10</guid> 
      <description>&lt;p&gt;I am currently at the &lt;a href=&#34;http://ie.technion.ac.il/SAT10/&#34;&gt;SAT 2010 conference&lt;/a&gt;, in Edinburgh. It is my second SAT conference, but the first one where I finally have a chance to know who is who. I had a chance to talk to some great researchers. For instance, I talked to (in no particular order) Armin Biere (author of PrecoSat and Lingeling), Niklas Een, Niklas Sörensson (authors of MiniSat &amp;ndash; &lt;a href=&#34;http://minisat.se/downloads/minisat-2.2.0.tar.gz&#34;&gt;new version&lt;/a&gt; is out, btw), Marijn Heule (author of the march_* set of solvers), Matti Järvisalo (one of the authors of Blocked Clause Elimination), the author of MiraXT, and many others. It&amp;rsquo;s really a great place to meet up people and get a grasp on what SAT is really about. It&amp;rsquo;s also a great way to understand the motivation behind certain ideas, and to hear the problems encountered by others.&lt;/p&gt;</description>
    </item>
    <item>
      <title>On research in general</title>
      <link>https://www.msoos.org/2010/04/on-research-in-general/</link>
      <pubDate>Thu, 01 Apr 2010 19:29:00 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/wordpress/?p=31</guid> 
      <description>&lt;p&gt;I am not sure I am qualified to talk about research in general, but I will try to do my best.&lt;/p&gt;
&lt;p&gt;To me, it seems that the research community of any given topic is pretty small. The reason for this is many-fold. Firstly, I suspect that the number of qualified individuals willing to work for a relatively small pay (but with many benefits, like flexible schedule, less stress, etc.) is relatively small. Secondly, any given topic usually reaches a maturity level where the subdomains are very clear, and it is very difficult to say anything reasonably good about a subdomain that one is not acquainted with. For instance, Knuth&amp;rsquo;s books are brilliant, but even he (someone who is like a semi-god in computer science) acknowledges that he simply cannot be an authority on all the topics covered in the 4th volume of his series. (BTW I just bought Vol4F0 and Vol4F1, wainting for amazon to ship now).&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
