We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
According to Section 4.2.3 of the SMT-LIB Standard (version 2.5),
(define-fun f ((x1 σ1) ··· (xn σn)) σ t)
with n ≥ 0 is semantically equivalent to
(declare-fun f (σ1 ··· σn) σ) (assert (forall ((x1 σ1) ··· (xn σn)) (= (f x1 ··· xn) t))
Here, n=0 is explicitly permitted.
However, the grammar for terms in Section 3.6 requires that a "forall" binder is followed by one or more (cf. Section 1.1.3) sorted variables.
Moreover, there are currently numerous SMT-LIB benchmarks in quantifier-free logics that use define-fun to define functions of arity 0.
I believe a clarification (probably by providing a special-cased semantics for n=0 in Section 4.2.3) might be in order.
Best, Tjark
SMT-LIB mailing list [email protected] http://www.cs.nyu.edu/mailman/listinfo/smt-lib
The text was updated successfully, but these errors were encountered:
No branches or pull requests
According to Section 4.2.3 of the SMT-LIB Standard (version 2.5),
(define-fun f ((x1 σ1) ··· (xn σn)) σ t)
with n ≥ 0 is semantically equivalent to
(declare-fun f (σ1 ··· σn) σ)
(assert (forall ((x1 σ1) ··· (xn σn)) (= (f x1 ··· xn) t))
Here, n=0 is explicitly permitted.
However, the grammar for terms in Section 3.6 requires that a "forall"
binder is followed by one or more (cf. Section 1.1.3) sorted
variables.
Moreover, there are currently numerous SMT-LIB benchmarks in
quantifier-free logics that use define-fun to define functions of
arity 0.
I believe a clarification (probably by providing a special-cased
semantics for n=0 in Section 4.2.3) might be in order.
Best,
Tjark
SMT-LIB mailing list
[email protected]
http://www.cs.nyu.edu/mailman/listinfo/smt-lib
The text was updated successfully, but these errors were encountered: