<?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>Wonderings of a SAT geek</title>
    <link>https://www.msoos.org/</link>
    <description>Recent content on Wonderings of a SAT geek</description>
    <generator>Hugo</generator>
    <language>en-US</language>
    <lastBuildDate>Sat, 03 Oct 2026 11:14:00 +0000</lastBuildDate>
    <atom:link href="https://www.msoos.org/feed.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Incentives in Academic Research</title>
      <link>https://www.msoos.org/2026/10/incentives-in-academic-research/</link>
      <pubDate>Sat, 03 Oct 2026 11:14:00 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=3670</guid> 
      <description>&lt;figure class=&#34;alignright&#34;&gt;
    &lt;img loading=&#34;lazy&#34; src=&#34;https://www.msoos.org/wordpress/wp-content/uploads/2026/10/stalker.jpg&#34;
         alt=&#34;Andrei Tarkovsky&amp;rsquo;s Stalker (1979)&#34; width=&#34;392&#34;/&gt; &lt;figcaption&gt;
            &lt;p&gt;Andrei Tarkovsky&amp;rsquo;s Stalker (1979)&lt;/p&gt;
        &lt;/figcaption&gt;
&lt;/figure&gt;

&lt;p&gt;Charlie Munger said: &amp;ldquo;Show me the incentive and I will show you the outcome&amp;rdquo;. The issue with Academic Research, in my opinion, is that the outcomes have drifted very far away from the original goal, which I believe to be the advancement of scientific understanding, and training of the new generation of researchers. Academic research was meant to be about breaking new ground, keeping to honesty and good scientific conduct, being clear and upfront about uncertainties, errors, and mistakes, and improving our common understanding of science, all the while training the new generation to follow these goals and principles.&lt;/p&gt;</description>
    </item>
    <item>
      <title>CryptoMiniSat on XNF Benchmarks, Revisited</title>
      <link>https://www.msoos.org/2026/09/cryptominisat-on-xnf-benchmarks-revisited/</link>
      <pubDate>Sun, 13 Sep 2026 19:54:33 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=3656</guid> 
      <description>&lt;p&gt;I was quite hopeful when I first saw the XNF solver &lt;a href=&#34;https://github.com/j-danner/2-Xornado&#34;&gt;2-Xornado&lt;/a&gt;, and then &lt;a href=&#34;https://github.com/j-danner/Xorricane/&#34;&gt;Xorricane&lt;/a&gt;, which solve so-called XOR-OR-AND (XNF) problems, i.e. problems written in the format &amp;ldquo;(a XOR b XOR c) or (f XOR NOT g)&amp;rdquo;. The two papers about this family of solvers were [ &lt;a href=&#34;https://arxiv.org/pdf/2311.00733&#34;&gt;PDF1&lt;/a&gt;][ &lt;a href=&#34;https://dl.acm.org/doi/epdf/10.1613/jair.1.20298&#34;&gt;PDF2&lt;/a&gt;], and the results looked impressive. They could outdo &lt;a href=&#34;https://github.com/msoos/cryptominisat&#34;&gt;CryptoMiniSat&lt;/a&gt;, my CNF-XOR solver, on a bunch of instance families. To be honest, I suspected a cutoff being fired, but I was also hopeful and didn&amp;rsquo;t want to be the annoying person in the way of new research. Then the Xorcle paper dropped [ &lt;a href=&#34;https://arxiv.org/pdf/2605.15002&#34;&gt;PDF&lt;/a&gt;] and my collaborator asked me to take a look. This led me down a rabbit hole of figuring out that in fact, all these years, XNF solvers have been comparing against CryptoMiniSat in a somewhat unflattering way.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Ganak: The Making of a Versatile, High Performance Model Counter</title>
      <link>https://www.msoos.org/2026/03/ganak-the-making-of-a-versatile-high-performance-model-counter/</link>
      <pubDate>Sun, 01 Mar 2026 18:34:45 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=3631</guid> 
      <description>&lt;p&gt;Ganak (&lt;a href=&#34;https://github.com/meelgroup/ganak&#34;&gt;github&lt;/a&gt;), our propositional model counter, has won every single model counting competition track for the past two years. Perhaps it&amp;rsquo;s time to explain how that came about, and what are the ingredients of such a tool. Firstly, a propositional model counter is a tool that counts how many solutions there are to a set of boolean constraints of the form:&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;a V b
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;b V -c
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;This set of constraints has the following possible solutions:&lt;/p&gt;</description>
    </item>
    <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>Ethereum in the age of AOL</title>
      <link>https://www.msoos.org/2025/03/ethereum-in-the-age-of-aol/</link>
      <pubDate>Fri, 21 Mar 2025 09:56:20 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=3568</guid> 
      <description>&lt;p&gt;Imagine you are super-excited about some new technology that&amp;rsquo;s enabled by the internet, say, Google, and instead of investing in Google, i.e. buying Google stock, you start buying AT&amp;amp;T stock. Or let&amp;rsquo;s say Facebook just came out, and it&amp;rsquo;s the hottest thing. Everyone wants Facebook. So instead of investing in Facebook stock, you start buying AT&amp;amp;T stock. It&amp;rsquo;d be just weird, right? But that&amp;rsquo;s what seems to be happening in the crypto space.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Computing Tricky Probabilities</title>
      <link>https://www.msoos.org/2025/02/computing-tricky-probabilities/</link>
      <pubDate>Sun, 09 Feb 2025 14:33:24 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=3563</guid> 
      <description>&lt;p&gt;Probabilities of certain events are really hard to estimate sometimes. Often, it&amp;rsquo;s because we lack information of the underlying causal chains, but sometimes, it&amp;rsquo;s because the causes are so intertwined that even if we know the underlying probabilities of certain events happening along with the causal chains, it&amp;rsquo;s still impossible for us to untangle the web.&lt;/p&gt;
&lt;p&gt;Let&amp;rsquo;s say there&amp;rsquo;s an event X has a probability of 0.4, Y has a probability of 0.6, and Z happens if either X or Y happens, but X and Y can&amp;rsquo;t happen at the same time, with a probability of 0.8. What&amp;rsquo;s the probability of Z happening?&lt;/p&gt;</description>
    </item>
    <item>
      <title>Some food for thought: great content on the Internet</title>
      <link>https://www.msoos.org/2024/12/some-food-for-thought-great-content-on-the-internet/</link>
      <pubDate>Thu, 19 Dec 2024 21:49:39 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=3548</guid> 
      <description>&lt;p&gt;The Internet is a pretty vast place. So I decided to curate a few links for you all for this special end-of-year period:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://vimeo.com/41786246&#34;&gt;https://vimeo.com/41786246&lt;/a&gt; A film about&amp;hellip; a couch. That balances on a single leg. And sometimes falls, and falls apart, but with some care, and compassion, can be pieced back together.&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.theparisreview.org/blog/2017/02/15/rhythmical-lines/&#34;&gt;https://www.theparisreview.org/blog/2017/02/15/rhythmical-lines/&lt;/a&gt; An article on unbroken lines, drawn by Wacław Szpakowski, who did it as a form of doodling.&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;http://astronaut.io/&#34;&gt;http://astronaut.io/&lt;/a&gt; This website is an art piece about the world, I think, made of small, randomly selected videos.&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://interfacecritique.net/book/olia-lialina-from-my-to-me/&#34;&gt;https://interfacecritique.net/book/olia-lialina-from-my-to-me/&lt;/a&gt; An article about the old internet, and why we should have and cultivate our own space on the interwebs. By one of my favourite aritsts, Olia Lialina&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.theparisreview.org/blog/2014/07/28/working-on-my-novel/&#34;&gt;https://www.theparisreview.org/blog/2014/07/28/working-on-my-novel/&lt;/a&gt; About a book that is made of a set of tweets that contains the phrase &amp;ldquo;working on my novel.&amp;rdquo; A surreal experience.&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.marxists.org/archive/brecht/works/1935/questions.htm&#34;&gt;https://www.marxists.org/archive/brecht/works/1935/questions.htm&lt;/a&gt; A short poem by Bertold Brecht about who did what, questioning why we only remember those in power.&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.newyorker.com/magazine/2016/08/29/michael-heizers-city&#34;&gt;https://www.newyorker.com/magazine/2016/08/29/michael-heizers-city&lt;/a&gt; About a land art piece by Michael Heizer, who is both a genius and is also rather crazy. His other work, Double Negative is truly beautiful (it&amp;rsquo;s literally a hole in the desert, but a beautiful hole, the best hole, and I mean it)&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://publicdelivery.org/agnes-denes-wheatfield/&#34;&gt;https://publicdelivery.org/agnes-denes-wheatfield/&lt;/a&gt; About a large wheat field, in the middle of Manhattan, that Ágnes Dénes sowed and then harvested, right in the view of the World Trade Center.&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.africavernaculararchitecture.com/&#34;&gt;https://www.africavernaculararchitecture.com/&lt;/a&gt; A classic 90s website about vernacular architecture in Africa. Some amazingly beautiful houses, built for the people, by the people, to live in. Click on a country and enjoy.&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://vimeo.com/58444378&#34;&gt;https://vimeo.com/58444378&lt;/a&gt; A mockumentary about a guy making music, caring for his father, trying to enjoy life, and remembering the things that didn&amp;rsquo;t work out, which he likens to Mount Everest, his Whateverest.&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.vincentmoon.com/map/&#34;&gt;https://www.vincentmoon.com/map/&lt;/a&gt; The map of places where Vincent Moon recorded traditional music preformed by locals. &lt;a href=&#34;https://www.vincentmoon.com/filmography/fydalty-namys-polyphonic-voices-from-north-ossetia/&#34;&gt;Here&lt;/a&gt; is one for a taster. If you listen patiently, with intent, you might find that there&amp;rsquo;s a lot of beautiful music out there.&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.ryojiikeda.com/project/testpattern/&#34;&gt;https://www.ryojiikeda.com/project/testpattern/&lt;/a&gt; A set of test patterns, projected over a large space, that allows people to lay down, walk around, and explore. To be coupled with his strange but &lt;a href=&#34;https://open.spotify.com/track/3Spgnf1lO6QFGlWLO2aECt?si=4dbe4ba9a7aa4f1a&#34;&gt;fascinating noise music&lt;/a&gt;. I went to his concert, it&amp;rsquo;s exactly as weird as you&amp;rsquo;d imagine. He never said hello, goodbye, or left any space to clap.&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://whatever.scalzi.com/2005/09/03/being-poor/&#34;&gt;https://whatever.scalzi.com/2005/09/03/being-poor/&lt;/a&gt; What it means to be poor by Scalzi. Watch out for the comment by her own sister. Back in the days of the interwebs when comments added value.&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://recorderfilm.com/&#34;&gt;The Marion Stokes Project&lt;/a&gt;, with its transcript in a &lt;a href=&#34;https://www.msoos.org/wordpress/wp-content/uploads/2026/07/recorder-the-marion-stokes-project.txt&#34;&gt;more accessible form&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.tate.org.uk/tate-etc/issue-10-summer-2007/excremental-value&#34;&gt;https://www.tate.org.uk/tate-etc/issue-10-summer-2007/excremental-value&lt;/a&gt; An article about my favourite artwork, Manzoni&amp;rsquo;s Merda d&amp;rsquo;Artista. In 1961 he put his own excrement into 90 small cans and sold them at the price of gold ($37/ounce). Over the years, it has outperformed gold by a factor of 70x. The guy with the banana stuck to the wall is a mere imitator by comparison (and 60 years late)&lt;/li&gt;
&lt;/ul&gt;
&lt;figure&gt;
    &lt;img loading=&#34;lazy&#34; src=&#34;https://www.msoos.org/wordpress/wp-content/uploads/2024/12/Agnes-Denes-Wheatfield-A-Confrontation-1982-Battery-Park-Landfill-Downtown-Manhattan-1-2-scaled-749723663.jpg&#34;/&gt; 
&lt;/figure&gt;

&lt;p&gt;Ágnes Dénes – &lt;em&gt;Wheatfield – A Confrontation&lt;/em&gt;, 1982, Battery Park Landfill, Downtown Manhattan, photo: John McGrall&lt;/p&gt;</description>
    </item>
    <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>Our tools for solving, counting and sampling</title>
      <link>https://www.msoos.org/2024/02/our-tools-for-solving-counting-and-sampling/</link>
      <pubDate>Sun, 18 Feb 2024 20:46:58 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=3520</guid> 
      <description>&lt;p&gt;This post is just a bit of a recap of what we have developed over the years as part of our toolset of SAT solvers, counters, and samplers. Many of these tools depend on each other, and have taken greatly from other tools, papers, and ideas. These dependencies are too long to list here, but the list is long, probably starting somewhere around the &lt;a href=&#34;https://en.wikipedia.org/wiki/Thales_of_Miletus#Mathematics&#34;&gt;Greek period&lt;/a&gt;, and goes all the way to recent work such as &lt;a href=&#34;https://github.com/Laakeri/sharpsat-td&#34;&gt;SharpSAT-td&lt;/a&gt; or &lt;a href=&#34;http://www.cril.univ-artois.fr/KC/bpe2.html&#34;&gt;B+E&lt;/a&gt;. My personal work stretches back to the beginning of &lt;a href=&#34;https://github.com/msoos/cryptominisat&#34;&gt;CryptoMiniSat&lt;/a&gt; in 2009, and the last addition to our list is &lt;a href=&#34;https://github.com/meelgroup/pepin&#34;&gt;Pepin&lt;/a&gt;.&lt;/p&gt;</description>
    </item>
    <item>
      <title>The Inprocessing API of CryptoMiniSat</title>
      <link>https://www.msoos.org/2023/10/the-inprocessing-api-of-cryptominisat/</link>
      <pubDate>Sun, 01 Oct 2023 14:08:37 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=3512</guid> 
      <description>&lt;p&gt;Many modern SAT solvers do a lot of what&amp;rsquo;s called inprocessing. These steps simplify the CNF into something that is easier to solve. In the compiler world, these are called &lt;a href=&#34;https://en.wikipedia.org/wiki/Rewriting&#34;&gt;rewritngs&lt;/a&gt; since the effectively rewrite (parts of) the formula to something else that retain certain properties, such as satisfiability. One of the most successful such rewrite rules for CNF is Bounded Variable Elimination (BVE, &lt;a href=&#34;https://fmv.jku.at/papers/EenBiere-SAT05.pdf&#34;&gt;classic paper here&lt;/a&gt;), but there are many others. These rewrites are usually done by modern SAT solvers in a particular order that was found to be working well for their particular use-case, but they are not normally accessible from the outside.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Pepin, our Probabilistic Approximate Volume Counter</title>
      <link>https://www.msoos.org/2023/09/pepin-our-probabilistic-approximate-volume-counter/</link>
      <pubDate>Sat, 23 Sep 2023 19:24:06 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=3484</guid> 
      <description>&lt;p&gt;Let&amp;rsquo;s say you are allowed to have cubes in a 3-dimensional space that happens to be binary. In this space, x1, x2, and x3 are the axis, and for example the cube x1=0 is a cube that happens to have 4 points in it: 000, 001, 010, and 011. So far, so good. Now, let&amp;rsquo;s say we need to calculate the total volume of two cubes in this space. If they don&amp;rsquo;t intersect, it&amp;rsquo;s quite easy, we simply add their volumes. But what if they intersect? Now we need to compute their overlap, and subtract it from their sum of volumes. But there is a better way.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Arjun, our New CNF Model Counting Preprocessor</title>
      <link>https://www.msoos.org/2022/08/arjun-our-new-cnf-model-counting-preprocessor/</link>
      <pubDate>Wed, 24 Aug 2022 19:34:27 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=3450</guid> 
      <description>&lt;p&gt;After many years of work, I am very happy to present our new CNF model counting preprocessor, &lt;a href=&#34;https://github.com/meelgroup/arjun&#34;&gt;Arjun&lt;/a&gt; [ &lt;a href=&#34;https://www.msoos.org/wordpress/wp-content/uploads/2022/08/arjun.pdf&#34;&gt;PDF&lt;/a&gt;][ &lt;a href=&#34;https://www.msoos.org/largefiles/arjun-43b17ef58-9bf1d82a7-64blinux-static.gz&#34;&gt;static binary&lt;/a&gt;]. It improves upon our approximate model counter ApproxMC [ &lt;a href=&#34;https://www.msoos.org/largefiles/approxmc-9fb4fdd-9bf1d82a7-43b17ef58-64blinux-static.gz&#34;&gt;static binary&lt;/a&gt;], and can be used as a stand-alone binary to preprocess CNFs for (projected) model counting . Usage is simple:&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;./arjun blasted_case110.cnf
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;c Arjun Version: 43b17ef5899c461b8e947b0f3ca286efcf71464c
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;c CMS SHA revision 9bf1d82a7b9fa5492cf4f0437cf7110b77ad7230
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;[..]
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;c [arjun] original sampling set size: 284
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;c [arjun] final set size:   15 percent of original: 5.2817 %
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Here, Arjun took a CNF that had a projection set of 284 variables, and reduced it to an independent support of only 15 variables. Arjun is now part of ApproxMC by default. Let&amp;rsquo;s solve a problem with ApproxMC without Arjun:&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>A Tale of Shift Left, Shift Right, and MEV</title>
      <link>https://www.msoos.org/2022/05/a-tale-of-shift-left-shift-right-and-mev/</link>
      <pubDate>Fri, 13 May 2022 21:26:32 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=3407</guid> 
      <description>&lt;p&gt;The NIST &lt;a href=&#34;https://www.nist.gov/cyberframework/online-learning/five-functions&#34;&gt;Cybersecurity Framework&amp;rsquo;s five Functions&lt;/a&gt; are: Identify, Protect, Detect, Respond, and Recover. Within this framework &amp;ldquo;shift left&amp;rdquo; means that we shift our focus towards Identify and Protect, i.e. towards fixing issues before our system is deployed into production. Say, if you have a bug in your Apple Store/Google Play app, you&amp;rsquo;d prefer fixing it before you deploy it to the internet, or, similarly you prefer fixing the bug in your cryptocurrency contract before you deploy it in the wild (i.e. &amp;ldquo;on the mainnet&amp;rdquo;). While shift left makes lots of sense (let&amp;rsquo;s prevent the issue in the first place!), in many cases, preventing all issues is likely impossible.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Proof Traces for SAT solvers</title>
      <link>https://www.msoos.org/2022/04/proof-traces-for-sat-solvers/</link>
      <pubDate>Tue, 12 Apr 2022 20:56:11 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=3391</guid> 
      <description>&lt;p&gt;If you have a look at a modern SAT solver, say &lt;a href=&#34;https://github.com/arminbiere/kissat&#34;&gt;kissat&lt;/a&gt; or &lt;a href=&#34;https://github.com/msoos/cryptominisat&#34;&gt;CryptoMiniSat&lt;/a&gt;, you&amp;rsquo;ll see that they have well over 20k lines of code. Reviewing that for bugs is basically impossible. So how can you trust that the solver is giving a correct result? Well, if the result is that the input formula is satisfiable, it&amp;rsquo;s quite easy &amp;ndash; we can simply substitute the solution (all modern SAT solvers provide a satisfying assignment) to the formula, and it should satisfy each constraint. This is really fast to do, linear in the size of the formula.&lt;/p&gt;</description>
    </item>
    <item>
      <title>CMSGen, a Fast Uniform-Like Sampler</title>
      <link>https://www.msoos.org/2021/09/cmsgen-a-fast-uniform-like-sampler/</link>
      <pubDate>Sat, 18 Sep 2021 09:03:22 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=3379</guid> 
      <description>&lt;p&gt;Uniform sampling is a problem where you are given a solution space and you have to present solutions uniformly, at random. In some cases, this is quite simple, say, for the lotto. Just pick 5 random numbers from a box and we are done! For the lotto the solution space is very easy to generate. However, when there are constraints on the solution space, it starts to get tricky.&lt;/p&gt;
&lt;p&gt;Let&amp;rsquo;s say that I have a function I want to test, but the input to the function has some real-world constraints like e.g. the 1st parameter must be larger than the second, the 2nd parameter must be divisible by the 3rd etc. If I want to test that this function operates correctly, one way to do it is to generate 100 uniformly random inputs that don&amp;rsquo;t violate any of the constraints, run the function, and see if all is OK. For this, I need a fast way of generating uniform samples given the constraints on the solution space.&lt;/p&gt;</description>
    </item>
    <item>
      <title>CryptoMiniSat 5.8.0 Released</title>
      <link>https://www.msoos.org/2020/07/cryptominisat-5-8-0-released/</link>
      <pubDate>Sun, 26 Jul 2020 21:05:19 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=3350</guid> 
      <description>&lt;p&gt;After many months of work, CryptoMiniSat 5.8.0 has been &lt;a href=&#34;https://github.com/msoos/cryptominisat/releases/tag/5.8.0&#34;&gt;released&lt;/a&gt;. In this post I&amp;rsquo;ll go through the most important changes, and how they helped the solver to be faster and &lt;a href=&#34;https://satcompetition.github.io/2020/results.html&#34;&gt;win a few awards&lt;/a&gt;, among them 1st place at the SAT incremental track, 3rd place SAT Main track, and 2nd&amp;amp;3d place in the SMT BitVector tracks together with the STP and MinkeyRink solvers.&lt;/p&gt;
&lt;h2 id=&#34;gauss-jordan-elimination&#34;&gt;Gauss-Jordan Elimination&lt;/h2&gt;
&lt;p&gt;First and foremost, Gauss-Jordan elimination at all levels of the search is now enabled by default. This is thanks to the work detailed in the CAV 2020 &lt;a href=&#34;https://www.comp.nus.edu.sg/~meel/Papers/cav20-sgm.pdf&#34;&gt;paper&lt;/a&gt; (video &lt;a href=&#34;https://youtu.be/C3YCFnNPD4Y?t=3068&#34;&gt;here&lt;/a&gt;). The gist of the paper is that we take advantage of the bit-packed matrix and some clever bit field filters to quickly check whether an XOR constraint is propagating, conflicting, or neither. This, and a variety of other improvements lead to about 3-10x speedup for the Gauss-Jordan elimination procedure.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Weighted to Unweighted Counting and Sampling</title>
      <link>https://www.msoos.org/2019/12/weighted-to-unweighted-counting-and-sampling/</link>
      <pubDate>Mon, 23 Dec 2019 19:15:20 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=3343</guid> 
      <description>&lt;p&gt;This blog post is to promote the tool &lt;a href=&#34;https://github.com/meelgroup/weighted-to-unweighted&#34;&gt;here&lt;/a&gt; (paper &lt;a href=&#34;https://www.comp.nus.edu.sg/~meel/Papers/ijcai15.pdf&#34;&gt;here&lt;/a&gt;) that converts weighted counting and sampling to their unweighted counterparts. It turns out that weighted counting and sampling is a thing. It&amp;rsquo;s basically a &lt;a href=&#34;https://en.wikipedia.org/wiki/Conjunctive_normal_form&#34;&gt;conjunctive normal form formula&lt;/a&gt;, a CNF, with weights attached to each variable. One must count the number of solutions to the CNF, where the weight of each solution is not necessarily 1, but weighted according to the polarity of each variable in the solution. One such formula could look like:&lt;/p&gt;</description>
    </item>
    <item>
      <title>CrystalBall: SAT solving, Data Gathering, and Machine Learning</title>
      <link>https://www.msoos.org/2019/06/crystalball-sat-solving-data-gathering-and-machine-learning/</link>
      <pubDate>Fri, 14 Jun 2019 18:34:17 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=3281</guid> 
      <description>&lt;p&gt;This is going to be a long post, collecting many years of work, some of which was done by my colleagues &lt;a href=&#34;https://www.comp.nus.edu.sg/~meel/&#34;&gt;Kuldeep Meel&lt;/a&gt; and &lt;a href=&#34;https://dblp.uni-trier.de/pers/hd/k/Kulkarni:Raghav&#34;&gt;Raghav Kulkarni&lt;/a&gt;. They have both significantly contributed to this work and I owe a lot to both. The research paper is available &lt;a href=&#34;https://www.msoos.org/wordpress/wp-content/uploads/2019/06/sat19-skm.pdf&#34;&gt;here&lt;/a&gt; (accepted to &lt;a href=&#34;https://10times.com/sat-lisbon&#34;&gt;SAT&#39;2019&lt;/a&gt;) and the code is available &lt;a href=&#34;https://github.com/msoos/cryptominisat/tree/crystalball&#34;&gt;here&lt;/a&gt;. Build instructions are at the bottom of the post. Part 2 will deal with exploring the data in more detail.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Cookie Policy</title>
      <link>https://www.msoos.org/cookie-policy/</link>
      <pubDate>Sun, 14 Apr 2019 09:15:36 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?page_id=3276</guid> 
      <description>&lt;h3 id=&#34;about-this-cookie-policy&#34;&gt;About this cookie policy&lt;/h3&gt;
&lt;p&gt;This Cookie Policy explains what cookies are and how we use them. You should read this policy to understand what cookies are, how we use them, the types of cookies we use i.e, the information we collect using cookies and how that information is used and how to control the cookie preferences. For further information on how we use, store and keep your personal data secure, see our Privacy Policy.&lt;/p&gt;</description>
    </item>
    <item>
      <title>SAT Solvers as Smart Search Engines</title>
      <link>https://www.msoos.org/2019/02/sat-solvers-as-smart-search-engines/</link>
      <pubDate>Wed, 13 Feb 2019 21:47:15 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=3263</guid> 
      <description>&lt;p&gt;&lt;a href=&#34;https://en.wikipedia.org/wiki/Boolean_satisfiability_problem&#34;&gt;Satisfiability problem solvers,&lt;/a&gt; or SAT solvers for short, try to find a solution to decidable, finite problems such as cryptography, planning, scheduling, and the like. They are very finely tuned engines that can be looked at in two main ways . One is to see them as proof generators, where the SAT solver is building a proof of unsatisfiability as it runs, i.e. it tries to prove that there is no solution to the problem. Another way is to see SAT solvers as smart search engines. In this blog post, I&amp;rsquo;ll take this latter view and try to explain why I think intermediary variables are important. So, for the sake of argument, let&amp;rsquo;s forget that SAT solvers sometimes restart the search (forgetting where they were before) and learn clauses (cutting down the search space and remembering where not go again). Let&amp;rsquo;s just pretend all they do is search.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Bosphorus, an ANF and CNF simplifier and converter</title>
      <link>https://www.msoos.org/2019/01/bosphorus-an-anf-and-cnf-simplifier-and-converter/</link>
      <pubDate>Fri, 04 Jan 2019 23:46:12 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=3258</guid> 
      <description>&lt;p&gt;I am happy to finally release a piece of work that I have started many years ago at &lt;a href=&#34;https://srlabs.de/&#34;&gt;Security Research Labs&lt;/a&gt; (many thanks to Karsten Nohl there). Back in the days, it helped us to break multiple real-world ciphers. The released system is called &lt;a href=&#34;https://github.com/meelgroup/bosphorus&#34;&gt;Bosphorus&lt;/a&gt; and has been released with major, game-changing work by Davin Choo and Kian Ming A. Chai from &lt;a href=&#34;https://www.dso.org.sg/&#34;&gt;DSO National Laboratories&lt;/a&gt; Singapore and great help by &lt;a href=&#34;https://www.comp.nus.edu.sg/~meel/&#34;&gt;Kuldeep Meel&lt;/a&gt; from NUS. The &lt;a href=&#34;https://www.comp.nus.edu.sg/~meel/Papers/date-cscm19.pdf&#34;&gt;paper&lt;/a&gt; will be published at the &lt;a href=&#34;https://www.date-conference.com/&#34;&gt;DATE 2019&lt;/a&gt; conference.&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>ApproxMCv3, a modern approximate model counter</title>
      <link>https://www.msoos.org/2018/11/approxmcv3-a-modern-approximate-model-counter/</link>
      <pubDate>Sun, 25 Nov 2018 20:33:16 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=3213</guid> 
      <description>&lt;p&gt;This blogpost and its underlying work has been brewing for many years, and I&amp;rsquo;m extremely happy to be able to share it with you now. Kuldeep Meel and myself have been working very hard on speeding up approximate model counting for SAT and I think we have made real progress. The research paper, accepted at AAAI-19 is available &lt;a href=&#34;https://www.comp.nus.edu.sg/~meel/Papers/aaai19-sm.pdf&#34;&gt;here&lt;/a&gt;. The code is available &lt;a href=&#34;https://github.com/meelgroup/ApproxMC&#34;&gt;here&lt;/a&gt; (release with static binary &lt;a href=&#34;https://github.com/meelgroup/ApproxMC/releases&#34;&gt;here&lt;/a&gt;). The main result is that we can solve a &lt;strong&gt;lot&lt;/strong&gt; more problems than before. The speed of solving is orders(!) of magnitude faster than the previous best system:&lt;/p&gt;</description>
    </item>
    <item>
      <title>The Cult of Security/Privacy By Design</title>
      <link>https://www.msoos.org/2018/09/the-cult-of-security-privacy-by-design/</link>
      <pubDate>Thu, 13 Sep 2018 17:21:03 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=3189</guid> 
      <description>&lt;p&gt;I have been reading a lot of privacy literature lately and the more I read, the more I got frustrated with the &amp;ldquo;&lt;a href=&#34;https://iab.org/wp-content/IAB-uploads/2011/03/fred_carter.pdf&#34;&gt;Privacy by Design&lt;/a&gt;&amp;rdquo; motto. It somehow was not right, and made me realise that &amp;ldquo;Security by Design&amp;rdquo; motto is similarly hyped and is just as misguided. Let me explain.&lt;/p&gt;
&lt;h3 id=&#34;why-securityprivacy-wasnt-baked-in-at-the-start&#34;&gt;Why security/privacy wasn&amp;rsquo;t baked in at the start&lt;/h3&gt;
&lt;p&gt;First of all, the basics: &amp;ldquo;X by Design&amp;rdquo; means that security/privacy is baked into the product from the inception and design through to implementation,  and all the way to operation. This of course sounds great, and one can easily see that trying to retroactively implement security or privacy features/requirements into an already existing product is a lot harder than baking it in all from the start. Where I think this starts to fall apart is that often, the reason for something being only &amp;ldquo;an afterthought&amp;rdquo; is not that it wasn&amp;rsquo;t actually considered while e.g. conceptualizing the product. It&amp;rsquo;s because it was considered but either:&lt;/p&gt;</description>
    </item>
    <item>
      <title>CryptoMiniSat and Parallel SAT Solving</title>
      <link>https://www.msoos.org/2018/07/cryptominisat-and-parallel-sat-solving/</link>
      <pubDate>Sun, 15 Jul 2018 10:53:15 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=3176</guid> 
      <description>&lt;p&gt;Since CryptoMiniSat has been getting quite a number of awards with parallel SAT solving, it&amp;rsquo;s about time I talk about how it does that.There is a ton of literature on parallel SAT solving, and I unfortunately I have barely had time to read any of them. The only research within the parallel SAT solving area that I think has truly weathered the test of time is &lt;a href=&#34;http://fmv.jku.at/lingeling/&#34;&gt;Plingeling and Treengeling&lt;/a&gt; -- and they are really interesting to play with. The rest most likely  has some merit too, but I am usually suspect as the results are often &amp;ndash;unintentionally &amp;ndash; skewed to show how well the new idea performs and in the end they rarely win too many awards, especially not in the long run (this is where Plingeling and Treengeling truly shine). I personally haven&amp;rsquo;t published what I do in this scene because I have always found it to be a bit too easy and to hence have little merit for publication &amp;ndash; but maybe one day I will.&lt;/p&gt;</description>
    </item>
    <item>
      <title>CryptoMiniSat 5.6.3 Released</title>
      <link>https://www.msoos.org/2018/06/cryptominisat-5-6-3-released/</link>
      <pubDate>Mon, 11 Jun 2018 07:21:29 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=3166</guid> 
      <description>&lt;p&gt;The latest CryptoMiniSat, version 5.6.3 has been &lt;a href=&#34;https://github.com/msoos/cryptominisat/releases/tag/5.6.3&#34;&gt;released&lt;/a&gt;. This release marks the 12&#39;000th commit to this solver that has weathered more than I originally intended it to weather. It&amp;rsquo;s been an interesting ride, and I have a lot to thank &lt;a href=&#34;http://www.comp.nus.edu.sg/~meel/&#34;&gt;Kuldeep&lt;/a&gt; and &lt;a href=&#34;https://www.nscc.sg/&#34;&gt;NSCC&lt;/a&gt;&amp;rsquo;s ASPIRE-1 cluster for this release. I have burned over 200k CPU hours to make this release, so it&amp;rsquo;s a pretty well-performing release (out-performing anything out there, by a wide margin), though I&amp;rsquo;m working &lt;em&gt;very&lt;/em&gt; hard to make sure that neither I nor anyone else will have to burn anything close to that to make a well-performing SAT solver.&lt;/p&gt;</description>
    </item>
    <item>
      <title>IT Security Differently</title>
      <link>https://www.msoos.org/2017/12/security_differently/</link>
      <pubDate>Mon, 25 Dec 2017 00:50:08 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=3063</guid> 
      <description>Compliance and regulations are one way to achieve IT security. If one looks at industries that have been around for a very long time, and have very high stakes, for example commercial airline travel, mining, oil&amp;amp;gas, etc., one can find compliance and regulations everywhere. It&amp;rsquo;s how safety is managed in these environments. I have always been fascinated with safety incidents and read a lot of reports around them &amp;ndash; these are almost always free to read and very detailed, unlike IT security incident reports. See for example the now very famous &lt;a href=&#34;https://www.e-education.psu.edu/files/meteo361/file/nasa_report.pdf&#34;&gt;Challenger Accident Report&lt;/a&gt; (&amp;ldquo;For a successful technology, reality must take precedence over public relations, for nature cannot be fooled.&amp;rdquo;) or the similarly famous, and more recent &lt;a href=&#34;https://www.bea.aero/docspa/2009/f-cp090601.en/pdf/f-cp090601.en.pdf&#34;&gt;AF-447 accident&lt;/a&gt; report. These are fascinating reads and if you are willing to read between the lines, they all talk about systems issues &amp;ndash; not a single person making a single mistake.</description>
    </item>
    <item>
      <title>Testing and pentesting, a road to effectiveness</title>
      <link>https://www.msoos.org/2017/05/testing-and-pentesting/</link>
      <pubDate>Sat, 27 May 2017 11:06:30 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=3026</guid> 
      <description>&lt;p&gt;I have been involved in computer security and security testing for a while and I think it&amp;rsquo;s time to talk about some aspects of it that get ignored, mostly for the worse. Let me just get this out of the way: security testing (or &lt;a href=&#34;https://en.wikipedia.org/wiki/Penetration_test&#34;&gt;pentesting&lt;/a&gt;, if you like) and testing are &lt;em&gt;very&lt;/em&gt; closely related.&lt;/p&gt;
&lt;h3 id=&#34;the-testing-pyramid&#34;&gt;The Testing Pyramid&lt;/h3&gt;
&lt;p&gt;What&amp;rsquo;s really good about security testing being so close to testing is that you can apply the standard, well-know and widely used techniques from testing to the relatively new field of security testing. First of all, this chart:
&lt;img loading=&#34;lazy&#34; src=&#34;http://www.msoos.org/wordpress/wp-content/uploads/2017/05/triangle3.png&#34;&gt;&lt;/p&gt;
</description>
    </item>
    <item>
      <title>Non-reproducible results with MapleCOMSPS</title>
      <link>https://www.msoos.org/2017/02/non-reproducible-maplecomsps/</link>
      <pubDate>Wed, 22 Feb 2017 00:11:31 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=3017</guid> 
      <description>&lt;p&gt;I&amp;rsquo;ve been reading through the source code of the &lt;a href=&#34;http://baldur.iti.kit.edu/sat-competition-2016/index.php?cat=results&#34;&gt;2016 SAT Competition&lt;/a&gt; Main Track winner, &lt;a href=&#34;https://sites.google.com/a/gsd.uwaterloo.ca/maplesat/&#34;&gt;MapleCOMSPS_DRUP&lt;/a&gt;, and I found that it has an important piece of code, regulating its behaviour that depends on timing:&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-c++&#34; data-lang=&#34;c++&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;static&lt;/span&gt; &lt;span style=&#34;color:#66d9ef&#34;&gt;bool&lt;/span&gt; switch_mode &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; false;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;static&lt;/span&gt; &lt;span style=&#34;color:#66d9ef&#34;&gt;void&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;SIGALRM_switch&lt;/span&gt;(&lt;span style=&#34;color:#66d9ef&#34;&gt;int&lt;/span&gt; signum) { switch_mode &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; true; }
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;lbool Solver&lt;span style=&#34;color:#f92672&#34;&gt;::&lt;/span&gt;solve_()
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;{
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    signal(SIGALRM, SIGALRM_switch);
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    alarm(&lt;span style=&#34;color:#ae81ff&#34;&gt;2500&lt;/span&gt;);
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description>
    </item>
    <item>
      <title>Why Most Published Research Findings Are False</title>
      <link>https://www.msoos.org/2017/01/why-most-published-research-false/</link>
      <pubDate>Fri, 27 Jan 2017 00:10:02 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=3011</guid> 
      <description>&lt;p&gt;I read this paper about &lt;a href=&#34;http://journals.plos.org/plosmedicine/article/file?id=10.1371/journal.pmed.0020124&amp;amp;type=printable&#34;&gt;most research findings being false&lt;/a&gt;. Given that most research papers in SAT take a sample size that is incredibly small (especially considering that it&amp;rsquo;s cheap to have large sample sizes relative to, e.g. medical trials), and the samples are very often hand-picked, it&amp;rsquo;s easy to see why this could be the case. But that article lists a number of other factors, too, and they are interesting to consider as well. Only few true innovations stick around in SAT (&lt;a href=&#34;http://www.ijcai.org/Proceedings/09/Papers/074.pdf&#34;&gt;glues&lt;/a&gt;, &lt;a href=&#34;http://www.princeton.edu/~chaff/publication/DAC2001v56.pdf&#34;&gt;VSIDS, UIP, restarts&lt;/a&gt;, etc). Most are forgotten because, frankly, they didn&amp;rsquo;t show the promise they purported to have. It&amp;rsquo;d be interesting to force authors to e.g. run their systems on much larger sample sizes (e.g. 2-3000 instances from SAT competitions) with much longer timeouts (e.g. 5000s). Then those implementing SAT solvers wouldn&amp;rsquo;t have to wade through piles of articles to get to something worth implementing. One is allowed to dream.&lt;/p&gt;</description>
    </item>
    <item>
      <title>CryptoMiniSat 5.0.1 released -- with MIT license</title>
      <link>https://www.msoos.org/2016/09/cryptominisat-5-0-1-released-with-mit-license/</link>
      <pubDate>Sat, 10 Sep 2016 14:17:29 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=3008</guid> 
      <description>&lt;p&gt;A new version of CryptoMiniSat, 5.0.1 has been &lt;a href=&#34;https://github.com/msoos/cryptominisat/releases/tag/5.0.1&#34;&gt;released&lt;/a&gt;. It is essentially only a release to mark the move to a much more permissive, MIT license. I am changing the license so that everyone can use the system as they wish, however they wish. I want to give back to the community I have been part of for so long, and so I am making this change. Thank you all for using the solver, it makes me happy that I have been able to help some with my hobby work.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Texas Executed Offenders&#39; Last Words</title>
      <link>https://www.msoos.org/2016/07/texas-executed-offenders-last-words/</link>
      <pubDate>Sun, 17 Jul 2016 11:01:22 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=2990</guid> 
      <description>&lt;p&gt;An artist friend of mine gave me this idea, so here is the list of the most used words of those &lt;a href=&#34;http://www.tdcj.state.tx.us/death_row/dr_executed_offenders.html&#34;&gt;executed in Texas&lt;/a&gt;, from their last statement:&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-plain&#34; data-lang=&#34;plain&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;word       frequency
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;-----------------------
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;     you   4.670330
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;     and   3.945360
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;     the   3.670635
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;     for   2.701465
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    love   2.419109 **
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    that   2.190171
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;     all   2.113858
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    have   1.663614
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    this   1.297314
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;   thank   1.030220 **
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    know   1.014957
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  family   0.969170 **
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    your   0.908120
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;     not   0.839438
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    will   0.808913
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;     god   0.801282 **
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    want   0.801282
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;   would   0.778388
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    with   0.755495
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;     i&amp;#39;m   0.755495
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;   sorry   0.747863 **
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    like   0.740232
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;     say   0.679182
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;     but   0.641026
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    life   0.595238 **
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    what   0.579976
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;   there   0.549451
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;   ya&amp;#39;ll   0.534188
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    hope   0.488400 **
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    them   0.488400
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description>
    </item>
    <item>
      <title>CryptoMiniSat 5.0.0 released</title>
      <link>https://www.msoos.org/2016/07/cryptominisat-5-0-0-released/</link>
      <pubDate>Wed, 06 Jul 2016 12:28:59 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=2976</guid> 
      <description>CryptoMiniSat 5.0.0, after winning the incremental track at &lt;a href=&#34;http://baldur.iti.kit.edu/sat-competition-2016/index.php?cat=results&#34;&gt;SAT Competition 2016&lt;/a&gt; and getting 3rd place at the parallel track, has been &lt;a href=&#34;https://github.com/msoos/cryptominisat/releases/tag/cryptominisat-5.0.0&#34;&gt;released&lt;/a&gt;. The new solver contains a number of important additions. The most important are that the solver can now be used as a preprocessor and Gauss-Jordan Elimination is back.</description>
    </item>
    <item>
      <title>Eight Pro Tips on Creating Better Software</title>
      <link>https://www.msoos.org/2016/04/eight-pro-tips-on-creating-better-software/</link>
      <pubDate>Tue, 05 Apr 2016 19:45:13 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=2941</guid> 
      <description>&lt;p&gt;I have been writing software for more than 20 years now. I thought it&amp;rsquo;s about time to gather my experiences and write some advice on building better software.&lt;/p&gt;
&lt;h3 id=&#34;1-solve-theright-problem&#34;&gt;1. Solve the right problem&lt;/h3&gt;
&lt;p&gt;It is all too often that one tries solving something  before understanding the problem at hand. We have a certain understanding of what the issue is, write something to solve it, but it turns out that we wrote the wrong solution because we misunderstood the problem. Do some research, read some articles, talk to people and read some books before attempting to solve a problem.&lt;/p&gt;
</description>
    </item>
    <item>
      <title>Memory layout of clauses in MiniSat</title>
      <link>https://www.msoos.org/2016/03/memory-layout-of-clauses-in-minisat/</link>
      <pubDate>Wed, 30 Mar 2016 00:30:12 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=2925</guid> 
      <description>&lt;p&gt;I have been trying to debug why some &lt;a href=&#34;https://github.com/niklasso/minisat&#34;&gt;MiniSat&lt;/a&gt;-based solvers perform better at &lt;a href=&#34;https://en.wikipedia.org/wiki/Unit_propagation&#34;&gt;unit propagation&lt;/a&gt; than CryptoMiniSat. It took me exactly 3 full days to find out and I&amp;rsquo;d like to share this tidbit of information with everyone, as I think it might be of interest and I hardly believe many understand it.&lt;/p&gt;
&lt;p&gt;The mystery of the faster unit propagation was that I tried my best to make my solver behave exactly as MiniSat to debug the issue, but even though it was behaving almost identically, it was still slower. It made no sense and I had to dig deeper. You have to understand that both solvers use their own memory managers. In fact, CryptoMiniSat had a memory manager before MiniSat. Memory managers are used so that the clauses are put close to one another so there is a chance that they are in the same memory page, or even better, close enough for them not to waste memory in the cache. This means that a contiguous memory space is reserved where the clauses are placed.&lt;/p&gt;
</description>
    </item>
    <item>
      <title>Benchmark randomisation for SAT Comp&#39;16</title>
      <link>https://www.msoos.org/2016/03/benchmark-randomisation-sat-competition2016/</link>
      <pubDate>Mon, 07 Mar 2016 22:00:27 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=2918</guid> 
      <description>Things are heating up for the &lt;a href=&#34;http://baldur.iti.kit.edu/sat-competition-2016/index.php&#34;&gt;SAT competition 2016&lt;/a&gt;. I will of course compete. However, I would publicly like to ask the organisers to please for the love of whatever you believe in, &lt;em&gt;please&lt;/em&gt; &lt;a href=&#34;http://www.msoos.org/2013/03/on-benchmark-randomization/&#34;&gt;randomise the benchmarks&lt;/a&gt;. Just a tiny, little bit. It&amp;rsquo;s ridiculous that people are tuning their solvers so they can solve some randomly solveable instance like the vmpc* series. It&amp;rsquo;s laughable and it&amp;rsquo;s making the whole community look bad. Really, it&amp;rsquo;s time to stop this madness. I wrote that article with a bunch of ideas in 2013. It&amp;rsquo;s time. Not even the largest of organisations move this slowly, and this is a research group of about 50 people max.</description>
    </item>
    <item>
      <title>On Testing and Security Engineering</title>
      <link>https://www.msoos.org/2015/11/on-testing-and-security-engineering/</link>
      <pubDate>Wed, 11 Nov 2015 23:45:20 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=2849</guid> 
      <description>I have been working in a large organization for quite a while now where I have seen a lot of testing going on. As an information security engineer, I naturally aligned more with testing and indeed, information security assurance does align well with testing: It&amp;rsquo;s done on a continuous basis, its results usually mean work for developers, operations people, system architects, etc. and not caring about it is equivalent to accepting unknown risks. Since I have been working in an environment where testing was paramount, I have been digging more and more into the testing literature.</description>
    </item>
    <item>
      <title>Testing CryptoMiniSat using GoogleTest</title>
      <link>https://www.msoos.org/2015/11/testing-cryptominisat-using-googletest/</link>
      <pubDate>Sun, 01 Nov 2015 22:13:46 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=2830</guid> 
      <description>&lt;p&gt;Lately, I have been working quite hard on writing module tests for CryptoMinisat using &lt;a href=&#34;https://code.google.com/p/googletest/&#34;&gt;GoogleTest&lt;/a&gt;. I&amp;rsquo;d like to share what I&amp;rsquo;ve learnt and what surprised me most about this exercise.&lt;/p&gt;
&lt;h2 id=&#34;an-example&#34;&gt;An example&lt;/h2&gt;
&lt;p&gt;First of all, let me show how a typical test looks like:&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;TEST_F(intree, fail_1)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;{
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    s-&amp;gt;add_clause_outer(str_to_cl(&amp;#34; 1,  2&amp;#34;));
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    s-&amp;gt;add_clause_outer(str_to_cl(&amp;#34;-2,  3&amp;#34;));
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    s-&amp;gt;add_clause_outer(str_to_cl(&amp;#34;-2, -3&amp;#34;));
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    inp-&amp;gt;intree_probe();
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    check_zero_assigned_lits_contains(s, &amp;#34;-2&amp;#34;);
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Here we are checking that &lt;a href=&#34;http://www.cs.utexas.edu/~marijn/cpaior2013.pdf&#34;&gt;intree probing&lt;/a&gt; finds that the set of three binary clauses cause a failure and it enqueues &amp;ldquo;-2&amp;rdquo; at top level. If one looks at it, it&amp;rsquo;s a fairly trivial test. It turns out that most are in fact, fairly trivial if the system is set up well. This test&amp;rsquo;s setup is the following test fixture:&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-gdscript3&#34; data-lang=&#34;gdscript3&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;struct intree : public ::testing::Test {
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    intree()
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    {
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        must_inter &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; false;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        s &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; new Solver(NULL, &lt;span style=&#34;color:#f92672&#34;&gt;&amp;amp;&lt;/span&gt;must_inter);
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        s&lt;span style=&#34;color:#f92672&#34;&gt;-&amp;gt;&lt;/span&gt;new_vars(&lt;span style=&#34;color:#ae81ff&#34;&gt;30&lt;/span&gt;);
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        inp &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; s&lt;span style=&#34;color:#f92672&#34;&gt;-&amp;gt;&lt;/span&gt;intree;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    }
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#f92672&#34;&gt;~&lt;/span&gt;intree()
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    {
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        delete s;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    }
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    Solver&lt;span style=&#34;color:#f92672&#34;&gt;*&lt;/span&gt; s;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    InTree&lt;span style=&#34;color:#f92672&#34;&gt;*&lt;/span&gt; inp;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#a6e22e&#34;&gt;bool&lt;/span&gt; must_inter;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;};
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&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>STP and CryptoMiniSat in the competitions of 2015</title>
      <link>https://www.msoos.org/2015/09/sat-race15-the-smt-comp15-cryptominisat-stp/</link>
      <pubDate>Sat, 26 Sep 2015 15:11:31 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=2805</guid> 
      <description>&lt;p&gt;Both the &lt;a href=&#34;http://baldur.iti.kit.edu/sat-race-2015/sr15.pdf&#34;&gt;SAT Race&lt;/a&gt; and the &lt;a href=&#34;http://smtcomp.sourceforge.net/2015/&#34;&gt;SMT competition&lt;/a&gt; of 2015 are now over. The results are in and it&amp;rsquo;s time to draw some conclusions. &lt;a href=&#34;https://github.com/msoos/cryptominisat/releases&#34;&gt;CryptoMiniSat&lt;/a&gt; won the SAT Race&amp;rsquo;s incremental solving track, and the SMT solver that uses (among other solvers) CryptoMiniSat, &lt;a href=&#34;http://cvc4.cs.nyu.edu/web/&#34;&gt;CVC4&lt;/a&gt;, won the SMT competiton. These two wins are not unrelated &amp;ndash; CryptoMiniSat is used in an incremental way by the CVC4 team. What CryptoMiniSat and &lt;a href=&#34;https://github.com/stp/stp/releases&#34;&gt;STP&lt;/a&gt; (the other project I work on) hasn&amp;rsquo;t done is win their respective main competitions. Let me reflect on these quickly.&lt;/p&gt;
&lt;h3 id=&#34;the-smt-competition&#34;&gt;The SMT competition&lt;/h3&gt;
&lt;p&gt;The SMT competition&amp;rsquo;s quantifier free boolean vector &lt;a href=&#34;http://smtcomp.sourceforge.net/2015/results-QF_BV.shtml?v=1443277739&#34;&gt;track&lt;/a&gt; (QF_BV) was won by &lt;a href=&#34;http://smtcomp.sourceforge.net/2015/results-QF_BV.shtml?v=1443277739&#34;&gt;Boolector&lt;/a&gt;.  Boolector is an amazing piece of engineering and so is the SAT solver it uses, &lt;a href=&#34;http://fmv.jku.at/lingeling/&#34;&gt;lingeling&lt;/a&gt;. Second was CVC using CryptoMiniSat and third was STP. The reason for STP being third was because I managed to add a bug into STP and never fuzzed it. So now &lt;a href=&#34;https://github.com/stp/stp/blob/master/scripts/fuzz_test.py&#34;&gt;fuzzing&lt;/a&gt; is part of the continuous integration suite. Without this bug, STP would have come pretty close to Boolector, of which I&amp;rsquo;m proud of.&lt;/p&gt;
&lt;p&gt;In general, STP needs to be greatly overhauled. It&amp;rsquo;s a legacy codebase with global variables, weird dependencies and long list of weirdnesses. It&amp;rsquo;s also performing amazingly well, so one needs to be careful how to approach it. I have been trying to cut it up and slice it any way I can so it makes more sense to read the code and work on it, but it&amp;rsquo;s still quite hard.&lt;/p&gt;
&lt;h3 id=&#34;the-sat-competition&#34;&gt;The SAT competition&lt;/h3&gt;
&lt;p&gt;The SAT competition had its share of surprises. One such surprise was that lingeling didn&amp;rsquo;t win any main prizes. I wonder why it wasn&amp;rsquo;t submitted to the incremental track, for example. Another surprise was the 1st and 2nd places of two solvers by the same author, &lt;a href=&#34;http://dblp.uni-trier.de/pers/hd/c/Chen:Jingchao&#34;&gt;Jingchao Chen&lt;/a&gt;, who unfortunately I have never met or conversed with. I was also a bit disappointed that CryptoMiniSat didn&amp;rsquo;t make it too high on the list. There have been a number of issues I tried to fix, but apparently  that wasn&amp;rsquo;t enough. I will be interested in the sources of the winning solvers, see if I can learn something from them.&lt;/p&gt;
&lt;p&gt;It&amp;rsquo;s really hard to create winning SAT solvers that behave well in all circumstances because it takes massive amount of time to code them up and properly test them. Especially the latter is really complicated and writing good test harnesses takes concentrated effort. My test scripts are easily over a thousand lines of code, mostly python. The continuous integration and build systems (both necessary for timely releases) are another thousand, and my AWS scripts for performance testing is almost a thousand as well. That&amp;rsquo;s more code than some early, well-performing SAT solvers had.&lt;/p&gt;
</description>
    </item>
    <item>
      <title>Setting up encrypted mail in Chrome and Gmail</title>
      <link>https://www.msoos.org/2015/09/setting-up-encrypted-mail-in-chrome-and-gmail/</link>
      <pubDate>Sat, 05 Sep 2015 20:29:45 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=2792</guid> 
      <description>&lt;p&gt;The use of Gmail is now ubiquitous. Unfortunately, it&amp;rsquo;s easy to read email in transit and some national governments abuse their power to read email in transit. I have always been using PGP to encrypt email, and today I thought I&amp;rsquo;d put down how to communicate with me, or with your friends, using signed and encrypted mail. I think the biggest reason email encryption is not being used is because it&amp;rsquo;s hard to set up. So, here is a simple, step-by-step tutorial that is easy to follow.&lt;/p&gt;
&lt;h2 id=&#34;installing-and-creating-a-key&#34;&gt;Installing and creating a key&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Install &lt;a href=&#34;https://chrome.google.com/webstore/detail/mailvelope/kajibbejlbohfaggdiogboambcijhkke?hl=en&#34;&gt;Mailvelope&lt;/a&gt;. Click &amp;ldquo;add to chrome&amp;rdquo;, pop-up appears, click &amp;ldquo;add&amp;rdquo;&lt;/li&gt;
&lt;li&gt;little padlock icon appears on the top right of your Chrome&lt;/li&gt;
&lt;li&gt;Click little padlock icon, click &amp;ldquo;Options&amp;rdquo;&lt;/li&gt;
&lt;li&gt;At the bottom, click &amp;ldquo;Generate key&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Fill in Name (you can put fictitious name, it&amp;rsquo;s good!), Email (the email you want to use, e.g. &lt;a href=&#34;mailto:Jon.Doe@gmail.com&#34;&gt;Jon.Doe@gmail.com&lt;/a&gt;), put in a password that you will remember. This password is never sent anywhere. It&amp;rsquo;s used so that when you want to read email that is encrypted to you, the encryption keys can be accessed.&lt;/li&gt;
&lt;li&gt;Click submit, wait for the generation to finish.&lt;/li&gt;
&lt;li&gt;Setup is done!&lt;/li&gt;
&lt;/ol&gt;</description>
    </item>
    <item>
      <title>Machine Learning and SAT</title>
      <link>https://www.msoos.org/2015/08/machine-learning-and-sat/</link>
      <pubDate>Sun, 09 Aug 2015 10:25:47 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=2755</guid> 
      <description>&lt;p&gt;I have lately been digging myself into a deep hole with machine learning. While doing that it occurred to me that the SAT community has essentially been trying to imitate some of ML in a somewhat poor way. Let me explain.&lt;/p&gt;
&lt;h3 id=&#34;cryptominisat-and-clause-cleaning-strategy-selection&#34;&gt;CryptoMiniSat and clause cleaning strategy selection&lt;/h3&gt;
&lt;p&gt;When CryptoMiniSat won the &lt;a href=&#34;http://baldur.iti.uka.de/sat-race-2010/results.html&#34;&gt;SAT Race of 2010&lt;/a&gt;, it was in large part because I realized that glucose at the time was &lt;a href=&#34;http://www.cril.univ-artois.fr/SAT09/results/globalbybench.php?idev=29&amp;amp;idcat=62&#34;&gt;essentially unable&lt;/a&gt; to solve cryptographic problems. I devised a system where I could &lt;a href=&#34;https://github.com/msoos/cryptominisat/blob/cryptominisat-2.9.7/cmsat/RestartTypeChooser.cpp&#34;&gt;detect which problems were cryptographic&lt;/a&gt;. It checked the activity stability of variables and if they were more stable than a threshold, it was decided that the problem was cryptographic. Cryptographic problems were then solved using a geometric restart strategy with clause activities for learnt database cleaning. Without this hack, it would have been impossible to win the competition.&lt;/p&gt;
</description>
    </item>
    <item>
      <title>Towards CryptoMiniSat 5.0</title>
      <link>https://www.msoos.org/2015/06/towards-cryptominisat-5/</link>
      <pubDate>Sun, 14 Jun 2015 15:42:40 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=2733</guid> 
      <description>&lt;p&gt;I have worked a lot on CryptoMiniSat 5.0 in the past months so I thought I&amp;rsquo;d write a little bit about what I spent my time on.&lt;/p&gt;
&lt;h3 id=&#34;amazon-aws&#34;&gt;Amazon AWS&lt;/h3&gt;
&lt;p&gt;I have put lots of effort into use &lt;a href=&#34;https://en.wikipedia.org/wiki/Amazon_Web_Services&#34;&gt;Amazon AWS&lt;/a&gt; service to run CMS. This is necessary in order to compete at the SAT competition where my competitors have access to massive resources, some to clusters having over 20k CPU cores. Competing against that with a 4-core machine like I did last year will simply not cut it.&lt;/p&gt;</description>
    </item>
    <item>
      <title>The past half year of SAT and SMT</title>
      <link>https://www.msoos.org/2015/05/the-past-half-year-of-sat-and-smt/</link>
      <pubDate>Mon, 25 May 2015 17:52:45 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=2711</guid> 
      <description>&lt;p&gt;It&amp;rsquo;s been a while I have blogged. Lots of things happened on the way, I met people, changed countries, jobs, etc. In the meanwhile, I have been trying to bite the bullet of what has become of CryptoMiniSat: last year, it didn&amp;rsquo;t perform too well in the &lt;a href=&#34;http://www.satcompetition.org/2014/results.shtml&#34;&gt;SAT competition&lt;/a&gt;. In the past half year I have tried to fix the underlying issues. Let me try to explain what and how exactly.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Faster cleaning of the learnt clause database</title>
      <link>https://www.msoos.org/2014/11/cleaning-the-learnt-clause-database-faster/</link>
      <pubDate>Sun, 16 Nov 2014 17:46:28 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=2674</guid> 
      <description>&lt;p&gt;In SAT solvers, removing unneeded learnt clauses from the clause database sounds like a trivial task: we somehow determine which clauses are not needed and we call remove() on them. However, in case performance is an issue, it can get a bit more more complicated.&lt;/p&gt;
&lt;h3 id=&#34;the-problem&#34;&gt;The problem&lt;/h3&gt;
&lt;p&gt;The issue at hand is that clauses are stored in two places: as a list of pointers to the clauses and in a list of lists called the watchlist. Removing clauses from either list can be an &lt;span class=&#34;katex&#34;&gt;&lt;span class=&#34;katex-mathml&#34;&gt;&lt;math xmlns=&#34;http://www.w3.org/1998/Math/MathML&#34;&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mi&gt;O&lt;/mi&gt;&lt;mo stretchy=&#34;false&#34;&gt;(&lt;/mo&gt;&lt;msup&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/msup&gt;&lt;mo stretchy=&#34;false&#34;&gt;)&lt;/mo&gt;&lt;/mrow&gt;&lt;annotation encoding=&#34;application/x-tex&#34;&gt;O(n^2)&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;span class=&#34;katex-html&#34; aria-hidden=&#34;true&#34;&gt;&lt;span class=&#34;katex-base&#34;&gt;&lt;span class=&#34;katex-strut&#34; style=&#34;height:1.0641em;vertical-align:-0.25em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mord mathnormal&#34; style=&#34;margin-right:0.0278em;&#34;&gt;O&lt;/span&gt;&lt;span class=&#34;mopen&#34;&gt;(&lt;/span&gt;&lt;span class=&#34;mord&#34;&gt;&lt;span class=&#34;mord mathnormal&#34;&gt;n&lt;/span&gt;&lt;span class=&#34;msupsub&#34;&gt;&lt;span class=&#34;vlist-t&#34;&gt;&lt;span class=&#34;vlist-r&#34;&gt;&lt;span class=&#34;vlist&#34; style=&#34;height:0.8141em;&#34;&gt;&lt;span style=&#34;top:-3.063em;margin-right:0.05em;&#34;&gt;&lt;span class=&#34;pstrut&#34; style=&#34;height:2.7em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;katex-sizing reset-size6 size3 mtight&#34;&gt;&lt;span class=&#34;mord mtight&#34;&gt;2&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;mclose&#34;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; operation if we e.g. remove every element from the list, one by one. In fact, an old version of the most popular SAT solver, &lt;a href=&#34;http://minisat.se/downloads/minisat2-070721.zip&#34;&gt;MiniSat2&lt;/a&gt;, used to do exactly this:&lt;/p&gt;</description>
    </item>
    <item>
      <title>TreeLook and transitive reduction</title>
      <link>https://www.msoos.org/2014/08/treelook-and-transitive-reduction/</link>
      <pubDate>Sat, 23 Aug 2014 16:53:28 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=2653</guid> 
      <description>&lt;p&gt;The &lt;a href=&#34;http://link.springer.com/chapter/10.1007%2F978-3-642-38171-3_6&#34;&gt;paper by Heule et al.&lt;/a&gt; about hyper-binary resolution using intree-based lookahead is pretty funky. The idea is actually quite simple (and as usual, not exactly trivial to come up with): we re-use past propagations by reversing the order in which literals are normally enqueued.&lt;/p&gt;
&lt;h3 id=&#34;a-simple-example&#34;&gt;A simple example&lt;/h3&gt;
&lt;p&gt;First, a queue is built that starts with a leaf literal and then follows it up through binary clauses until it can. Then it backtracks (adds to the queue a special, * element) and continues. The point of the queue is to have an example order that we can use to dequeue literals from in reverse propagation order. Obviously, there are many different orders in which we can build this queue and I wouldn&amp;rsquo;t be surprised if there are some nice heuristics one can use. Let&amp;rsquo;s just assume we have such a queue.&lt;/p&gt;</description>
    </item>
    <item>
      <title>On using less memory for binary clauses in lingeling&#39;s watchlists</title>
      <link>https://www.msoos.org/2014/08/on-using-less-memory-for-binary-clauses-in-lingeling/</link>
      <pubDate>Mon, 18 Aug 2014 18:28:06 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=2592</guid> 
      <description>&lt;p&gt;&lt;a href=&#34;http://fmv.jku.at/biere/&#34;&gt;Armin Biere&lt;/a&gt; gave a lecture at the &lt;a href=&#34;http://www.pragmaticsofsat.org/2014/&#34;&gt;Pragmatics of SAT workshop&lt;/a&gt; (proceeedings &lt;a href=&#34;http://www.easychair.org/publications/?page=624307&#34;&gt;here&lt;/a&gt;) in Vienna about all the things inside &lt;a href=&#34;http://fmv.jku.at/lingeling/&#34;&gt;lingeling&lt;/a&gt; which won a lot of awards[ &lt;a href=&#34;http://satcompetition.org/2014/SAT-COMP.pdf&#34;&gt;PDF&lt;/a&gt;] this year. If you weren&amp;rsquo;t there, you missed an amazing presentation. In this blog post I&amp;rsquo;ll reflect on a particular part of the presentation dealing with a memory trickery that has been intriguing me for a long while but I did not implement. Before I begin let me say: the presentation was awesome, and it&amp;rsquo;s not by chance that lingeling won so many awards.&lt;/p&gt;</description>
    </item>
    <item>
      <title>CryptoMiniSat 4.2 released</title>
      <link>https://www.msoos.org/2014/07/cryptominisat-4-2-released/</link>
      <pubDate>Thu, 17 Jul 2014 00:43:07 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=2576</guid> 
      <description>&lt;p&gt;CryptoMiniSat 4.2 has been &lt;a href=&#34;https://www.msoos.org/cryptominisat4/&#34;&gt;released&lt;/a&gt;. This release brings multi-threading, some bug fixes, and a lot of code cleanup.&lt;/p&gt;
&lt;h3 id=&#34;multi-threading&#34;&gt;Multi-threading&lt;/h3&gt;
&lt;p&gt;Multi-threading has been implemented using the &lt;a href=&#34;http://en.cppreference.com/w/cpp/thread/thread&#34;&gt;std::thread&lt;/a&gt; class of C++11. This makes it very portable and at the same time easy to use. Multi-threading is very simple and only shares unitary and binary learnt clauses. This is in comparison to other approaches that have some form of &lt;a href=&#34;http://www.cril.univ-artois.fr/~jabbour/PDF/cp10.pdf&#34;&gt;complex clause-sharing algorithms&lt;/a&gt;, sometimes even sharing clause databases. However, this system works when it&amp;rsquo;s used as a library, even with assumptions. Simply call set_num_threads(N) before calling any other functions.&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>
    <item>
      <title>Multi-threading and startup speed</title>
      <link>https://www.msoos.org/2014/05/multi-threading-and-startup-speed/</link>
      <pubDate>Fri, 16 May 2014 16:10:31 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=2521</guid> 
      <description>&lt;p&gt;When doing multi-threading, parsing the input and inserting it into the solver threads is actually one of the most tricky part. Of course one can simply do&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;void add_clause_to_all_threads(Clause clause) {
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  for(int i = 0; i &amp;lt; threads; i++) {
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    solver[i].add_clause(clause);
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  }
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;It works and my SAT solver entry to the competition used this method. However, if we have 12 threads, the startup time will be 12x more than usual since only one thread is adding the clauses to all the solvers. If startup used to be 3s, it&amp;rsquo;s suddenly more than half a minute.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Final polish of my SAT competition entry</title>
      <link>https://www.msoos.org/2014/05/final-polish-of-sat-competition-2014-entry/</link>
      <pubDate>Mon, 05 May 2014 18:01:20 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=2505</guid> 
      <description>&lt;p&gt;[wpdm_file id=2] UPDATE: Fixed crash, UPDATE2: fixed looking for Gaussian elimination library&lt;/p&gt;
&lt;p&gt;In the last days of the competition deadline, I have improved the following on the SAT solver:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Adding N new variables is now possible in one go. This reduces variable addition overhead, especially when having many threads.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Memory allocation overhead per new clause addition is now much smaller thanks to judicious use of globally allocated temporaries. Using such temporaries is very dangerous as CryptoMiniSat uses addClause() from multiple places in the code in a recursive manner. However, I only use the temporaries for add_clause_outer(), so things should be fine.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;If more than 0.5M variables or 1.5M binary clauses are in the problem, on-the-fly hyper-binary resolution and transitive reduction is turned off during 1st-decision-level search. This is kind of like probing, but during search. However, unlike probing, it cannot time-out and switch off these systems in case they takes too much time.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Diversified the threads&amp;rsquo; parameters. Also, I reduced the number of threads to 8. I wanted to run with 12, but it&amp;rsquo;s a bit dangerous from a memory-usage perspective: there is only 24GB available for 12 cores, which means 2GB/core. Some problems take more than 2GB just to parse into the watchlists.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Check total memory usage at startup of threads and if too much, halve the total number of threads. This is an emergency measure in case things go wild due to very weird CNF.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;</description>
    </item>
    <item>
      <title>My SAT Competition 2014 entry</title>
      <link>https://www.msoos.org/2014/04/my-sat-competition-2014-entry/</link>
      <pubDate>Tue, 29 Apr 2014 06:13:09 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=2498</guid> 
      <description>&lt;p&gt;[wpdm_file id=2]&lt;/p&gt;
&lt;p&gt;In case you want to download my SAT competition 2014 zipfile, you can do it now. You can port the changes that you added to CryptoMiniSatv4 &amp;ndash; it should work out of the box. Nothing really important changed except some timeout fixes, bug fixes, threading, and fixing &lt;a href=&#34;http://www.cs.utexas.edu/~marijn/drat-trim/&#34;&gt;DRAT&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Unfortunately the SAT Competition&#39;14 setup doesn&amp;rsquo;t have Boost&amp;rsquo;s &lt;a href=&#34;http://www.boost.org/doc/libs/1_55_0/doc/html/program_options.html&#34;&gt;program options&lt;/a&gt;, so I had to create a main_simple.cpp that compiles without Boost. It only supports options &amp;ldquo;&amp;ndash;drat=1&amp;rdquo;, &amp;ldquo;&amp;ndash;threads=N&amp;rdquo;, &amp;ldquo;&amp;ndash;verbosity=N&amp;rdquo; and reading plain CNF files (not gzipped). This means you will have to edit SolverConf.cpp in case your changeset involves command line options. The command line options and their corresponding class variables are easy to look up in main.cpp, so changing SolverConf.cpp appropriately should not be difficult.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Multi-threading</title>
      <link>https://www.msoos.org/2014/04/multi-threading/</link>
      <pubDate>Tue, 22 Apr 2014 23:04:18 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=2478</guid> 
      <description>&lt;p&gt;Just a short note: this Easter holiday I got a bit bored and did a mini-threading system for CryptoMiniSatv4. It will now be able to compete in the multi-threading track after quite a number of years of absence. Last time I did this, CryptoMiniSat won the &lt;a href=&#34;http://www.cril.univ-artois.fr/SAT11/phase2.pdf&#34;&gt;UNSAT multi-threaded&lt;/a&gt; track, which was a bit funny because all I shared were unitary and binary clauses. For the simplicity and the fun, I&amp;rsquo;m doing the same this time around. Let&amp;rsquo;s hope all the super-complicated and &lt;a href=&#34;http://www.cril.univ-artois.fr/~jabbour/PDF/jsatmanysat.pdf&#34;&gt;extra-theoretica&lt;/a&gt; l stuff will get won over.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Why it&#39;s hard to eliminate variables</title>
      <link>https://www.msoos.org/2014/04/why-its-hard-to-eliminate-variables/</link>
      <pubDate>Wed, 16 Apr 2014 15:39:47 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=2434</guid> 
      <description>&lt;p&gt;Let&amp;rsquo;s examine why it&amp;rsquo;s hard to eliminate variables. I remember the code I looked at in &lt;a href=&#34;http://minisat.se/SatELite.html&#34;&gt;SatElite&lt;/a&gt; that did it: it was crazy clean code and looked like it was pretty easy to perform. In this post I&amp;rsquo;ll examine how that simple code became more than a 1&#39;000 lines of code today.&lt;/p&gt;
&lt;h3 id=&#34;what-needs-to-be-done-at-first-sight&#34;&gt;What needs to be done, at first sight&lt;/h3&gt;
&lt;p&gt;At first sight, variable elimination is easy. We just:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Build occurrence lists&lt;/li&gt;
&lt;li&gt;Pick a variable to eliminate&lt;/li&gt;
&lt;li&gt;Resolve every clause having the positive literal of the variable with negative ones.&lt;/li&gt;
&lt;li&gt;Add newly resolved clauses into the system&lt;/li&gt;
&lt;li&gt;Remove original clauses.&lt;/li&gt;
&lt;li&gt;Goto 2.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;These are all pretty simple steps at first sight, and one can imagine that implementing them is maybe 50-100 lines of code, no more. So, let&amp;rsquo;s examine them one-by-one to see how they get complicated.&lt;/p&gt;</description>
    </item>
    <item>
      <title>CryptoMiniSat 4 released</title>
      <link>https://www.msoos.org/2014/04/cryptominisat-4-released/</link>
      <pubDate>Wed, 09 Apr 2014 20:07:20 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=2374</guid> 
      <description>&lt;p&gt;[wpdm_file id=1]
CryptoMiniSat 4 is now available for download. This version brings a number of substantial improvements and picks up speed to be as good as the best solvers out there. It now has a much improved library interface as well as a simple but powerful python interface.&lt;/p&gt;
&lt;h3 id=&#34;sat-competition-2014&#34;&gt;SAT Competition 2014&lt;/h3&gt;
&lt;p&gt;This release is made ahead of the &lt;a href=&#34;http://www.satcompetition.org/2014/&#34;&gt;SAT competition 2014&lt;/a&gt; deadlines so anybody can compete and actually have a chance to win. Unfortunately, the way I see it, it&amp;rsquo;s not possible to use newer versions of &lt;a href=&#34;http://fmv.jku.at/lingeling/&#34;&gt;lingeling&lt;/a&gt; or &lt;a href=&#34;http://tools.computational-logic.org/content/riss3g.php?run=eight&#34;&gt;riss&lt;/a&gt; (see license for for details), &lt;a href=&#34;http://minisat.se/&#34;&gt;MiniSat&lt;/a&gt; is rather old and &lt;a href=&#34;http://www.labri.fr/perso/lsimon/glucose/&#34;&gt;glucose&lt;/a&gt; doesn&amp;rsquo;t have new simplification techniques. If you feel the same way, and you rather not write 30K LoC of code, you might enjoy playing with CryptoMiniSat v4 and submitting it to the competition. You can change as much as you like, it&amp;rsquo;s LGPLv2 &amp;ndash; just don&amp;rsquo;t call it CryptoMiniSat.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Speeding up MiniSat with a one-liner</title>
      <link>https://www.msoos.org/2014/03/speeding-up-minisat-with-a-one-liner/</link>
      <pubDate>Wed, 12 Mar 2014 22:31:28 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=2343</guid> 
      <description>&lt;p&gt;All SAT solvers must have a tri-state class that can hold the values `true`, `false`, and `undefined`. Although it&amp;rsquo;s not hard to write code to represent such a class, it&amp;rsquo;s hard to write such it so that all typical operations are fast. In this blog post I will compare three different ways of doing it.&lt;/p&gt;
&lt;h3 id=&#34;the-original-minisat-20-code&#34;&gt;The original MiniSat 2.0 code&lt;/h3&gt;
&lt;p&gt;The &lt;a href=&#34;http://minisat.se/downloads/minisat2-070721.zip&#34;&gt;original MiniSat 2.0&lt;/a&gt; used the following code for such a class:&lt;/p&gt;</description>
    </item>
    <item>
      <title>On variable renumbering</title>
      <link>https://www.msoos.org/2013/12/on-variable-renumbering/</link>
      <pubDate>Wed, 18 Dec 2013 01:34:15 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=2198</guid> 
      <description>&lt;p&gt;Variable renumbering in SAT solvers keeps a mapping between the external variable numbers that is visible to the users and the internal variable numbers that is visible the to the system. The trivial mapping that most SAT solvers use is the one-to-one mapping where there is no difference between outer and internal variables. A smart mapping doesn&amp;rsquo;t keep track of all data related to variables that have been set or eliminated internally, so the internal datastructures can be smaller.&lt;/p&gt;</description>
    </item>
    <item>
      <title>A note on learnt clauses</title>
      <link>https://www.msoos.org/2013/12/a-note-on-learnt-clauses/</link>
      <pubDate>Fri, 06 Dec 2013 17:29:24 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=2172</guid> 
      <description>&lt;p&gt;Learnt clauses are clauses derived while searching for a solution with a &lt;a href=&#34;https://en.wikipedia.org/wiki/Boolean_satisfiability_problem&#34;&gt;SAT solver&lt;/a&gt; in a &lt;a href=&#34;https://en.wikipedia.org/wiki/Conjunctive_normal_form&#34;&gt;CNF&lt;/a&gt;. They are at the heart of every modern so-called &amp;ldquo;CDCL&amp;rdquo; or &amp;ldquo;&lt;a href=&#34;https://en.wikipedia.org/wiki/Conflict_Driven_Clause_Learning&#34;&gt;Conflict-Driven Clause-Learning&lt;/a&gt;&amp;rdquo; SAT solver. SAT solver writers make a very important difference between learnt and original clauses. In this blog post I&amp;rsquo;ll talk a little bit about this distinction, why it is important to make it, and why we might want to relax that distinction in the future.&lt;/p&gt;</description>
    </item>
    <item>
      <title>MiniSat in your browser</title>
      <link>https://www.msoos.org/2013/09/minisat-in-your-browser/</link>
      <pubDate>Sun, 29 Sep 2013 19:37:34 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=2082</guid> 
      <description>&lt;h2 id=&#34;click-hereto-run-cyrptominisat-in-your-browser&#34;&gt;**&lt;a href=&#34;http://msoos.github.io/cryptominisat_web/&#34;&gt;CLICK HERE&lt;/a&gt;**to run CyrptoMiniSat in your browser&lt;/h2&gt;
&lt;p&gt;Lately, I have become an &lt;a href=&#34;http://llvm.org/&#34;&gt;LLVM&lt;/a&gt; nut. LLVM is amazing, it can do a lot, and, weirdly enough, a system developed from it is probably one of the biggest users of SAT solvers. I&amp;rsquo;m talking about &lt;a href=&#34;http://ccadar.github.io/klee/&#34;&gt;KLEE&lt;/a&gt;, the symbolic virtual execution machine. It takes a source, compiles it with LLVM, then translates the &lt;a href=&#34;http://llvm.org/docs/LangRef.html#abstract&#34;&gt;LLVM IR&lt;/a&gt; into SMT, runs &lt;a href=&#34;https://sites.google.com/site/stpfastprover/&#34;&gt;STP&lt;/a&gt; on it, which in turn runs &lt;a href=&#34;https://www.msoos.org/cryptominisat2/&#34;&gt;CryptoMiniSat&lt;/a&gt;, and voila&amp;hellip; the user gets back a free bug report. Or &lt;a href=&#34;http://lists.debian.org/debian-devel/2013/06/msg00720.html&#34;&gt;1&#39;200 bug reports&lt;/a&gt;.&lt;/p&gt;</description>
    </item>
    <item>
      <title>My SAT solver fuzzing setup</title>
      <link>https://www.msoos.org/2013/08/my-sat-solver-fuzzing-setup/</link>
      <pubDate>Sun, 25 Aug 2013 15:12:03 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=2023</guid> 
      <description>&lt;p&gt;Since the SAT solver &lt;a href=&#34;https://en.wikipedia.org/wiki/Fuzz_testing&#34;&gt;fuzzing&lt;/a&gt; &lt;a href=&#34;http://fmv.jku.at/papers/BrummayerLonsingBiere-SAT10.pdf&#34;&gt;paper&lt;/a&gt; by Brummayer, Lonsing and Biere, SAT solver fuzzing has been quite the thing in the SAT community. Many bugs have since been discovered in almost all SAT solvers, including those of this author. In this blog post I will detail my SAT fuzzing setup: what fuzzers I use and how I use them.&lt;/p&gt;
&lt;h3 id=&#34;my-fuzzers&#34;&gt;My fuzzers&lt;/h3&gt;
&lt;p&gt;The most obvious fuzzers to use are those present in the paper and accompanying &lt;a href=&#34;http://fmv.jku.at/fuzzddtools/&#34;&gt;website&lt;/a&gt;: CNFFuzz and FuzzSAT. These fuzzers randomly genereate high-quality structured problem instances. The emphasis here is on the word structured. Randomly generated instances, as the authors of the original paper note, do not excercise SAT solvers enough. SAT solvers are written with very specific problem types in mind: problems containing long chains of binary clauses, gates, etc.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Why CryptoMiniSat 3.3 doesn&#39;t have XORs</title>
      <link>https://www.msoos.org/2013/08/why-cryptominisat-3-3-doesnt-have-xors/</link>
      <pubDate>Thu, 01 Aug 2013 10:23:12 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=1910</guid> 
      <description>&lt;p&gt;I&amp;rsquo;ve had a number of inquiries about why CryptoMiniSat 3.3 doesn&amp;rsquo;t have native &lt;a href=&#34;https://www.msoos.org/xor-clauses/&#34;&gt;XOR clause&lt;/a&gt; support. Let me explain what I think the benefits and the drawbacks are of having native XOR support and why I made the choice of removing them.&lt;/p&gt;
&lt;h3 id=&#34;benefits&#34;&gt;Benefits&lt;/h3&gt;
&lt;p&gt;The most trivial benefit is that users don&amp;rsquo;t have to translate XORs into plain CNF. Although transforming is rather easy, some prefer not to go through the hassle. The principle is to cut the XOR into smaller XORs by introducing new variables and then representing the cut-down XORs by banning all the wrong combinations. For example the the XOR &lt;span class=&#34;katex&#34;&gt;&lt;span class=&#34;katex-mathml&#34;&gt;&lt;math xmlns=&#34;http://www.w3.org/1998/Math/MathML&#34;&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mi&gt;y&lt;/mi&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mi&gt;z&lt;/mi&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mi&gt;w&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;/mrow&gt;&lt;annotation encoding=&#34;application/x-tex&#34;&gt;x+y+z+w=0&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;span class=&#34;katex-html&#34; aria-hidden=&#34;true&#34;&gt;&lt;span class=&#34;katex-base&#34;&gt;&lt;span class=&#34;katex-strut&#34; style=&#34;height:0.6667em;vertical-align:-0.0833em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mord mathnormal&#34;&gt;x&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2222em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mbin&#34;&gt;+&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2222em;&#34;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;katex-base&#34;&gt;&lt;span class=&#34;katex-strut&#34; style=&#34;height:0.7778em;vertical-align:-0.1944em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mord mathnormal&#34; style=&#34;margin-right:0.0359em;&#34;&gt;y&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2222em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mbin&#34;&gt;+&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2222em;&#34;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;katex-base&#34;&gt;&lt;span class=&#34;katex-strut&#34; style=&#34;height:0.6667em;vertical-align:-0.0833em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mord mathnormal&#34; style=&#34;margin-right:0.044em;&#34;&gt;z&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2222em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mbin&#34;&gt;+&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2222em;&#34;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;katex-base&#34;&gt;&lt;span class=&#34;katex-strut&#34; style=&#34;height:0.4306em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mord mathnormal&#34; style=&#34;margin-right:0.0269em;&#34;&gt;w&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2778em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mrel&#34;&gt;=&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2778em;&#34;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;katex-base&#34;&gt;&lt;span class=&#34;katex-strut&#34; style=&#34;height:0.6444em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mord&#34;&gt;0&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; is cut into two XORs &lt;span class=&#34;katex&#34;&gt;&lt;span class=&#34;katex-mathml&#34;&gt;&lt;math xmlns=&#34;http://www.w3.org/1998/Math/MathML&#34;&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mi&gt;y&lt;/mi&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mi&gt;r&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;/mrow&gt;&lt;annotation encoding=&#34;application/x-tex&#34;&gt;x+y+r=0&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;span class=&#34;katex-html&#34; aria-hidden=&#34;true&#34;&gt;&lt;span class=&#34;katex-base&#34;&gt;&lt;span class=&#34;katex-strut&#34; style=&#34;height:0.6667em;vertical-align:-0.0833em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mord mathnormal&#34;&gt;x&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2222em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mbin&#34;&gt;+&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2222em;&#34;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;katex-base&#34;&gt;&lt;span class=&#34;katex-strut&#34; style=&#34;height:0.7778em;vertical-align:-0.1944em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mord mathnormal&#34; style=&#34;margin-right:0.0359em;&#34;&gt;y&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2222em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mbin&#34;&gt;+&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2222em;&#34;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;katex-base&#34;&gt;&lt;span class=&#34;katex-strut&#34; style=&#34;height:0.4306em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mord mathnormal&#34; style=&#34;margin-right:0.0278em;&#34;&gt;r&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2778em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mrel&#34;&gt;=&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2778em;&#34;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;katex-base&#34;&gt;&lt;span class=&#34;katex-strut&#34; style=&#34;height:0.6444em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mord&#34;&gt;0&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;, &lt;span class=&#34;katex&#34;&gt;&lt;span class=&#34;katex-mathml&#34;&gt;&lt;math xmlns=&#34;http://www.w3.org/1998/Math/MathML&#34;&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mi&gt;z&lt;/mi&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mi&gt;w&lt;/mi&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mi&gt;r&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;/mrow&gt;&lt;annotation encoding=&#34;application/x-tex&#34;&gt;z+w+r=0&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;span class=&#34;katex-html&#34; aria-hidden=&#34;true&#34;&gt;&lt;span class=&#34;katex-base&#34;&gt;&lt;span class=&#34;katex-strut&#34; style=&#34;height:0.6667em;vertical-align:-0.0833em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mord mathnormal&#34; style=&#34;margin-right:0.044em;&#34;&gt;z&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2222em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mbin&#34;&gt;+&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2222em;&#34;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;katex-base&#34;&gt;&lt;span class=&#34;katex-strut&#34; style=&#34;height:0.6667em;vertical-align:-0.0833em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mord mathnormal&#34; style=&#34;margin-right:0.0269em;&#34;&gt;w&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2222em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mbin&#34;&gt;+&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2222em;&#34;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;katex-base&#34;&gt;&lt;span class=&#34;katex-strut&#34; style=&#34;height:0.4306em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mord mathnormal&#34; style=&#34;margin-right:0.0278em;&#34;&gt;r&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2778em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mrel&#34;&gt;=&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2778em;&#34;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;katex-base&#34;&gt;&lt;span class=&#34;katex-strut&#34; style=&#34;height:0.6444em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mord&#34;&gt;0&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; and then &lt;span class=&#34;katex&#34;&gt;&lt;span class=&#34;katex-mathml&#34;&gt;&lt;math xmlns=&#34;http://www.w3.org/1998/Math/MathML&#34;&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mi&gt;y&lt;/mi&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mi&gt;r&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;/mrow&gt;&lt;annotation encoding=&#34;application/x-tex&#34;&gt;x+y+r=0&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;span class=&#34;katex-html&#34; aria-hidden=&#34;true&#34;&gt;&lt;span class=&#34;katex-base&#34;&gt;&lt;span class=&#34;katex-strut&#34; style=&#34;height:0.6667em;vertical-align:-0.0833em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mord mathnormal&#34;&gt;x&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2222em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mbin&#34;&gt;+&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2222em;&#34;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;katex-base&#34;&gt;&lt;span class=&#34;katex-strut&#34; style=&#34;height:0.7778em;vertical-align:-0.1944em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mord mathnormal&#34; style=&#34;margin-right:0.0359em;&#34;&gt;y&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2222em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mbin&#34;&gt;+&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2222em;&#34;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;katex-base&#34;&gt;&lt;span class=&#34;katex-strut&#34; style=&#34;height:0.4306em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mord mathnormal&#34; style=&#34;margin-right:0.0278em;&#34;&gt;r&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2778em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mrel&#34;&gt;=&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2778em;&#34;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;katex-base&#34;&gt;&lt;span class=&#34;katex-strut&#34; style=&#34;height:0.6444em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mord&#34;&gt;0&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; is represented as &lt;span class=&#34;katex&#34;&gt;&lt;span class=&#34;katex-mathml&#34;&gt;&lt;math xmlns=&#34;http://www.w3.org/1998/Math/MathML&#34;&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;mo&gt;∨&lt;/mo&gt;&lt;mi&gt;y&lt;/mi&gt;&lt;mo&gt;∨&lt;/mo&gt;&lt;mi&gt;r&lt;/mi&gt;&lt;mo separator=&#34;true&#34;&gt;,&lt;/mo&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;mo&gt;∨&lt;/mo&gt;&lt;mi mathvariant=&#34;normal&#34;&gt;¬&lt;/mi&gt;&lt;mi&gt;y&lt;/mi&gt;&lt;mo&gt;∨&lt;/mo&gt;&lt;mi mathvariant=&#34;normal&#34;&gt;¬&lt;/mi&gt;&lt;mi&gt;r&lt;/mi&gt;&lt;mo separator=&#34;true&#34;&gt;,&lt;/mo&gt;&lt;mo&gt;…&lt;/mo&gt;&lt;/mrow&gt;&lt;annotation encoding=&#34;application/x-tex&#34;&gt;x \vee y \vee r, x \vee \neg y \vee \neg r, \ldots&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;span class=&#34;katex-html&#34; aria-hidden=&#34;true&#34;&gt;&lt;span class=&#34;katex-base&#34;&gt;&lt;span class=&#34;katex-strut&#34; style=&#34;height:0.5556em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mord mathnormal&#34;&gt;x&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2222em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mbin&#34;&gt;∨&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2222em;&#34;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;katex-base&#34;&gt;&lt;span class=&#34;katex-strut&#34; style=&#34;height:0.75em;vertical-align:-0.1944em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mord mathnormal&#34; style=&#34;margin-right:0.0359em;&#34;&gt;y&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2222em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mbin&#34;&gt;∨&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2222em;&#34;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;katex-base&#34;&gt;&lt;span class=&#34;katex-strut&#34; style=&#34;height:0.75em;vertical-align:-0.1944em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mord mathnormal&#34; style=&#34;margin-right:0.0278em;&#34;&gt;r&lt;/span&gt;&lt;span class=&#34;mpunct&#34;&gt;,&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.1667em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mord mathnormal&#34;&gt;x&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2222em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mbin&#34;&gt;∨&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2222em;&#34;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;katex-base&#34;&gt;&lt;span class=&#34;katex-strut&#34; style=&#34;height:0.75em;vertical-align:-0.1944em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mord&#34;&gt;¬&lt;/span&gt;&lt;span class=&#34;mord mathnormal&#34; style=&#34;margin-right:0.0359em;&#34;&gt;y&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2222em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mbin&#34;&gt;∨&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2222em;&#34;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;katex-base&#34;&gt;&lt;span class=&#34;katex-strut&#34; style=&#34;height:0.625em;vertical-align:-0.1944em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mord&#34;&gt;¬&lt;/span&gt;&lt;span class=&#34;mord mathnormal&#34; style=&#34;margin-right:0.0278em;&#34;&gt;r&lt;/span&gt;&lt;span class=&#34;mpunct&#34;&gt;,&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.1667em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;minner&#34;&gt;…&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Handling disconnected components</title>
      <link>https://www.msoos.org/2013/07/handling-disconnected-components/</link>
      <pubDate>Wed, 31 Jul 2013 12:06:52 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=1842</guid> 
      <description>&lt;p&gt;In CryptoMiniSat 3.2 and above there is a disconnected component finding&amp;amp;solving system. This finds toplevel disconnected components regularly and solves them by launching an instance of the solver itself. If the component is unsatisfiable (UNSAT), the whole system is UNSAT and solving can be immediately aborted. If the component is satisfiable (SAT) the component&amp;rsquo;s solution is saved and later when printing the solution to the whole problem the component&amp;rsquo;s satisfying assignment is also printed.&lt;/p&gt;</description>
    </item>
    <item>
      <title>CryptoMiniSat FAQ</title>
      <link>https://www.msoos.org/tools/cryptominisat/faq/</link>
      <pubDate>Wed, 10 Jul 2013 19:07:04 +0000</pubDate>
       <guid isPermaLink="false">https://www.msoos.org/tools/cryptominisat/faq/</guid> 
      <description>&lt;h3 id=&#34;is-cryptominisat-just-minisat-with-some-hacks&#34;&gt;Is CryptoMiniSat just MiniSat with some hacks?&lt;/h3&gt;
&lt;p&gt;No. MiniSat&amp;rsquo;s &amp;ldquo;core&amp;rdquo; version, from which CryptoMiniSat was originally developed, contained about 1,500 lines of code. CryptoMiniSat today contains over 55,000 lines of code.&lt;/p&gt;
&lt;h3 id=&#34;is-cryptominisat-only-good-to-solve-cryptographic-instances&#34;&gt;Is CryptoMiniSat only good to solve cryptographic instances?&lt;/h3&gt;
&lt;p&gt;No. Naturally, it was one of the program&amp;rsquo;s aims, but it also performs well on other instances. XORs, one of the major features of CryptoMiniSat, also come up in model counting, sampling, and software verification, for example. It is the SAT solver used by our approximate model counter &lt;a href=&#34;https://www.msoos.org/tools/approxmc/&#34;&gt;ApproxMC&lt;/a&gt; and our almost-uniform sampler &lt;a href=&#34;https://www.msoos.org/tools/unigen/&#34;&gt;UniGen&lt;/a&gt;, and our fast sampler &lt;a href=&#34;https://www.msoos.org/tools/cmsgen/&#34;&gt;CMSGen&lt;/a&gt; is built on it.&lt;/p&gt;</description>
    </item>
    <item>
      <title>CryptoMiniSat 3.3 released</title>
      <link>https://www.msoos.org/2013/07/cryptominisat-3-3-released/</link>
      <pubDate>Wed, 10 Jul 2013 18:52:36 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=1812</guid> 
      <description>&lt;p&gt;This is just a short note that CryptoMiniSat 3.3 has been &lt;a href=&#34;https://gforge.inria.fr/frs/?group_id=1992&#34;&gt;released&lt;/a&gt;. This is mainly a bugfix release. I have managed to make a fuzzer that simulates library usage of the system by interspersing the CNF with &amp;ldquo;c Solver::solve()&amp;rdquo; calls and then checking the intermediate solutions. Checking is either performed by verifying that all clauses are satisfied, or if the solution is UNSAT, by using a standard SAT solver (I use &lt;a href=&#34;http://fmv.jku.at/lingeling/&#34;&gt;lingeling&lt;/a&gt;). This turned up a surprising number of bugs. I have also fixed the web-based statistics printing which should now work without a hitch.&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.2.0 released</title>
      <link>https://www.msoos.org/2013/04/cryptominisat-3-2-0-released/</link>
      <pubDate>Mon, 29 Apr 2013 20:12:58 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=1715</guid> 
      <description>&lt;p&gt;CyptoMinSat 3.2.0 has been &lt;a href=&#34;https://gforge.inria.fr/frs/?group_id=1992&#34;&gt;released&lt;/a&gt;. This code should be extremely stable and should contain no bugs. In case it does, CryptoMiniSat will fail quite bady at the &lt;a href=&#34;http://www.satcompetition.org/2013/&#34;&gt;competition&lt;/a&gt;. I have fuzzed the solver for about 2-3000 CPU hours, with some sophisticated fuzzers (all available &lt;a href=&#34;https://github.com/msoos/cnf-utils&#34;&gt;here&lt;/a&gt; --- most of them not mine) so all should be fine, but fingers are crossed.&lt;/p&gt;
&lt;h3 id=&#34;additions-and-fixes&#34;&gt;Additions and fixes&lt;/h3&gt;
&lt;p&gt;The main addition this time is &lt;a href=&#34;https://www.msoos.org/2013/04/certified-unsat-and-cryptominisat/&#34;&gt;certification proofs&lt;/a&gt; for UNSAT through the use of &lt;a href=&#34;http://www.cs.utexas.edu/~marijn/drup/&#34;&gt;DRUP&lt;/a&gt;. This allows for use of the solver where certainty of the UNSAT result is a necessity &amp;mdash; e.g. where lives could potentially depend on it. Unfortunately, proof checking is relatively slow through any system, though DRUP seems to be the best and fastest method. Other than the implementation of DRUP, I have fixed some issues with variable replacement.&lt;/p&gt;</description>
    </item>
    <item>
      <title>GCC 4.5.2 at the SAT Competition&#39;13</title>
      <link>https://www.msoos.org/2013/04/gcc-4-5-2-at-sat-competition-201/</link>
      <pubDate>Fri, 26 Apr 2013 23:17:35 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=1700</guid> 
      <description>&lt;p&gt;(Note &lt;em&gt;update&lt;/em&gt; below)&lt;/p&gt;
&lt;p&gt;Just a short note. All MiniSat-derived SAT solvers might give wrong results during the competition. No, MiniSat doesn&amp;rsquo;t have a bug. GCC has a giant &lt;a href=&#34;http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47365&#34;&gt;bug&lt;/a&gt;. Vegard reported this years ago &amp;ndash; I personally put about 12h tracking it down, &lt;a href=&#34;http://lists.gforge.inria.fr/pipermail/cryptominisat-devel/2011-January/000052.html&#34;&gt;posted it&lt;/a&gt; to the CryptoMiniSat mailing list, and &lt;a href=&#34;http://folk.uio.no/vegardno/&#34;&gt;Vegard&lt;/a&gt; took it up, stripped it down and reported it.&lt;/p&gt;
&lt;p&gt;This is a well-known bug, there is a thread about it on the &lt;a href=&#34;https://groups.google.com/forum/?fromgroups=#!topic/minisat/YHEWCFqxyFg&#34;&gt;MiniSat mailing list&lt;/a&gt; and I personally asked the competition organizers back in 2011 not to use the 4.5.2(or .3?) they wanted to use. I used to have code to check for this bug (there is a handy check attached to the bug report), but I removed it, though maybe I should add it back. It&amp;rsquo;s fixed in 4.5.4+, still present in 4.5.3 where Vegard&amp;amp;me found it. I hope I will be able to convince the organisers this time around, too :) By the way, the option you need to pass to gcc to avoid the bug is &amp;ldquo;-fno-tree-pre&amp;rdquo; &amp;mdash; though of course this turns off an optimisation and so slows down the final executable.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Certified UNSAT and CryptoMiniSat</title>
      <link>https://www.msoos.org/2013/04/certified-unsat-and-cryptominisat/</link>
      <pubDate>Thu, 25 Apr 2013 19:49:13 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=1667</guid> 
      <description>&lt;p&gt;&lt;a href=&#34;http://www.cs.utexas.edu/~marijn/&#34;&gt;Marijn Heule&lt;/a&gt; kindly sent me an email on the 10th of April about &lt;a href=&#34;http://www.cs.utexas.edu/~marijn/drup/&#34;&gt;DRUP&lt;/a&gt;, the new system used this year in the &lt;a href=&#34;http://satcompetition.org/2013/&#34;&gt;SAT Competition&#39;13&lt;/a&gt; for the UNSAT track. He kindly encouraged me to implement the DRUP system. He personally implemented it into Minisat which was a &lt;em&gt;very&lt;/em&gt; helpful lead for me. In this post I will talk about my experiences in implementing DRUP into CryptoMiniSat within a span of 3 days.&lt;/p&gt;
&lt;h3 id=&#34;implementation-complexity&#34;&gt;Implementation complexity&lt;/h3&gt;
&lt;p&gt;It took only 3 days, about 1400 lines of code to implement DRUP:&lt;/p&gt;</description>
    </item>
    <item>
      <title>A variable elimination improvement</title>
      <link>https://www.msoos.org/2013/04/a-variable-elimination-improvement/</link>
      <pubDate>Sun, 21 Apr 2013 15:55:57 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=1643</guid> 
      <description>&lt;p&gt;Lately, I have been thinking about how to improve &lt;a href=&#34;http://link.springer.com/chapter/10.1007%2F11499107_5&#34;&gt;variable elimination&lt;/a&gt;. It&amp;rsquo;s one of the most important things in SAT solvers, and it&amp;rsquo;s not exactly easy to do right.&lt;/p&gt;
&lt;h3 id=&#34;variable-elimination&#34;&gt;Variable elimination&lt;/h3&gt;
&lt;p&gt;Variable elimination simply resolves every occurrence of a literal &lt;span class=&#34;katex&#34;&gt;&lt;span class=&#34;katex-mathml&#34;&gt;&lt;math xmlns=&#34;http://www.w3.org/1998/Math/MathML&#34;&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mi&gt;v&lt;/mi&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/mrow&gt;&lt;annotation encoding=&#34;application/x-tex&#34;&gt;v1&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;span class=&#34;katex-html&#34; aria-hidden=&#34;true&#34;&gt;&lt;span class=&#34;katex-base&#34;&gt;&lt;span class=&#34;katex-strut&#34; style=&#34;height:0.6444em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mord mathnormal&#34; style=&#34;margin-right:0.0359em;&#34;&gt;v&lt;/span&gt;&lt;span class=&#34;mord&#34;&gt;1&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; with every occurrence of the literal &lt;span class=&#34;katex&#34;&gt;&lt;span class=&#34;katex-mathml&#34;&gt;&lt;math xmlns=&#34;http://www.w3.org/1998/Math/MathML&#34;&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mi mathvariant=&#34;normal&#34;&gt;¬&lt;/mi&gt;&lt;mi&gt;v&lt;/mi&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/mrow&gt;&lt;annotation encoding=&#34;application/x-tex&#34;&gt;\neg v1&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;span class=&#34;katex-html&#34; aria-hidden=&#34;true&#34;&gt;&lt;span class=&#34;katex-base&#34;&gt;&lt;span class=&#34;katex-strut&#34; style=&#34;height:0.6444em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mord&#34;&gt;¬&lt;/span&gt;&lt;span class=&#34;mord mathnormal&#34; style=&#34;margin-right:0.0359em;&#34;&gt;v&lt;/span&gt;&lt;span class=&#34;mord&#34;&gt;1&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; , removes the original clauses and adds the resolvents. For example, let&amp;rsquo;s take the clauses&lt;/p&gt;
&lt;p&gt;&lt;span class=&#34;katex&#34;&gt;&lt;span class=&#34;katex-mathml&#34;&gt;&lt;math xmlns=&#34;http://www.w3.org/1998/Math/MathML&#34;&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mi&gt;v&lt;/mi&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;∨&lt;/mo&gt;&lt;mi&gt;v&lt;/mi&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;mo&gt;∨&lt;/mo&gt;&lt;mi&gt;v&lt;/mi&gt;&lt;mn&gt;3&lt;/mn&gt;&lt;/mrow&gt;&lt;annotation encoding=&#34;application/x-tex&#34;&gt;v1 \vee v2 \vee v3&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;span class=&#34;katex-html&#34; aria-hidden=&#34;true&#34;&gt;&lt;span class=&#34;katex-base&#34;&gt;&lt;span class=&#34;katex-strut&#34; style=&#34;height:0.6444em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mord mathnormal&#34; style=&#34;margin-right:0.0359em;&#34;&gt;v&lt;/span&gt;&lt;span class=&#34;mord&#34;&gt;1&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2222em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mbin&#34;&gt;∨&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2222em;&#34;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;katex-base&#34;&gt;&lt;span class=&#34;katex-strut&#34; style=&#34;height:0.6444em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mord mathnormal&#34; style=&#34;margin-right:0.0359em;&#34;&gt;v&lt;/span&gt;&lt;span class=&#34;mord&#34;&gt;2&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2222em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mbin&#34;&gt;∨&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2222em;&#34;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;katex-base&#34;&gt;&lt;span class=&#34;katex-strut&#34; style=&#34;height:0.6444em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mord mathnormal&#34; style=&#34;margin-right:0.0359em;&#34;&gt;v&lt;/span&gt;&lt;span class=&#34;mord&#34;&gt;3&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&#34;katex&#34;&gt;&lt;span class=&#34;katex-mathml&#34;&gt;&lt;math xmlns=&#34;http://www.w3.org/1998/Math/MathML&#34;&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mi&gt;v&lt;/mi&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;∨&lt;/mo&gt;&lt;mi&gt;v&lt;/mi&gt;&lt;mn&gt;4&lt;/mn&gt;&lt;mo&gt;∨&lt;/mo&gt;&lt;mi&gt;v&lt;/mi&gt;&lt;mn&gt;5&lt;/mn&gt;&lt;/mrow&gt;&lt;annotation encoding=&#34;application/x-tex&#34;&gt;v1 \vee v4 \vee v5&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;span class=&#34;katex-html&#34; aria-hidden=&#34;true&#34;&gt;&lt;span class=&#34;katex-base&#34;&gt;&lt;span class=&#34;katex-strut&#34; style=&#34;height:0.6444em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mord mathnormal&#34; style=&#34;margin-right:0.0359em;&#34;&gt;v&lt;/span&gt;&lt;span class=&#34;mord&#34;&gt;1&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2222em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mbin&#34;&gt;∨&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2222em;&#34;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;katex-base&#34;&gt;&lt;span class=&#34;katex-strut&#34; style=&#34;height:0.6444em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mord mathnormal&#34; style=&#34;margin-right:0.0359em;&#34;&gt;v&lt;/span&gt;&lt;span class=&#34;mord&#34;&gt;4&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2222em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mbin&#34;&gt;∨&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2222em;&#34;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;katex-base&#34;&gt;&lt;span class=&#34;katex-strut&#34; style=&#34;height:0.6444em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mord mathnormal&#34; style=&#34;margin-right:0.0359em;&#34;&gt;v&lt;/span&gt;&lt;span class=&#34;mord&#34;&gt;5&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&#34;katex&#34;&gt;&lt;span class=&#34;katex-mathml&#34;&gt;&lt;math xmlns=&#34;http://www.w3.org/1998/Math/MathML&#34;&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mi mathvariant=&#34;normal&#34;&gt;¬&lt;/mi&gt;&lt;mi&gt;v&lt;/mi&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;∨&lt;/mo&gt;&lt;mi&gt;v&lt;/mi&gt;&lt;mn&gt;10&lt;/mn&gt;&lt;mo&gt;∨&lt;/mo&gt;&lt;mi&gt;v&lt;/mi&gt;&lt;mn&gt;11&lt;/mn&gt;&lt;/mrow&gt;&lt;annotation encoding=&#34;application/x-tex&#34;&gt;\neg v1 \vee v10 \vee v11&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;span class=&#34;katex-html&#34; aria-hidden=&#34;true&#34;&gt;&lt;span class=&#34;katex-base&#34;&gt;&lt;span class=&#34;katex-strut&#34; style=&#34;height:0.6444em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mord&#34;&gt;¬&lt;/span&gt;&lt;span class=&#34;mord mathnormal&#34; style=&#34;margin-right:0.0359em;&#34;&gt;v&lt;/span&gt;&lt;span class=&#34;mord&#34;&gt;1&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2222em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mbin&#34;&gt;∨&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2222em;&#34;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;katex-base&#34;&gt;&lt;span class=&#34;katex-strut&#34; style=&#34;height:0.6444em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mord mathnormal&#34; style=&#34;margin-right:0.0359em;&#34;&gt;v&lt;/span&gt;&lt;span class=&#34;mord&#34;&gt;10&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2222em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mbin&#34;&gt;∨&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2222em;&#34;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;katex-base&#34;&gt;&lt;span class=&#34;katex-strut&#34; style=&#34;height:0.6444em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mord mathnormal&#34; style=&#34;margin-right:0.0359em;&#34;&gt;v&lt;/span&gt;&lt;span class=&#34;mord&#34;&gt;11&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&#34;katex&#34;&gt;&lt;span class=&#34;katex-mathml&#34;&gt;&lt;math xmlns=&#34;http://www.w3.org/1998/Math/MathML&#34;&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mi mathvariant=&#34;normal&#34;&gt;¬&lt;/mi&gt;&lt;mi&gt;v&lt;/mi&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;∨&lt;/mo&gt;&lt;mi&gt;v&lt;/mi&gt;&lt;mn&gt;12&lt;/mn&gt;&lt;mo&gt;∨&lt;/mo&gt;&lt;mi&gt;v&lt;/mi&gt;&lt;mn&gt;13&lt;/mn&gt;&lt;/mrow&gt;&lt;annotation encoding=&#34;application/x-tex&#34;&gt;\neg v1 \vee v12 \vee v13&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;span class=&#34;katex-html&#34; aria-hidden=&#34;true&#34;&gt;&lt;span class=&#34;katex-base&#34;&gt;&lt;span class=&#34;katex-strut&#34; style=&#34;height:0.6444em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mord&#34;&gt;¬&lt;/span&gt;&lt;span class=&#34;mord mathnormal&#34; style=&#34;margin-right:0.0359em;&#34;&gt;v&lt;/span&gt;&lt;span class=&#34;mord&#34;&gt;1&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2222em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mbin&#34;&gt;∨&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2222em;&#34;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;katex-base&#34;&gt;&lt;span class=&#34;katex-strut&#34; style=&#34;height:0.6444em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mord mathnormal&#34; style=&#34;margin-right:0.0359em;&#34;&gt;v&lt;/span&gt;&lt;span class=&#34;mord&#34;&gt;12&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2222em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mbin&#34;&gt;∨&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2222em;&#34;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;katex-base&#34;&gt;&lt;span class=&#34;katex-strut&#34; style=&#34;height:0.6444em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mord mathnormal&#34; style=&#34;margin-right:0.0359em;&#34;&gt;v&lt;/span&gt;&lt;span class=&#34;mord&#34;&gt;13&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&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>CryptoMiniSat 3.0 released</title>
      <link>https://www.msoos.org/2013/04/cryptominisat-3-0-released/</link>
      <pubDate>Mon, 01 Apr 2013 15:57:57 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=1541</guid> 
      <description>&lt;p&gt;CryptoMiniSat 3.0 has been &lt;a href=&#34;https://gforge.inria.fr/frs/?group_id=1992&#34;&gt;released&lt;/a&gt;. I could talk about how it&amp;rsquo;s got a dynamic, web-based statistics interface, how it has more than 80 options, how it uses no glues for clause-cleaning and all the other goodies, but unfortunately these don&amp;rsquo;t much matter if the speed is not up to par. So, here is the result for the &lt;a href=&#34;http://www.satcompetition.org/2009/&#34;&gt;2009 SAT Competition&lt;/a&gt; problems on a 1000s timeout with two competing solvers, &lt;a href=&#34;http://fmv.jku.at/lingeling/&#34;&gt;lingeling&lt;/a&gt; and &lt;a href=&#34;https://www.lri.fr/~simon/?page=glucose&#34;&gt;glucose&lt;/a&gt;:&lt;/p&gt;
&lt;p&gt;&lt;img alt=&#34;cryptoms_speed&#34; loading=&#34;lazy&#34; src=&#34;https://www.msoos.org/wordpress/wp-content/uploads/2013/04/lingeling-glucose-cryptoms.png&#34;&gt;&lt;/p&gt;
&lt;p&gt;This of course does not mean that CryptoMiniSat is faster than the other solvers in general. In fact it is slower on a number of instances. What it means is that in general it&amp;rsquo;s OK and that&amp;rsquo;s good enough for the moment. It would be awesome to run the above experiment (or a similar one) with a longer timeout. Unfortunately, I don&amp;rsquo;t have a cluster to do that. However, if you have access to one, and would be willing to help with running the 3 solvers on a larger timeout, please do, I will post the updated graph here.&lt;/p&gt;</description>
    </item>
    <item>
      <title>On benchmark randomization</title>
      <link>https://www.msoos.org/2013/03/on-benchmark-randomization/</link>
      <pubDate>Sun, 10 Mar 2013 14:10:11 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=1497</guid> 
      <description>&lt;p&gt;As many of you have heard, the SAT Competition for this year has been &lt;a href=&#34;http://satcompetition.org/2013/&#34;&gt;announced&lt;/a&gt;. You can send in your benchmarks between the 12th and the 22nd of April, so get started. I have a &lt;a href=&#34;https://gforge.inria.fr/frs/?group_id=1476&amp;amp;release_id=5351&#34;&gt;bunch of benchmarks&lt;/a&gt; I have already submitted about 2 years ago, still waiting for any reply from those organizers &amp;ndash; but the organizers are different this year, so fingers crossed.&lt;/p&gt;
&lt;p&gt;What I want to talk about today is benchmark randomization. This is a very-very touchy topic. However, I fear that it&amp;rsquo;s touchy for the wrong reasons, and so I think it&amp;rsquo;s important to talk about it in detail.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Collecting solver data</title>
      <link>https://www.msoos.org/2012/11/collecting-solver-data/</link>
      <pubDate>Wed, 21 Nov 2012 16:02:09 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=1456</guid> 
      <description>&lt;p&gt;Lately, I have been putting a lot of effort into collecting data about solver behaviour and dumping it on-the-fly to a MySQL database. Some of this data is then presented by a PHP&amp;amp;javascript interface, such as &lt;a href=&#34;https://www.msoos.org/sat_visualization/&#34;&gt;this&lt;/a&gt;.The goal is to better understand how solving works, and thus to possibly come up with better strategies for solving. The requirements of the data gathered are: speed to calculate, size to store and usefulness.&lt;/p&gt;</description>
    </item>
    <item>
      <title>My Dell Vostro 3560 review</title>
      <link>https://www.msoos.org/2012/08/my-dell-vostro-3560-review/</link>
      <pubDate>Sun, 26 Aug 2012 14:11:21 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=1331</guid> 
      <description>&lt;p&gt;In this post I would like to share with you a personal review of my new business line laptop from Dell, the Vostro 3560. It&amp;rsquo;s a 15.6&amp;quot; laptop that has Full HD screen using &lt;a href=&#34;http://en.wikipedia.org/wiki/TFT_LCD#Twisted_nematic_.28TN.29&#34;&gt;TN display&lt;/a&gt; technology, a 750GB HDD spinning at 7500rpm, 6GB of DDR3 RAM clocked at 1600MHz, with the highest possible Core i7 processor available for this machine, the &lt;a href=&#34;http://ark.intel.com/products/64901&#34;&gt;i7-3612QM&lt;/a&gt;, that goes to 3.1GHz with all cores still active.&lt;/p&gt;</description>
    </item>
    <item>
      <title>How to use CryptoMiniSat 2.9 as a library</title>
      <link>https://www.msoos.org/2012/06/how-to-use-cryptominisat-2-9-as-a-library/</link>
      <pubDate>Wed, 20 Jun 2012 10:43:29 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=1271</guid> 
      <description>&lt;p&gt;There have been some questions asked about how to use CryptoMiniSat as a library. Here, I give a simple example usage to help any future potential users. If there are any question that seems unanswered, please feel free to add them as a comment to this post.&lt;/p&gt;
&lt;p&gt;First, we initialize the solver with high verbosity:&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-c++&#34; data-lang=&#34;c++&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;#include&lt;/span&gt; &lt;span style=&#34;color:#75715e&#34;&gt;&amp;#34;cmsat/Solver.h&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;using&lt;/span&gt; &lt;span style=&#34;color:#66d9ef&#34;&gt;namespace&lt;/span&gt; CMSat;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;SolverConf conf;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;conf.verbosity &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;2&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Solver &lt;span style=&#34;color:#a6e22e&#34;&gt;solver&lt;/span&gt;(conf);
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Then we add the variables 0..9:&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;for(int i = 0; i &amp;lt; 10; i++) {
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  solver.newVar();
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;And add a clause that would look in the &lt;a href=&#34;http://people.sc.fsu.edu/%7Ejburkardt/data/cnf/cnf.html&#34;&gt;DIMACS&lt;/a&gt; input format as &amp;ldquo;2 -5 10 0&amp;rdquo;:&lt;/p&gt;</description>
    </item>
    <item>
      <title>Visualizing SAT solving</title>
      <link>https://www.msoos.org/2012/06/visualizing-sat-solving/</link>
      <pubDate>Sat, 16 Jun 2012 13:02:55 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=1228</guid> 
      <description>&lt;figure&gt;&lt;a href=&#34;https://www.msoos.org/sat_visualization/&#34;&gt;
    &lt;img loading=&#34;lazy&#34; src=&#34;https://www.msoos.org/wordpress/wp-content/uploads/2012/06/sat_visualization_snapshot_small.png&#34;
         alt=&#34;Visualizing the solving of mizh-md5-47-3.cnf&#34;/&gt; &lt;/a&gt;&lt;figcaption&gt;
            &lt;p&gt;Visualizing the solving of mizh-md5-47-3.cnf&lt;/p&gt;
        &lt;/figcaption&gt;
&lt;/figure&gt;

&lt;p&gt;Visualizing what happens during SAT solving has been a long-term goal of mine, and finally, I have managed to pull together something that I feel confident about. The system is fully explained in the &lt;a href=&#34;https://www.msoos.org/sat_visualization/&#34;&gt;liked&lt;/a&gt; &lt;a href=&#34;https://www.msoos.org/sat_visualization/&#34;&gt;i&lt;/a&gt; mage on the right, including how to read the graphs and why I made them. Here, I would like to talk about the challenges I had to overcome to create the system.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Q-DIMM, an &#34;innovation&#34; by ASUS </title>
      <link>https://www.msoos.org/2012/05/q-dimm-an-innovation-by-asus/</link>
      <pubDate>Sun, 27 May 2012 14:55:40 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=1210</guid> 
      <description>&lt;p&gt;Lately, I have been having &lt;strong&gt;boot problems&lt;/strong&gt; with my computer: the system would sometimes fail to boot, and at other times, it displayed the wrong memory readings. I was puzzled, so I took a look. I have six memory DIMMs installed in an ASUS motherboard. Memory modules are usually retained in their slots using two latches:&lt;/p&gt;
&lt;p&gt;&lt;img loading=&#34;lazy&#34; src=&#34;https://www.msoos.org/wordpress/wp-content/uploads/2012/05/correct_latch.gif&#34;&gt;&lt;/p&gt;
&lt;p&gt;The point of these latches is to &lt;strong&gt;keep the memory modules in place&lt;/strong&gt; when the computer is moved around. They thus serve the same purpose as the screws for PCIe slots or the mounting holes for the CPU coolers. My motherboard, however, is made by ASUS, and it has a &amp;ldquo;feature&amp;rdquo; called Q-DIMM, which is supposed to ease the installation of memory modules when the system has the video card already installed. This &amp;ldquo;feature&amp;rdquo; is rather simple: the latch on the right is &lt;strong&gt;completely missing:&lt;/strong&gt;&lt;img loading=&#34;lazy&#34; src=&#34;https://www.msoos.org/wordpress/wp-content/uploads/2012/05/qdimm_kep1.jpeg&#34;&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>On hyper-binary resolution</title>
      <link>https://www.msoos.org/2012/05/on-hyper-binary-resolution/</link>
      <pubDate>Thu, 17 May 2012 09:34:01 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=1196</guid> 
      <description>&lt;p&gt;Hyper-binary resolution is actually quite straightforward, or at least appears to be. Let&amp;rsquo;s take the following example. The clauses in our database are the following:&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;-a V b
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;-a V c
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;-b V -c V g
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;-b V -c V d
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;-d V g
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Let&amp;rsquo;s set &lt;code&gt;a&lt;/code&gt; to true, and see what happens. Immediately, &lt;code&gt;b&lt;/code&gt; and &lt;code&gt;c&lt;/code&gt; get set to true through binary clauses. If we now propagate &lt;code&gt;g&lt;/code&gt; through the clause &lt;code&gt;-b V -c V g&lt;/code&gt;, we ought to do hyper-binary resolution straight away, and add the clause &lt;code&gt;-a V g&lt;/code&gt; -- some call this &lt;a href=&#34;http://fmv.jku.at/biere/talks/Biere-Dagstuhl09-talk.pdf&#34;&gt;lazy hyper-binary resolution&lt;/a&gt;. Good, one more binary clause!&lt;/p&gt;</description>
    </item>
    <item>
      <title>A nifty way of saving time with OpenCL</title>
      <link>https://www.msoos.org/2012/01/a-nifty-way-of-saving-time-with-opencl/</link>
      <pubDate>Tue, 17 Jan 2012 21:14:17 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=1128</guid> 
      <description>&lt;p&gt;In &lt;a href=&#34;http://en.wikipedia.org/wiki/OpenCL&#34;&gt;OpenCL&lt;/a&gt;, the platform for using the graphics card as a form of &lt;a href=&#34;http://en.wikipedia.org/wiki/GPGPU&#34;&gt;highly parallelised machine&lt;/a&gt;, reading and writing to the memory of the card is very expensive. For this reason, the OpenCL &lt;a href=&#34;http://www.khronos.org/registry/cl/specs/opencl-1.2.pdf&#34;&gt;standard&lt;/a&gt; offers a set of highly flexible ways of writing and reading data to- and from the OpenCL device. Using these flexible systems takes time to get used to, but seem to be necessary to get the most out of the graphics card.&lt;/p&gt;</description>
    </item>
    <item>
      <title>AMD&#39;s OpenCL heaven and hell</title>
      <link>https://www.msoos.org/2012/01/amds-opencl-heaven-and-hell/</link>
      <pubDate>Thu, 05 Jan 2012 21:01:17 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=1079</guid> 
      <description>&lt;p&gt;&lt;img loading=&#34;lazy&#34; src=&#34;https://www.msoos.org/wordpress/wp-content/uploads/2012/01/OpenCL_Logo.png&#34;&gt;I have been using the AMD&amp;rsquo;s &lt;a href=&#34;http://en.wikipedia.org/wiki/OpenCL&#34;&gt;OpenCL&lt;/a&gt; platform for a while now, so I&amp;rsquo;ll try to write a little overview of what I think is good and bad about OpenCL in general and AMD&amp;rsquo;s OpenCL implementation in particular.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;Update:&lt;/strong&gt; AMD was working on the issues below, and temporarily fixed some of them. They are broken again, and I gave up trying to help them. They would need more engineers to fix these issues on a permanent basis.&lt;/em&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Thoughts on SAT@home</title>
      <link>https://www.msoos.org/2011/12/thoughts-on-sat-at-home/</link>
      <pubDate>Sun, 11 Dec 2011 21:05:58 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=1066</guid> 
      <description>&lt;p&gt;&lt;a href=&#34;http://sat.isa.ru/pdsat/&#34;&gt;&lt;img loading=&#34;lazy&#34; src=&#34;https://www.msoos.org/wordpress/wp-content/uploads/2011/12/sat_at_home_logo.png&#34;&gt;&lt;/a&gt; If you have ever wondered how your multi-month SAT problem could be solved, the answer is here: &lt;a href=&#34;http://sat.isa.ru/pdsat/&#34;&gt;SAT@home&lt;/a&gt; by some kind Russian researchers! This idea has been brewing in my head, we even started a mini-project with a  friendly &lt;a href=&#34;http://www.american.edu/cas/faculty/mblack.cfm&#34;&gt;American researcher&lt;/a&gt;, but we never got it into a working condition :(. It&amp;rsquo;s great that someone took the time to do it, though. Creating such a setup has some easier and harder parts. Setting up a &lt;a href=&#34;http://boinc.berkeley.edu/&#34;&gt;BOINC&lt;/a&gt; server is not that hard, but it needs to run 24/7, which is difficult, unless you are department head at a university or you have a company behind you. Then the scripts need to be written, which is relatively easy to do, but testing and debugging is time-consuming. The &lt;em&gt;really&lt;/em&gt; hard part, though, is how to distribute the workload. Treatises could be written on that, and the one above uses the simplest method, that of cutting up the problem along a couple of variables. It&amp;rsquo;s a good start, I think: starting easy is always the best way to start &amp;ndash; the first automobile didn&amp;rsquo;t try to achieve 300km/h speeds, and it didn&amp;rsquo;t have to.&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>Failed literal probing and UIP</title>
      <link>https://www.msoos.org/2011/08/failed-literal-probing-and-uip/</link>
      <pubDate>Thu, 04 Aug 2011 09:50:02 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=957</guid> 
      <description>&lt;p&gt;I have just realised that &lt;a href=&#34;https://www.msoos.org/cryptominisat2&#34;&gt;CryptoMiniSat&lt;/a&gt;, having won a number of medals, does one of the most basic things, &lt;a href=&#34;http://citeseerx.ist.psu.edu/viewdoc/download;jsessionid=CF33EFCD2F8DC2595B3CB93AB4B02833?doi=10.1.1.1.1941&amp;amp;rep=rep1&amp;amp;type=pdf&#34;&gt;failed literal probing&lt;/a&gt;, &lt;em&gt;all wrong&lt;/em&gt;. Let me tell you why it&amp;rsquo;s all wrong. In essence, failed literal probing is trivial. We enqueue a fact, such as &lt;code&gt;a&lt;/code&gt;, and then propagate it. If this fails, i.e. if two opposing facts such as &lt;code&gt;g&lt;/code&gt; and &lt;code&gt;-g&lt;/code&gt; are derived, we know that &lt;code&gt;a&lt;/code&gt; cannot be true, so we set &lt;code&gt;-a&lt;/code&gt;. Easy. Or maybe not so easy.&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>Learnt clause graphs</title>
      <link>https://www.msoos.org/2011/07/learnt-clause-graphs/</link>
      <pubDate>Thu, 07 Jul 2011 15:31:19 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=894</guid> 
      <description>&lt;p&gt;&lt;em&gt;&amp;ldquo;Stay hungry. Stay foolish.&amp;rdquo;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;In my &lt;a href=&#34;https://www.msoos.org/fun-facts-about-sat-solving-part-1&#34;&gt;last post&lt;/a&gt;, I talked a little bit about learnt clause size distributions (histograms, really), and after a long chat with &lt;a href=&#34;http://folk.uio.no/vegardno/&#34;&gt;Vegard Nossum&lt;/a&gt;, we came up with some nice 3D graphs of learnt clause size distributions et al. It&amp;rsquo;s basically a lot of brainstorming that is quite entertaining I think. First of all, instead of &lt;a href=&#34;http://en.wikipedia.org/wiki/Waiting_for_Godot&#34;&gt;waiting for Godot&lt;/a&gt; (i.e. someone to tell me that is has been done already), we got down an dirty with time-sliced histograms, so we can see how a specific problem gets solved. Again, I won&amp;rsquo;t go into much analysis, as I think it&amp;rsquo;s quite detrimental to novel ways of interpretation, instead, I will simply display the graphs. All simplification algorithms have been switched off for these graphs, though interestingly, they look pretty similar even if simplifications are turned on. Before we start, let me note that all tools to generate these simply and easily will be available in CryptoMS-2.9.2 (and are already available from the &lt;a href=&#34;http://gitorious.org/cryptominisat/&#34;&gt;git repository&lt;/a&gt; of course &amp;ndash; nothing I do on CMS is secret)&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>CryptoMiniSat won two gold medals at SAT Comp&#39;11</title>
      <link>https://www.msoos.org/2011/06/cryptominisat-won-two-gold-medals-at-sat-comp11/</link>
      <pubDate>Mon, 27 Jun 2011 16:49:58 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=864</guid> 
      <description>&lt;p&gt;&lt;em&gt;&lt;a href=&#34;https://www.msoos.org/wordpress/wp-content/uploads/2011/06/cups.jpg&#34;&gt;&lt;img loading=&#34;lazy&#34; src=&#34;https://www.msoos.org/wordpress/wp-content/uploads/2011/06/cups.jpg&#34;&gt;&lt;/a&gt;(Note: the judges made a small mistake, and CryptoMiniSat only won 1 gold and 1 silver medal. Details below.)&lt;/em&gt; &lt;em&gt;CryptoMiniSat&lt;/em&gt;&amp;rsquo;s SAT Competition&#39;11 version, &amp;ldquo;Strange Night&amp;rdquo;&lt;a href=&#34;http://www.cril.univ-artois.fr/SAT11/results/ranking.php?idev=46&amp;amp;seqCpuLimit=5000&amp;amp;parCpuLimit=40000&amp;amp;wcLimit=5000&#34;&gt;won&lt;/a&gt; two gold medals at the &lt;a href=&#34;http://www.cril.univ-artois.fr/SAT11/&#34;&gt;competition&lt;/a&gt;: one shared with &lt;em&gt;&lt;a href=&#34;http://fmv.jku.at/lingeling/&#34;&gt;lingeling&lt;/a&gt;&lt;/em&gt; at the parallel SAT+UNSAT Applications track, and one at the parallel UNSAT Applications track. This is a great result, and I would like to thank everyone who helped me and the solver achieve this result: my fiancée, my current employer, &lt;a href=&#34;http://srlabs.de/&#34;&gt;Security Research Labs&lt;/a&gt; and Karsten Nohl in particular, who started the whole &lt;em&gt;CryptoMiniSat&lt;/em&gt; saga, my former employer, INRIA Rhone-Alpes and in particular &lt;a href=&#34;http://planete.inrialpes.fr/~ccastel/&#34;&gt;Claude Castelluccia&lt;/a&gt;, and finally, all the kind people at the &lt;a href=&#34;http://lists.gforge.inria.fr/mailman/listinfo/cryptominisat-devel&#34;&gt;development mailing list&lt;/a&gt;. Without the help of all these people, CryptoMiniSat would probably never exist in the first place, much less win such distinguished awards.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Dreaming up a parallel SAT architecture</title>
      <link>https://www.msoos.org/2011/06/dreaming-up-a-parallel-sat-architecture/</link>
      <pubDate>Mon, 06 Jun 2011 12:26:15 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=799</guid> 
      <description>&lt;p&gt;When someone looks at the speed of solving when using parallel SAT solvers, it is easy to see that scaling doesn&amp;rsquo;t really work &amp;ndash; especially for the hard UNSAT problems. In the past months I have been struggling to think of an architecture that will enable me to write a SAT solver that solves this problem. Let me share with you where I got. It will be more of a brainstorming than a descriptive blog post, but maybe it will help you avoid pitfalls, or maybe just to get a better picture of parallel SAT solving.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Understanding Implication Graphs</title>
      <link>https://www.msoos.org/2011/05/understanding-implication-graphs/</link>
      <pubDate>Fri, 27 May 2011 22:18:17 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=738</guid> 
      <description>&lt;p&gt;Having won the &lt;a href=&#34;http://baldur.iti.uka.de/sat-race-2010/results.html&#34;&gt;SAT Race&lt;/a&gt; with CryptoMiniSat, I think I can now confess that I still don&amp;rsquo;t understand conflict generation. So today, I sat down and I tried to understand it. The result is some fun code, a lot of reading, and great pictures. Let me share with you these auto-generated graphs &amp;ndash; the generator will be released with CMSat 3.0.0, so you will be able to generate them, too. These graphs show something called an &amp;lsquo;implication graph&amp;rsquo;, which is nothing more than a graphical way to show how propagations were made by the reasoning engine. For instance, if variable x1 and x2 are both FALSE, then clause &amp;lsquo;x1 V x2 V x3&amp;rsquo; will force x3 to be TRUE to satisfy the clause. Okay, so much for talk, let&amp;rsquo;s see the graphs!&lt;/p&gt;</description>
    </item>
    <item>
      <title>Presentation at Hackito Ergo Sum</title>
      <link>https://www.msoos.org/2011/04/presentation-at-hackito-ergo-sum/</link>
      <pubDate>Wed, 13 Apr 2011 18:04:56 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=723</guid> 
      <description>&lt;p&gt;The &lt;a href=&#34;http://hackitoergosum.org/&#34;&gt;HES&#39;11&lt;/a&gt; event was great: I had the pleasure of listening to some awesome presentations, and to meet some great people. The most interesting &lt;a href=&#34;http://www.youtube.com/watch?v=ovfYBa1EHm4&#34;&gt;presentation&lt;/a&gt; from a non-technical point of view was the attacks at the automount feature of Linux, which everybody thinks is completely secure, but is in fact very flawed due to some buggy rendering libraries. It&amp;rsquo;s quite interesting that almost everyone thinks that their Linux installation is secure, when in fact if Linux was mainstream, viruses would be abound &amp;ndash; but Linux is only a minor player, so malicious software is rarely written for it.&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>Recovering XORs from a CNF</title>
      <link>https://www.msoos.org/2011/03/recovering-xors-from-a-cnf/</link>
      <pubDate>Wed, 16 Mar 2011 17:53:33 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=699</guid> 
      <description>&lt;p&gt;Let&amp;rsquo;s suppose you are looking to recover XORs. It&amp;rsquo;s fun to recover XORs, because you could try to XOR the XORs together to obtain new information, like this:&lt;/p&gt;
&lt;p&gt;&lt;span class=&#34;katex&#34;&gt;&lt;span class=&#34;katex-mathml&#34;&gt;&lt;math xmlns=&#34;http://www.w3.org/1998/Math/MathML&#34;&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mo&gt;⊕&lt;/mo&gt;&lt;mi&gt;b&lt;/mi&gt;&lt;mo&gt;⊕&lt;/mo&gt;&lt;mi&gt;c&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;/mrow&gt;&lt;annotation encoding=&#34;application/x-tex&#34;&gt;a \oplus b \oplus c = 0&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;span class=&#34;katex-html&#34; aria-hidden=&#34;true&#34;&gt;&lt;span class=&#34;katex-base&#34;&gt;&lt;span class=&#34;katex-strut&#34; style=&#34;height:0.6667em;vertical-align:-0.0833em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mord mathnormal&#34;&gt;a&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2222em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mbin&#34;&gt;⊕&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2222em;&#34;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;katex-base&#34;&gt;&lt;span class=&#34;katex-strut&#34; style=&#34;height:0.7778em;vertical-align:-0.0833em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mord mathnormal&#34;&gt;b&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2222em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mbin&#34;&gt;⊕&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2222em;&#34;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;katex-base&#34;&gt;&lt;span class=&#34;katex-strut&#34; style=&#34;height:0.4306em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mord mathnormal&#34;&gt;c&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2778em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mrel&#34;&gt;=&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2778em;&#34;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;katex-base&#34;&gt;&lt;span class=&#34;katex-strut&#34; style=&#34;height:0.6444em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mord&#34;&gt;0&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&#34;katex&#34;&gt;&lt;span class=&#34;katex-mathml&#34;&gt;&lt;math xmlns=&#34;http://www.w3.org/1998/Math/MathML&#34;&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mo&gt;⊕&lt;/mo&gt;&lt;mi&gt;d&lt;/mi&gt;&lt;mo&gt;⊕&lt;/mo&gt;&lt;mi&gt;b&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;/mrow&gt;&lt;annotation encoding=&#34;application/x-tex&#34;&gt;a \oplus d \oplus b = 0&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;span class=&#34;katex-html&#34; aria-hidden=&#34;true&#34;&gt;&lt;span class=&#34;katex-base&#34;&gt;&lt;span class=&#34;katex-strut&#34; style=&#34;height:0.6667em;vertical-align:-0.0833em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mord mathnormal&#34;&gt;a&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2222em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mbin&#34;&gt;⊕&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2222em;&#34;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;katex-base&#34;&gt;&lt;span class=&#34;katex-strut&#34; style=&#34;height:0.7778em;vertical-align:-0.0833em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mord mathnormal&#34;&gt;d&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2222em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mbin&#34;&gt;⊕&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2222em;&#34;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;katex-base&#34;&gt;&lt;span class=&#34;katex-strut&#34; style=&#34;height:0.6944em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mord mathnormal&#34;&gt;b&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2778em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mrel&#34;&gt;=&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2778em;&#34;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;katex-base&#34;&gt;&lt;span class=&#34;katex-strut&#34; style=&#34;height:0.6444em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mord&#34;&gt;0&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
therefore,
&lt;span class=&#34;katex&#34;&gt;&lt;span class=&#34;katex-mathml&#34;&gt;&lt;math xmlns=&#34;http://www.w3.org/1998/Math/MathML&#34;&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mi&gt;c&lt;/mi&gt;&lt;mo&gt;⊕&lt;/mo&gt;&lt;mi&gt;d&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;/mrow&gt;&lt;annotation encoding=&#34;application/x-tex&#34;&gt;c \oplus d = 0&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;span class=&#34;katex-html&#34; aria-hidden=&#34;true&#34;&gt;&lt;span class=&#34;katex-base&#34;&gt;&lt;span class=&#34;katex-strut&#34; style=&#34;height:0.6667em;vertical-align:-0.0833em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mord mathnormal&#34;&gt;c&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2222em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mbin&#34;&gt;⊕&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2222em;&#34;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;katex-base&#34;&gt;&lt;span class=&#34;katex-strut&#34; style=&#34;height:0.6944em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mord mathnormal&#34;&gt;d&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2778em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mrel&#34;&gt;=&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2778em;&#34;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;katex-base&#34;&gt;&lt;span class=&#34;katex-strut&#34; style=&#34;height:0.6444em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mord&#34;&gt;0&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
therefore,
&lt;span class=&#34;katex&#34;&gt;&lt;span class=&#34;katex-mathml&#34;&gt;&lt;math xmlns=&#34;http://www.w3.org/1998/Math/MathML&#34;&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mi&gt;c&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;d&lt;/mi&gt;&lt;/mrow&gt;&lt;annotation encoding=&#34;application/x-tex&#34;&gt;c = d&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;span class=&#34;katex-html&#34; aria-hidden=&#34;true&#34;&gt;&lt;span class=&#34;katex-base&#34;&gt;&lt;span class=&#34;katex-strut&#34; style=&#34;height:0.4306em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mord mathnormal&#34;&gt;c&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2778em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mrel&#34;&gt;=&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2778em;&#34;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;katex-base&#34;&gt;&lt;span class=&#34;katex-strut&#34; style=&#34;height:0.6944em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mord mathnormal&#34;&gt;d&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h3 id=&#34;simple-xor-recovery&#34;&gt;Simple XOR recovery&lt;/h3&gt;
&lt;p&gt;The simplest way to recover an XOR clause is to look for clauses that encode it, which is the following set of clauses:&lt;/p&gt;</description>
    </item>
    <item>
      <title>CryptoMiniSat in SAT Competition&#39;11</title>
      <link>https://www.msoos.org/2011/03/cryptominisat-in-sat-competition11/</link>
      <pubDate>Sun, 06 Mar 2011 18:21:47 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=687</guid> 
      <description>&lt;p&gt;I have submitted three versions of &lt;a href=&#34;http://gitorious.org/cryptominisat/&#34;&gt;CryptoMiniSat&lt;/a&gt; to the 2011 &lt;a href=&#34;http://www.satcompetition.org/2011/&#34;&gt;SAT Competition&lt;/a&gt;, all available &lt;a href=&#34;https://gforge.inria.fr/frs/download.php/28312/StrangeNight.tar.gz&#34;&gt;here&lt;/a&gt;. The releases are commonly called &amp;ldquo;Strange Night&amp;rdquo;, after the music track of the same &lt;a href=&#34;http://www.youtube.com/watch?v=jqmT7Fpfhp4&#34;&gt;name&lt;/a&gt;. Inside the archive you will find 5 binaries and a PDF description. The five binaries are made up of two single-threaded, two multi-threaded, and a unified single- and multi-threaded binary. This latter is called &lt;em&gt;techdemo&lt;/em&gt;, as it is more of a technological demonstrator than anything else, and was developed in collaboration with &lt;a href=&#34;http://www.cs.toronto.edu/~gkatsi/&#34;&gt;George Katsirelos&lt;/a&gt; and &lt;a href=&#34;http://www.lri.fr/~simon/&#34;&gt;Laurent Simon&lt;/a&gt;. All versions are collaborative, however, as they all have the hands of some people from the CryptoMiniSat development mailing &lt;a href=&#34;http://lists.gforge.inria.fr/pipermail/cryptominisat-devel/&#34;&gt;list&lt;/a&gt; on them.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Visiting Linz</title>
      <link>https://www.msoos.org/2011/02/visiting-linz/</link>
      <pubDate>Tue, 15 Feb 2011 13:52:40 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=682</guid> 
      <description>&lt;p&gt;&lt;a href=&#34;https://www.msoos.org/wordpress/wp-content/uploads/2011/06/Linz.png&#34;&gt;&lt;img loading=&#34;lazy&#34; src=&#34;https://www.msoos.org/wordpress/wp-content/uploads/2011/06/Linz.png&#34;&gt;&lt;/a&gt; Lately I had the pleasure of visiting Linz, Armin Biere&amp;rsquo;s workplace, where I gave a quick &lt;a href=&#34;https://www.msoos.org/wordpress/wp-content/uploads/2011/02/SAT_solver_architectures_Linz.pdf&#34;&gt;talk&lt;/a&gt; on SAT solver architectures. To me, it was really interesting to think through that presentation &amp;mdash; not because it was entirely new or exciting, but because it recapped on many issues that have been bothering me lately. Namely, that it&amp;rsquo;s difficult to make a really versatile SAT solver, because the low-level choices that must be made (e.g. watchlist scheme) determines so many things when one must make higher-level architectural decisions such as &lt;a href=&#34;https://www.msoos.org/changing-the-watchlist-scheme&#34;&gt;clause sharing&lt;/a&gt; or even something as simple as &lt;a href=&#34;https://www.msoos.org/hyper-binary-resolution-i-was-wrong-again&#34;&gt;hyper-binary resolution&lt;/a&gt;. As for this latter, thanks to Armin Biere&amp;rsquo;s thoughts I have finally managed to realise why my hyper-binary resolution was so slow: I lately took the decision not to fully propagate binary clauses before propagating normal (i.e. larger) clauses, which meant that doing hyper-binary resolution was much slower as I had to re-calculate the binary graph. The fact of not fully propagating binary clauses before normal clauses seemed also to influence my much higher-level choice of using cached implications, as they (intuitively, and also in practice) help much more if binary clauses are not fully propagated before normal clauses. This latter influence is interesting to think through, as something this trivial shouldn&amp;rsquo;t &amp;ndash; at least in principle &amp;ndash; influence such a high-level decision.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Delayed updates</title>
      <link>https://www.msoos.org/2011/02/delayed-updates/</link>
      <pubDate>Sat, 05 Feb 2011 21:38:50 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=652</guid> 
      <description>&lt;p&gt;In this post I will try to explain how &lt;a href=&#34;http://en.wikipedia.org/wiki/Locality_of_reference&#34;&gt;locality of reference&lt;/a&gt; could be exploited by grouping operations that access different memory locations. In the SAT solver program I write, there is a loop that does a something called propagation. The goal of propagation is to set a number of variables to a given value through a pretty cache-intensive process. While doing this, as the variables are set, some statistics are calculated. For example, I used to have something like this called for every variable set:&lt;/p&gt;</description>
    </item>
    <item>
      <title>On the New Watchlist Scheme</title>
      <link>https://www.msoos.org/2011/01/on-the-new-watchlist-scheme/</link>
      <pubDate>Sun, 23 Jan 2011 10:12:24 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=640</guid> 
      <description>&lt;p&gt;All right, so I am not so cool because I work on weekends, but I got &lt;a href=&#34;https://www.msoos.org/changing-the-watchlist-scheme&#34;&gt;this&lt;/a&gt; new watchlist scheme implemented. First off, let me say it was relatively easy to implement, which is a testament to the extensibility of CryptoMiniSat: it only took me ~4 hours to get it done. Secondly, I realised that I have forgotten XOR clauses when I thought through the new scheme. I used to store the current value of the XOR clause at the XOR clause itself (using the sings of the literals, being the hacker I am), and update it at every call to propXorClause(). Since we need to keep XOR clauses static just like normal clauses, this is no longer possible, so a separate data-structure needs to be built up for this. However, it won&amp;rsquo;t need too many updates, so all is fine, but it does make things a tad more complicated.&lt;/p&gt;</description>
    </item>
    <item>
      <title>CryptoMiniSat 2.9.0 released</title>
      <link>https://www.msoos.org/2011/01/cryptominisat-2-9-0-released/</link>
      <pubDate>Thu, 20 Jan 2011 22:41:57 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=623</guid> 
      <description>&lt;p&gt;After a long break, CryptoMiniSat 2.9.0 has finally been &lt;a href=&#34;https://gforge.inria.fr/frs/?group_id=1992&amp;amp;release_id=5810&#34;&gt;released&lt;/a&gt;. The Windows executables need &lt;a href=&#34;http://www.google.com/search?q=Microsoft+Visual+C%2B%2B+2008+SP1+Redistributable+Package&#34;&gt;this&lt;/a&gt; to work, and the Linux binaries need a recent (&amp;gt;=2.6.26) kernel version. The program has evolved substantially since the last release &amp;ndash; more than half of its codebase has been changed. It now works in multi-threaded mode, and uses &lt;a href=&#34;https://www.msoos.org/caching&#34;&gt;lazy cached implications&lt;/a&gt; for all sorts of interesting purposes from simple &lt;a href=&#34;https://www.msoos.org/transitive-otf-self-subsuming-resolution&#34;&gt;transitive on-the-fly self-subsuming resolution&lt;/a&gt; to very efficient &lt;a href=&#34;https://www.msoos.org/dependent-literals&#34;&gt;literal dependency analysis&lt;/a&gt;. Currently, the program solves ~225 problems from the &lt;a href=&#34;http://www.cril.univ-artois.fr/SAT09/&#34;&gt;2009 SAT Competition&lt;/a&gt; examples given the same time and similar computing power. This is a nice improvement over other SAT solvers such as &lt;a href=&#34;http://minisat.se/MiniSat.html&#34;&gt;MiniSat&lt;/a&gt; (205), &lt;a href=&#34;http://fmv.jku.at/precosat/&#34;&gt;PrecoSat&lt;/a&gt; (210) or &lt;a href=&#34;http://fmv.jku.at/lingeling/&#34;&gt;lingeling&lt;/a&gt; (207).&lt;/p&gt;</description>
    </item>
    <item>
      <title>Changing the Watchlist Scheme</title>
      <link>https://www.msoos.org/2011/01/changing-the-watchlist-scheme/</link>
      <pubDate>Fri, 14 Jan 2011 12:18:59 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=613</guid> 
      <description>&lt;p&gt;Okay, what if we changed the &lt;a href=&#34;http://www.ece.ucsb.edu/bears/class/256bd/RCFB256B3450-Zchoff.pdf&#34;&gt;watchlist scheme&lt;/a&gt;&amp;hellip; a bit? The way the watchlist scheme operates in SAT solvers is the following. We have a set of literals &lt;code&gt;lit1, lit2, lit3, lit4&lt;/code&gt; that defines the clause we want to be watched for propagation and conflict. We take two literals from this set of literals, and put them in a datastructure. It&amp;rsquo;s not important which ones we take, but we have to know which are the ones we took. So, we take the 1st and the 2nd (because we are lazy), and we put them in a set of lists called the watchlists. We now have a pointer to the clause in &lt;code&gt;watchlist[~lit1]&lt;/code&gt; and in &lt;code&gt;watchlist[~lit2]&lt;/code&gt;, where &lt;code&gt;~&lt;/code&gt; is the binary negation. If we now set &lt;code&gt;lit1 = false&lt;/code&gt; we have to have a look at the clauses in &lt;code&gt;watchlist[~lit1]&lt;/code&gt;, see if any of the clauses forces a propagation. If not, then we remove the corresponding &lt;code&gt;lit1&lt;/code&gt; from the watchlist, find another literal that is unset, e.g. &lt;code&gt;lit3&lt;/code&gt;, and put that into the watchlist[~lit3]. It is important that &lt;code&gt;lit3&lt;/code&gt; must not be &lt;code&gt;lit1&lt;/code&gt; or &lt;code&gt;lit2&lt;/code&gt;. Obviously, we know what &lt;code&gt;lit1&lt;/code&gt; is (we are visiting its watchlist, after all), but how could we know what &lt;code&gt;lit2&lt;/code&gt; is? Well, we always update the clause such that &lt;code&gt;lit1&lt;/code&gt; and &lt;code&gt;lit2&lt;/code&gt; are the first two literals. We do this for every clause in every watchlist, and until a conflict is found, or all clauses are satisfied.&lt;/p&gt;</description>
    </item>
    <item>
      <title>XOR clauses</title>
      <link>https://www.msoos.org/xor-clauses/</link>
      <pubDate>Tue, 04 Jan 2011 22:57:42 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org</guid> 
      <description>&lt;p&gt;One of the most challenging problems when trying to describe cryptographic primitives in SAT solvers is the XOR function that is used very often in cryptography. MiniSat (and most DPLL-based SAT solvers) only understands the &lt;a href=&#34;http://en.wikipedia.org/wiki/Conjunctive_normal_form&#34;&gt;Conjunctive Normal Form&lt;/a&gt;, or CNF for short. However, to describe a XOR function in CNF you need to have 2^{n-1} clauses, where n is the size of your XOR function. To overcome this exponential explosion, XOR functions are cut up into manageable sizes (6-7) and then implemented in 2^5&amp;ndash;2^6 clauses each. This is not only tedious, uses a lot of memory and slow, but also makes it impossible to do interesting operations on XORs directly, such as XOR-ing two XORs to knock out variables. Note that CryptoMiniSat 2.0 and above can recover the XOR clauses from the CNF, but it is still of considerable interest in using the XOR notation described below.&lt;/p&gt;</description>
    </item>
    <item>
      <title>The variable speed of SAT solving</title>
      <link>https://www.msoos.org/2011/01/the-variable-speed-of-sat-solving/</link>
      <pubDate>Sun, 02 Jan 2011 22:37:46 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=588</guid> 
      <description>&lt;figure&gt;
    &lt;img loading=&#34;lazy&#34; src=&#34;https://www.msoos.org/wordpress/wp-content/uploads/2011/01/Attacking-Bivium-Using-SAT-Solvers.png&#34;
         alt=&#34;Timings from the article &amp;ldquo;Attacking Bivium Using SAT Solvers&amp;rdquo;. The authors didn&amp;rsquo;t seem to have randomised the problems enough: the time to solve should increase exponentially, but instead it goes up and down like a roller coaster&#34;/&gt; &lt;figcaption&gt;
            &lt;p&gt;Timings from the article &amp;ldquo;Attacking Bivium Using SAT Solvers&amp;rdquo;. The authors didn&amp;rsquo;t seem to have randomised the problems enough: the time to solve should increase exponentially, but instead it goes up and down like a roller coaster&lt;/p&gt;
        &lt;/figcaption&gt;
&lt;/figure&gt;</description>
    </item>
    <item>
      <title>Extended resolution is working!</title>
      <link>https://www.msoos.org/2010/12/extended-resolution-is-working/</link>
      <pubDate>Tue, 28 Dec 2010 22:13:08 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=577</guid> 
      <description>&lt;p&gt;The subtitle of this post should really say: &lt;em&gt;and I was wrong, again&lt;/em&gt;. First, let me explain what I have been wrong about &amp;ndash; wrong assumptions are always the most instructive.&lt;/p&gt;
&lt;p&gt;I have been convinced for the past year that it&amp;rsquo;s best to have two type of restart and corresponding learnt clause usefulness strategies: the glue-based restart&amp;amp;garbage collection of &lt;a href=&#34;http://www.lri.fr/~simon/glucose/downloads/glucose-compet-report.pdf&#34;&gt;Glucose&lt;/a&gt; and a variation of the geometric restart and activity-based garbage collection of &lt;a href=&#34;http://minisat.se&#34;&gt;MiniSat&lt;/a&gt;. The glue-based variation was observed to be very good for industrial instances with many variables, many of which can be fixed easily, and the MiniSat-type variation was observed to be good for cryptography-type instances with typically low number of variables, almost none of which can be fixed. However, I had the chance to talk to &lt;a href=&#34;http://fmv.jku.at/biere/&#34;&gt;Armin Biere&lt;/a&gt; a couple of weeks ago, and while talking with him, I have realised that maybe one of Lingeling&amp;rsquo;s advantages was its very interesting single restart strategy, based on agility (&lt;a href=&#34;http://fmv.jku.at/biere/talks/Biere-SAT08-talk.pdf&#34;&gt;presentation&lt;/a&gt;, &lt;a href=&#34;http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.161.8085&amp;amp;rep=rep1&amp;amp;type=pdf&#34;&gt;PDF&lt;/a&gt;) which seemed to let it use glue-based garbage collection all the time, succeeding to solve both types of instances. So, inspired by the &lt;a href=&#34;http://events.ccc.de/congress/2010/wiki/Welcome&#34;&gt;CCC&lt;/a&gt; crowd, in only 10 minutes I have implemented a simple version of this restart strategy into CryptoMiniSat, and voilá, it seems to work on both type of instances, using only glues!&lt;/p&gt;</description>
    </item>
    <item>
      <title>CCC madness</title>
      <link>https://www.msoos.org/2010/12/ccc-madness/</link>
      <pubDate>Sun, 26 Dec 2010 23:04:47 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=557</guid> 
      <description>&lt;p&gt;&lt;a href=&#34;https://www.msoos.org/wordpress/wp-content/uploads/2010/12/27c3.jpg&#34;&gt;&lt;img loading=&#34;lazy&#34; src=&#34;https://www.msoos.org/wordpress/wp-content/uploads/2010/12/27c3.jpg&#34;&gt;&lt;/a&gt; The Chaos Computer Club (CCC) is having its yearly &lt;a href=&#34;http://events.ccc.de/category/27c3/&#34;&gt;conference&lt;/a&gt; starting today. It&amp;rsquo;s a madhouse here, which is great for ideas, so I have been having this rush of ideas implemented. First off, it seems that complex problems with few variables are way too difficult to solve even with distributed solving. I have been trying to solve some difficult problems, but no matter how much computer power I throw at them (and I have been throwing &amp;gt;2 years&amp;rsquo; worth, with &amp;gt;300 CPU cores running), not much progress is being made. I have lately been attributing this &amp;ldquo;failure&amp;rdquo; to one prime problem: lack of expressiveness.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Distributed SAT solving is fun</title>
      <link>https://www.msoos.org/2010/12/distributed-sat-solving-is-fun/</link>
      <pubDate>Mon, 20 Dec 2010 17:45:33 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=551</guid> 
      <description>&lt;p&gt;&lt;a href=&#34;https://www.msoos.org/wordpress/wp-content/uploads/2010/12/LogoGrid5000.png&#34;&gt;&lt;img loading=&#34;lazy&#34; src=&#34;https://www.msoos.org/wordpress/wp-content/uploads/2010/12/LogoGrid5000.png&#34;&gt;&lt;/a&gt; I have lately been trying to keep my promise I made on the &lt;a href=&#34;https://www.msoos.org/cryptominisat2&#34;&gt;webpage&lt;/a&gt; of CryptoMiniSat: &amp;ldquo;The long-term goals of CryptoMiniSat are to be an efficient sequential, parallel and distributed solver&amp;rdquo;. The first step was to make a relatively efficient sequential solver. With the winning of the SAT Race&#39;10, that was at least partially accomplished. The next step was to make the program parallel. Now, I have made it distributed. The parallel version was made using &lt;a href=&#34;http://www.openmp.org/&#34;&gt;OpenMP&lt;/a&gt;, and you can try it using the &amp;ldquo;master&amp;rdquo; branch from the git &lt;a href=&#34;http://gitorious.com/cryptominisat/&#34;&gt;repository&lt;/a&gt;. The distributed version uses &lt;a href=&#34;http://www.mcs.anl.gov/research/projects/mpi/&#34;&gt;MPI&lt;/a&gt;, which means it can probably work on most cluster/supercomputer architectures. This distributed version is currently alpha, and is not yet in the git repo.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Hyper-binary resolution: I was wrong, again</title>
      <link>https://www.msoos.org/2010/12/hyper-binary-resolution-i-was-wrong-again/</link>
      <pubDate>Thu, 16 Dec 2010 19:42:26 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=541</guid> 
      <description>&lt;p&gt;I am not perfect, so I make mistakes. One of the more memorable mistakes I have made has been regarding &lt;a href=&#34;https://www.msoos.org/i-must-be-dumb&#34;&gt;hyper-binary resolution&lt;/a&gt;. More specifically, in &lt;a href=&#34;https://www.msoos.org/being-dumb-is-part-of-the-deal&#34;&gt;this&lt;/a&gt; post I wrote that I cannot add as many binary clauses using hyper-binary resolution as &lt;a href=&#34;http://fmv.jku.at/biere/&#34;&gt;Armin Biere&lt;/a&gt;, one of the leading SAT solver experts, and I proposed a reason that would have meant that CryptoMiniSat was doing things differently and thus better. Well, I was wrong, on multiple accounts.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Dependent Literals</title>
      <link>https://www.msoos.org/2010/12/dependent-literals/</link>
      <pubDate>Tue, 07 Dec 2010 22:15:41 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=535</guid> 
      <description>&lt;p&gt;I have lately been trying to work on branching heuristics. The idea is relatively simple. If we have a &lt;a href=&#34;https://www.msoos.org/caching&#34;&gt;cache&lt;/a&gt; of what propagates what, we can try to branch on literals that propagate a lot of other literals. The algorithm boils down to the following:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;For each literal L, we select a literal DL that propagates L and has the largest tree of propagated literals.. We call this DL the dominating literal. Naturally, some literals don&amp;rsquo;t have a dominating literal, and some literals appear as dominating literals for many other literals.&lt;/li&gt;
&lt;li&gt;When branching, if we are supposed to branch on a literal that has a dominator, we pick the dominator instead of the literal. This not only ensures that the literal will be set, but it will probably also set a number of other literals.&lt;/li&gt;
&lt;li&gt;Using the heuristic of step 2, we should reach a conflict earlier, with less decisions taken. This should lead to faster conflicting, and thus faster solving.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Of course things aren&amp;rsquo;t as simple as they seem. First of all, as &lt;a href=&#34;http://www.informatik.uni-trier.de/~ley/db/indices/a-tree/k/Katsirelos:George.html&#34;&gt;George&lt;/a&gt; has indicated to me, Jarvisalo and Junttila have published  a &lt;a href=&#34;http://dx.doi.org/10.1007/s10601-008-9062-z&#34;&gt;paper&lt;/a&gt; entitled &lt;em&gt;Limitations of restricted branching in clause learning&lt;/em&gt;, which deals with issues related to this branching heursitic. The baseline of that paper is that it&amp;rsquo;s a bad idea to branch only on dependent (they call them &lt;em&gt;input&lt;/em&gt;) variables. I haven&amp;rsquo;t really got very deep into this, but there are some subtle differences between the heuristic above and dependent variables, notably that I have treated dependent &lt;em&gt;literals&lt;/em&gt; above, while Matti and Tommi are treating dependent &lt;em&gt;variables&lt;/em&gt;.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Caching</title>
      <link>https://www.msoos.org/2010/11/caching/</link>
      <pubDate>Tue, 23 Nov 2010 13:43:50 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=524</guid> 
      <description>&lt;p&gt;&amp;ldquo;Representation &lt;em&gt;is&lt;/em&gt; the essence of programming&amp;rdquo;
Frederic P. Brooks Jr., &amp;ldquo;The Mythical Man-month&amp;rdquo;&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;https://www.msoos.org/wordpress/wp-content/uploads/2010/11/memory.png&#34;&gt;&lt;img loading=&#34;lazy&#34; src=&#34;https://www.msoos.org/wordpress/wp-content/uploads/2010/11/memory.png&#34;&gt;&lt;/a&gt; Looking through the literature on SAT solvers, it is rare to find any algorithm that uses a form of time-memory trade-off. In fact, it is rare to find any algorithm that uses too much memory. This also shows up in practice, as it&amp;rsquo;s rare to find a SAT solver using too much memory. This translates to the following: if a SAT solver can in an effective way utilize the typically abundant memory, that SAT solver will have an advantage. Based on this logic, I think CryptoMiniSat is doing good.&lt;/p&gt;</description>
    </item>
    <item>
      <title>The Cathedral</title>
      <link>https://www.msoos.org/2010/11/the-cathedral/</link>
      <pubDate>Sun, 07 Nov 2010 20:09:59 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=514</guid> 
      <description>&lt;figure&gt;&lt;a href=&#34;http://www.flickr.com/photos/paukrus/&#34;&gt;
    &lt;img loading=&#34;lazy&#34; src=&#34;https://www.msoos.org/wordpress/wp-content/uploads/2010/11/cathedral1.jpg&#34;
         alt=&#34;Cathedral of Transfiguration in Habarovsk (picture credit: paukrus)&#34;/&gt; &lt;/a&gt;&lt;figcaption&gt;
            &lt;p&gt;Cathedral of Transfiguration in Habarovsk (picture credit: paukrus)&lt;/p&gt;
        &lt;/figcaption&gt;
&lt;/figure&gt;

&lt;p&gt;Last week I visited &lt;a href=&#34;http://research.microsoft.com/en-us/labs/cambridge/&#34;&gt;Micosoft Reasearch&lt;/a&gt; in Cambridge, where I gave a &lt;a href=&#34;https://www.msoos.org/wordpress/wp-content/uploads/2010/11/soos_microsoft_pres.pdf&#34;&gt;talk&lt;/a&gt; on SAT solvers, Grobner basis algorithms, and Cryptography. It was nice to visit Microsoft, and in particular I enjoyed seeing how &amp;ldquo;the cathedral&amp;rdquo; works. The kind of software development carried out at Microsoft and almost all large software companies is called the cathedral model due to the book &amp;ldquo;&lt;a href=&#34;http://en.wikipedia.org/wiki/The_Mythical_Man-Month&#34;&gt;The Mythical Man-Month&lt;/a&gt;&amp;rdquo;. It&amp;rsquo;s a very interesting book that talks about how software (and in particular, a &amp;ldquo;Programming Systems Product&amp;rdquo;) is developed. All Windows variants, and e.g. the IBM System/360 fall into the category of programming systems products: they are all tested, documented, extensible, have predefined inputs and outputs, come with predefined interfaces, etc. The development of these software is called the cathedral model simply because that&amp;rsquo;s the example the book uses, and it got stuck in the literature.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Implicit binary clauses</title>
      <link>https://www.msoos.org/2010/10/implicit-binary-clauses/</link>
      <pubDate>Wed, 27 Oct 2010 22:14:57 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=508</guid> 
      <description>&lt;p&gt;I have lately been trying to get CryptoMiniSat to use implicit binary clauses. The idea is that since binary clauses are very trivial (just two literals), and they don&amp;rsquo;t really need to keep state (like clause activity), they don&amp;rsquo;t really need to be stored at a separate location. Instead, they can be stored &lt;a href=&#34;https://www.msoos.org/propagating-faster&#34;&gt;directly&lt;/a&gt; in the watchlists. There are a number of advantages and disadvantages that come with this approach.&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;https://www.msoos.org/wordpress/wp-content/uploads/2010/10/implicit_bin_clauses1.png&#34;&gt;&lt;img loading=&#34;lazy&#34; src=&#34;https://www.msoos.org/wordpress/wp-content/uploads/2010/10/implicit_bin_clauses1.png&#34;&gt;&lt;/a&gt; The main advantage is a notable reduction of memory usage and memory fragmentation. The first is obvious: since we don&amp;rsquo;t allocate space for binary clauses separately, the memory usage of the program should go down. This is especially true since SAT problems usually contain a huge number of binary clauses. The secondary benefit, that of reduced memory fragmentation is not really that much of an advantage if someone uses, e.g. the &lt;a href=&#34;http://www.boost.org/doc/libs/release/libs/pool/doc/&#34;&gt;boost pool&lt;/a&gt; library.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Wasting cluster time</title>
      <link>https://www.msoos.org/2010/10/wasting-cluster-time/</link>
      <pubDate>Fri, 15 Oct 2010 21:54:20 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=502</guid> 
      <description>&lt;p&gt;Today marked the 100th cluster experiment I have conducted on the Grid&#39;5000 &lt;a href=&#34;http://www.grid5000.fr/mediawiki/index.php/Grenoble:Hardware&#34;&gt;cluster&lt;/a&gt; in Grenoble. The computers in this cluster are very powerful beasts, equipped with two Xeon Core i7-based processors, each with 4 cores for 8 cores in total with some impressive memory size and connectivity. The sad part is that since CryptoMiniSat is sequential software, I only use 1 core from the 8 total, since I cannot allow to have fluctuating test results due to memory-bandwidth problems when running multiple instances of the solver on the same physical computer. I have just counted, and using a very conservative estimate, I have wasted 41.8 years of  CPU core time to get CryptoMiniSat up to &lt;a href=&#34;https://www.msoos.org/cryptominisat-2-7-1-released&#34;&gt;speed&lt;/a&gt;.&lt;/p&gt;</description>
    </item>
    <item>
      <title>CryptoMiniSat 2.7.1 released</title>
      <link>https://www.msoos.org/2010/10/cryptominisat-2-7-1-released/</link>
      <pubDate>Wed, 13 Oct 2010 16:46:18 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=490</guid> 
      <description>&lt;p&gt;It has been a long and winding road, but finally, CryptoMiniSat 2.7.1 has been &lt;a href=&#34;https://gforge.inria.fr/frs/shownotes.php?release_id=5507&#34;&gt;released&lt;/a&gt;. The main additions relative to version 2.6.0 are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Lots of &lt;a href=&#34;https://www.msoos.org/documentation/cryptominisat/&#34;&gt;documentation&lt;/a&gt;. I have added ~1&#39;500 lines of comments to aid developers and user alike&lt;/li&gt;
&lt;li&gt;Transitive on-the-fly self-subsuming resolution &amp;ndash; an optimisation I have &lt;a href=&#34;../../transitive-otf-self-subsuming-resolution&#34;&gt;blogged about&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Memory allocator has been fixed and updated&lt;/li&gt;
&lt;li&gt;DIMACS parsing is now much better, which should allow for very interesting usage scenarios&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Although the above list doesn&amp;rsquo;t seem to talk about performance, let me talk about it first. My personal point of view on performance is that different applications have different needs, so even if overall some solver is the best, it might not mean that it is the best for a particular application. I compared the performance of CryptoMiniSat 2.7.1 to the other mainline solvers, namely &lt;a href=&#34;http://minisat.se/&#34;&gt;MiniSat 2.2&lt;/a&gt;, &lt;a href=&#34;http://fmv.jku.at/precosat/&#34;&gt;PrecoSat465&lt;/a&gt;, and &lt;a href=&#34;http://fmv.jku.at/lingeling/&#34;&gt;lingeling&lt;/a&gt;. I ran the problem instances of the 2009 SAT Competition, with a timeout of 6&#39;000 seconds on some &lt;a href=&#34;http://www.grid5000.fr/mediawiki/index.php/Grenoble:Hardware&#34;&gt;powerful&lt;/a&gt; computers. The results are the following:&lt;/p&gt;</description>
    </item>
    <item>
      <title>Configuration management at IRILL days</title>
      <link>https://www.msoos.org/2010/10/configuration-management-at-irill-days/</link>
      <pubDate>Mon, 04 Oct 2010 16:17:42 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=481</guid> 
      <description>&lt;p&gt;&lt;a href=&#34;https://www.msoos.org/wordpress/wp-content/uploads/2010/10/Logotype-IRILL.jpg&#34;&gt;&lt;img loading=&#34;lazy&#34; src=&#34;https://www.msoos.org/wordpress/wp-content/uploads/2010/10/Logotype-IRILL.jpg&#34;&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Today I attended the &lt;a href=&#34;http://www.irill.org/events/irill-days-2010&#34;&gt;IRILL days&lt;/a&gt; here in Paris. IRILL&amp;rsquo;s goal is to bring together high level researchers and scientists, FOSS (Free and Open Source) developers, and FOSS industry players to tackle the three fundamental challenges that FOSS poses:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;em&gt;scientific&lt;/em&gt;: study problems raised by the development and maintenance of FOSS code&lt;/li&gt;
&lt;li&gt;&lt;em&gt;educational&lt;/em&gt;: adapt the teaching curriculum to FOSS&lt;/li&gt;
&lt;li&gt;&lt;em&gt;economic&lt;/em&gt;: help create a sustainable ecosystem for FOSS innovations&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The most interesting part of the conference for me was Debian &lt;a href=&#34;http://www.debian.org/doc/FAQ/ch-pkgtools.en.html&#34;&gt;package dependency management&lt;/a&gt;, which currently is done by a number of ad-hoc algorithms, a problem that the &lt;a href=&#34;http://mancoosi.org/&#34;&gt;Mancoosi Project&lt;/a&gt; is tacking. Essentially, there are a number of program packages that need different libraries and services, and we need to decide which ones we need to install in order to satisfy those dependencies when installing/upgrading a package. This dependency graph and the package to be installed/upgraded is capture in a language called &lt;a href=&#34;http://www.mancoosi.org/cudf/primer/&#34;&gt;CUDF&lt;/a&gt; (complete PDF description &lt;a href=&#34;http://www.mancoosi.org/reports/tr3.pdf&#34;&gt;here&lt;/a&gt;). When deciding which packages to retain,upgrade or install, there are some goals which we must achieve, such as minimising the number of new packages as much a possible: the different optimisation criterias are described &lt;a href=&#34;http://www.mancoosi.org/misc-2010/criteria/&#34;&gt;here&lt;/a&gt;. There is a competition associated with this computationally difficult problem, the &lt;a href=&#34;http://www.mancoosi.org/misc-2010/&#34;&gt;MISC Competition&lt;/a&gt;, which was first conducted this year, during the &lt;a href=&#34;http://www.floc-conference.org/&#34;&gt;FLoC&lt;/a&gt; conference.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Open source software? Free software?</title>
      <link>https://www.msoos.org/2010/09/open-source-software-free-software/</link>
      <pubDate>Thu, 30 Sep 2010 18:40:27 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=472</guid> 
      <description>&lt;p&gt;&lt;a href=&#34;http://www.nuxeo.com/en/about/events/owf2010&#34;&gt;&lt;img loading=&#34;lazy&#34; src=&#34;https://www.msoos.org/wordpress/wp-content/uploads/2010/09/owf2010.jpg&#34;&gt;&lt;/a&gt; Today I attended the &lt;a href=&#34;http://www.openworldforum.org/&#34;&gt;Open World Forum&lt;/a&gt; conference here in Paris. Basically, it&amp;rsquo;s a business-oriented conference to do networking for folks in the free/open source industry. Some of the panelists were sometimes really boring, such as the &amp;ldquo;French Secretary of State responsible for the Digital Economy&amp;rdquo; who seemed to have deeply confused &amp;ldquo;&lt;a href=&#34;http://en.wikipedia.org/wiki/Free_software&#34;&gt;free as in speech&lt;/a&gt;&amp;rdquo; and &amp;ldquo;&lt;a href=&#34;http://en.wikipedia.org/wiki/Open_source_software&#34;&gt;open source&lt;/a&gt;&amp;rdquo; software &amp;ndash; a &lt;em&gt;grave&lt;/em&gt; mistake by my book. The panelist, who knew the difference of course, regularly overemphasised the use of &amp;ldquo;open source&amp;rdquo; software, but the notion of &amp;ldquo;free as in speech&amp;rdquo; was lost, and mentioned rarely, with the notable exception of the &lt;a href=&#34;http://www.redhat.com/&#34;&gt;Red Hat&lt;/a&gt; folks. With the release of CryptoMiniSat, which I explicitly released under a free software licence, &lt;a href=&#34;http://www.gnu.org/licenses/gpl.html&#34;&gt;GPLv3&lt;/a&gt;, I of course disagreed.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Documenting CryptoMiniSat</title>
      <link>https://www.msoos.org/2010/09/documenting-cryptominisat/</link>
      <pubDate>Wed, 29 Sep 2010 16:59:36 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=466</guid> 
      <description>&lt;p&gt;&lt;img loading=&#34;lazy&#34; src=&#34;https://www.msoos.org/wordpress/wp-content/uploads/2010/09/documentation.jpg&#34;&gt;Documenting code is not always so much fun. However, in order for the code to be extended by others, documentation needs to exist. Since I conceived &lt;a href=&#34;https://www.msoos.org/cryptominisat2&#34;&gt;CryptoMiniSat&lt;/a&gt; as a program to be extended by others, documentation was a must. So now, after investing about 2 weeks into documentation, it is finally ready. All major classes have been documented, along with all major functions and internal data structures. The number of comment lines I added is around a thousand, all in the Doxygen format. A preliminary HTML version is available &lt;a href=&#34;https://www.msoos.org/documentation/cryptominisat/index.html&#34;&gt;here&lt;/a&gt;. I hope the quality of the documentation will improve with time, and that others might correct and add more documentation as they update the program.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Transitive OTF self-subsuming resolution</title>
      <link>https://www.msoos.org/2010/09/transitive-otf-self-subsuming-resolution/</link>
      <pubDate>Tue, 28 Sep 2010 16:26:51 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=451</guid> 
      <description>&lt;p&gt;The title may be a bit long, but its essence is very simple: we try to shorten learnt clauses. The basic idea was described in &lt;a href=&#34;https://www.msoos.org/on-the-fly-self-subsuming-resolution&#34;&gt;this&lt;/a&gt; post: there is a clause we just derived, e.g.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;d V -e V f V g&lt;/code&gt; (1)&lt;/p&gt;
&lt;p&gt;where &lt;code&gt;d,e,f,g&lt;/code&gt; are binary variables, &lt;code&gt;-&lt;/code&gt; is binary negation, and &lt;code&gt;V&lt;/code&gt; is the binary OR operator. We can remove a literal from this using &lt;a href=&#34;https://www.msoos.org/self-subsuming-resolution&#34;&gt;self-subsuming resolution&lt;/a&gt; with e.g. the 2-long clause:&lt;/p&gt;</description>
    </item>
    <item>
      <title>anf2cnf script released</title>
      <link>https://www.msoos.org/2010/09/anf2cnf-script-released/</link>
      <pubDate>Fri, 24 Sep 2010 15:38:29 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=440</guid> 
      <description>&lt;p&gt;I have finally managed to fix the script that converts ANF problems to CNF format in the &lt;a href=&#34;http://www.sagemath.org/&#34;&gt;Sage&lt;/a&gt; math system. The &lt;a href=&#34;http://bitbucket.org/malb/algebraic_attacks/src/abd22969c7b5/anf2cnf.py&#34;&gt;original script&lt;/a&gt; was having some problems that I &lt;a href=&#34;https://www.msoos.org/anf2cnf-hell-in-sage&#34;&gt;blogged about&lt;/a&gt;. The new script has corrected most of the shortcomings of the original script, as well as added some textual help for the user.&lt;/p&gt;
&lt;p&gt;For instance, the equations&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;sage: print two_polynoms
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;[x0*x1 + 1, x0*x1 + x1]
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;that last time required 13 clauses and 4 variables in CNF, now look like this:&lt;/p&gt;</description>
    </item>
    <item>
      <title>anf2cnf hell in Sage</title>
      <link>https://www.msoos.org/2010/09/anf2cnf-hell-in-sage/</link>
      <pubDate>Wed, 22 Sep 2010 23:38:20 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=416</guid> 
      <description>&lt;p&gt;&lt;img loading=&#34;lazy&#34; src=&#34;https://www.msoos.org/wordpress/wp-content/uploads/2010/09/HieronymusBoschHellD1.jpg&#34;&gt;There is an &lt;a href=&#34;http://en.wikipedia.org/wiki/Algebraic_normal_form&#34;&gt;ANF&lt;/a&gt; (Algebraic Normal Form) to &lt;a href=&#34;http://en.wikipedia.org/wiki/Conjunctive_normal_form&#34;&gt;CNF&lt;/a&gt; (Conjunctive Normal Form) &lt;a href=&#34;http://bitbucket.org/malb/algebraic_attacks/src/ce81112bbce4/anf2cnf.py&#34;&gt;converter&lt;/a&gt; by Martin Albrecht in &lt;a href=&#34;http://www.sagemath.org/&#34;&gt;Sage&lt;/a&gt;. Essentially, it performs the ANF to CNF conversion that I have described previously in &lt;a href=&#34;https://www.msoos.org/anf-to-cnf-conversion&#34;&gt;this&lt;/a&gt; blog entry. Me, as unsuspecting as anyone else, have been using this for a couple of days now. It seemed to do its job. However, today, I wanted to backport some of my &lt;a href=&#34;https://www.msoos.org/wordpress/wp-content/uploads/2010/09/GrainofSalt-desc-1.0.pdf&#34;&gt;ideas&lt;/a&gt; to this converter. And then it hit me.&lt;/p&gt;
&lt;p&gt;Let me illustrate with a short example why I think something is wrong with this converter. We will try to encode that &lt;code&gt;variable 0&lt;/code&gt; and &lt;code&gt;variable 1&lt;/code&gt; cannot both be TRUE. This is as simple as saying &lt;code&gt;x0*x1 = 0&lt;/code&gt; in plain old math. In Sage this is done like this:&lt;/p&gt;</description>
    </item>
    <item>
      <title>Reinventing the wheel</title>
      <link>https://www.msoos.org/2010/09/reinventing-the-wheel/</link>
      <pubDate>Sat, 18 Sep 2010 16:29:45 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=412</guid> 
      <description>&lt;p&gt;I have lately been describing two techniques to speed up SAT solving: &lt;a href=&#34;https://www.msoos.org/on-the-fly-self-subsuming-resolution&#34;&gt;on-the-fly self-subsuming resolution&lt;/a&gt;, and an interesting way to apply &lt;a href=&#34;https://www.msoos.org/asymmetric-branching&#34;&gt;asymmetric branching&lt;/a&gt;. It turns out, the first was already used in &lt;a href=&#34;http://fmv.jku.at/precosat/&#34;&gt;PrecoSat&lt;/a&gt; (by Armin Biere) under the name &amp;ldquo;strong minimization&amp;rdquo;, and the second was already published as &lt;a href=&#34;http://research.microsoft.com/en-us/people/youssefh/vivification.pdf&#34;&gt;Vivification&lt;/a&gt; by Piette, Hamadi and Sais. As far as I could tell, both optimisations bring tangible benefits to SAT solving. I have tried solving the problem instances of the 2009 SAT competition with and without both optimisations, and it turns out that using both is the fastest.&lt;/p&gt;</description>
    </item>
    <item>
      <title>FPGA programming and SAT</title>
      <link>https://www.msoos.org/2010/09/fpga-programming-and-sat/</link>
      <pubDate>Mon, 13 Sep 2010 21:06:08 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=401</guid> 
      <description>&lt;p&gt;&lt;img loading=&#34;lazy&#34; src=&#34;https://www.msoos.org/wordpress/wp-content/uploads/2010/09/FPGA-pic-e1307467256310-150x117.jpg&#34;&gt;I have lately been trying to implement a cryptographic protocol (&lt;a href=&#34;http://ieeexplore.ieee.org/xpls/abs_all.jsp?arnumber=4253016&#34;&gt;CryptoGPS&lt;/a&gt;) on an FPGA. First impressions are that &lt;a href=&#34;http://en.wikipedia.org/wiki/VHDL&#34;&gt;VHDL&lt;/a&gt; is a difficult language, but once understood, it&amp;rsquo;s not all that difficult to work with it. It took me ~2 weeks to get a hold on the language, but now it feels relatively easy to program in it. I have been looking forward to getting down and dirty with FPGAs, because it&amp;rsquo;s one of my long-term goals to somehow integrate SAT solvers with FPGAs.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Creating a SAT solver from scratch</title>
      <link>https://www.msoos.org/2010/09/creating-a-sat-solver-from-scratch/</link>
      <pubDate>Sun, 05 Sep 2010 16:53:28 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/wordpress/?p=348</guid> 
      <description>&lt;p&gt;I have lately been having a small chat with &lt;a href=&#34;http://www.spirtech.com/fgr/index.htm&#34;&gt;Francois Grieu&lt;/a&gt; and it inspired me to think about how difficult it would be to create a new SAT solver from scratch. Let&amp;rsquo;s take it for granted that the person who embarks on such a difficult task understands the basics well, and wishes to create a (nowadays very popular) Conflict-Driven Clause-Learning (or simply, CDCL) type SAT solver. The main parts of  these solvers are:&lt;/p&gt;</description>
    </item>
    <item>
      <title>Truth table to ANF conversion</title>
      <link>https://www.msoos.org/2010/09/truth-table-to-anf-conversion/</link>
      <pubDate>Fri, 03 Sep 2010 14:00:28 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/wordpress/?p=311</guid> 
      <description>&lt;p&gt;It is sometimes important to be able to quickly convert a binary function, described in as a &lt;a href=&#34;http://en.wikipedia.org/wiki/Truth_table&#34;&gt;truth table&lt;/a&gt;, to its &lt;a href=&#34;http://en.wikipedia.org/wiki/Algebraic_normal_form&#34;&gt;Algebraic Normal Form&lt;/a&gt; (or simply, ANF). The truth table basically lists the points where a function is 1 and when it is 0. For instance, if the function has two variables, and its truth table is &lt;code&gt;0110&lt;/code&gt; or, in hexadecimal form, &lt;code&gt;0x5&lt;/code&gt; then the ANF of this function is simply &lt;code&gt;x0 + x1&lt;/code&gt;, where &lt;code&gt;x0&lt;/code&gt; is the first variable of the function, and &lt;code&gt;x1&lt;/code&gt; is the second.&lt;/p&gt;</description>
    </item>
    <item>
      <title>CryptoMiniSat 2.6.0 released</title>
      <link>https://www.msoos.org/2010/08/cryptominisat-2-6-0-released/</link>
      <pubDate>Mon, 30 Aug 2010 12:30:10 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/wordpress/?p=288</guid> 
      <description>&lt;p&gt;Version 2.6.0 of the CryptoMiniSat SAT solver has been &lt;a href=&#34;https://gforge.inria.fr/frs/?group_id=1992&amp;amp;release_id=5352&#34;&gt;released&lt;/a&gt;. The new release incorporates a number of important additions and discoveries. Additions include a better memory manager and &lt;a href=&#34;https://www.msoos.org/wordpress/?p=7&#34;&gt;better watchlists&lt;/a&gt;, while the discoveries include an interesting use of &lt;a href=&#34;https://www.msoos.org/wordpress/?p=6&#34;&gt;asymmetric branching&lt;/a&gt; and an &lt;a href=&#34;https://www.msoos.org/wordpress/?p=169&#34;&gt;on-the-fly self-subsuming resolution&lt;/a&gt; algorithm.&lt;/p&gt;
&lt;p&gt;The new solver can now solve 221 problems from the &lt;a href=&#34;http://www.cril.univ-artois.fr/SAT09/results/ranking.php?idev=29&#34;&gt;SAT Competition&lt;/a&gt; of 2009 within the same timing&amp;amp;CPU constraints, while the 2.5.0 (i.e. &lt;a href=&#34;http://baldur.iti.uka.de/sat-race-2010/results.html&#34;&gt;SAT Race&lt;/a&gt;) version could only solve 217. Here is a comparison plot:&lt;/p&gt;</description>
    </item>
    <item>
      <title>On-the-fly self-subsuming resolution</title>
      <link>https://www.msoos.org/2010/08/on-the-fly-self-subsuming-resolution/</link>
      <pubDate>Sun, 15 Aug 2010 22:44:16 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/wordpress/?p=169</guid> 
      <description>&lt;p&gt;I have recently been trying a new method of shortening learnt clauses. There is a learnt clause minimisation &lt;a href=&#34;http://dx.doi.org/10.1007/978-3-642-02777-2_23&#34;&gt;paper&lt;/a&gt; by Sörensson and Biere, and I have recently been trying to do more. The trick I use, is that many literals can be removed from learnt clauses, if self-subsuming resolution (see my &lt;a href=&#34;https://www.msoos.org/wordpress/?p=5&#34;&gt;older post&lt;/a&gt;) is applied to them.&lt;/p&gt;
&lt;p&gt;During self-subsuming resolution, under normal circumstances, the clauses used to remove literals with are the short clauses: binary and tertiary clauses. The trick I have discovered, is that since CryptoMiniSat keeps binary and tertiary clauses natively inside the watchlists (see my &lt;a href=&#34;https://www.msoos.org/wordpress/?p=7&#34;&gt;previous post&lt;/a&gt;), so doing self-subsuming resolution can be done extremely fast. We simply need to put the literals of the newly learnt clause into a fast-addressable memory, then go through the watchlists of every literal in the clause, and remove the literals that match.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Publications</title>
      <link>https://www.msoos.org/publications/</link>
      <pubDate>Sun, 15 Aug 2010 16:02:59 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/wordpress/?page_id=152</guid> 
      <description>&lt;ul&gt;
&lt;li&gt;Jiong Yang, Yong Kiam Tan, Mate Soos, Magnus O. Myreen, Kuldeep S. Meel: &lt;strong&gt;Efficient Certified Reasoning for Binarized Neural Networks&lt;/strong&gt;&lt;br&gt;
SAT 2025 &lt;a href=&#34;https://arxiv.org/abs/2507.02916&#34;&gt;[arXiv]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Mate Soos, Kuldeep S. Meel: &lt;strong&gt;Engineering an Efficient Probabilistic Exact Model Counter&lt;/strong&gt;&lt;br&gt;
CAV 2025 &lt;a href=&#34;https://doi.org/10.1007/978-3-031-98682-6_5&#34;&gt;[DOI]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Mate Soos, Sourav Chakraborty, Kuldeep S. Meel: &lt;strong&gt;Testing and Design of Uniform CNF Samplers: A Virtuous Cycle Enabled by Distribution Testing&lt;/strong&gt;&lt;br&gt;
Engineering Trustworthy Software Systems (SETSS 2024), LNCS, 2025 &lt;a href=&#34;https://doi.org/10.1007/978-981-96-4656-2_5&#34;&gt;[DOI]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Mate Soos, Kuldeep S. Meel: &lt;strong&gt;Engineering an Efficient Preprocessor for Model Counting&lt;/strong&gt;&lt;br&gt;
DAC 2024 &lt;a href=&#34;https://doi.org/10.1145/3649329.3658489&#34;&gt;[DOI]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Yong Kiam Tan, Jiong Yang, Mate Soos, Magnus O. Myreen, Kuldeep S. Meel: &lt;strong&gt;Formally Certified Approximate Model Counting&lt;/strong&gt;&lt;br&gt;
CAV 2024 &lt;a href=&#34;https://doi.org/10.1007/978-3-031-65627-9_8&#34;&gt;[DOI]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;dxo, Mate Soos, Zoe Paraskevopoulou, Martin Lundfall, Mikael Brockman: &lt;strong&gt;Hevm, a Fast Symbolic Execution Framework for EVM Bytecode&lt;/strong&gt;&lt;br&gt;
CAV 2024 &lt;a href=&#34;https://doi.org/10.1007/978-3-031-65627-9_22&#34;&gt;[DOI]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Mate Soos, Uddalok Sarkar, Divesh Aggarwal, Sourav Chakraborty, Kuldeep S. Meel, Maciej Obremski: &lt;strong&gt;Engineering an Efficient Approximate DNF-Counter&lt;/strong&gt;&lt;br&gt;
IJCAI 2023 &lt;a href=&#34;https://doi.org/10.24963/ijcai.2023/226&#34;&gt;[DOI]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Markus Anders, Pascal Schweitzer, Mate Soos: &lt;strong&gt;Algorithms Transcending the SAT-Symmetry Interface&lt;/strong&gt;&lt;br&gt;
SAT 2023 &lt;a href=&#34;https://doi.org/10.4230/LIPIcs.SAT.2023.1&#34;&gt;[DOI]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Jiong Yang, Arijit Shaw, Teodora Baluta, Mate Soos, Kuldeep S. Meel: &lt;strong&gt;Explaining SAT Solving Using Causal Reasoning&lt;/strong&gt;&lt;br&gt;
SAT 2023 &lt;a href=&#34;https://doi.org/10.4230/LIPIcs.SAT.2023.28&#34;&gt;[DOI]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Renzo Roel P. Tan, Aldrich Ellis C. Asuncion, Brian Godwin Lim, Mate Soos, Kazushi Ikeda: &lt;strong&gt;The Pancake Graph of Order 10 Is 4-Colorable&lt;/strong&gt;&lt;br&gt;
ICoMS 2023 &lt;a href=&#34;https://doi.org/10.1145/3613347.3613348&#34;&gt;[DOI]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Mate Soos, Randal E. Bryant: &lt;strong&gt;Proof Generation for CDCL Solvers Using Gauss-Jordan Elimination&lt;/strong&gt;&lt;br&gt;
Preprint, 2023 &lt;a href=&#34;https://arxiv.org/abs/2304.04292&#34;&gt;[arXiv]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Mate Soos, Priyanka Golia, Sourav Chakraborty, Kuldeep S. Meel: &lt;strong&gt;On Quantitative Testing of Samplers&lt;/strong&gt;&lt;br&gt;
CP 2022 &lt;a href=&#34;https://doi.org/10.4230/LIPIcs.CP.2022.36&#34;&gt;[DOI]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Mate Soos, Kuldeep S. Meel: &lt;strong&gt;Arjun: An Efficient Independent Support Computation Technique and its Applications to Counting and Sampling&lt;/strong&gt;&lt;br&gt;
ICCAD 2022 &lt;a href=&#34;https://doi.org/10.1145/3508352.3549406&#34;&gt;[DOI]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Priyanka Golia, Mate Soos, Sourav Chakraborty, Kuldeep S. Meel: &lt;strong&gt;Designing Samplers is Easy: The Boon of Testers&lt;/strong&gt;&lt;br&gt;
FMCAD 2021 &lt;a href=&#34;https://doi.org/10.34727/2021/isbn.978-3-85448-046-4_31&#34;&gt;[DOI]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Mate Soos, Kuldeep S. Meel: &lt;strong&gt;Gaussian Elimination Meets Maximum Satisfiability&lt;/strong&gt;&lt;br&gt;
KR 2021 &lt;a href=&#34;https://doi.org/10.24963/kr.2021/55&#34;&gt;[DOI]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Nicolas Prevot, Mate Soos, Kuldeep S. Meel: &lt;strong&gt;Leveraging GPUs for Effective Clause Sharing in Parallel SAT Solving&lt;/strong&gt;&lt;br&gt;
SAT 2021 &lt;a href=&#34;https://doi.org/10.1007/978-3-030-80223-3_32&#34;&gt;[DOI]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Mate Soos, Stephan Gocht, Kuldeep S. Meel: &lt;strong&gt;Tinted, Detached, and Lazy CNF-XOR Solving and Its Applications to Counting and Sampling&lt;/strong&gt;&lt;br&gt;
CAV 2020 &lt;a href=&#34;https://doi.org/10.1007/978-3-030-53288-8_22&#34;&gt;[DOI]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Mate Soos, Raghav Kulkarni, Kuldeep S. Meel: &lt;strong&gt;CrystalBall: Gazing in the Black Box of SAT Solving&lt;/strong&gt;&lt;br&gt;
SAT 2019 &lt;a href=&#34;https://doi.org/10.1007/978-3-030-24258-9_26&#34;&gt;[DOI]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Shubham Sharma, Subhajit Roy, Mate Soos, Kuldeep S. Meel: &lt;strong&gt;GANAK: A Scalable Probabilistic Exact Model Counter&lt;/strong&gt;&lt;br&gt;
IJCAI 2019 &lt;a href=&#34;https://doi.org/10.24963/ijcai.2019/163&#34;&gt;[DOI]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Mate Soos, Kuldeep S. Meel: &lt;strong&gt;BIRD: Engineering an Efficient CNF-XOR SAT Solver and Its Applications to Approximate Model Counting&lt;/strong&gt;&lt;br&gt;
AAAI 2019 &lt;a href=&#34;https://doi.org/10.1609/aaai.v33i01.33011592&#34;&gt;[DOI]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Davin Choo, Mate Soos, Kian Ming A. Chai, Kuldeep S. Meel: &lt;strong&gt;Bosphorus: Bridging ANF and CNF Solvers&lt;/strong&gt;&lt;br&gt;
DATE 2019 &lt;a href=&#34;https://doi.org/10.23919/DATE.2019.8715061&#34;&gt;[DOI]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Vijay Ganesh, Charles W. O&amp;rsquo;Donnell, Mate Soos, Srinivas Devadas, Martin C. Rinard, Armando Solar-Lezama: &lt;strong&gt;Lynx: A Programmatic SAT Solver for the RNA-Folding Problem&lt;/strong&gt;&lt;br&gt;
SAT 2012 &lt;a href=&#34;https://doi.org/10.1007/978-3-642-31612-8_12&#34;&gt;[DOI]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Manuel San Pedro, Mate Soos, Sylvain Guilley: &lt;strong&gt;FIRE: Fault Injection for Reverse Engineering&lt;/strong&gt;&lt;br&gt;
WISTP 2011 &lt;a href=&#34;https://doi.org/10.1007/978-3-642-21040-2_20&#34;&gt;[DOI]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Mate Soos: &lt;strong&gt;Enhanced Gaussian Elimination in DPLL-based SAT Solvers&lt;/strong&gt;&lt;br&gt;
Workshop paper &lt;a href=&#34;https://www.msoos.org/wordpress/wp-content/uploads/2010/08/PoS10-Soos.pdf&#34;&gt;[PDF]&lt;/a&gt; &lt;a href=&#34;https://www.msoos.org/largefiles/pos_soos_pres.pdf&#34;&gt;[Presentation PDF]&lt;/a&gt; &lt;a href=&#34;https://doi.org/10.29007/g7ss&#34;&gt;[DOI]&lt;/a&gt;&lt;br&gt;
Pragmatics of SAT, Edinborough, 2010&lt;br&gt;
Benchs used are available &lt;a href=&#34;https://gforge.inria.fr/frs/?group_id=1476&#34;&gt;here&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Mate Soos: &lt;strong&gt;Grain of Salt &amp;ndash; An Automated Way to Test Stream Ciphers through SAT Solvers&lt;/strong&gt;&lt;br&gt;
Workshop paper &lt;a href=&#34;https://www.msoos.org/wordpress/wp-content/uploads/2011/06/GrainOfSalt-1.1-desc.pdf&#34;&gt;[PDF]&lt;/a&gt; &lt;a href=&#34;https://www.msoos.org/largefiles/tools_soos_pres.pdf&#34;&gt;[Presentation PDF]&lt;/a&gt;&lt;br&gt;
Workshop on Tools for Cryptanalysis, Royal Holloway, University of London, 2010&lt;/li&gt;
&lt;li&gt;Mate Soos: &lt;strong&gt;Privacy-preserving Security Protocols for RFIDs&lt;/strong&gt;&lt;br&gt;
PhD Thesis [ &lt;a href=&#34;https://www.msoos.org/wordpress/wp-content/uploads/2012/03/soos_thesis_v3.pdf&#34;&gt;PDF&lt;/a&gt;][ &lt;a href=&#34;https://www.msoos.org/largefiles/defense_soos_pres.pdf&#34;&gt;Presentation PDF&lt;/a&gt;]&lt;br&gt;
Rhône-Alpes, France, 2009&lt;/li&gt;
&lt;li&gt;Mate Soos, Karsten Nohl, Claude Castelluccia: &lt;strong&gt;Extending SAT Solvers to Cryptographic Problems&lt;/strong&gt;&lt;br&gt;
Full paper &lt;a href=&#34;https://www.msoos.org/wordpress/wp-content/uploads/2011/03/Extending_SAT_2009.pdf&#34;&gt;[PDF]&lt;/a&gt; &lt;a href=&#34;https://www.msoos.org/wordpress/wp-content/uploads/2010/08/Extending_SAT_2009_pres.pdf&#34;&gt;[Presentation PDF]&lt;/a&gt; &lt;a href=&#34;https://doi.org/10.1007/978-3-642-02777-2_24&#34;&gt;[DOI]&lt;/a&gt;&lt;br&gt;
SAT&#39;09, Swansea, 2009&lt;/li&gt;
&lt;li&gt;Karsten Nohl, Mate Soos: &lt;strong&gt;Solving Low-Complexity Ciphers with Optimized SAT Solvers&lt;/strong&gt;&lt;br&gt;
Poster &lt;a href=&#34;https://www.msoos.org/largefiles/Low-complexity-poster.pdf&#34;&gt;[PDF]&lt;/a&gt;&lt;br&gt;
Eurocrypt&#39;09, Cologne, 2009&lt;/li&gt;
&lt;li&gt;Mate Soos: &lt;strong&gt;Analysing the Molva and Di Pietro Private RFID Authentication Scheme&lt;/strong&gt;&lt;br&gt;
Full paper &lt;a href=&#34;https://www.msoos.org/wordpress/wp-content/uploads/2010/08/Analysing_Molva_final.pdf&#34;&gt;[PDF]&lt;/a&gt; &lt;a href=&#34;https://www.msoos.org/wordpress/wp-content/uploads/2010/09/analysing_molva_soos_pres.pdf&#34;&gt;[Presentation PDF]&lt;/a&gt;&lt;br&gt;
RFIDSec&#39;08, Budapest, 2008&lt;/li&gt;
&lt;li&gt;Claude Castelluccia, Mate Soos: &lt;strong&gt;Secret Shuffling: A Novel Approach to RFID Private Identification&lt;/strong&gt;&lt;br&gt;
Full paper &lt;a href=&#34;https://www.msoos.org/wordpress/wp-content/uploads/2010/08/ProbIP_final_Malaga.pdf&#34;&gt;[PDF]&lt;/a&gt; &lt;a href=&#34;https://www.msoos.org/wordpress/wp-content/uploads/2010/09/probip_pres_soos.pdf&#34;&gt;[Presentation PDF]&lt;/a&gt;&lt;br&gt;
RFIDSec&#39;07, Malaga, 2007&lt;/li&gt;
&lt;/ul&gt;</description>
    </item>
    <item>
      <title>MiniSat FAQ</title>
      <link>https://www.msoos.org/tools/minisat-faq/</link>
      <pubDate>Sun, 15 Aug 2010 15:51:32 +0000</pubDate>
       <guid isPermaLink="false">https://www.msoos.org/tools/minisat-faq/</guid> 
      <description>&lt;p&gt;This is just a short list of things that are often asked about &lt;a href=&#34;https://github.com/niklasso/minisat&#34;&gt;MiniSat&lt;/a&gt;. The answers refer to its current version. If you have more questions, maybe you can browse the &lt;a href=&#34;http://groups.google.com/group/minisat&#34;&gt;MiniSat google groups&lt;/a&gt;, or read the other &lt;a href=&#34;http://www.dwheeler.com/essays/minisat-user-guide.html&#34;&gt;FAQ&lt;/a&gt; by David A. Wheeler, and maybe the definition of the &lt;a href=&#34;http://www.cs.ubc.ca/~hoos/SATLIB/Benchmarks/SAT/satformat.ps&#34;&gt;DIMACS&lt;/a&gt; file format. I also suggest to attentively read the output of &lt;code&gt;./minisat --help&lt;/code&gt;, of which the most important part 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-gdscript3&#34; data-lang=&#34;gdscript3&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;USAGE: &lt;span style=&#34;color:#f92672&#34;&gt;./&lt;/span&gt;minisat [options] &lt;span style=&#34;color:#f92672&#34;&gt;&amp;lt;&lt;/span&gt;input&lt;span style=&#34;color:#f92672&#34;&gt;-&lt;/span&gt;file&lt;span style=&#34;color:#f92672&#34;&gt;&amp;gt;&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;&amp;lt;&lt;/span&gt;result&lt;span style=&#34;color:#f92672&#34;&gt;-&lt;/span&gt;output&lt;span style=&#34;color:#f92672&#34;&gt;-&lt;/span&gt;file&lt;span style=&#34;color:#f92672&#34;&gt;&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  where input may be either &lt;span style=&#34;color:#f92672&#34;&gt;in&lt;/span&gt; plain &lt;span style=&#34;color:#f92672&#34;&gt;or&lt;/span&gt; gzipped DIMACS&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;CORE OPTIONS:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#f92672&#34;&gt;-&lt;/span&gt;luby, &lt;span style=&#34;color:#f92672&#34;&gt;-&lt;/span&gt;no&lt;span style=&#34;color:#f92672&#34;&gt;-&lt;/span&gt;luby                         (default: on)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#f92672&#34;&gt;-&lt;/span&gt;rnd&lt;span style=&#34;color:#f92672&#34;&gt;-&lt;/span&gt;init, &lt;span style=&#34;color:#f92672&#34;&gt;-&lt;/span&gt;no&lt;span style=&#34;color:#f92672&#34;&gt;-&lt;/span&gt;rnd&lt;span style=&#34;color:#f92672&#34;&gt;-&lt;/span&gt;init                 (default: off)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#f92672&#34;&gt;-&lt;/span&gt;gc&lt;span style=&#34;color:#f92672&#34;&gt;-&lt;/span&gt;frac      &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;&amp;lt;&lt;/span&gt;double&lt;span style=&#34;color:#f92672&#34;&gt;&amp;gt;&lt;/span&gt; (   &lt;span style=&#34;color:#ae81ff&#34;&gt;0&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;..&lt;/span&gt;  inf) (default: &lt;span style=&#34;color:#ae81ff&#34;&gt;0.2&lt;/span&gt;)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#f92672&#34;&gt;-&lt;/span&gt;rinc         &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;&amp;lt;&lt;/span&gt;double&lt;span style=&#34;color:#f92672&#34;&gt;&amp;gt;&lt;/span&gt; (   &lt;span style=&#34;color:#ae81ff&#34;&gt;1&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;..&lt;/span&gt;  inf) (default: &lt;span style=&#34;color:#ae81ff&#34;&gt;2&lt;/span&gt;)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#f92672&#34;&gt;-&lt;/span&gt;rnd&lt;span style=&#34;color:#f92672&#34;&gt;-&lt;/span&gt;seed     &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;&amp;lt;&lt;/span&gt;double&lt;span style=&#34;color:#f92672&#34;&gt;&amp;gt;&lt;/span&gt; (   &lt;span style=&#34;color:#ae81ff&#34;&gt;0&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;..&lt;/span&gt;  inf) (default: &lt;span style=&#34;color:#ae81ff&#34;&gt;9.16483e+07&lt;/span&gt;)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#f92672&#34;&gt;-&lt;/span&gt;rnd&lt;span style=&#34;color:#f92672&#34;&gt;-&lt;/span&gt;freq     &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;&amp;lt;&lt;/span&gt;double&lt;span style=&#34;color:#f92672&#34;&gt;&amp;gt;&lt;/span&gt; [   &lt;span style=&#34;color:#ae81ff&#34;&gt;0&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;..&lt;/span&gt;    &lt;span style=&#34;color:#ae81ff&#34;&gt;1&lt;/span&gt;] (default: &lt;span style=&#34;color:#ae81ff&#34;&gt;0&lt;/span&gt;)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#f92672&#34;&gt;-&lt;/span&gt;cla&lt;span style=&#34;color:#f92672&#34;&gt;-&lt;/span&gt;decay    &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;&amp;lt;&lt;/span&gt;double&lt;span style=&#34;color:#f92672&#34;&gt;&amp;gt;&lt;/span&gt; (   &lt;span style=&#34;color:#ae81ff&#34;&gt;0&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;..&lt;/span&gt;    &lt;span style=&#34;color:#ae81ff&#34;&gt;1&lt;/span&gt;) (default: &lt;span style=&#34;color:#ae81ff&#34;&gt;0.999&lt;/span&gt;)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#f92672&#34;&gt;-&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;var&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;-&lt;/span&gt;decay    &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;&amp;lt;&lt;/span&gt;double&lt;span style=&#34;color:#f92672&#34;&gt;&amp;gt;&lt;/span&gt; (   &lt;span style=&#34;color:#ae81ff&#34;&gt;0&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;..&lt;/span&gt;    &lt;span style=&#34;color:#ae81ff&#34;&gt;1&lt;/span&gt;) (default: &lt;span style=&#34;color:#ae81ff&#34;&gt;0.95&lt;/span&gt;)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#f92672&#34;&gt;-&lt;/span&gt;rfirst       &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;&amp;lt;&lt;/span&gt;int32&lt;span style=&#34;color:#f92672&#34;&gt;&amp;gt;&lt;/span&gt;  [   &lt;span style=&#34;color:#ae81ff&#34;&gt;1&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;..&lt;/span&gt; imax] (default: &lt;span style=&#34;color:#ae81ff&#34;&gt;100&lt;/span&gt;)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#f92672&#34;&gt;-&lt;/span&gt;ccmin&lt;span style=&#34;color:#f92672&#34;&gt;-&lt;/span&gt;mode   &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;&amp;lt;&lt;/span&gt;int32&lt;span style=&#34;color:#f92672&#34;&gt;&amp;gt;&lt;/span&gt;  [   &lt;span style=&#34;color:#ae81ff&#34;&gt;0&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;..&lt;/span&gt;    &lt;span style=&#34;color:#ae81ff&#34;&gt;2&lt;/span&gt;] (default: &lt;span style=&#34;color:#ae81ff&#34;&gt;2&lt;/span&gt;)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#f92672&#34;&gt;-&lt;/span&gt;phase&lt;span style=&#34;color:#f92672&#34;&gt;-&lt;/span&gt;saving &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;&amp;lt;&lt;/span&gt;int32&lt;span style=&#34;color:#f92672&#34;&gt;&amp;gt;&lt;/span&gt;  [   &lt;span style=&#34;color:#ae81ff&#34;&gt;0&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;..&lt;/span&gt;    &lt;span style=&#34;color:#ae81ff&#34;&gt;2&lt;/span&gt;] (default: &lt;span style=&#34;color:#ae81ff&#34;&gt;2&lt;/span&gt;)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#f92672&#34;&gt;-&lt;/span&gt;min&lt;span style=&#34;color:#f92672&#34;&gt;-&lt;/span&gt;learnts  &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;&amp;lt;&lt;/span&gt;int32&lt;span style=&#34;color:#f92672&#34;&gt;&amp;gt;&lt;/span&gt;  [   &lt;span style=&#34;color:#ae81ff&#34;&gt;0&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;..&lt;/span&gt; imax] (default: &lt;span style=&#34;color:#ae81ff&#34;&gt;0&lt;/span&gt;)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;MAIN OPTIONS:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#f92672&#34;&gt;-&lt;/span&gt;strict, &lt;span style=&#34;color:#f92672&#34;&gt;-&lt;/span&gt;no&lt;span style=&#34;color:#f92672&#34;&gt;-&lt;/span&gt;strict                     (default: off)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#f92672&#34;&gt;-&lt;/span&gt;pre, &lt;span style=&#34;color:#f92672&#34;&gt;-&lt;/span&gt;no&lt;span style=&#34;color:#f92672&#34;&gt;-&lt;/span&gt;pre                           (default: on)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#f92672&#34;&gt;-&lt;/span&gt;verb         &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;&amp;lt;&lt;/span&gt;int32&lt;span style=&#34;color:#f92672&#34;&gt;&amp;gt;&lt;/span&gt;  [   &lt;span style=&#34;color:#ae81ff&#34;&gt;0&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;..&lt;/span&gt;    &lt;span style=&#34;color:#ae81ff&#34;&gt;2&lt;/span&gt;] (default: &lt;span style=&#34;color:#ae81ff&#34;&gt;1&lt;/span&gt;)
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id=&#34;how-are-variables-picked&#34;&gt;How are variables picked?&lt;/h3&gt;
&lt;p&gt;The function responsible is &lt;code&gt;pickBranchLit()&lt;/code&gt; in MiniSat. There are two methods of picking. One picks from an ordered heap, and the other picks totally randomly. By default, MiniSat never picks randomly (see &lt;code&gt;random_var_freq&lt;/code&gt;), though this is adjustable from the command line (see the &lt;code&gt;-rnd-freq=X&lt;/code&gt; option, where &lt;code&gt;X&lt;/code&gt; is the fraction of random picks). The ordered heap is simply an ordered set of variables. A variable is higher in the list if it appeared lots of times in the clauses that were involved in recent conflicts (see in function &lt;code&gt;analyze()&lt;/code&gt; the part with &lt;code&gt;varBumpActivity()&lt;/code&gt;).&lt;/p&gt;</description>
    </item>
    <item>
      <title>Talks</title>
      <link>https://www.msoos.org/talks/</link>
      <pubDate>Sun, 15 Aug 2010 15:31:49 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/wordpress/?page_id=131</guid> 
      <description>&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Naming the Harm – A privacy threat vocabulary for cypherpunks&lt;/strong&gt;&lt;br&gt;
Presentation at Devcon 8, with Daniel Calderon&lt;br&gt;
Mumbai, India, 3rd of November 2026&lt;br&gt;
&lt;a href=&#34;https://www.msoos.org/talks/2026-11-naming-the-harm-privacy.pdf&#34;&gt;[PDF]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Naming the Harm – A privacy threat vocabulary for cypherpunks&lt;/strong&gt;&lt;br&gt;
Presentation at the Neocypherpunk Summit 2026 (Berlin Blockchain Week), with Daniel Calderon&lt;br&gt;
Berlin, Germany, 14th of June 2026&lt;br&gt;
&lt;a href=&#34;https://www.msoos.org/talks/2026-06-naming-the-harm-privacy.pdf&#34;&gt;[PDF]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;SAT Preprocessing&lt;/strong&gt;&lt;br&gt;
Presentation by Mate Soos at the &lt;a href=&#34;https://www.dagstuhl.de/en/seminars/seminar-calendar/seminar-details/26221&#34;&gt;Dagstuhl Seminar 26221&lt;/a&gt;&lt;br&gt;
Dagstuhl, Germany, 26th of May 2026&lt;br&gt;
&lt;a href=&#34;https://github.com/msoos/presentation_arjun_preproc/blob/main/arjun_preprocessor.pdf&#34;&gt;[PDF]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Arjun as a Boolean-Function Synthesis Engine&lt;/strong&gt;&lt;br&gt;
Presentation by Mate Soos at the &lt;a href=&#34;https://www.dagstuhl.de/en/seminars/seminar-calendar/seminar-details/26221&#34;&gt;Dagstuhl Seminar 26221&lt;/a&gt;&lt;br&gt;
Dagstuhl, Germany, 26th of May 2026&lt;br&gt;
&lt;a href=&#34;https://github.com/msoos/presentation_arjun_synth/blob/main/arjun_synth.pdf&#34;&gt;[PDF]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;hevm, new frontiers in symbolic execution of EVM bytecode&lt;/strong&gt;&lt;br&gt;
Presentation at W3ST 2025 (Web3 Security Tools), Devconnect Argentina, with dxo, Martin Blicha and Zoe Paraskevopoulou&lt;br&gt;
Buenos Aires, Argentina, 19th of November 2025&lt;br&gt;
&lt;a href=&#34;https://github.com/msooseth/hevm-presentation/blob/main/HEVM-presentation-W3ST-19-11-2025.pdf&#34;&gt;[PDF]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;IT Security: a game of counting the negatives, but can we do better? From Safety I to Safety II in IT Security&lt;/strong&gt;&lt;br&gt;
2025&lt;br&gt;
&lt;a href=&#34;https://www.msoos.org/talks/2025-it-security-safety-ii.pdf&#34;&gt;[PDF]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;A gentle introduction to formal verification of Ethereum smart contracts&lt;/strong&gt;&lt;br&gt;
Lecture with hands-on tutorial at the 4th Summer School on Security Testing and Verification&lt;br&gt;
Brussels, Belgium, 9th of July 2025&lt;br&gt;
&lt;a href=&#34;https://github.com/msooseth/intro-smart-contract-verification/blob/main/intro-smart-contract-verif-9-july-2025-summer-school.pdf&#34;&gt;[PDF]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Boolean Functional Synthesis and its possible application to Cryptography&lt;/strong&gt;&lt;br&gt;
Presentation by Mate Soos at &lt;a href=&#34;https://www.esat.kuleuven.be/cosic/&#34;&gt;COSIC&lt;/a&gt;&lt;br&gt;
KU Leuven, Belgium, 8th of July 2025&lt;br&gt;
&lt;a href=&#34;https://github.com/msoos/func-synthesis-presentation-crypto/blob/main/presentation.pdf&#34;&gt;[PDF]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;hevm, a flexible symbolic execution framework to verify EVM bytecode&lt;/strong&gt;&lt;br&gt;
Presentation at the &lt;a href=&#34;https://www.dagstuhl.de/25242&#34;&gt;Dagstuhl Seminar 25242: Testing Program Analyzers and Verifiers&lt;/a&gt;, with dxo and Zoe Paraskevopoulou&lt;br&gt;
Dagstuhl, Germany, 11th of June 2025&lt;br&gt;
&lt;a href=&#34;https://github.com/msooseth/hevm-presentation/blob/main/HEVM-presentation-Dagstuhl-11-06-2025.pdf&#34;&gt;[PDF]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;hevm, a flexible symbolic execution framework to verify EVM bytecode&lt;/strong&gt;&lt;br&gt;
Presentation at the BSA (Blockchain Student Association) Conference, EPFL, with dxo and Zoe Paraskevopoulou&lt;br&gt;
Lausanne, Switzerland, 7th of March 2025&lt;br&gt;
&lt;a href=&#34;https://github.com/msooseth/hevm-presentation/blob/main/HEVM-presentation-BSA-Lausanne-March-2025.pdf&#34;&gt;[PDF]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;hevm, or: How I Learnt to Stop Worrying and Love the Symbolic Execution&lt;/strong&gt;&lt;br&gt;
Presentation at Devcon 2024, with dxo and Zoe Paraskevopoulou&lt;br&gt;
Bangkok, Thailand, 14th of November 2024&lt;br&gt;
&lt;a href=&#34;https://github.com/msooseth/hevm-presentation/blob/main/HEVM-presentation%20DevCon%20Nov%2014th.pdf&#34;&gt;[PDF]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;hevm, a Fast Symbolic Execution Framework for EVM Bytecode&lt;/strong&gt;&lt;br&gt;
Presentation at Stanford University, with dxo, Zoe Paraskevopoulou, Martin Lundfall and Mikael Brockman&lt;br&gt;
Stanford, USA, 19th of August 2024&lt;br&gt;
&lt;a href=&#34;https://github.com/msooseth/hevm-presentation/blob/main/HEVM-presentation%20Stanford%2019th%20of%20Aug.pdf&#34;&gt;[PDF]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;hevm, a Fast Symbolic Execution Framework for EVM Bytecode&lt;/strong&gt;&lt;br&gt;
Presentation at CAV 2024, with dxo, Zoe Paraskevopoulou, Martin Lundfall and Mikael Brockman&lt;br&gt;
Montreal, Canada, 26th of July 2024&lt;br&gt;
&lt;a href=&#34;https://github.com/msooseth/hevm-presentation/blob/main/HEVM-presentation%20CAV%2026th%20July%202024.pdf&#34;&gt;[PDF]&lt;/a&gt; &lt;a href=&#34;https://doi.org/10.1007/978-3-031-65627-9_22&#34;&gt;[Paper]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;SAT Preprocessing&lt;/strong&gt;&lt;br&gt;
Presentation at &lt;a href=&#34;https://sat-smt.in/&#34;&gt;The SAT Winter School&lt;/a&gt;, based on slides by Armin Biere&lt;br&gt;
IIIT Hyderabad, India, 17th of December 2023&lt;br&gt;
&lt;a href=&#34;https://www.msoos.org/wordpress/wp-content/uploads/2024/02/talk-preprocessing-2023-hyderabad.pdf&#34;&gt;[PDF]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;HEVM, a Smart Contract Verification Tool&lt;/strong&gt;&lt;br&gt;
Presentation at IIT Bombay&lt;br&gt;
Mumbai, India, 12th of December 2023&lt;br&gt;
&lt;a href=&#34;https://github.com/msooseth/hevm-presentation/blob/main/HEVM-presentation%20IIT%20Bombay%2012th%20of%20Dec%202023.pdf&#34;&gt;[PDF]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;HEVM, a Smart Contract Verification Tool&lt;/strong&gt;&lt;br&gt;
Presentation at the Berlin Ethereum Meetup&lt;br&gt;
Berlin, Germany, 25th of October 2023&lt;br&gt;
&lt;a href=&#34;https://github.com/msooseth/hevm-presentation/blob/main/HEVM-presentation%20Ethereum%20Meetup%2025th%20of%20October%2C%202023.pdf&#34;&gt;[PDF]&lt;/a&gt; &lt;a href=&#34;https://www.youtube.com/watch?v=sygfymV6AFs&#34;&gt;[Video]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;On Quantitative Testing of Samplers&lt;/strong&gt;&lt;br&gt;
Presentation at The Simons Institute&amp;rsquo;s &lt;a href=&#34;https://simons.berkeley.edu/workshops/satisfiability-theory-practice-and-beyond-reunion&#34;&gt;Satisfiability: Theory, Practice, and Beyond Reunion&lt;/a&gt;, with Priyanka Golia, Sourav Chakraborty and Kuldeep S. Meel&lt;br&gt;
Simons Institute, Berkeley, USA, 15th of June 2022&lt;br&gt;
&lt;a href=&#34;https://www.msoos.org/wordpress/wp-content/uploads/2022/07/soos-presentation-simons-institute-2022-June-15-On-Quantitative-Testing-of-Samplers.pdf&#34;&gt;[PDF]&lt;/a&gt; &lt;a href=&#34;https://doi.org/10.4230/LIPIcs.CP.2022.36&#34;&gt;[Paper]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Solving CNF-XOR Formulas: A Practical Perspective&lt;/strong&gt;&lt;br&gt;
Presentation at the Simons Institute SAT Program Seminar, part of &lt;a href=&#34;https://simons.berkeley.edu/programs/sat2021&#34;&gt;Satisfiability: Theory, Practice, and Beyond&lt;/a&gt;&lt;br&gt;
Simons Institute, Berkeley, USA, 22nd of February 2021&lt;br&gt;
&lt;a href=&#34;https://www.msoos.org/wordpress/wp-content/uploads/2022/07/simons-2021-Feb-22-talk.pdf&#34;&gt;[PDF]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;SAT Solving and CDCL(T)&lt;/strong&gt;&lt;br&gt;
Presentation at &lt;a href=&#34;https://sat-smt-ws.gitlab.io/2019/&#34;&gt;SAT+SMT Winter School&lt;/a&gt;, based on slides by Armin Biere&lt;br&gt;
IIT Bombay, Mumbai, India, 7th of December 2019&lt;br&gt;
&lt;a href=&#34;https://www.msoos.org/largefiles/matesoos-satsmt-winterschool-2019.pdf&#34;&gt;[PDF]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;CrystalBall: Gazing in the Black Box of SAT Solving&lt;/strong&gt;&lt;br&gt;
Presentation at SAT 2019, with Kuldeep S. Meel and Raghav Kulkarni&lt;br&gt;
Lisbon, Portugal, July 2019&lt;br&gt;
&lt;a href=&#34;https://www.msoos.org/talks/2019-sat-crystalball.pdf&#34;&gt;[PDF]&lt;/a&gt; &lt;a href=&#34;https://doi.org/10.1007/978-3-030-24258-9_26&#34;&gt;[Paper]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Machine Learning Clause DB Management&lt;/strong&gt;&lt;br&gt;
Presentation at &lt;a href=&#34;https://www.dagstuhl.de/en/program/calendar/semhp/?semnr=19062&#34;&gt;Dagstuhl Seminar 19062: Bringing CP, SAT and SMT together: Next Challenges in Constraint Solving&lt;/a&gt;, with Raghav Kulkarni and Kuldeep S. Meel&lt;br&gt;
Schloss Dagstuhl – Leibniz Center for Informatics, Wadern, Germany, February 2019&lt;br&gt;
&lt;a href=&#34;https://www.msoos.org/wordpress/wp-content/uploads/2022/07/presentation_dagstuhl_2019_ML.pdf&#34;&gt;[PDF]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Hacking using SAT and SMT Solvers&lt;/strong&gt;&lt;br&gt;
Presentation at &lt;a href=&#34;https://www.emfcamp.org/&#34;&gt;EMF Camp 2018&lt;/a&gt;&lt;br&gt;
Eastnor, UK, 1st of September 2018&lt;br&gt;
&lt;a href=&#34;https://www.msoos.org/wordpress/wp-content/uploads/2018/09/EMF-camp-SAT-and-SMT-solvers-final.pdf&#34;&gt;[PDF]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Why are SAT solvers so fast and how can you take advantage of their speed?&lt;/strong&gt;&lt;br&gt;
Presentation at SUTD (Singapore University of Technology and Design)&lt;br&gt;
Singapore, 16th of May 2018&lt;br&gt;
&lt;a href=&#34;https://www.msoos.org/talks/2018-sutd-why-sat-solvers-are-fast.pdf&#34;&gt;[PDF]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Rainbows: Creating and Looking up (without getting high)&lt;/strong&gt;&lt;br&gt;
Presentation at AlligatorCon 2017&lt;br&gt;
Kraków, Poland, August 2017&lt;br&gt;
&lt;a href=&#34;https://github.com/msoos/alligatorcon-2017-presentation/blob/main/pres.pdf&#34;&gt;[PDF]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Lessons Learnt &amp;ndash; Seven Years of CryptoMiniSat&lt;/strong&gt;&lt;br&gt;
Presentation at &lt;a href=&#34;http://www.pragmaticsofsat.org/2016/&#34;&gt;Pragmatics of SAT 2016&lt;/a&gt;, a workshop of the SAT 2016 conference&lt;br&gt;
Bordeaux, France, 4th of July 2016&lt;br&gt;
&lt;a href=&#34;https://www.msoos.org/wordpress/wp-content/uploads/2016/07/seven_years.pdf&#34;&gt;[PDF]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Infosec Through People, Process and Technology&lt;/strong&gt;&lt;br&gt;
Presentation at &lt;a href=&#34;https://klab.rw/&#34;&gt;kLab Kigali&lt;/a&gt;&lt;br&gt;
Kigali, Rwanda, 23rd of December 2015&lt;br&gt;
&lt;a href=&#34;https://www.msoos.org/wordpress/wp-content/uploads/2018/09/Infosec-through-People-Process-and-Technology.pdf&#34;&gt;[PDF]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Inprocessing in SAT solvers&lt;/strong&gt;&lt;br&gt;
Presentation at the 5th SAT/SMT Summer School&lt;br&gt;
Stanford University, USA, July 2015&lt;br&gt;
&lt;a href=&#34;https://www.msoos.org/talks/2015-satsmt-summer-school-inprocessing.pdf&#34;&gt;[PDF]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;SAT Solvers and their Applications&lt;/strong&gt;&lt;br&gt;
Presentation at Hackito Ergo Sum 2014&lt;br&gt;
Paris, France, 26th of April 2014&lt;br&gt;
&lt;a href=&#34;https://www.msoos.org/wordpress/wp-content/uploads/2014/05/Hackito2014.pdf&#34;&gt;[PDF]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Unknowns and complexities in SAT solving&lt;/strong&gt;&lt;br&gt;
26th of September 2012&lt;br&gt;
&lt;a href=&#34;https://www.msoos.org/talks/2012-unknowns-and-complexities-in-sat-solving.pdf&#34;&gt;[PDF]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Satisfiability solving: theory and its application to cryptography&lt;/strong&gt;&lt;br&gt;
10th of July 2012&lt;br&gt;
&lt;a href=&#34;https://www.msoos.org/talks/2012-sat-theory-and-application-to-cryptography.pdf&#34;&gt;[PDF]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Limits of SAT Solvers in Cryptography&lt;/strong&gt;&lt;br&gt;
Presentation at CASED&lt;br&gt;
Darmstadt, Germany, 21st of July 2011&lt;br&gt;
&lt;a href=&#34;https://www.msoos.org/wordpress/wp-content/uploads/2011/07/CASED_pres_Soos.pdf&#34;&gt;[PDF]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;CryptoMiniSat &amp;ndash; A Rough Guide&lt;/strong&gt;&lt;br&gt;
Presentation at SMT/SAT Summer School&#39;11&lt;br&gt;
MIT, USA, 14th of June 2011&lt;br&gt;
&lt;a href=&#34;https://www.msoos.org/wordpress/wp-content/uploads/2011/06/soos_summerschool.pdf&#34;&gt;[PDF]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Breaking Industrial Ciphers at a Whim&lt;/strong&gt;&lt;br&gt;
Presentation at Hackito Ergo Sum&#39;11&lt;br&gt;
Paris, France, 7th of April 2011&lt;br&gt;
&lt;a href=&#34;https://www.msoos.org/wordpress/wp-content/uploads/2011/04/hes2011.pdf&#34;&gt;[PDF]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;SAT megoldók és valós problémák – lehetőségek és határok&lt;/strong&gt; (SAT solvers and real-world problems – possibilities and limits, in Hungarian)&lt;br&gt;
Presentation at BME (Budapest University of Technology and Economics)&lt;br&gt;
Budapest, Hungary, 15th of February 2011&lt;br&gt;
&lt;a href=&#34;https://www.msoos.org/talks/2011-bme-sat-megoldok.pdf&#34;&gt;[PDF]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;SAT Solver Architectures&lt;/strong&gt;&lt;br&gt;
Presentation at the Institute for Formal Models and Verification, Linz&lt;br&gt;
Linz, Austria, 9th of February 2011&lt;br&gt;
&lt;a href=&#34;https://www.msoos.org/wordpress/wp-content/uploads/2011/02/SAT_solver_architectures_Linz.pdf&#34;&gt;[PDF]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Using SAT Solvers for Cryptographic Problems&lt;/strong&gt;&lt;br&gt;
Presentation at Microsoft Research, Cambridge&lt;br&gt;
Cambridge, UK, 5th of November 2010&lt;br&gt;
&lt;a href=&#34;https://www.msoos.org/wordpress/wp-content/uploads/2010/11/soos_microsoft_pres.pdf&#34;&gt;[PDF]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;SAT Solvers and Configuration Management&lt;/strong&gt;&lt;br&gt;
Presentation for the Mancoosi Project&lt;br&gt;
Paris, France, 2nd of November 2010&lt;br&gt;
&lt;a href=&#34;https://www.msoos.org/wordpress/wp-content/uploads/2010/11/soos_mancoosi_pres.pdf&#34;&gt;[PDF]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Enhanced Gaussian Elimination in DPLL-based SAT Solvers&lt;/strong&gt;&lt;br&gt;
Presentation at the Pragmatics of SAT workshop 2010&lt;br&gt;
Edinburgh, Scotland, UK, 10th of July 2010&lt;br&gt;
&lt;a href=&#34;https://www.msoos.org/largefiles/pos_soos_pres.pdf&#34;&gt;[PDF]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Grain of Salt &amp;ndash; An Automated Way to Test Stream Ciphers through SAT Solvers&lt;/strong&gt;&lt;br&gt;
Presentation at Workshop on Tools for Cryptanalysis 2010&lt;br&gt;
Royal Holloway, University of London, UK, 23rd of June 2010&lt;br&gt;
&lt;a href=&#34;https://www.msoos.org/largefiles/tools_soos_pres.pdf&#34;&gt;[PDF]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;SAT Solvers in the Context of Cryptography 2.0&lt;/strong&gt;&lt;br&gt;
Presentation for the security group of Montpellier&amp;rsquo;s LIRMM laboratory&lt;br&gt;
Montpellier, France, 10th of June 2010&lt;br&gt;
&lt;a href=&#34;https://www.msoos.org/largefiles/montpellier_soos_pres.pdf&#34;&gt;[PDF]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;SAT Solvers in the Context of Cryptography&lt;/strong&gt;&lt;br&gt;
Presentation for Rennes&amp;rsquo;s Cryptography Seminar&lt;br&gt;
Rennes, France, 7th of May 2010&lt;br&gt;
&lt;a href=&#34;https://www.msoos.org/largefiles/rennes_soos_pres.pdf&#34;&gt;[PDF]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Enhanced handling of XOR constraints in DPLL-based SAT solvers&lt;/strong&gt;&lt;br&gt;
Presentation at ENST (Télécom ParisTech)&lt;br&gt;
Paris, France, 19th of February 2010&lt;br&gt;
&lt;a href=&#34;https://www.msoos.org/talks/2010-xor-constraints-in-sat-solvers.pdf&#34;&gt;[PDF]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;SAT Solvers in the Context of Stream Ciphers&lt;/strong&gt;&lt;br&gt;
Presentation for Journées C2, with Karsten Nohl and Claude Castelluccia&lt;br&gt;
Fréjus, France, 8th of October 2009&lt;br&gt;
&lt;a href=&#34;https://www.msoos.org/largefiles/frejus_soos_pres.pdf&#34;&gt;[PDF]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Privacy-preserving Security Protocols for RFIDs&lt;/strong&gt;&lt;br&gt;
Thesis defense&lt;br&gt;
Grenoble, France, 6th of October 2009&lt;br&gt;
&lt;a href=&#34;https://www.msoos.org/largefiles/defense_soos_pres.pdf&#34;&gt;[PDF]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Extending SAT Solvers to Cryptographic Problems&lt;/strong&gt;&lt;br&gt;
Presentation at SAT 2009, with Karsten Nohl and Claude Castelluccia&lt;br&gt;
Swansea, Wales, UK, 1st of July 2009&lt;br&gt;
&lt;a href=&#34;https://www.msoos.org/largefiles/SAT2009_soos_pres.pdf&#34;&gt;[PDF]&lt;/a&gt; &lt;a href=&#34;https://doi.org/10.1007/978-3-642-02777-2_24&#34;&gt;[Paper]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;RFID standards &amp;ndash; ISO14443, ISO15693 and EPCGlobal&lt;/strong&gt;&lt;br&gt;
Planete Seminar&lt;br&gt;
Grenoble, France, 19th of May 2008&lt;br&gt;
&lt;a href=&#34;https://www.msoos.org/largefiles/rfid_soos_pres.pdf&#34;&gt;[PDF]&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description>
    </item>
    <item>
      <title>SAT Blog</title>
      <link>https://www.msoos.org/my-posts/</link>
      <pubDate>Sun, 15 Aug 2010 11:24:53 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/wordpress/?page_id=96</guid> 
      <description></description>
    </item>
    <item>
      <title>About Me</title>
      <link>https://www.msoos.org/about/</link>
      <pubDate>Sat, 14 Aug 2010 19:14:42 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/wordpress/?page_id=2</guid> 
      <description>&lt;figure&gt;
    &lt;img loading=&#34;lazy&#34; src=&#34;https://www.msoos.org/wordpress/wp-content/uploads/2015/05/IMG%5F1611.jpg&#34;/&gt; 
&lt;/figure&gt;

&lt;p&gt;I am currently working at the &lt;a href=&#34;https://argot.org&#34;&gt;Argot Collective&lt;/a&gt;. I
previously worked at the &lt;a href=&#34;https://ethereum.foundation/&#34;&gt;Ethereum Foundation&lt;/a&gt;
&lt;a href=&#34;https://www.zalando.de/&#34;&gt;Zalando&lt;/a&gt;, &lt;a href=&#34;https://www.gdssecurity.com/&#34;&gt;GDS&lt;/a&gt; (now
part of AON), &lt;a href=&#34;https://www.cisco.com/&#34;&gt;Cisco&lt;/a&gt;, and &lt;a href=&#34;https://www.srlabs.de/&#34;&gt;Security Research
Labs&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;As part of my research activities, I am interested in SAT solving, Model
Counting and sampling,  SMT solvers, and in general beyond-SAT. I maintain the
SAT solver &lt;a href=&#34;https://www.msoos.org/2014/04/cryptominisat-4-released/&#34;&gt;CryptoMiniSat&lt;/a&gt; and I help
maintain the SMT solver &lt;a href=&#34;http://stp.github.io/&#34;&gt;STP&lt;/a&gt;. I am also one of the main
authors of &lt;a href=&#34;https://github.com/meelgroup/approxmc&#34;&gt;ApproxMC&lt;/a&gt;,
&lt;a href=&#34;https://github.com/meelgroup/unigen&#34;&gt;UniGen&lt;/a&gt;,
&lt;a href=&#34;https://github.com/meelgroup/arjun&#34;&gt;Arjun&lt;/a&gt;,
&lt;a href=&#34;https://github.com/meelgroup/pepin&#34;&gt;Pepin&lt;/a&gt;,  and
&lt;a href=&#34;https://github.com/meelgroup/bosphorus&#34;&gt;Bosphorus&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I continuously maintain these tools, and take great care to make sure they are
easy to use. These tools combined have over 500 issues solved on GitHub. Most
of my tools are hooked up to automated fuzzers, build systems, release systems
(e.g. PyPi), and have in total have 100s of hand-written test cases. In my
opinion, good research tools work, and continue to work.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Self-subsuming resolution</title>
      <link>https://www.msoos.org/2010/08/self-subsuming-resolution/</link>
      <pubDate>Wed, 04 Aug 2010 20:26:00 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/wordpress/?p=5</guid> 
      <description>&lt;p&gt;&lt;a href=&#34;http://minisat.se/downloads/SatELite_slides.pdf&#34;&gt;Self-subsuming resolution&lt;/a&gt; in SAT uses the &lt;a href=&#34;http://en.wikipedia.org/wiki/Resolution_%28logic%29&#34;&gt;resolution operator&lt;/a&gt; to carry out its magic. Resolution can be used on two clauses if they share a variable, but the sign of the variable is inverted, e.g.&lt;br&gt;
&lt;code&gt;v1 V v2&lt;/code&gt;&lt;br&gt;
&lt;code&gt;-v1 V v3 V v4&lt;/code&gt;&lt;br&gt;
(where &lt;code&gt;v1..v4&lt;/code&gt; are binary variables and &amp;quot; &lt;code&gt;V&lt;/code&gt;&amp;quot; means binary OR) can be resolved on &lt;code&gt;v1&lt;/code&gt;, producing the clause:&lt;br&gt;
&lt;code&gt;v2 V v3 V v4&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;In SAT this is used to simplify problems as follows. Let&amp;rsquo;s assume we have many clauses, among which there are these three:&lt;br&gt;
&lt;code&gt;a V c           (1)&lt;/code&gt;&lt;br&gt;
&lt;code&gt;a V -c V d V f  (2)&lt;/code&gt;&lt;br&gt;
&lt;code&gt;a V -c V g      (3)&lt;/code&gt;&lt;br&gt;
In this case, if we use the resolution operator on (1) and (2), we get:&lt;br&gt;
&lt;code&gt;a V d V f       (4)&lt;/code&gt;&lt;br&gt;
The interesting thing about (4) is that it is a strict subset of (2). In other words, we could simply replace (2) with (4), thus shortening clause (2). If we use the resolution operator on (1) and (3) we get:&lt;br&gt;
&lt;code&gt;a V g           (5)&lt;/code&gt;&lt;br&gt;
whose literals form a strict subset of those of (3), so we can replace (3) with (5), again shortening a clause. We shortened 2 clauses, each with one literal. For completeness, this technique can be applied in a recursive manner on all possible clause-pairs.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Asymmetric branching</title>
      <link>https://www.msoos.org/2010/07/asymmetric-branching/</link>
      <pubDate>Wed, 28 Jul 2010 11:38:00 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/wordpress/?p=6</guid> 
      <description>&lt;p&gt;Asymmetric branching is an algorithm that shortens CNF clauses in SAT Solvers. A clause, for instance &lt;code&gt;v1 V v2 V v3 V v4&lt;/code&gt; (where letters are binary variables and &lt;code&gt;V&lt;/code&gt; represents binary OR) could possibly be shortened to &lt;code&gt;v1 V v2 V v3&lt;/code&gt;. To find out if it can be, all we have to do is to put &lt;code&gt;-v1,-v2&lt;/code&gt; and &lt;code&gt;-v3&lt;/code&gt; into the propagation queue and then propagate. If we receive a conflict from the propagation engine, we can learn the clause &lt;code&gt;v1 V v2 V v3&lt;/code&gt;, which (incidentally, though this was the point), subsumes the original clause, so we can simply remove variable &lt;code&gt;v4&lt;/code&gt; from the original clause.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Propagating faster</title>
      <link>https://www.msoos.org/2010/07/propagating-faster/</link>
      <pubDate>Mon, 26 Jul 2010 16:13:00 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/wordpress/?p=7</guid> 
      <description>&lt;p&gt;Propagation (BCP) in SAT is the single most expensive operation. The algorithm essentially does the following:&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;while (queue_head &amp;lt; trail.size()) {
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  Literal p = trail[queue_head];
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  vector&amp;lt;Watch&amp;gt;&amp;amp; thiswatch = watches[p];
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  for (i = thiswatch.begin(); i!=thiswatch[p].end(); i++) {
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    confl = prop_confl(i-&amp;gt;clause);
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    if (confl != NULL) return confl;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  }
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  queue_head++;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;where the function &lt;code&gt;prop_confl()&lt;/code&gt; executes the propagation or returns a conflict, if necessary.&lt;/p&gt;
&lt;p&gt;The problem with the above function is that clauses come in all shapes and sizes. In &lt;a href=&#34;http://planete.inrialpes.fr/%7Esoos/CryptoMiniSat2/index.php&#34;&gt;CryptoMiniSat&lt;/a&gt;, there are two kinds of clauses, normal clauses and XOR clauses. Naturally, these need to be handled differently. Furthermore, if the clause&amp;rsquo;s size is small, it is more efficient to handle it differently. The way CryptoMiniSat has done this before was to have a separate &amp;quot; &lt;code&gt;watches&lt;/code&gt;&amp;quot; for each of these. As you can guess, this is very suboptimal.&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>Winning the SAT Race</title>
      <link>https://www.msoos.org/2010/07/winning-the-sat-race/</link>
      <pubDate>Sat, 17 Jul 2010 18:12:00 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/wordpress/?p=9</guid> 
      <description>&lt;p&gt;The software I developed, &lt;a href=&#34;https://gforge.inria.fr/frs/?group_id=1992&amp;amp;release_id=5231&#34;&gt;CryptoMiniSat 2.5&lt;/a&gt; won the &lt;a href=&#34;http://baldur.iti.uka.de/sat-race-2010/&#34;&gt;SAT Race of 2010&lt;/a&gt;. It is a great honour to win such a difficult race, as there were 19 other solvers submitted from 9 different countries.&lt;/p&gt;
&lt;p&gt;Thinking back and trying to answer the question why CryptoMiniSat won, I think there are no clear answers. Naturally, I put immense effort into it, but that is only one part of the picture. Other important factors include those who supported me: my fiancée, the &lt;a href=&#34;http://planete.inria.fr/&#34;&gt;PLANETE project&lt;/a&gt; of INRIA, and in particular &lt;a href=&#34;http://planete.inrialpes.fr/%7Eccastel/&#34;&gt;Claude Castelluccia&lt;/a&gt; and my colleagues here in Paris, the &lt;a href=&#34;http://www.lip6.fr/?LANG=en&#34;&gt;LIP6&lt;/a&gt; team and my professor here, &lt;a href=&#34;http://www-salsa.lip6.fr/%7Ejcf/&#34;&gt;Jean-Charles Faugere&lt;/a&gt;. As with all randomised algorithms, luck played a good part of winning, too.&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>ANF to CNF conversion</title>
      <link>https://www.msoos.org/2010/07/anf-to-cnf-conversion/</link>
      <pubDate>Tue, 06 Jul 2010 10:25:00 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/wordpress/?p=11</guid> 
      <description>&lt;p&gt;Algebraic Normal Form, or simply &lt;a href=&#34;http://en.wikipedia.org/wiki/Algebraic_normal_form&#34;&gt;ANF&lt;/a&gt;, is the form used to describe cryptographic functions. It looks like this:&lt;/p&gt;
&lt;span class=&#34;katex-display&#34;&gt;&lt;span class=&#34;katex&#34;&gt;&lt;span class=&#34;katex-mathml&#34;&gt;&lt;math xmlns=&#34;http://www.w3.org/1998/Math/MathML&#34; display=&#34;block&#34;&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mo&gt;∗&lt;/mo&gt;&lt;mi&gt;b&lt;/mi&gt;&lt;mo&gt;⊕&lt;/mo&gt;&lt;mi&gt;b&lt;/mi&gt;&lt;mo&gt;∗&lt;/mo&gt;&lt;mi&gt;c&lt;/mi&gt;&lt;mo&gt;⊕&lt;/mo&gt;&lt;mi&gt;b&lt;/mi&gt;&lt;mo&gt;⊕&lt;/mo&gt;&lt;mi&gt;d&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;mspace&gt;&lt;/mspace&gt;&lt;mi&gt;b&lt;/mi&gt;&lt;mo&gt;∗&lt;/mo&gt;&lt;mi&gt;c&lt;/mi&gt;&lt;mo&gt;⊕&lt;/mo&gt;&lt;mi&gt;c&lt;/mi&gt;&lt;mo&gt;⊕&lt;/mo&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;mspace&gt;&lt;/mspace&gt;&lt;mo&gt;…&lt;/mo&gt;&lt;/mrow&gt;&lt;annotation encoding=&#34;application/x-tex&#34;&gt;
a*b \oplus b*c \oplus b \oplus d = 0\\
b*c \oplus c \oplus a = 0\\
\ldots
&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;span class=&#34;katex-html&#34; aria-hidden=&#34;true&#34;&gt;&lt;span class=&#34;katex-base&#34;&gt;&lt;span class=&#34;katex-strut&#34; style=&#34;height:0.4653em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mord mathnormal&#34;&gt;a&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2222em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mbin&#34;&gt;∗&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2222em;&#34;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;katex-base&#34;&gt;&lt;span class=&#34;katex-strut&#34; style=&#34;height:0.7778em;vertical-align:-0.0833em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mord mathnormal&#34;&gt;b&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2222em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mbin&#34;&gt;⊕&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2222em;&#34;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;katex-base&#34;&gt;&lt;span class=&#34;katex-strut&#34; style=&#34;height:0.6944em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mord mathnormal&#34;&gt;b&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2222em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mbin&#34;&gt;∗&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2222em;&#34;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;katex-base&#34;&gt;&lt;span class=&#34;katex-strut&#34; style=&#34;height:0.6667em;vertical-align:-0.0833em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mord mathnormal&#34;&gt;c&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2222em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mbin&#34;&gt;⊕&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2222em;&#34;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;katex-base&#34;&gt;&lt;span class=&#34;katex-strut&#34; style=&#34;height:0.7778em;vertical-align:-0.0833em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mord mathnormal&#34;&gt;b&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2222em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mbin&#34;&gt;⊕&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2222em;&#34;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;katex-base&#34;&gt;&lt;span class=&#34;katex-strut&#34; style=&#34;height:0.6944em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mord mathnormal&#34;&gt;d&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2778em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mrel&#34;&gt;=&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2778em;&#34;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;katex-base&#34;&gt;&lt;span class=&#34;katex-strut&#34; style=&#34;height:0.6944em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mord&#34;&gt;0&lt;/span&gt;&lt;span class=&#34;mspace&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mord mathnormal&#34;&gt;b&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2222em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mbin&#34;&gt;∗&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2222em;&#34;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;katex-base&#34;&gt;&lt;span class=&#34;katex-strut&#34; style=&#34;height:0.6667em;vertical-align:-0.0833em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mord mathnormal&#34;&gt;c&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2222em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mbin&#34;&gt;⊕&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2222em;&#34;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;katex-base&#34;&gt;&lt;span class=&#34;katex-strut&#34; style=&#34;height:0.6667em;vertical-align:-0.0833em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mord mathnormal&#34;&gt;c&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2222em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mbin&#34;&gt;⊕&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2222em;&#34;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;katex-base&#34;&gt;&lt;span class=&#34;katex-strut&#34; style=&#34;height:0.4306em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mord mathnormal&#34;&gt;a&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2778em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mrel&#34;&gt;=&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2778em;&#34;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;katex-base&#34;&gt;&lt;span class=&#34;katex-strut&#34; style=&#34;height:0.6444em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mord&#34;&gt;0&lt;/span&gt;&lt;span class=&#34;mspace&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.1667em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;minner&#34;&gt;…&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;p&gt;Where &lt;span class=&#34;katex&#34;&gt;&lt;span class=&#34;katex-mathml&#34;&gt;&lt;math xmlns=&#34;http://www.w3.org/1998/Math/MathML&#34;&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mo separator=&#34;true&#34;&gt;,&lt;/mo&gt;&lt;mo&gt;…&lt;/mo&gt;&lt;mi&gt;d&lt;/mi&gt;&lt;/mrow&gt;&lt;annotation encoding=&#34;application/x-tex&#34;&gt;a,\ldots d&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;span class=&#34;katex-html&#34; aria-hidden=&#34;true&#34;&gt;&lt;span class=&#34;katex-base&#34;&gt;&lt;span class=&#34;katex-strut&#34; style=&#34;height:0.8889em;vertical-align:-0.1944em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mord mathnormal&#34;&gt;a&lt;/span&gt;&lt;span class=&#34;mpunct&#34;&gt;,&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.1667em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;minner&#34;&gt;…&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.1667em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mord mathnormal&#34;&gt;d&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; are binary variables, the &lt;span class=&#34;katex&#34;&gt;&lt;span class=&#34;katex-mathml&#34;&gt;&lt;math xmlns=&#34;http://www.w3.org/1998/Math/MathML&#34;&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mo&gt;⊕&lt;/mo&gt;&lt;/mrow&gt;&lt;annotation encoding=&#34;application/x-tex&#34;&gt;\oplus&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;span class=&#34;katex-html&#34; aria-hidden=&#34;true&#34;&gt;&lt;span class=&#34;katex-base&#34;&gt;&lt;span class=&#34;katex-strut&#34; style=&#34;height:0.6667em;vertical-align:-0.0833em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mord&#34;&gt;⊕&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; sign is binary XOR, and the &lt;span class=&#34;katex&#34;&gt;&lt;span class=&#34;katex-mathml&#34;&gt;&lt;math xmlns=&#34;http://www.w3.org/1998/Math/MathML&#34;&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mo&gt;∗&lt;/mo&gt;&lt;/mrow&gt;&lt;annotation encoding=&#34;application/x-tex&#34;&gt;*&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;span class=&#34;katex-html&#34; aria-hidden=&#34;true&#34;&gt;&lt;span class=&#34;katex-base&#34;&gt;&lt;span class=&#34;katex-strut&#34; style=&#34;height:0.4653em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mord&#34;&gt;∗&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; sign is binary AND. Every item that is connected with the XOR-s is called a &lt;a href=&#34;http://en.wikipedia.org/wiki/Monomial&#34;&gt;monomial&lt;/a&gt;, and its degree is the number of independent variables inside it. So, &lt;span class=&#34;katex&#34;&gt;&lt;span class=&#34;katex-mathml&#34;&gt;&lt;math xmlns=&#34;http://www.w3.org/1998/Math/MathML&#34;&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mo&gt;∗&lt;/mo&gt;&lt;mi&gt;b&lt;/mi&gt;&lt;/mrow&gt;&lt;annotation encoding=&#34;application/x-tex&#34;&gt;a*b&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;span class=&#34;katex-html&#34; aria-hidden=&#34;true&#34;&gt;&lt;span class=&#34;katex-base&#34;&gt;&lt;span class=&#34;katex-strut&#34; style=&#34;height:0.4653em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mord mathnormal&#34;&gt;a&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2222em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mbin&#34;&gt;∗&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:0.2222em;&#34;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;katex-base&#34;&gt;&lt;span class=&#34;katex-strut&#34; style=&#34;height:0.6944em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mord mathnormal&#34;&gt;b&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; is a 2-degree monomial in the first equation, and &lt;span class=&#34;katex&#34;&gt;&lt;span class=&#34;katex-mathml&#34;&gt;&lt;math xmlns=&#34;http://www.w3.org/1998/Math/MathML&#34;&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mi&gt;c&lt;/mi&gt;&lt;/mrow&gt;&lt;annotation encoding=&#34;application/x-tex&#34;&gt;c&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;span class=&#34;katex-html&#34; aria-hidden=&#34;true&#34;&gt;&lt;span class=&#34;katex-base&#34;&gt;&lt;span class=&#34;katex-strut&#34; style=&#34;height:0.4306em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mord mathnormal&#34;&gt;c&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; is a 1-degree monomial in the second equation.&lt;/p&gt;</description>
    </item>
    <item>
      <title>How to bit-stuff pointers</title>
      <link>https://www.msoos.org/2010/06/how-to-bit-stuff-pointers/</link>
      <pubDate>Wed, 30 Jun 2010 07:22:00 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/wordpress/?p=12</guid> 
      <description>&lt;p&gt;In my &lt;a href=&#34;?p=13&#34;&gt;last post&lt;/a&gt; I have described a small problem I had regarding a C++ union that had to store a pointer and a value at the same time, plus an indicator that told us which of the two was active:&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;class WhatLeadHere {
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;public:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    bool wasPointer;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    union{Clause* pointer; uint32_t lit;};
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;};
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Martin Maurer has wrote this enlightening email regarding this:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;The Clause * pointer is [..] located at least on a 4 byte boundary (at least when not forced by e.g. #pragma). If it is not at least on a 4 byte boundary, CPU must (at least some of them) do two accesses: one lower DWORD, one upper DWORD, and merge both together, which reduces speed.&lt;/p&gt;
&lt;p&gt;So the lower two bits are always zero :-) Why not move the &amp;ldquo;wasPointer&amp;rdquo; to lower two bits (i think you need only one, have one spare bit). Of course before accessing the &amp;ldquo;pointer&amp;rdquo; (Clause *), you must &amp;ldquo;and&amp;rdquo; the two lower bits back to zero.&lt;/p&gt;
&lt;/blockquote&gt;</description>
    </item>
    <item>
      <title>Propagating binary clauses</title>
      <link>https://www.msoos.org/2010/06/propagating-binary-clauses/</link>
      <pubDate>Sun, 27 Jun 2010 17:48:00 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/wordpress/?p=13</guid> 
      <description>&lt;p&gt;Binary clauses are somewhat special. They are clauses that look like:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;-v1 or v20 = true&lt;/code&gt;&lt;br&gt;
&lt;code&gt;-v1 or v21 = true&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;which basically mean: if &lt;code&gt;v1&lt;/code&gt; is TRUE, then both &lt;code&gt;v20&lt;/code&gt; and &lt;code&gt;v21&lt;/code&gt; must be TRUE. We put these clauses into a special datastructure, that looks like this:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;watchlist[-v1] = v20,v21, ...&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;This makes us all very happy, since this datastructure is very simple: just literals (negated or non-negated variables) one after the other, in a very trivial list. This makes the whole thing very compact, and very efficient.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Optimisations, take two</title>
      <link>https://www.msoos.org/2010/06/optimisations-take-two/</link>
      <pubDate>Sat, 12 Jun 2010 19:50:00 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/wordpress/?p=14</guid> 
      <description>&lt;p&gt;I have talked about &lt;a href=&#34;http://msoos.blogspot.com/2010/04/optimisations.html&#34;&gt;optimisations&lt;/a&gt; before and I mentioned that there are a few left to describe. In this post I will talk about two of them.&lt;/p&gt;
&lt;p&gt;The first optimisation I would like to talk about concerns compilation flags. Somehow, everyone seems obsessed with them, like if they could somehow make a slow program fast. Alas, this is not the case. Firstly, and this is quite funny: the &lt;a href=&#34;http://gcc.gnu.org/&#34;&gt;gcc&lt;/a&gt; flag &amp;ldquo;&lt;a href=&#34;http://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html&#34;&gt;-O3&lt;/a&gt;&amp;rdquo; usually turns on all extra flags that people tend to give. One should really ponder upon this when looking at desperate attempts to speed up code. However, there is exactly one flag-combo that is very-very useful besides &amp;ldquo;-O3&amp;rdquo;: it&amp;rsquo;s &amp;ldquo;-fprofile-generate&amp;rdquo; and &amp;ldquo;-fprofile-use&amp;rdquo;. To understand why these are useful, we must first understand that one of the challenges faced by an optimising compiler is to try to guess how many times a loop will be executed,and how many times a branch will be taken. Given a good set of guesses, the loop can be unwound (or not) and the branches can be taken by default (or not). If compiled with &amp;ldquo;-fprofile-generate&amp;rdquo;, the program generates such information on-the-fly, which later can be used by &amp;ldquo;-fprofile-use&amp;rdquo;. The speedup achieved with such an approach in the realms of DPLL-based SAT solvers is relatively high, in the order of ~5-10%. I believe many SAT solvers&amp;rsquo; binaries don&amp;rsquo;t use this trick, even though it&amp;rsquo;s cheap to use. I personally compile with &amp;ldquo;-fprofile-generate&amp;rdquo;, then run an example problem like &lt;a href=&#34;http://www.cril.univ-artois.fr/SAT09/results/bench.php?idev=29&amp;amp;idbench=71050&#34;&gt;UTI-20-10p1&lt;/a&gt; on it, and then recompile with &amp;ldquo;-fprofile-use&amp;rdquo;. An important aspect, by the way, is to execute your problem with a very typical scenario: strange or non-normal scenarios will produce spurious branching and loop data which will actually slow down the program most of the time instead of speeding it up.&lt;/p&gt;</description>
    </item>
    <item>
      <title>The Obvious Child</title>
      <link>https://www.msoos.org/2010/06/the-obvious-child/</link>
      <pubDate>Tue, 08 Jun 2010 14:39:00 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/wordpress/?p=15</guid> 
      <description>&lt;p&gt;The new CryptoMiniSat 2.5.1, codenamed &amp;ldquo;The Obvious Child&amp;rdquo; has been &lt;a href=&#34;https://gforge.inria.fr/frs/shownotes.php?release_id=5231&#34;&gt;released&lt;/a&gt;. It&amp;rsquo;s very close to the system that has been sent into the &lt;a href=&#34;http://baldur.iti.uka.de/sat-race-2010/&#34;&gt;SAT Race&#39;10&lt;/a&gt;. This version of CryptoMS is much better than any versions before: I finally corrected a lot of bugs that went into the 2.4.x series, and added new features to treat binary clauses.&lt;/p&gt;
&lt;p&gt;The release name is the &lt;a href=&#34;http://www.paulsimon.com/node/112&#34;&gt;song title&lt;/a&gt; by Paul Simon. I am a fan of the 60&amp;rsquo;s for many reasons. It was the time when &lt;a href=&#34;http://en.wikipedia.org/wiki/R._D._Laing&#34;&gt;Laing&lt;/a&gt; wrote his first books, &lt;a href=&#34;http://www.sciencedirect.com/science?_ob=ArticleURL&amp;amp;_udi=B8H4J-4NRKWK7-2&amp;amp;_user=10&amp;amp;_coverDate=04%2F30%2F1959&amp;amp;_rdoc=2&amp;amp;_fmt=high&amp;amp;_orig=browse&amp;amp;_srch=doc-info%28%23toc%2342608%231959%23999479997%23654711%23FLP%23display%23Volume%29&amp;amp;_cdi=42608&amp;amp;_sort=d&amp;amp;_docanchor=&amp;amp;_ct=29&amp;amp;_acct=C000050221&amp;amp;_version=1&amp;amp;_urlVersion=0&amp;amp;_userid=10&amp;amp;md5=5fe3e6800c80474f03f7e79ea5f84ee9&#34;&gt;empathy&lt;/a&gt; was first scientifically demonstrated for animals, the days of &lt;a href=&#34;http://en.wikipedia.org/wiki/I_Have_a_Dream&#34;&gt;I have a dream&lt;/a&gt;, the &lt;a href=&#34;http://en.wikipedia.org/wiki/Apollo_11&#34;&gt;landing&lt;/a&gt; on the moon, and the take-off of Simon&amp;amp;Garfunkel.; Some interesting times, shall we say.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Why programs fail</title>
      <link>https://www.msoos.org/2010/05/why-programs-fail/</link>
      <pubDate>Sat, 29 May 2010 18:18:00 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/wordpress/?p=16</guid> 
      <description>&lt;p&gt;I just bought the &lt;a href=&#34;http://www.whyprogramsfail.com/&#34;&gt;book&lt;/a&gt; with the title of the blogpost by Andreas Zeller. Essentially, it&amp;rsquo;s about debugging, where the author analyses the chain of program defect leading to infected program state, finally leading to program failure. I bought the book because while working with CryptoMiniSat, I have encountered so many bugs that they could fill a book.&lt;/p&gt;
&lt;p&gt;The problem with chasing bugs in CryptoMiniSat is that SAT solvers employ a very optimised algorithm that makes a lot of decisions per second, so recording all interesting events makes for a very big dump file. I have per-module verbosity settings, so if I can narrow down what module(s) are causing the failure, there is less debug output to go through, but sometimes I still have to wade through 10-20GB dumps to see how the program state got infected.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Being dumb is part of the deal</title>
      <link>https://www.msoos.org/2010/05/being-dumb-is-part-of-the-deal/</link>
      <pubDate>Wed, 26 May 2010 18:36:00 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/wordpress/?p=17</guid> 
      <description>&lt;p&gt;In my &lt;a href=&#34;?p=18&#34;&gt;last post&lt;/a&gt;, I presented a fast and easy way to add binary clauses to the clause database of &lt;a href=&#34;http://en.wikipedia.org/wiki/Boolean_satisfiability_problem&#34;&gt;SAT solvers&lt;/a&gt;, and I conjectured that since the algorithm was so simple, there must be something wrong with it. I was, in fact, right. I ran a cluster &lt;a href=&#34;https://www.grid5000.fr/mediawiki/index.php/Special:G5KExperiments?menu=renderexperiment&amp;amp;id=643&#34;&gt;experiment&lt;/a&gt;, and it turned out that adding all those binary clauses was slowing down the solving.&lt;/p&gt;
&lt;p&gt;My first reaction was of course: how on Earth? Binary clauses are &amp;ldquo;good&amp;rdquo;: both &lt;a href=&#34;http://minisat.se/&#34;&gt;MiniSat&lt;/a&gt; and &lt;a href=&#34;http://www.cril.univ-artois.fr/%7Eaudemard/&#34;&gt;Glucose&lt;/a&gt; try to amass these clauses as much as possible. So what can possibly be wrong? Well, redundant information, for a start. Let&amp;rsquo;s assume that we know that&lt;/p&gt;</description>
    </item>
    <item>
      <title>I must be dumb</title>
      <link>https://www.msoos.org/2010/05/i-must-be-dumb/</link>
      <pubDate>Sun, 23 May 2010 17:44:00 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/wordpress/?p=18</guid> 
      <description>&lt;p&gt;Apparently, hyper-binary resolution is &lt;a href=&#34;http://fmv.jku.at/biere/talks/Biere-Dagstuhl09-talk.pdf&#34;&gt;not easy&lt;/a&gt;. However, I have been reading the &lt;a href=&#34;http://www.cs.technion.ac.il/%7Egershman/papers/sat05_full.pdf&#34;&gt;paper&lt;/a&gt; by Gershman and Strichman, and they make it sound like it&amp;rsquo;s the easiest thing of all &amp;ndash; especially if you don&amp;rsquo;t do it the way they are doing it, of course.&lt;/p&gt;
&lt;p&gt;Hyper-binary resolution is essentially very easy. Let&amp;rsquo;s say you have three clauses:&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;-a V b
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;-a V c
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;d V -b V -c
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;(where &lt;code&gt;V&lt;/code&gt; is the binary OR, &lt;code&gt;-&lt;/code&gt; is the binary negation, and each line must be satisfied)&lt;/p&gt;</description>
    </item>
    <item>
      <title>On failed literal probing</title>
      <link>https://www.msoos.org/2010/05/on-failed-literal-probing/</link>
      <pubDate>Mon, 17 May 2010 23:11:00 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/wordpress/?p=19</guid> 
      <description>&lt;p&gt;Apparently, there have been &lt;a href=&#34;http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.24.6395&amp;amp;rep=rep1&amp;amp;type=pdf&#34;&gt;quite&lt;/a&gt; &lt;a href=&#34;http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.25.1063&#34;&gt;some&lt;/a&gt; &lt;a href=&#34;http://www.eecs.umich.edu/%7Evaleria/research/publications/IWLS06SAT.pdf&#34;&gt;work&lt;/a&gt; done on failed literal probing, although I don&amp;rsquo;t think they have all been put into a common package yet.&lt;/p&gt;
&lt;p&gt;The idea is quite simple in its purest form: try to set variable &lt;code&gt;v1&lt;/code&gt; to &lt;code&gt;true&lt;/code&gt; and see if that fails. If it does, variable &lt;code&gt;v1&lt;/code&gt; must be &lt;code&gt;false&lt;/code&gt;. If it doesn&amp;rsquo;t fail, try the other way around: set it to &lt;code&gt;false&lt;/code&gt; and if that fails, it must be &lt;code&gt;true&lt;/code&gt;.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Gaussian elimination is released</title>
      <link>https://www.msoos.org/2010/05/gaussian-elimination-is-released/</link>
      <pubDate>Sun, 09 May 2010 20:33:00 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/wordpress/?p=20</guid> 
      <description>&lt;p&gt;The &lt;a href=&#34;https://gforge.inria.fr/frs/?group_id=1992&#34;&gt;new CryptoMiniSat&lt;/a&gt;, version 2.4.2 now has on-the-fly &lt;a href=&#34;http://en.wikipedia.org/wiki/Gaussian_elimination&#34;&gt;Gaussian elimination&lt;/a&gt; compiled in by default. You can simply use it by issuing e.g.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;./cryptominisat --gaussuntil=100 trivium-cipher.cnf&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;and enjoy outputs such as:&lt;br&gt;
&lt;code&gt;c gauss unit truths     : 0 c gauss called          : 31323 c gauss conflicts       : 5893        (18.81      %) c gauss propagations    : 7823        (24.98      %) c gauss useful          : 43.79       % c conflicts             : 34186       (4073.39   / sec) c decisions             : 39715       (6.86      % random)&lt;/code&gt;&lt;br&gt;
Which basically tells that gaussian elimination was called 31 thousand times out of 39 thousand, and so it was essentially running almost all the time. Out of the 31&#39;323 times it was called, 44% of the cases it found either a conflict or a propagation. This is a very good result, and is typical of the &lt;a href=&#34;http://en.wikipedia.org/wiki/Trivium_%28cipher%29&#34;&gt;Trivium&lt;/a&gt; cipher. Trivium can be speeded up by up to 2x with Gaussian elimination. I will put up lots of CNFs, so you will be able to play around with them and (optionally) verify these results.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Parallelisation</title>
      <link>https://www.msoos.org/2010/05/parallelisation/</link>
      <pubDate>Wed, 05 May 2010 09:01:00 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/wordpress/?p=21</guid> 
      <description>&lt;p&gt;I have lately been reading the book &lt;a href=&#34;http://www.amazon.com/Using-OpenMP-Programming-Engineering-Computation/dp/0262533022&#34;&gt;Using OpenMP&lt;/a&gt; and thinking about how CryptoMiniSat could be &lt;a href=&#34;http://www.eecs.umich.edu/%7Evaleria/research/publications/IWLS06SAT.pdf&#34;&gt;parallelised&lt;/a&gt;. Apparently, there are multiple ways to achieve it. I haven&amp;rsquo;t yet had time to read through all previous approaches, but it seems there are at least two main ways to distribute the solving: through &lt;a href=&#34;http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.40.9517&#34;&gt;guiding paths&lt;/a&gt; and using the idea of &lt;a href=&#34;http://jsat.ewi.tudelft.nl/content/volume6/JSAT6_12_Hamadi.pdf&#34;&gt;ManySat&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The first approach, guiding paths, decomposes the problem into multiple sub-problems, setting some variables to &lt;code&gt;true&lt;/code&gt; or &lt;code&gt;false&lt;/code&gt;. The problems are then solved completely independently with a master coordinating the effort. I don&amp;rsquo;t like this approach for two reasons. Firstly, for cryptographic problems, the decomposition can be made very well since the problem in its most abstract form (i.e. key, plaintext, ciphertext) is known, and so a very good guiding path can be calculated. However, even with this very good guiding path, the expected total time to solve is far more than if the problem was given to one solver instance. In other words, if we decompose the problem into 4 sub-problems, and each sub-problem takes on average T time to solve, then the total average time is 4T, but if we gave the problem to one solver, it would have found the solution on average in e.g. 2T time. In other words, the gain is not as much as one would hope. I would guess that this ratio (2T/4T = 1/2 in this case) is even worse when the problem&amp;rsquo;s abstract form is totally unknown (which is most of the time), and the solver has to guess a guiding path.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Social coding</title>
      <link>https://www.msoos.org/2010/04/social-coding/</link>
      <pubDate>Thu, 29 Apr 2010 20:04:00 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/wordpress/?p=22</guid> 
      <description>&lt;p&gt;I saw a &lt;a href=&#34;http://www.youtube.com/watch?v=k2h2lvhzMDc&#34;&gt;talk&lt;/a&gt; by Ed Catmull on the problems Pixar had in their early days. The talk is very interesting, and I recommend it. What caught me, is that at Pixar they had a &amp;ldquo;brain trust&amp;rdquo;, a certain group of people who could express their new ideas to one another without fear of backlash. This is actually very difficult to achieve, since early implementations of ideas are always &amp;ldquo;childish&amp;rdquo;, lack maturity, and are therefore not considered good enough to be shared with others. However, if you don&amp;rsquo;t share the idea with the others early, then you will get feedback too late, when you have already invested a lot of time into it. Criticism at this late stage hurts more and what is worse, it might make you so uncomfortable, that you might abandon the idea altogether.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Blocked clause elimination implies dependent variable removal</title>
      <link>https://www.msoos.org/2010/04/blocked-clause-elimination-implies-dependent-variable-removal/</link>
      <pubDate>Wed, 28 Apr 2010 20:50:00 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/wordpress/?p=23</guid> 
      <description>&lt;p&gt;While writing the description of &lt;a href=&#34;http://cryptominisat.gforge.inria.fr/&#34;&gt;CryptoMiniSat&lt;/a&gt; for the &lt;a href=&#34;http://baldur.iti.uka.de/sat-race-2010/&#34;&gt;2010 SAT Race&lt;/a&gt;, I have realised how powerful the &lt;a href=&#34;http://dx.doi.org/10.1007/978-3-642-12002-2_10&#34;&gt;blocked clause elimination&lt;/a&gt; (BCE) technique by Matti Jarvisalo and Armin Biere is. For xor clauses, which represent a simple XOR like&lt;/p&gt;
&lt;p&gt;&lt;code&gt;v1 + v2 + v3 = true&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;there is a technique called &lt;a href=&#34;http://www.satisfiability.org/SAT04/programme/72.pdf&#34;&gt;dependent variable removal&lt;/a&gt; by Heule and Maaren. This technique removes an xor clause if one of its variables appears only in one place: in that xor clause. The idea is that since that variable only appears there, the XOR can always be satisfied. For example, if variable &lt;code&gt;v1&lt;/code&gt; is dependent (i.e. it only appears in this XOR), and&lt;/p&gt;</description>
    </item>
    <item>
      <title>CryptoMiniSat v2 finally released</title>
      <link>https://www.msoos.org/2010/04/cryptominisat-v2-finally-released/</link>
      <pubDate>Tue, 27 Apr 2010 12:49:00 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/wordpress/?p=24</guid> 
      <description>&lt;p&gt;CryptoMiniSat version 2.4.0 is finally &lt;a href=&#34;http://cryptominisat.gforge.inria.fr/&#34;&gt;here&lt;/a&gt;. I decided to use the &lt;a href=&#34;https://gforge.inria.fr/projects/cryptominisat/&#34;&gt;INRIA Gforge system&lt;/a&gt; to coordinate bug-hunting, release management and the forums. However, the source code revision management is coordinated through &lt;a href=&#34;http://gitorious.com/cryptominisat&#34;&gt;Gitorious&lt;/a&gt;. There, you can find all revisions that have been made to CryptoMiniSat since its original SVN revision control was fixed to use trunk and branches. I believe at least a 1000 revisions are up, so you can see how the source evolved. The source now should be pretty stable, but I am looking forward to all bug reports and suggestons.&lt;/p&gt;</description>
    </item>
    <item>
      <title>On PrecoSat</title>
      <link>https://www.msoos.org/2010/04/on-precosat/</link>
      <pubDate>Sun, 25 Apr 2010 19:47:00 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/wordpress/?p=25</guid> 
      <description>&lt;p&gt;Lately, I have been having a poll of who will win the &lt;a href=&#34;http://baldur.iti.uka.de/sat-race-2010/&#34;&gt;SAT Race&#39;10&lt;/a&gt;. Apparently, 5 people voted until now, me included. I voted &lt;a href=&#34;http://fmv.jku.at/precosat/&#34;&gt;PrecoSat&lt;/a&gt;. Not because I didn&amp;rsquo;t want to vote CryptoMiniSat, but because I honestly believe it really will win. The reason is awfully simple: &lt;a href=&#34;http://fmv.jku.at/biere/&#34;&gt;Armin Biere&lt;/a&gt;, the (main) author of PrecoSat has had far more experience and time than me to perfect his solver. This is normal, though I only hope he might notice the amount of effort that was put into CryptoMiniSat.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Optimisations</title>
      <link>https://www.msoos.org/2010/04/optimisations/</link>
      <pubDate>Thu, 22 Apr 2010 12:10:00 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/wordpress/?p=26</guid> 
      <description>&lt;p&gt;There are plenty of optimisations that I have tried with CryptoMiniSat. I will try to list a few that I finally didn&amp;rsquo;t consider using, but could be implemented later to get around 4-8% speedup each.&lt;/p&gt;
&lt;p&gt;It seems a good idea to use a separate &lt;a href=&#34;http://http://en.wikipedia.org/wiki/Conjunctive_normal_form&#34;&gt;CNF&lt;/a&gt; simplifier such as &lt;a href=&#34;http://http://minisat.se/SatELite.html&#34;&gt;SatELite&lt;/a&gt; before executing the SAT solver. The reasoning is, that even though one can import (or copy-paste) the code from SatELite, the memory will stay fragmented: &lt;a href=&#34;http://minisat.se/downloads/SatELite_slides.pdf&#34;&gt;variable elimination&lt;/a&gt; might remove half the variables, and so the arrays that store variable values will have unused bytes in them, using a larger footprint than necessary, thus causing cache misses. Though this is true, SatELite is not exactly perfect. For instance, it can be seen in certain instances of the SAT Competition of 2009 that &lt;a href=&#34;http://www.lri.fr/%7Esimon/glucose/&#34;&gt;GLUCOSE&lt;/a&gt; sometimes had very bad performance in comparison with other solvers exactly because SatELite took, e.g. &lt;a href=&#34;http://www.cril.univ-artois.fr/SAT09/results/trace.php?idev=29&amp;amp;idjob=1774624&#34;&gt;130 seconds&lt;/a&gt;, but the solving only took 2 seconds. So SatELite slowed down the solving of this instance. Also, SatELite has some limitations, e.g. it cannot handle more than 4&#39;800&#39;000 clauses otherwise it might take just too much time. These are huge drawbacks, and in fact CryptoMiniSat (and, e.g. &lt;a href=&#34;http://fmv.jku.at/precosat/&#34;&gt;PrecoSat&lt;/a&gt;) overcomes all of these. The memory fragmentation issue remains, though. It could be treated, but that would require about 2-3 weeks of time to get corrected, and I simply don&amp;rsquo;t have that much time. P.S.: Easy solution: rename the variables everywhere. Hard (but less error-prone) solution: use different datastructure for variable values.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Tools that I often use</title>
      <link>https://www.msoos.org/2010/04/tools-that-i-use-often/</link>
      <pubDate>Mon, 19 Apr 2010 20:23:00 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/wordpress/?p=27</guid> 
      <description>&lt;p&gt;I used to use &lt;a href=&#34;http://en.wikipedia.org/wiki/Perl&#34;&gt;Perl&lt;/a&gt; a lot in the old days. Martin Albrecht, through the &lt;a href=&#34;http://www.sagemath.org/&#34;&gt;sage&lt;/a&gt; mathematics software, showed me Python. I first really hated Python. But then, I realised I can simply type away in it, as in C++, but without all the hassle of C++. I saw a little of &lt;a href=&#34;http://en.wikipedia.org/wiki/AWK&#34;&gt;AWK&lt;/a&gt; once, and I got madly in love with it &amp;ndash; when it comes to simple scripts like counting numbers printed by programs, AWK is unbeatable. I use &lt;a href=&#34;http://http//en.wikipedia.org/wiki/Grep&#34;&gt;grep&lt;/a&gt; a lot, and recently I realised how great a combination grep and &lt;a href=&#34;http://en.wikipedia.org/wiki/Wc_%28Unix%29&#34;&gt;wc&lt;/a&gt; (a very dumb utility that counts lines/words) are. For instance, I can simply do: &amp;ldquo;grep &amp;ldquo;s SAT&amp;rdquo; *.output | wc -l&amp;rdquo; to find how many problems have been solved by CryptoMiniSat. I am also finding myself using grep and AWK together to create shell scripts that I run later. For example, I can do: &amp;ldquo;ls *.cnf | awk &amp;lsquo;{print &amp;ldquo;./cryptominisat &amp;quot; $1 &amp;quot; &amp;gt; &amp;quot; $1.output&amp;rdquo; }&amp;rsquo; &amp;gt; script.sh&amp;rdquo; which, when executed, solves all CNF files in the directory, and generates a *.cnf.output file for each, containing the output of CryptoMiniSat. An interesting utility in UNIX is &lt;a href=&#34;http://ss64.com/bash/ulimit.html&#34;&gt;ulimit&lt;/a&gt;, with which can limit the memory and time (and stack, etc.) usage of a process. Putting a &amp;ldquo;ulimit -t 10000&amp;rdquo; at the beginning of our &amp;ldquo;script.sh&amp;rdquo; we can simply limit CryptoMiniSat to 10000 seconds for each instance.&lt;/p&gt;</description>
    </item>
    <item>
      <title>216</title>
      <link>https://www.msoos.org/2010/04/216/</link>
      <pubDate>Sat, 17 Apr 2010 20:14:00 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/wordpress/?p=28</guid> 
      <description>&lt;p&gt;216. I am quite proud of this number. It&amp;rsquo;s the number of instances CryptoMiniSat2 can solve from the 292 problem instances of the &lt;a href=&#34;http://www.cril.univ-artois.fr/SAT09/results/ranking.php?idev=29&#34;&gt;SAT Race&#39;09&lt;/a&gt;, given roughly the same amount of time and computing resources as the solvers of 2009. Last year&amp;rsquo;s &lt;a href=&#34;http://fmv.jku.at/precosat/&#34;&gt;winner&lt;/a&gt; could solve only 204. Total solving time of CryptoMiniSat for the 216 instances was 217&#39;814 sec, in comparison to 180&#39;345 sec (for 12 less instances) of last year&amp;rsquo;s winner &lt;em&gt;.&lt;/em&gt; The distribution of SAT and UNSAT for CryptoMiniSat is 85 SAT and 131 UNSAT instances solved. With this performance, it would have won all three tracks of the competition (SAT, UNSAT and SAT+UNSAT) last year.&lt;/p&gt;</description>
    </item>
    <item>
      <title>A great essay on security in the cyberworld</title>
      <link>https://www.msoos.org/2010/04/a-great-essay-on-security-in-the-cyberworld/</link>
      <pubDate>Tue, 13 Apr 2010 19:34:00 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/wordpress/?p=29</guid> 
      <description>&lt;p&gt;I just read &lt;a href=&#34;http://www.harvardnsj.com/wp-content/uploads/2010/04/Volume-1_Geer_Final1.pdf&#34;&gt;this&lt;/a&gt; paper on cybersecurity by Daniel E. Geer, and I was very impressed. Unfortunately I haven&amp;rsquo;t heard from the author yet, but I regularly used to read the &lt;a href=&#34;http://www.schneier.com/blog&#34;&gt;blog&lt;/a&gt; of Bruce Schneier, and this essay basically puts the same ideas into perspective.&lt;/p&gt;
&lt;p&gt;I have found the essay to be very interesting, and very thought-provoking. It shows very well that security in the cyber (or cyber-connected) world is very difficult to attain. There are no simple solutions. I personally think that security in the real world (not only the cyber world) is also very difficult to obtain, and unfortunately politicians tend to go the easy way, and simply bend in front of the will of the people by implementing &amp;ldquo;security measures&amp;rdquo; that in the end don&amp;rsquo;t help much (if at all) in terms of security, but reassure the people. An example of this is the ban of liquids on airplanes, while cockpits in Europe are still not reinforced &amp;ndash; the former doesn&amp;rsquo;t achieve much but is very visible (and so is more of a &lt;a href=&#34;http://en.wikipedia.org/wiki/Security_theater&#34;&gt;security theater&lt;/a&gt;), while the latter would be much less visible, but also much more effective. Also to note, that the former takes a lot of man-power to implement, and inconveniences the users (thus taking their time, too), while the latter would be relatively cheap.&lt;/p&gt;</description>
    </item>
    <item>
      <title>The dates of the SAT Race 2010 have been announced!</title>
      <link>https://www.msoos.org/2010/04/the-dates-of-the-sat-race-2010-have-been-announced/</link>
      <pubDate>Mon, 12 Apr 2010 10:15:00 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/wordpress/?p=30</guid> 
      <description>&lt;p&gt;The dates of the SAT Race 2010 have been &lt;a href=&#34;http://baldur.iti.uka.de/sat-race-2010/&#34;&gt;announced&lt;/a&gt;! The deadline is the end of April, so I have to get CryptoMiniSat bug-free by then.&lt;/p&gt;
&lt;p&gt;I have decided to merge the code into STP, the &lt;a href=&#34;http://sourceforge.net/projects/stp-fast-prover/&#34;&gt;Simple Theorem Prover&lt;/a&gt; made by some MIT researchers, among them &lt;a href=&#34;http://people.csail.mit.edu/vganesh/&#34;&gt;Vijay Ganesh&lt;/a&gt;, with whom I have have worked quite a lot during the final months of 2009. Hopefully, with the help of the STP team, CryptoMiniSat will be bug-free by the end of this month, and through testing in STP, fine-tuning of options will be carried out. There are 16 new modules in the solver, and all have heuristic cut-offs, which have to be tuned. Naturally, I tried to use sensible defaults, but problems can vary widely, and different problems need different cut-offs. For instance, if the number of clauses is very low, even O(m^2) algorithms can be executed, while if the number of clauses is extremely large, e.g. 100&#39;000, it might take too much time even to execute O(m*log(m)) algorithms.&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>
    <item>
      <title>Why CryptoMiniSat can’t use MATLAB to do Gaussian elimination</title>
      <link>https://www.msoos.org/2010/03/why-cryptominisat-cant-use-matlab-to-do-gaussian-elimination/</link>
      <pubDate>Fri, 19 Mar 2010 14:16:00 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/wordpress/?p=32</guid> 
      <description>&lt;p&gt;Some people, who may not have thought through the problem of implementing Gaussian elimination into SAT solvers, seem to think that it&amp;rsquo;s just a matter of pulling a matlab function into a solver, and the job is done. Let met explain why I think this is not the case.&lt;/p&gt;
&lt;p&gt;Firstly, we don&amp;rsquo;t wish to execute Gaussian elimination simply before the solving, instead, we wish to execute it during the solving. This means the matrix&amp;rsquo;s columns need to be changed often, since as we move down the search tree, some variables will be fixed, thus the columns need to be cleared, and the augmented column needs to be updated. But how would a matlab function know which column was changed? These functions are made to work on any given matrix, churn through it, and finish with a result. However, in many cases, the change (=delta) between two matrixes is minimal (i.e. 3rd column from right was changed). In this case, the matlab routine will nevertheless start updating the matrix from the leftmost column, essentially taking far more time than an algorithm that knows that the delta was small.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Could monomials be handled natively from SAT solvers?</title>
      <link>https://www.msoos.org/2010/03/could-monomials-be-handled-natively-from-sat-solvers/</link>
      <pubDate>Wed, 17 Mar 2010 12:05:00 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/wordpress/?p=33</guid> 
      <description>&lt;p&gt;I recently got a question that intrigued me:&lt;/p&gt;
&lt;p&gt;I am new to this SAT solving world but I was wondering whether you thought considerable speedups were possible for crypto type problems (multivariate polys over GF(2)) by simply never converting the problem to cnf at all and thereby avoiding the combinatorial explosion that results in the conversion process. That is using the original xor formulation.&lt;/p&gt;
&lt;p&gt;First of all, the question is a follow-up to xor-clauses: they implement XOR-s natively. Using them avoids a number of problems relating to the increase of variables. Why not implement monomials (i.e. &amp;ldquo;a*b&amp;rdquo; or &amp;ldquo;a*b*c&amp;rdquo;, where &amp;ldquo;*&amp;rdquo; is binary AND and variables are binary) natively? They are the only thing left to do. Personally, I am not overly optimistic about them, though. Let me got through some of my reasons here.&lt;/p&gt;</description>
    </item>
    <item>
      <title>CryptoMiniSat v2</title>
      <link>https://www.msoos.org/2010/03/cryptominisat-v2/</link>
      <pubDate>Thu, 04 Mar 2010 20:58:00 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/wordpress/?p=34</guid> 
      <description>&lt;p&gt;Lately, I have been working a lot with CryptoMiniSat, to get it up and running for the &lt;a href=&#34;http://baldur.iti.uka.de/sat-race-2010/&#34;&gt;2010 SAT Race&lt;/a&gt;, held by Carsten Sinz. Getting CryptoMiniSat fast and bug-free has been a long and winding road. I can now understand the difficulty of choosing magic parameters that these SAT solvers make use of regularly. As I have added ~6000 lines of code to a codebase of ~1500, you can probably imagine the number of magic constants that I had to come up with. Worst of all, these constants interact in non-intuitive and sometimes in a fully &amp;ldquo;magical&amp;rdquo; manner.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Why do I use Linux?</title>
      <link>https://www.msoos.org/2008/11/why-do-i-use-linux/</link>
      <pubDate>Sat, 01 Nov 2008 13:11:00 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/wordpress/?p=35</guid> 
      <description>&lt;p&gt;I used to be quite an expert on Windows, I even used to hang out on the #windows-help IRC channel. So why do I use Linux uniquely nowadays?&lt;/p&gt;
&lt;p&gt;First, I tried Linux out of curiosity. What made me interested initially is that I am a control freak: I like to know what happens with my computer. With windows there were always a billion things running in the background, and I had no clue what they were doing. With linux you always know what does what. &amp;ldquo;man programname&amp;rdquo; and you have a complete documentation. This was a real kick for me. I could read these manuals for days, literally. I hate when things &amp;ldquo;just work&amp;rdquo; - I want to know *why?*. Simple curiosity. However, this doesn&amp;rsquo;t explain why I have stuck with Linux for such a long time.&lt;/p&gt;</description>
    </item>
    <item>
      <title>How to unload the sound module</title>
      <link>https://www.msoos.org/2008/10/how-to-unload-the-sound-module/</link>
      <pubDate>Sun, 26 Oct 2008 18:02:00 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/wordpress/?p=36</guid> 
      <description>&lt;p&gt;I regularly have a problem with my sound card: it simply stops working, and xine (and everything else) says that it cannot open the sound socket. So, I need to unload and reload the snd_hda_intel module. Most of the time, however, I cannot since it is in use. I try to close all possibly using sound, but most of the time it is a dead process that is using it. But, I have figured out how to find these unruly processes:&lt;/p&gt;</description>
    </item>
    <item>
      <title>KDE4 composite with intel drivers</title>
      <link>https://www.msoos.org/2008/09/kde4-composite-with-intel-drivers/</link>
      <pubDate>Sat, 20 Sep 2008 09:06:00 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/wordpress/?p=37</guid> 
      <description>&lt;p&gt;I have been having a hard time getting the composite effects running smoothly on KDE4 with my intel Mobile 945GM graphics card. But I have finally managed to get it up and running! This is how:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Get the latest intel driver from your repository (I have 2.3.2)&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Put into xorg.conf at the driver section:&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;Section &amp;#34;Device&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Identifier      &amp;#34;Configured Video Device&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Driver &amp;#34;intel&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Option &amp;#34;DRI&amp;#34; &amp;#34;true&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;EndSection
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Put at the end of your xorg.conf:&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;Section &amp;#34;DRI&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Mode 0666
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;EndSection
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Section &amp;#34;Extensions&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Option &amp;#34;Composite&amp;#34; &amp;#34;Enable&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Option &amp;#34;DAMAGE&amp;#34; &amp;#34;Enable&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Option &amp;#34;RENDER&amp;#34; &amp;#34;Enable&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Option &amp;#34;RandR&amp;#34; &amp;#34;on&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;EndSection
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Under the system settings, enable desktop effects and set in the advanced settings to use XRender! (and take out the update thumbnails and the smooth scaling).&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Restart X: restart the computer or just do: logout then push &amp;ldquo;ctrl+alt+backspace&amp;rdquo;, log in to the console as root, and restart kdm by issuing: &amp;ldquo;/etc/init.d/kdm restart&amp;rdquo;.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;</description>
    </item>
    <item>
      <title>Suspend on Dell D430</title>
      <link>https://www.msoos.org/2008/09/suspend-on-dell-d430/</link>
      <pubDate>Fri, 19 Sep 2008 18:13:00 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/wordpress/?p=38</guid> 
      <description>&lt;p&gt;I have been having problems suspending my Dell Latitude D420 for a long time, but finally, I have made it work! This is the simple howto:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;install guidance power manager&lt;/li&gt;
&lt;li&gt;install pm-utils&lt;/li&gt;
&lt;li&gt;install uswsusp&lt;/li&gt;
&lt;li&gt;Go to /usr/lib/pm-utils/ and edit the file &amp;ldquo;defaults&amp;rdquo;. Set &amp;lsquo;SLEEP_MODULE=&amp;ldquo;uswsusp&amp;rdquo;&amp;quot;&lt;/li&gt;
&lt;li&gt;Start the guidance power manager&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;You are done. This solution is *very* neat in many respects. The old solution that is much worse, you can find on the internet is to compile atkbd and psmouse as modules, then remove and modprobe them before suspend and after resume. That can be done by adding atkbd and psmouse in /usr/lib/pm-utils/defaults under &amp;ldquo;USPEND_MODULES=&amp;hellip;&amp;rdquo;, but that has a *big* drawback. First, the resume hangs about 1% of the time. Second, the synaptics driver will no longer use the defaults you gave to it in the xorg.conf or through the synclient program - effectively, you won&amp;rsquo;t be able to control how your touchpad will work.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Synaptics</title>
      <link>https://www.msoos.org/2008/09/synaptics/</link>
      <pubDate>Fri, 12 Sep 2008 19:33:00 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/wordpress/?p=39</guid> 
      <description>&lt;p&gt;Well, well. I updated my xorg synaptics driver, and&amp;hellip;. the damn thing stopped working. That is, the touchpad worked, but not through the synaptics driver, so it would be really badly configured. I like my touchpad to be correctly configured. As a matter of fact, I put this file into ~/.kde4/Autostart/ :&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-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;#!/bin/bash
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;fetchmail
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;synclient SingleTapTimeout&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;0.5
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;synclient   MinSpeed&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;0.1
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;synclient   MaxSpeed&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#ae81ff&#34;&gt;1&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;synclient   AccelFactor&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;0.3
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;synclient   ClickTime&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#ae81ff&#34;&gt;10&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;synclient   EdgeMotionMinSpeed&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#ae81ff&#34;&gt;30&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;synclient   EdgeMotionMaxSpeed&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#ae81ff&#34;&gt;150&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;synclient   VertScrollDelta&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#ae81ff&#34;&gt;24&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;synclient   UpDownScrollRepeat&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#ae81ff&#34;&gt;1&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;synclient   PressureMotionMaxFactor&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#ae81ff&#34;&gt;2&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;synclient   HorizEdgeScroll&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#ae81ff&#34;&gt;0&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;synclient   VertEdgeScroll&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#ae81ff&#34;&gt;1&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;synclient   VertTwoFingerScroll&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#ae81ff&#34;&gt;1&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;synclient   HorizTwoFingerScroll&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#ae81ff&#34;&gt;0&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;synclient   PalmMinZ&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#ae81ff&#34;&gt;30&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;killall syndaemon
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;syndaemon -i 0.6 -d -K
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;killall hotkeys
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;hotkeys -t inspiron8100
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;As you can see, this starts my fetchmail daemon, sets up the config of the touchpad through the synclient program, and also starts &amp;ldquo;syndaemon&amp;rdquo;, which disables the touchpad while typing - VERY helpful, mind you, since when programming, I always put my finger on the touchpad by accident, and suddenly everything gets messed up. Also, it sets up the hotkeys program, which will make my volume-up and volume-down keys working (I have a Dell D420, thanks INRIA ;) )&lt;/p&gt;</description>
    </item>
    <item>
      <title>ApproxMC</title>
      <link>https://www.msoos.org/tools/approxmc/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
       <guid isPermaLink="false">https://www.msoos.org/tools/approxmc/</guid> 
      <description>&lt;p&gt;&lt;a href=&#34;https://github.com/meelgroup/approxmc&#34;&gt;ApproxMC&lt;/a&gt; is an approximate model counter for CNF formulas. Instead of an exact count, it gives a count that is within a chosen tolerance of the true value with a chosen confidence, which lets it handle problems of a size and complexity that were not possible before. It supports projected counting, where only the solutions over a given set of variables are counted.&lt;/p&gt;
&lt;p&gt;ApproxMC adds random XOR constraints to the formula and solves the result with &lt;a href=&#34;https://www.msoos.org/tools/cryptominisat/&#34;&gt;CryptoMiniSat&lt;/a&gt;, using its native XOR and Gauss-Jordan elimination support; the input is first simplified by &lt;a href=&#34;https://www.msoos.org/tools/arjun/&#34;&gt;Arjun&lt;/a&gt;. For exact or weighted counting, use &lt;a href=&#34;https://www.msoos.org/tools/ganak/&#34;&gt;Ganak&lt;/a&gt; instead, and for DNF formulas use &lt;a href=&#34;https://www.msoos.org/tools/pepin/&#34;&gt;Pepin&lt;/a&gt;. Release binaries are on &lt;a href=&#34;https://github.com/meelgroup/approxmc/releases&#34;&gt;GitHub&lt;/a&gt;, and you can &lt;a href=&#34;https://www.msoos.org/approxmc/&#34;&gt;try it in your browser&lt;/a&gt;.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Arjun</title>
      <link>https://www.msoos.org/tools/arjun/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
       <guid isPermaLink="false">https://www.msoos.org/tools/arjun/</guid> 
      <description>&lt;p&gt;&lt;a href=&#34;https://github.com/meelgroup/arjun&#34;&gt;Arjun&lt;/a&gt; is three tools in one: a CNF preprocessor for model counting, a Boolean functional synthesis engine, and a 2QBF solver. Its name comes from the Hindu myth of &lt;a href=&#34;https://en.wikipedia.org/wiki/Arjuna&#34;&gt;Arjuna&lt;/a&gt;, known as &amp;ldquo;the one who concentrates the most&amp;rdquo;. Release binaries are on &lt;a href=&#34;https://github.com/meelgroup/arjun/releases&#34;&gt;GitHub&lt;/a&gt;, and it is available via Nix.&lt;/p&gt;
&lt;p&gt;As a preprocessor, Arjun computes a small independent support of the formula and simplifies the CNF so that its count stays the same, for unweighted as well as weighted counting. It is the preprocessor of &lt;a href=&#34;https://www.msoos.org/tools/approxmc/&#34;&gt;ApproxMC&lt;/a&gt; and should be used in front of &lt;a href=&#34;https://www.msoos.org/tools/ganak/&#34;&gt;Ganak&lt;/a&gt;. Part of its simplification code comes from &lt;a href=&#34;https://github.com/Laakeri/sharpsat-td&#34;&gt;SharpSAT-TD&lt;/a&gt; by Tuukka Korhonen and Matti Järvisalo. The preprocessor is described in &lt;a href=&#34;https://doi.org/10.1145/3508352.3549406&#34;&gt;Arjun: An Efficient Independent Support Computation Technique and its Applications to Counting and Sampling&lt;/a&gt; (ICCAD 2022), see also the blog post &lt;a href=&#34;https://www.msoos.org/2022/08/arjun-our-new-cnf-model-counting-preprocessor/&#34;&gt;Arjun, our New CNF Model Counting Preprocessor&lt;/a&gt; and the talk &lt;a href=&#34;https://github.com/msoos/presentation_arjun_preproc/blob/main/arjun_preprocessor.pdf&#34;&gt;SAT Preprocessing&lt;/a&gt; (Dagstuhl, 2026).&lt;/p&gt;</description>
    </item>
    <item>
      <title>Bosphorus</title>
      <link>https://www.msoos.org/tools/bosphorus/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
       <guid isPermaLink="false">https://www.msoos.org/tools/bosphorus/</guid> 
      <description>&lt;p&gt;&lt;a href=&#34;https://github.com/meelgroup/bosphorus&#34;&gt;Bosphorus&lt;/a&gt; simplifies and solves systems of polynomial equations over GF(2), given in algebraic normal form (ANF), and converts between ANF and CNF. Such systems come up all over cryptanalysis: for example, the multivariate quadratic systems behind &lt;a href=&#34;https://csrc.nist.gov/projects/post-quantum-cryptography&#34;&gt;post-quantum&lt;/a&gt; schemes can be read in directly, including the Fukuoka MQ challenges and HFE systems.&lt;/p&gt;
&lt;p&gt;Bosphorus combines many algorithms: XL, ElimLin, Gauss-Jordan elimination, Gröbner bases (its own matrix-F4 engine, a Matrix-F5 variant, or BRiAl&amp;rsquo;s), and SAT solving with &lt;a href=&#34;https://www.msoos.org/tools/cryptominisat/&#34;&gt;CryptoMiniSat&lt;/a&gt;, feeding facts learnt by each into the others. Its ANF-to-CNF conversion uses Brickenstein&amp;rsquo;s algorithm for small polynomials and linearisation with native XOR clauses for larger ones, and it can map CNF solutions back to the ANF. Solutions can be counted by passing the CNF to &lt;a href=&#34;https://www.msoos.org/tools/approxmc/&#34;&gt;ApproxMC&lt;/a&gt;. Release binaries are on &lt;a href=&#34;https://github.com/meelgroup/bosphorus/releases&#34;&gt;GitHub&lt;/a&gt;, and it is available via Nix.&lt;/p&gt;</description>
    </item>
    <item>
      <title>CMSGen</title>
      <link>https://www.msoos.org/tools/cmsgen/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
       <guid isPermaLink="false">https://www.msoos.org/tools/cmsgen/</guid> 
      <description>&lt;p&gt;&lt;a href=&#34;https://github.com/meelgroup/cmsgen&#34;&gt;CMSGen&lt;/a&gt; is a fast, weighted, uniform-like sampler for CNF formulas. It gives no formal guarantee that its samples follow the desired distribution, but in our testing with the &lt;a href=&#34;https://github.com/meelgroup/barbarik&#34;&gt;Barbarik&lt;/a&gt; uniformity tester it is currently the best sampler without such guarantees.&lt;/p&gt;
&lt;p&gt;CMSGen is built on &lt;a href=&#34;https://www.msoos.org/tools/cryptominisat/&#34;&gt;CryptoMiniSat&lt;/a&gt;: it picks polarities and branching variables at random, turns off pre- and inprocessing, and restarts at static intervals, so that its solutions are spread close to uniformly over the solution space. If you need provably uniform samples, use &lt;a href=&#34;https://www.msoos.org/tools/unigen/&#34;&gt;UniGen&lt;/a&gt; instead. Release binaries are on &lt;a href=&#34;https://github.com/meelgroup/cmsgen/releases&#34;&gt;GitHub&lt;/a&gt; for Linux, Mac and Windows, on both x86_64 and ARM, it is available via Nix, and you can &lt;a href=&#34;https://www.msoos.org/cmsgen/&#34;&gt;try it in your browser&lt;/a&gt;.&lt;/p&gt;</description>
    </item>
    <item>
      <title>CryptoMiniSat</title>
      <link>https://www.msoos.org/tools/cryptominisat/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
       <guid isPermaLink="false">https://www.msoos.org/tools/cryptominisat/</guid> 
      <description>&lt;p&gt;&lt;a href=&#34;https://github.com/msoos/cryptominisat&#34;&gt;CryptoMiniSat&lt;/a&gt; is an advanced incremental SAT solver. It reads CNF in the DIMACS format, extended with XOR clauses, and can be used from the command line, as a C++ library, or from Python (&lt;code&gt;pip3 install pycryptosat&lt;/code&gt;), with C and &lt;a href=&#34;https://github.com/msoos/cryptominisat-rs/&#34;&gt;Rust&lt;/a&gt; wrappers as well. The library interfaces are incremental: they support assumptions and multiple &lt;code&gt;solve&lt;/code&gt; calls.&lt;/p&gt;
&lt;p&gt;CryptoMiniSat emits XLRUP proofs that can be checked by the formally verified checker &lt;code&gt;cake_xlrup&lt;/code&gt; from &lt;a href=&#34;https://github.com/meelgroup/frat-xor&#34;&gt;frat-xor&lt;/a&gt;. It is the SAT solver inside our counters and samplers, &lt;a href=&#34;https://www.msoos.org/tools/approxmc/&#34;&gt;ApproxMC&lt;/a&gt;, &lt;a href=&#34;https://www.msoos.org/tools/unigen/&#34;&gt;UniGen&lt;/a&gt; and &lt;a href=&#34;https://www.msoos.org/tools/cmsgen/&#34;&gt;CMSGen&lt;/a&gt;; if you want to use it as a preprocessor, try &lt;a href=&#34;https://www.msoos.org/tools/arjun/&#34;&gt;Arjun&lt;/a&gt; instead. Release binaries are on &lt;a href=&#34;https://github.com/msoos/cryptominisat/releases&#34;&gt;GitHub&lt;/a&gt;, it is available via Nix, and you can &lt;a href=&#34;https://www.msoos.org/cryptominisat/&#34;&gt;try it in your browser&lt;/a&gt;. It is MIT licensed. For common questions, see the &lt;a href=&#34;https://www.msoos.org/tools/cryptominisat/faq/&#34;&gt;CryptoMiniSat FAQ&lt;/a&gt;.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Ganak</title>
      <link>https://www.msoos.org/tools/ganak/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
       <guid isPermaLink="false">https://www.msoos.org/tools/ganak/</guid> 
      <description>&lt;p&gt;&lt;a href=&#34;https://github.com/meelgroup/ganak&#34;&gt;Ganak&lt;/a&gt; is a high-performance exact model counter: given a CNF formula, it tells you how many satisfying assignments it has, optionally projected onto a set of variables and weighted. It won all available awards at the 2024 and 2025 Model Counting Competitions. It can count over any field, including integers, rationals, complex numbers, integers modulo a prime, and polynomials over a finite field.&lt;/p&gt;
&lt;p&gt;Ganak runs in probabilistic mode by default, and can also run fully non-probabilistically (&lt;code&gt;--prob 0&lt;/code&gt;), or switch to &lt;a href=&#34;https://www.msoos.org/tools/approxmc/&#34;&gt;ApproxMC&lt;/a&gt; after a timeout to give an approximate count (&lt;code&gt;--appmct&lt;/code&gt;). It should be used together with our preprocessor, &lt;a href=&#34;https://www.msoos.org/tools/arjun/&#34;&gt;Arjun&lt;/a&gt;. Release binaries are on &lt;a href=&#34;https://github.com/meelgroup/ganak/releases&#34;&gt;GitHub&lt;/a&gt;, it is available via Nix, and you can &lt;a href=&#34;https://www.msoos.org/ganak/&#34;&gt;try it in your browser&lt;/a&gt;.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Grain of Salt</title>
      <link>https://www.msoos.org/tools/grain-of-salt/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
       <guid isPermaLink="false">https://www.msoos.org/tools/grain-of-salt/</guid> 
      <description>&lt;p&gt;&lt;a href=&#34;https://github.com/msoos/grainofsalt&#34;&gt;Grain of Salt&lt;/a&gt; generates CNF problems from shift-register-based stream ciphers, so that they can be attacked with SAT solvers such as &lt;a href=&#34;https://www.msoos.org/tools/cryptominisat/&#34;&gt;CryptoMiniSat&lt;/a&gt;. Descriptions of Grain, Trivium, Bivium, HiTag2 and Crypto1 are included, and new ciphers are easy to add: you describe the shift registers and give the feedback, filter and output functions in algebraic normal form, one monomial per line.&lt;/p&gt;
&lt;p&gt;You control how many output bits are known, how many key bits are given as help bits (&lt;code&gt;--probBits&lt;/code&gt;), and how many problems to generate. For example, &lt;code&gt;./grainofsalt --num 100 --outputs 90 --crypto grain --probBits 70&lt;/code&gt; generates 100 problems for Grain, with 90 bits of observed output and 70 randomly chosen help bits. The CNF is optimised before output, in part using the bundled espresso logic minimiser. The code is on &lt;a href=&#34;https://github.com/msoos/grainofsalt&#34;&gt;GitHub&lt;/a&gt;, GPL-licensed.&lt;/p&gt;</description>
    </item>
    <item>
      <title>hevm</title>
      <link>https://www.msoos.org/tools/hevm/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
       <guid isPermaLink="false">https://www.msoos.org/tools/hevm/</guid> 
      <description>&lt;p&gt;&lt;a href=&#34;https://github.com/argotorg/hevm&#34;&gt;hevm&lt;/a&gt; is an implementation of the Ethereum Virtual Machine (EVM) made for symbolic execution, equivalence checking, and symbolic unit testing of smart contracts. It can symbolically execute smart contracts, check whether two pieces of EVM code are equivalent, and run arbitrary EVM code.&lt;/p&gt;
&lt;p&gt;In particular, hevm can run &lt;a href=&#34;https://book.getfoundry.sh/forge/writing-tests&#34;&gt;Forge&lt;/a&gt; test suites symbolically (&lt;code&gt;hevm test&lt;/code&gt;), which is much more thorough than fuzz testing. Static binaries for Linux and macOS are on &lt;a href=&#34;https://github.com/argotorg/hevm/releases&#34;&gt;GitHub&lt;/a&gt; (they need &lt;code&gt;z3&lt;/code&gt; installed), it is packaged in nixpkgs, and the user documentation is the &lt;a href=&#34;https://hevm.dev/&#34;&gt;hevm book&lt;/a&gt;. hevm was originally developed as part of &lt;a href=&#34;https://github.com/dapphub/dapptools/&#34;&gt;dapptools&lt;/a&gt;, and was forked by the formal methods team at the Ethereum Foundation in August 2022.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Pepin</title>
      <link>https://www.msoos.org/tools/pepin/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
       <guid isPermaLink="false">https://www.msoos.org/tools/pepin/</guid> 
      <description>&lt;p&gt;&lt;a href=&#34;https://github.com/meelgroup/pepin&#34;&gt;Pepin&lt;/a&gt; is a probabilistic approximate counter for DNF formulas. Geometrically, it takes a set of possibly overlapping n-dimensional boxes and estimates the total volume they cover. It reads the cubes in a simple DNF format and outputs an approximate count with a probabilistic guarantee.&lt;/p&gt;
&lt;p&gt;Pepin streams the cubes, keeping only a bucket of in-progress samples in memory, and it supports weighted counting as well. For CNF formulas, use &lt;a href=&#34;https://www.msoos.org/tools/approxmc/&#34;&gt;ApproxMC&lt;/a&gt; or &lt;a href=&#34;https://www.msoos.org/tools/ganak/&#34;&gt;Ganak&lt;/a&gt; instead. Release binaries are on &lt;a href=&#34;https://github.com/meelgroup/pepin/releases&#34;&gt;GitHub&lt;/a&gt;, it is available via Nix, and you can &lt;a href=&#34;https://www.msoos.org/pepin/&#34;&gt;try it in your browser&lt;/a&gt;.&lt;/p&gt;</description>
    </item>
    <item>
      <title>UniGen</title>
      <link>https://www.msoos.org/tools/unigen/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
       <guid isPermaLink="false">https://www.msoos.org/tools/unigen/</guid> 
      <description>&lt;p&gt;&lt;a href=&#34;https://github.com/meelgroup/unigen&#34;&gt;UniGen&lt;/a&gt; is an almost-uniform sampler for CNF formulas: it returns satisfying assignments such that each solution is picked with nearly the same probability, with formal guarantees. It supports a sampling set, so that solutions are drawn uniformly over a chosen subset of the variables.&lt;/p&gt;
&lt;p&gt;The current version is based on &lt;a href=&#34;https://doi.org/10.1007/978-3-030-53288-8_22&#34;&gt;Tinted, Detached, and Lazy CNF-XOR Solving and Its Applications to Counting and Sampling&lt;/a&gt; (CAV 2020). It builds on a series of papers on the hashing-based approach, published over 2012–2020 and co-authored by Supratik Chakraborty, Daniel Fremont, Stephan Gocht, Kuldeep S. Meel, Sanjit A. Seshia, Mate Soos and Moshe Y. Vardi.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
