; COMMAND-LINE: --sygus-si=all --sygus-si-rcons-p=1 --sygus-out=status ; EXPECT: feasible ; This regression tests the behavior of the reconstruction algorithm when the ; term to reconstruct contains two equivalent sub-terms, but one is easier to ; reconstruct than the other. (set-logic UF) (synth-fun f ((p Bool) (q Bool) (r Bool) (s Bool)) Bool ((Start Bool)) ((Start Bool (p q r s (not Start) (and Start Start) (or Start Start) (ite Start Start Start))))) (define-fun eqReduce ((p Bool) (q Bool)) Bool (and (or p (not q)) (or (not p) q))) (declare-var p Bool) (declare-var q Bool) (declare-var r Bool) (declare-var s Bool) (constraint (= (f p q r s) (and (= (and p q) (and q r)) (ite s (eqReduce (and p q) (and q r)) (eqReduce (and p q) (and p r)))))) (check-synth)