Skip to content

Can reserved word be the variable name? #2664

@muchang

Description

@muchang

Hi,
For this variable declaration:

(set-logic LRA) 
(declare-fun as () Real)

CVC4 will reject the formula because as is the reserved word (according to the SMT-LIB standard, page 95 ), while z3 accepts it.
Is it expected?

OS: Ubuntu 18.04
Revision: 376d2c1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions