Content deleted Content added
mNo edit summary |
|||
Line 6:
==Example==
As an example of uninterpreted functions for SMT-LIB,
<syntaxhighlight lang="text" line="1">
(declare-fun f (Int) Int)
(assert (= (f 10) 1))
</syntaxhighlight>
<syntaxhighlight lang="text" line="1">
(declare-fun f (Int) Int)
Line 18:
</syntaxhighlight>
The SMT solver would return "This input is unsatisfiable". That happens because although <code>f</code> has no interpretation, but it is impossible that it returns different values for the same input.
==Discussion==
|