Skip to content

Error: The type expected for an application does not match the computed type #87

@rodrigo7491

Description

@rodrigo7491

Hi,

When trying to check the proof produced by cvc5 for the files in ex.zip, I get the following error (see the zip file for the full output):

Error: ex.proof at 26984:1-26984:2
The type expected for an application does not match the computed type.
1. The expected type: (holds ((\ t1 (\ t2 (apply (apply f_= t1) t2))) (apply ...
2. The computed type: (holds ((\ t1 (\ t2 (apply (apply f_= t1) t2))) ((\ t1 (\ t2 (apply ...

Unfortunately I was not able to reproduce the error with a smaller instance. I'm running cvc5 v1.0.5 and lfscc from commit 9aab068, with signatures from commit c09fa26fdd3b114351789f252311c6ea02f69e56. CLI commands below.

cvc5 --produce-proofs --proof-format=lfsc --proof-granularity=theory-rewrite ex.smt2
lfscc core_defs.plf util_defs.plf theory_def.plf nary_programs.plf boolean_programs.plf boolean_rules.plf cnf_rules.plf equality_rules.plf arith_programs.plf arith_rules.plf strings_programs.plf strings_rules.plf quantifiers_rules.plf ex.proof

The error only happens with proofs produced using the --proof-granularity=theory-rewrite cvc5 flag.

Metadata

Metadata

Assignees

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