-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes for theory combination + HO (cvc5#10167)
Fixes two current model soundness issue with HO. The first involved not applying HO extensionality for functions that had finite return type but infinite function type. The second involved not considering care pairs over higher-order arguments.
- Loading branch information
Showing
10 changed files
with
86 additions
and
8 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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
; COMMAND-LINE: --mbqi | ||
; EXPECT: unsat | ||
(set-logic HO_ALL) | ||
(set-info :status unsat) | ||
(declare-sort $$unsorted 0) | ||
(declare-sort tptp.b 0) | ||
(declare-sort tptp.gtype 0) | ||
(declare-fun tptp.g (tptp.b) Bool) | ||
(declare-fun tptp.h ((-> tptp.b Bool)) tptp.gtype) | ||
(declare-fun tptp.f (tptp.b) Bool) | ||
(assert (not (=> (forall ((Xx tptp.b)) (= (@ tptp.f Xx) (@ tptp.g Xx))) (= (@ tptp.h tptp.f) (@ tptp.h tptp.g))))) | ||
(set-info :filename SYO372^5) | ||
(check-sat-assuming ( true )) |
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,7 @@ | ||
(set-logic HO_ALL) | ||
(set-info :status unsat) | ||
(declare-sort $ 0) | ||
(declare-fun t ((-> $ $)) Bool) | ||
(declare-fun p ($) $) | ||
(assert (and (t p) (not (t (lambda ((X $)) (p X)))))) | ||
(check-sat) |
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,9 @@ | ||
(set-logic HO_ALL) | ||
(set-info :status sat) | ||
(declare-sort U 0) | ||
(declare-sort V 0) | ||
(declare-fun t (U) Bool) | ||
(declare-fun p ((-> U Bool)) V) | ||
(declare-fun tp (U) Bool) | ||
(assert (not (= (p tp) (p t)))) | ||
(check-sat) |