Problem: given a IMP- program c and input x and a number of steps t give a SAS+ planning problem that has a solution iff the program terminates with result 1
show each variable in the computation of c on x takes only at most t many values
@notiho provides a verified translation from IMP- to SAS+. @mabdula provides a verified translation from SAS+ to SAT.
Theory IMP_Minus_To_SAT.thy collects the theorems that need to be plugged together.
IMP-
programc
and inputx
and a number of stepst
give a SAS+ planning problem that has a solution iff the program terminates with result1
c
onx
takes only at most t many valuesthis includes #8