Podcast summary

Inside Z3: When Code Doubles as Proofs

Marianne Writes a Programming Language episode artwork

Marianne Writes a Programming Language

Podcast • 04/07/21 • 30 mins

Listen to the full episode

SMT Works by Compiler-Style Program Flattening

Program verification with SMT hinges on translating code into logic the solver can see: inline functions, unroll loops, then convert variables into SSA names so execution order is encoded in constraints.

SMT Solver “Time” Is Global State, Not Order

Because SMT formulas lack procedural direction, the model must “exist all at once” by naming each variable at each step (SSA). This reframes verification as constraints over timelines, not step-by-step simulation.

Floating-Point Hardness Pushes Toward Reals

Transcript frames verification as far easier over real numbers because you avoid rounding and discrete representable-value quirks. Encoding floats as exact arithmetic (or fixed-point/bitvectors) can scale poorly.