The proof of the last Check. Remarks: The result is null if Check was not invoked before, if its results was not UNSATISFIABLE, or if proof production is disabled. @throws Z3Exception
()
| 313 | * @throws Z3Exception |
| 314 | **/ |
| 315 | public Expr<?> getProof() |
| 316 | { |
| 317 | long x = Native.solverGetProof(getContext().nCtx(), getNativeObject()); |
| 318 | if (x == 0) { |
| 319 | return null; |
| 320 | } else { |
| 321 | return Expr.create(getContext(), x); |
| 322 | } |
| 323 | } |
| 324 | |
| 325 | /** |
| 326 | * The unsat core of the last {@code Check}. |
no test coverage detected