-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Loading status checks…
Do not rewrite datatype inferences prior to proof reconstruction (cvc…
…5#11465) It is not clear why this was done, it makes proof reconstruction fail in rare cases, added a regression for this.
Showing
3 changed files
with
16 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
test/regress/cli/regress0/quantifiers/dd_SA10-027-dt-ipc.smt2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
; EXPECT: unsat | ||
; DISABLE-TESTER: cpc | ||
; Disabled cpc due to congruence on overloaded user functions. | ||
(set-logic ALL) | ||
(declare-sort i 0) | ||
(declare-sort s 0) | ||
(declare-datatypes ((u 0)) (((us (r Bool) (e Int) (c s))))) | ||
(declare-datatypes ((us_ 0)) (((us (c i) (e u))))) | ||
(declare-datatypes ((_r 0)) (((s_ (_s us_))))) | ||
(declare-fun s_ (s) _r) | ||
(declare-fun us (_r) s) | ||
(assert (forall ((x _r)) (= x (s_ (us x))))) | ||
(declare-const n u) | ||
(assert (exists ((x_ us_)) (not (=> (r n) (= (s_ x_) (s_ (c (us false 0 (us (s_ (us (c (_s (s_ (c n)))) n))))))) (forall ((o u)) (or (forall ((x us_)) (or (forall ((o u)) (or (forall ((x us_)) (or (forall ((o u)) (or (forall ((x us_)) (or (exists ((t u)) (= (r o) (= (r o) (r (e (_s (s_ (c t)))))))) (= (s_ x_) (s_ (c (us false 0 (us (s_ (us (c (_s (s_ (c o)))) (us (r (e (_s (s_ (c (us false 0 (us (s_ x_)))))))) (e (e (_s (s_ (c o))))) (us (s_ x_)))))))))))))))))))))))))) | ||
(check-sat) |