-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* bump Lean to v4.9.0 * Fix compilation of Smt.Real * Fix expected outputs of most test cases * import Real.Star instead of Real.Basic * Revert import Real.Star -> Real.Basic, update test case to reflect failure
- Loading branch information
Showing
13 changed files
with
28 additions
and
22 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
goal: curryAdd a b = curryAdd b a | ||
|
||
query: | ||
(define-fun curryAdd (([email protected]._hyg.3 Int) ([email protected]._hyg.5 Int)) Int (+ [email protected]._hyg.3 [email protected]._hyg.5)) | ||
(define-fun curryAdd (([email protected]._hyg.4 Int) ([email protected]._hyg.6 Int)) Int (+ [email protected]._hyg.4 [email protected]._hyg.6)) | ||
(declare-const b Int) | ||
(declare-const a Int) | ||
(assert (distinct (curryAdd a b) (curryAdd b a))) | ||
|
@@ -10,7 +10,7 @@ Test/Int/Binders.lean:5:0: warning: declaration uses 'sorry' | |
goal: partCurryAdd a b = partCurryAdd b a | ||
|
||
query: | ||
(define-fun partCurryAdd ((a Int) ([email protected]._hyg.33 Int)) Int (+ a [email protected]._hyg.33)) | ||
(define-fun partCurryAdd ((a Int) ([email protected]._hyg.36 Int)) Int (+ a [email protected]._hyg.36)) | ||
(declare-const b Int) | ||
(declare-const a Int) | ||
(assert (distinct (partCurryAdd a b) (partCurryAdd b a))) | ||
|
@@ -19,7 +19,7 @@ Test/Int/Binders.lean:11:0: warning: declaration uses 'sorry' | |
goal: partCurryAdd' a b = partCurryAdd' b a | ||
|
||
query: | ||
(define-fun |partCurryAdd'| ((a Int) ([email protected]._hyg.2347 Int)) Int (+ a [email protected]._hyg.2347)) | ||
(define-fun |partCurryAdd'| ((a Int) ([email protected]._hyg.2495 Int)) Int (+ a [email protected]._hyg.2495)) | ||
(declare-const b Int) | ||
(declare-const a Int) | ||
(assert (distinct (+ a b) (+ b a))) | ||
|
@@ -29,8 +29,8 @@ goal: mismatchNamesAdd a b = mismatchNamesAdd b a | |
|
||
query: | ||
(define-fun mismatchNamesAdd ((a Int) (b Int)) Int (+ a b)) | ||
(declare-const a Int) | ||
(declare-const b Int) | ||
(declare-const a Int) | ||
(assert (distinct (mismatchNamesAdd a b) (mismatchNamesAdd b a))) | ||
(check-sat) | ||
Test/Int/Binders.lean:25:0: warning: declaration uses 'sorry' |
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 |
---|---|---|
|
@@ -19,7 +19,7 @@ goal: z 3 = 10 | |
|
||
query: | ||
(declare-fun f (Int) Int) | ||
(define-fun z (([email protected]._hyg.295 Int)) Int (f 10)) | ||
(define-fun z (([email protected]._hyg.300 Int)) Int (f 10)) | ||
(assert (= (f 10) 10)) | ||
(assert (distinct (z 3) 10)) | ||
(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
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 |
---|---|---|
@@ -1 +1 @@ | ||
leanprover/lean4:v4.8.0 | ||
leanprover/lean4:v4.9.0 |