<?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>visualisation on Wonderings of a SAT geek</title>
    <link>https://www.msoos.org/tags/visualisation/</link>
    <description>Recent content in visualisation on Wonderings of a SAT geek</description>
    <generator>Hugo</generator>
    <language>en-US</language>
    <lastBuildDate>Fri, 14 Jun 2019 18:34:17 +0000</lastBuildDate>
    <atom:link href="https://www.msoos.org/tags/visualisation/feed.xml" rel="self" type="application/rss+xml" />
    <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>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>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>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>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>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>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>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>
  </channel>
</rss>
