This reminds me of `PrSAT`, a satisfier for probabilistic statements. ("Does a distribution exist that satisfies the following constraints?").
See: https://fitelson.org/PrSAT/, and the linked paper: https://fitelson.org/pm.pdf
The paper starts off slow, but have patience to read up to section 4, Applications, which is kind of surprising.