You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
local
val _ = $solver_assert (lemma_eq_elt)
val _ = $solver_assert (lemma_eq_seq_id)
val _ = $solver_assert (lemma_eq_seq_sym)
val _ = $solver_assert (lemma_eq_seq_trans)
val _ = $solver_assert (lemma_head)
//val _ = $solver_assert (lemma_tail)
abstype seq (seq)
extern fun test1 (): seq (1 :: 2 :: nil)
extern fun test2 (): seq (1 :: 2 :: nil)
extern fun require_eq {g1,g2:seq|head(g1) == 1} (seq g1, seq g2): void
in
val a = test1()
val b = test2()
val _ = require_eq (a, b)
end
It will throw z3_exception, but this is indeed very similar to ilist defined by Hongwei.
The text was updated successfully, but these errors were encountered:
Suppose we have the following definitions and test files,
And this,
It will throw
z3_exception
, but this is indeed very similar toilist
defined by Hongwei.The text was updated successfully, but these errors were encountered: