mirror of
https://github.com/AdaCore/cvc5.git
synced 2026-02-12 12:32:16 -08:00
This PR adds minor improvements to the SyGuS solver: Changes the weight of identity rules in the grammar, giving them higher priority during enumeration. Replaces n-ary operators with their binary version before matching in rcons. Splits the pattern enumerator for rcons into two enumerators: pattern enumerator and term enumerator. Adds an option to control geometric distribution parameter used to interleave the 2 enumerators. Additionally, this PR moves the implementation of the grammar API to an internal class with the Grammar class now a wrapper for the internal class.