Skip to content

Commit

Permalink
update golds
Browse files Browse the repository at this point in the history
  • Loading branch information
LeventErkok committed Dec 30, 2024
1 parent 3b0c234 commit fea2040
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 20 deletions.
12 changes: 1 addition & 11 deletions SBVTestSuite/GoldFiles/lambda05.gold
Original file line number Diff line number Diff line change
Expand Up @@ -39,17 +39,7 @@
(let ((l1_s2 (+ l1_s0 l1_s1)))
l1_s2))) (seq.nth lst 0)))
(sbv.map_4049b6 (seq.extract lst 1 (- (seq.len lst) 1))))))
[GOOD] ; --- Firstified equivalences
[GOOD] ; Equality for sbv.map_186748 vs. sbv.map_4049b6
[GOOD] (assert (forall ((xs (Seq Int)))
(=> (= (lambda ((l1_s0 Int))
(let ((l1_s1 2))
(let ((l1_s2 (+ l1_s0 l1_s1)))
l1_s2))) (lambda ((l1_s0 Int))
(let ((l1_s1 1))
(let ((l1_s2 (+ l1_s0 l1_s1)))
l1_s2))))
(= (sbv.map_186748 xs) (sbv.map_4049b6 xs)))))
[GOOD] ; -- NB. Skipping firstified equivalences, due to generateHOEquivs setting.
[GOOD] ; --- user defined functions ---
[GOOD] ; --- assignments ---
[GOOD] (define-fun s3 () Bool (= s0 s2))
Expand Down
19 changes: 10 additions & 9 deletions SBVTestSuite/GoldFiles/lambda07.gold
Original file line number Diff line number Diff line change
Expand Up @@ -23,31 +23,32 @@
[GOOD] ; --- uninterpreted constants ---
[GOOD] ; --- Firstified function definitions
[GOOD] ; Firstified function: foldl :: (SInteger -> SInteger -> SInteger) -> SInteger -> [SInteger] -> SInteger
[GOOD] (define-fun-rec sbv.foldl_3d10f5 ((base Int) (lst (Seq Int))) Int
[GOOD] (define-fun-rec sbv.foldl_12e248 ((base Int) (lst (Seq Int))) Int
(ite (= lst (as seq.empty (Seq Int)))
base
(sbv.foldl_3d10f5 (select (lambda ((l2_s0 Int) (l2_s1 Int))
(sbv.foldl_12e248 (select (lambda ((l2_s0 Int) (l2_s1 Int))
(+ l2_s0 l2_s1)) base (seq.nth lst 0)) (seq.extract lst 1 (- (seq.len lst) 1)))))
[GOOD] ; Firstified function: map :: ([SInteger] -> SInteger) -> [[SInteger]] -> [SInteger]
[GOOD] (define-fun-rec sbv.map_698291 ((lst (Seq (Seq Int)))) (Seq Int)
[GOOD] (define-fun-rec sbv.map_88a6dd ((lst (Seq (Seq Int)))) (Seq Int)
(ite (= lst (as seq.empty (Seq (Seq Int))))
(as seq.empty (Seq Int))
(seq.++ (seq.unit (select (lambda ((l1_s0 (Seq Int)))
(let ((l1_s1 0))
(let ((l1_s2 (sbv.foldl_3d10f5 l1_s1 l1_s0)))
(let ((l1_s2 (sbv.foldl_12e248 l1_s1 l1_s0)))
l1_s2))) (seq.nth lst 0)))
(sbv.map_698291 (seq.extract lst 1 (- (seq.len lst) 1))))))
(sbv.map_88a6dd (seq.extract lst 1 (- (seq.len lst) 1))))))
[GOOD] ; Firstified function: foldl :: (SInteger -> SInteger -> SInteger) -> SInteger -> [SInteger] -> SInteger
[GOOD] (define-fun-rec sbv.foldl_929914 ((base Int) (lst (Seq Int))) Int
[GOOD] (define-fun-rec sbv.foldl_9f5903 ((base Int) (lst (Seq Int))) Int
(ite (= lst (as seq.empty (Seq Int)))
base
(sbv.foldl_929914 (select (lambda ((l1_s0 Int) (l1_s1 Int))
(sbv.foldl_9f5903 (select (lambda ((l1_s0 Int) (l1_s1 Int))
(+ l1_s0 l1_s1)) base (seq.nth lst 0)) (seq.extract lst 1 (- (seq.len lst) 1)))))
[GOOD] ; -- NB. Skipping firstified equivalences, due to generateHOEquivs setting.
[GOOD] ; --- user defined functions ---
[GOOD] ; --- assignments ---
[GOOD] (define-fun s3 () Bool (= s0 s2))
[GOOD] (define-fun s5 () (Seq Int) (sbv.map_698291 s0))
[GOOD] (define-fun s6 () Int (sbv.foldl_929914 s4 s5))
[GOOD] (define-fun s5 () (Seq Int) (sbv.map_88a6dd s0))
[GOOD] (define-fun s6 () Int (sbv.foldl_9f5903 s4 s5))
[GOOD] (define-fun s7 () Bool (= s1 s6))
[GOOD] ; --- delayedEqualities ---
[GOOD] ; --- formula ---
Expand Down

0 comments on commit fea2040

Please sign in to comment.