I am experimenting with Yices 2.7.0's new support for finite fields. My understanding is that Yices supports parsing two syntaxes: the syntax used in .ys files, and the SMT-LIB syntax used in .smt2 files. There are examples of finite fields' SMT-LIB syntax in the yices2 repo, but I could not find any examples of finite fields' .ys syntax. Does Yices support finite fields in .ys files at all? I found some code in the .ys pretty-printer code here which suggests that perhaps they are supported, but if I try writing a .ys file like this:
(define u::(finitefield 5))
Then Yices rejects it:
$ yices test.ys
test.ys: syntax error (line 1, column 13)
I am experimenting with Yices 2.7.0's new support for finite fields. My understanding is that Yices supports parsing two syntaxes: the syntax used in
.ysfiles, and the SMT-LIB syntax used in.smt2files. There are examples of finite fields' SMT-LIB syntax in theyices2repo, but I could not find any examples of finite fields'.yssyntax. Does Yices support finite fields in.ysfiles at all? I found some code in the.yspretty-printer code here which suggests that perhaps they are supported, but if I try writing a.ysfile like this:Then Yices rejects it: