Skip to content

Difference between term types and datatypes #103

@sanpoyur

Description

@sanpoyur

Recently I started to continue the sketch-based solver project, and I noticed the newly added datatypes feature.

Initially I was a little confused, but I gradually sensed that there are some subtle differences between program terms like E and semantic objects like List.

Furthermore, here is an example of synthesizing max2 in SyGuS (max2-sygus.sl) using datatypes as term types. CVC5 is able to yield the following result:

image

However, the SemGuS parser is not able to parse it:

image

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