Yices Input Language

The language grammar is shown below

command        ::=    ( define-type <symbol> )
                    | ( define-type <symbol> typedef )
                    | ( define <symbol> :: type )
                    | ( define <symbol> :: type expr )
                    | ( assert expr )
                    | ( exit )
                    | ( check )
                    | ( push )
                    | ( pop )
                    | ( reset )
                    | ( show-model )
                    | ( eval expr )
                    | ( echo <string> )
                    | ( include <string> )
                    | ( set-param <symbol> immediatevalue )
                    | ( show-param <symbol> )
                    | ( show-params )
                    | ( show-stats )
                    | ( reset-stats )
                    | ( set-timeout number )
                    | ( show-timeout )
                    | ( dump-context )
                    | ( help )
                    | ( help <symbol> )
                    | ( help <string> )
                    | ( ef-solve )
                    | ( export-to-dimacs <string> )
                    | ( show-implicant )
                   
typedef        ::=    type
                    | ( scalar <symbol> ... <symbol> )
                   
type           ::=    <symbol>
                    | ( tuple type ... type )
                    | ( -> type ... type type )
                    | ( bitvector <rational> )
                    | int
                    | bool
                    | real
                   
expr           ::=    true
                    | false
                    | <symbol>
                    | number
                    | <binarybv>
                    | <hexabv>
                    | ( forall ( var_decl ... var_decl ) expr )
                    | ( exists ( var_decl ... var_decl ) expr )
                    | ( lambda ( var_decl ... var_decl ) expr )
                    | ( let ( binding ... binding ) expr )
                    | ( update expr ( expr ... expr ) expr )
                    | ( function expr ... expr )
                   
function       ::=    <function-keyword>
                    | expr
                   
var_decl       ::=  <symbol> :: type
                   
binding        ::=  ( <symbol> expr )
                   
immediatevalue ::=    true
                    | false
                    | number
                    | <symbol>
                   
number         ::=  <rational> | <float>