Debian Codegraph @

test/regress/cli/regress0/datatypes/eq-clash-rec-find.smt2

raw
1 ; EXPECT: unsat
2 (set-logic ALL)
3 (declare-datatype Tree ((node (data Int) (left Tree) (right Tree)) (leaf)))
4 (declare-fun L () Tree)
5 (declare-fun x () Int)
6 (declare-fun y () Int)
7 ; non-trivial instance of dt-cons-eq-clash reconstruction for nested values
8 (assert (= (node x (node y leaf leaf) (node y (node 5 leaf leaf) L))
9 (node x (node 5 leaf L) (node 2 (node 3 leaf L) L))))
10 (check-sat)