These examples from the Z3 tutorial are there to illustrate limitations of the technology behind Z3.
Z3 fails on these examples for two reasons:
The models produced by Z3 assign an interpretation for each uninterpreted function symbol. The models can be viewed as functional programs. The current version does not produce recursive definitions. The first example is satisfiable, but Z3 fails to produce an interpretation for fib because it does not support recursive definitions.
We have plans to extend Z3 in this direction.
Z3 does not support proofs by induction. Examples 2 and 3 are unsatisfiable, but Z3 fails because it does not support proof by induction.
We also have plans to add basic support for that.
Although these items are on my TODO list, I will not start working on them this year.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…