S-semantics – an example

06/10/2020
by   Włodzimierz Drabent, et al.
0

The s-semantics makes it possible to explicitly deal with variables in program answers. So it seems suitable for programs using nonground data structures, like open lists. However it is difficult to find examples of using the s-semantics to reason about particular programs. Here we apply s-semantics to prove correctness and completeness of Frühwirth's n queens program. This is compared with a proof, published elsewhere, based on the standard semantics and Herbrand interpretations.

READ FULL TEXT

Please sign up or login with your details

Forgot password? Click here to reset