We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1430d42 commit 00b36b9Copy full SHA for 00b36b9
3 files changed
IntegrationTests/data/sequences.sem
@@ -2,6 +2,8 @@
2
((Start 0))
3
((($main))))
4
5
+(declare-const X (Seq Int))
6
+
7
(define-funs-rec
8
((Start.Sem ((Start_term_0 Start) (rq (Seq Int)) (x (_ BitVec 32))) Bool))
9
@@ -11,7 +13,17 @@
11
13
(and (= "Test" (seq.nth rb 7))
12
14
(= rb (seq.++ ra (seq.unit "a")))
15
(= rb (as seq.empty (Seq String)))
- (= rq (seq.rev rq)))))))))
16
+ (= rq (seq.rev rq))
17
+ (= (seq.len ra) (seq.nth rq 1))
18
+ (= (seq.update ra 7 rb) rb)
19
+ (= ra (seq.extract rb 3 5))
20
+ (= (seq.at rb 4) (seq.at ra 3))
21
+ (seq.contains ra rb)
22
+ (= 12 (seq.indexof ra rb 7))
23
+ (= ra (seq.replace ra ra rb))
24
+ (= (seq.replace_all ra ra rb) rb)
25
+ (seq.prefixof ra rb)
26
+ (seq.suffixof rb ra))))))))
27
28
29
(synth-fun MyFunc () Start)
0 commit comments