Even if you don’t use it as your principal application language it is a great addition to the development toolbox.
Running in reverse is great for testing, where you can generate test cases that hit interesting variant flows.
For example, I have used it to generate input pension payout requests that would hit the interesting special cases for the bespoke bookkeeping rules for each tenant or subsidiary like “for X, the third dimension is always 930, but for Y they have 930 or 931, but then the fourth dimension is 4,6 or 10 depending on the historical subsidiary of the account origin…”
Another great use of logic programming in the daily toolbox is with respect to compliance documentation where you want to document and verify how data points flow across systems or the variables going into aggregates calculated on the way.
This allows you to answer questions like, “our provider for X data delivered bad data for last month, which customer transactions may have been impacted?”, or “this value looks wrong, where did it come from?”
It also allows you to generate exact documentation for this, or even checking the model vs the actual APIs, schemas or data flow or change notifications.