Z3(1)
π Z3 β like, the Satisfiability Modulo Theories (SMT) solver π
okay bestie, sit down, hydrate, because this is the manual page for Z3(1) and she is that girl. π«Ά
β¨ NAME β¨
Z3 β Satisfiability Modulo Theories (SMT) solver. yeah. that's the whole name. iconic behavior. π
πΈ SYNOPSIS πΈ
z3 [options] [-file:]file
π DESCRIPTION π
Z3 [version 4.16.0 - 64 bit]. (C) Copyright 2006-2016 Microsoft Corp.
that's her. that's the girl. 64 bit and thriving. β¨
π¦ Input format π¦
pick your parser, bestie, they're all valid:
-smt2β use parser for SMT 2 input format.-dlβ use parser for Datalog input format.-dimacsβ use parser for DIMACS input format.-wcnfβ use parser for Weighted CNF DIMACS input format.-opbβ use parser for PB optimization input format.-lpβ use parser for a modest subset of CPLEX LP input format. (modest. she's humble. we love that for her π)-logβ use parser for Z3 log input format.-inβ read formula from standard input.-modelβ display model for satisfiable SMT.
π Miscellaneous π
the little extras. the garnish. the sprinkles on the algorithm. π
-h,-?β prints this message.-versionβ prints version number of Z3.-v:levelβ be verbose, wherelevelis the verbosity level. (yes she can be more verbose. she contains multitudes.)-nwβ disable warning messages.-pβ display Z3 global (and module) parameters.-pdβ display Z3 global (and module) parameter descriptions.-pm:nameβ display Z3 module (name) parameters.-pmmd:nameβ display Z3 module (name) parameters in Markdown format. (markdown girlies rise up π)-pp:nameβ display Z3 parameter description, ifnameis not provided, then all module names are listed.-tactics[:name]β display built-in tactics or if argument is given, display detailed information on tactic.-simplifiers[:name]β display built-in simplifiers or if argument is given, display detailed information on simplifier.-probesβ display avilable probes.--β all remaining arguments are assumed to be part of the input file name. This option allows Z3 to read files with strange names such as:-foo.smt2.
not the strange filenames π she said "I will handle -foo.smt2 and I will not complain about it." queen.
π Resources π
setting boundaries. very healthy. very main character. π§
-T:timeoutβ set the timeout (in seconds).-t:timeoutβ set the soft timeout (in milli seconds). It only kills the current query.-memory:Megabytesβ set a limit for virtual memory consumption.
β Output β
-stβ display statistics.
π Parameter setting π
Global and module parameters can be set in the command line. yes. directly. in the command line. slay.
param_name=valueβ for setting global parameters.module_name.param_name=valueβ for setting module parameters.
Use z3 -p for the complete list of global and module parameters.
fr fr, if you're ever lost: run z3 -p and let the parameter list be your guiding light. π₯
and that's the whole page, bestie!! this was Z3 version 4.16.0 - 64 bit, dated March 2026, and it ate. absolutely no crumbs left. periodt. π β¨ππ¦
π¦ where this page comes from
- fedora 44: z3 4.16.0-1.fc44 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms