I promped ChatGPT as follows
I have a logical puzzle. I want you to write code for solving it using an SAT (or SMT) solver of your choice.
"Question 2: Amit, Bharati, Cheryl, Deepak, and Eric are five friends sitting in a restaurant. They are wearing caps of five different colours — yellow, blue, green, white and red. Also, they are eating five different snacks — burgers, sandwiches, ice cream, pastries, and pizza.
The person wearing a red cap is eating pastries.
Amit does not eat ice cream, and Cheryl is eating sandwiches.
Bharati is wearing a yellow cap and Amit wearing a blue cap.
Eric is eating pizza and is not wearing a green cap."
It gave me python code for solving the problem using pysmt. Each constraint it added had a nice little comment referring back to the problem statement. After correcting a trivial typo, the code ran and produced the correct answer.
So in other words, LLM's are already almost powerful enough to use and integrate with a symbolic approach.