‹ BackHN Continuity

Thread

Online Z3 Guide

71 points · 15 comments · Bluestein

Loading the complete thread in the background. This saved snapshot is available now. Refresh

  1. greatgib · · focus · HN ↗
    If anyone wondering, because it took me a few hops to find out:

    Z3 is a high-performance theorem prover being developed at Microsoft Research.

    1. Bluestein · · focus · HN ↗
      Or a BMW, or a groundbreaking electro mechanical computer, depending :)
      1. number6 · · focus · HN ↗
        I was hoping for the mechanical computer...
    2. 112233 · · focus · HN ↗
      oh, something new! I thought Z3 is SAT/SMT solver, they must have added something.
      1. Jaxan · · focus · HN ↗
        Sometimes you can use SMT for “theorem proving”. It is a rather broad term. I don’t think they added something much different than what they already had.
      2. IshKebab · · focus · HN ↗
        It is. Look up what SMT stands for.
        1. mcphage · · focus · HN ↗
          Shin Megami Tensei?
        2. NooneAtAll3 · · focus · HN ↗
          SMT is SAT+arithmetic, no?
          1. IshKebab · · focus · HN ↗
            Satisfiability Modulo Theories
      3. baq · · focus · HN ↗
        well a SAT solver is kinda sorta a theorem prover right...?
    3. okokwhatever · · focus · HN ↗
      nailed!
  2. olooney · · focus · HN ↗
    I like Z3 a lot. I think it's criminally underappreciated and underused. Here is a fairly interesting use I put it to a few years ago:

    <a href="https:&#x2F;&#x2F;www.oranlooney.com&#x2F;post&#x2F;playfair&#x2F;#known-plaintext-attack" rel="nofollow">https:&#x2F;&#x2F;www.oranlooney.com&#x2F;post&#x2F;playfair&#x2F;#known-plaintext-at...

    Slightly more complicated than the toy examples shown in the documentation above, and hints at one of the real world use cases for Z3 - red teaming cryptography.

    That said, I&#x27;m not sure the documentation linked above is really doing it any favors in terms of helping popularizing it.

    1. lloydatkinson · · focus · HN ↗
      How does it compare to the others? I started trying to use Zinc but I get lost in all the vocabulary and literature which assumes you already have a background in it.
      1. Bluestein · · focus · HN ↗
        There&#x27;s also a neat shm library by that name. Namespace&#x27;s getting crowded :)
  3. ascent817 · · focus · HN ↗
    I’m working on a DO-178C compliant verification suite for avionics software with Z3 at work, criminally underrated
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.